/* ============================================
   Raah.pk — Design Tokens
   ============================================ */
:root{
  --ink:#0a0a0a;
  --white:#ffffff;
  --paper:#f5f7f6;
  --paper-deep:#eef1ef;
  --green:#00bf63;
  --green-deep:#019a4f;
  --green-soft:#e5f9ee;
  --gray-700:#3d4440;
  --gray-500:#68716c;
  --gray-300:#dde2df;
  --gray-200:#eceeed;

  --font:'Inter', system-ui, sans-serif;

  --container:1240px;
  --radius-sm:12px;
  --radius:20px;
  --radius-lg:28px;
  --ease:cubic-bezier(.16,.84,.44,1);
  --shadow-sm:0 2px 10px rgba(10,10,10,.06);
  --shadow-md:0 12px 40px rgba(10,10,10,.10);
  --shadow-lg:0 24px 70px rgba(10,10,10,.14);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth; color-scheme:light;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  letter-spacing:-0.01em;
  -webkit-overflow-scrolling:touch;
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font);margin:0;line-height:1.06;letter-spacing:-0.03em;font-weight:800;}
p{margin:0;}
button{font-family:inherit;cursor:pointer;background:none;border:none;}
svg{display:block;}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 clamp(20px, 5vw, 48px);
  width:100%;
}

:focus-visible{
  outline:3px solid var(--green);
  outline-offset:3px;
  border-radius:4px;
}

/* ============================================
   Scroll reveal
   ============================================ */
.reveal{
  opacity:0;
  transform:translateY(24px);
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1; transform:none;}
}

/* ============================================
   Eyebrow
   ============================================ */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.02em;
  color:var(--green-deep);
  background:var(--green-soft);
  padding:7px 14px 7px 10px;
  border-radius:999px;
}
.eyebrow .dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--green);
  flex-shrink:0;
}

/* ============================================
   Buttons
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15.5px;
  border:1.5px solid transparent;
  transition:transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:var(--ink);
  color:var(--white);
  box-shadow:var(--shadow-sm);
}
.btn-primary:hover{background:var(--green-deep); box-shadow:var(--shadow-md);}
.btn-outline{
  border-color:var(--gray-300);
  color:var(--ink);
  background:var(--white);
}
.btn-outline:hover{border-color:var(--ink); box-shadow:var(--shadow-sm);}
.btn-ghost-light{
  border-color:rgba(255,255,255,.35);
  color:var(--white);
}
.btn-ghost-light:hover{background:rgba(255,255,255,.12); border-color:var(--white);}
.btn-row{display:flex; flex-wrap:wrap; gap:14px;}

/* Store badges */
.store-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (min-width:420px){
  .store-row{display:flex; flex-wrap:wrap; gap:14px;}
}
.store-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--ink);
  color:var(--white);
  padding:9px 12px;
  border-radius:12px;
  transition:transform .2s var(--ease), background .2s, box-shadow .2s;
  box-shadow:var(--shadow-sm);
  min-width:0;
}
@media (min-width:420px){
  .store-badge{
    justify-content:flex-start;
    gap:12px;
    padding:11px 22px 11px 18px;
    border-radius:14px;
  }
}
.store-badge:hover{transform:translateY(-3px); background:var(--green-deep); box-shadow:var(--shadow-md);}
.store-badge svg{width:20px;height:20px;flex-shrink:0;}
@media (min-width:420px){
  .store-badge svg{width:26px;height:26px;}
}
.store-badge .store-text{display:flex;flex-direction:column;line-height:1.15;min-width:0;}
.store-badge .store-text small{font-size:9px;font-weight:500;opacity:.75;letter-spacing:.02em;white-space:nowrap;}
.store-badge .store-text strong{font-size:13.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media (min-width:420px){
  .store-badge .store-text small{font-size:10.5px;}
  .store-badge .store-text strong{font-size:16px;}
}

/* ============================================
   Navigation
   ============================================ */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid transparent;
  transition:border-color .25s, box-shadow .25s;
}
.site-header.scrolled{
  border-color:var(--gray-200);
  box-shadow:0 2px 20px rgba(10,10,10,.05);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:14px;
  padding-bottom:14px;
}
.nav-brand{
  display:flex;
  align-items:center;
  gap:9px;
}
.nav-brand img{height:38px; width:auto;}
@media (min-width:600px){
  .nav-brand img{height:46px;}
}
.nav-links{
  display:none;
  align-items:center;
  gap:8px;
}
.nav-links a{
  font-size:14.5px;
  font-weight:600;
  color:var(--gray-700);
  padding:10px 16px;
  border-radius:999px;
  transition:background .2s, color .2s;
}
.nav-links a:hover{background:var(--paper-deep); color:var(--ink);}
.nav-links a.active{color:var(--ink); background:var(--gray-200);}
.nav-cta{display:none;}
.nav-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  background:var(--white);
  border:1.5px solid var(--gray-300);
  border-radius:10px;
  color:var(--ink);
}
.nav-toggle svg{width:20px;height:20px;}

@media (min-width:960px){
  .nav-links{display:flex;}
  .nav-cta{display:inline-flex;}
  .nav-toggle{display:none;}
}

.mobile-menu{
  display:none;
  flex-direction:column;
  background:var(--white);
  border-bottom:1px solid var(--gray-200);
}
.mobile-menu.open{display:flex;}
.mobile-menu a{
  padding:16px clamp(20px, 5vw, 48px);
  color:var(--gray-700);
  font-size:15.5px;
  font-weight:600;
  border-top:1px solid var(--gray-200);
}
.mobile-menu a.btn{
  color:var(--white);
  border-top:none;
  padding:16px 30px;
}
.mobile-menu .btn{margin:16px clamp(20px, 5vw, 48px) 22px;}

/* ============================================
   Hero
   ============================================ */
.hero{
  position:relative;
  background:linear-gradient(180deg, var(--paper) 0%, var(--white) 78%);
  padding:64px 0 40px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  gap:56px;
  align-items:center;
}
@media (min-width:980px){
  .hero-grid{grid-template-columns:1.05fr 0.95fr; gap:40px;}
}
.hero h1{
  font-size:clamp(2.4rem, 5.2vw, 3.9rem);
  margin-top:22px;
  color:var(--ink);
}
.hero h1 .accent{color:var(--green-deep);}
.hero p.lead{
  margin-top:22px;
  font-size:18px;
  line-height:1.6;
  color:var(--gray-500);
  max-width:520px;
  font-weight:500;
}
.hero .store-row{margin-top:32px;}

.hero-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:36px;
}
@media (min-width:560px){
  .hero-trust{display:flex; flex-wrap:wrap; gap:30px; margin-top:44px;}
}
.trust-item{display:flex; align-items:center; gap:8px; min-width:0;}
@media (min-width:560px){
  .trust-item{gap:10px;}
}
.trust-item .icon-chip{
  width:32px;height:32px;
  border-radius:9px;
  background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
@media (min-width:560px){
  .trust-item .icon-chip{width:36px;height:36px;border-radius:10px;}
}
.trust-item .icon-chip svg{width:16px;height:16px;color:var(--green-deep);}
@media (min-width:560px){
  .trust-item .icon-chip svg{width:18px;height:18px;}
}
.trust-item strong{display:block; font-size:13px; font-weight:700; white-space:nowrap;}
.trust-item span{font-size:11px; color:var(--gray-500); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
@media (min-width:560px){
  .trust-item strong{font-size:14.5px;}
  .trust-item span{font-size:12.5px;}
}

/* ----- Phone mockup ----- */
.phone-wrap{
  position:relative;
  display:flex;
  justify-content:center;
}
.phone-blob{
  position:absolute;
  width:420px;height:420px;
  background:radial-gradient(circle, rgba(0,191,99,.22), transparent 68%);
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  z-index:0;
}
.phone{
  position:relative;
  z-index:1;
  width:270px;
  height:560px;
  background:var(--ink);
  border-radius:40px;
  padding:14px;
  box-shadow:var(--shadow-lg);
}
.phone-screen{
  position:relative;
  width:100%;
  height:100%;
  background:linear-gradient(160deg,#eef7f1,#e3f3ea 55%,#dcefe4);
  border-radius:28px;
  overflow:hidden;
}
.phone-notch{
  position:absolute;
  top:0; left:50%;
  transform:translateX(-50%);
  width:110px; height:22px;
  background:var(--ink);
  border-radius:0 0 16px 16px;
  z-index:5;
}
.phone-status{
  display:flex;
  justify-content:space-between;
  padding:34px 20px 0;
  font-size:12px;
  font-weight:700;
  color:var(--ink);
}
.phone-map{
  position:absolute;
  inset:0;
  z-index:0;
}
.phone-map svg{width:100%;height:100%;}
.pin{
  position:absolute;
  width:16px;height:16px;
  background:var(--green);
  border:3px solid var(--white);
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  box-shadow:0 4px 10px rgba(0,0,0,.2);
}
.pin.pin-a{top:120px; left:56px;}
.pin.pin-b{top:230px; right:44px;}
.pulse{
  position:absolute;
  width:16px;height:16px;
  border-radius:50%;
  background:rgba(0,191,99,.4);
  top:230px; right:44px;
  transform:translate(6px,6px);
  animation:pulse 2.6s ease-out infinite;
  will-change:transform, opacity;
}
@keyframes pulse{
  0%{transform:translate(6px,6px) scale(.6); opacity:.9;}
  100%{transform:translate(6px,6px) scale(2.6); opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  .pulse, .mock-dot{animation:none;}
}
.ride-card{
  position:absolute;
  left:16px; right:16px; bottom:96px;
  background:var(--white);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 10px 30px rgba(10,10,10,.16);
  z-index:6;
}
.ride-card .row1{
  display:flex;
  align-items:center;
  gap:10px;
}
.ride-card .avatar{
  width:34px;height:34px;
  border-radius:50%;
  background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;
  font-size:13px;
  color:var(--green-deep);
  flex-shrink:0;
}
.ride-card .who{font-size:13.5px; font-weight:700;}
.ride-card .rating{font-size:11.5px; color:var(--gray-500); font-weight:500;}
.ride-card .fare{
  margin-left:auto;
  text-align:right;
}
.ride-card .fare strong{display:block; font-size:15px; font-weight:800;}
.ride-card .fare span{font-size:10px; color:var(--gray-500); font-weight:600;}
.ride-card .accept{
  margin-top:12px;
  width:100%;
  background:var(--green);
  color:var(--ink);
  font-weight:700;
  font-size:13px;
  padding:10px;
  border-radius:10px;
  text-align:center;
}
.phone-tabbar{
  position:absolute;
  left:0; right:0; bottom:0;
  height:74px;
  background:var(--white);
  border-top:1px solid var(--gray-200);
  display:flex;
  align-items:center;
  justify-content:space-around;
  padding-bottom:14px;
}
.phone-tabbar .tab{
  width:22px;height:22px;
  border-radius:7px;
  background:var(--gray-200);
}
.phone-tabbar .tab.active{background:var(--green);}

.float-chip{
  position:absolute;
  z-index:2;
  background:var(--white);
  border-radius:14px;
  box-shadow:var(--shadow-md);
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  font-weight:700;
}
.float-chip svg{width:16px;height:16px;color:var(--green-deep);}
.float-chip.chip-1{top:8%; left:4%;}
.float-chip.chip-2{bottom:14%; right:2%;}
@media (min-width:560px){
  .float-chip.chip-1{left:-4%;}
  .float-chip.chip-2{right:-6%;}
}
@media (min-width:980px){
  .float-chip.chip-1{left:-6%;}
  .float-chip.chip-2{right:-8%;}
}
@media (max-width:420px){
  .float-chip{display:none;}
}

/* ============================================
   Section shell
   ============================================ */
.section{padding:64px 0;}
.section.tight{padding:48px 0;}
@media (min-width:720px){
  .section{padding:100px 0;}
  .section.tight{padding:72px 0;}
}
.section-head{max-width:640px; margin-bottom:36px;}
@media (min-width:720px){
  .section-head{margin-bottom:52px;}
}
.section-head h2{
  font-size:clamp(1.8rem, 3.4vw, 2.6rem);
  margin-top:16px;
}
.section-head p{
  margin-top:16px;
  font-size:16.5px;
  line-height:1.6;
  color:var(--gray-500);
  font-weight:500;
}
.section-head.center{margin:0 auto 56px; text-align:center;}
.section-foot{margin-top:44px;}
.bg-paper{background:var(--paper);}

/* ============================================
   Why Raah — icon cards
   ============================================ */
.why-grid{
  display:grid;
  gap:20px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .why-grid{grid-template-columns:repeat(3,1fr);}
}
.why-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:26px 24px;
  box-shadow:var(--shadow-md);
  transition:box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.why-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-5px);
  border-color:transparent;
}
.why-icon{
  width:46px;height:46px;
  border-radius:13px;
  background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.why-icon svg{width:26px;height:26px;color:var(--green-deep);}
.why-card h3{font-size:20px; margin-bottom:8px;}
.why-card p{font-size:14.5px; color:var(--gray-500); line-height:1.55; font-weight:500;}

/* ============================================
   Core Functions — compact card grid
   ============================================ */
.func-grid{
  display:grid;
  gap:20px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .func-grid{grid-template-columns:repeat(3,1fr); gap:24px;}
}
.func-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:20px;
  box-shadow:var(--shadow-md);
  transition:box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.func-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-5px);
  border-color:transparent;
}
.func-copy .step-index{
  font-size:12.5px;
  font-weight:800;
  color:var(--green-deep);
  letter-spacing:.04em;
}
.func-copy h3{
  font-size:20px;
  margin-top:8px;
}
.func-copy p{
  margin-top:10px;
  font-size:14.5px;
  line-height:1.6;
  color:var(--gray-500);
  font-weight:500;
}

.func-visual{
  position:relative;
  background:var(--paper);
  border-radius:var(--radius-sm);
  padding:18px;
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  order:-1;
}
.mock-card{
  background:var(--white);
  border-radius:14px;
  box-shadow:var(--shadow-sm);
  padding:16px;
  width:100%;
  max-width:340px;
}
.mock-card .mock-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.mock-card .mock-head span{font-size:12px; font-weight:700; color:var(--gray-500);}
.mock-dot{width:8px;height:8px;border-radius:50%;background:var(--green); animation:blink 1.6s ease-in-out infinite;}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:.25;}}
.mock-line{height:9px; border-radius:6px; background:var(--gray-200); margin-bottom:8px;}
.mock-line.w60{width:60%;}
.mock-line.w80{width:80%;}
.mock-line.w40{width:40%;}
.mock-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green-soft); color:var(--green-deep);
  font-size:11.5px; font-weight:700;
  padding:5px 11px; border-radius:999px;
  margin-top:4px;
}
.mock-row{display:flex; gap:8px; margin-top:10px;}
.mock-box{
  flex:1;
  border:1.5px solid var(--gray-200);
  border-radius:10px;
  padding:10px;
  text-align:center;
}
.mock-box.active{border-color:var(--green); background:var(--green-soft);}
.mock-box strong{display:block; font-size:13px; font-weight:800;}
.mock-box span{font-size:10.5px; color:var(--gray-500); font-weight:600;}
.mock-fare{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:12px; padding-top:12px; border-top:1px dashed var(--gray-300);
}
.mock-fare strong{font-size:18px; font-weight:800;}
.mock-fare span{font-size:11px; color:var(--gray-500); font-weight:600;}

/* ============================================
   How it works stepper
   ============================================ */
.stepper{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .stepper{grid-template-columns:repeat(3,1fr);}
}
.step-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:28px 24px;
  position:relative;
  box-shadow:var(--shadow-md);
  transition:box-shadow .25s, transform .25s var(--ease);
}
.step-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-5px);
}
.step-card .num{
  width:38px;height:38px;
  border-radius:11px;
  background:var(--ink);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;
  font-size:15px;
  margin-bottom:18px;
}
.step-card h3{font-size:18px; margin-bottom:8px;}
.step-card p{font-size:14.5px; color:var(--gray-500); line-height:1.55; font-weight:500;}

/* ============================================
   FAQ accordion
   ============================================ */
.faq-list{border-top:1px solid var(--gray-200);}
.faq-item{border-bottom:1px solid var(--gray-200);}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:26px 6px;
  text-align:left;
  font-size:17.5px;
  font-weight:700;
  color:var(--ink);
}
.faq-q .plus{
  flex-shrink:0;
  width:28px;height:28px;
  border-radius:50%;
  background:var(--paper-deep);
  position:relative;
  transition:transform .3s var(--ease), background .3s;
}
.faq-q .plus::before,
.faq-q .plus::after{
  content:'';
  position:absolute;
  background:var(--ink);
  transition:background .3s, opacity .3s;
}
.faq-q .plus::before{left:8px; right:8px; top:13px; height:2px;}
.faq-q .plus::after{top:8px; bottom:8px; left:13px; width:2px;}
.faq-item.open .plus{background:var(--green); transform:rotate(180deg);}
.faq-item.open .plus::after{opacity:0;}
.faq-a{max-height:0; overflow:hidden; transition:max-height .35s var(--ease);}
.faq-a p{padding:0 4px 26px; font-size:15.5px; line-height:1.65; color:var(--gray-500); max-width:660px; font-weight:500;}

/* ============================================
   CTA band
   ============================================ */
.cta-band{
  background:var(--ink);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:56px 36px;
  position:relative;
  overflow:hidden;
  display:grid;
  gap:28px;
}
@media (min-width:900px){
  .cta-band{padding:64px 68px; grid-template-columns:1.3fr auto; align-items:center;}
}
.cta-band h2{font-size:clamp(1.6rem,3vw,2.2rem); color:var(--white);}
.cta-band p{margin-top:14px; color:rgba(255,255,255,.65); max-width:440px; font-size:15.5px; font-weight:500;}
.cta-glow{
  position:absolute;
  width:360px;height:360px;
  background:radial-gradient(circle, rgba(0,191,99,.35), transparent 70%);
  top:-130px; right:-70px;
  pointer-events:none;
  z-index:0;
}
.cta-band > div:not(.cta-glow){
  position:relative;
  z-index:1;
}

/* ============================================
   Footer
   ============================================ */
.site-footer{background:var(--ink); color:rgba(255,255,255,.55); margin-top:0;}
.footer-top{
  display:grid;
  gap:44px;
  padding:68px 0 44px;
  grid-template-columns:1fr;
}
@media (min-width:720px){
  .footer-top{grid-template-columns:1.4fr 1fr 1fr;}
}
.footer-brand{display:flex; align-items:center; gap:12px;}
.footer-logo-chip{
  width:44px;height:44px;
  background:var(--white);
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  padding:6px;
  flex-shrink:0;
}
.footer-logo-chip img{width:100%; height:100%; object-fit:contain;}
.footer-brand strong{font-size:19px; font-weight:800; color:var(--white);}
.footer-tag{margin-top:18px; font-size:14px; line-height:1.6; max-width:280px; font-weight:500;}
.footer-col h4{color:var(--white); font-size:13.5px; letter-spacing:.04em; text-transform:uppercase; margin-bottom:20px;}
.footer-col ul{display:flex; flex-direction:column; gap:13px;}
.footer-col a{font-size:14.5px; font-weight:500; transition:color .2s;}
.footer-col a:hover{color:var(--green);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:24px 0;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  font-size:13px;
  font-weight:500;
}

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero{
  background:linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  padding:40px 0 32px;
}
@media (min-width:720px){
  .page-hero{padding:56px 0 40px;}
}
.page-hero .section-head{margin-bottom:0; max-width:680px;}
.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--gray-500);
  margin-top:18px;
}
.breadcrumb a{color:var(--gray-500); transition:color .2s;}
.breadcrumb a:hover{color:var(--green-deep);}
.breadcrumb span{color:var(--gray-300);}
.breadcrumb .current{color:var(--ink);}

/* ============================================
   Feature grid (Features page)
   ============================================ */
.feature-grid{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}
@media (min-width:640px){
  .feature-grid{grid-template-columns:repeat(3,1fr);}
}

/* ============================================
   Timeline (How It Works page)
   ============================================ */
.timeline{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:0;
}
.timeline-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:20px;
  padding-bottom:40px;
  position:relative;
}
.timeline-item:last-child{padding-bottom:0;}
.timeline-rail{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.timeline-num{
  width:44px;height:44px;
  border-radius:50%;
  background:var(--ink);
  color:var(--white);
  font-weight:800;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  z-index:1;
}
.timeline-item.is-active .timeline-num{background:var(--green);}
.timeline-line{
  width:2px;
  flex:1;
  margin-top:6px;
  background:repeating-linear-gradient(
    to bottom,
    var(--gray-300) 0 8px,
    transparent 8px 16px
  );
}
.timeline-content{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  box-shadow:var(--shadow-md);
  padding:24px 26px;
  margin-top:2px;
}
.timeline-content h3{font-size:19px; margin-bottom:8px;}
.timeline-content p{font-size:15px; line-height:1.6; color:var(--gray-500); font-weight:500;}

/* ============================================
   FAQ groups (FAQ page)
   ============================================ */
.faq-group{margin-bottom:60px;}
.faq-group:last-child{margin-bottom:0;}
.faq-group-title{
  font-size:13.5px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--green-deep);
  margin-bottom:22px;
  padding-bottom:14px;
  border-bottom:2px solid var(--green-soft);
}

/* ============================================
   Contact page
   ============================================ */
.contact-grid{
  display:grid;
  gap:28px;
  grid-template-columns:1fr;
  align-items:start;
}
@media (min-width:900px){
  .contact-grid{grid-template-columns:1.15fr 0.85fr; gap:32px;}
}
.contact-form{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  padding:28px;
}
@media (min-width:640px){
  .contact-form{padding:40px;}
}
.form-row{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
  margin-bottom:18px;
}
@media (min-width:560px){
  .form-row.two{grid-template-columns:1fr 1fr;}
}
.field label{
  display:block;
  font-size:13.5px;
  font-weight:700;
  margin-bottom:8px;
}
.field .optional{color:var(--gray-500); font-weight:500;}
.field input,
.field textarea{
  width:100%;
  font-family:var(--font);
  font-size:15px;
  padding:13px 16px;
  border:1.5px solid var(--gray-300);
  border-radius:12px;
  background:var(--white);
  color:var(--ink);
  transition:border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 4px var(--green-soft);
}
.field textarea{resize:vertical; min-height:130px;}
.form-note{
  font-size:13px;
  color:var(--gray-500);
  margin-top:14px;
  line-height:1.5;
}
.form-success{
  display:none;
  align-items:center;
  gap:10px;
  background:var(--green-soft);
  color:var(--green-deep);
  font-weight:700;
  font-size:14px;
  padding:14px 18px;
  border-radius:12px;
  margin-top:18px;
}
.form-success.show{display:flex;}
.form-success svg{width:18px;height:18px; flex-shrink:0;}

.contact-info{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.info-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow-md);
  display:flex;
  gap:16px;
  align-items:flex-start;
  transition:box-shadow .25s, transform .25s var(--ease);
}
.info-card:hover{box-shadow:var(--shadow-lg); transform:translateY(-3px);}
.info-card .info-icon{
  width:42px;height:42px;
  border-radius:12px;
  background:var(--green-soft);
  color:var(--green-deep);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.info-card .info-icon svg{width:20px;height:20px;}
.info-card .info-body{min-width:0;}
.info-card h4{
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--gray-500);
  margin-bottom:8px;
}
.info-card .value{
  font-size:17px;
  font-weight:700;
  word-break:break-word;
}
.info-card a.value{color:var(--green-deep);}
.info-card.dark{
  display:block;
  background:var(--ink);
  color:var(--white);
}
.info-card.dark h4{color:rgba(255,255,255,.5);}
.info-card.dark .store-row{margin-top:14px;}
.info-card.dark .store-badge{
  background:var(--green);
  color:var(--ink);
}
.info-card.dark .store-badge:hover{background:var(--white);}

/* ============================================
   Legal pages (Privacy / Terms)
   ============================================ */
.legal{
  max-width:760px;
}
.legal .effective{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:var(--gray-500);
  background:var(--paper-deep);
  padding:7px 14px;
  border-radius:999px;
  margin-bottom:32px;
}
.legal h2{
  font-size:22px;
  margin-top:40px;
  margin-bottom:14px;
}
.legal h2:first-of-type{margin-top:0;}
.legal p{
  font-size:15.5px;
  line-height:1.75;
  color:var(--gray-700);
  font-weight:500;
  margin-bottom:14px;
}
.legal ol, .legal ul{
  margin:0 0 14px;
  padding-left:22px;
}
.legal li{
  font-size:15.5px;
  line-height:1.75;
  color:var(--gray-700);
  font-weight:500;
  margin-bottom:8px;
}
.legal strong{color:var(--ink);}
