/* ── Choosr design tokens ─────────────────────────────────────────────
   Matched to the 5.2 App Store screenshots: Plus Jakarta Sans headlines,
   the brand violet, and the app's own category colours. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(assets/plus-jakarta-sans.16759b38.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --brand: #7C6CF6;
  --brand-deep: #6B5CD1;
  --brand-tint: rgba(124, 108, 246, 0.08);
  --indigo: var(--brand-deep);          /* legal pages */

  /* the app's category colours */
  --dating: #FF2D55;
  --pro: #007AFF;
  --social: #AF52DE;
  --general: #D97333;
  --win: #34C759;
  --gold: #F2A618;
  --gold-ink: #B87A00;

  /* ink */
  --ink-1: #0E0E14;
  --ink-2: #4A4A58;
  --ink-3: #8A8A98;
  --line: rgba(14, 14, 20, 0.08);

  /* surfaces */
  --surface: #FFFFFF;
  --surface-soft: #F7F6FB;
  --surface-tinted: rgba(124, 108, 246, 0.06);

  /* shape + depth */
  --r-card: 26px;
  --r-btn: 14px;
  --shadow-soft: 0 1px 2px rgba(14,14,20,.04), 0 12px 32px rgba(14,14,20,.06);
  --shadow-lift: 0 30px 60px rgba(40,26,80,.16);

  /* type */
  --font-display: "Plus Jakarta Sans", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.032em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.026em; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; }
p  { margin: 0; text-wrap: pretty; }
b  { color: var(--ink-1); font-weight: 600; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }
.section { padding: clamp(84px, 11vw, 136px) 0; position: relative; }
.section-soft { background: var(--surface-soft); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin: 20px auto 0; max-width: 600px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--ink-2); }

/* soft colour washes, the same light purple → pink as the store art */
.wash { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wash-hero {
  background:
    radial-gradient(60% 55% at 88% 18%, rgba(124,108,246,.22), transparent 70%),
    radial-gradient(45% 45% at 70% 85%, rgba(255,140,170,.20), transparent 70%),
    radial-gradient(40% 40% at 5% 0%, rgba(255,190,200,.22), transparent 70%);
}
.wash-bulk {
  background:
    radial-gradient(55% 60% at 85% 40%, rgba(175,82,222,.16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(255,170,120,.14), transparent 70%);
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-btn);
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  border: 0; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; border-radius: 12px; }
.btn-dark { background: var(--ink-1); color: white; box-shadow: 0 6px 16px rgba(14,14,20,.18); }
.btn-dark:hover { background: #24242e; }
.btn-ghost { background: transparent; color: var(--ink-1); border: 1px solid rgba(14,14,20,.12); }
.btn-ghost:hover { border-color: rgba(14,14,20,.24); background: rgba(14,14,20,.02); }

.appstore { display: inline-flex; border-radius: 10px; transition: transform .2s ease, filter .2s ease; }
.appstore img { height: 56px; width: auto; }
.appstore:hover { transform: translateY(-1px); filter: drop-shadow(0 12px 22px rgba(14,14,20,.18)); }

/* ── Header ─────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--ink-1); letter-spacing: -0.03em; }
.brand img { box-shadow: 0 4px 12px rgba(14,14,20,.14), 0 0 0 .5px rgba(14,14,20,.06); }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink-1); }
@media (max-width: 820px) { .nav { display: none; } }

/* ── Phone images ───────────────────────────────────────────────────── */
.phone { width: 100%; filter: drop-shadow(0 30px 40px rgba(40,26,80,.18)) drop-shadow(0 6px 10px rgba(40,26,80,.08)); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: clamp(118px, 15vh, 160px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy h1 { margin-top: 20px; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin-top: 26px; max-width: 520px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.hero-note span { display: block; }
.hero-visual { position: relative; height: clamp(520px, 52vw, 660px); }
.hp { position: absolute; will-change: transform; }
.hp-front { width: 58%; right: 4%; top: 0; z-index: 2; }
.hp-back { width: 52%; left: 2%; top: 12%; }
.hp-back .hp-float { rotate: -7deg; }

/* hand-drawn underline under "choosr" */
.hero h1 .line { display: block; }
@media (min-width: 380px) { .hero h1 .line { white-space: nowrap; } }
.hero h1 .accent { position: relative; white-space: nowrap; }
.swoosh { position: absolute; left: 2%; right: 4%; bottom: -0.1em; width: 96%; height: 0.24em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; opacity: .45; vector-effect: non-scaling-stroke; }

/* floating chips around the hero phones */
.fly { position: absolute; z-index: 3; will-change: transform; }
.fly-in { display: inline-block; }
.fly-1 { left: -2%; top: 56%; }
.fly-2 { right: -3%; top: 9%; }
.fly-3 { right: -1%; top: 74%; }
.fly-4 { left: 10%; top: 2%; }
.fly-5 { left: 46%; top: 94%; }
.fchip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 28px rgba(40,26,80,.16), 0 2px 6px rgba(40,26,80,.06);
  padding: 9px 14px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink-1);
  white-space: nowrap;
}
.fchip-win { color: #1f8a3e; }
.dot-ok { width: 20px; height: 20px; border-radius: 50%; background: var(--win); color: white; display: inline-flex; padding: 3px; }
.fchip-cat { background: var(--c); color: white; border-color: transparent; box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 40%, transparent); }
.fchip-cat .ico { width: 15px; height: 15px; display: inline-flex; }
.fchip-badge img { border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(124,108,246,.35); }
.fchip-crown { padding: 11px; }
.fchip-crown .crown { width: 22px; height: 22px; }
.spark { display: inline-flex; width: 26px; height: 26px; color: var(--gold); filter: drop-shadow(0 4px 8px rgba(242,166,24,.4)); }
@media (max-width: 920px) { .fly-1 { left: 0; } .fly-2 { right: 0; } .fly-3 { right: 2%; } }
@media (max-width: 600px) {
  .fly-4, .fly-5 { display: none; }
  .fchip { font-size: 12.5px; padding: 7px 11px; }
  .fly-1 { top: 62%; } .fly-3 { top: 82%; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { height: auto; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin: 8px auto 0; }
}
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-note span { display: inline; }
  .hero-note span + span::before { content: " · "; }
}

/* ── How it works (Pair) ────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.step {
  background: white; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  padding: 30px 28px 28px;
  display: flex; flex-direction: column;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-1); color: white;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  margin-bottom: 20px;
}
.step h3 { font-size: 22px; }
.step > p { margin-top: 8px; font-size: 15.5px; }
.step-art { margin-top: 26px; flex: 1; display: flex; flex-direction: column; justify-content: center;
  background: var(--surface-soft); border-radius: 20px; padding: 22px; min-height: 196px; }

.pair-art { flex-direction: row; align-items: center; justify-content: center; gap: 0; }
.pa { width: 42%; position: relative; }
.pa-lose { rotate: -4deg; }
.pa-win { rotate: 4deg; }
.pa img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 22px rgba(14,14,20,.14); }
.pa-lose img { opacity: .6; filter: saturate(.7); }
.pa-win img { box-shadow: 0 0 0 3px var(--win), 0 12px 28px rgba(52,199,89,.38); }
.pa-mark { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; color: white; display: inline-flex; padding: 4px; box-shadow: 0 4px 10px rgba(14,14,20,.2); }
.pa-ok { background: var(--win); }
.pa-x { background: #FF3B30; }
.pair-art .vs {
  width: 40px; height: 40px; margin: 0 -14px; z-index: 1; border-radius: 50%;
  background: var(--ink-1); color: white; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; box-shadow: 0 0 0 3px var(--surface-soft);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 100px;
  font-weight: 600; font-size: 13.5px; color: var(--c);
  background: white; border: 1px solid var(--line);
}
.cat-chip .ico { width: 14px; height: 14px; }
.cat-chip { transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease; }
.cat-chip.on { background: var(--c); color: white; border-color: transparent; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 40%, transparent); transform: scale(1.04); }
.looks { transition: color .35s ease; }
.looks-label { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.looks { font-weight: 600; font-size: 14.5px; margin-top: 2px; }

.verdict-art { justify-content: flex-start; background: white; border: 1px solid var(--line); }
.verdict-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.says { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.tag-win { font-size: 12.5px; font-weight: 600; color: #1f8a3e; background: rgba(52,199,89,.13); padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.verdict-art p { color: var(--ink-1); font-size: 15px; line-height: 1.5; }

/* ── Feature rows (reasons, tips, bulk) ─────────────────────────────── */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(72px, 10vw, 128px); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h2 { margin-top: 14px; }
.feature-copy .lead { margin-top: 22px; max-width: 520px; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual .phone { max-width: 340px; }
@media (max-width: 900px) {
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; text-align: center; }
  .feature-row.flip .feature-copy { order: 0; }
  .feature-copy .lead { margin-left: auto; margin-right: auto; }
  .feature-visual .phone { max-width: 300px; }
}

.mini-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 520px; }
.mini-list li { padding-left: 18px; position: relative; font-size: 16px; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
@media (max-width: 900px) { .mini-list { margin-left: auto; margin-right: auto; text-align: left; } }

.premium-note {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--gold-ink);
  background: rgba(242,166,24,.10); padding: 9px 14px; border-radius: 12px;
}
.crown { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; display: inline-flex; }

/* ── Bulk ───────────────────────────────────────────────────────────── */
.bulk { isolation: isolate; overflow: hidden; }
.pill-premium {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; letter-spacing: .04em; text-transform: none; font-weight: 700;
  color: var(--gold-ink); background: rgba(242,166,24,.12); padding: 4px 10px 4px 8px; border-radius: 100px;
}
.pill-premium svg { width: 13px; height: 13px; color: var(--gold); }
.bulk-strip { margin-top: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bulk-strip img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; opacity: .55; filter: saturate(.8); box-shadow: 0 4px 10px rgba(14,14,20,.10); }
.bulk-strip img.is-win { opacity: 1; filter: none; box-shadow: 0 0 0 3px white, 0 0 0 6px var(--win), 0 10px 22px rgba(52,199,89,.35); }
.bulk-more { font-size: 13px; font-weight: 600; color: var(--ink-3); padding-left: 4px; }
@media (max-width: 900px) { .bulk-strip { justify-content: center; } }
@media (max-width: 420px) { .bulk-strip img { width: 50px; } }

/* ── Categories ─────────────────────────────────────────────────────── */
.cats-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .cats-layout { grid-template-columns: 1fr; } .cats-phone { display: none; } }
@media (max-width: 640px) { .cats { grid-template-columns: 1fr; } }
.cat {
  background: white; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft); padding: 26px;
  position: relative; overflow: hidden;
}
.cat::after {
  content: ""; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--c); opacity: .08; pointer-events: none;
}
.cat-top { display: flex; align-items: center; gap: 14px; }
.cat-ico { width: 44px; height: 44px; border-radius: 13px; background: var(--c); color: white; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-ico svg { width: 22px; height: 22px; }
.cat-for { font-size: 14px; color: var(--ink-3); margin-top: 1px; }
.cat-headline { margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink-1); letter-spacing: -0.012em; }
.cat-looks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-looks li { font-size: 12.5px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 9%, white); padding: 5px 10px; border-radius: 100px; }

/* ── Background tiles ───────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .tiles { grid-template-columns: 1fr; } }
.tile { background: white; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-soft); }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand-deep); margin-bottom: 20px; }
.tile-ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 19px; }
.tile p { margin-top: 8px; font-size: 15px; }

/* ── Pricing ────────────────────────────────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 560px; } }
.pricing > *, .plans > * { min-width: 0; }
.compare-table { background: white; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); padding: 14px 28px 18px; }
.ct-row { display: grid; grid-template-columns: 1.6fr .9fr 1fr; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.ct-row:first-child { border-top: 0; }
.ct-row > span:first-child { color: var(--ink-1); font-weight: 500; }
.ct-head { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 2px solid var(--ink-1); }
.ct-head .ct-pro { color: var(--ink-1); display: inline-flex; align-items: center; gap: 6px; }
.ct-free { color: var(--ink-3); }
.ct-pro { color: var(--ink-1); font-weight: 700; }
.ct-free, .ct-pro { text-align: center; justify-self: center; }
.ct-head .ct-pro { justify-self: center; }
.ct-head > span:nth-child(2) { text-align: center; }
.yes, .no { display: inline-flex; width: 22px; height: 22px; }
.yes { color: var(--win); }
.no { color: var(--ink-3); opacity: .6; }
@media (max-width: 480px) {
  .compare-table { padding: 8px 16px 12px; }
  .ct-row { font-size: 14px; gap: 8px; grid-template-columns: 1.5fr .8fr 1fr; }
  .ct-head { font-size: 14.5px; }
  .plans { gap: 10px; }
  .plan { padding: 22px 16px 18px; }
  .plan-price { font-size: 27px; }
  .plan-price span { font-size: 13px; }
  .plan-tag { right: 10px; }
}

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.plan {
  background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px;
  box-shadow: var(--shadow-soft); position: relative;
}
.plan-best { border: 2px solid var(--ink-1); }
.plan-tag {
  position: absolute; top: -12px; right: 16px;
  font-size: 12px; font-weight: 700; color: white; background: var(--ink-1);
  padding: 4px 10px; border-radius: 100px;
}
.plan h3 { font-size: 17px; }
.plan-price { margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--ink-1); letter-spacing: -0.02em; line-height: 1.1; }
.plan-price span { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.plan-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.plans-foot { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; padding: 6px 4px 0; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .25s ease; }
.faq-item.open { box-shadow: var(--shadow-soft); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 21px 24px; width: 100%;
  background: transparent; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-1);
  letter-spacing: -0.008em;
}
.faq-q .chev { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-soft); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease, background .25s ease; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(45deg); background: var(--ink-1); color: white; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; font-size: 15.5px; max-width: 660px; }
.faq-more { text-align: center; margin-top: 32px; font-size: 15px; color: var(--ink-3); }
.faq-more a { color: var(--brand-deep); font-weight: 600; }

/* ── Final CTA ──────────────────────────────────────────────────────── */
.final-wrap { padding: clamp(72px, 10vw, 120px) 28px 0; }
.final {
  max-width: 1124px; margin: 0 auto;
  position: relative; overflow: hidden;
  border-radius: 36px; color: white;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255,150,190,.55), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(80,60,200,.65), transparent 60%),
    linear-gradient(135deg, #6B5CD1 0%, #8B6CF0 55%, #A97BE6 100%);
  padding: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.final-icon { width: 76px; height: 76px; border-radius: 18px; background: white; box-shadow: 0 16px 32px rgba(20,10,60,.28); margin-bottom: 26px; }
.final h2 { color: white; font-size: clamp(36px, 5vw, 60px); }
.final p { color: rgba(255,255,255,.86); font-size: 18.5px; margin: 18px 0 30px; }
.final .appstore:hover { filter: drop-shadow(0 14px 28px rgba(0,0,0,.24)); }
.final-qr { text-align: center; }
.qr-card { background: white; padding: 18px; border-radius: 24px; box-shadow: 0 20px 40px rgba(20,10,60,.25); }
.qr-card img { width: 148px; height: 148px; }
.final-qr p { font-size: 14px; margin: 14px 0 0; color: rgba(255,255,255,.8); }
@media (max-width: 860px) {
  .final { grid-template-columns: 1fr; text-align: center; }
  .final-icon, .final .appstore { margin-left: auto; margin-right: auto; }
  .final-qr { display: none; }   /* on a phone, the badge is the way in */
}
@media (max-width: 600px) { .final-wrap { padding-left: 16px; padding-right: 16px; } .final { border-radius: 28px; padding: 44px 24px; } }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { padding: 64px 0 36px; margin-top: clamp(72px, 10vw, 112px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 15px; }
.footer ul a:hover { color: var(--ink-1); }
.footer-tag { color: var(--ink-2); font-size: 15px; max-width: 280px; margin-top: 12px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }

/* ── Scroll reveal ──────────────────────────────────────────────────── */
/* Hidden only when JS is running — without it the prerendered HTML must stay
   visible, so the hidden state is gated behind the html.js flag set in <head>. */
html.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Motion ─────────────────────────────────────────────────────────
   Everything here runs only under html.js. The un-animated defaults above
   are the final state, so the page reads the same without JS, and
   prefers-reduced-motion switches it all off (bottom of this block). */

/* scroll progress */
.progress {
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brand), #E07BC5, var(--general));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* staggered reveals */
html.js .reveal { transition-delay: calc(var(--d, 0) * 90ms); }

/* hero entrance */
html.js .hero h1 .line { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
html.js .hero h1 .line + .line { animation-delay: .12s; }
html.js .hero .eyebrow { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
html.js .hero .lead { animation: rise .9s .24s cubic-bezier(.2,.8,.2,1) both; }
html.js .hero-ctas { animation: rise .9s .34s cubic-bezier(.2,.8,.2,1) both; }
html.js .swoosh path { stroke-dasharray: 1; animation: draw .9s .75s cubic-bezier(.6,0,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

html.js .hp-back .phone  { animation: inBack 1.2s .1s cubic-bezier(.2,.8,.2,1) both; }
html.js .hp-front .phone { animation: inFront 1.2s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes inBack  { from { opacity: 0; transform: translate(-70px, 90px) rotate(-12deg) scale(.88); } }
@keyframes inFront { from { opacity: 0; transform: translate(90px, 140px) rotate(12deg) scale(.9); } }
html.js .hp-float { animation: bob 6s ease-in-out infinite; }
html.js .hp-back .hp-float { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

html.js .fly-in { animation: pop .7s cubic-bezier(.3,1.6,.5,1) both, drift 5s ease-in-out infinite; }
html.js .fly-1 .fly-in { animation-delay: 1.05s, 1.75s; }
html.js .fly-2 .fly-in { animation-delay: 1.25s, 1.95s; animation-duration: .7s, 6s; }
html.js .fly-3 .fly-in { animation-delay: 1.45s, 2.15s; animation-duration: .7s, 5.5s; }
html.js .fly-4 .fly-in { animation-delay: 1.65s, 2.35s; animation-duration: .7s, 7s; }
html.js .fly-5 .fly-in { animation-delay: 1.85s, 2.55s; animation-duration: .7s, 4.5s; }
@keyframes pop { 0% { opacity: 0; transform: scale(.3) translateY(24px) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 33% { translate: 6px -10px; rotate: 2deg; } 66% { translate: -5px -4px; rotate: -2deg; } }
html.js .spark svg { animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(40deg); opacity: .5; } }

/* step 1: the two photos fly in, VS pops, the winner is picked */
html.js .step.in .pa-lose img { animation: inLeft .8s .25s cubic-bezier(.2,.8,.2,1) both, dim .5s 1.5s ease forwards; }
html.js .step.in .pa-win img  { animation: inRight .8s .35s cubic-bezier(.2,.8,.2,1) both, ring .5s 1.5s ease both; }
html.js .step.in .vs          { animation: vsPop .6s .9s cubic-bezier(.3,1.7,.5,1) both; }
html.js .step.in .pa-mark     { animation: markPop .5s 1.7s cubic-bezier(.3,1.8,.5,1) both; }
html.js .step .pa-lose img { opacity: 1; filter: none; }
@keyframes inLeft  { from { opacity: 0; transform: translate(-60px, 10px) rotate(-16deg); } }
@keyframes inRight { from { opacity: 0; transform: translate(60px, 10px) rotate(16deg); } }
@keyframes dim  { to { opacity: .6; filter: saturate(.7); } }
@keyframes ring { from { box-shadow: 0 0 0 0 var(--win), 0 10px 22px rgba(14,14,20,.14); } }
@keyframes vsPop { from { opacity: 0; transform: scale(0) rotate(-90deg); } }
@keyframes markPop { from { opacity: 0; transform: scale(0); } }

/* step 3: the verdict types itself, then the tag pops */
.type.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--brand); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
html.js .verdict-art .tag-win { transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.8,.5,1); }
html.js .verdict-art:not(.done) .tag-win { opacity: 0; transform: scale(.5); }

/* bulk: a scan runs across the set and stops on the winner */
html.js .bulk-strip img.is-win { opacity: .55; filter: saturate(.8); box-shadow: 0 4px 10px rgba(14,14,20,.10); }
html.js .feature-row.in .bulk-strip img { animation: scan .55s calc(.5s + var(--i) * .17s) ease-in-out; }
html.js .feature-row.in .bulk-strip img.is-win {
  animation: scan .55s calc(.5s + var(--i) * .17s) ease-in-out, pick .7s 1.5s cubic-bezier(.3,1.6,.5,1) forwards;
}
@keyframes scan { 50% { opacity: 1; filter: none; transform: translateY(-8px) scale(1.1); } }
@keyframes pick { to { opacity: 1; filter: none; transform: scale(1.08); box-shadow: 0 0 0 3px white, 0 0 0 6px var(--win), 0 12px 24px rgba(52,199,89,.4); } }

/* tiles: the icon bounces in */
html.js .tile.in .tile-ico { animation: markPop .6s calc(.25s + var(--d, 0) * 90ms) cubic-bezier(.3,1.8,.5,1) both; }

/* category cards tilt toward the pointer (set from the page script); icons wiggle on hover */
.tilt { transform-style: preserve-3d; }
.cat:hover .cat-ico svg { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(9deg); } }

/* pricing: the badge nudges once */
html.js .pricing.in .plan-tag { animation: nudge .9s 1s ease both; }
@keyframes nudge { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 55% { opacity: 1; transform: rotate(-6deg) scale(1.12); } 80% { transform: rotate(3deg); } 100% { transform: none; } }

/* final CTA: icons drift up through the card, the app icon floats */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pt { position: absolute; bottom: -40px; width: 26px; height: 26px; color: rgba(255,255,255,.5); opacity: 0; }
.pt svg { width: 100%; height: 100%; }
html.js .pt { animation: floatUp 11s linear infinite; }
.pt-1 { left: 6%;  animation-delay: 0s !important; }
.pt-2 { left: 18%; width: 18px; height: 18px; animation-delay: -3s !important; animation-duration: 9s !important; }
.pt-3 { left: 34%; animation-delay: -6s !important; }
.pt-4 { left: 52%; width: 20px; height: 20px; animation-delay: -1.5s !important; animation-duration: 13s !important; }
.pt-5 { left: 66%; width: 30px; height: 30px; animation-delay: -8s !important; }
.pt-6 { left: 78%; width: 16px; height: 16px; animation-delay: -4.5s !important; animation-duration: 8s !important; }
.pt-7 { left: 88%; animation-delay: -9.5s !important; animation-duration: 12s !important; }
.pt-8 { left: 95%; width: 18px; height: 18px; animation-delay: -2.5s !important; }
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) rotate(0); }
  10%  { opacity: 1; }
  85%  { opacity: .8; }
  100% { opacity: 0; transform: translateY(-560px) rotate(200deg); }
}
.final-copy, .final-qr { position: relative; }
html.js .final-icon { animation: bob 5s ease-in-out infinite; }
html.js .qr-card { animation: bob 6.5s -1s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .bulk-strip img.is-win { opacity: 1; filter: none; box-shadow: 0 0 0 3px white, 0 0 0 6px var(--win), 0 10px 22px rgba(52,199,89,.35); }
  html.js .step .pa-lose img { opacity: .6; filter: saturate(.7); }
  .pt { display: none; }
}

/* ── Legal pages (privacy, terms, support) ─────────────────────────── */
.legal-page { background: var(--surface); min-height: 100vh; }
.legal-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  position: sticky; top: 0; z-index: 50;
}
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-hero {
  padding: clamp(56px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(124,108,246,.12), transparent 70%),
    radial-gradient(40% 70% at 10% 0%, rgba(255,160,185,.12), transparent 70%);
}
.legal-hero h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.03em; }
.legal-hero .meta {
  margin-top: 16px;
  font-size: 14.5px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap; justify-content: center;
}
.legal-hero .meta .sep { color: rgba(14,14,20,0.18); }

.legal-body {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 28px clamp(60px, 8vw, 96px);
  color: var(--ink-1);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal-body h2 { font-size: 26px; margin: 56px 0 14px; letter-spacing: -0.015em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 32px 0 10px; letter-spacing: -0.015em; color: var(--ink-1); }
.legal-body p { color: var(--ink-2); margin: 14px 0; }
.legal-body ul, .legal-body ol { color: var(--ink-2); padding-left: 22px; margin: 14px 0; }
.legal-body li { margin: 8px 0; }
.legal-body strong { color: var(--ink-1); font-weight: 600; }
.legal-body a {
  color: var(--indigo);
  border-bottom: 1px solid rgba(107, 92, 209, 0.24);
  transition: border-color .15s;
}
.legal-body a:hover { border-bottom-color: var(--indigo); }
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-1);
}
.legal-body .callout {
  margin: 24px 0;
  padding: 20px 22px;
  background: var(--surface-tinted);
  border-left: 3px solid var(--indigo);
  border-radius: 8px;
  color: var(--ink-1);
  font-size: 15.5px;
  line-height: 1.6;
}
.legal-body .callout strong { display: block; margin-bottom: 4px; }
.legal-body .toc {
  margin: 28px 0 48px;
  padding: 18px 22px;
  background: var(--surface-soft);
  border-radius: 12px;
  font-size: 14.5px;
}
.legal-body .toc-title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-size: 11.5px;
  margin-bottom: 10px;
}
.legal-body .toc ol { margin: 0; padding-left: 22px; color: var(--ink-2); }
.legal-body .toc li { margin: 4px 0; }
