/* ============================================================
   DebitCredit: shared stylesheet
   Concept: the digital bahi-khata (shopkeeper's ledger)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Hanken+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink:        #15173A;
  --ink-soft:   #3a3d63;
  --muted:      #6b6e86;
  --indigo:     #3d46c4;
  --indigo-bri: #5865f2;
  --credit:     #10a66e;
  --credit-bg:  #e7f7ef;
  --debit:      #e5197d;
  --debit-bg:   #fde7f1;
  --margin-red: #e5484d;
  --paper:      #f6f7fb;
  --card:       #ffffff;
  --line:       #e7e9f2;
  --line-2:     #eef0f7;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --shadow:     0 1px 2px rgba(21,23,58,.04), 0 8px 30px rgba(21,23,58,.06);
  --shadow-lg:  0 4px 12px rgba(21,23,58,.06), 0 24px 60px rgba(21,23,58,.12);

  --maxw:       1120px;
  --pad:        clamp(20px, 5vw, 40px);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 18px rgba(61,70,196,.28); }
.btn-primary:hover { background: var(--indigo-bri); box-shadow: 0 8px 24px rgba(88,101,242,.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Google Play badge (built in CSS/SVG, no image dependency) */
.play-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--ink); color: #fff; padding: .6rem 1.25rem .6rem 1.05rem;
  border-radius: 12px; transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 20px rgba(21,23,58,.22);
}
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(21,23,58,.3); }
.play-badge .g-tri { width: 22px; height: 24px; flex: none; }
.play-badge .lbl { display: flex; flex-direction: column; line-height: 1.1; }
.play-badge .lbl small { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.play-badge .lbl b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,247,251,.82); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .debit,
.brand .credit { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .98rem; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--indigo);
  padding-left: .9rem; position: relative;
}
.eyebrow::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:3px; height:1.1em; background: var(--margin-red); border-radius: 2px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 1rem 0 .8rem; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(48px,7vw,96px) 0 clamp(64px,8vw,110px); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(61,70,196,.05), transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 37px, var(--line-2) 37px, var(--line-2) 38px);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
.hero h1 .hl-credit { color: var(--credit); }
.hero h1 .hl-debit  { color: var(--debit); }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); margin: 1.4rem 0 2rem; max-width: 30ch; }
.hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-meta .stat b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; display: block; letter-spacing: -0.02em; }
.hero-meta .stat span { font-size: .85rem; color: var(--muted); }

/* Phone + ledger */
.phone-stage { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  width: min(320px, 78vw); aspect-ratio: 9 / 19.5; background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative; display: flex;
}
.phone-screen { background: #fff; border-radius: 30px; overflow: hidden; flex: 1; display: flex; min-height: 0; }

/* Hero mockup of the real shared-statement page (public/share.html) - same
   toolbar, two-column Credit/Debit split, and totals footer, down to the
   exact colors (--color-primary/--color-credit/--color-debit tokens there),
   and the same flex-column shell so the columns fill the full screen height
   like the real page instead of leaving a big gap under a couple of rows. */
.share-app {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .45s ease .05s, transform .45s cubic-bezier(.2,.8,.2,1) .05s;
}
.share-app.in { opacity: 1; transform: translateY(0) scale(1); }
.share-toolbar { flex: none; background: #3F51B5; color: #fff; padding: 26px 12px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share-brand { display: flex; align-items: center; gap: 6px; min-width: 0; }
.share-brand .mark { width: 20px; height: 20px; flex: none; }
.share-brand span { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.share-contact { font-size: .78rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.share-columns { display: flex; position: relative; flex: 1; min-height: 0; }
.share-columns::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #3F51B5; }
.share-column { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.share-col-header { flex: none; color: #fff; font-size: .8rem; text-align: center; padding: 5px; }
.credit-header { background: #33B97C; }
.debit-header { background: #C41766; }
.share-col-body { flex: 1; overflow: hidden; }
.share-entry { display: flex; justify-content: space-between; gap: 6px; padding: 7px 9px; border-bottom: 1px solid #e5e7f0; font-size: .74rem; opacity: 0; }
.share-entry .d { color: #222; white-space: nowrap; }
.share-entry .a { font-weight: 700; white-space: nowrap; }
.credit-col .share-entry .a { color: #33B97C; }
.debit-col .share-entry .a { color: #C41766; }

.share-totals { flex: none; border-top: 1px solid #dddddd; }
.share-totals-row { display: flex; }
.share-total { flex: 1; text-align: center; padding: 6px 4px; font-size: .68rem; line-height: 1.3; border: 1px solid #3F51B5; }
.share-total b { font-size: .82rem; }
.share-total.credit-total { color: #33B97C; }
.share-total.debit-total { color: #C41766; }
.share-diff { text-align: center; padding: 7px 6px; font-size: .82rem; color: #222; }
.share-diff .credit { font-weight: 700; color: #33B97C; }
.share-app-footer { text-align: center; font-size: .62rem; color: #999; padding: 5px 8px; border-top: 1px solid #dddddd; }

/* row reveal animation - mirrors the real page's post-unlock reveal timing */
@keyframes writeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.animate .share-entry { animation: writeIn .5s ease forwards; }
.animate .share-entry:nth-child(1){ animation-delay:.25s; }
.animate .share-entry:nth-child(2){ animation-delay:.45s; }

/* ---------- app screenshots carousel (real device captures) ---------- */
/* Single centered slide at a time: spacer pseudo-elements sized to half the
   track minus half a slide's width so the first/last slides can also reach
   true center, not just clamp at the scroll edges. Keep the spacer width in
   sync with .shots-slide's width at each breakpoint below. */
.shots-carousel { position: relative; }
.shots-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 28px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track::before, .shots-track::after { content: ""; flex: 0 0 calc(50% - 140px); }
.shots-slide {
  flex: 0 0 auto; width: 280px; scroll-snap-align: center; text-align: center;
  opacity: .35; transform: scale(.92); transition: opacity .25s ease, transform .25s ease;
}
.shots-slide.is-active { opacity: 1; transform: scale(1); }
.shots-slide-title { font-weight: 700; font-size: 1rem; margin-bottom: 14px; color: var(--ink); }
/* Frame's aspect ratio is set to the screenshot's own ratio (720x1510, status
   bar included, system nav bar cropped out) so there's no leftover empty
   space at the bottom. */
.shots-slide .phone { width: 100%; aspect-ratio: auto; }
.shots-slide .phone-screen { aspect-ratio: 720 / 1510; }
.shots-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.shots-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.shots-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, transform .15s ease;
}
.shots-nav button:hover { border-color: var(--indigo); transform: translateY(-1px); }
.shots-nav button svg { width: 18px; height: 18px; }

.shots-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.shots-dots button {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.shots-dots button.active { background: var(--indigo); transform: scale(1.3); }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--card); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px var(--pad); text-align: center; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-item b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; display:block; letter-spacing:-0.02em; }
.trust-item span { font-size: .84rem; color: var(--muted); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card::before { content:""; position:absolute; left:0; top:24px; bottom:24px; width:2.5px; background: var(--margin-red); opacity:.35; border-radius:2px; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.feat-ic svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.feat-card p { color: var(--muted); font-size: .97rem; }
.ic-indigo { background: rgba(61,70,196,.1); color: var(--indigo); }
.ic-credit { background: var(--credit-bg); color: var(--credit); }
.ic-debit  { background: var(--debit-bg);  color: var(--debit); }

/* ---------- spotlight (sharing) ---------- */
.spotlight { background: var(--ink); color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,4vw,56px); padding: clamp(36px,5vw,64px); }
.spotlight h2 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.6rem); }
.spotlight .eyebrow { color: #a8b0ff; }
.spotlight p { color: rgba(255,255,255,.75); margin: 1rem 0 1.6rem; }
.spot-list { list-style: none; display: grid; gap: .9rem; }
.spot-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: rgba(255,255,255,.9); }
.spot-list svg { width: 20px; height: 20px; flex: none; color: var(--credit); margin-top: 2px; }

/* share-link visual */
.share-visual { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.share-msg { background: var(--card); color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); font-size: .9rem; }
.share-msg .hd { display:flex; align-items:center; gap:8px; margin-bottom:8px; font-weight:600; }
.share-msg .hd .wa { width:22px;height:22px;border-radius:6px;background:#25D366;display:grid;place-items:center;color:#fff; }
.share-msg .link { font-family: var(--font-mono); font-size:.8rem; color: var(--indigo); word-break: break-all; }
.share-msg .pin { display:inline-flex; gap:6px; margin-top:10px; }
.share-msg .pin i { font-style:normal; font-family:var(--font-mono); font-weight:600; width:30px;height:36px; display:grid;place-items:center; background:var(--paper); border:1px solid var(--line); border-radius:8px; }

.share-arrow { display:flex; align-items:center; gap:8px; justify-content:center; margin:18px 0; color:rgba(255,255,255,.5); font-size:.8rem; }
.share-arrow svg { width:18px; height:18px; flex:none; }

/* Mock of the actual PIN gate a link recipient sees (matches public/share.html's
   #gateOverlay/#gateSheet exactly: blurred ledger backdrop, cream PIN boxes,
   orange accent button) - not a generic "lock screen" placeholder. */
.pin-gate-mock { position: relative; border-radius: 14px; overflow: hidden; height: 200px; box-shadow: var(--shadow); }
.pin-gate-backdrop {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(63,81,181,.35), rgba(63,81,181,.35)),
    repeating-linear-gradient(180deg, #eef0f7 0 14px, #ffffff 14px 28px);
  filter: blur(2px);
}
.pin-gate-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; color: var(--ink); border-radius: 16px 16px 0 0;
  padding: 30px 16px 16px; text-align: center;
}
.pin-gate-logo {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center;
}
.pin-gate-logo .mark { width: 24px; height: 24px; }
.pin-gate-sheet p { color: var(--ink); font-size: .78rem; margin: 0 0 12px; }
.pin-gate-boxes { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.pin-gate-boxes span {
  width: 30px; height: 34px; border-radius: 8px;
  background: #FFF8E7; border: 1px solid #DFA64F;
}
.pin-gate-btn {
  background: #DFA64F; color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; border-radius: 8px; padding: 9px;
}

/* ---------- languages ---------- */
.langs { text-align: center; }
.lang-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.lang-chip {
  font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2.1rem); font-weight: 600;
  padding: 14px 26px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow); color: var(--ink);
}
.lang-chip small { display:block; font-family:var(--font-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:2px; }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.quote .stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; }
.quote p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.quote .who b { font-size: .95rem; display: block; }
.quote .who span { font-size: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--indigo), #6a4bd6);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px) var(--pad); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(0deg,transparent,transparent 31px,rgba(255,255,255,.06) 31px,rgba(255,255,255,.06) 32px); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem,4vw,2.8rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 0 auto 1.8rem; }
.cta-band .play-badge { background: #fff; color: var(--ink); }
.cta-band .play-badge .lbl small { color: var(--muted); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero { padding: clamp(48px,6vw,84px) 0 clamp(28px,4vw,44px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.4rem); margin: 1rem 0 .6rem; }
.page-hero p { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* legal / prose */
.prose { max-width: 760px; padding-block: clamp(40px,6vw,72px); }
.prose .updated { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 700; color: var(--ink); }
.prose td { color: var(--ink-soft); }
.callout { background: var(--credit-bg); border: 1px solid rgba(16,166,110,.25); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem; color: var(--ink-soft); margin: 1.5rem 0; }
.callout.warn { background: #fff6e6; border-color: #f2c879; }

/* contact cards */
.contact-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:20px; }
.contact-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); }
.contact-card h3 { font-size:1.2rem; margin-bottom:.4rem; }
.contact-card p { color:var(--muted); font-size:.95rem; margin-bottom:1rem; }
.contact-card a.mail { font-family:var(--font-mono); color:var(--indigo); font-size:.95rem; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; color: var(--indigo); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- download page ---------- */
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(32px,5vw,52px); text-align:center; max-width: 680px; margin: 0 auto; }
.dl-card .qr { width: 150px; height: 150px; margin: 24px auto; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.dl-req { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; text-align:left; }
.dl-req div { padding:16px; background:var(--paper); border-radius:var(--radius-sm); }
.dl-req small { text-transform:uppercase; letter-spacing:.08em; font-size:.7rem; color:var(--muted); }
.dl-req b { display:block; font-family:var(--font-display); font-size:1.05rem; margin-top:2px; }
.changelog { max-width:680px; margin: 48px auto 0; }
.changelog li { color: var(--ink-soft); margin-bottom:.6rem; padding-left:1.4rem; position:relative; }
.changelog li::before { content:""; position:absolute; left:0; top:.6em; width:7px;height:7px;border-radius:50%; background:var(--credit); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(48px,6vw,72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .95rem; margin-bottom: 10px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .2s; }
.footer-socials a:hover { background: var(--indigo); }
.footer-socials svg { width: 16px; height: 16px; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .phone-stage { order: -1; margin-bottom: 12px; }
  .feat-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 20px var(--pad); gap: 18px;
    box-shadow: var(--shadow);
  }
  .feat-grid, .quote-grid, .contact-grid, .dl-req, .footer-grid { grid-template-columns: 1fr; }
  .shots-slide { width: 220px; }
  .shots-track::before, .shots-track::after { flex-basis: calc(50% - 110px); }
  .hero-meta { gap: 1.6rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- motion / a11y ---------- */
:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .animate .led-row { opacity: 1 !important; }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
