/* CoolCar web – single stylesheet */
@font-face{font-family:"Figtree";src:url("../fonts/figtree-regular.woff") format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"Figtree";src:url("../fonts/figtree-medium.woff") format("woff");font-weight:500;font-display:swap}
@font-face{font-family:"Figtree";src:url("../fonts/figtree-semibold.woff") format("woff");font-weight:600;font-display:swap}
@font-face{font-family:"Figtree";src:url("../fonts/figtree-bold.woff") format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"Figtree";src:url("../fonts/figtree-extrabold.woff") format("woff");font-weight:800;font-display:swap}

:root{
  --black:#000;--white:#fff;--gray-bg:#F3F3F3;--line:#E3E3E3;--line-soft:#EEEEEE;
  --text-2:#5E5E5E;--text-3:#757575;--muted:#8F8F8F;
  --green:#1FA45A;--green-dark:#0E8345;--green-soft:#E7F6EE;--yellow:#F4B860;
  --radius:20px;--max:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--white);color:var(--black);font-family:"Figtree","Helvetica Neue",Arial,sans-serif;font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
a:hover{color:#333}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:6px}
.container{max-width:var(--max);margin:0 auto;padding:0 24px}
.section{padding:96px 0}
.bg-gray{background:var(--gray-bg)}
.skip{position:absolute;left:-9999px;top:8px;background:#000;color:#fff;padding:10px 16px;border-radius:8px;z-index:20}
.skip:focus{left:8px}

/* Typography */
h1,h2,h3{margin:0;font-weight:800}
.h1{font-size:72px;line-height:1.05;letter-spacing:-2.5px}
.h2{font-size:48px;line-height:1.12;letter-spacing:-1.5px}
.lead{margin:0;font-size:20px;line-height:1.5;font-weight:500;color:var(--text-2);max-width:540px}
.sub{margin:14px 0 0;font-size:19px;font-weight:500;color:var(--text-2)}
.note{margin:12px 0 0;font-size:13px;color:var(--text-3)}

/* Header */
.header{position:sticky;top:0;z-index:10;background:var(--white);border-bottom:1px solid var(--line-soft)}
.header .container{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800}
.brand img{width:40px;height:40px}
.nav{display:flex;align-items:center;gap:28px;font-size:16px;font-weight:600}
.menu-btn{display:none;width:44px;height:44px;border:0;background:none;align-items:center;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;font-weight:700;white-space:nowrap}
.btn-dark{background:var(--black);color:var(--white)}
.btn-dark:hover{background:#222;color:var(--white)}
.btn-sm{height:44px;padding:0 20px;font-size:15px}
.btn-lg{height:56px;padding:0 28px;font-size:17px}

/* Badges */
.badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:16px;font-size:13px;font-weight:800;letter-spacing:1px}
.badge-green{background:var(--green);color:#fff}
.badge-black{background:#000;color:#fff}
.badge-yellow{background:var(--yellow);color:#000}
.badge-soft{background:var(--green-soft);color:var(--green-dark);letter-spacing:0;font-size:14px;height:36px;border-radius:18px}
.badge-white{background:#fff;color:var(--green-dark)}

/* Store buttons */
.stores{display:flex;flex-wrap:wrap;gap:12px}
.store{display:flex;align-items:center;gap:12px;height:60px;padding:0 22px;border-radius:12px;background:#000;color:#fff}
.store:hover{background:#222;color:#fff}
.store span{display:flex;flex-direction:column;line-height:1.1}
.store small{font-size:12px;font-weight:500}
.store strong{font-size:19px;font-weight:700}
.stores-light .store{background:#fff;color:#000}
.stores-light .store:hover{background:#eee;color:#000}

/* Layout helpers */
.split{display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.split > *{flex:1 1 440px;min-width:0}
.stack{display:flex;flex-direction:column;gap:22px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;margin-top:40px}

/* Hero */
.hero{padding:72px 0 88px}
.hero .split > .phone-wrap{flex:0 1 340px;display:flex;justify-content:center}
.phone{width:300px;height:610px;padding:14px;border-radius:48px;background:#000}
.phone-screen{width:100%;height:100%;border-radius:36px;background:#fff;overflow:hidden;display:flex;flex-direction:column;gap:12px;padding:44px 18px 18px}
.phone-screen .lbl{font-size:13px;font-weight:600;color:var(--text-2)}
.phone-screen .amt{font-size:46px;line-height:1;font-weight:800;letter-spacing:-1.5px;color:var(--green-dark)}
.phone-screen .row{display:flex;justify-content:space-between;padding:10px 0;font-size:13px}
.phone-screen .box{margin-top:10px;padding:4px 12px;border:1px solid var(--line);border-radius:6px}
.phone-screen .cta{margin-top:auto;display:flex;align-items:center;justify-content:center;height:44px;border-radius:8px;background:#000;color:#fff;font-size:14px;font-weight:700}

/* Cards */
.card{display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:var(--radius);background:#fff}
.card h3{font-size:26px}
.card p{margin:0;font-size:17px;line-height:1.5;font-weight:500;color:var(--text-2)}
.card .more{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;margin-top:auto}
.icon-circle{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;flex:none}
.icon-circle.sm{width:48px;height:48px;background:var(--green-soft)}
.step-num{font-size:48px;font-weight:800;color:var(--green)}

/* Roles list */
.roles{display:flex;flex-direction:column;gap:18px}
.role{display:flex;gap:16px}
.role strong{display:block;font-size:20px;font-weight:800}
.role span{font-size:17px;color:var(--text-2);font-weight:500}

/* Compare table */
.compare{padding:32px;border-radius:var(--radius);background:var(--gray-bg)}
.compare .cap{font-size:15px;font-weight:600;color:var(--text-3)}
.compare .title{margin:6px 0 18px;font-size:28px;font-weight:800}
.table{padding:4px 20px;border-radius:12px;background:#fff}
.table .r{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-size:17px;font-weight:600;color:var(--muted)}
.table .r:last-child{border-bottom:0}
.table .r b{font-weight:700}
.table .r.pos{color:#000;font-size:19px;font-weight:800}
.table .r.pos b{font-size:24px;color:var(--green-dark);font-weight:800}

/* Steps list */
.steps{display:flex;flex-direction:column;gap:14px}
.step{display:flex;align-items:center;gap:18px;padding:22px 24px;border-radius:16px;background:#fff;font-size:19px;font-weight:700}
.step i{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#000;color:#fff;font-style:normal;font-size:20px;font-weight:800}
.prices{display:flex;flex-wrap:wrap;gap:32px}
.prices span{display:flex;flex-direction:column;font-size:15px;font-weight:600}
.prices b{font-size:32px;font-weight:800}

/* Checks */
.checks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px;font-size:18px;font-weight:600}
.checks li{display:flex;gap:12px;align-items:center}
.map{height:360px;border-radius:var(--radius);overflow:hidden;background:#E5E8EB}
.map svg{width:100%;height:100%}

/* Invite band */
.invite{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding:56px;border-radius:28px;background:var(--green-soft)}
.invite > .stack{flex:1 1 440px;min-width:0;gap:18px}
.invite p{margin:0;font-size:19px;line-height:1.5;font-weight:500;color:#3F3F3F}
.invite-card{flex:0 1 360px;min-width:0;display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:20px;background:#fff}
.invite-card .code{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 16px;border-radius:12px;border:2px dashed var(--green);font-size:22px;font-weight:800;letter-spacing:2px}
.invite-card .code small{font-size:13px;letter-spacing:0;color:var(--green-dark);font-weight:700}
.kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.kpi{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:12px;background:var(--gray-bg)}
.kpi small{font-size:13px;font-weight:600;color:var(--text-3)}
.kpi b{font-size:26px;font-weight:800}

/* FAQ */
.faq{max-width:880px;margin:0 auto;padding:24px 24px 96px}
.faq h2{margin-bottom:28px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;font-size:20px;font-weight:700;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-size:28px;font-weight:500;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:0 0 22px;font-size:17px;line-height:1.55;font-weight:500;color:var(--text-2)}

/* Final CTA */
.final{background:#000;color:#fff}
.final .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:40px}
.final h2{font-size:56px;line-height:1.07;letter-spacing:-2px}
.qr{display:flex;flex-direction:column;align-items:center;gap:10px}
.qr img,.qr .ph{width:156px;height:156px;border-radius:16px;background:#fff}
.qr .ph{display:flex;align-items:center;justify-content:center;color:var(--text-3);font-size:14px;font-weight:700}
.qr span{font-size:14px;font-weight:600;color:#BDBDBD}

/* Footer */
.footer{border-top:1px solid var(--line-soft)}
.footer .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;padding-top:48px;padding-bottom:48px}
.footer .cols{display:flex;flex-wrap:wrap;gap:48px;font-size:15px}
.footer .col{display:flex;flex-direction:column;gap:10px}
.footer .col b{font-weight:800}
.footer .tag{font-size:15px;color:var(--text-3);margin:12px 0 0}
.footer .copy{padding-bottom:32px;font-size:13px;color:var(--text-3)}

/* Simple pages (legal, indir, davet) */
.page{max-width:760px;margin:0 auto;padding:64px 24px 96px}
.page h1{font-size:44px;line-height:1.1;letter-spacing:-1.2px;margin-bottom:16px}
.page h2{font-size:24px;margin:32px 0 8px}
.page p,.page li{color:#333;font-size:17px;line-height:1.65}
.notice{padding:16px 20px;border-radius:12px;background:#FFF6E6;border:1px solid #F4B860;font-size:15px;color:#5a4410}

/* Language switcher */
.lang{display:flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:var(--gray-bg)}
.lang button{display:flex;align-items:center;justify-content:center;min-width:40px;height:32px;padding:0 10px;border:0;border-radius:999px;background:none;font-size:13px;font-weight:700;color:var(--text-2)}
.lang button[aria-pressed="true"]{background:#fff;color:#000;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.header .nav + .lang{margin-left:0}
.i18n-pending body{visibility:hidden}

/* Responsive */
@media (max-width:900px){
  .nav{display:none;position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:flex-start;gap:0;background:#fff;border-bottom:1px solid var(--line-soft);padding:8px 24px 16px}
  .nav a{padding:12px 0;width:100%}
  .nav.open{display:flex}
  .menu-btn{display:inline-flex}
  .header .btn-sm{display:none}
  .header .nav + .lang{margin-left:auto}
}
@media (max-width:640px){
  .section{padding:64px 0}
  .h1{font-size:46px;letter-spacing:-1.5px}
  .h2,.faq h2{font-size:34px;letter-spacing:-1px}
  .final h2{font-size:38px}
  .lead{font-size:18px}
  .hero{padding:40px 0 56px}
  .invite{padding:28px}
  .phone{transform:scale(.9);transform-origin:top center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- Invite program: sign in / sign up ---------- */
.auth-section{padding-block:64px 96px;background:var(--gray-bg)}
.auth{max-width:460px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding:40px;border-radius:28px;background:#fff}
.auth .badge{background:var(--green-soft);color:var(--green-dark)}
.auth-title{margin:0;font-size:36px;line-height:1.1;font-weight:800;letter-spacing:-1px;text-wrap:balance}
.auth-sub{margin:0;font-size:17px;line-height:1.5;font-weight:500;color:var(--text-2)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-top:8px;border-radius:14px;background:var(--gray-bg)}
.auth-tab{height:44px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:16px;font-weight:700;color:var(--text-2);cursor:pointer}
.auth-tab[aria-selected="true"]{background:#fff;color:#000;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.auth-form{display:flex;flex-direction:column;gap:18px;margin-top:8px}
.auth-form[hidden]{display:none}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:15px;font-weight:700}
.field input{width:100%;height:56px;padding:0 16px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:17px;font-weight:500;color:#000;transition:border-color .15s}
.field input:hover{border-color:#C9C9C9}
.field input:focus{outline:none;border-color:#000}
.field.has-err input{border-color:#D93636}
.input-wrap{position:relative}
.input-wrap input{padding-right:56px}
.pw-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--text-3);cursor:pointer}
.pw-toggle:hover,.pw-toggle.on{color:#000}
.field-hint{margin:0;font-size:14px;font-weight:500;color:var(--text-3)}
.field-err{margin:0;font-size:14px;font-weight:600;color:#D93636}
.field-err:empty{display:none}
.form-msg{margin:0;padding:12px 14px;border-radius:12px;font-size:15px;font-weight:600}
.form-msg:empty{display:none}
.form-msg.err{background:#FDECEC;color:#B42323}
.form-msg.ok{background:var(--green-soft);color:var(--green-dark)}
.auth-submit{width:100%;justify-content:center;margin-top:4px}
.auth-submit:disabled{opacity:.6;cursor:progress}
.auth-switch{margin:0;text-align:center;font-size:15px;font-weight:500;color:var(--text-2)}
.auth-switch a{font-weight:700;color:var(--green-dark)}
.auth-back{align-self:center;margin-top:4px;font-size:15px;font-weight:600;color:var(--text-3)}
@media (max-width:600px){
  .auth-section{padding-block:32px 64px}
  .auth{padding:28px 20px;border-radius:22px}
  .auth-title{font-size:30px}
}

/* ---------- Auth: forgot link, terms, result states ---------- */
.auth-forgot{align-self:flex-end;font-size:14px;font-weight:700;color:var(--green-dark)}
.auth-tabs[hidden]{display:none}
.check{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:22px;font-weight:500;color:var(--text-2);cursor:pointer}
.check input{flex:none;width:22px;height:22px;margin:0;accent-color:#000;cursor:pointer}
.check a{font-weight:700;color:var(--green-dark);text-decoration:underline}
.auth-note{margin:0;font-size:16px;line-height:24px;font-weight:500;color:var(--text-2)}
.auth-note b{color:#000;word-break:break-all}
.auth-done{display:flex;flex-direction:column;gap:16px;margin-top:8px}
.auth-done[hidden],[data-state][hidden]{display:none}
[data-state]{display:flex;flex-direction:column;gap:16px}
.auth-done-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:28px;background:var(--green-soft);color:var(--green-dark)}
.auth-done-icon.bad{background:#FDECEC;color:#B42323}
.auth-done-title{margin:0;font-size:24px;line-height:30px;font-weight:800}
a.auth-submit{display:flex;align-items:center;justify-content:center;text-decoration:none}

/* ---------- Invite link page (/r/) ---------- */
.p-code-r{display:flex;align-items:center;justify-content:center;height:72px;border-radius:16px;border:2px dashed var(--green);font-size:32px;font-weight:800;letter-spacing:4px}
.p-code-r[hidden]{display:none}
.auth-store{display:flex;flex-direction:column;gap:10px}
