@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Layout: a dark hangar of SOLIDWORKS viewports. Every machine sits in a
   light-grey viewport (the real SOLIDWORKS background) framed with crop marks
   and mono read-outs; everything around it is black, hairlines and big type.
   One look on purpose: dark, whatever the viewer's theme. */
:root {
  color-scheme: dark;
  --night: #0a0a09;
  --coal: #121311;
  --raise: #191a18;
  --line: #262725;
  --line-2: #3a3b38;
  --dim: #8b8c86;
  --bone: #e7e7e2;
  --white: #fafaf7;
  --signal: #f0c02f;
  --sw: #d6d6d3;
  --sw-hi: #efefec;
  --sw-ink: #121211;
  --sw-dim: #4f4f4a;
  --display: "Schibsted Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 56px;
  --block: clamp(88px, 11vw, 168px);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--sw-ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
dl, dd, ol, ul { margin: 0; padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 8px 14px; background: var(--white); color: var(--sw-ink); }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.hash { overflow-wrap: anywhere; text-transform: none; }
.mono { font-family: var(--mono); font-size: 11.5px; line-height: 1.45; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.label { color: var(--dim); display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 7px; height: 7px; background: var(--signal); }
.h-xl { font-size: clamp(36px, 4.8vw, 76px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; max-width: 40ch; }
.muted { color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; border: 1px solid var(--white); background: var(--white); color: var(--sw-ink);
  font: 500 14px/1 var(--display); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn::after { content: ""; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn:hover { background: var(--signal); border-color: var(--signal); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--white); border-color: var(--white); color: var(--sw-ink); }
/* the one big button on the download page */
.btn.btn-download { gap: 14px; padding: 22px 32px 22px 26px; font-size: 20px; letter-spacing: -0.005em; background: var(--signal); border-color: var(--signal); color: var(--sw-ink); }
.btn.btn-download::after { display: none; }
.btn.btn-download svg { width: 24px; height: 24px; flex: none; }
.btn.btn-download:hover { background: var(--white); border-color: var(--white); }
.dl-video { width: 100%; margin-top: 32px; background: var(--night); }

/* ------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: var(--night); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 19px/1 var(--display); letter-spacing: -0.02em; color: var(--white); }
.brand img { background: var(--white); border-radius: 50%; }
.nav nav { display: flex; gap: 30px; }
.nav nav a { text-decoration: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.nav nav a:hover { color: var(--white); }
.nav-cta { justify-self: end; text-decoration: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line-2); color: var(--white); transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.nav-cta:hover { background: var(--white); color: var(--sw-ink); border-color: var(--white); }
.nav-menu-cta, .nav-toggle { display: none; }
.nav-toggle {
  align-items: center; gap: 10px; justify-self: end; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--white); padding: 9px 12px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase;
}
.nt-icon { position: relative; width: 14px; height: 9px; }
.nt-icon::before, .nt-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.2s var(--out), top 0.2s var(--out); }
.nt-icon::before { top: 0; }
.nt-icon::after { top: 7.5px; }
.nav.open .nt-icon::before { top: 3.75px; transform: rotate(45deg); }
.nav.open .nt-icon::after { top: 3.75px; transform: rotate(-45deg); }
html.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ viewport panel */
.vp {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 55% 42%, var(--sw-hi), var(--sw) 72%);
  color: var(--sw-dim);
  aspect-ratio: 1600 / 870; max-width: 100%;
}
.vp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* shown only when the phone refused autoplay (extrudo.js) */
.vp-play {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px;
  transform: translate(-50%, -50%); border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(18, 18, 17, 0.72);
}
.vp-play::before {
  content: ""; position: absolute; left: 26px; top: 21px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white);
}
.vp-play:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.vp::after {
  --c: rgba(18, 18, 17, 0.5);
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 16px no-repeat;
}
.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hud > * { position: absolute; pointer-events: auto; }
.hud-tl { top: 24px; left: 30px; right: 220px; color: var(--sw-dim); }
.hud-bl { bottom: 24px; left: 30px; right: 30px; color: var(--sw-dim); }
.hud-tr { top: 18px; right: 26px; }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c8321e; }
.vp[data-mode="model"] .rec::before { background: var(--sw-dim); }

.seg { display: inline-flex; background: rgba(10, 10, 9, 0.86); padding: 3px; gap: 3px; }
.seg button {
  border: 0; background: transparent; color: #b9b9b3; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 11px; line-height: 1;
}
.seg button:hover { color: var(--white); }
.seg button[aria-pressed="true"] { background: var(--sw-hi); color: var(--sw-ink); }



.inset {
  position: absolute; z-index: 3; left: 30px; top: 58px; width: clamp(120px, 19%, 260px);
  background: var(--white); padding: 6px 6px 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.inset img { width: 100%; }
.inset p { margin-top: 6px; color: var(--sw-dim); font-size: 10px; }

/* ------------------------------------------------------------ hero */
.hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); display: grid; }
.hero-vp { grid-area: 1 / 1; aspect-ratio: auto; height: clamp(560px, calc(100svh - var(--nav-h)), 1000px); }
.hero-vp video { object-position: 100% 50%; }
.hero-vp::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(232, 232, 229, 0.78) 0%, rgba(232, 232, 229, 0.35) 30%, rgba(232, 232, 229, 0) 46%); }
.hero-copy {
  grid-area: 1 / 1; z-index: 4; align-self: center;
  display: grid; gap: 26px; max-width: 640px;
  padding-block: 80px 96px; color: var(--sw-ink);
}
.hero-copy .eyebrow { color: var(--sw-dim); }
.hero h1 { font-size: clamp(46px, 5.6vw, 92px); line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; }
.hero .lede { color: #2a2a27; max-width: 34ch; }
/* 901-1120 px: keep the copy left of the engine in the video */
/* 901-1120 px (tablet landscape, small windows): the copy would run over the engine, so stack it like on phones */
@media (min-width: 901px) and (max-width: 1120px) {
  .hero { display: flex; flex-direction: column; }
  .hero-copy { order: -1; color: var(--bone); padding-block: 48px 40px; max-width: none; }
  .hero-copy .eyebrow { color: var(--dim); }
  .hero .hero-copy .lede { color: var(--dim); max-width: 52ch; }
  .hero .hero-copy .btn { background: var(--white); color: var(--sw-ink); border-color: var(--white); }
  .hero .hero-copy .btn.ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
  .hero .hero-copy .btn.ghost:hover { background: var(--white); color: var(--sw-ink); }
  .hero-vp { height: auto; aspect-ratio: 16 / 9; }
  .hero-vp::before { display: none; }
}
/* the desktop hero sits on a light background: dark focus ring there (the stacked phone hero is dark) */
@media (min-width: 1121px) { .hero :focus-visible { outline-color: #121211; } }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn { background: var(--sw-ink); color: var(--white); border-color: var(--sw-ink); }
.hero .btn:hover { background: var(--signal); color: var(--sw-ink); border-color: var(--signal); }
.hero .btn.ghost { background: transparent; color: var(--sw-ink); border-color: var(--sw-ink); }
.hero .btn.ghost:hover { background: var(--sw-ink); color: var(--white); }
.hero-read {
  bottom: 24px; right: 30px; display: grid; grid-template-columns: repeat(3, auto); gap: 0 28px; text-align: right;
}
.hero-read dt { color: var(--sw-dim); }
.hero-read dd { color: var(--sw-ink); font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; text-transform: none; font-variant-numeric: tabular-nums; }
.hero-read div { display: flex; flex-direction: column-reverse; }

/* ------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stats > div { padding: 36px 24px 34px 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.num { font-size: clamp(46px, 6.2vw, 100px); line-height: 0.9; letter-spacing: -0.045em; color: var(--white); font-variant-numeric: tabular-nums; }
.num small { font-size: 0.42em; letter-spacing: -0.02em; color: var(--dim); margin-left: 6px; }
.stats .mono { color: var(--dim); max-width: 24ch; }

/* ------------------------------------------------------------ systems */
.systems { padding-block: var(--block) 0; }
.sys-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; padding-bottom: 56px; }
.sys-intro .label { grid-column: 1 / -1; }
.sys-intro .lede { color: var(--dim); }
.sys-index { list-style: none; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); margin-top: 24px; }
.sys-index a { display: flex; gap: 10px; align-items: baseline; padding: 14px 12px 14px 0; text-decoration: none; color: var(--bone); font-size: 15px; border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.sys-index a span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.sys-index a:hover { color: var(--white); border-bottom-color: var(--signal); }

.sys { padding-block: 72px var(--block); border-top: 1px solid var(--line); }
.sys-rail { display: flex; justify-content: space-between; gap: 16px; color: var(--dim); margin-bottom: 28px; }
.sys-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.sys-name { font-size: clamp(58px, 11.6vw, 196px); line-height: 0.8; letter-spacing: -0.055em; text-transform: uppercase; color: var(--white); margin-left: -0.04em; overflow-wrap: anywhere; }
.sys-tag { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; color: var(--bone); }
.sys-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 48px; margin-top: 36px; align-items: start; }
.sys-body { color: var(--dim); max-width: 52ch; }
.sys-body strong { color: var(--bone); font-weight: 400; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); border-top: 1px solid var(--line-2); }
.specs div { padding: 14px 16px 4px 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.specs dd { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.specs dd small { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 0; color: var(--dim); }

/* ------------------------------------------------------------ also built */
.also { padding-block: 0 var(--block); }
.also-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 28px; }
.also-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile .vp { aspect-ratio: 4 / 3; }
.tile .vp::after { inset: 10px; }
.tile-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.tile-meta h3 { font-size: 17px; font-weight: 500; color: var(--white); }
.tile-meta p { color: var(--dim); text-align: right; }

/* ------------------------------------------------------------ build log */
.log { padding-block: var(--block); background: var(--coal); border-block: 1px solid var(--line); }
.log-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.log-head .label { grid-column: 1 / -1; }
.log-head .lede { color: var(--dim); }
.console { background: var(--night); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12.5px; line-height: 1.5; }
.con-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--dim); }
.con-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); }
.con-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.console[data-state="paused"] .live::before, .console[data-state="done"] .live::before { background: var(--line-2); }
.con-btns { display: flex; gap: 6px; }
.con-btns button { background: transparent; border: 1px solid var(--line-2); color: var(--bone); padding: 6px 10px; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.con-btns button:hover { border-color: var(--bone); }
.con-prompt { padding: 16px; border-bottom: 1px solid var(--line); color: var(--bone); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
.con-prompt b { color: var(--signal); font-weight: 400; }
.con-prompt .att { grid-column: 2; color: var(--dim); }
.con-grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
.con-plan { list-style: none; padding: 14px 16px; border-right: 1px solid var(--line); display: grid; gap: 2px; align-content: start; }
.con-plan li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 5px 0; color: #5d5e59; }
.con-plan li::after { content: ""; grid-column: 1 / -1; height: 2px; background: var(--line); background-image: linear-gradient(var(--bone), var(--bone)); background-repeat: no-repeat; background-size: var(--p, 0%) 100%; }
.con-plan li.done { color: var(--bone); }
.con-plan li.on { color: var(--signal); }
.con-plan li.on::after { background-image: linear-gradient(var(--signal), var(--signal)); }
.con-feed { height: 460px; overflow: hidden; padding: 10px 16px; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.row { display: grid; grid-template-columns: 4ch 22ch minmax(0, 1fr) 13ch 8ch; gap: 14px; padding: 2px 0; white-space: nowrap; color: var(--bone); }
.row > * { overflow: hidden; text-overflow: ellipsis; }
.row .n, .row .ms { color: #5d5e59; }
.row .tool { color: var(--dim); }
.row .vol, .row .ms { text-align: right; font-variant-numeric: tabular-nums; }
.row.new .label-cell { color: var(--signal); }
.say { color: var(--dim); padding: 8px 0 6px; white-space: normal; }
.say::before { content: "// "; color: #5d5e59; }
.report { white-space: pre-wrap; color: var(--bone); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.con-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-variant-numeric: tabular-nums; }
.con-foot b { color: var(--bone); font-weight: 400; }

/* ------------------------------------------------------------ how it works */
.how { padding-block: var(--block); }
.how-head { margin-bottom: 48px; display: grid; gap: 24px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.steps li { padding: 22px 24px 8px 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.steps .mono { color: var(--signal); }
.steps h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; color: var(--white); }
.steps p { color: var(--dim); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 56px; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.facts dt { color: var(--dim); }
.facts dd { color: var(--bone); }

/* ------------------------------------------------------------ security, pricing */
.trust, .ai { padding-block: var(--block) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 48px; }
.trust-grid > div { border-top: 1px solid var(--line-2); padding-top: 16px; display: grid; gap: 14px; align-content: start; }
.trust-grid .mono { color: var(--white); }
.trust-grid ul { list-style: none; display: grid; gap: 10px; color: var(--dim); }
.trust-grid li { padding-left: 16px; position: relative; }
.trust-grid li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--dim); }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.ai-opt {
  display: grid; gap: 12px; align-content: start; padding: 24px 24px 30px; text-decoration: none;
  background: var(--raise); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: background-color 0.2s, border-color 0.2s;
}
.ai-opt:hover { background: #20211f; }
.ai-opt .mono { color: var(--signal); }
.ai-opt h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--white); }
.ai-opt p { color: var(--dim); }
.more { display: inline-block; margin-top: 24px; }

/* ------------------------------------------------------------ waitlist */
.waitlist { padding-block: var(--block); }
.wl-giant { font-size: clamp(64px, 13vw, 220px); line-height: 0.8; letter-spacing: -0.055em; text-transform: uppercase; color: var(--white); margin: 22px 0 48px -0.04em; }
.wl-lede { max-width: 62ch; margin: -20px 0 40px; color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); }
.wl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; align-items: end; max-width: 1100px; }
.wl .btn { justify-self: start; }
.wl-row { display: grid; gap: 8px; }
.wl-row label { color: var(--dim); }
.wl-row input, .wl-row select { width: 100%; padding: 14px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); font-family: inherit; font-size: 20px; color: var(--white); border-radius: 0; }
.wl-row input:focus, .wl-row select:focus { outline: none; border-bottom-color: var(--signal); }
.wl-row select { appearance: none; color-scheme: dark; cursor: pointer; padding-right: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.wl-row select:has(option[value=""]:checked) { color: var(--dim); }
.wl-row select option { color: var(--white); }
.wl-check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; color: var(--bone); }
.wl-check input { accent-color: var(--signal); width: 16px; height: 16px; }
.wl-msg { grid-column: 1 / -1; min-height: 1.5em; color: var(--bone); }
.wl-msg.err { color: #ff9b87; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt { color: var(--dim); }
.wl-note { margin-top: 36px; color: var(--dim); }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; display: grid; gap: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols p { color: var(--dim); margin-bottom: 4px; }
.foot-cols a { text-decoration: none; color: var(--bone); }
.foot-cols a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { color: var(--dim); font-size: 12px; display: grid; gap: 8px; max-width: 120ch; }
.fineprint { grid-column: 1 / -1; color: var(--dim); font-size: 12px; max-width: 110ch; }

/* ------------------------------------------------------------ narrow */
@media (max-width: 1080px) {
  .nav nav { display: none; }
  .nav { grid-template-columns: 1fr auto auto; gap: 8px; }
  .nav-toggle { display: inline-flex; }
  /* the menu: the same links as a full-height panel under the bar */
  .nav.open nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; z-index: 19;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--night); overflow-y: auto; overscroll-behavior: contain;
    animation: menu-in 0.22s var(--out);
  }
  .nav.open nav a:not(.btn) {
    display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line);
    font: 500 clamp(26px, 7vw, 34px)/1.1 var(--display); letter-spacing: -0.025em; text-transform: none; color: var(--bone);
  }
  .nav.open nav a[aria-current="page"] { color: var(--white); text-decoration: none; }
  .nav.open nav a[aria-current="page"]::before { content: ""; width: 9px; height: 9px; background: var(--signal); }
  .nav.open nav .nav-menu-cta { display: inline-flex; align-self: flex-start; margin-top: 28px; padding: 15px 20px; color: var(--sw-ink); font: 500 15px/1 var(--display); letter-spacing: 0.01em; text-transform: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nav.open nav { animation: none; } }
@media (max-width: 1080px) {
  .steps, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li { padding-bottom: 28px; }
  .also-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sys-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero-copy { order: -1; color: var(--bone); padding-block: 48px 40px; max-width: none; }
  .hero-copy .eyebrow { color: var(--dim); }
  .hero .lede { color: var(--dim); }
  .hero .btn { background: var(--white); color: var(--sw-ink); border-color: var(--white); }
  .hero .btn.ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
  .hero .btn.ghost:hover { background: var(--white); color: var(--sw-ink); }
  .hero-vp { height: auto; aspect-ratio: 4 / 3; }
  .hero-vp::before { display: none; }
  .hero-vp video { object-position: 98% 50%; }
  .hero-read { left: 30px; right: auto; text-align: left; grid-template-columns: repeat(3, auto); gap: 0 18px; }
  .hero-read dd { font-size: 17px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sys-intro, .sys-head, .sys-foot, .log-head { grid-template-columns: minmax(0, 1fr); }
  .sys-vp { aspect-ratio: 4 / 3; }
  .con-grid { grid-template-columns: minmax(0, 1fr); }
  .con-plan { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
  .row { grid-template-columns: 4ch minmax(0, 1fr) 11ch; }
  .row .tool, .row .ms { display: none; }
  .trust-grid, .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wl { grid-template-columns: minmax(0, 1fr); }
  .wl .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .steps, .facts { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .also-grid { grid-template-columns: minmax(0, 1fr); }
  .sys-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud-tl { top: auto; bottom: 20px; left: 24px; right: 24px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hud-tr { left: 22px; right: auto; top: 16px; }
  .inset { top: 92px; width: 34%; }
  .hero-read { grid-template-columns: repeat(2, auto); }
  .hero-read div:nth-child(3) { display: none; }
  .con-feed { height: 380px; }
  .nav-cta, .nav-toggle { padding: 8px 10px; }
  .nc-long { display: none; }
}

/* real build mode: the recording has the SOLIDWORKS UI at the top, so the caption moves to a dark tag at the bottom */
.vp[data-mode="build"] .hud-tl { top: auto; bottom: 22px; right: auto; max-width: calc(100% - 60px); background: rgba(10, 10, 9, 0.84); color: #d9d9d3; padding: 7px 10px; }

/* third-party notice under the interceptor viewport */
.notice { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--signal); display: grid; gap: 8px; max-width: 110ch; }
.notice .mono { color: var(--bone); }
.notice p:last-child { color: var(--dim); font-size: 15px; }
.foot-bottom { text-transform: none; letter-spacing: 0.02em; line-height: 1.6; }
.wl-privacy { margin-top: 28px; max-width: 78ch; color: var(--dim); font-size: 14px; }
.wl-privacy b { color: var(--bone); font-weight: 500; }

/* ============================================================ multi-page */
.nav nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 7px; }
main > :first-child:not(.hero) { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8vw, 112px)); }
.page-hero { display: grid; gap: 24px; padding-bottom: 56px; }
.page-h1 { font-size: clamp(54px, 9.5vw, 156px); line-height: 0.84; letter-spacing: -0.052em; text-transform: uppercase; color: var(--white); margin-left: -0.04em; }
.page-hero .lede { color: var(--dim); max-width: 52ch; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.sec-head .label { grid-column: 1 / -1; }
.sec-head .lede { color: var(--dim); }
.home-uc, .home-mach { padding-block: var(--block) 0; }
.more { display: inline-flex; gap: 8px; margin-top: 28px; color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.more::after { content: "→"; }
.more:hover { color: var(--white); border-bottom-color: var(--signal); }

.uc-grid, .mach-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 12px; }
.uc-tile a { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.uc-tile .vp { aspect-ratio: 16 / 10; }
.uc-tile .vp::after { inset: 10px; }
.uc-tile h3 { font-size: 18px; font-weight: 500; color: var(--white); margin-top: 4px; transition: color 0.15s; }
.uc-tile p { color: var(--dim); font-size: 15px; line-height: 1.45; }
.uc-tile a:hover h3 { color: var(--signal); }

/* use cases page */
.uc-index { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: 24px; }
.uc-index a { display: flex; gap: 10px; align-items: baseline; padding: 12px 12px 12px 0; text-decoration: none; color: var(--bone); font-size: 14.5px; border-bottom: 1px solid transparent; }
.uc-index a span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.uc-index a:hover { color: var(--white); border-bottom-color: var(--signal); }
.uc-group { margin: 88px 0 0; scroll-margin-top: 80px; }
.uc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 32px 48px; padding-block: 40px 56px; border-top: 1px solid var(--line); align-items: start; }
.uc-group + .uc { border-top: 0; padding-top: 20px; }
.uc-text { display: grid; gap: 16px; align-content: start; }
.uc-no { color: var(--signal); }
.uc-notice { color: var(--dim); font-size: 13.5px; line-height: 1.45; max-width: 52ch; }
.uc-text .more { justify-self: start; }
.uc h3 { font-size: clamp(28px, 2.7vw, 42px); line-height: 1.02; letter-spacing: -0.03em; color: var(--white); }
.uc-desc { color: var(--bone); max-width: 44ch; }
.uc-io { display: grid; border-top: 1px solid var(--line-2); }
.uc-io div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.uc-io dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.uc-io dd { color: var(--bone); font-size: 15px; }
.uc-facts { list-style: none; display: grid; gap: 8px; color: var(--dim); font-size: 15px; }
.uc-facts li { padding-left: 16px; position: relative; }
.uc-facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px; background: var(--signal); }
.uc-vp { aspect-ratio: 16 / 9; }
.uc-vp video[controls] { object-fit: contain; background: var(--sw); }

/* cta band */
.cta { padding-block: var(--block); border-top: 1px solid var(--line); }
.cta .wl-giant { margin-bottom: 36px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 24px; }
.plan {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 30px;
  background: var(--raise); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.plan header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h2 { font-size: 24px; letter-spacing: -0.02em; color: var(--white); }
.tag { color: var(--dim); border: 1px solid var(--line-2); padding: 3px 8px; white-space: nowrap; }
.tag.on { color: var(--sw-ink); background: var(--signal); border-color: var(--signal); }
.price { font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--white); margin-top: 10px; }
.per { color: var(--dim); }
.who { color: var(--dim); }
.plan .uc-io { flex: 1; align-content: start; }
.plan .btn { align-self: flex-start; margin-top: 8px; }
.compare, .faq { padding-block: var(--block) 0; }
.table-scroll { overflow-x: auto; margin-top: 40px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.compare tbody th { font-weight: 400; color: var(--bone); width: 28%; }
.compare td { color: var(--dim); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 900px; }
.faq details:first-of-type { margin-top: 32px; }
.faq summary { cursor: pointer; font-size: 20px; letter-spacing: -0.01em; color: var(--white); }
.faq details p { margin-top: 12px; color: var(--dim); max-width: 62ch; }
/* plain lists and paragraphs in a .faq section (download page): inside the column, readable line length */
.faq > p { margin-top: 24px; color: var(--dim); max-width: 62ch; }
.faq > ul, .faq > ol { list-style: none; margin-top: 32px; max-width: 900px; border-bottom: 1px solid var(--line); }
.faq > ul + details, .faq > ol + details { margin-top: 32px; }
.faq > ul > li, .faq > ol > li { position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--line); color: var(--bone); max-width: 900px; }
.faq > ul > li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 7px; height: 7px; background: var(--signal); }
.faq > ol { counter-reset: step; }
.faq > ol > li { counter-increment: step; }
.faq > ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 19px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--signal); }
.faq > p strong, .faq > ul strong, .faq > ol strong { color: var(--white); font-weight: 500; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .uc-grid, .mach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sec-head, .uc { grid-template-columns: minmax(0, 1fr); }
  .plans, .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .steps-3 li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .uc-grid, .mach-grid { grid-template-columns: minmax(0, 1fr); }
  .uc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* how it works: the four steps, numbered on one real build */
.how-steps { margin-bottom: 40px; }
.stage .con-prompt b { font-size: 11px; line-height: 1.75; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.stage-left { min-width: 0; border-right: 1px solid var(--line); }
.stage-vp { aspect-ratio: 970 / 696; overflow: hidden; }
.stage-vp video { right: auto; width: calc(100% * 1280 / 970); max-width: none; object-position: left center; }
.stage .con-plan { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 18px; border-right: 0; border-top: 1px solid var(--line); font-size: 11px; }
.stage-right { display: flex; flex-direction: column; min-width: 0; }
.stage .row { grid-template-columns: 3ch 17ch minmax(0, 1fr) 11ch 6ch; gap: 10px; }
.row-head { padding: 10px 16px 8px !important; border-bottom: 1px solid var(--line); color: var(--dim) !important; font-size: 11px; }
.row-head i, .con-foot i { font-style: normal; color: var(--signal); }
.stage-right .con-feed { flex: 1 1 0; height: 0; min-height: 0; }

/* waitlist pop-up (bio link) */
.wl-pop { margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: hidden auto; padding: 32px; background: var(--raise); color: var(--bone); border: 1px solid var(--line-2); }
.wl-pop::backdrop { background: rgba(5, 5, 4, 0.72); backdrop-filter: blur(3px); }
.wl-pop h2 { font-size: clamp(28px, 5vw, 38px); line-height: 1.05; letter-spacing: -0.03em; color: var(--white); margin: 12px 0 10px; }
.pop-lede { color: var(--dim); margin-bottom: 18px; }
.wl-pop .wl { grid-template-columns: minmax(0, 1fr); max-width: none; gap: 14px; }
.wl-pop .wl-row input, .wl-pop .wl-row select { padding: 8px 0; }
.wl-pop .wl-msg:empty { display: none; }
.pop-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pop-note { margin-top: 14px; color: var(--dim); font-size: 13px; }
.pop-link { background: none; border: 0; padding: 0; color: var(--dim); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pop-link:hover { color: var(--bone); }
.pop-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--dim); font-size: 26px; line-height: 1; padding: 6px 8px; cursor: pointer; }
.pop-x:hover { color: var(--white); }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage .con-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-right .con-feed { height: 320px; flex: none; }
}
@media (max-width: 560px) {
  .wl-pop { padding: 24px 20px; }
  .stage .row { grid-template-columns: 3ch 14ch minmax(0, 1fr) 10ch; }
  .stage .row .ms { display: none; }
}

/* blog: cards (blog page, home page, "keep reading") */
.home-blog { padding-block: var(--block) 0; }
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: var(--coal); border: 1px solid var(--line); transition: border-color 0.2s, background-color 0.2s;
}
.post-card a:hover { border-color: var(--line-2); background: var(--raise); }
.pc-img { position: relative; overflow: hidden; background: var(--sw); }
.pc-img img, .latest img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sw); display: block; }
.pc-img img { transition: transform 0.6s var(--out); }
.post-card a:hover .pc-img img { transform: scale(1.035); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px;
  background: rgba(10, 10, 9, 0.86); color: var(--bone); font-size: 10.5px; line-height: 1;
}
.chip::before { content: ""; width: 6px; height: 6px; background: var(--signal); }
.pc-img .chip { position: absolute; top: 12px; left: 12px; }
.pc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.post-card h3 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); transition: color 0.15s; }
.post-card a:hover h3 { color: var(--signal); }
.post-card p { color: var(--dim); font-size: 15px; line-height: 1.45; }
.pc-body p:not(.post-meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: 10.5px; color: #6a6b65; }
.post-card .post-meta { margin-top: auto; padding-top: 6px; font-size: 10.5px; color: #6a6b65; }

/* blog page */
.blog-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding-bottom: 40px; }
.blog-hero .label { margin-bottom: 18px; }
.blog-h1 { font-size: clamp(40px, 5.2vw, 80px); line-height: 0.96; letter-spacing: -0.04em; color: var(--white); }
.blog-hero .lede { color: var(--dim); max-width: 44ch; }
.blog-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); padding-top: 32px; }
.feat a { display: grid; gap: 22px; text-decoration: none; color: inherit; }
.feat-vp .hud .chip { top: 22px; left: 24px; }
.feat-text { display: grid; gap: 14px; max-width: 62ch; }
.feat h2 { font-size: clamp(28px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.03em; color: var(--white); transition: color 0.15s; }
.feat a:hover h2 { color: var(--signal); }
.feat-text > p:not(.post-meta) { color: var(--dim); font-size: 17px; line-height: 1.5; }
.feat .more { justify-self: start; margin-top: 4px; }
.li-cat { color: var(--signal); }
.latest .label { margin-bottom: 8px; }
.latest ul { list-style: none; display: grid; }
.latest li + li { border-top: 1px solid var(--line); }
.latest a { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; text-decoration: none; color: inherit; }
.li-text { display: grid; gap: 7px; }
.li-text .li-cat { font-size: 10.5px; }
.li-title { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; color: var(--white); transition: color 0.15s; }
.latest a:hover .li-title { color: var(--signal); }
.post-list { padding-bottom: clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--nav-h) + 16px); }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 32px; border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 28px; }
.list-h { font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: -0.035em; color: var(--white); }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 13px; background: transparent; border: 1px solid var(--line-2); color: var(--bone);
  font-family: var(--mono); font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.blog-filter button span { color: var(--dim); }
.blog-filter button:hover { border-color: var(--bone); }
.blog-filter button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--sw-ink); }
.blog-filter button[aria-pressed="true"] span { color: var(--sw-dim); }
.blog-about { padding-bottom: var(--block); display: grid; gap: 14px; }
.blog-about p:not(.label) { color: var(--dim); max-width: 78ch; font-size: 15px; line-height: 1.6; }

/* a post: the text in the middle, "On this page" left, extrudo right */
.read-progress { position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; height: 2px; z-index: 21; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .read-progress { animation: read-progress linear both; animation-timeline: scroll(root); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .read-progress { display: none; } }
.post-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); column-gap: clamp(28px, 2.5vw, 64px);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 88px));
}
main > .read-progress:first-child { padding: 0; }
.post { grid-column: 2; min-width: 0; }
.post-toc, .post-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; }
.post-toc { grid-column: 1; grid-row: 1; justify-self: end; width: min(100%, 230px); padding-top: 6px; }
.post-toc p { color: var(--dim); margin-bottom: 12px; }
.post-toc ol { list-style: none; display: grid; border-left: 1px solid var(--line); }
.post-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--dim); text-decoration: none; font-size: 14px; line-height: 1.35; transition: color 0.15s, border-color 0.15s; }
.post-toc a:hover { color: var(--white); }
.post-toc a[aria-current="true"] { color: var(--white); border-left-color: var(--signal); }
.post-side { grid-column: 3; grid-row: 1; justify-self: start; width: min(100%, 260px); }
.side-cta { display: grid; gap: 14px; padding: 20px 18px 22px; background: var(--raise); border: 1px solid var(--line); }
.side-h { font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; color: var(--white); }
.side-p { color: var(--dim); font-size: 14.5px; line-height: 1.45; }
.side-cta .btn { justify-self: start; white-space: nowrap; }
.side-link { color: var(--bone); text-decoration: none; font-size: 10.5px; }
.side-link::after { content: " →"; }
.side-link:hover { color: var(--signal); }
.post-head { display: grid; gap: 22px; margin-bottom: 32px; }
.post-head .label a { color: inherit; text-decoration: none; }
.post-head .label a:hover { color: var(--white); }
.post-head h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.035em; color: var(--white); }
.post-by { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-block: 1px solid var(--line); }
.post-by img { background: var(--white); border-radius: 50%; flex: none; }
.post-by p { display: grid; gap: 4px; color: var(--bone); font-size: 15px; }
.post-by .mono { color: var(--dim); font-size: 10.5px; }
.tldr { padding: 20px 24px; background: var(--raise); border-left: 2px solid var(--signal); display: grid; gap: 8px; margin-bottom: 40px; }
.tldr .mono { color: var(--signal); }
.tldr p:last-child { color: var(--bone); font-size: 17px; line-height: 1.5; }
.prose { color: var(--bone); font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 22px; }
.prose > p:first-child { font-size: 21px; line-height: 1.5; color: var(--white); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.025em; color: var(--white); margin-top: 64px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { font-size: 20px; line-height: 1.25; color: var(--white); margin-top: 32px; }
.prose h3 + p { margin-top: 8px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose a { color: var(--white); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.prose a:hover { color: var(--signal); }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--raise); padding: 1px 5px; }
.prose strong { color: var(--white); font-weight: 500; }
/* tables in blog posts (build_blog.py wraps them in .table-scroll) */
.post .prose .table-scroll table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; line-height: 1.45; }
.post .prose .table-scroll th, .post .prose .table-scroll td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.post .prose .table-scroll thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.post .prose .table-scroll tbody th { color: var(--white); font-weight: 500; width: 24%; }
.post .prose .table-scroll td { color: var(--bone); }
.post-fig { margin-block: 40px; }
.post-fig figcaption { margin-top: 10px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.post-svg svg { display: block; width: 100%; height: auto; }
.post-more { padding-block: var(--block) 0; }
.post-more .label { margin-bottom: 24px; }

@media (max-width: 1279px) {
  .post-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .post { grid-column: 1; }
  .post-toc, .post-side { display: none; }
}
@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-top { grid-template-columns: minmax(0, 1fr); }
  .latest ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .latest li + li { border-top: 0; }
  .latest li { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .blog-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .latest ul { grid-template-columns: minmax(0, 1fr); }
  .latest li:first-child { border-top: 0; }
  .latest a { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .li-title { font-size: 16px; }
  .blog-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .blog-filter button { flex: none; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 19px; }
  .feat-vp .hud .chip { top: 16px; left: 16px; }
}

/* legal pages (terms, privacy, refunds): the blog's prose, quieter */
.legal { max-width: 72ch; padding-bottom: clamp(64px, 8vw, 112px); }
.legal.prose { font-size: 17px; }
.legal.prose > p:first-child { font-size: 17px; line-height: 1.65; color: var(--bone); }
.legal.prose h2 { font-size: clamp(22px, 2.2vw, 26px); margin-top: 48px; }
.legal.prose > p.updated { color: var(--dim); font-size: 11.5px; }

/* checkout (20 Nov 2026): our order summary beside Paddle's inline payment form. The form's own colours are
   set in Paddle (Checkout settings > Styling, dark mode) to match these tokens. */
.co { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "side pay" "foot pay";
  gap: 28px clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.co-side { grid-area: side; display: grid; gap: 22px; align-content: start; }
.co-foot { grid-area: foot; display: grid; gap: 18px; align-content: start; }
.co-h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; color: var(--white); margin-left: -0.03em; }
.co-sum { display: grid; gap: 16px; padding: 24px 24px 26px; background: var(--raise); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.co-sum header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 18px; }
.co-sum h2 { font-size: 24px; letter-spacing: -0.02em; color: var(--white); }
.co-desc { color: var(--dim); font-size: 15px; line-height: 1.45; }
.co-desc:empty { display: none; }
.co-sum [data-co-sum] { display: grid; gap: 16px; }
.co-items { list-style: none; border-top: 1px solid var(--line-2); }
.co-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--bone); font-size: 15px; font-variant-numeric: tabular-nums; }
.co-items small { display: block; margin-top: 2px; color: var(--dim); font-size: 13px; }
.co-seats { display: flex; align-items: center; gap: 10px; }
.co-seats .mono { color: var(--dim); margin-right: auto; }
.co-step { width: 36px; height: 36px; border: 1px solid var(--line-2); background: transparent; color: var(--white); font: 400 18px/1 var(--display); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.co-step:hover:not(:disabled) { border-color: var(--signal); color: var(--signal); }
.co-step:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.co-step:disabled { opacity: 0.35; cursor: default; }
.co-seats output { min-width: 3ch; text-align: center; color: var(--white); font-size: 18px; font-variant-numeric: tabular-nums; }
.co-totals { display: grid; gap: 7px; }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 15px; }
.co-totals dd { color: var(--bone); font-variant-numeric: tabular-nums; }
.co-totals .co-due { align-items: baseline; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--white); font-size: 17px; }
.co-totals .co-due dd { color: var(--white); font-size: 30px; letter-spacing: -0.02em; }
.co-then { color: var(--bone); font-size: 15px; line-height: 1.45; padding-left: 16px; border-left: 2px solid var(--signal); }
.co-notes { list-style: none; display: grid; gap: 8px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.co-notes li { padding-left: 16px; position: relative; }
.co-notes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--signal); }
.co-legal { color: var(--dim); }
/* 23 Nov 2026: right under Paddle's pay button, where the buyer looks last */
.co-legal-pay { margin: 10px 4px 4px; line-height: 1.5; }
.co-legal-pay a { color: var(--bone); }
.co-pay { grid-area: pay; position: relative; min-height: 520px; padding: 12px; background: var(--coal); border: 1px solid var(--line); }
.co-frame { min-height: 450px; }
.co-msg { display: grid; gap: 16px; padding: 28px 16px; color: var(--bone); font-size: 17px; line-height: 1.45; max-width: 52ch; }
p.co-msg { color: var(--dim); }
@media (max-width: 900px) {
  .co { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "side" "pay" "foot"; }
  .co-pay { min-height: 480px; }
}
/* Paddle's form needs 312 px; on the smallest phones the panel runs edge to edge */
@media (max-width: 380px) {
  .co-pay { margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding: 0; border-inline: 0; }
}
