/* ============================================================ *
 *  EMBER — site system.  Monochrome, tech, light.  Cursor-class.
 *  No rainbow gradients. Rectangular. Minimal CSS weight.
 * ============================================================ */

@font-face { font-family: "Geist"; src: url("./fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("./fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("./fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("./fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("./fonts/geistmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("./fonts/geistmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg:    #050506;
  --bg-1:  #0b0c0e;
  --bg-2:  #101114;
  --card:  #0c0d10;
  --text:  #f3f4f6;
  --muted: #989ba3;
  --faint: #8b8e97;
  --line:  rgba(255,255,255,0.08);
  --line-2:rgba(255,255,255,0.15);
  --ac:    #8ab0ff;           /* the single cool accent — used sparingly */
  --ac-dim:#2a3450;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 7px; --r-lg: 11px;
  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.25rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --s1: clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  --s2: clamp(0.92rem, 0.88rem + 0.22vw, 1rem);
  --s3: clamp(1.02rem, 0.96rem + 0.4vw, 1.18rem);
  --h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
  --h2: clamp(1.9rem, 1.4rem + 2.3vw, 3rem);
  --h1: clamp(2.5rem, 1.7rem + 3.9vw, 4.4rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--s2); line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-synthesis: none; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; margin: 0; }
p { margin: 0; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 3px; }

.skip { position: fixed; top: -100px; left: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: .55rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--mono); font-size: var(--s1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.hl { color: #fff; }                 /* emphasis = pure white, not rainbow */
.muted { color: var(--muted); }

/* ---- buttons (rectangular, light) ---- */
.btn { display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-weight: 500; font-size: var(--s2); cursor: pointer; border: 1px solid transparent; border-radius: var(--r); padding: .62rem 1.1rem; transition: background .18s, border-color .18s, color .18s, opacity .18s; }
.btn-primary { background: var(--text); color: #0a0a0b; }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.btn-sm { padding: .44rem .85rem; font-size: var(--s1); }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(2px); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav__in { max-width: var(--maxw); margin: 0 auto; padding: .7rem var(--pad); display: flex; align-items: center; gap: 1.4rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.logo svg { display: block; }
.nav__links { display: flex; gap: 1.5rem; margin-left: 1.2rem; }
.nav__links a { color: var(--muted); font-size: var(--s2); transition: color .18s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav__burger { display: none; background: none; border: 1px solid rgba(255,255,255,0.32); /* >=3:1 against the field — WCAG 1.4.11 */ border-radius: var(--r); color: var(--text); padding: .35rem .55rem; cursor: pointer; font: inherit; font-size: var(--s1); }

/* ---- sections ---- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section__head { max-width: 42rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head h2 { font-size: var(--h2); margin-top: .7rem; }
.section__head p { color: var(--muted); font-size: var(--s3); margin-top: .9rem; }
.center { text-align: center; margin-inline: auto; }

/* ---- cards (flat, rectangular) ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 2vw, 1.7rem); transition: border-color .2s, background .2s; }
.card:hover { border-color: var(--line-2); background: var(--bg-2); }
.card h3 { font-size: var(--h3); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: var(--s2); }
.card__tag { font-family: var(--mono); font-size: var(--s1); color: var(--faint); letter-spacing: .1em; }
.grid-3 { display: grid; gap: 1px; grid-template-columns: repeat(3,1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.grid-3 .card { border: 0; border-radius: 0; }
.grid-2 { display: grid; gap: 1.1rem; grid-template-columns: repeat(2,1fr); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); background: var(--bg-1); padding-block: clamp(2.5rem, 5vw, 4rem) 1.6rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 2rem; }
.foot h3 { font-size: var(--s1); font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { color: var(--muted); font-size: var(--s2); }
.foot a:hover { color: var(--text); }
.foot__bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--faint); font-size: var(--s1); font-family: var(--mono); }
.foot__blurb { color: var(--muted); font-size: var(--s2); max-width: 30ch; margin-top: .9rem; }

/* ---- reveal + tech title animations ---- */
/* Hidden-until-revealed ONLY when JS is running (html.js set inline in <head>);
   without JS every section stays visible. */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.anim-title { }
html.js .anim-title .w { display: inline-block; opacity: 0; }
.anim-title.go .w { animation: wordIn .42s steps(5, end) forwards; animation-delay: calc(var(--i) * 46ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.42em); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }

.decode { font-family: var(--mono); }   /* scrambled-in by JS */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__burger { display: inline-flex; margin-left: auto; }
  .nav.open .nav__links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-1); border-bottom: 1px solid var(--line); padding: .4rem var(--pad) 1rem; }
  .nav.open .nav__links a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .anim-title .w { opacity: 1; animation: none; }
  .aw-caret, .aw-typing span, .window.live .aw-dot::after { animation: none; }
}

/* ============================================================ *  HOME / components  (monochrome, flat, light)  */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__vid { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__vid video { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; filter: grayscale(0.92) contrast(1.12) brightness(0.92); }
.hero__vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0.2) 30%, rgba(5,5,6,0.85) 100%), radial-gradient(80% 70% at 30% 40%, transparent, rgba(5,5,6,0.7)); }
.hero__in { position: relative; z-index: 1; padding-block: clamp(5rem, 13vh, 9rem); }
.hero h1 { font-size: var(--h1); margin: 1.1rem 0; max-width: 16ch; }
.hero__sub { color: var(--muted); font-size: var(--s3); max-width: 46ch; }
.pill { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: var(--s1); letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-2); padding: .3rem .7rem; border-radius: var(--r); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 8px var(--ac); }
.hero__cta { display: flex; gap: .7rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero__trust { margin-top: 1.5rem; display: flex; gap: 1.3rem; flex-wrap: wrap; color: var(--faint); font-size: var(--s1); font-family: var(--mono); }
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }

/* product window — flat, no 3D, subtle */
.shotwrap { margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; }
.window { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #0a0b0d; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.9); }
.window__bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border-bottom: 1px solid var(--line); }
.window__bar .tl { width: 10px; height: 10px; border-radius: 50%; background: #3a3d44; }
.window__title { margin-left: .5rem; font-size: var(--s1); color: var(--faint); font-family: var(--mono); }
.window__body { display: grid; grid-template-columns: 168px 1fr; min-height: 300px; }
.aw-side { border-right: 1px solid var(--line); padding: .85rem .75rem; display: flex; flex-direction: column; gap: .2rem; }
.aw-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }
.aw-dot { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-2); position: relative; }
.aw-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ac); }
.aw-nav { font-size: .8rem; color: var(--muted); padding: .4rem .5rem; border-radius: 6px; }
.aw-nav.on { background: rgba(255,255,255,0.05); color: var(--text); }
.aw-side__foot { margin-top: auto; font-family: var(--mono); font-size: .62rem; color: var(--faint); line-height: 1.6; }
.aw-side__foot b { color: var(--text); font-weight: 500; }
.aw-main { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.aw-msg { max-width: 82%; font-size: .8rem; line-height: 1.5; padding: .55rem .75rem; border-radius: 9px; }
.aw-msg.me { align-self: flex-end; background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.aw-msg.ai { align-self: flex-start; background: rgba(138,176,255,0.08); border: 1px solid var(--ac-dim); }
.aw-msg.ai b { color: var(--ac); font-weight: 500; }
.aw-status { margin-top: auto; display: flex; gap: 1rem; font-family: var(--mono); font-size: .62rem; color: var(--faint); padding-top: .55rem; border-top: 1px solid var(--line); }
.aw-status .live { color: var(--ac); }

/* ---- live hero demo (desktop craft): streaming thread, caret, counter, pulse ---- */
.aw-thread { display: flex; flex-direction: column; gap: .6rem; }
.window.live .aw-msg[data-seq] { display: none; }
.window.live .aw-msg.show { display: block; animation: awMsgIn .42s var(--ease) both; }
@keyframes awMsgIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.aw-typing { display: none; align-self: flex-start; gap: .28rem; padding: .5rem .72rem; background: rgba(138,176,255,0.08); border: 1px solid var(--ac-dim); border-radius: 9px; }
.aw-typing.show { display: inline-flex; }
.aw-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--ac); animation: awBlink 1s infinite ease-in-out; }
.aw-typing span:nth-child(2) { animation-delay: .16s; }
.aw-typing span:nth-child(3) { animation-delay: .32s; }
@keyframes awBlink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.aw-input { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; padding: .52rem .7rem; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,0.02); }
.aw-input__ph { font-size: .74rem; color: var(--faint); }
.aw-caret { width: 2px; height: 13px; background: var(--ac); flex: 0 0 auto; animation: awCaret 1.1s steps(1) infinite; }
@keyframes awCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.window.live .aw-dot::after { animation: awPulse 2.6s var(--ease) infinite; }
@keyframes awPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(138,176,255,0); } 50% { box-shadow: 0 0 11px 1px rgba(138,176,255,.5); } }

/* ember particle field + window parallax — desktop only (pointer:fine, motion-on) */
.ember-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.ember-field.on { opacity: 1; }
@media (pointer: fine) {
  .shotwrap { perspective: 1500px; }
  .shotwrap .window { transition: transform .3s var(--ease); will-change: transform; }
}

/* trust strip */
.strip { border-bottom: 1px solid var(--line); background: var(--bg-1); }
.strip__in { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.strip__label { font-family: var(--mono); font-size: var(--s1); color: var(--faint); letter-spacing: .12em; }
.strip__os { display: flex; gap: 1.8rem; color: var(--muted); font-weight: 500; }

/* feature rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.frow + .frow { margin-top: clamp(3rem,6vw,5rem); }
.frow.flip .frow__media { order: -1; }
.frow h3 { font-size: var(--h2); margin: .7rem 0 .9rem; }
.frow p { color: var(--muted); font-size: var(--s3); }
.frow__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.frow__list li { display: flex; gap: .6rem; color: var(--muted); font-size: var(--s2); }
.frow__list li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--ac); }
.media { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: grayscale(1) contrast(1.08) brightness(0.9); }
.media--panel { padding: 1.3rem; }

.tl { display: grid; gap: .45rem; }
.tl__row { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .8rem; }
.tl__time { font-family: var(--mono); font-size: .66rem; color: var(--faint); white-space: nowrap; padding-top: .2rem; }
.tl__note { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; color: var(--muted); }
.tl__note b { color: var(--text); font-weight: 500; }

.stats { display: grid; font-family: var(--mono); }
.stats__row { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: var(--s2); }
.stats__row:last-child { border-bottom: 0; }
.stats__row .k { color: var(--muted); }
.stats__row .v { color: var(--text); }
.stats__row .v.good { color: var(--ac); }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--bg); padding: clamp(1.4rem,2.5vw,2rem); }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.step h3 { font-size: var(--h3); margin: .6rem 0 .5rem; }
.step p { color: var(--muted); font-size: var(--s2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.feature { border-color: var(--line-2); background: var(--bg-2); }
.plan__name { font-family: var(--mono); font-size: var(--s1); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.plan__price { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.03em; margin: .5rem 0 .1rem; }
.plan__price small { font-size: var(--s2); color: var(--faint); font-weight: 400; }
.plan ul { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: grid; gap: .55rem; color: var(--muted); font-size: var(--s2); }
.plan ul li::before { content: "— "; color: var(--faint); }
.plan .btn { margin-top: auto; justify-content: center; }

/* single-product price (one-time $49) */
.priceone { max-width: 30rem; margin: 0 auto; }
.priceone .plan__price { font-size: 3rem; display: inline-flex; align-items: baseline; gap: .02em; line-height: 1; }
.priceone .plan__price .cur { font-size: .5em; color: var(--muted); align-self: flex-start; margin-top: .14em; }
.priceone .plan__price small { align-self: flex-end; margin-bottom: .42rem; margin-left: .18rem; }
.priceone__sub { color: var(--muted); font-size: var(--s2); margin: .2rem 0 0; }
.priceone__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; margin-top: 1.2rem; font-family: var(--mono); font-size: var(--s1); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }

/* cta */
.cta { text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2.5rem,5vw,4.5rem) var(--pad); background: var(--bg-1); }
.cta h2 { font-size: var(--h2); max-width: 18ch; margin: 0 auto 1rem; }
.cta p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.8rem; }

@media (max-width: 880px) {
  .window__body { grid-template-columns: 1fr; }
  .aw-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .aw-side__foot { width: 100%; margin-top: .5rem; }
  .frow, .frow.flip .frow__media { grid-template-columns: 1fr; order: 0; }
  .steps, .plans { grid-template-columns: 1fr; }
}

/* ---- hero: CSS-only ambient backdrop (replaces the killed stock video) ---- */
.hero {
  background:
    radial-gradient(120% 90% at 18% 80%, rgba(138,176,255,0.08), transparent 56%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(115% 80% at 60% 24%, #000 0%, transparent 72%);
  mask-image: radial-gradient(115% 80% at 60% 24%, #000 0%, transparent 72%);
}
.hero__bloom { position: absolute; z-index: 0; right: -4%; bottom: -6%; width: 58%; max-width: 760px;
  opacity: .5; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 60% at 60% 50%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 60% 50%, #000, transparent 75%); }

/* ---- hero: 2-column on desktop so the live window sits beside the copy ---- */
@media (min-width: 1000px) {
  .hero__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(2rem,4.5vw,4.5rem); align-items: center; }
  .hero h1 { max-width: 15ch; }
  .hero .shotwrap { margin-top: 0; }
  .hero__copy { max-width: 30rem; }
}

/* ---- memory-ledger panel (replaces the black workspace.jpg in feature row 2) ---- */
.memledger { display: grid; gap: 1.1rem; }
.memspark { width: 100%; height: auto; display: block; overflow: visible; }
.memspark .ms-area { fill: url(#msFade); opacity: 0; transition: opacity 1.1s ease .35s; }
.memspark .ms-line { fill: none; stroke: var(--ac); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.memspark .ms-dot { fill: var(--ac); }
.memspark .ms-halo { fill: var(--ac); opacity: 0; transition: opacity .6s ease 1.4s; }
.reveal.in .memspark .ms-area { opacity: .16; }
.reveal.in .memspark .ms-halo { opacity: .22; }

/* ---- section rhythm helpers ---- */
.section--tight { padding-block: clamp(2.4rem, 4vw, 3.6rem); }
.section--divide { border-top: 1px solid var(--line); }

/* ---- homepage pricing: card + proof rail so it stops floating in a void ---- */
@media (min-width: 720px) {
  .priceone--rail { max-width: 50rem; display: grid; grid-template-columns: 1fr auto; gap: clamp(1.6rem,3vw,2.6rem); align-items: center; }
  .priceone--rail .priceone__meta { grid-column: 1 / -1; }
}
.proofrail { display: grid; gap: .9rem; padding-left: clamp(1.2rem,2vw,1.8rem); border-left: 1px solid var(--line); }
.proofrail span { font-family: var(--mono); font-size: var(--s1); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
.proofrail span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); flex: 0 0 auto; }

/* ---- trust strip: live "0 bytes" proof instead of a static label ---- */
.strip__live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: var(--s1); letter-spacing: .08em; color: var(--muted); }
.strip__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 8px var(--ac); flex: 0 0 auto; }

/* ============================================================ *  INNER PAGES  */
.phero { border-bottom: 1px solid var(--line); background: var(--bg-1); }
.phero__in { padding-block: clamp(3.5rem, 8vw, 6rem); max-width: 50rem; }
.phero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); margin: .9rem 0; }
.phero p { color: var(--muted); font-size: var(--s3); max-width: 44ch; }
.phero__cta { display: flex; gap: .7rem; margin-top: 1.6rem; flex-wrap: wrap; }

/* comparison table */
.table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: var(--s2); }
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--mono); font-size: var(--s1); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 500; background: var(--bg-1); }
.table td:first-child { color: var(--muted); }
.table .yes { color: var(--ac); } .table .no { color: var(--faint); }
.table tbody tr:last-child td { border-bottom: 0; }
.table col.hi, .table .hi { background: rgba(255,255,255,0.03); }
.table-wrap { overflow-x: auto; }

/* faq */
.faq { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); background: var(--card); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-family: var(--mono); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 1.2rem 1.2rem; color: var(--muted); font-size: var(--s2); max-width: 60ch; }

/* form */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--s1); color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }
.field input, .field textarea, .field select { font: inherit; font-size: var(--s2); color: var(--text); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r); padding: .7rem .85rem; width: 100%; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-color: var(--ac); }
.form__note { font-size: var(--s1); color: var(--faint); }
.form__ok { display: none; color: var(--ac); font-size: var(--s2); padding: .8rem 1rem; border: 1px solid var(--ac-dim); border-radius: var(--r); background: rgba(138,176,255,0.06); }
.form__ok.show { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-side dt { font-family: var(--mono); font-size: var(--s1); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 1.4rem; }
.contact-side dd { margin: .3rem 0 0; color: var(--muted); }
.contact-side dd a { color: var(--text); }

/* download cards */
.dlgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.dlcard { display: flex; flex-direction: column; gap: .5rem; }
.dlcard__os { font-size: var(--h3); font-weight: 600; }
.dlcard__meta { font-family: var(--mono); font-size: var(--s1); color: var(--faint); }
.dlcard .btn { margin-top: .8rem; justify-content: center; }
.dlcard__alt { margin-top: .6rem; font-size: var(--s1); color: var(--muted); display: grid; gap: .3rem; }
.dlcard__alt a { color: var(--muted); } .dlcard__alt a:hover { color: var(--text); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .dlgrid { grid-template-columns: 1fr; }
}

/* ============================================================ *  EVOLVE CHART  */
.chartcard { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(1.2rem, 2.5vw, 2rem); }
.chartcard svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-ember { stroke: var(--ac); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.chart-cloud { stroke: var(--faint); stroke-width: 1.5; fill: none; stroke-dasharray: 5 5; }
.chart-dot { fill: var(--ac); opacity: 0; transition: opacity .4s ease 1.5s; }
.chart-dot-halo { fill: var(--ac); opacity: 0; transition: opacity .6s ease 1.5s; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.reveal.in .draw { stroke-dashoffset: 0; }
.reveal.in .chart-dot { opacity: 1; }
.reveal.in .chart-dot-halo { opacity: .25; }
.chart-label { fill: var(--faint); font-family: var(--mono); font-size: 11px; }
.chart-end { fill: var(--text); font-family: var(--mono); font-size: 12px; opacity: 0; transition: opacity .5s ease 1.7s; }
.reveal.in .chart-end { opacity: 1; }
.chart-cloudlabel { fill: var(--faint); font-family: var(--mono); font-size: 11px; }
.chart-yaxis { fill: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.2rem; font-family: var(--mono); font-size: var(--s1); color: var(--muted); }
.chart-legend .k { display: inline-flex; align-items: center; gap: .5rem; }
.chart-legend .sw { width: 20px; height: 2px; background: var(--ac); display: inline-block; }
.chart-legend .sw.cloud { background: none; border-top: 2px dashed var(--faint); }
.evolve-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 1.1rem; }
.evolve-stat { background: var(--bg); padding: 1.1rem clamp(1rem,2vw,1.5rem); }
.evolve-stat .t { font-family: var(--mono); font-size: var(--s1); color: var(--faint); letter-spacing: .1em; }
.evolve-stat .v { font-size: 1.15rem; margin-top: .35rem; }
.evolve-stat .v b { color: var(--ac); font-weight: 600; } }
@media (max-width: 700px) { .evolve-stats { grid-template-columns: 1fr; } }
.chartbox { position: relative; height: clamp(280px, 42vw, 400px); }

/* ============================================================ *  INNER-PAGE SOPHISTICATION COMPONENTS (product/security/pricing/download/contact)  */

/* ---- split hero: visual beside the copy instead of dead right-half ---- */
@media (min-width: 1000px) {
  .phero--split .phero__in { max-width: var(--maxw); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.9fr); gap: clamp(2rem,4.5vw,4.5rem); align-items: center; }
  .phero--split .phero__copy { max-width: 38rem; }
}
.phero__visual { display: block; }
@media (max-width: 999px) { .phero__visual { margin-top: 1.8rem; max-width: 30rem; } }
@media (max-width: 880px) { .phero__visual.hide-sm { display: none; } }
.phero__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.phero__stat { font-family: var(--mono); font-size: var(--s1); color: var(--faint); display: flex; align-items: center; gap: .5rem; white-space: nowrap; letter-spacing: .04em; }
.phero__stat .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 8px var(--ac); flex: 0 0 auto; }

/* ---- the signature device-boundary diagram (product hero + security centerpiece) ---- */
.boundary { width: 100%; height: auto; display: block; overflow: visible; }
.boundary text { font-family: var(--mono); }
.boundary .bd-frame { fill: none; stroke: var(--line-2); stroke-width: 1; }
.boundary .bd-frame-label { fill: var(--faint); font-size: 10.5px; letter-spacing: .16em; }
.boundary .bd-node { fill: var(--card); stroke: var(--line-2); stroke-width: 1; }
.boundary .bd-node-halo { fill: var(--ac); opacity: .12; }
.boundary .bd-node-label { fill: var(--text); font-size: 11px; text-anchor: middle; }
.boundary .bd-wire { fill: none; stroke: var(--ac); stroke-width: 1.5; stroke-linecap: round; }
.boundary .bd-egress { fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-dasharray: 5 5; }
.boundary .bd-gate { stroke: var(--faint); stroke-width: 1.4; }
.boundary .bd-gate-label { fill: var(--faint); font-size: 10px; letter-spacing: .12em; }
.boundary .bd-net { fill: var(--faint); font-size: 11px; text-anchor: middle; }

/* ---- capability ledger (product · embodiment) ---- */
.caplist { display: grid; font-family: var(--mono); font-size: .76rem; }
.caprow { display: flex; align-items: center; gap: .6rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.caprow:last-of-type { border-bottom: 0; }
.cap-name { color: var(--muted); flex: 1; min-width: 0; }
.cap-name b { color: var(--text); font-weight: 500; }
.cap-pill { font-size: .62rem; letter-spacing: .08em; padding: .16rem .45rem; border-radius: 5px; white-space: nowrap; }
.cap-pill.granted { color: var(--ac); background: rgba(138,176,255,.08); border: 1px solid var(--ac-dim); }
.cap-pill.denied { color: var(--faint); border: 1px solid var(--line); }
.cap-revoke { color: var(--faint); font-size: .64rem; }
.caplist__foot { margin-top: .8rem; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .64rem; display: flex; align-items: center; gap: .45rem; letter-spacing: .04em; }
.caplist__foot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ac); flex: 0 0 auto; }

/* ---- runtime readout sparkline (product · local reasoning) ---- */
.runhead { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.runhead .live { color: var(--ac); display: inline-flex; align-items: center; gap: .35rem; }
.runhead .live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ac); }
.runspark { width: 100%; height: 30px; display: block; margin-bottom: .7rem; }
.runspark polyline { fill: none; stroke: var(--ac); stroke-width: 1.5; stroke-linejoin: round; }

/* ---- generic small sparkline panel (reused, e.g. memory) ---- */
.panelspark { width: 100%; height: auto; display: block; overflow: visible; }
.panelspark .ps-line { fill: none; stroke: var(--ac); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.panelspark .ps-dot { fill: var(--ac); }

/* ---- cost-over-time bars (pricing) ---- */
.costbars { display: grid; gap: 1.2rem; align-content: center; }
.costbar { display: grid; gap: .4rem; }
.costbar .cb-label { font-family: var(--mono); font-size: var(--s1); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.costbar .cb-track { height: 12px; border-radius: 3px; background: rgba(255,255,255,.04); overflow: hidden; }
.costbar .cb-fill { height: 100%; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.reveal.in .costbar .cb-fill { transform: scaleX(var(--w, 1)); }
.costbar.sub .cb-fill { background: var(--faint); }
.costbar.sub .cb-label .cb-amt { text-decoration: line-through; color: var(--faint); }
.costbar.ours .cb-fill { background: var(--ac); }
.costbar.ours .cb-label .cb-amt { color: var(--text); }
.costnote { margin-top: .3rem; font-family: var(--mono); font-size: var(--s1); color: var(--muted); }

/* ---- founder price chip (pricing) ---- */
.plan__founder { display: inline-flex; align-items: center; gap: .55rem; margin: .35rem 0 .15rem; flex-wrap: wrap; }
.plan__founder .tag { font-family: var(--mono); font-size: var(--s1); letter-spacing: .05em; text-transform: uppercase; color: var(--ac); border: 1px solid var(--ac-dim); border-radius: var(--r); padding: .25rem .55rem; background: rgba(138,176,255,.06); }

/* ---- hardware -> model match diagram (pricing) ---- */
.hwmatch { width: 100%; height: auto; display: block; overflow: visible; }
.hwmatch text { font-family: var(--mono); fill: var(--muted); font-size: 12px; }
.hwmatch .hm-box { fill: none; stroke: var(--line-2); stroke-width: 1; }
.hwmatch .hm-chip { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1; }
.hwmatch .hm-chip-t { fill: var(--text); font-size: 12px; text-anchor: middle; }
.hwmatch .hm-conn { fill: none; stroke: var(--ac); stroke-width: 1.5; }

/* ---- terminal verify block (download) ---- */
.verify-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.2rem,3vw,2rem); align-items: start; }
@media (max-width: 760px) { .verify-grid { grid-template-columns: 1fr; } }
.term { background: #08090b; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; font-family: var(--mono); font-size: .78rem; }
.term__bar { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); }
.term__bar .tl { width: 9px; height: 9px; border-radius: 50%; background: #2c2f36; }
.term__title { margin-left: .4rem; color: var(--faint); font-size: .64rem; }
.term__body { padding: .95rem 1rem; display: grid; gap: .55rem; line-height: 1.55; }
.term__cmd { color: var(--text); }
.term__cmd .pr { color: var(--ac); margin-right: .5rem; }
.term__hash { color: var(--muted); word-break: break-all; }
.term__ok { color: var(--ac); display: flex; align-items: center; gap: .45rem; }
.term__copy { margin-top: .3rem; font-size: var(--s1); }

/* ---- download cards: OS glyph + recommended state + checksum ---- */
.dlcard { position: relative; }
.dlcard__icon { width: 26px; height: 26px; color: var(--faint); margin-bottom: .35rem; transition: color .2s; }
.dlcard:hover .dlcard__icon { color: var(--text); }
.dlcard--rec { border-color: var(--line-2); background: var(--bg-2); }
.dlcard--rec .dlcard__icon { color: var(--ac); }
.dlcard__rec { position: absolute; top: .95rem; right: 1rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; color: var(--ac); border: 1px solid var(--ac-dim); border-radius: 5px; padding: .16rem .4rem; background: rgba(138,176,255,.06); }
.dlcard__sha { margin-top: .65rem; padding-top: .6rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: var(--s1); color: var(--faint); }

/* ---- contact: privacy assurance panel + mono lines ---- */
.contact-assure { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.contact-assure .ca-eyebrow { font-family: var(--mono); font-size: var(--s1); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: .9rem; }
.contact-assure ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.contact-assure li { display: flex; gap: .6rem; color: var(--muted); font-size: var(--s2); }
.contact-assure li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: .5em; border-radius: 50%; background: var(--ac); }

/* ---- audit-log mock (security · reuses .tl) : grant/deny coloring ---- */
.tl__note.grant b { color: var(--ac); }
.tl__note.deny { color: var(--faint); }

/* ---- honest table tweaks (product/pricing) ---- */
.table .no { color: var(--muted); }
.table .qual { color: var(--faint); font-family: var(--mono); font-size: var(--s1); }
.table thead th.hi, .table td.hi { background: rgba(255,255,255,0.03); }
.table .mark { display: inline-flex; }
.table .mark.yes { color: var(--ac); } .table .mark.no { color: var(--muted); }

/* ---- live stat pulse on reveal (security zero values) ---- */
.reveal.in .stats--live .v.good { animation: awPulse 2.6s var(--ease) 1; }

/* ---- two-up grid helper where .grid-2 needs equal cards ---- */
.grid-2.cards .card { height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .costbar .cb-fill { transition: none; transform: scaleX(var(--w,1)); }
  .reveal.in .stats--live .v.good { animation: none; }
}

/* ---- a11y utilities ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) { .phero__stat { white-space: normal; } }
