/* Neykosa. One colour system: ink on white, one ember accent that always means "live, on the device". */
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/plex-mono-700.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-600i.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --bg: #ffffff;
  --paper: #f6f5f2;
  --ink: #0d0f12;
  --ink-2: #353b44;
  --muted: #5d6570;
  --line: #e6e3dd;
  --line-2: #d8d4cc;
  --accent: #ff5a1f;          /* ember: live / on device (non-text, or large text) */
  --accent-ink: #b93c0d;      /* ember for small text, 5.4:1 on white */
  --accent-soft: #fff1ea;
  --good: #137a4b;
  --night: #0b0d10;
  --night-2: #14171c;
  --night-line: #262a31;
  --night-text: #c9ced6;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Gambetta', Georgia, 'Times New Roman', serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.032em; line-height: 1.04; }
h1 { font-size: clamp(42px, 6vw, 84px); }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
h3 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 36em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.01em; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 17px; text-decoration: none;
  cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -14px rgba(13, 15, 18, .55); }
.btn-ink:hover { background: #22262d; box-shadow: 0 16px 36px -16px rgba(13, 15, 18, .6); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.on-night .btn-line { background: transparent; color: #fff; border-color: #3a3f48; }
.on-night .btn-line:hover { border-color: #fff; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px; display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Sections */
section { position: relative; }
.section { padding: 128px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .lede { margin-top: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Reveal (IntersectionObserver adds .in) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- HERO: the device opens ---------- */
.hero { height: 430svh; background: var(--bg); }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 68% 52%, #f3f1ec 0%, rgba(243, 241, 236, 0) 70%);
}
.hero-copy {
  position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 50%;
  transform: translateY(-50%); width: min(520px, 36vw); z-index: 3;
}
.hero-copy h1 { margin-bottom: 26px; font-size: clamp(42px, 4.6vw, 68px); }
.hero-copy .lede { margin-bottom: 36px; max-width: 30em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, .5); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .45); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

.hero-steps { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); width: min(500px, 38vw); z-index: 3; pointer-events: none; }
.hstep { position: absolute; left: 0; top: 0; transform: translateY(-50%); opacity: 0; will-change: opacity, transform; }
.hstep .num { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); letter-spacing: .08em; margin-bottom: 14px; display: block; }
.hstep h2 { font-size: clamp(30px, 3.3vw, 48px); margin-bottom: 16px; }
.hstep p { color: var(--ink-2); font-size: 19px; max-width: 24em; }

.rig-wrap { position: absolute; top: 0; bottom: 0; right: max(0px, calc((100vw - var(--wrap)) / 2)); width: min(720px, 56vw); display: grid; place-items: center; z-index: 2; }
/* the scene is drawn at 460 x 640 and scaled as one piece, so every path stays in the same coordinates */
.screen { position: absolute; inset: 12px; border-radius: 36px; overflow: hidden; background: #fbfaf8; }
.scene { position: relative; width: 460px; height: 640px; flex: none; will-change: transform; }
.phone { position: absolute; left: 0; top: 52px; width: 260px; height: 540px; border-radius: 42px; background: #0a0c0f; box-shadow: 0 0 0 1.5px #2b3038, 0 50px 90px -40px rgba(13, 15, 18, .55); }
.phone .screen { inset: 10px; border-radius: 33px; }
.phone .punch { position: absolute; top: 22px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #050608; z-index: 3; }
.seal { position: absolute; inset: -9px; border-radius: 50px; border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(255, 90, 31, .12), 0 0 60px rgba(255, 90, 31, .25); opacity: 0; pointer-events: none; }
.phone .ph-body { font-size: 12px; }
.phone .ph-head { padding-top: 6px; }
.mini-card.rec { padding: 10px 12px; }
.rec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.rec-h b { font-size: 13px; }
.rec-h span { font-size: 11px; color: var(--muted); }
.phone .bub { font-size: 12px; }
.typing::after { content: ''; display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -2px; margin-left: 1px; }
.boot { position: absolute; inset: 0; opacity: 0; background: rgba(251, 250, 248, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 4; }
.boot-l { position: absolute; top: 56px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.boot-bar { position: absolute; top: 84px; left: 34px; right: 34px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.boot-bar b { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.boot-rows { position: absolute; bottom: 30px; left: 18px; right: 18px; display: flex; flex-direction: column; gap: 6px; }
.boot-rows span { font-size: 12.5px; color: var(--ink); border: 1px solid var(--line-2); background: #fff; border-radius: 9px; padding: 7px 10px; }
.chip { position: relative; width: 104px; height: 104px; border-radius: 18px; background: linear-gradient(145deg, #23272e, #16191e); box-shadow: inset 0 0 0 1px #3a404a; display: grid; place-items: center; margin-bottom: 22px; }
.chip::before { content: ''; position: absolute; inset: -46px; border-radius: 60px; background: radial-gradient(circle, rgba(255, 90, 31, .55) 0%, rgba(255, 90, 31, 0) 62%); opacity: var(--charge, 0); pointer-events: none; }
.chip-core { width: 56px; height: 56px; border-radius: 10px; background: #0c0e11; box-shadow: inset 0 0 0 1px #41474f; position: relative; overflow: hidden; }
.chip-core::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, var(--accent) 0%, rgba(255, 90, 31, 0) 70%); opacity: var(--charge, 0); }
.hcards { position: absolute; left: 284px; top: 70px; width: 176px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.hcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 13px 11px; box-shadow: 0 18px 34px -22px rgba(13, 15, 18, .35); opacity: 0; transform-origin: 0 50%; will-change: transform, opacity; }
.hcard b { display: block; font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.hcard:first-child b { color: var(--accent-ink); }
.hcard > span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }

/* the phone's screen UI (shared by hero + playground) */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--ink); }
.ph-status { height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 0; font-size: 12px; font-weight: 700; }
.ph-status .icons { display: flex; align-items: center; gap: 6px; }
.ph-status svg { width: 15px; height: 15px; }
.ph-plane { opacity: 0; color: var(--accent); transition: opacity .3s; }
.ph-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 18px 12px; border-bottom: 1px solid #eeebe6; }
.ph-av { width: 30px; height: 30px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.ph-av svg { width: 16px; height: 16px; }
.ph-title { font-weight: 700; font-size: 14px; line-height: 1.2; }
.ph-sub { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ph-sub .d { width: 6px; height: 6px; border-radius: 50%; background: #b3b8bf; }
.ph-sub.live .d { background: var(--accent); }
.ph-body { flex: 1; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.bub { max-width: 84%; padding: 9px 12px; border-radius: 16px; line-height: 1.42; font-size: 13px; }
.bub.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.bub.ai { align-self: flex-start; background: #fff; border: 1px solid #ebe8e2; border-bottom-left-radius: 5px; }
.bub.err { align-self: flex-start; background: #fff; border: 1px solid #ebe8e2; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d9d5ce; border-top-color: var(--muted); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph-input { flex: none; margin: 6px 12px 16px; height: 40px; border-radius: 20px; background: #fff; border: 1px solid #e7e3dc; display: flex; align-items: center; padding: 0 6px 0 14px; color: var(--muted); font-size: 12px; justify-content: space-between; }
.ph-input b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.ph-input b svg { width: 13px; height: 13px; }
.mini-card { background: #fff; border: 1px solid #ebe8e2; border-radius: 14px; padding: 10px 12px; font-size: 12px; align-self: stretch; }
.mini-card .row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.mini-card .row span:first-child { color: var(--muted); }
.mini-card .row span:last-child { font-weight: 700; }
.caret { display: inline-block; width: 2px; height: 1em; background: currentColor; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.meter { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--ink-2); box-shadow: 0 8px 20px -14px rgba(13, 15, 18, .25); }
.meter b { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 13px; }
.meter i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.flow { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tool {
  position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 9px; padding: 6px 10px; white-space: nowrap; opacity: 0;
  box-shadow: 0 10px 24px -16px rgba(13, 15, 18, .4); will-change: transform, opacity;
}
.tool::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-right: 7px; vertical-align: 1px; }

.laptop { position: absolute; left: 296px; top: 446px; width: 152px; transform-origin: 50% 100%; opacity: 0; will-change: transform, opacity; z-index: 1; }
.laptop .lid { height: 98px; border-radius: 10px 10px 3px 3px; background: #0d0f12; padding: 6px; box-shadow: 0 30px 60px -30px rgba(13, 15, 18, .5); }
.laptop .lid .scr { width: 100%; height: 100%; border-radius: 5px; background: #fbfaf8; position: relative; overflow: hidden; }
.laptop .base { height: 8px; margin: 0 -10px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #d9d6d0, #b9b5ae); }
.lp-ui { position: absolute; inset: 0; display: grid; grid-template-columns: 44px 1fr; }
.lp-side { background: #f1efeb; border-right: 1px solid #e5e1da; padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; }
.lp-side i { display: block; height: 5px; border-radius: 3px; background: #dedad3; }
.lp-side i:first-child { width: 60%; background: var(--ink); }
.lp-main { padding: 8px; display: flex; flex-direction: column; gap: 5px; justify-content: flex-end; }
.lp-main .bub { font-size: 8.5px; padding: 5px 7px; border-radius: 9px; max-width: 92%; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-progress { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.hero-progress i { width: 3px; height: 26px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.hero-progress i b { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }

/* ---------- Problem ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; min-height: 340px; display: flex; flex-direction: column; }
.pcard .vis { height: 150px; border-radius: 16px; background: var(--paper); margin-bottom: 28px; position: relative; overflow: hidden; }
.pcard h3 { margin-bottom: 10px; }
.pcard p { color: var(--ink-2); font-size: 17px; }
/* vis 1: bill ticker */
.vis-bill { display: grid; place-items: center; }
.vis-bill .amt { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.vis-bill .sub { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.vis-bill .bars { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; gap: 4px; align-items: flex-end; height: 34px; }
.vis-bill .bars i { flex: 1; background: var(--line-2); border-radius: 2px; }
/* vis 2: data leaving */
.vis-data .p { position: absolute; left: 22%; top: 50%; width: 30px; height: 56px; margin-top: -28px; border-radius: 7px; border: 2px solid var(--ink); }
.vis-data .c { position: absolute; right: 18%; top: 50%; margin-top: -20px; width: 64px; height: 40px; }
.vis-data .pk { position: absolute; top: 50%; left: calc(22% + 34px); width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--accent); animation: pk 2.4s linear infinite; }
.vis-data .pk:nth-child(4) { animation-delay: .8s; } .vis-data .pk:nth-child(5) { animation-delay: 1.6s; }
@keyframes pk { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(var(--d, 150px)); opacity: 0; } }
/* vis 3: signal */
.vis-sig { display: grid; place-items: center; }
.sig { display: flex; gap: 6px; align-items: flex-end; height: 50px; }
.sig i { width: 12px; border-radius: 3px; background: var(--ink); animation: sig 3.2s infinite; }
.sig i:nth-child(1) { height: 25%; } .sig i:nth-child(2) { height: 50%; animation-delay: .15s; } .sig i:nth-child(3) { height: 75%; animation-delay: .3s; } .sig i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes sig { 0%, 30% { opacity: 1; } 45%, 80% { opacity: .14; } 100% { opacity: 1; } }
.vis-sig .lbl { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- How it works ---------- */
.how { background: var(--paper); }
.steps { position: relative; max-width: 980px; margin: 0 auto; }
.steps .rail { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); border-radius: 2px; }
.steps .rail b { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr 300px; gap: 28px; align-items: center; padding: 26px 0; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; position: relative; z-index: 1; transition: background .5s var(--ease), color .5s, border-color .5s; }
.step.on .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 17px; }
.art { justify-self: end; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 13px; box-shadow: 0 14px 30px -24px rgba(13, 15, 18, .35); opacity: .5; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.on .art { opacity: 1; transform: none; }
.art .t { font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.art .t i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.art .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.art .chips span { font-family: var(--mono); font-size: 11.5px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 3px 7px; }
.art .bar { height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; margin-top: 6px; }
.art .bar b { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1.6s var(--ease); }
.step.on .art .bar b { width: var(--w, 80%); }
.art .kv { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.art .kv b { color: var(--ink); font-family: var(--mono); font-weight: 600; }

/* ---------- Demo band ---------- */
.paper-band { margin: 0 16px; border-radius: 36px; background: var(--paper); position: relative; overflow: hidden; }
.replay-note { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; }
.night-band { margin: 0 16px; border-radius: 36px; background: var(--night); color: #fff; overflow: hidden; position: relative; }
.night-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 70% 40%, rgba(255, 90, 31, .10), rgba(255, 90, 31, 0) 70%); pointer-events: none; }
.on-night .lede, .on-night p { color: var(--night-text); }
.on-night .eyebrow { color: #a3aab4; }
.on-night .eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.demo-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; position: relative; }

/* ---------- Playground (shared) ---------- */
.pg-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.chipbtn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, color .2s; }
.chipbtn:hover { border-color: var(--ink); }
.chipbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chipbtn .tagx { font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 1px 7px; }
.chipbtn[aria-pressed="true"] .tagx { color: #fff; background: rgba(255, 255, 255, .16); }
.on-night .chipbtn { background: transparent; color: #e7eaee; border-color: #343942; }
.on-night .chipbtn:hover { border-color: #8b929c; }
.on-night .chipbtn[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.on-night .chipbtn .tagx { color: #ffb08f; background: rgba(255, 90, 31, .16); }
.on-night .chipbtn[aria-pressed="true"] .tagx { color: var(--accent-ink); background: var(--accent-soft); }
.pg-prompts { display: flex; flex-direction: column; gap: 8px; }
.prompt { text-align: left; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 16px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: border-color .2s, transform .3s var(--ease); }
.prompt:hover { border-color: var(--ink); }
.prompt .lang { font-size: 12px; color: var(--muted); flex: none; }
.prompt[disabled] { opacity: .5; cursor: default; }
.on-night .prompt { background: var(--night-2); border-color: var(--night-line); color: #fff; }
.on-night .prompt:hover { border-color: #6d747e; }
.on-night .prompt .lang { color: #9aa1ab; }
.pg-ask { display: flex; gap: 8px; margin-top: 12px; }
.pg-ask input { flex: 1; min-width: 0; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); padding: 0 16px; background: #fff; font-size: 16px; }
.pg-ask input:focus { outline: none; border-color: var(--ink); }
.on-night .pg-ask input { background: var(--night-2); border-color: var(--night-line); color: #fff; }
.on-night .pg-ask input::placeholder { color: #8d949e; }
.on-night .pg-ask input:focus { border-color: #8b929c; }
.icon-btn { width: 50px; height: 50px; flex: none; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-night .icon-btn { background: var(--night-2); border-color: var(--night-line); color: #fff; }
.on-night .icon-btn.ink { background: #fff; color: var(--ink); border-color: #fff; }
.icon-btn.rec { border-color: var(--accent); color: var(--accent); }
.pg-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.on-night .pg-note { color: #9aa1ab; }

.device { position: relative; width: 300px; height: 620px; margin: 0 auto; border-radius: 46px; background: #0a0c0f; padding: 12px; box-shadow: 0 0 0 1.5px #2b3038, 0 50px 90px -40px rgba(0, 0, 0, .6); }
.device .screen { inset: 12px; }
.device .punch { position: absolute; top: 26px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #050608; z-index: 3; }
.device .ph-body { overflow-y: auto; scrollbar-width: none; justify-content: flex-start; }
.device .ph-body::-webkit-scrollbar { display: none; }
.device .ph-body > :first-child { margin-top: auto; }

.trace { display: flex; flex-direction: column; gap: 0; align-self: stretch; }
.tstep { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 4px 0; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tstep.show { opacity: 1; transform: none; }
.tstep .ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cfcac2; display: grid; place-items: center; margin-top: 1px; }
.tstep.run .ic { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.tstep.done .ic { background: var(--ink); border-color: var(--ink); }
.tstep.done .ic::after { content: ''; width: 6px; height: 3.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.tstep .lb { font-size: 12px; font-weight: 700; line-height: 1.3; }
.tstep .dt { font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.35; word-break: break-word; }
.tstep .ms { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

.meters-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.on-night .meter { background: var(--night-2); border-color: var(--night-line); color: var(--night-text); box-shadow: none; }
.on-night .meter b { color: #fff; }

/* ---------- Proof ---------- */
.proof-case { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; width: fit-content; margin-top: 26px; }
.proof-case b { background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 0; }
.stat { padding: 34px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.stat .n { font-size: clamp(44px, 4.6vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.stat .n small { font-size: 0.36em; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.stat .l { margin-top: 14px; font-size: 16px; color: var(--ink-2); padding-right: 26px; }
.info { position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); display: grid; place-items: center; }
.info:hover, .info[aria-expanded="true"] { border-color: var(--ink); color: var(--ink); }
.more { display: none; margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.more.open { display: block; }
.layer-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; border-radius: 6px; padding: 2px 7px; margin-top: 8px; }
.layer-tag.ftl { background: var(--accent-soft); color: var(--accent-ink); }
.layer-tag.sim { background: var(--paper); color: var(--muted); }
.proof-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.psub { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; position: relative; }
.psub b { font-size: 26px; letter-spacing: -0.03em; display: block; margin-bottom: 4px; }
.psub > span { font-size: 15px; color: var(--ink-2); display: block; padding-right: 30px; }
.psub .info { top: 16px; right: 16px; }

/* ---------- Use cases ---------- */
.uses { background: var(--paper); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(13, 15, 18, .35); border-color: var(--line-2); }
.tile .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.tile .ti svg { width: 22px; height: 22px; }
.tile h3 { margin-top: 8px; }
.tile p { color: var(--ink-2); font-size: 16px; flex: 1; }
.tile .go { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.tile .badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; width: fit-content; }
.tile .badge.live { background: var(--accent-soft); color: var(--accent-ink); }
.tile .badge.next { background: var(--paper); color: var(--muted); }

/* ---------- Principles ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .big { font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 14px; line-height: 1.05; }
.pillar p { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pillar li { font-size: 15.5px; position: relative; padding-left: 16px; }
.pillar li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Open ---------- */
.open-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ocard { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-height: 210px; transition: border-color .3s, transform .5s var(--ease); }
a.ocard:hover { border-color: var(--ink); transform: translateY(-2px); }
.ocard .st { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; width: fit-content; }
.ocard .st.pub { background: #e8f4ee; color: var(--good); }
.ocard .st.plan { background: var(--paper); color: var(--muted); }
.lab-head { margin-top: 64px; }
.lab-head h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; margin-top: 8px; }
.proof-sub.lab .psub > span { padding-right: 0; }
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rcol { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.rcol:first-child { border-color: var(--ink); }
.rcol h3 { font-size: 21px; letter-spacing: -0.02em; }
.rcol ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; display: flex; flex-direction: column; gap: 7px; }
.rcol .st { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; width: fit-content; }
.rcol .st.pub { background: #e8f4ee; color: var(--good); }
.rcol .st.plan { background: var(--accent-soft); color: var(--accent-ink); }
.rcol .st.res { background: var(--paper); color: var(--ink-2); }
.whynow { margin-top: 20px; display: flex; gap: 18px; align-items: baseline; padding: 18px 22px; border-radius: var(--radius); background: var(--paper); }
.whynow b { white-space: nowrap; font-size: 15px; }
.whynow span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } .whynow { flex-direction: column; gap: 6px; } }
.ocard p { color: var(--ink-2); font-size: 16px; flex: 1; }
.ocard .go { font-size: 15px; font-weight: 500; }

/* ---------- Compare ---------- */
.cmp { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.cmp-head { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 20px; font-size: 14px; color: var(--muted); padding: 0 24px; }
.cmp-row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.cmp-row .k { font-weight: 700; font-size: 17px; }
.cmp-row .v { font-size: 16px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; }
.cmp-row .v .m { height: 8px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.cmp-row .v .m b { display: block; height: 100%; border-radius: 4px; width: 0; transition: width 1.4s var(--ease); }
.cmp-row.in .v .m b { width: var(--w); }
.cmp-row .cloud .m b { background: #b9b4ab; }
.cmp-row .nk .m b { background: var(--accent); }
.cmp-row .nk { color: var(--ink); font-weight: 500; }
.cmp-foot { text-align: center; font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); font-size: 17px; }

/* ---------- Contact ---------- */
.contact { padding: 120px 0 140px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-side .lede { margin: 20px 0 30px; }
.contact-side ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; }
.contact-side li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; }
.contact-side li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-3px); }
.mail-line { font-size: 15px; color: var(--muted); }
.mail-line a { color: var(--ink); font-weight: 500; }
.form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: #fff; box-shadow: 0 40px 80px -60px rgba(13, 15, 18, .35); display: flex; flex-direction: column; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field .lab { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; transition: border-color .2s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.form .btn { width: 100%; }
.form-msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-msg.ok { color: var(--good); }
.form-msg.bad { color: #b0321b; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- Demo page ---------- */
.page-top { padding: 150px 0 40px; }
.pg-full { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 40px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: #fff; }
.panel h3 { font-size: 18px; margin-bottom: 4px; }
.panel .sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.trace-panel .trace { min-height: 180px; }
.trace-panel .tstep .lb { font-size: 14px; }
.trace-panel .tstep .dt, .trace-panel .tstep .ms { font-size: 12px; }
.trace-empty { font-size: 14px; color: var(--muted); }
.answer-card { margin-top: 18px; }
.tabs-sec { padding: 40px 0 120px; }

.wiz { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.wiz .field textarea { min-height: 130px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier { border: 1px solid var(--line-2); border-radius: 14px; padding: 12px; cursor: pointer; text-align: left; background: #fff; transition: border-color .2s, background .2s; }
.tier b { display: block; font-size: 15px; }
.tier span { font-size: 12.5px; color: var(--muted); }
.tier[aria-pressed="true"] { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.run-list { display: flex; flex-direction: column; gap: 10px; }
.run { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; opacity: .45; transition: opacity .4s, border-color .4s; }
.run.active, .run.done { opacity: 1; }
.run.active { border-color: var(--ink); }
.run .ic { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cfcac2; margin-top: 1px; display: grid; place-items: center; }
.run.active .ic { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.run.done .ic { background: var(--ink); border-color: var(--ink); }
.run.done .ic::after { content: ''; width: 7px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.run b { font-size: 16px; display: block; }
.run p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.run .out { margin-top: 10px; display: none; }
.run.active .out, .run.done .out { display: block; }
.run .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.run .chips span { font-family: var(--mono); font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; }
.run .pbar { height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; }
.run .pbar b { display: block; height: 100%; width: 0; background: var(--ink); }
.run .t { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.spark { width: 100%; height: 46px; margin-top: 8px; }
.result { margin-top: 18px; border-radius: var(--radius-lg); background: var(--night); color: #fff; padding: 30px; display: none; }
.result.show { display: block; animation: rise .8s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.result h3 { font-size: 24px; margin-bottom: 4px; }
.result .est { font-size: 13px; color: #a3aab4; margin-bottom: 22px; }
.result .rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.result .rgrid div { background: var(--night-2); padding: 16px; }
.result .rgrid b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.result .rgrid span { font-size: 13px; color: #a3aab4; }

/* ---------- Video ---------- */
.film { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; position: relative; box-shadow: 0 50px 100px -60px rgba(13, 15, 18, .6); }
.film video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pg-full { grid-template-columns: 1fr 320px; }
  .pg-full .trace-col { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 56px 1fr; }
  .step .art { grid-column: 2; justify-self: start; max-width: 360px; }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn-nav { display: none; }
  .menu-btn { display: block; }
  .nav.open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav.open .nav-links { display: flex; position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(13, 15, 18, .2); font-size: 19px; }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cards3, .tiles, .open-grid, .proof-sub { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0 8px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .demo-grid, .contact-grid, .wiz { grid-template-columns: 1fr; gap: 48px; }
  .pg-full { grid-template-columns: 1fr; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row .k { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { height: 400svh; }
  .hero-copy { left: var(--gutter); right: var(--gutter); top: 96px; transform: none; width: auto; }
  .hero-copy h1 { font-size: clamp(36px, 10.4vw, 48px); margin-bottom: 16px; }
  .hero-copy .lede { font-size: 16.5px; margin-bottom: 22px; }
  .hero-note { display: none; }
  .hero-steps { left: var(--gutter); right: var(--gutter); top: auto; bottom: 26px; transform: none; width: auto; height: 150px; }
  .hstep { top: auto; bottom: 0; transform: none; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; width: 100%; }
  .hstep .num { margin-bottom: 6px; }
  .hstep h2 { font-size: 23px; margin-bottom: 4px; }
  .hstep p { font-size: 15px; }
  .rig-wrap { right: 0; left: 0; width: auto; top: 40px; }
  .hero-progress { display: none; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 22px; }
  .stat .l { font-size: 14.5px; padding-right: 0; }
  .info { right: 10px; top: 10px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step .dot { width: 44px; height: 44px; font-size: 13px; }
  .steps .rail { left: 21px; }
  .step .art { grid-column: 1 / -1; max-width: none; }
  .night-band, .paper-band { margin: 0 8px; border-radius: 26px; }
  .hide-m { display: none; }
  .f2 { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .cmp-row { grid-template-columns: 1fr; gap: 12px; }
  .tiers { grid-template-columns: 1fr; }
  .result .rgrid { grid-template-columns: 1fr; }
  .page-top { padding: 120px 0 24px; }
  .faq summary { font-size: 17px; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}
/* Static hero (reduced motion, or no JS): the finished state, no scroll scrub */
.hero.static { height: auto; }
.hero.static .hero-stage { position: relative; height: auto; min-height: 100svh; }
.hero.static .hero-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: var(--wrap); margin: 0 auto; padding: 110px var(--gutter) 60px; }
.hero.static .hero-copy, .hero.static .rig-wrap { position: relative; inset: auto; top: auto; left: auto; right: auto; transform: none; width: auto; }
.hero.static .rig-wrap { height: 720px; }
.hero.static .hero-steps, .hero.static .scroll-cue, .hero.static .hero-progress, .hero.static .flow, .hero.static .orb, .hero.static .cloud-cv, .hero.static .sizes, .hero.static .mchip { display: none; }
@media (max-width: 760px) { .hero.static .hero-stage { grid-template-columns: 1fr; padding-top: 96px; } .hero.static .rig-wrap { height: 560px; } }
.pg-full > *, .wiz > *, .demo-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 760px) { .panel { padding: 20px 18px; } .pg-full { grid-template-columns: minmax(0, 1fr); } }
.mini-card.visits { padding: 8px 12px; font-size: 11px; }
.mini-card.visits .row { padding: 1px 0; }

/* frontier model: one big sphere of abilities that bursts; only your software's abilities stay */
.orb { position: absolute; left: 40px; top: 60px; width: 380px; height: 380px; opacity: 0; pointer-events: none; }
.cloud-cv { position: absolute; left: 0; top: 0; width: 460px; height: 640px; pointer-events: none; z-index: 2; }
.orb-label { position: absolute; left: -40px; right: -40px; top: -62px; text-align: center; }
.orb-label b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.orb-label span { display: block; font-size: 13.5px; color: var(--ink-2); }
.tool.ab { background: #262b33; border-color: #3d434c; color: #f1f3f5; font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 7px 12px; transition: background .35s, color .35s, border-color .35s; }
.tool.ab::before { background: #8d949e; }
.tool.ab.keep { background: #fff; border-color: var(--ink); color: var(--ink); font-weight: 700; box-shadow: 0 14px 30px -14px rgba(13, 15, 18, .45); }
.tool.ab.keep::before { background: var(--accent); }
.tool.ab.gone { background: #fff; border-color: var(--line); color: #8d949e; box-shadow: none; text-decoration: line-through; text-decoration-color: #c4c0b8; }
.tool.ab.gone::before { background: #d8d4cc; }
.sizes { position: absolute; left: 70px; top: 470px; width: 320px; display: flex; flex-direction: column; gap: 10px; opacity: 0; }
.sz { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.sz i { height: 10px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.sz i b { display: block; height: 100%; border-radius: 4px; background: #b9b4ab; }
.sz em { font-style: normal; font-family: var(--mono); font-size: 13.5px; color: var(--ink); font-weight: 600; }
.sz.you i b { background: var(--accent); }
.mchip { position: absolute; left: 0; top: 0; width: 120px; transform-origin: 60px 60px; display: flex; flex-direction: column; align-items: center; opacity: 0; will-change: transform, opacity; z-index: 5; }
.mchip .chip { width: 120px; height: 120px; margin: 0; }
.mchip .chip-core { width: 64px; height: 64px; }
.mchip-l { margin-top: 18px; text-align: center; white-space: nowrap; }
.mchip-l b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.mchip-l > span { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }

/* ---------- Under the hood ---------- */
.arch { display: grid; grid-template-columns: 1fr 64px 1.25fr 64px 1.1fr; align-items: stretch; gap: 0; margin-bottom: 56px; }
.ablock { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; position: relative; }
.ablock .at { display: block; font-weight: 700; font-size: 18px; margin-bottom: 14px; letter-spacing: -0.015em; }
.ablock .at small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.ablock ul, .ablock ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--ink-2); counter-reset: s; }
.ablock li { position: relative; padding-left: 26px; line-height: 1.4; }
.ablock ul li::before { content: ''; position: absolute; left: 6px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.ablock ol li { counter-increment: s; }
.ablock ol li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); font-family: var(--mono); font-size: 10.5px; display: grid; place-items: center; color: var(--ink); }
.ablock code { font-family: var(--mono); font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.ablock.build { background: var(--paper); border-color: var(--paper); }
.ablock.build ol li::before { background: #fff; }
.ablock.dev { background: var(--night); border-color: var(--night); color: #fff; }
.ablock.dev ol { color: var(--night-text); }
.ablock.dev ol li::before { background: var(--night-2); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.ablock.dev .at small { color: #a3aab4; }
.ablock .air { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: #ffb08f; border: 1px solid #3a2a22; border-radius: 999px; padding: 5px 12px; }
.ablock .air i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.aarrow { display: grid; place-items: center; position: relative; }
.aarrow::before { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--ink); opacity: .35; }
.aarrow::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-top: 2px solid #9a9890; border-right: 2px solid #9a9890; transform: translate(0, -50%) rotate(45deg); transform-origin: center; margin-top: 0; }
.aarrow span { position: relative; z-index: 1; background: #fff; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 6px 2px; text-align: center; line-height: 1.3; max-width: 60px; }
.aarrow span b { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec > div { padding: 26px 24px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec b { display: block; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.035em; line-height: 1.1; }
.spec > div > span { display: block; font-size: 13px; font-weight: 500; color: var(--accent-ink); margin: 6px 0 8px; }
.spec p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.spec-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) {
  .arch { grid-template-columns: 1fr; gap: 0; }
  .aarrow { height: 56px; }
  .aarrow::before { left: 50%; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .aarrow::after { right: auto; left: 50%; top: auto; bottom: 8px; transform: translate(-50%, 0) rotate(135deg); }
  .aarrow span { max-width: none; padding: 2px 8px; }
  .spec { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .spec > div { padding: 20px 16px; } }

/* ---------- Proof: Nesayo case ---------- */
.nesayo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; margin-bottom: 40px; transition: border-color .3s, box-shadow .5s var(--ease); }
.nesayo:hover { border-color: var(--ink); box-shadow: 0 30px 60px -40px rgba(13, 15, 18, .35); }
.nz-main { padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.nz-k { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; width: fit-content; }
.nz-main b { font-size: 34px; letter-spacing: -0.035em; line-height: 1.1; }
.nz-main p { color: var(--ink-2); font-size: 16px; flex: 1; }
.nz-main .go { font-size: 15px; font-weight: 500; margin-top: 6px; }
.nz-flow { background: var(--paper); padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 0; position: relative; }
.nz-st { display: grid; grid-template-columns: 22px 1fr; gap: 14px; position: relative; padding: 10px 0; }
.nz-st + .nz-st::before { content: ''; position: absolute; left: 10px; top: -14px; height: 26px; width: 2px; background: var(--line-2); }
.nz-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; margin-top: 1px; }
.nz-st.on .nz-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.nz-st b { font-size: 16px; display: block; }
.nz-st p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) { .nesayo { grid-template-columns: 1fr; } .nz-main, .nz-flow { padding: 22px; } }

/* contact honeypot: off-screen for people, still filled by bots */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
