/* Kentora website. Tokens from /shared/tokens.css; no inline styles anywhere (CSP). */
@import url('/shared/tokens.css');

:root { --site-max: 1180px; --hero-ink: #0f1626; }
body { background: var(--surface); }
.container { max-width: var(--site-max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
section { scroll-margin-top: 80px; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-logo img { height: 30px; width: auto; }
:root[data-theme="dark"] .nav-logo img, :root[data-theme="dark"] .foot-logo img { filter: invert(1) hue-rotate(180deg) brightness(1.2); }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .nav-logo img, :root:where(:not([data-theme="light"])) .foot-logo img { filter: invert(1) hue-rotate(180deg) brightness(1.2); } }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--surface-3); text-decoration: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle:hover { background: var(--surface-3); }
@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow-2); }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 480px) { .nav.is-open .nav-links .nav-mobile-cta { display: flex; } .nav-inner { gap: 12px; } }
.nav-mobile-cta { display: none; gap: 8px; padding-top: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 650; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(47,107,255,.35), 0 8px 24px -8px rgba(47,107,255,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-3); color: var(--ink); }
.btn-dark { background: var(--hero-ink); color: #fff; }
.btn-dark:hover { background: #1d2740; }
.btn-light { background: #fff; color: var(--hero-ink); }
.btn-light:hover { background: #eef2ff; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { flex: none; }

/* ---------------------------------------------------------------- type */
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--accent-ink); background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); padding: 5px 12px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa) 25%, transparent); }
.display { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: var(--ink); }
.display em { font-style: normal; background: linear-gradient(100deg, var(--accent) 10%, #7c5cff 60%, #0ea5a4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 780; }
.h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--hero-ink); color: #e8ecf5; }
.section-dark .h2 { color: #fff; } .section-dark .lede, .section-dark p { color: #aab4c8; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 760px; pointer-events: none;
  background: radial-gradient(520px 360px at 18% 18%, rgba(47,107,255,.14), transparent 70%), radial-gradient(520px 380px at 82% 12%, rgba(37,211,102,.12), transparent 70%), radial-gradient(600px 400px at 60% 70%, rgba(124,92,255,.10), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: 13.5px; font-weight: 520; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--good); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 40px 0 64px; } }

/* the CSS-built product composition */
.compo { position: relative; min-height: 560px; }
.mock { position: absolute; right: 0; top: 44px; width: 80%; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(16,24,40,.35), var(--shadow-2); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 550; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 400px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.mock-side b { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 8px 6px 4px; font-weight: 650; }
.mock-side span { font-size: 12px; color: var(--ink-2); padding: 6px 8px; border-radius: 7px; font-weight: 550; }
.mock-side span.on { background: var(--accent-wash); color: var(--accent-ink); }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.mock-title { font-weight: 750; font-size: 16px; letter-spacing: -0.01em; }
.mock-sub { font-size: 11.5px; color: var(--ink-3); margin-top: -8px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mock-stat small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 550; }
.mock-stat strong { display: block; white-space: nowrap; font-size: 14px; font-weight: 750; margin-top: 2px; letter-spacing: -0.01em; }
.mock-stat em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--good-ink); background: var(--good-wash); padding: 1px 5px; border-radius: 999px; }
.mock-stat em.bad { color: var(--bad-ink); background: var(--bad-wash); }
.mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock-card h5 { margin: 0 0 8px; font-size: 12px; font-weight: 700; }
.mock-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.mock-row:first-of-type { border-top: 0; }
.mock-row .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff; font-size: 10px; font-weight: 800; }
.mock-row .grow { flex: 1; min-width: 0; color: var(--ink-2); }
.mock-row .grow b { color: var(--ink); font-weight: 650; }
.mock-row .ok { font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 7px; }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; padding-top: 4px; }
.mock-bars i { flex: 1; background: var(--series-1); border-radius: 4px 4px 0 0; opacity: .85; }
.mock-bars i:last-child { opacity: 1; }
.h20 { height: 20%; } .h28 { height: 28%; } .h35 { height: 35%; } .h42 { height: 42%; } .h48 { height: 48%; } .h55 { height: 55%; } .h62 { height: 62%; } .h70 { height: 70%; } .h78 { height: 78%; } .h86 { height: 86%; } .h94 { height: 94%; } .h100 { height: 100%; }
.c-green { background: #16a36a; } .c-blue { background: #2f6bff; } .c-violet { background: #7c5cff; } .c-red { background: #e5484d; } .c-amber { background: #e8a317; } .c-teal { background: #0ea5a4; }

.phone { position: absolute; left: 0; top: 0; width: 280px; border-radius: 42px; padding: 10px; background: #0b0f17; box-shadow: 0 40px 90px -30px rgba(10,14,25,.6), 0 0 0 1px rgba(255,255,255,.06) inset; z-index: 2; }
.phone-screen { border-radius: 33px; overflow: hidden; background: #efeae2; height: 560px; display: flex; flex-direction: column; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: #075e54; color: #fff; }
.wa-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.wa-av img { width: 22px; height: 22px; }
.wa-head b { display: block; font-size: 14px; font-weight: 650; } .wa-head small { font-size: 11px; opacity: .8; }
.wa-thread { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  background-color: #efeae2; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa-day { align-self: center; font-size: 10.5px; color: #54656f; background: #fff; padding: 3px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.bubble { max-width: 88%; padding: 7px 9px 16px; border-radius: 9px; font-size: 12.5px; line-height: 1.4; color: #111b21; position: relative; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.bubble time { position: absolute; right: 8px; bottom: 3px; font-size: 9.5px; color: #667781; }
.bubble b { font-weight: 700; }
.bubble .bl { display: block; margin-top: 4px; }
.bubble .tick { color: #53bdeb; }
.wa-quick { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; max-width: 88%; }
.wa-quick span { background: #fff; color: #027eb5; font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 9px; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #f0f2f5; }
.wa-input span { flex: 1; background: #fff; border-radius: 20px; height: 34px; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: #8696a0; }
.wa-input i { width: 34px; height: 34px; border-radius: 50%; background: #00a884; display: grid; place-items: center; color: #fff; }
.compo-tag { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 12.5px; }
.compo-tag b { display: block; font-size: 13px; } .compo-tag small { color: var(--ink-3); }
.compo-tag .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.compo-tag.t1 { right: 18px; bottom: 0; } .compo-tag.t2 { right: -8px; top: 0; }
@media (max-width: 1180px) { .compo-tag.t2 { right: 8px; } }
@media (max-width: 560px) {
  .compo { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
  .mock, .phone { position: relative; width: 100%; top: 0; }
  .mock { order: 2; } .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; }
  .phone { width: min(300px, 100%); margin: 0 auto; }
  .compo-tag { display: none; }
}

/* ---------------------------------------------------------------- logos strip */
.works-with { padding: 32px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.works-with p { color: var(--ink-3); font-size: 13.5px; font-weight: 550; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.pill .lm { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; }
.lm-xero { background: #13b5ea; } .lm-myob { background: #6100a5; } .lm-qb { background: #2ca01c; } .lm-odoo { background: #714b67; } .lm-bc { background: #0b6a8a; } .lm-gs { background: #0f9d58; } .lm-xl { background: #1d6f42; } .lm-k { background: var(--ink); }

/* ---------------------------------------------------------------- grids + cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 12px; position: relative; }
.card p { color: var(--ink-2); line-height: 1.6; }
.card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.ico-soft { background: var(--accent-wash); color: var(--accent-ink); }
.step-n { font-size: 13px; font-weight: 750; color: var(--accent-ink); }
.check-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 9px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.check-list li svg { flex: none; margin-top: 3px; color: var(--good); }
.section-dark .check-list li { color: #c3cbe0; }
.tagline { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.badge-free { background: var(--good-wash); color: var(--good-ink); } .badge-soon { background: var(--surface-3); color: var(--ink-3); } .badge-paid { background: var(--accent-wash); color: var(--accent-ink); }
.badge-wa { background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--wa-dark); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price { font-size: 15px; font-weight: 700; color: var(--ink); }
.price small { font-size: 12.5px; font-weight: 550; color: var(--ink-3); }
.agent-card.is-soon { opacity: .78; }

/* the three paths */
.path { padding: 30px; gap: 16px; }
.path .h3 { font-size: 21px; }
.path .pills { justify-content: flex-start; gap: 6px; }
.path .pill { padding: 5px 10px; font-size: 12.5px; }
.path-feature { border: 2px solid var(--accent); box-shadow: 0 20px 60px -30px rgba(47,107,255,.45); }
.path-feature .ribbon { position: absolute; top: -12px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* WhatsApp lanes */
.lanes { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.lane { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.lane h3 { color: #fff; font-size: 20px; }
.lane-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.lane-tag.green { background: rgba(37,211,102,.18); color: #6ee7a8; }
.lane-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lane-hub .hub { width: 96px; height: 96px; border-radius: 28px; background: linear-gradient(135deg, #2f6bff, #7c5cff); display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(47,107,255,.6); }
.lane-hub .hub img { width: 52px; height: 52px; filter: invert(1); }
.lane-hub small { color: #8f9bb3; font-weight: 600; font-size: 12px; }
.lane-hub .arrows { color: #5b6b8c; }
.lane-flow { display: flex; flex-direction: column; gap: 8px; }
.lane-flow span { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #c3cbe0; }
.lane-flow span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; flex: none; }
@media (max-width: 900px) { .lanes { grid-template-columns: 1fr; } .lane-hub { flex-direction: row; } .lane-hub .arrows { transform: rotate(90deg); } }

/* markets */
.market { gap: 10px; }
.flag { font-size: 30px; line-height: 1; }
.kv-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; margin: 0; }
.kv-list dt { color: var(--ink-3); } .kv-list dd { margin: 0; font-weight: 600; }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-band div { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.stats-band strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.stats-band span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 840px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; line-height: 1.65; }

/* CTA band */
.cta-band { border-radius: 28px; padding: 56px; background: radial-gradient(500px 260px at 15% 0%, rgba(47,107,255,.45), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(37,211,102,.28), transparent 70%), var(--hero-ink);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; font-weight: 780; max-width: 640px; color: #fff; }
.cta-band p { color: #b5bfd4; margin-top: 10px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 32px 22px; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-logo img { height: 28px; width: auto; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--ink-2); font-size: 14px; }
.foot-note { color: var(--ink-3); font-size: 13.5px; line-height: 1.6; margin-top: 12px; max-width: 340px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 520px; pointer-events: none; background: radial-gradient(520px 300px at 30% 30%, rgba(47,107,255,.12), transparent 70%), radial-gradient(420px 260px at 80% 20%, rgba(124,92,255,.10), transparent 70%); }
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.page-hero.center .container { align-items: center; text-align: center; }

/* pricing */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 14px; background: var(--surface-3); }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 10px; font-weight: 650; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.plan { padding: 30px; gap: 16px; }
.plan .amount { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; }
.plan .amount small { font-size: 15px; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.plan-core { border: 2px solid var(--good); }
.price-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.price-row:first-child { border-top: 0; }
.price-row .grow { flex: 1; min-width: 0; }
.price-row .grow b { display: block; } .price-row .grow span { color: var(--ink-3); font-size: 13.5px; }
.price-row input { width: 20px; height: 20px; accent-color: var(--accent); }
.price-row .price { min-width: 120px; text-align: right; }
.total-box { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--accent-wash); margin-top: 8px; font-weight: 650; }
.total-box strong { font-size: 24px; letter-spacing: -0.02em; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { white-space: nowrap; text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-weight: 700; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }

/* how it works: flow */
.flow { display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 48px; position: relative; }
.flow-step::before { content: ''; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.flow-step:last-child::before { display: none; }
.flow-num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), #7c5cff); box-shadow: 0 14px 30px -12px rgba(47,107,255,.6); }
.flow-body { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.flow-body .h3 { font-size: 23px; }
.flow-body > p { color: var(--ink-2); line-height: 1.65; max-width: 760px; font-size: 16px; }
.q-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.q-demo h4 { font-size: 15.5px; }
.q-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; }
.q-opt.on { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 1px var(--accent) inset; }
.q-opt .rd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.q-opt.on .rd { border: 5px solid var(--accent); }
.q-opt .grow { flex: 1; } .q-opt small { color: var(--ink-3); }
.q-ev { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; }
.q-ev code { background: var(--surface-3); padding: 2px 6px; border-radius: 6px; color: var(--ink-2); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.check-grid div { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.check-grid div b { color: var(--ink); display: block; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } .flow-step { grid-template-columns: 44px 1fr; gap: 16px; } .flow-num { width: 44px; height: 44px; border-radius: 14px; font-size: 17px; } .flow-step::before { left: 21px; top: 44px; } }

/* security */
.control { gap: 8px; padding: 22px; }
.control h3 { font-size: 16.5px; }
.control .cid { font-size: 11.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }

/* ---------------------------------------------------------------- auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: radial-gradient(500px 300px at 20% 10%, rgba(47,107,255,.5), transparent 70%), radial-gradient(500px 300px at 90% 90%, rgba(37,211,102,.25), transparent 70%), var(--hero-ink);
  color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-side img { height: 30px; width: auto; filter: invert(1) brightness(2); }
.auth-side h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 780; color: #fff; max-width: 480px; }
.auth-side .check-list li { color: #c9d2e6; }
.auth-quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px; font-size: 14px; color: #d4dbea; line-height: 1.6; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--surface); }
.auth-form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.auth-form h1 { font-size: 28px; letter-spacing: -0.03em; font-weight: 780; }
.auth-form .sub { color: var(--ink-2); margin-top: -8px; }
.auth-top { display: none; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-top { display: flex; justify-content: center; margin-bottom: 8px; } .auth-top img { height: 28px; } .auth-main { padding: 32px 16px; align-items: flex-start; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 650; }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.field .err { font-size: 12.5px; color: var(--bad-ink); font-weight: 600; }
.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.input.has-error { border-color: var(--bad); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e7787' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input-code { letter-spacing: .4em; font-size: 22px; text-align: center; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.meter { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .2s, background .2s; background: var(--bad); }
.meter span.m1 { width: 25%; } .meter span.m2 { width: 50%; background: var(--warn); } .meter span.m3 { width: 75%; background: var(--good); } .meter span.m4 { width: 100%; background: var(--good); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.alert-bad { background: var(--bad-wash); border-color: color-mix(in srgb, var(--bad) 30%, transparent); color: var(--bad-ink); }
.alert-info { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.small { font-size: 13.5px; color: var(--ink-3); }
.small a { font-weight: 600; }
.terms { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.nf .code { font-size: 96px; font-weight: 800; letter-spacing: -0.05em; background: linear-gradient(120deg, var(--accent), #7c5cff); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* reveal on scroll (site.js adds .in) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; }
.center-text { text-align: center; }
.muted { color: var(--ink-3); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.stack-col { display: flex; flex-direction: column; }

.section-head.center .eyebrow, .page-hero.center .eyebrow { align-self: center; }
@media (max-width: 980px) { .compo { max-width: 720px; width: 100%; margin: 0 auto; } }

.card > .badge, .plan > .badge { align-self: flex-start; }
.row.center-text { justify-content: center; }
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: #b7c9ff; border-color: rgba(255,255,255,.14); }
.top { align-items: start; }
.nowrap { white-space: nowrap; }
.flow-body .pills { justify-content: flex-start; }
.check-grid svg { color: var(--good); flex: none; margin-top: 2px; }

/* ---------------------------------------------------------------- accounts (P4): legal pages, consent checkbox, honeypot */
.legal { padding: 8px 0 72px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 21px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; font-size: 15.5px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 650; background: var(--surface-2); }
.legal .legal-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.legal-toc a { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) { .legal table, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line); } .legal td { border: 0; padding: 2px 0; } .legal td:first-child { color: var(--ink); font-weight: 650; } }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.field .agree { font-weight: 400; font-size: 13.5px; }
.agree.has-error input { outline: 2px solid var(--bad); outline-offset: 2px; border-radius: 3px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.forgot { display: flex; justify-content: flex-end; margin-top: 6px; font-size: 13px; }
.auth-done { display: flex; flex-direction: column; gap: 14px; }
.auth-done .done-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--good-wash, #e7f6ee); color: var(--good); }
.auth-done .done-icon.bad { background: var(--bad-wash, #fdecec); color: var(--bad); }
.legal-toc a[aria-current="page"] { background: var(--accent-wash); border-color: transparent; color: var(--accent-ink); font-weight: 650; }
.legal-hero .container { max-width: 820px; }
.legal-hero { padding-bottom: 8px; }
