/* NuvaLead website. Single dark look by design. */
/* Geist fonts, self-hosted (SIL OFL 1.1, see /assets/fonts/OFL.txt) */
@font-face { font-family: Geist; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Sora; src: url("/assets/fonts/Sora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sora; src: url("/assets/fonts/Sora-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  /* Layout: 1200px content column, sections separated by hairlines, one ambient light field fixed behind everything */
  --bg-0: #070D22; --bg-1: #0B1533; --bg-2: #121C3D; --bg-3: #1A2550;
  --glass: rgba(20, 30, 62, 0.55);
  --line: #1c2747; --line-strong: #2b3a66; --line-control: #56669a;
  --ink: #e9eefb; --ink-muted: #a1acc8; --ink-faint: #7c88a8;
  --blue: #2D5BFF; --blue-400: #6E8BFF; --blue-text: #8FA6FF;
  --cyan: #16C79A; --cyan-wash: rgba(22, 199, 154, .10);
  --violet: #16C79A;
  --gray: #94a0bf; --gray-wash: rgba(148, 160, 191, .10);
  --success: #34d399; --warning: #fbbf24; --danger: #f87171; --focus: #8fb3ff;
  --sans: Geist, "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: Sora, Geist, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-0); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-0); color: var(--ink); font: 400 15px/24px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--blue-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--display); letter-spacing: -.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ambient light */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -22vw; background: radial-gradient(circle, rgba(45,91,255,.75), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: -6vw; background: radial-gradient(circle, rgba(22,199,154,.38), transparent 65%); animation: drift2 26s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 38vw; height: 38vw; right: 10vw; top: 30vw; background: radial-gradient(circle, rgba(22,199,154,.35), transparent 65%); animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate3d(8vw, 6vw, 0) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate3d(-6vw, 8vw, 0) scale(.92); } }
@keyframes drift3 { 50% { transform: translate3d(-10vw, -6vw, 0) scale(1.08); } }
.gridbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(233,238,251,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(233,238,251,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }

/* Nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg-0); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,13,34,.72); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav__in { height: 68px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav__links { display: flex; gap: 4px; flex: 1; }
.nav__links a { position: relative; padding: 8px 12px; border-radius: 8px; color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(233,238,251,.05); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: linear-gradient(90deg, var(--blue-400), var(--cyan)); }
.nav__cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.sheet { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .sheet { position: fixed; inset: 0; z-index: 70; background: rgba(7,13,34,.96); backdrop-filter: blur(12px); padding: calc(env(safe-area-inset-top, 0px) + 20px) max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
  .sheet.open { opacity: 1; pointer-events: auto; }
  .sheet a { color: var(--ink); text-decoration: none; font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sheet .close { align-self: flex-end; }
}

/* Buttons */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent; font: 500 14px/20px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), background-color .2s, box-shadow .3s, border-color .2s, color .2s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 20px rgba(45,91,255,.28); }
.btn--primary::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(255,255,255,.5), transparent 40%, rgba(22,199,154,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; }
.btn--primary:hover { background: #3a73ff; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 1px rgba(91,140,255,.4), 0 10px 36px rgba(45,91,255,.5); }
.btn--secondary { background: rgba(16,23,44,.7); color: var(--ink); border-color: var(--line-control); backdrop-filter: blur(8px); }
.btn--secondary:hover { background: var(--bg-3); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink-muted); }
.btn--ghost:hover { color: var(--ink); background: rgba(233,238,251,.06); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)) scale(.985); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; font: 500 12px/16px var(--sans); white-space: nowrap; }
.chip svg { width: 12px; height: 12px; }
.chip--web { background: var(--cyan-wash); color: var(--cyan); }
.chip--places { background: var(--gray-wash); color: var(--gray); }
.chip--ok { background: rgba(52,211,153,.12); color: var(--success); }
.chip--warn { background: rgba(251,191,36,.12); color: var(--warning); }
.chip--bad { background: rgba(248,113,113,.12); color: var(--danger); }
.chip--n { background: var(--bg-3); color: var(--ink-muted); }
.demo { flex: none; white-space: nowrap; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px dashed var(--warning); color: var(--warning); font: 500 10.5px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.src { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/16px var(--mono); color: var(--ink-faint); }
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-wash), 0 0 10px var(--cyan); }
.src--places::before { background: var(--gray); box-shadow: 0 0 0 3px var(--gray-wash); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(16,23,44,.6); backdrop-filter: blur(10px); font-size: 13px; color: var(--ink-muted); text-decoration: none; }
.pill b { height: 22px; padding: 0 8px; border-radius: 999px; background: var(--cyan-wash); color: var(--cyan); font: 500 11px/22px var(--mono); }

/* Type */
.h-hero { font-size: clamp(44px, 7.4vw, 92px); line-height: .98; font-weight: 600; letter-spacing: -.048em; }
.h-page { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -.042em; }
.h-sec { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; }
.h-card { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 62ch; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.small { font-size: 13px; line-height: 20px; }
.grad { background: linear-gradient(100deg, #ffffff 0%, #b9ccff 35%, #7ea4ff 60%, #16C79A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.word { display: inline-block; white-space: pre; }

/* Sections */
.sec { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.sec--band { background: linear-gradient(180deg, rgba(10,15,30,.0), rgba(10,15,30,.75) 20%, rgba(10,15,30,.75) 80%, rgba(10,15,30,0)); }
.sec__head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.sec__head--c { margin-inline: auto; text-align: center; align-items: center; }
.hr { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* Cards */
.card { position: relative; background: linear-gradient(180deg, rgba(20,28,54,.72), rgba(12,18,36,.72)); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 50px rgba(2,4,12,.35); }
.glass { background: var(--glass); border: 1px solid var(--line-strong); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 80px rgba(2,4,12,.6); }
.spot { --x: 50%; --y: 50%; overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--x) var(--y), rgba(91,140,255,.16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--x) var(--y), rgba(126,164,255,.7), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover { transform: translateY(-3px); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(45,91,255,.25), rgba(45,91,255,.08)); border: 1px solid rgba(91,140,255,.3); color: var(--blue-text); }
.icon svg { width: 20px; height: 20px; }
.icon--cyan { background: linear-gradient(180deg, rgba(22,199,154,.22), rgba(22,199,154,.06)); border-color: rgba(22,199,154,.3); color: var(--cyan); }

.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .split, .g2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 9vw, 112px) 40px; text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.stage { position: relative; margin: 72px auto 0; max-width: 1080px; perspective: 1600px; }
.console { position: relative; border-radius: 22px; text-align: left; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); overflow: hidden; }
.console::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(126,164,255,.12), transparent 55%); }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.console__body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.search { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 14px; background: rgba(10,15,30,.75); border: 1px solid var(--line-strong); transition: box-shadow .3s, border-color .3s; }
.search.focus { border-color: rgba(91,140,255,.7); box-shadow: 0 0 0 4px rgba(45,91,255,.18), 0 10px 40px rgba(45,91,255,.25); }
.search__q { flex: 1; min-width: 0; font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 2px; height: 19px; margin-left: 1px; vertical-align: -3px; background: var(--blue-400); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.status { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); min-height: 20px; }
.scan { position: relative; height: 2px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.scan i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); transition: width .5s var(--ease); }
.rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(10,15,30,.6); min-height: 284px; }
.rows__head, .row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .9fr) 150px; gap: 16px; align-items: center; padding: 13px 18px; }
.rows__head { font: 500 11px/16px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); background: rgba(16,23,44,.8); border-bottom: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.row:last-child { border-bottom: 0; }
.row b { color: var(--ink); font-weight: 500; display: block; }
.row .em { color: var(--ink); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.enter { animation: rowIn .55s var(--ease-out) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.row.hot { background: linear-gradient(90deg, rgba(22,199,154,.07), transparent 60%); }
.float { position: absolute; z-index: 2; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; text-align: left; animation: bob 7s ease-in-out infinite; }
.float--a { left: -64px; top: 46%; width: 270px; }
.float--b { right: -56px; top: 14%; width: 236px; animation-delay: -2.5s; }
.float--c { right: -24px; bottom: -36px; width: 268px; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.stage__glow { position: absolute; inset: 10% 5% -10%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(45,91,255,.35), transparent 70%); filter: blur(40px); }
@media (max-width: 1180px) { .float--a { left: -12px; } .float--b { right: -12px; } }
@media (max-width: 900px) { .float { display: none; } .rows__head, .row { grid-template-columns: minmax(0, 1fr) 128px; } .rows__head span:nth-child(2), .rows__head span:nth-child(3), .row > :nth-child(2), .row > :nth-child(3) { display: none; } .console { transform: none; } }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(16,23,44,.55); color: var(--ink-muted); font-size: 14px; white-space: nowrap; }
.marquee__track span i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { display: flex; flex-direction: column; gap: 14px; }
.b-4 { grid-column: span 4; } .b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-4, .b-2, .b-3 { grid-column: span 2; } }
@media (min-width: 1025px) { .b-2 .viz, .b-4 .viz { margin-top: auto; } }
.viz { border-radius: 12px; border: 1px solid var(--line); background: rgba(7,13,34,.55); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.viz .ln { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; }
.badge-soon { margin-left: auto; }

/* Compare table */
.compare { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(10,15,30,.6); }
.compare__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > div { padding: 16px 22px; font-size: 14px; }
.compare__row > div + div { border-left: 1px solid var(--line); }
.compare__row--h > div { font: 500 11px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); background: rgba(16,23,44,.7); }
.x { color: var(--ink-faint); }
.x::before { content: "×  "; color: var(--danger); }
.v::before { content: "✓  "; color: var(--cyan); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps__line { position: absolute; left: 4%; right: 4%; top: 26px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 1)); background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.step__n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-strong); font: 500 15px/1 var(--mono); color: var(--blue-text); box-shadow: 0 0 0 6px var(--bg-0); position: relative; z-index: 1; }
.step:last-child .step__n { color: var(--cyan); border-color: rgba(22,199,154,.6); }
@media (max-width: 1024px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } .steps__line { left: 25px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .steps__line i { transform-origin: top; transform: scaleY(var(--p, 1)); } .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 20px; } .step > :not(.step__n) { grid-column: 2; } .step__n { grid-row: span 3; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 32px; }
.plan--hot { border-color: rgba(91,140,255,.55); }
.plan--hot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--blue-400), transparent 35%, transparent 65%, var(--cyan)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 500 56px/1 var(--mono); letter-spacing: -.04em; }
.list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.list li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-muted); }
.list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px; background: var(--cyan-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316C79A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.rule { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rule:last-child { border-bottom: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Simulator */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.sim__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.meter { height: 8px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px rgba(22,199,154,.5); transition: width .6s var(--ease-out); }
.ledger { display: flex; flex-direction: column; }
.ledger div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 13px; animation: rowIn .45s var(--ease-out) both; }
.balance { font: 500 48px/1 var(--mono); letter-spacing: -.04em; transition: color .3s; }
.balance.tick { color: var(--cyan); }
@media (max-width: 900px) { .sim { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s; }
.faq summary i::before { content: "+"; font: 400 16px/1 var(--mono); color: var(--ink-muted); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--bg-3); }
.faq .ans { overflow: hidden; }
.faq .ans p { padding: 0 48px 22px 0; color: var(--ink-muted); max-width: 70ch; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10,15,30,.6); width: fit-content; max-width: 100%; }
.tab { position: relative; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-muted); font: 500 14px/20px var(--sans); cursor: pointer; transition: color .2s, background-color .3s; }
.tab[aria-selected="true"] { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Forms */
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 500; }
.input, .select, textarea.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-control); background: rgba(10,15,30,.75); color: var(--ink); font: 400 15px/22px var(--sans); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: 140px; padding-block: 12px; resize: vertical; }
.input::placeholder { color: var(--ink-faint); }
.input:focus, .select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(45,91,255,.2); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid rgba(52,211,153,.5); color: var(--success); font-size: 14px; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth__form { display: flex; flex-direction: column; padding: 28px max(20px, 6vw); gap: 40px; }
.auth__form form { width: 100%; max-width: 400px; margin: auto 0; display: flex; flex-direction: column; gap: 18px; }
.auth__side { position: relative; overflow: hidden; border-left: 1px solid var(--line); display: grid; place-items: center; padding: 48px; background: rgba(10,15,30,.5); }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth__side { display: none; } }

/* Blog */
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.cover { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.cover i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(126,164,255,.35); left: 62%; top: 44%; transform: translate(-50%, -50%); transition: transform .6s var(--ease-out); }
.cover i:nth-child(1) { width: 36px; height: 36px; border-color: rgba(22,199,154,.7); }
.cover i:nth-child(2) { width: 96px; height: 96px; }
.cover i:nth-child(3) { width: 170px; height: 170px; border-color: rgba(126,164,255,.18); }
.cover b { position: absolute; left: 62%; top: 44%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(233,238,251,.09) 1px, transparent 1px); background-size: 18px 18px; }
.post:hover .cover i { transform: translate(-50%, -50%) scale(1.12); }
.post:hover h3 { color: var(--blue-text); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: rgba(7,13,34,.8); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 40px; }
.foot__grid h4 { margin: 0 0 14px; font: 500 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.foot__grid a { display: block; padding: 5px 0; color: var(--ink-muted); text-decoration: none; font-size: 14px; }
.foot__grid a:hover { color: var(--ink); }
.foot__grid a.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 600; }
.foot__base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
.wordmark { font-size: clamp(64px, 16vw, 220px); line-height: .8; font-weight: 600; letter-spacing: -.06em; text-align: center; padding-top: 40px; background: linear-gradient(180deg, rgba(233,238,251,.14), rgba(233,238,251,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; overflow: hidden; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__grid > :first-child { grid-column: span 2; } }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 8vw, 96px) 24px; text-align: center; border: 1px solid var(--line-strong); background: radial-gradient(60% 90% at 50% 110%, rgba(45,91,255,.45), transparent 70%), radial-gradient(40% 60% at 85% 100%, rgba(22,199,154,.25), transparent 70%), rgba(10,15,30,.7); }
.cta .rings { position: absolute; left: 50%; top: 115%; transform: translate(-50%, -50%); pointer-events: none; }
.cta .rings i { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(126,164,255,.18); transform: translate(-50%, -50%); animation: ring 6s var(--ease) infinite; }
.cta .rings i:nth-child(1) { width: 400px; height: 400px; }
.cta .rings i:nth-child(2) { width: 700px; height: 700px; animation-delay: -2s; }
.cta .rings i:nth-child(3) { width: 1000px; height: 1000px; animation-delay: -4s; }
@keyframes ring { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* Page hero for inner pages */
.phero { position: relative; padding-block: clamp(64px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.crumb { font-size: 13px; color: var(--ink-faint); }
.crumb a { color: var(--ink-faint); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* Pipeline (how it works page) */
.pipe { position: relative; display: flex; flex-direction: column; }
.pipe__rail { position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.pipe__rail i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--p, 1)); background: linear-gradient(var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.pstep { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 40px; }
.pstep .step__n { transition: border-color .4s, color .4s, box-shadow .4s; }
.pstep.lit .step__n { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px var(--bg-0), 0 0 24px rgba(22,199,154,.4); }
@media (max-width: 900px) { .pstep { grid-template-columns: 52px minmax(0, 1fr); gap: 16px 20px; } .pstep > .card { grid-column: 2; } }

/* Motion: enter animations run only when JS adds .js-motion; content is visible without it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .aurora i { animation: none; }
}

/* ===== 3D layer ===== */
.hero--3d { text-align: left; padding-block: clamp(32px, 6vw, 72px) 24px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero--3d .hero__copy { align-items: flex-start; }
.hero--3d .hero__ctas { justify-content: flex-start; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 10px; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts b { font: 500 22px/1.1 var(--mono); letter-spacing: -.03em; }
.facts span { font-size: 12px; color: var(--ink-faint); }
.globe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; justify-self: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.globe.grab { cursor: grabbing; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe__halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(7,13,34,.0) 55%, rgba(45,91,255,.28) 66%, rgba(22,199,154,.10) 72%, transparent 76%), radial-gradient(circle at 38% 34%, rgba(91,140,255,.18), transparent 60%); pointer-events: none; }
.globe__halo::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(45,91,255,.22), transparent 62%); filter: blur(30px); z-index: -1; }
.globe.no-gl .globe__halo { background: radial-gradient(circle at 40% 35%, rgba(91,140,255,.55), rgba(16,23,44,.9) 55%, rgba(45,91,255,.3) 70%, transparent 72%); }
.glabel { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: -36px 0 0 10px; padding: 6px 10px 6px 8px; border-radius: 10px; background: rgba(10,15,30,.78); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.glabel i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.glabel b { font: 500 11px/1 var(--mono); color: var(--cyan); }
.globe__hint { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); pointer-events: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero--3d .hero__copy { align-items: center; text-align: center; }
  .hero--3d .hero__ctas { justify-content: center; width: 100%; }
  .hero--3d .hero__ctas .btn { flex: 1 1 100%; }
  .facts { justify-content: center; gap: 20px; }
  .globe { width: 128%; max-width: none; margin: -10px -14% -40px; justify-self: stretch; }
  .glabel { font-size: 11px; }
}

/* Product stage that flattens as it scrolls in */
.stage3d { --f: 1; perspective: 1400px; max-width: 1120px; margin: 0 auto; position: relative; }
.stage3d .tilt3d { position: relative; transform-style: preserve-3d; transform: rotateX(calc(26deg * (1 - var(--f)))) scale(calc(.88 + .12 * var(--f))) translateY(calc(40px * (1 - var(--f)))); transform-origin: 50% 0%; will-change: transform; }
.stage3d .console { transform: none; transition: none; }
.stage3d .float { transform: translateZ(80px); animation: none; }
.stage3d .float--b { transform: translateZ(120px); }
.stage3d .float--c { transform: translateZ(60px); }
.float-in { animation: bobz 7s ease-in-out infinite; }
@keyframes bobz { 50% { translate: 0 -10px; } }

/* 3D tilt on cards */
.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px)); transition: transform .5s var(--ease-out), border-color .3s; }
.tilt:hover { --lift: -4px; transition: transform .12s linear, border-color .3s; }
.tilt.spot:hover { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px); }
.tilt > * { transform: translateZ(22px); }
.tilt > .viz { transform: translateZ(36px); }

/* 3D carousel of contact "receipts" */
.orbit { position: relative; height: 520px; perspective: 1500px; display: grid; place-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.orbit__ring { --r: 430px; position: relative; width: 250px; height: 168px; transform-style: preserve-3d; animation: orbit 36s linear infinite; }
.orbit:hover .orbit__ring { animation-play-state: paused; }
.orbit__card { position: absolute; inset: 0; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 7px; transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.orbit__card .mono { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orbit__core { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(45,91,255,.5), rgba(22,199,154,.12) 45%, transparent 70%); filter: blur(10px); animation: pulse 4s ease-in-out infinite; }
.orbit__floor { position: absolute; bottom: 40px; width: 900px; height: 900px; border-radius: 50%; border: 1px solid rgba(126,164,255,.16); transform: rotateX(80deg); background: radial-gradient(circle, rgba(45,91,255,.12), transparent 60%); }
@keyframes orbit { from { transform: rotateX(-8deg) rotateY(0deg); } to { transform: rotateX(-8deg) rotateY(-360deg); } }
@keyframes pulse { 50% { transform: scale(1.15); opacity: .7; } }
@media (max-width: 640px) { .orbit { height: 400px; } .orbit__ring { --r: 250px; width: 200px; height: 150px; } .orbit__card { padding: 12px; } }

/* Scroll progress and mobile CTA */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 2px; z-index: 65; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 10px var(--cyan); pointer-events: none; }
.mcta { display: none; }
@media (max-width: 900px) {
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 55; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 16px; transform: translateY(140%); transition: transform .45s var(--ease-out); }
  .mcta.show { transform: none; }
  .mcta span { flex: 1; font-size: 13px; color: var(--ink-muted); }
}

/* Mobile polish */
@media (max-width: 900px) {
  .sec { padding-block: 72px; }
  .sec__head { margin-bottom: 36px; }
  .card { padding: 20px; border-radius: 16px; }
  .plan { padding: 24px; }
  .price b { font-size: 46px; }
  .rows { min-height: 0; }
  .rows__head { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a d" "b b"; row-gap: 6px; padding: 12px 14px; }
  .row > :nth-child(1) { grid-area: a; } .row > :nth-child(2) { grid-area: b; display: block !important; font-size: 12px; }
  .row > :nth-child(3) { display: none; } .row > :nth-child(4) { grid-area: d; }
  .console__body { padding: 14px; }
  .search { padding-left: 12px; } .search__q { font-size: 14px; }
  .search .chip { display: none; }
  .stage3d .float { display: none; }
  .compare__row > div { padding: 13px 14px; font-size: 13px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .faq .ans p { padding-right: 8px; }
  .input, .select, textarea.input { font-size: 16px; }
  .foot { padding-bottom: 84px; }
  .btn--lg { height: 54px; }
}
@media (max-width: 400px) { .h-hero { font-size: 40px; } .facts b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .orbit__ring { animation: none; transform: rotateX(-8deg) rotateY(-20deg); } .stage3d { --f: 1 !important; } }
.orbit__card.glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(23,32,64,.96), rgba(12,18,36,.96)); }

.hero--3d .h-hero { font-size: clamp(42px, 5.4vw, 78px); }
@media (min-width: 901px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }

/* fixes after browser review */
.stage3d .float--a { left: -128px; top: 54%; width: 250px; }
.stage3d .float--b { right: -96px; top: -44px; width: 224px; }
.stage3d .float--c { right: -70px; bottom: -48px; width: 270px; }
.float .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 1320px) { .stage3d .float--a { left: -40px; top: 62%; } .stage3d .float--b { right: -24px; } .stage3d .float--c { right: -16px; } }
.orbit__floor { top: 50%; left: 50%; bottom: auto; margin: -450px 0 0 -450px; transform: translateY(150px) rotateX(82deg); }
.pill .short { display: none; }
@media (max-width: 640px) { .pill .long { display: none; } .pill .short { display: inline; } }
@media (max-width: 900px) {
  .hero--3d .hero__grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .hero--3d .hero__copy { display: contents; }
  .hero--3d .pill { order: 1; } .hero--3d .h-hero { order: 2; } .hero--3d .globe { order: 3; } .hero--3d .lead { order: 4; } .hero--3d .hero__ctas { order: 5; } .hero--3d .facts { order: 6; }
  .globe { width: 118%; margin: -24px 0 -36px; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .facts div { align-items: center; text-align: center; }
  .facts span { font-size: 11px; line-height: 15px; }
}
.stage3d .float--a { left: -56px; top: auto; bottom: -72px; width: 270px; }
.stage3d .float--b { right: -56px; top: auto; bottom: -64px; width: 230px; }
.stage3d .float--c { left: -40px; right: auto; top: -52px; bottom: auto; width: 280px; }
@media (max-width: 1320px) { .stage3d .float--a { left: -12px; top: auto; } .stage3d .float--b { right: -12px; } .stage3d .float--c { left: -12px; } }
.stage3d { margin-bottom: 72px; }
.stage3d .float--a { bottom: -128px; }
.stage3d .float--b { bottom: -112px; }
.stage3d { margin-bottom: 140px; }
@media (max-width: 900px) { .stage3d { margin-bottom: 24px; } }

/* SEO pages: legal, articles, footer headings */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 500; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.foot__h { margin: 0 0 14px; font: 500 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.foot__grid nav a { display: block; padding: 5px 0; color: var(--ink-muted); text-decoration: none; font-size: 14px; }
.foot__grid nav a:hover { color: var(--ink); }
.legal-head { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin-left: auto; margin-right: auto; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1100px; margin-left: auto; margin-right: auto; padding-bottom: 72px; }
.legal__toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.legal__toc a { padding: 6px 0; color: var(--ink-faint); text-decoration: none; font-size: 14px; }
.legal__toc a:hover { color: var(--ink); }
.prose { max-width: 72ch; min-width: 0; color: var(--ink-muted); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; color: var(--ink); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; scroll-margin-top: 96px; }
.prose h3 { margin-top: 28px; color: var(--ink); font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--blue-text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink-faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.answer { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(22,199,154,.35); background: linear-gradient(180deg, rgba(22,199,154,.07), rgba(22,199,154,.02)); }
.answer p:last-child { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.6; }
.byline { display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 600; font-size: 14px; }
.authorbox { display: flex; gap: 16px; align-items: center; margin-top: 40px !important; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(16,23,44,.6); }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; } .legal__toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border-left: 0; padding-left: 0; } .prose { font-size: 16px; } }
@media (max-width: 900px) { .legal__toc .foot__h { flex-basis: 100%; margin-bottom: 4px; } }

/* four-plan grid */
.plans.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1200px; gap: 18px; }
.plans--4 .plan { padding: 26px; }
@media (max-width: 1100px) { .plans.plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans.plans--4 { grid-template-columns: minmax(0, 1fr); } }

/* footer with five link columns */
.foot__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* comparison table */
.ctable { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 14px 22px; border-top: 1px solid var(--line); }
.ctable thead th { color: var(--ink); font-weight: 600; background: rgba(255,255,255,.02); }
.ctable tbody th { color: var(--ink-muted); font-weight: 500; width: 30%; }
.ctable td { color: var(--ink); }
.ctable td:last-child { color: var(--cyan); }
@media (max-width: 640px) { .ctable { min-width: 0; font-size: 13px; } .ctable th, .ctable td { padding: 10px 12px; } .ctable tbody th { width: 30%; } }

/* Fix 16 Nov 2026: stable demo height + no overflow on phones */
.row--wait { visibility: hidden; }
@media (max-width: 600px) {
  .console__bar > .mono { display: none; }
  .demo { font-size: 10px; letter-spacing: .04em; }
}
