/* ---------- Tokens (light) ---------- */
:root {
  --bg:            #F4F1EA;
  --surface:       #FFFFFF;
  --surface-hi:    #F8F6F1;
  --surface-band:  #ECE8DF;
  --border:        rgba(15,20,30,0.08);
  --border-strong: rgba(15,20,30,0.16);

  --brand:         #1FB58F;
  --brand-2:       #26C6A2;
  --brand-deep:    #0E8A6E;
  --brand-glow:    rgba(38,198,162,0.28);

  --text:          #0F1722;
  --text-dim:      #4A5563;
  --text-mute:     #7A8493;

  --red:           #E5412E;
  --green:         #2F9F66;
  --amber:         #C98C12;

  --hero-grad-top: #BFE9DA;
  --hero-grad-mid: #D9EFE6;
  --hero-grad-bot: #F4F1EA;

  --max-w: 1180px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 16px;
}
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; line-height: 1.3; }
p  { margin: 0 0 16px; color: var(--text-dim); text-wrap: pretty; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px var(--brand-glow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-2); box-shadow: 0 14px 30px -8px var(--brand-glow); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--text); background: rgba(38,198,162,0.06); }

/* Store badges — Play + App Store, identical box dimensions */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #0F1722;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  border: 1px solid #0F1722;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-sizing: border-box;
}
.store-badge:hover {
  transform: translateY(-2px);
  background: #1a2433;
  border-color: #1a2433;
  box-shadow: 0 14px 30px -10px rgba(15,23,34,0.3);
  color: #fff;
}
.store-glyph { width: 24px; height: 26px; flex-shrink: 0; }
.store-mark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; white-space: nowrap; }
.store-mark .small { font-size: 10px; color: #B8C0CC; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.store-mark .big   { font-size: 17px; font-weight: 700; margin-top: 3px; letter-spacing: -0.01em; white-space: nowrap; }

.store-badge-wrap { display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; }
.store-badge-wrap .store-caption { text-align: center; }
.store-caption-spacer { visibility: hidden; }
.store-badge-disabled {
  background: #FFFFFF;
  color: #0F1722;
  border-color: var(--border-strong);
  cursor: not-allowed;
  opacity: 0.78;
  pointer-events: none;
}
.store-badge-disabled .store-mark .small { color: var(--text-mute); }
.store-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(244,241,234,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(244,241,234,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-mark { color: var(--brand-deep); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); align-items: center; justify-content: center; background: var(--surface); }
.nav-toggle svg { width: 18px; height: 18px; stroke: var(--text); }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 16px; right: 16px; top: 76px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; box-shadow: 0 20px 40px -20px rgba(15,23,34,0.18);
  }
  .nav.is-open .nav-links a { display: block; width: 100%; padding: 10px 8px; border-radius: 8px; color: var(--text); }
  .nav.is-open .nav-cta { display: inline-flex; position: absolute; left: 16px; right: 16px; top: calc(76px + 240px); }
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
  background:
    radial-gradient(70% 60% at 20% 10%, rgba(50,217,180,0.18), transparent 70%),
    radial-gradient(60% 50% at 80% 0%, rgba(31,181,143,0.14), transparent 70%),
    linear-gradient(180deg, #E6F2EC 0%, var(--bg) 70%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,34,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,34,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(38,198,162,0.12);
  border: 1px solid rgba(38,198,162,0.32);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--brand-deep);
  margin-bottom: 24px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(38,198,162,0.20); }
.hero h1 .accent { background: linear-gradient(135deg, #1FB58F 0%, #0E8A6E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.hero-ghost { margin-bottom: 0; }
.hero-meta { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; color: var(--text-mute); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 14px; height: 14px; stroke: var(--brand-deep); }

/* ---------- Phone prototype ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  aspect-ratio: 360 / 740;
  background: #0F1722;
  border-radius: 44px;
  border: 1px solid rgba(15,23,34,0.2);
  box-shadow:
    0 0 0 8px #1a2433,
    0 50px 80px -30px rgba(15,23,34,0.35),
    0 0 80px -20px var(--brand-glow);
  padding: 10px;
  overflow: hidden;
}
.phone::before {
  content: ""; position: absolute;
  top: 14px; left: 50%; width: 90px; height: 22px;
  background: #0F1722; border-radius: 12px;
  transform: translateX(-50%); z-index: 30;
}
.phone-status {
  position: absolute; top: 16px; left: 26px; right: 26px;
  z-index: 31;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; color: #0F1722;
  pointer-events: none;
}
.phone-status .status-icons { display: inline-flex; gap: 6px; align-items: center; }
.phone-screen {
  width: 100%; height: 100%;
  background: #F1EEE7;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  color: #0F1722;
  font-family: var(--font-sans);
  font-size: 13px;
}
@media (max-width: 980px) { .phone { margin: 0 auto; max-width: 320px; } }

.scr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #F1EEE7;
  opacity: 0; visibility: hidden;
  transform: translateX(20px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  padding-top: 38px;
}
.scr.is-active { opacity: 1; visibility: visible; transform: none; }
.scr-top {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 8px 16px 10px;
}
.scr-top .brand-mini {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  grid-column: 1;
}
.scr-detail .scr-top .brand-mini { grid-column: 2; justify-content: center; }
.scr-top .brand-mini img { width: 22px; height: 22px; border-radius: 5px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #0F1722; background: transparent;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(15,23,34,0.06); }

.scr-scroll {
  flex: 1; overflow-y: auto;
  padding: 8px 14px 24px;
  scrollbar-width: thin;
}
.scr-scroll::-webkit-scrollbar { width: 4px; }
.scr-scroll::-webkit-scrollbar-thumb { background: rgba(15,23,34,0.15); border-radius: 4px; }

.hero-card {
  background: linear-gradient(155deg, #2DD2A8 0%, #0E8A6E 100%);
  border-radius: 18px;
  padding: 18px 18px 20px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -14px rgba(14,138,110,0.6);
}
.hero-card-label { font-size: 10px; letter-spacing: 0.14em; opacity: 0.85; font-weight: 600; }
.hero-card-num { font-size: 44px; font-weight: 800; line-height: 1.05; margin-top: 4px; letter-spacing: -0.02em; }
.hero-card-sub { font-size: 12px; opacity: 0.92; margin-top: 4px; }

.group-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-mute);
  margin: 14px 4px 8px;
  font-weight: 600;
}
.group-label em { font-style: normal; color: var(--text); margin-left: auto; font-family: var(--font-sans); font-weight: 700; }
.group-label .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #2F9F66; }
.dot-red   { background: #E5412E; }
.dot-amber { background: #F5B13A; }

.mandate {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mandate:hover { transform: translateY(-1px); border-color: rgba(15,23,34,0.16); box-shadow: 0 6px 14px -10px rgba(15,23,34,0.18); }
.mandate:active { transform: translateY(0); }
.vlogo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 4px 10px -6px rgba(15,23,34,0.25);
  overflow: hidden;
}
.vlogo svg { width: 70%; height: 70%; display: block; }
.vlogo-streamly { background: linear-gradient(135deg, #FF6B6B 0%, #C9184A 60%, #7A0E2F 100%); }
.vlogo-tunebox  { background: linear-gradient(135deg, #8B7CF6 0%, #4F3BC5 55%, #2E1F8C 100%); }
.vlogo-fitloop  { background: linear-gradient(135deg, #FFB266 0%, #FF7A1F 55%, #C13B00 100%); }
.vlogo-loanco   { background: linear-gradient(135deg, #2E78D9 0%, #1A4F9E 55%, #0A2C5A 100%); }
.vlogo-unknown  { background: repeating-linear-gradient(135deg, #E6E0D2 0 6px, #D8D0BE 6px 12px); color: #0F1722; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 10px -6px rgba(15,23,34,0.18); }
.vlogo-lg { width: 56px; height: 56px; font-size: 22px; border-radius: 14px; }

.vinfo { min-width: 0; }
.vrow1 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-weight: 700; font-size: 14px;
}
.vname { color: #0F1722; }
.vamt  { color: #0F1722; font-feature-settings: "tnum"; }
.vrow2 {
  font-size: 11px; color: var(--text-mute);
  margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: #ECE8DF;
  color: #4A5563;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
}
.chip-loan  { background: #FFE4E0; color: #C0392B; }
.chip-amber { background: #FFF1D6; color: #B47A0F; }

.scr-foot-note {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Detail screen */
.det-head {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 10px;
}
.det-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.det-via  { font-size: 12px; color: var(--text-mute); }
.det-amt {
  font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  margin-top: 6px;
  font-feature-settings: "tnum";
}
.det-amt-sub { font-size: 12px; color: var(--text-mute); margin-top: 4px; margin-bottom: 16px; }
.det-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.det-grid > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
}
.det-grid > div:last-child { border-bottom: 0; }
.det-grid > div span { color: var(--text-mute); }
.det-grid > div b { font-weight: 700; color: #0F1722; }

.det-section-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-mute); font-weight: 600;
  margin: 18px 4px 8px;
}
.act-row {
  display: grid; grid-template-columns: 14px 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.act-row:last-of-type { border-bottom: 0; }
.act-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-left: 3px; }
.act-dot-mute { background: #B8C0CC; }
.act-info > div:first-child { font-weight: 600; }
.act-sub { font-size: 11px; color: var(--text-mute); margin-top: 1px; }
.act-amt { font-weight: 700; font-size: 13px; font-feature-settings: "tnum"; }

.det-cancel {
  width: 100%;
  background: #E5412E;
  color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 14px;
  border-radius: 12px;
  margin-top: 20px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.det-cancel:hover { background: #d33a28; }
.det-cancel:active { transform: translateY(1px); }
.det-foot { font-size: 11px; color: var(--text-mute); text-align: center; margin-top: 10px; line-height: 1.5; }

/* Done screen */
.scr-done .done-wrap {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 28px; text-align: center;
  height: 100%;
}
.done-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px -12px rgba(38,198,162,0.6);
}
.done-circle svg { width: 36px; height: 36px; }
.done-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.done-sub { font-size: 13px; color: var(--text-dim); line-height: 1.5; max-width: 240px; }
.done-back {
  margin-top: 24px;
  background: #0F1722; color: #fff;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 13px;
  cursor: pointer;
}
.done-back:hover { background: #1a2433; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 18px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .stats { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(15,23,34,0.02);
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 14px 30px -16px rgba(15,23,34,0.12); }
.stat-num { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-deep); line-height: 1; margin-bottom: 12px; font-feature-settings: "tnum"; }
.stat-card p { margin: 0; color: var(--text); font-size: 15px; }
.stat-card .cite { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.04em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); border-color: rgba(38,198,162,0.45); box-shadow: 0 14px 30px -16px var(--brand-glow); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(38,198,162,0.12);
  border: 1px solid rgba(38,198,162,0.30);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--brand-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(38,198,162,0.06), transparent 70%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--brand-deep); letter-spacing: 0.04em; }
.step-num::before { content: "STEP "; color: var(--text-mute); }
.step h3 { font-size: 56px; font-weight: 700; margin: 8px 0 16px; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; }

.privacy-band {
  background: var(--surface-band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.privacy-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 50%, rgba(38,198,162,0.14), transparent 60%); pointer-events: none; }
.privacy-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .privacy-grid { grid-template-columns: 1fr; gap: 32px; } }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  color: var(--text);
}
.privacy-list svg { width: 20px; height: 20px; stroke: var(--brand-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.privacy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 600; }
.privacy-link::after { content: "→"; transition: transform .2s ease; }
.privacy-link:hover::after { transform: translateX(4px); }

.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: 0 8px 20px -16px rgba(15,23,34,0.18); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--text-dim); transition: transform .25s ease; font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand-deep); }
.faq details > p { margin: 0; padding: 0 0 22px; color: var(--text-dim); font-size: 15px; max-width: 700px; }

.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 32px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(50,217,180,0.22), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F2EFE7 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,23,34,0.18);
}
.final-cta-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(38,198,162,0.55), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.final-cta p { font-size: 17px; margin-bottom: 32px; }
.final-ctas { justify-content: center; }

.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: #ECE8DF; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { font-size: 14px; max-width: 320px; margin-top: 12px; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); margin: 0 0 16px; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: 14px; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-mute);
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.flag {
  display: inline-block; width: 16px; height: 11px; border-radius: 2px;
  background: linear-gradient(to bottom, #FF9933 0 33%, #fff 33% 66%, #138808 66%);
  position: relative;
}
.flag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; border: 0.5px solid #000080; transform: translate(-50%, -50%); }

.subpage { padding: 80px 0 96px; min-height: 60vh; }
.subpage h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 16px; }
.subpage .lede { font-size: 18px; max-width: 720px; }
.subpage-card {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px clamp(24px, 4vw, 56px);
  max-width: 860px;
  box-shadow: 0 1px 0 rgba(15,23,34,0.02);
}
.subpage-card p { color: var(--text-dim); margin: 0 0 16px; line-height: 1.7; }
.subpage-card h2 { font-size: 24px; margin: 40px 0 16px; letter-spacing: -0.01em; color: var(--text); }
.subpage-card h2:first-child { margin-top: 0; }
.subpage-card h3 { font-size: 17px; margin: 28px 0 10px; color: var(--text); font-weight: 700; }
.subpage-card ul, .subpage-card ol { color: var(--text-dim); padding-left: 22px; margin: 0 0 16px; line-height: 1.7; }
.subpage-card li { margin-bottom: 6px; }
.subpage-card li::marker { color: var(--brand-deep); }
.subpage-card a { color: var(--brand-deep); }
.subpage-card strong { color: var(--text); font-weight: 700; }
.subpage-card hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.subpage-card table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.subpage-card th, .subpage-card td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-dim); }
.subpage-card th { font-weight: 700; color: var(--text); background: rgba(31,181,143,0.06); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.subpage-card .meta-row { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.subpage-card .callout { background: rgba(31,181,143,0.08); border-left: 3px solid var(--brand); padding: 16px 20px; border-radius: 6px; margin: 0 0 24px; }
.subpage-card .callout p:last-child { margin-bottom: 0; }
.subpage-toc { position: sticky; top: 92px; font-size: 13px; max-width: 220px; }
.subpage-toc h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin: 0 0 12px; }
.subpage-toc ol { list-style: none; padding: 0; margin: 0; }
.subpage-toc li { margin: 0; }
.subpage-toc a { display: block; padding: 6px 0; color: var(--text-dim); text-decoration: none; border-left: 2px solid transparent; padding-left: 10px; margin-left: -10px; line-height: 1.4; }
.subpage-toc a:hover { color: var(--brand-deep); border-left-color: var(--brand); }
.subpage-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; margin-top: 40px; }
@media (max-width: 900px) { .subpage-layout { grid-template-columns: 1fr; } .subpage-toc { position: static; max-width: none; } }
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: 0 1px 0 rgba(15,23,34,0.02);
}
.subpage-card p { color: var(--text-dim); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px;
  background: var(--brand); color: #fff;
  padding: 8px 14px; border-radius: 8px;
  z-index: 100; font-weight: 600;
}
