﻿/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 249, 252, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color 160ms ease; }
.nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--signal); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.06em; height: 0.22em; background: rgba(103, 232, 249, 0.55); z-index: -1; border-radius: 2px; transform-origin: left; animation: mark 900ms var(--ease-out) 350ms both; }
@keyframes mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero-cta .link { font-weight: 500; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--signal-ink); flex: none; }

/* Telegram stage */
.stage { position: relative; }
.phone {
  position: relative; margin-left: auto; width: min(100%, 400px);
  border-radius: 28px; background: var(--ink); padding: 10px;
  box-shadow: var(--shadow-lg);
}
.tg { border-radius: 20px; overflow: hidden; background: var(--tg-wall); display: flex; flex-direction: column; height: 560px; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06); }
.tg-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--display); flex: none; }
.tg-head strong { display: block; font-size: 15px; line-height: 1.2; }
.tg-head small { font-size: 13px; color: #6b7a72; }
.tg-body { flex: 1; overflow: hidden; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.msg { max-width: 86%; padding: 8px 11px 6px; border-radius: 14px; font-size: 14.5px; line-height: 1.42; box-shadow: 0 1px 1px rgba(0,0,0,0.08); position: relative; }
.msg time { display: block; text-align: right; font-size: 11px; color: #7d8a83; margin-top: 2px; }
.msg.in { background: var(--tg-in); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--tg-out); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.cmd { color: var(--tg-link); }
.msg .cover { height: 92px; border-radius: 9px; margin: -2px -5px 8px; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-3) 100%); display: flex; align-items: flex-end; padding: 10px 12px; color: var(--on-forest); font: 700 15px/1.1 var(--display); letter-spacing: -0.01em; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; align-self: stretch; max-width: 86%; }
.kb button { appearance: none; border: 0; border-radius: 8px; padding: 9px 6px; background: rgba(255,255,255,0.72); color: #1f5f8f; font: 500 13.5px/1.2 var(--body); cursor: default; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.kb button.tap { background: #fff; transform: scale(0.96); }
.pix { font-family: var(--mono); font-size: 12px; background: #f2f5f0; border-radius: 8px; padding: 8px; word-break: break-all; color: #3a4640; margin: 6px 0 2px; }
.ok { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); }
.ok svg { width: 18px; height: 18px; }
.invite { display: inline-block; margin-top: 4px; color: var(--tg-link); font-weight: 500; }
.typing { align-self: flex-start; background: #fff; border-radius: 14px; border-bottom-left-radius: 4px; padding: 10px 12px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa69f; animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.enter { animation: enter 320ms var(--ease-out) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.tg-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid rgba(0,0,0,0.06); color: #8c9891; font-size: 14px; }
.tg-foot span { flex: 1; }

.receipt {
  position: absolute; left: 0; bottom: -22px; width: 236px; z-index: 2;
  background: var(--card); border-radius: 12px; padding: 16px 16px 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px) rotate(-2deg);
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out);
}
.receipt.show { opacity: 1; transform: translateY(0) rotate(-2deg); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: radial-gradient(circle at 6px -2px, transparent 6px, var(--card) 6.5px) 0 0 / 12px 8px repeat-x; }
.receipt-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.receipt-head b { color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.receipt-head b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.receipt strong { display: block; margin: 8px 0 10px; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; border-top: 1px dashed var(--line-strong); padding-top: 10px; }
.receipt dt { color: var(--ink-3); }
.receipt dd { margin: 0; text-align: right; font-weight: 500; }
.stage-note { position: absolute; right: 0; bottom: -40px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-3); }
.replay { appearance: none; border: 0; background: none; color: var(--ink-2); font: 500 13px/1 var(--body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 2px; }
.replay svg { width: 14px; height: 14px; }
.replay:hover { color: var(--ink); }

/* ---------- Flow (forest field) ---------- */
.flow { background: var(--forest); color: var(--on-forest); padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.flow h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 16ch; }
.flow-intro { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px 64px; align-items: end; }
.flow-intro p { color: var(--on-forest-2); font-size: 18px; }
.track { position: relative; margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; }
.track::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: rgba(234, 242, 237, 0.16); }
.track::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--cyan); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1400ms var(--ease-in-out); }
.track li { position: relative; padding-right: 24px; }
.node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--forest-2); box-shadow: inset 0 0 0 1px rgba(234,242,237,0.2); display: grid; place-items: center; color: var(--on-forest); transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease; }
.node svg { width: 22px; height: 22px; }
.track li.lit .node { background: var(--cyan); color: var(--forest); box-shadow: 0 0 0 6px rgba(22, 199, 217, 0.18); }
.track h3 { margin-top: 22px; font-size: 21px; letter-spacing: -0.02em; }
.track p { margin-top: 8px; font-size: 15px; color: var(--on-forest-2); max-width: 24ch; }
.flow-foot { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(234,242,237,0.14); display: flex; flex-wrap: wrap; gap: 16px 40px; font-size: 15px; color: var(--on-forest-2); }
.flow-foot strong { color: var(--on-forest); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section h2 { font-size: clamp(34px, 4.2vw, 54px); max-width: 18ch; }
.lede { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 52ch; }

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.checks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks svg { width: 22px; height: 22px; color: var(--signal-ink); margin-top: 2px; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--ink-3); font-size: 15px; }
.board { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.board-bar .tabs { display: flex; gap: 4px; background: var(--paper); border-radius: 999px; padding: 3px; }
.board-bar .tabs span { padding: 6px 12px; border-radius: 999px; color: var(--ink-3); font-weight: 500; font-size: 13px; }
.board-bar .tabs span[aria-current] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.board-bar .demo { font-size: 12px; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 18px 20px; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi small { display: block; color: var(--ink-3); font-size: 13px; }
.kpi b { display: block; margin-top: 6px; white-space: nowrap; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.03em; }
.kpi em { font-style: normal; font-size: 13px; color: var(--ok); font-weight: 600; }
.chart { padding: 18px 20px 6px; }
.chart svg { width: 100%; height: auto; }
.chart .area { fill: url(#fill); }
.chart .line { fill: none; stroke: var(--signal); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1600ms var(--ease-out); }
.chart.drawn .line { stroke-dashoffset: 0; }
.chart .grid line { stroke: var(--line); }
.chart text { font: 500 11px var(--mono); fill: var(--ink-3); }
.expiring { border-top: 1px solid var(--line); padding: 14px 20px 18px; }
.expiring h3 { font: 600 14px/1.2 var(--body); letter-spacing: 0; display: flex; justify-content: space-between; }
.expiring h3 span { color: var(--ink-3); font-weight: 500; }
.expiring ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.expiring li { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; }
.expiring li + li { border-top: 1px solid var(--line); }
.ini { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 12px/1 var(--body); background: var(--paper-2); color: var(--ink-2); }
.expiring .plan { color: var(--ink-3); font-size: 13px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #fff3d6; color: #8a5a00; }
.pill.soon { background: #ffe2dc; color: #a2321c; }

/* Payments table */
.pay { background: var(--paper-2); }
.pay-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 24px 64px; align-items: end; }
.rails { margin-top: 56px; border-top: 2px solid var(--ink); }
.rail { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.rail h3 { font-size: 26px; letter-spacing: -0.02em; }
.rail .who { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.rail p { color: var(--ink-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.rail .state { font-size: 13px; font-weight: 600; color: var(--signal-ink); white-space: nowrap; }
.rail .state.wait { color: var(--ink-3); }

/* Referral */
.ref-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ref-big { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 14vw, 184px); line-height: 0.85; letter-spacing: -0.05em; color: var(--signal); }
.ref-big span { font-size: 0.4em; letter-spacing: -0.03em; margin-left: 0.08em; }
.calc { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; font-size: 15px; }
.calc label output { font-size: 20px; font-weight: 500; }
.calc input[type=range] { width: 100%; margin: 18px 0 8px; accent-color: var(--signal); height: 28px; }
.calc .scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.calc-out { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line-strong); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.calc-out .you { font-size: 15px; color: var(--ink); font-weight: 600; }
.calc-out .you-val { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--signal-ink); }
.calc small { display: block; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }

/* Ecosystem */
.eco { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-strong); }
.eco a { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: start; padding: 32px 32px 32px 0; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.eco a + a { padding-left: 32px; border-left: 1px solid var(--line-strong); }
.eco .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--forest); color: var(--cyan-300); display: grid; place-items: center; }
.eco .ic svg { width: 24px; height: 24px; }
.eco h3 { font-size: 24px; letter-spacing: -0.02em; }
.eco p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 40ch; }
.eco .go { width: 22px; height: 22px; color: var(--ink-3); transition: transform 200ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .eco a:hover .go { transform: translate(3px, -3px); color: var(--ink); } }

/* Trust + FAQ */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.trust li strong { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.015em; }
.trust li p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.trust svg { width: 24px; height: 24px; color: var(--signal); margin-bottom: 14px; }
.faq dl { margin: 0; display: grid; }
.faq dt { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; padding-top: 24px; }
.faq dd { margin: 8px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--ink-2); max-width: 60ch; }
.faq .more { display: inline-block; margin-top: 24px; font-weight: 600; }

/* Final CTA */
.final { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(96px, 12vw, 160px) 0; }
.final-grid { position: relative; z-index: 1; display: block; }
.final-copy { max-width: 620px; }
.final-copy p { margin-top: 24px; max-width: 44ch; }
.plane { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease-out); }
.plane.ready { opacity: 1; }
@media (max-width: 900px) { .plane.ready { opacity: 0.4; } }
.gs .reveal { transition: none; }
.track.scrub::after { transition: none; }
.track.scrub .node { transition-duration: 250ms; }
.final h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; }
.final h2 em { font-style: normal; color: var(--cyan-300); }
.final p { color: var(--slate, #94a3b8); font-size: 18px; }
.final .btn { margin-top: 24px; }
.footer { background: var(--ink); color: #94a3b8; border-top: 1px solid rgba(255,255,255,0.08); padding: 32px 0 40px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand { color: var(--paper); font-size: 16px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* Scroll reveal: visible by default, enhanced only when JS runs */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }


/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .track { grid-template-columns: 1fr; gap: 28px; }
  .track::before, .track::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .track::after { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .track li { display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding: 0; }
  .track li > div { grid-column: 2; grid-row: 1; }
  .track h3 { margin-top: 10px; }
  .track p { max-width: 48ch; }
  .rail { grid-template-columns: 1fr 1fr; }
  .rail .state { justify-self: start; }
}
@media (max-width: 900px) {
  .hero-grid, .dash-grid, .ref-grid, .split, .final-grid, .flow-intro, .pay-head { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
  .receipt { left: max(0px, calc(50% - 300px)); }
  .stage-note { position: static; justify-content: center; margin-top: 20px; }
  .facts { grid-template-columns: 1fr; }
  .eco { grid-template-columns: 1fr; }
  .eco a + a { padding-left: 0; border-left: 0; }
  .board { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-actions .btn-ghost { display: none; }
  .brand { font-size: 16px; white-space: nowrap; }
  .nav-actions .btn { padding: 0 14px; font-size: 14px; }
  .tg { height: 500px; }
  .receipt { position: relative; left: auto; bottom: auto; margin: -28px auto 0; z-index: 2; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { grid-column: span 2; border-left: 0; border-top: 1px solid var(--line); }
  .expiring li { grid-template-columns: 30px 1fr auto; }
  .expiring .plan { display: none; }
  .rail { grid-template-columns: 1fr; gap: 12px; }
  .trust { grid-template-columns: 1fr; }
  .board-bar .demo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Shared public chrome: active nav + mobile menu
   ========================================================= */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu-btn { display: none; }
.mnav { display: none; }
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .mnav { display: block; position: fixed; inset: 68px 0 auto 0; z-index: 19; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s 260ms; }
  .mnav.open { transform: none; opacity: 1; visibility: visible; transition: opacity 200ms ease, transform 260ms var(--ease-out); }
  .mnav a { display: block; padding: 14px 4px; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mnav a[aria-current="page"] { color: var(--signal); }
  .mnav .actions { margin-top: 16px; }
  .mnav .actions .btn { flex: 1; }
}

/* =========================================================
   Inner page hero (guia, faq, legal, 404)
   ========================================================= */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; max-width: 16ch; }
.page-hero p { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 54ch; }
.page-hero .actions { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Guide */
.guide { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(64px, 9vw, 112px); }
.toc { position: sticky; top: 92px; display: grid; gap: 4px; }
.toc strong { font-family: var(--display); font-size: 15px; margin-bottom: 8px; }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.toc a span { font: 500 13px var(--mono); color: var(--ink-3); }
.toc a:hover { background: var(--paper-2); }
.toc a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.toc a.on span { color: var(--signal); }
.toc .meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); display: grid; gap: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 0 0 48px; position: relative; scroll-margin-top: 96px; }
.step::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 17px var(--mono); color: var(--ink); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step.on::before { background: var(--signal); color: #fff; box-shadow: 0 0 0 6px rgba(30,99,255,0.12); }
.step h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 8px; }
.step p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }
.step code, .faq-list code { font: 500 0.9em var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.step .tip { margin-top: 16px; }
.step .actions { margin-top: 18px; }
.copy-chip { appearance: none; border: 1px dashed var(--line-strong); background: var(--card); border-radius: 8px; padding: 8px 12px; font: 500 14px var(--mono); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: border-color 160ms ease; }
.copy-chip:hover { border-color: var(--signal); }
.copy-chip svg { width: 15px; height: 15px; color: var(--ink-3); }
.providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.provider { background: var(--card); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.provider h3 { font-size: 22px; }
.provider p { color: var(--ink-2); font-size: 15.5px; }
.logo-chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 15px var(--display); color: #fff; }
.logo-chip.mp { background: #009ee3; } .logo-chip.as { background: #0030b9; } .logo-chip.pp { background: #003087; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .toc strong, .toc .meta { grid-column: 1 / -1; }
  .providers { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step::before { width: 40px; height: 40px; font-size: 15px; }
  .step::after { left: 19px; top: 44px; }
  .step h2 { margin-top: 4px; }
}

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.faq-tools .affix { flex: 1 1 280px; max-width: 420px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: clamp(64px, 9vw, 112px); }
.faq-list { display: grid; }
.qa { padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa:first-child { padding-top: 0; }
.qa h2 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.25; }
.qa p { margin-top: 10px; color: var(--ink-2); max-width: 64ch; }
.qa .tag { display: inline-block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; color: var(--signal); }
.qa[hidden] { display: none; }
.empty { padding: 32px; text-align: center; color: var(--ink-3); background: var(--card); border-radius: 14px; }
.side-card { position: sticky; top: 92px; background: var(--forest); color: var(--on-forest); border-radius: 18px; padding: 28px; display: grid; gap: 14px; }
.side-card h2 { font-size: 24px; }
.side-card p { color: var(--on-forest-2); font-size: 15.5px; }
.side-card .btn-soft { background: #fff; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

/* Legal */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(64px, 9vw, 112px); }
.legal article { max-width: 70ch; }
.legal section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.legal section:first-child { padding-top: 0; }
.legal h2 { font-size: 24px; }
.legal p, .legal li { color: var(--ink-2); margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal .updated { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal .toc { display: none; } }

/* 404 */
.nf { min-height: calc(100dvh - 68px - 120px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .code { font: 800 clamp(96px, 18vw, 200px)/0.85 var(--display); letter-spacing: -0.05em; color: var(--signal); }
.nf h1 { margin-top: 20px; font-size: clamp(28px, 4vw, 44px); }
.nf p { margin: 14px auto 0; color: var(--ink-2); max-width: 44ch; }
.nf .actions { justify-content: center; margin-top: 28px; }

/* Compact footer for inner pages */
.footer.light { background: var(--paper); color: var(--ink-3); border-top: 1px solid var(--line); }
.footer.light .brand { color: var(--ink); }
.footer.light a:hover { color: var(--ink); }

/* =========================================================
   Auth (login)
   ========================================================= */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--forest); color: var(--on-forest); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.auth-side .brand { color: #fff; }
.auth-side h1 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; letter-spacing: -0.03em; max-width: 15ch; }
.auth-side p { margin-top: 16px; color: var(--on-forest-2); max-width: 44ch; }
.auth-proof { display: grid; gap: 10px; margin-top: 32px; max-width: 360px; }
.auth-proof .row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 12px 14px; }
.auth-proof .row i { width: 36px; height: 36px; border-radius: 10px; background: rgba(103, 232, 249, 0.12); color: var(--cyan-300); display: grid; place-items: center; font-style: normal; }
.auth-proof .row i svg { width: 18px; height: 18px; }
.auth-proof strong { display: block; font-size: 15px; font-weight: 600; }
.auth-proof small { color: var(--on-forest-2); font-size: 13px; }
.auth-proof b { font: 500 14px var(--mono); color: var(--cyan-300); white-space: nowrap; }
.auth-note { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--on-forest-2); max-width: 46ch; }
.auth-note svg { width: 18px; height: 18px; color: var(--cyan-300); margin-top: 2px; }
.auth-main { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px) var(--gutter); }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 22px; }
.auth-card h2 { font-size: 32px; }
.auth-card > header p { margin-top: 8px; color: var(--ink-3); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 12px; padding: 4px; }
.auth-tabs button { appearance: none; border: 0; background: none; padding: 10px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--ink-3); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.auth-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.auth-form { display: grid; gap: 16px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.linkish { appearance: none; border: 0; background: none; padding: 0; font: 600 14px var(--body); color: var(--signal); cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-3); }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); }
.google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); text-decoration: none; font-weight: 600; font-size: 15.5px; transition: box-shadow 160ms ease, transform 160ms var(--ease-out); }
.google:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.google:active { transform: scale(0.98); }
.google svg { width: 18px; height: 18px; }
.legal-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.legal-note a { color: var(--ink-2); }
.back-link { justify-self: center; font-size: 14px; color: var(--ink-3); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.code-input { font: 500 24px/1 var(--mono) !important; letter-spacing: 0.4em; text-align: center; }
[data-view][hidden] { display: none; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding-bottom: 32px; gap: 24px; }
  .auth-proof, .auth-note { display: none; }
  .auth-side h1 { font-size: 30px; }
  .auth-side p { margin-top: 10px; font-size: 15px; }
}

/* =========================================================
   Onboarding
   ========================================================= */
.ob-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.ob-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ob-user .ini { background: var(--signal); color: #fff; }
.ob-user div { min-width: 0; }
.ob-user strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-user small { display: block; font-size: 12.5px; color: var(--ink-3); }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.progress li { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.progress li.done::before { background: var(--ok); }
.progress li.now::before { background: var(--signal); }
.progress li.now { color: var(--ink); }
.progress li.done { color: var(--ok); }
.ob-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.ob-intro h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; max-width: 15ch; }
.ob-intro > p { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.bf-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.bf-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.bf-steps li > span { width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font: 500 14px var(--mono); }
.bf-steps strong { display: block; font-size: 16.5px; }
.bf-steps p { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
.bf-steps code { font: 500 0.92em var(--mono); background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
.bf-steps .actions { margin-top: 10px; }
.connect { position: sticky; top: 24px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.connect h2 { font-size: 26px; }
.connect > header p { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.step-tag { font-size: 13px; font-weight: 600; color: var(--signal); }
.secure { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink-3); padding-top: 14px; border-top: 1px solid var(--line); }
.secure svg { width: 16px; height: 16px; color: var(--ok); margin-top: 2px; }
.bot-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--paper); }
.bot-card .ava { width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: var(--cyan-300); display: grid; place-items: center; font: 700 16px var(--display); }
.bot-card strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-card small { color: var(--ink-3); font-size: 13px; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: #e7f7ed; color: var(--ok); display: grid; place-items: center; }
.success-mark svg { width: 28px; height: 28px; }
.next-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
.next-up article { background: var(--card); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.next-up span { font: 500 13px var(--mono); color: var(--signal); }
.next-up strong { font-family: var(--display); font-size: 18px; }
.next-up p { color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 900px) {
  .ob-grid { grid-template-columns: 1fr; }
  .connect { position: static; order: -1; }
  .next-up { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .progress li { font-size: 12px; }
  .ob-top .btn-ghost { padding: 0 14px; }
}

@media (max-width: 400px) { .nav-actions .btn-ink { display: none; } .nav-actions { gap: 6px; } .nav-actions .btn-go { padding: 0 12px; font-size: 13.5px; } .top-inner .brand { font-size: 16px; gap: 8px; } }

/* =========================================================
   Conversion emphasis (home)
   ========================================================= */
/* Dark header variant for pages that open on navy */
.top.dark { background: rgba(7, 17, 31, 0.82); color: #fff; }
.top.dark.scrolled { border-bottom-color: rgba(255,255,255,0.08); }
.top.dark .nav a { color: #b8c4d6; }
.top.dark .nav a:hover, .top.dark .nav a[aria-current="page"] { color: #fff; }
.top.dark .btn-ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.top.dark .btn-ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.top.dark .btn-ink { background: #fff; color: var(--ink); }
.top.dark .icon-btn { color: #fff; }
.top.dark .icon-btn:hover { background: rgba(255,255,255,0.08); }

/* Navy hero */
.hero.navy {
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(30, 99, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 70% 95%, rgba(22, 199, 217, 0.18), transparent 70%),
    var(--ink);
  color: #fff;
  padding-bottom: clamp(120px, 14vw, 168px);
}
.hero.navy h1 em { color: var(--cyan-300); }
.hero.navy h1 em::after { background: rgba(30, 99, 255, 0.75); }
.hero.navy .hero-lede { color: #c3cedd; }
.hero.navy .hero-cta .link { color: #dbe4f0; }
.hero.navy .facts { border-top-color: rgba(255,255,255,0.12); color: #c3cedd; }
.hero.navy .facts svg { color: var(--cyan-300); }
.hero.navy .stage-note, .hero.navy .replay { color: #94a3b8; }
.hero.navy .replay:hover { color: #fff; }
.hero.navy .phone { box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); font-size: 14px; color: #dbe4f0; }
.hero-pill b { background: var(--signal); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* Proof band overlapping the hero */
.proof { position: relative; z-index: 2; margin-top: calc(-1 * clamp(72px, 9vw, 104px)); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.proof-grid > div { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 6px; align-content: start; }
.proof-grid > div + div { border-left: 1px solid var(--line); }
.proof-grid b { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); letter-spacing: -0.035em; color: var(--signal); white-space: nowrap; }
.proof-grid strong { font-size: 16px; font-weight: 600; }
.proof-grid span { font-size: 14.5px; color: var(--ink-3); }

/* Before / after comparison */
.compare { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.compare-col { border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.compare-col h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.compare-col ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; }
.compare-col li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.compare-col li svg { width: 20px; height: 20px; margin-top: 2px; }
.compare-col.before { background: var(--paper-2); color: var(--ink-2); }
.compare-col.before li svg { color: #a2321c; }
.compare-col.before li { text-decoration: line-through; text-decoration-color: rgba(162, 50, 28, 0.35); }
.compare-col.after { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.compare-col.after li { border-top-color: rgba(255,255,255,0.1); }
.compare-col.after li svg { color: var(--cyan-300); }
.compare-col.after .tagline { margin-top: 6px; color: #94a3b8; font-size: 15px; }
.compare-col.after .btn { margin-top: 24px; }

/* Pricing (drenched blue) */
.price { background: var(--signal); color: #fff; padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.price::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 65%); pointer-events: none; }
.price-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.price-big { font: 800 clamp(72px, 11vw, 148px)/0.85 var(--display); letter-spacing: -0.05em; }
.price-big small { display: block; margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; font-weight: 700; }
.price p.lede { color: #dbe6ff; }
.price-card { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 40px 80px -30px rgba(7, 17, 31, 0.5); }
.price-card dl { margin: 0; display: grid; }
.price-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-card dt { color: var(--ink-2); }
.price-card dd { margin: 0; font-weight: 600; text-align: right; }
.price-card dd.num { font-size: 20px; color: var(--signal); }
.price-card .btn { margin-top: 22px; }
.price-card small { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* Referral emphasis */
.ref-section { background: var(--paper-2); }

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid > div:nth-child(3) { border-left: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .compare, .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .proof-grid > div { padding: 18px 16px; }
  .proof-grid b { font-size: 28px; }
  .proof-grid span { font-size: 13.5px; }
}

@media (max-width: 560px) { .ob-user div { display: none; } .ob-top .brand { font-size: 16px; } }

.video-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
p.alert span { min-width: 0; }

.ob-intro, .ob-grid > * { min-width: 0; }
