/* Public pages: landing, status, terms. Uses tokens.css only. */
.site { background: var(--bg-0); overflow-x: hidden; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg-0) 80%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2); }
.site-nav .wrap { display: flex; align-items: center; gap: var(--s-6); height: 64px; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-18); letter-spacing: -0.02em; }
.site-nav .brand:hover { text-decoration: none; }
.site-nav .brand img { width: 32px; height: 32px; }
.site-links { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; font-size: var(--fs-14); }
.site-links a:not(.btn) { color: var(--text-2); font-weight: 500; }
.site-links a:not(.btn):hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .site-links .hide-sm { display: none; } .site-links { gap: var(--s-3); } }

/* hero */
.hero { position: relative; padding: var(--s-18) 0 var(--s-14); overflow-x: clip; }
.hero::before { content: ''; position: absolute; inset: -200px -20% auto; height: 700px; background: radial-gradient(600px 340px at 72% 30%, rgba(78, 230, 166, 0.16), transparent 70%), radial-gradient(500px 300px at 20% 10%, rgba(106, 168, 255, 0.12), transparent 70%); pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-10); align-items: center; }
.hero-logo { width: 64px; height: 64px; margin-bottom: var(--s-5); filter: drop-shadow(0 10px 30px rgba(78, 230, 166, 0.35)); }
.kicker { display: inline-flex; align-items: center; gap: var(--s-2); padding: 5px 12px 5px 6px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface-1); font-size: var(--fs-13); color: var(--text-2); margin-bottom: var(--s-5); }
.kicker b { background: var(--brand-gradient); color: var(--text-on-brand); padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 750; margin-bottom: var(--s-5); }
.hero h1 .grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: var(--fs-18); color: var(--text-2); max-width: 560px; line-height: 1.6; }
.cta-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-note { margin-top: var(--s-4); font-size: var(--fs-13); color: var(--text-3); display: flex; gap: var(--s-4); flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--up); }
.device { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(160deg, var(--surface-3), var(--surface-1)); border: 1px solid var(--border-strong); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--highlight) inset; }
.device video, .device img { width: 100%; height: auto; border-radius: 14px; background: #000; aspect-ratio: 16 / 10; object-fit: cover; }
.float-chip { position: absolute; display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); font-size: var(--fs-13); font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float-chip .dot { margin-right: 2px; }
.float-chip.a { left: -24px; bottom: 18%; }
.float-chip.b { right: -18px; top: 12%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
  .hero { padding: var(--s-10) 0 var(--s-10); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .float-chip.a { left: 8px; bottom: -14px; } .float-chip.b { right: 8px; top: -14px; }
}

/* sections */
.band { padding: var(--s-14) 0; border-top: 1px solid var(--border); }
.band-head { max-width: 680px; margin-bottom: var(--s-8); }
.band-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; font-weight: 700; margin-bottom: var(--s-3); }
.band-head p { color: var(--text-2); font-size: var(--fs-16); margin: 0; }
.band-head p + p { margin-top: var(--s-2); }
.eyebrow.brand { color: var(--mint); }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); counter-reset: s; }
.step3 { position: relative; padding: var(--s-6); border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); }
.step3::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-gradient); color: var(--text-on-brand); font-weight: 800; font-family: var(--font-display); margin-bottom: var(--s-4); }
.step3 h3 { font-size: var(--fs-18); }
.step3 p { color: var(--text-2); margin: 0; }
.feat-groups { display: grid; gap: var(--s-8); }
.feat-group h3 { font-size: var(--fs-13); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: var(--s-3); }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.feat { padding: var(--s-5); border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); transition: border-color var(--dur-2), transform var(--dur-2) var(--ease); }
.feat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat .fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--mint); margin-bottom: var(--s-3); }
.feat .fi svg { width: 18px; height: 18px; }
.feat h4 { font-size: var(--fs-16); margin-bottom: 6px; }
.feat p { color: var(--text-2); font-size: var(--fs-14); margin: 0; }
@media (max-width: 960px) { .steps3, .feat-grid { grid-template-columns: minmax(0, 1fr); } .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } }

/* social proof */
.proof-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-6); }
.proof-fact { padding: var(--s-5); border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); }
.proof-fact b { display: block; font-family: var(--font-display); font-size: var(--fs-22); letter-spacing: -0.02em; margin-bottom: 4px; }
.proof-fact span { color: var(--text-2); font-size: var(--fs-14); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.review-slot { position: relative; padding: var(--s-6); border-radius: var(--r-card); border: 1.5px dashed var(--border-strong); background: repeating-linear-gradient(135deg, transparent 0 12px, var(--surface-1) 12px 13px); min-height: 200px; display: flex; flex-direction: column; gap: var(--s-3); color: var(--text-3); }
.review-slot .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); }
.review-slot svg { width: 28px; height: 28px; opacity: 0.5; }
.review-slot p { margin: 0; font-size: var(--fs-14); }
@media (max-width: 960px) { .proof-facts, .reviews { grid-template-columns: minmax(0, 1fr); } .review-slot { min-height: 0; } }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); align-items: stretch; }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price { display: flex; flex-direction: column; padding: var(--s-6); border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); }
.price.featured { background: linear-gradient(var(--surface-1), var(--surface-1)) padding-box, var(--brand-gradient) border-box; border-color: transparent; box-shadow: var(--brand-glow); }
.price h3 { font-size: var(--fs-18); display: flex; align-items: center; gap: var(--s-2); }
.price .amt { font-family: var(--font-display); font-size: var(--fs-48); font-weight: 750; letter-spacing: -0.04em; margin: var(--s-2) 0 var(--s-4); }
.price .amt span { font-size: var(--fs-16); color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); color: var(--text-2); font-size: var(--fs-14); }
.price li { display: flex; gap: var(--s-2); }
.price li svg { width: 16px; height: 16px; color: var(--up); flex: none; margin-top: 2px; }
.price .btn { margin-top: auto; }
@media (max-width: 960px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: flex; flex-direction: column; gap: var(--s-2); max-width: 820px; }
.faq details { border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); padding: 0 var(--s-5); transition: border-color var(--dur-2); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 60px; cursor: pointer; font-weight: 600; font-size: var(--fs-16); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: var(--fs-22); color: var(--text-3); transition: transform var(--dur-2) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); margin: 0 0 var(--s-5); }

.cta-band { text-align: center; }
.cta-band .band-head { margin: 0 auto var(--s-6); }
.cta-band .cta-row { justify-content: center; }

.site-footer { padding: var(--s-10) 0 var(--s-14); border-top: 1px solid var(--border); color: var(--text-3); font-size: var(--fs-13); }
.site-footer .row-top { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-4); }
.site-footer .row-top a { color: var(--text-2); }
.site-footer p { max-width: 760px; }

/* simple pages (status, terms) */
.page-wrap { max-width: 860px; margin: 0 auto; padding: var(--s-10) var(--gutter) var(--s-14); }
.legal h1 { font-size: var(--fs-36); }
.legal h3 { margin-top: var(--s-6); font-size: var(--fs-18); }
.legal p { color: var(--text-2); line-height: 1.7; }
.status-hero { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.status-hero h1 { margin: 0; }
.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 720px) { .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-nav.scrolled { border-bottom-color: var(--border); }
.float-chip svg { width: 15px; height: 15px; color: var(--up); }
.review-slot svg, .feat .fi svg, .hero-note svg, .price li svg { display: block; }
@media (max-width: 760px) { .hero-logo { display: none; } }

/* status: copy speed */
.status-sub { font-size: var(--fs-16); margin: var(--s-8) 0 var(--s-3); }
.speed-grid .speed-main .v { color: var(--up); }
.speed-grid .unit { font-size: 0.55em; color: var(--text-3); margin-left: 2px; }
.speed-grid .sub { font-size: var(--fs-12); color: var(--text-3); margin-top: 4px; }

/* ---------- v0.5 landing: switch banner + showcase ---------- */
.switch-banner { background: linear-gradient(90deg, rgba(78, 230, 166, 0.12), rgba(106, 168, 255, 0.12)); border-bottom: 1px solid var(--border); }
.switch-banner .wrap { display: flex; align-items: center; gap: var(--s-3); padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.switch-banner .wrap > svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.switch-banner p { margin: 0; flex: 1 1 220px; font-size: var(--fs-14); color: var(--text-2); }
.switch-banner b { color: var(--text); }
.show { display: flex; flex-direction: column; gap: var(--s-12, 64px); }
.show-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.show-row.flip .show-copy { order: 2; }
.show-copy h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; margin: var(--s-3) 0 var(--s-2); }
.show-copy p { color: var(--text-2); font-size: var(--fs-16); margin: 0; }
.show-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--mint); }
.show-ico svg { width: 20px; height: 20px; }
.show-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-14); color: var(--text-2); }
.show-list li { display: flex; gap: 8px; align-items: center; }
.show-list svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.show-vis { border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); padding: var(--s-5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); min-width: 0; }
.mk-head { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); font-size: var(--fs-14); }
.mk-head span { color: var(--text-3); font-family: var(--font-mono); font-size: var(--fs-12); }
.mk-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 4px var(--s-2); align-items: center; padding: var(--s-2) 0; border-top: 1px solid var(--border); font-size: var(--fs-13); }
.mk-av { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #04170f; }
.mk-av.a1 { background: var(--c2); } .mk-av.a2 { background: var(--c1); } .mk-av.a3 { background: var(--c5); }
.mk-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-amt { font-family: var(--font-mono); color: var(--text-2); }
.mk-bar { grid-column: 2 / 4; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.mk-bar i { display: block; height: 100%; background: var(--up); border-radius: 3px; }
.mk-bar i.warn { background: var(--warn); }
.mk-bar .w20 { width: 20%; } .mk-bar .w45 { width: 45%; }
.mk-foot { margin-top: var(--s-3); font-size: var(--fs-12); color: var(--text-3); }
.mock-wrapped { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(78, 230, 166, 0.25), transparent 60%), radial-gradient(circle at 80% 90%, rgba(106, 168, 255, 0.3), transparent 60%), var(--surface-1); }
.mw-card { width: min(240px, 100%); aspect-ratio: 9 / 14; border-radius: 18px; padding: var(--s-5); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #0f2a22, #101a33); color: #fff; position: relative; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7); }
.mw-wm { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; opacity: 0.85; }
.mw-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.mw-k.mt { margin-top: var(--s-4); }
.mw-v { font-size: 44px; letter-spacing: -0.03em; line-height: 1.1; }
.mw-v.sm { font-size: 24px; }
.mw-s { font-size: 14px; opacity: 0.85; }
.mock-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.mb { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-4) var(--s-2); border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); text-align: center; font-size: var(--fs-13); }
.mb svg { width: 28px; height: 28px; }
.mb.on { color: var(--mint); border-color: rgba(78, 230, 166, 0.35); }
.mb.on.gold { color: #f5c451; border-color: rgba(245, 196, 81, 0.4); }
.mb b { color: var(--text); font-weight: 600; }
.mb:not(.on) b { color: var(--text-3); }
.mock-2fa { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); }
.m2-label { font-size: var(--fs-13); color: var(--text-3); }
.m2-code { display: flex; gap: 6px; }
.m2-code i { font-style: normal; width: 38px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 22px; }
.m2-ok, .mj-ok { display: flex; gap: 6px; align-items: center; font-size: var(--fs-13); color: var(--mint); }
.m2-ok svg, .mj-ok svg { width: 16px; height: 16px; }
.mock-json pre { margin: 0 0 var(--s-3); font-family: var(--font-mono); font-size: var(--fs-14); color: var(--text-2); white-space: pre-wrap; }
@media (max-width: 860px) {
  .show-row { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .show-row.flip .show-copy { order: 0; }
}
@media (max-width: 380px) { .m2-code i { width: 32px; height: 42px; font-size: 18px; } }

/* v0.6: pricing period toggle and the money-back guarantee */
.price-toggle { display: flex; justify-content: center; margin: 0 0 var(--s-5); }
.price-toggle[hidden] { display: none; }
.price-toggle .segmented button { gap: 6px; }
.price .amt { margin-bottom: 2px; }
.price .amt-sub { margin: 0 0 var(--s-4); color: var(--text-3); font-size: var(--fs-13); }
.guarantee { display: flex; gap: var(--s-2); align-items: flex-start; justify-content: center; margin: var(--s-5) auto 0; max-width: 60ch; color: var(--text-2); font-size: var(--fs-14); text-align: left; }
.guarantee svg { width: 18px; height: 18px; color: var(--up); flex: none; margin-top: 1px; }

/* Landing: one-column hero, live proof strip, demo, 8-card feature grid, comparison table */
.hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.solo h1 { max-width: 880px; }
.hero.solo { padding-bottom: var(--s-10); }
.proof-strip { padding: 0 0 var(--s-10); }
.proof-strip .wrap { display: flex; flex-direction: column; gap: var(--s-3); }
.ps-live { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.ps-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: 0; }
.ps-stats[hidden], .ps-stats > div[hidden], .ps-empty[hidden] { display: none; }
.ps-stats > div { padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface-1); border: 1px solid var(--border); }
.ps-stats dt { font-size: var(--fs-13); color: var(--text-3); margin-bottom: 4px; }
.ps-stats dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-28); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ps-empty { margin: 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); border: 1px dashed var(--border-strong); color: var(--text-2); font-size: var(--fs-14); }
@media (max-width: 760px) { .ps-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ps-stats dd { font-size: var(--fs-22); } .ps-stats > div { padding: var(--s-3) var(--s-4); } }
.demo-device { max-width: 900px; margin: 0 auto; }
.feat-grid.feat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feat-grid.feat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid.feat-4 { grid-template-columns: minmax(0, 1fr); } }
.cmp-wrap { max-width: 860px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--surface-1); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.cmp th, .cmp td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border); text-align: left; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: var(--fs-13); color: var(--text-3); font-weight: 600; background: var(--surface-2); }
.cmp thead th:nth-child(2) { color: var(--mint); }
.cmp tbody th { font-weight: 500; color: var(--text); }
.cmp td { width: 26%; text-align: center; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp td svg { width: 20px; height: 20px; display: inline-block; }
.cmp-y svg { color: var(--up); }
.cmp-n svg { color: var(--text-3); }
@media (max-width: 600px) { .cmp th, .cmp td { padding: var(--s-3) var(--s-2); } .cmp { font-size: var(--fs-13); } .cmp td { width: 22%; } }
.switch-line { display: flex; gap: var(--s-2); align-items: flex-start; justify-content: center; margin: var(--s-6) auto 0; max-width: 60ch; color: var(--text-2); font-size: var(--fs-14); text-align: left; }
.switch-line svg { width: 18px; height: 18px; color: var(--mint); flex: none; margin-top: 1px; }
.switch-line b { color: var(--text); }
.site-footer .risk-line { color: var(--text-2); margin-bottom: var(--s-2); }
.cmp td.them svg { color: var(--text-3); }
.site-links a { white-space: nowrap; }
.hero-wait { display: inline-flex; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 0; font-size: var(--fs-13); font-weight: 600; color: var(--text-2); }
