/* ==========================================================
   My Kharcha – landing page
   ========================================================== */
:root {
  --coral: #E35D4A;
  --coral-deep: #C4432F;
  --coral-soft: #FCE6E1;
  --slate: #455A64;
  --ink: #1E2A30;
  --muted: #5E6D74;
  --paper: #FFF8F2;
  --surface: #FFFFFF;
  --line: #EFE2D8;
  --green: #1FAE6B;
  --red: #DE3A4F;
  --gold: #F5B82E;

  --radius: 22px;
  --shadow-sm: 0 2px 6px rgba(30, 42, 48, .06);
  --shadow: 0 18px 50px -18px rgba(120, 50, 30, .28);
  --shadow-lg: 0 40px 90px -30px rgba(120, 40, 20, .45);

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-deva: "Hind", "Inter", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F4ECE6;
    --muted: #B3A7A0;
    --paper: #16110F;
    --surface: #221B18;
    --line: #3A2F2A;
    --coral-soft: #3B211C;
    --slate: #9FB3BD;
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--f-body);
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px var(--coral); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111; color: #fff;
  padding: 11px 22px 11px 18px; border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
}
.store-btn span { display: flex; flex-direction: column; font: 600 19px/1.1 var(--f-body); }
.store-btn small { font-size: 10px; letter-spacing: .08em; opacity: .8; font-weight: 500; }
.store-btn:hover { transform: translateY(-3px); }
.store-btn.light { background: #fff; color: #111; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px var(--f-display); letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--coral); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-1 { width: 520px; height: 520px; background: #FFB9A6; right: -120px; top: 40px; }
.blob-2 { width: 380px; height: 380px; background: #FFE3A8; left: -140px; bottom: -80px; opacity: .45; }
@media (prefers-color-scheme: dark) {
  .blob-1 { background: #7A2A1C; } .blob-2 { background: #5A4212; }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, color-mix(in srgb, var(--coral) 10%, transparent) 33px 34px);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }

.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; margin-top: 22px; }
.underline { position: relative; color: var(--coral); white-space: nowrap; }
.underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 75 2 150 7 T 298 5' fill='none' stroke='%23F5B82E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform-origin: left; animation: draw 1s .6s cubic-bezier(.6,.1,.2,1) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hindi { font-family: var(--f-deva); font-size: 26px; font-weight: 600; color: var(--slate); margin-top: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-top: 16px; }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }

.hero-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font: 800 28px/1 var(--f-display); }
.hero-stats .star { color: var(--gold); font-size: .8em; margin-left: 2px; }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19;
  background: #15191C; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3035;
  transform: rotate(-3deg);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; background: #15191C; border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: #F4F6F7; color: #1E2A30; font-size: 12px; text-align: left;
}
.app-status { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-size: 11px; font-weight: 600; color: #37474F; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; box-shadow: 0 1px 0 #E6EAEC; }
.app-bar b { font-size: 16px; font-weight: 600; }
.app-bar .rupee { margin-left: auto; font-weight: 700; }
.app-body { padding: 12px; }
.acct { display: flex; justify-content: space-between; background: #fff; border: 1px solid #DCE2E5; border-radius: 8px; padding: 8px 10px; font-weight: 500; }
.app-label { margin: 12px 0 6px; color: #607D8B; font-size: 11px; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tile { padding: 8px 6px; text-align: center; color: #fff; }
.tile small { display: block; font-size: 10px; opacity: .9; }
.tile b { font-size: 12px; font-variant-numeric: tabular-nums; }
.tile.inc { background: #25BE77; }
.tile.exp { background: #DD3548; }
.tile.bal { background: #fff; color: #1FAE6B; }
.tile.bal small { color: #37474F; }
.tx { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.tx li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-bottom: 1px solid #EEF1F2; }
.tx li:last-child { border: 0; }
.tx-ic { width: 30px; height: 30px; display: grid; place-items: center; background: #FFF3EF; border-radius: 8px; font-size: 15px; }
.tx div { display: flex; flex-direction: column; line-height: 1.2; }
.tx b { font-weight: 600; font-size: 12px; }
.tx small { font-size: 10px; color: #90A4AE; }
.tx em { margin-left: auto; font-style: normal; font-weight: 700; color: #DD3548; font-variant-numeric: tabular-nums; }
.tx em.plus { color: #1FAE6B; }
.fab { position: absolute; right: 18px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: #2196F3; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 18px -4px rgba(33,150,243,.6); }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 13px; animation: floaty 7s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 11px; }
.float-card b { font-family: var(--f-display); font-size: 16px; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.fc-icon.green { background: #DDF6EA; color: var(--green); font-size: 20px; }
.fc-icon.pdf { background: #FDE3E3; color: #D93025; font-size: 10px; }
.fc-1 { top: 14%; left: -4%; }
.fc-2 { bottom: 16%; right: -6%; animation-delay: -2s; }
.fc-3 { top: 4%; right: 0; flex-direction: column; align-items: flex-start; animation-delay: -4s; max-width: 170px; }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.mini-bars i { width: 12px; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--coral), #F4A08F); }
.mini-bars i:nth-child(4) { background: linear-gradient(var(--gold), #F9D98A); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--coral); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 10px -20px; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: scroll 38s linear infinite; font: 700 22px var(--f-display); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: #FFD9A0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); background: var(--coral-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.section-head a { color: var(--coral); font-weight: 600; }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--coral) 35%, var(--line)); }
.card h3 { font-size: 21px; font-weight: 700; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--coral-soft); }
.card-lg { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; gap: 26px; background: linear-gradient(160deg, var(--surface) 55%, var(--coral-soft)); }
.card-accent { background: var(--coral); color: #fff; border-color: transparent; }
.card-accent p { color: rgba(255,255,255,.88); }
.card-accent .card-ic { background: rgba(255,255,255,.2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.langs { display: flex; gap: 10px; flex-wrap: wrap; }
.langs span { font: 600 18px var(--f-deva); color: var(--ink); padding: 4px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }

.dash-demo { margin-top: auto; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.25); color: #1E2A30; }
.dd-row { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 10px; overflow: hidden; }
.dd { padding: 12px; text-align: center; color: #fff; }
.dd small { display: block; font-size: 12px; opacity: .9; }
.dd b { font: 700 clamp(13px, 1.6vw, 18px) var(--f-body); font-variant-numeric: tabular-nums; }
.dd.inc { background: #25BE77; } .dd.exp { background: #DD3548; } .dd.bal { background: #F4F6F7; color: #1FAE6B; } .dd.bal small { color: #37474F; }
.dd-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 18px; padding: 0 4px; border-bottom: 1px solid #E3E8EA; background: repeating-linear-gradient(to top, transparent 0 36px, #EEF1F2 36px 37px); }
.dd-chart i { flex: 1; height: var(--h); background: var(--c); border-radius: 6px 6px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.card-lg.in .dd-chart i { transform: scaleY(1); }
.card-lg.in .dd-chart i:nth-child(2) { transition-delay: .06s; } .card-lg.in .dd-chart i:nth-child(3) { transition-delay: .12s; }
.card-lg.in .dd-chart i:nth-child(4) { transition-delay: .18s; } .card-lg.in .dd-chart i:nth-child(5) { transition-delay: .24s; }
.card-lg.in .dd-chart i:nth-child(6) { transition-delay: .3s; } .card-lg.in .dd-chart i:nth-child(7) { transition-delay: .36s; }
.card-lg.in .dd-chart i:nth-child(8) { transition-delay: .42s; }

/* ---------- how ---------- */
.how { background: var(--slate); color: #fff; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .how { background: #1D2629; } }
.how .section-head h2 { color: #fff; }
.how .eyebrow { background: rgba(255,255,255,.12); color: #FFC7B9; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 34px 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.steps li::after { content: ""; position: absolute; top: 58px; right: -24px; width: 24px; border-top: 2px dashed rgba(255,255,255,.3); }
.steps li:last-child::after { display: none; }
.step-n { font: 800 54px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px #FFB4A2; }
.steps h3 { font-size: 24px; margin: 18px 0 10px; }
.steps p { color: rgba(255,255,255,.75); }

/* ---------- gallery ---------- */
.screens { padding-bottom: 90px; }
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(24px, calc((100vw - 1180px) / 2 + 24px)) 30px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 auto; width: 250px; aspect-ratio: 9/16; object-fit: cover;
  border-radius: 24px; scroll-snap-align: center; box-shadow: var(--shadow);
  transition: transform .35s ease;
}
.gallery img:hover { transform: translateY(-8px) scale(1.02); }
.gal-btn {
  position: absolute; top: 45%; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s;
}
.gal-btn:hover { background: var(--coral); color: #fff; }
.gal-btn.prev { left: 20px; } .gal-btn.next { right: 20px; }

/* ---------- demo ---------- */
.demo { background: linear-gradient(180deg, var(--paper), var(--coral-soft)); }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo-copy h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.demo-copy > p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.demo-form { margin-top: 30px; display: grid; gap: 16px; background: var(--surface); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 9px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; color: var(--muted); }
.seg input[value="exp"]:checked + span { background: var(--red); color: #fff; }
.seg input[value="inc"]:checked + span { background: var(--green); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  font: 500 16px var(--f-body); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  outline: none; transition: border-color .2s; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--coral); }

.demo-panel { background: var(--surface); border-radius: 28px; padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-height: 420px; }
.dp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 14px; overflow: hidden; }
.dp { padding: 14px 8px; text-align: center; color: #fff; }
.dp small { display: block; font-size: 12px; opacity: .9; }
.dp b { font: 700 clamp(15px, 1.8vw, 20px) var(--f-body); font-variant-numeric: tabular-nums; }
.dp.inc { background: #25BE77; } .dp.exp { background: #DD3548; }
.dp.bal { background: var(--paper); color: var(--green); border: 1px solid var(--line); }
.dp.bal small { color: var(--muted); }
.dp.bal.neg { color: var(--red); }
.dp-bar { height: 10px; background: #25BE77; border-radius: 999px; margin: 18px 0 8px; overflow: hidden; opacity: .9; }
.dp-bar i { display: block; height: 100%; width: 0; background: #DD3548; border-radius: 999px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.dp-note { font-size: 14px; color: var(--muted); }
.dp-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.dp-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); animation: pop .4s cubic-bezier(.2,1.4,.4,1) both; }
.dp-list .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--coral-soft); font-size: 18px; }
.dp-list b { font-weight: 600; }
.dp-list small { display: block; color: var(--muted); font-size: 12px; }
.dp-list em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.dp-list em.plus { color: var(--green); }
.dp-list button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; padding: 2px 4px; border-radius: 6px; }
.dp-list button:hover { color: var(--red); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud { text-align: center; padding: 34px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.aud:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.aud > span { font-size: 44px; display: block; }
.aud h3 { font-size: 21px; margin: 14px 0 8px; }
.aud p { color: var(--muted); font-size: 15px; }
.currencies { margin-top: 56px; text-align: center; }
.currencies p { color: var(--muted); }
.currencies b { color: var(--ink); }
.cur-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.cur-list span { font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.cur-list span:hover { background: var(--coral); color: #fff; border-color: var(--coral); transform: translateY(-2px); }

/* ---------- faq ---------- */
.faq { padding-top: 40px; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* ---------- cta ---------- */
.cta { padding: 20px 0 110px; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: radial-gradient(circle at 20% 0%, #F07A67, transparent 55%), linear-gradient(135deg, var(--coral), var(--coral-deep));
  border-radius: 36px; padding: 70px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(255,255,255,.08) 33px 34px);
}
.cta-inner img { border-radius: 24px; background: #fff; padding: 6px; box-shadow: 0 16px 30px -10px rgba(0,0,0,.35); position: relative; }
.cta-inner h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; position: relative; }
.cta-inner p { font-size: 18px; opacity: .9; position: relative; margin-bottom: 10px; }
.cta-inner .store-btn { position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.f-brand p { color: var(--muted); margin-top: 10px; max-width: 360px; }
.f-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; color: var(--muted); align-items: center; }
.f-links a:hover { color: var(--coral); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }

/* ---------- legal / privacy page ---------- */
.legal-hero { padding: 130px 0 50px; background: linear-gradient(180deg, var(--coral-soft), var(--paper)); }
.legal-hero h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 800; }
.legal-hero p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.back-link { display: block; width: max-content; font-weight: 600; font-size: 14px; color: var(--coral); margin-bottom: 22px; }
.back-link:hover { text-decoration: underline; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding-block: 40px 100px; }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px 16px; }
.toc a { font-size: 14px; color: var(--muted); padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--coral); border-color: var(--coral); font-weight: 600; }
.legal { max-width: 760px; }
.legal section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px dashed var(--line); }
.legal section:last-child { border: 0; }
.legal h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.legal h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.legal ul, .legal ol { color: var(--muted); padding-left: 22px; margin: 0 0 14px; line-height: 1.75; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--coral); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal .small { font-size: 14px; }
.lic { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); margin-left: 6px; vertical-align: 2px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 14px; padding: 18px 20px; margin-top: 8px; }
.callout strong { font-family: var(--f-display); font-size: 17px; }
.callout p { margin: 6px 0 0; }
.contact-card { background: var(--coral); border-radius: var(--radius); padding: 30px !important; color: #fff; }
.contact-card h2 { color: #fff; }
.contact-card p { color: rgba(255,255,255,.9); margin: 0; }
.contact-card a { color: #fff; font-weight: 700; text-decoration: underline; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc-title { width: 100%; padding: 0; }
  .toc a { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; }
  .toc a.active { border-color: var(--coral); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-lg { grid-column: span 2; grid-row: auto; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .demo-inner, .faq-inner { grid-template-columns: 1fr; }
  .section-head.left { text-align: center; margin: 0 auto; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 4px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px;
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all .25s;
  }
  .nav-links a { padding: 12px 14px; border-radius: 10px; color: var(--ink); }
  .nav-links a:hover { background: var(--paper); }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.open { background: var(--paper); }
  .nav-cta { margin-left: auto; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .gal-btn { display: none; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 110px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .bento, .audience { grid-template-columns: 1fr; }
  .card-lg { grid-column: auto; }
  .phone { width: 260px; }
  .float-card { transform: scale(.85); }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { display: none; }
  .section { padding: 80px 0; }
  .field-row { grid-template-columns: 1fr; }
  .gallery img { width: 210px; }
  .marquee-track { font-size: 18px; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 18px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 11px; }
  .fc-1 { top: 6%; left: -4%; } .fc-2 { bottom: 8%; right: -4%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dd-chart i { transform: none; }
}
