/* Platia landing — tokens follow docs/DESIGN_SYSTEM.md §2–§4. Change values here only. */

:root {
  /* brand + status fills (theme-invariant) */
  --primary: #0ECF3B;
  --primary-pressed: #0D7C3E;
  --brand-navy: #163A5F;
  --brand-ink: #071D31;
  --brand-amber: #FFAE00;

  /* theme primitives (light) */
  --background: #F6FBF8;
  --card: #FFFFFF;
  --surface-alt: #F0F4F2;
  --border: #E4ECE7;
  --line-strong: #DDE8E4;
  --foreground: #071D31;
  --muted-foreground: #5F6F84;
  --text-tertiary: #8B95A5;
  --success-text: #15803D;
  --pending-text: #C2410C;
  --destructive: #DC2626;
  --green-text: #0D7C3E;
  --link: var(--brand-navy);
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 12px 24px rgba(0, 0, 0, 0.06);

  /* §2.5 alphas — tint is 12.5% everywhere */
  --primary-tint: color-mix(in oklab, var(--primary) 12.5%, transparent);
  --amber-tint: color-mix(in oklab, var(--brand-amber) 12.5%, transparent);
  --navy-tint: color-mix(in oklab, var(--brand-navy) 12.5%, transparent);
  --primary-halo: color-mix(in oklab, var(--primary) 20%, transparent);

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-action: "Plus Jakarta Sans", system-ui, sans-serif;

  /* radius §4.2 (px, not names) */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-3xl: 28px;

  --gutter: 24px;
  --container: 1152px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0E1512;
    --card: #161E1A;
    --surface-alt: #1E2823;
    --border: #2A3630;
    --line-strong: #38453E;
    --foreground: #EAF2ED;
    --muted-foreground: #A4B2AA;
    --text-tertiary: #7E8C85;
    --success-text: #4ADE80;
    --pending-text: #FB923C;
    --destructive: #F87171;
    --green-text: #4ADE80;
    --link: #EAF2ED;
    --navy-tint: color-mix(in oklab, #EAF2ED 12.5%, transparent);
    --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.18);
    --shadow-card: 0 12px 24px rgba(0, 0, 0, 0.20);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--primary-halo);
  border-radius: var(--radius-xs);
}

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--primary); color: var(--brand-navy);
  font-family: var(--font-action); font-weight: 800;
  padding: 12px 16px; border-radius: var(--radius-lg);
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-16 { width: 16px; height: 16px; }
.icon-22 { width: 22px; height: 22px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.amount { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- buttons §7.1 / §7.2 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px;
  border-radius: var(--radius-lg); border: 0;
  font-family: var(--font-action); font-weight: 800; font-size: 16px; line-height: 1;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 100ms ease-out;
}
.btn .icon { flex-shrink: 0; }
.btn-lg { min-height: 64px; padding: 0 28px; font-size: 18px; }
.btn-primary { background: var(--primary); color: var(--brand-navy); }
.btn-primary:hover, .btn-primary:active { background: var(--primary-pressed); color: #FFFFFF; }
.btn-secondary { background: var(--card); color: var(--link); box-shadow: inset 0 0 0 2px var(--primary); }
.btn-secondary:hover { background: var(--surface-alt); }
.btn-navy { background: var(--brand-navy); color: #FFFFFF; }
.btn-navy:hover { background: var(--brand-ink); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--link); font-weight: 700; font-size: 14px; line-height: 1.3;
  text-underline-offset: 3px;
}

/* ---------- nav ---------- */
.site-nav { border-bottom: 1px solid var(--border); background: var(--background); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-nav .logo img { width: 96px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; color: var(--foreground); }
.nav-links a:not(.btn):hover { color: var(--green-text); }

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; }
.section-surface { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: 0.4px; color: var(--green-text); margin-bottom: 16px; }
.h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.6px; }
.lead { font-size: 17px; line-height: 1.5; color: var(--muted-foreground); margin-top: 16px; }
.split { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.split-wide { grid-template-columns: 440px 1fr; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; }
.hero .container { display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 9999px; background: var(--primary-tint); color: var(--green-text);
  font-size: 13px; font-weight: 700; line-height: 1.2;
}
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -1.2px; margin-top: 24px; }
.hero .subhead { font-size: 18px; line-height: 1.5; color: var(--muted-foreground); margin-top: 24px; max-width: 60ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { margin-top: 24px; display: grid; gap: 8px; }
.hero-notes li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--muted-foreground); }

.hero-visual { position: relative; height: 560px; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 460px; height: 520px;
  border-radius: var(--radius-3xl); object-fit: cover; background: var(--surface-alt);
}
.ops-card {
  position: absolute; left: 0; top: 268px; width: 360px; margin: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.ops-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.ops-head h2 { font-size: 18px; line-height: 1.3; }
.meta { font-size: 13px; line-height: 1.35; color: var(--muted-foreground); }
.ops-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; }
.ops-row + .ops-row { border-top: 1px solid var(--border); }
.chip {
  width: 40px; height: 40px; flex: none; border-radius: 9999px;
  display: grid; place-items: center;
}
.chip-navy { background: var(--navy-tint); color: var(--link); }
.chip-green { background: var(--primary-tint); color: var(--green-text); width: 44px; height: 44px; }
.ops-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ops-text strong { font-weight: 700; line-height: 1.2; }
.ops-amount { display: grid; gap: 4px; justify-items: end; }
.ops-amount .amount { font-size: 16px; line-height: 1.2; }
.status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; line-height: 1; }
.status .icon { width: 14px; height: 14px; }
.status-success { color: var(--success-text); }
.status-pending { color: var(--pending-text); }
.receipt-chip {
  position: absolute; right: 16px; top: 40px;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--brand-navy); color: #FFFFFF; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.receipt-chip .chip { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.receipt-chip strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.receipt-chip span { font-size: 13px; line-height: 1.2; color: rgba(255, 255, 255, 0.65); }
@media (prefers-color-scheme: dark) { .receipt-chip { border: 1px solid var(--line-strong); } }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.feature { display: grid; gap: 14px; align-content: start; padding: 32px 0; }
.feature:nth-child(-n+2) { padding-top: 0; border-bottom: 1px solid var(--border); }
.feature:nth-child(n+3) { padding-bottom: 0; }
.feature h3, .step h3, .fact h3 { font-size: 20px; line-height: 1.3; }
.feature p, .step p { color: var(--muted-foreground); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.step-number { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--green-text); font-variant-numeric: tabular-nums; }

/* ---------- what platia is (navy) ---------- */
.section-navy { background: var(--brand-navy); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { .section-navy { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); } }
.section-navy .kicker { color: var(--brand-amber); }
.section-navy .lead { color: rgba(255, 255, 255, 0.8); }
.fact { display: flex; gap: 16px; padding: 24px 0; }
.fact + .fact { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.fact:first-child { padding-top: 0; }
.fact .chip { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.fact p { color: rgba(255, 255, 255, 0.8); margin-top: 6px; }

/* ---------- costs ---------- */
.promo {
  display: grid; grid-template-columns: 440px 1fr;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-3xl); overflow: hidden;
}
.promo-figure { background: var(--amber-tint); padding: 48px; display: grid; gap: 12px; align-content: center; }
.badge-amber {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: 9999px; background: var(--brand-amber); color: var(--brand-ink);
  font-size: 12px; font-weight: 800; line-height: 1;
}
.promo-figure .amount { color: var(--foreground); font-size: 72px; line-height: 1.05; letter-spacing: -1.5px; }
.promo-figure p { color: var(--muted-foreground); }
.promo-copy { padding: 48px; display: grid; gap: 20px; align-content: start; }
.promo-copy .kicker { margin-bottom: 0; }
.promo-copy .h2 { font-size: 32px; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.checklist .icon { color: var(--success-text); }
.fine-print { font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }

/* ---------- faq ---------- */
.faq details { padding: 22px 0; border-bottom: 1px solid var(--border); }
.faq details:first-child { padding-top: 0; }
.faq details:last-child { border-bottom: 0; padding-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted-foreground); transition: transform 200ms ease-out; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted-foreground); margin-top: 8px; max-width: 70ch; }
.faq details a { color: var(--link); font-weight: 700; }

/* ---------- final cta ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: var(--primary); color: var(--brand-navy);
  border-radius: var(--radius-3xl); padding: 56px 64px;
}
.cta-band .h2 { max-width: 620px; }
.cta-band p { font-size: 17px; line-height: 1.5; margin-top: 12px; }

/* ---------- footer (always dark ink) ---------- */
.site-footer { background: var(--brand-ink); color: #FFFFFF; padding: 72px 0 40px; }
.site-footer .kicker { color: var(--brand-amber); margin-bottom: 20px; }
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eco-card {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-lg);
  text-decoration: none; color: #FFFFFF;
}
a.eco-card:hover { background: rgba(255, 255, 255, 0.05); }
.eco-card .chip { background: rgba(255, 255, 255, 0.10); }
.eco-card div { flex: 1; }
.eco-card strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.3; }
.eco-card span, .eco-card > .icon { color: rgba(255, 255, 255, 0.65); }
.eco-card span { font-size: 13px; line-height: 1.35; }
.footer-main {
  display: grid; grid-template-columns: 1fr 220px 220px; gap: 64px;
  margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-main .logo img { width: 110px; height: auto; }
.legal-id { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); margin-top: 16px; max-width: 60ch; }
.footer-col h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 32px;
  font-size: 14px; font-weight: 700; line-height: 1.3; color: rgba(255, 255, 255, 0.7); text-decoration: none;
}
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; }
.footer-bottom p { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.6); }
.libro-badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; color: #FFFFFF; text-decoration: none;
}
.libro-badge:hover { background: rgba(255, 255, 255, 0.05); }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.store-links { display: flex; gap: 16px; margin-top: 16px; }
.store-links a { font-size: 14px; font-weight: 700; color: #FFFFFF; text-underline-offset: 3px; }

/* ---------- legal pages ---------- */
.legal-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.back-link { margin-bottom: 24px; text-decoration: none; }
.legal-hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.8px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; font-size: 13px; line-height: 1.35; color: var(--muted-foreground); }
.legal-hero .lead { max-width: 60ch; }

.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.toc summary {
  min-height: 44px; display: flex; align-items: center; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 800; line-height: 1.2; color: var(--green-text);
}
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border); }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--muted-foreground); text-decoration: none;
}
.toc a:hover { color: var(--foreground); border-left-color: var(--primary); }

.legal-body { max-width: 72ch; }
.clause { padding-bottom: 40px; scroll-margin-top: 24px; }
.clause + .clause { padding-top: 40px; border-top: 1px solid var(--border); }
.clause-number { font-size: 13px; font-weight: 800; line-height: 1.2; color: var(--green-text); margin-bottom: 8px; }
.clause h2 { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.legal-body p, .legal-list li { font-size: 16px; line-height: 1.6; }
.legal-body p + p, .legal-body p + .legal-list, .legal-list + p { margin-top: 14px; }
.legal-list { margin-top: 14px; display: grid; gap: 10px; }
.legal-list li { position: relative; padding-left: 20px; }
.legal-list li::before {
  content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px;
  border-radius: 9999px; background: var(--primary-pressed);
}
.legal-body a { color: var(--link); font-weight: 700; overflow-wrap: anywhere; }
.legal-body strong { font-weight: 800; }
.legal-top { margin-top: 8px; }

@media print {
  .site-nav, .toc, .site-footer, .back-link, .legal-top, .skip-link { display: none !important; }
  .legal-layout { display: block; padding: 0; }
  body { background: #FFFFFF; color: #000000; }
}

/* ---------- platia wallet ---------- */
.icon-14 { width: 14px; height: 14px; }
.icon-18 { width: 18px; height: 18px; }
.hero-wallet .container { grid-template-columns: 1fr 560px; }

/* hero visual: phone + floating cards (illustration, fixed geometry) */
.wallet-visual { position: relative; width: 560px; height: 700px; margin: 0; }
.phone {
  position: absolute; left: 130px; top: 0; width: 300px; height: 640px; padding: 10px;
  border-radius: 48px; background: var(--brand-ink); box-shadow: 0 24px 48px rgba(7, 29, 49, 0.16);
}
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1px var(--line-strong), 0 24px 48px rgba(0, 0, 0, 0.4); } }
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--background);
  display: flex; flex-direction: column; gap: 16px; font-size: 13px;
}
.phone-status { height: 44px; padding: 16px 24px 0 26px; display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; line-height: 1; }
.phone-status-icons { display: flex; gap: 5px; align-items: center; }
.phone-camera { position: absolute; left: 50%; top: 10px; width: 88px; height: 26px; margin-left: -44px; border-radius: 13px; background: var(--brand-ink); }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--brand-navy); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.phone-hello { display: grid; gap: 1px; flex: 1; }
.phone-hello span { font-size: 12px; line-height: 1.2; color: var(--muted-foreground); }
.phone-hello strong { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.phone-bell { width: 36px; height: 36px; border-radius: 9999px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); }
.balance-card { margin: 0 18px; padding: 18px; border-radius: 22px; background: var(--brand-navy); color: #FFFFFF; display: grid; gap: 6px; }
@media (prefers-color-scheme: dark) { .balance-card { border: 1px solid var(--line-strong); } }
.balance-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; line-height: 1.2; color: rgba(255, 255, 255, 0.65); }
.balance-card .amount { font-size: 30px; line-height: 1.1; }
.balance-meta { font-size: 12px; font-weight: 700; line-height: 1.2; color: rgba(255, 255, 255, 0.8); }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 12px; }
.quick-actions li { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.qa-chip { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); color: var(--link); }
.assistant-bar {
  margin: 0 18px; height: 44px; padding: 0 6px 0 14px; display: flex; align-items: center; gap: 8px;
  border-radius: 9999px; background: var(--card); border: 1.5px solid var(--primary); color: var(--green-text);
}
.assistant-bar > span:first-of-type { flex: 1; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--muted-foreground); }
.assistant-mic, .chat-mic { border-radius: 9999px; display: grid; place-items: center; background: var(--brand-navy); color: #FFFFFF; }
.assistant-mic { width: 32px; height: 32px; }
.mv-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 18px 0; }
.mv-head strong { font-family: var(--font-display); font-size: 15px; }
.mv-head span { font-size: 12px; font-weight: 700; color: var(--link); }
.movements { margin: 0 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.movements li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.movements li + li { border-top: 1px solid var(--border); }
.mv-chip { width: 32px; height: 32px; flex: none; border-radius: 9999px; display: grid; place-items: center; background: var(--navy-tint); color: var(--link); }
.mv-chip.is-in { background: color-mix(in oklab, #10B981 12.5%, transparent); color: var(--success-text); }
.mv-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mv-text strong { font-size: 13px; line-height: 1.2; }
.mv-text span { font-size: 12px; line-height: 1.2; color: var(--muted-foreground); }
.movements .amount { font-size: 14px; }
.amount.is-negative { color: var(--destructive); }
.tab-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 72px; padding: 8px 22px;
  display: grid; justify-items: center; gap: 10px; background: var(--card); border-top: 1px solid var(--border);
}
.tabs { width: 100%; display: flex; justify-content: space-between; align-items: center; color: var(--text-tertiary); }
.tabs .is-active { color: var(--green-text); }
.tab-qr { width: 44px; height: 44px; border-radius: 9999px; display: grid; place-items: center; background: var(--primary); color: var(--brand-navy); }
.home-indicator { width: 96px; height: 4px; border-radius: 2px; background: var(--foreground); }

.float-card {
  position: absolute; width: 156px; padding: 14px; display: grid; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
}
.float-card strong { font-size: 13px; font-weight: 800; line-height: 1.2; }
.float-identity { left: 0; top: 150px; gap: 12px; }
.float-modules { left: 404px; top: 420px; }
.swatches { display: flex; gap: 6px; }
.sw { width: 24px; height: 24px; border-radius: 9999px; }
.sw-navy { background: var(--brand-navy); }
.sw-green { background: var(--primary); }
.sw-amber { background: var(--brand-amber); }
.sw-logo { border-radius: var(--radius-xs); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted-foreground); }
.float-meta { font-size: 12px; line-height: 1.35; color: var(--muted-foreground); }
.float-modules ul { display: grid; gap: 10px; }
.float-modules li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; line-height: 1.2; }
.toggle { width: 32px; height: 18px; padding: 2px; border-radius: 9999px; background: var(--line-strong); display: flex; }
.toggle::after { content: ""; width: 14px; height: 14px; border-radius: 9999px; background: #FFFFFF; }
.toggle.is-on { background: var(--primary); justify-content: flex-end; }
.wallet-visual figcaption { position: absolute; left: 100px; top: 664px; width: 360px; text-align: center; }

/* modules */
.section-intro { max-width: 720px; }
.module-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; align-items: start; }
.module-group-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--foreground); }
.module-group-head h3 { font-size: 20px; line-height: 1.3; }
.module-group-head p { font-size: 13px; line-height: 1.35; color: var(--muted-foreground); }
.module-group ul { margin-top: 20px; display: grid; gap: 18px; }
.module-group li + li { padding-top: 18px; border-top: 1px solid var(--border); }
.module-group h4 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.module-group li p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.badge-concept { padding: 3px 8px; border-radius: 9999px; background: var(--amber-tint); font-size: 12px; font-weight: 800; line-height: 1; }

/* ai assistant */
.ai-split { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; }
.ai-steps { margin: 16px 0 0; padding: 0; list-style: none; }
.ai-steps li { display: flex; gap: 16px; padding: 16px 0; }
.ai-steps li + li { border-top: 1px solid var(--border); }
.ai-step-n { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--green-text); font-variant-numeric: tabular-nums; }
.ai-steps h3 { font-size: 18px; line-height: 1.3; }
.ai-steps p { margin-top: 4px; color: var(--muted-foreground); }
.safety-note { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--primary-tint); font-size: 14px; font-weight: 700; line-height: 1.4; }
.safety-note .icon { color: var(--green-text); }
.chat-mock { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.chat-head > div { display: grid; gap: 2px; }
.chat-head strong { font-weight: 800; line-height: 1.2; }
.chat-avatar { width: 40px; height: 40px; border-radius: 9999px; display: grid; place-items: center; background: var(--primary-tint); color: var(--green-text); }
.chat-online { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.2; color: var(--muted-foreground); }
.chat-online .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--success-text); }
.chat-body { padding: 20px; display: grid; gap: 14px; background: var(--background); }
.bubble { font-size: 14px; line-height: 1.4; }
.bubble-user {
  justify-self: end; max-width: 290px; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-radius: 18px 18px 4px 18px; background: var(--brand-navy); color: #FFFFFF;
}
.bubble-user .icon { color: rgba(255, 255, 255, 0.65); }
.bubble-bot { max-width: 340px; display: grid; gap: 12px; padding: 16px; border-radius: 18px 18px 18px 4px; background: var(--card); border: 1px solid var(--border); }
.pay-summary { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface-alt); }
.pay-top { display: flex; justify-content: space-between; align-items: center; }
.pay-top div { display: grid; gap: 2px; }
.pay-top div span { font-size: 12px; font-weight: 700; color: var(--muted-foreground); }
.pay-top strong { font-weight: 800; }
.pay-top .amount { font-size: 24px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-foreground); }
.kv .amount { font-size: 14px; color: var(--foreground); }
.btn-approve { min-height: 48px; border-radius: 14px; font-size: 15px; cursor: default; }
.btn-approve:hover { background: var(--primary); color: var(--brand-navy); }
.chat-composer { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted-foreground); }
.chat-composer span:first-child { flex: 1; }
.chat-mic { width: 40px; height: 40px; }

/* dollars & rewards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: var(--radius-3xl); background: var(--background); border: 1px solid var(--border); }
.panel .kicker { margin-bottom: 0; }
.panel-title { font-size: 30px; line-height: 1.15; letter-spacing: -0.4px; }
.panel-body { color: var(--muted-foreground); }
.widget { flex: 1; display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--radius-xl); background: var(--card); border: 1px solid var(--border); }
.fx-box { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-alt); }
.fx-box div { display: grid; gap: 2px; }
.fx-box span { font-size: 12px; font-weight: 700; color: var(--muted-foreground); }
.fx-box strong { font-size: 24px; line-height: 1.15; }
.ccy { padding: 6px 10px; border-radius: 9999px; background: var(--card); border: 1px solid var(--border); font-size: 12px !important; font-weight: 800 !important; color: var(--foreground) !important; line-height: 1; }
.fx-swap { justify-self: center; width: 32px; height: 32px; border-radius: 9999px; display: grid; place-items: center; background: var(--brand-navy); color: #FFFFFF; }
.widget .kv { padding: 0 4px; }
.fx-validity { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--amber-tint); font-size: 13px; font-weight: 700; }
.level { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface-alt); }
.level-top { display: flex; justify-content: space-between; align-items: center; }
.level-top > span:first-child { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.level-top .amount { font-size: 14px; }
.level-bar { height: 8px; border-radius: 9999px; background: var(--line-strong); overflow: hidden; }
.level-bar span { display: block; height: 100%; border-radius: 9999px; background: var(--primary); }
.level-meta { font-size: 12px; color: var(--muted-foreground); }
.perks { display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; }
.perks strong { flex: 1; font-weight: 800; }
.perks span:last-child { font-size: 13px; color: var(--muted-foreground); }
.perk-chip { width: 36px; height: 36px; border-radius: 9999px; display: grid; place-items: center; background: var(--amber-tint); }
.panel-note { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--muted-foreground); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 4px 16px 12px; background: var(--card); }
  .toc details:not([open]) { padding-bottom: 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .promo { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .hero-wallet .container { grid-template-columns: 1fr; }
  .wallet-visual { margin: 0 auto; }
  .module-groups { grid-template-columns: 1fr 1fr; }
  .ai-split { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav .container { flex-wrap: wrap; row-gap: 10px; padding-top: 14px; }
  .nav-links { flex: 1 0 100%; justify-content: space-between; gap: 12px; padding: 4px 0 12px; }
  .nav-links a:not(.btn) { font-size: 13px; }
  .btn-lg { padding: 0 20px; font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.6px; }
  .hero .subhead { font-size: 16px; }
  .hero .ctas .btn { width: 100%; }
  .hero-visual { height: auto; display: grid; gap: 12px; }
  .hero-photo { position: static; width: 100%; height: 320px; }
  .ops-card, .receipt-chip { position: static; width: 100%; }
  .receipt-chip { display: none; }
  .h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(n) { padding: 24px 0; border-bottom: 1px solid var(--border); }
  .feature:first-child { padding-top: 0; }
  .feature:last-child { border-bottom: 0; padding-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .promo-figure, .promo-copy { padding: 32px 24px; }
  .promo-figure .amount { font-size: 56px; }
  .promo-copy .h2 { font-size: 26px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 40px 24px; }
  .cta-band .btn { width: 100%; font-size: 16px; padding: 0 20px; }
  .cta-buttons { flex-direction: column; }
  .legal-hero { padding: 32px 0 28px; }
  .legal-hero h1 { font-size: 32px; letter-spacing: -0.4px; }
  .clause h2 { font-size: 20px; }
  .legal-body p, .legal-list li { font-size: 15px; }
  .wallet-visual { width: 100%; height: auto; display: grid; justify-items: center; gap: 16px; }
  .phone { position: relative; left: auto; width: 100%; max-width: 300px; }
  .float-card { display: none; }
  .wallet-visual figcaption { position: static; width: auto; }
  .module-groups { grid-template-columns: 1fr; gap: 40px; }
  .ai-split { grid-template-columns: 1fr; gap: 40px; }
  .chat-mock { max-width: 460px; }
  .duo { grid-template-columns: 1fr; }
  .panel { padding: 28px 20px; }
  .panel-title { font-size: 26px; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
