/* Mivena: the public site. The memorable thing is the agent console in the hero: a product window where
   the owner of an invented company asks a question and the agent does the work, framed by a quiet
   signal field. Everything else is precise and calm: deep blue-black, hairlines, one type family with a
   mono for machine details.
   Colour carries meaning: green = done, and Live in the status vocabulary (nothing is live yet);
   copper = in progress inside the demo (the agent at work, stock under the reorder point, an order
   that needs a person), and the drafts a person signs. Ion, a cool ice blue, is the system's own
   colour: focus, selection, signals, and Pilot (built and tested, being proven).
   Copper also stays in the mark, as the ring's electron. */
@font-face { font-family: "Mona Sans"; src: url("/fonts/mona-sans-latin.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mona Sans"; src: url("/fonts/mona-sans-latin-ext.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: oklch(0.145 0.012 262);
  --bg-deep: oklch(0.12 0.011 262);
  --surface: oklch(0.175 0.013 262);
  --surface-2: oklch(0.205 0.014 262);
  --ink: oklch(0.97 0.004 250);
  --ink-2: oklch(0.81 0.012 255);
  --ink-3: oklch(0.67 0.014 258);
  --ink-4: oklch(0.57 0.014 258);
  --line: oklch(1 0 0 / 0.07);
  --line-2: oklch(1 0 0 / 0.12);
  --line-3: oklch(1 0 0 / 0.2);
  --ion: oklch(0.8 0.105 228);
  --ion-ink: oklch(0.88 0.06 228);
  --copper: oklch(0.73 0.155 50);
  --copper-ink: oklch(0.86 0.08 55);
  --green: oklch(0.82 0.13 163);
  --paper: oklch(0.975 0.004 250);
  --paper-ink: oklch(0.3 0.012 260);
  --on-light: oklch(0.17 0.012 262);
  --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-lift: 0 1px 2px oklch(0 0 0 / 0.35), 0 16px 36px -10px oklch(0 0 0 / 0.5), 0 48px 96px -24px oklch(0 0 0 / 0.6);
  --edge: inset 0 0 0 1px var(--line-2), inset 0 1px 0 oklch(1 0 0 / 0.07);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --gutter: 32px;
  --sec: clamp(104px, 6vw + 64px, 156px);
  color-scheme: dark;
  scrollbar-color: oklch(1 0 0 / 0.18) var(--bg);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--ion); overflow-x: clip; }
::selection { background: oklch(0.8 0.105 228 / 0.3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.electron { fill: var(--copper); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* Navigation: a blurred layer the page scrolls under, with how far you have read along its edge */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: oklch(0.145 0.012 262 / 0.55); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 transparent; transition: box-shadow 300ms ease, background-color 300ms ease; }
.nav.scrolled { background: oklch(0.145 0.012 262 / 0.72); box-shadow: 0 1px 0 var(--line); }
.nav-in { max-width: 1320px; margin-inline: auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 640; font-stretch: 108%; font-size: 20px; letter-spacing: -0.035em; }
.brand svg { width: 24px; height: 24px; }
.links { display: flex; gap: 4px; font-size: 14.5px; color: var(--ink-3); }
.links a { padding: 7px 12px; border-radius: 999px; transition: color 150ms ease, background-color 150ms ease; }
.links a.on { color: var(--ink); background: oklch(1 0 0 / 0.06); }
.lang { margin-left: auto; font-size: 14px; color: var(--ink-3); transition: color 150ms ease; }
.nav-cta { font-size: 14.5px; font-weight: 560; padding: 8px 15px; border-radius: 999px; color: var(--on-light); background: var(--ink); box-shadow: inset 0 -1px 0 oklch(0 0 0 / 0.12), 0 0 0 1px oklch(1 0 0 / 0.1), 0 6px 20px -8px oklch(0.8 0.105 228 / 0.5); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.nav-cta:active { transform: scale(0.97); }
.nav-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; pointer-events: none; }
.nav-prog i { display: block; height: 100%; background: linear-gradient(90deg, oklch(0.8 0.105 228 / 0), var(--ion) 70%, var(--ink)); transform: scaleX(0); transform-origin: 0 50%; }
@media (hover: hover) and (pointer: fine) { .links a:hover, .lang:hover { color: var(--ink); } .nav-cta:hover { background: oklch(1 0 0); } }
@media (max-width: 960px) { .links { display: none; } }
@media (max-width: 520px) { .lang { display: none; } .nav-cta { margin-left: auto; } .nav-in { padding-block: 11px; } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--on-light); font-weight: 600; transition: top 150ms ease; }
.skip:focus { top: 12px; }

/* Type: tight and heavy at display sizes, open at reading sizes */
h1 { margin: 0; font-weight: 580; font-stretch: 112%; font-size: clamp(2.75rem, 0.3rem + 5.2vw, 5.5rem); line-height: 0.94; letter-spacing: -0.052em; }
h1 .ln { display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
h1 .ln > span { display: inline-block; padding-bottom: 0.14em; margin-bottom: -0.14em; background: linear-gradient(180deg, var(--ink) 35%, oklch(0.8 0.02 250) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 0; font-weight: 560; font-stretch: 108%; font-size: clamp(2.15rem, 1.1rem + 2.8vw, 3.75rem); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
h3 { margin: 0; font-weight: 580; font-size: 1.2rem; letter-spacing: -0.022em; line-height: 1.25; }
.lead { margin: 22px 0 0; font-size: clamp(1.06rem, 0.98rem + 0.32vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 48ch; text-wrap: pretty; }
.sec-head { max-width: 780px; }
section { scroll-margin-top: 68px; }

/* Status: the one vocabulary for what works when. Live is green, Pilot is ion blue, Planned is an
   empty ring: the dot alone tells them apart, and the words always stand next to it. */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 540; letter-spacing: -0.005em; color: var(--ink-2); white-space: nowrap; }
.st i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.st-live i, .f-live i { background: var(--green); box-shadow: 0 0 0 3px oklch(0.82 0.13 163 / 0.14), 0 0 10px oklch(0.82 0.13 163 / 0.7); }
.st-pilot i, .f-pilot i { background: var(--ion); box-shadow: 0 0 0 3px oklch(0.8 0.105 228 / 0.14), 0 0 10px oklch(0.8 0.105 228 / 0.6); }
.st-planned i, .f-planned i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.st-planned { color: var(--ink-3); }
.legend { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.legend div { display: grid; gap: 6px; align-content: start; }
.legend dt { margin: 0; }
.legend dt .st { font-size: 13px; color: var(--ink); }
.legend dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 760px) { .legend { grid-template-columns: minmax(0, 1fr); } }

/* ===================== Hero ===================== */
.hero { position: relative; overflow: clip; isolation: isolate; padding: 148px var(--gutter) 96px; background: var(--bg); }
/* The ledger: an account book's ruling at line height and its double margin rule in copper, fading
   out downward. The page's texture, drawn once, still. */
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 88%); mask-image: linear-gradient(180deg, #000 20%, transparent 88%);
  background-image: repeating-linear-gradient(180deg, transparent 0 35px, oklch(1 0 0 / 0.045) 35px 36px); background-position: 0 12px; }
.hero-grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(12px, calc(50% - 668px)); width: 4px; border-inline: 1px solid oklch(0.73 0.155 50 / 0.28); }
.lede { position: relative; z-index: 2; max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.lede-main { display: grid; gap: 24px; justify-items: start; }
.lede-main .sub { max-width: 44ch; }
.lede-main .join { width: 100%; max-width: 440px; }
.hero h1 { font-size: clamp(2.7rem, 1rem + 3.7vw, 4.9rem); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 11px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: oklch(1 0 0 / 0.04); box-shadow: var(--edge); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .hero-tag:hover { color: var(--ink); background: oklch(1 0 0 / 0.07); } }
.lede-side { display: grid; gap: 18px; padding-bottom: 10px; }
.sub { margin: 0; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.18rem); line-height: 1.52; color: var(--ink-2); text-wrap: pretty; }
.join { display: flex; gap: 6px; padding: 5px; border-radius: 13px; background: oklch(0.12 0.011 262 / 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--edge); transition: box-shadow 200ms ease; }
.join:focus-within { box-shadow: inset 0 0 0 1.5px oklch(0.8 0.105 228 / 0.85), 0 0 0 4px oklch(0.8 0.105 228 / 0.12); }
.join input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px var(--sans); padding: 0 12px; }
.join input::placeholder { color: var(--ink-4); }
.join button, .join-cta { border: 0; border-radius: 9px; padding: 11px 16px; font: 600 15px var(--sans); letter-spacing: -0.01em; color: var(--on-light); cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, oklch(1 0 0), oklch(0.9 0.01 250)); box-shadow: inset 0 -1px 0 oklch(0 0 0 / 0.12), 0 1px 2px oklch(0 0 0 / 0.3), 0 8px 24px -8px oklch(0.8 0.105 228 / 0.55); transition: transform 160ms var(--ease-out), filter 150ms ease; }
.join-cta { justify-self: start; border-radius: 11px; padding: 13px 20px; }
.join button:active, .join-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .join button:hover, .join-cta:hover { filter: brightness(1.06); } }
.note { margin: 0; font-size: 13.5px; color: var(--ink-3); }

/* The one orchestrated entrance: the headline rises line by line, then the console. CSS only, so it
   plays the same with or without script; with reduced motion it is a short fade. */
@keyframes rise { from { transform: translateY(104%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes lift { from { opacity: 0; transform: translateY(36px) scale(0.985); } }
@keyframes fade { from { opacity: 0; } }
h1 .ln > span { animation: rise 1000ms var(--ease-out) both; }
h1 .ln:nth-child(2) > span { animation-delay: 80ms; }
.hero-tag { animation: fade-up 700ms var(--ease-out) 60ms both; }
.lede-main .sub, .lede-main .join, .lede-main .join-cta, .lede-main .note { animation: fade-up 800ms var(--ease-out) 180ms both; }
.sheet { animation: lift 1000ms var(--ease-out) 260ms both; }

/* ---------- The agent console ---------- */
.cx { position: relative; z-index: 2; max-width: 1240px; margin: 56px auto 0; perspective: 2200px; }
.cx-glow { position: absolute; z-index: -1; left: -6%; right: -6%; top: -14%; height: 92%; pointer-events: none;
  background: radial-gradient(42% 52% at 26% 46%, oklch(0.8 0.105 228 / 0.16), transparent 72%), radial-gradient(36% 46% at 78% 58%, oklch(0.73 0.155 50 / 0.1), transparent 72%), radial-gradient(50% 36% at 50% 40%, oklch(0.5 0.1 260 / 0.2), transparent 70%); }
.cx-win { position: relative; display: grid; grid-template-columns: 228px minmax(0, 1fr); height: 600px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.05), oklch(1 0 0 / 0.012) 40%), oklch(0.165 0.013 262 / 0.95);
  transform-origin: 50% 60%;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 oklch(1 0 0 / 0.1), var(--shadow-lift), 0 0 0 1px oklch(0 0 0 / 0.4); font-size: 13.5px; }
/* A soft light on the glass that follows the pointer (mouse only, moved from site.js) */
.cx-sheen { position: absolute; left: 0; top: 0; z-index: 5; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 500ms ease;
  background: radial-gradient(closest-side, oklch(0.9 0.05 228 / 0.07), oklch(0.9 0.05 228 / 0.02) 50%, transparent); }
.cx-win.lit .cx-sheen { opacity: 1; }
/* A beam of light travels the window's edge: three dashes on one track, head bright, tail faint. */
.cx-beam { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cx-beam rect { x: 0.75px; y: 0.75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); fill: none; stroke-width: 1.5; stroke-linecap: round; animation: beam 9s linear infinite; }
.cx-beam .b1 { stroke: oklch(0.8 0.105 228 / 0.28); stroke-dasharray: 16 84; animation-delay: -1.26s; }
.cx-beam .b2 { stroke: oklch(0.8 0.105 228 / 0.7); stroke-dasharray: 7 93; animation-delay: -0.45s; }
.cx-beam .b3 { stroke: oklch(0.98 0.02 230); stroke-dasharray: 2 98; }
@keyframes beam { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.hero.off .cx-beam rect, .hero.off .live, .hero.off .cx-state[data-state="working"] i { animation-play-state: paused; }

.cx-side { padding: 16px 12px 0; background: oklch(0.12 0.011 262 / 0.55); box-shadow: inset -1px 0 0 var(--line); display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 20px; min-height: 0; }
.cx-org { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.cx-org > span:last-child { display: grid; line-height: 1.25; min-width: 0; }
.cx-org b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-org > span:last-child span { font-size: 11.5px; color: var(--ink-4); }
.cx-logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-weight: 700; font-size: 14px; color: oklch(0.22 0.04 255); background: linear-gradient(160deg, oklch(0.9 0.06 228), oklch(0.7 0.1 245)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.4), 0 0 16px -4px oklch(0.8 0.105 228 / 0.6); }
.cx-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cx-menu li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-3); transition: background-color 220ms ease, color 220ms ease; }
.cx-menu li.on { background: oklch(1 0 0 / 0.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cx-menu li.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 2px; border-radius: 0 2px 2px 0; background: var(--ion); box-shadow: 0 0 10px var(--ion); }
.mi { width: 14px; height: 14px; flex: none; border: 1.5px solid currentColor; border-radius: 4px; opacity: 0.75; }
.mi-0 { border-radius: 50%; }
.mi-2 { border-top-width: 4px; }
.mi-3 { border-radius: 2px 6px 2px 2px; }
.mi-4 { border-width: 0 0 1.5px 1.5px; border-radius: 0; }
.mi-5 { border-radius: 2px; border-style: solid; box-shadow: inset 4px 0 0 -2.5px currentColor; }
/* The activity feed: what the agent has done this morning, newest on top */
.cx-act { align-self: end; min-height: 0; padding: 14px 4px 14px; box-shadow: 0 -1px 0 var(--line); }
.cx-act-h { margin: 0 6px 10px; display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 560; color: var(--ink-3); }
.live { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px oklch(0.82 0.13 163 / 0.8); }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1px oklch(0.82 0.13 163 / 0.6); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } 70%, to { transform: scale(1.5); opacity: 0; } }
.cx-act ol { list-style: none; margin: 0; padding: 0; height: 196px; overflow: hidden; }
.cx-act li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px; height: 49px; padding: 7px 6px; font-size: 12px; line-height: 1.35; color: var(--ink-3); box-shadow: 0 1px 0 var(--line); }
.cx-act li:first-child { color: var(--ink-2); }
.cx-act time { font: 400 11px/1.6 var(--mono); color: var(--ink-4); }
.cx-act li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.cx-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; }
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; box-shadow: inset 0 -1px 0 var(--line); color: var(--ink-2); }
.cx-who { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; }
.cx-who svg { width: 16px; height: 16px; color: var(--ink); }
.cx-ex { font-size: 11.5px; color: var(--ink-3); padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.cx-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 0; }
.cx-chat { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 20px; box-shadow: inset -1px 0 0 var(--line); min-height: 0; }
.cx-thread { min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.cx-sc { display: grid; gap: 16px; align-content: start; }
.cx-q { justify-self: end; max-width: 86%; margin: 0; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: linear-gradient(180deg, oklch(1 0 0 / 0.1), oklch(1 0 0 / 0.07)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.cx-steps { list-style: none; margin: 0; padding: 0 0 0 2px; display: grid; gap: 7px; font-size: 13px; color: var(--ink-3); }
.cx-steps li { display: flex; align-items: center; gap: 10px; }
.cx-steps i { position: relative; width: 15px; height: 15px; flex: none; border-radius: 50%; background: oklch(0.82 0.13 163 / 0.14); box-shadow: inset 0 0 0 1px oklch(0.82 0.13 163 / 0.4); }
.cx-steps i::after { content: ""; position: absolute; left: 4.5px; top: 4px; width: 5px; height: 3px; border: solid var(--green); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.cx-steps li.run i { background: none; box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / 0.14); border-radius: 50%; }
.cx-steps li.run i::after { inset: 0; left: 0; top: 0; width: auto; height: auto; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--copper); transform: none; animation: spin 700ms linear infinite; }
/* The step being worked on shimmers, the way a mind at work does in every good AI product */
.cx-steps li.run span { background: linear-gradient(90deg, var(--ink-3) 0 38%, var(--ink) 50%, var(--ink-3) 62% 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.cx-a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 11px; align-items: start; }
.cx-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: oklch(1 0 0 / 0.06); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 18px -6px oklch(0.8 0.105 228 / 0.7); }
.cx-av svg { width: 15px; height: 15px; color: var(--ink); }
.cx-a-text { margin: 2px 0 10px; font-size: 15px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.cx-a-text .w { transition: opacity 280ms ease, filter 280ms ease; }
.cx-a-text .w.off { opacity: 0; filter: blur(4px); }
.cx-composer { display: flex; align-items: center; gap: 8px; height: 46px; padding: 6px 6px 6px 14px; border-radius: 13px; background: oklch(0.12 0.011 262 / 0.7); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 200ms ease; }
.cx-composer.typing { box-shadow: inset 0 0 0 1.5px oklch(0.8 0.105 228 / 0.7), 0 0 0 4px oklch(0.8 0.105 228 / 0.08); }
.cx-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; font-size: 14.5px; white-space: nowrap; overflow: hidden; }
.cx-typed { color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.cx-ph { color: var(--ink-4); }
.cx-composer.has-text .cx-ph { display: none; }
.cx-caret { display: none; width: 1.5px; height: 18px; margin-left: 1px; background: var(--ion); animation: blink 1s steps(2, jump-none) infinite; }
.cx-composer.typing .cx-caret { display: block; }
@keyframes blink { 50% { opacity: 0; } }
.cx-send { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink-3); background: oklch(1 0 0 / 0.07); transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.cx-send svg { width: 15px; height: 15px; }
.cx-composer.has-text .cx-send { background: var(--ink); color: var(--on-light); }
.cx-send.press { transform: scale(0.88); }

/* The status bar: what the agent is doing, how long it took, and where it runs */
.cx-bar { display: flex; align-items: center; gap: 18px; padding: 0 18px; height: 36px; box-shadow: inset 0 1px 0 var(--line); background: oklch(0.12 0.011 262 / 0.4); font: 400 11.5px var(--mono); color: var(--ink-4); white-space: nowrap; }
.cx-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); min-width: 92px; }
.cx-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px oklch(0.82 0.13 163 / 0.8); transition: background-color 200ms ease, box-shadow 200ms ease; }
.cx-state[data-state="working"] i { background: var(--copper); box-shadow: 0 0 8px oklch(0.73 0.155 50 / 0.9); animation: pulse 900ms ease-in-out infinite alternate; }
.cx-state[data-state="ready"] i { background: var(--ink-3); box-shadow: none; }
@keyframes pulse { to { opacity: 0.35; } }
.cx-time { font-variant-numeric: tabular-nums; color: var(--ink-3); min-width: 6ch; }
.cx-meta { position: relative; }
.cx-meta::before { content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: var(--ink-4); }
.cx-eu { margin-left: auto; color: var(--ion-ink); }
.cx-eu::before { display: none; }

/* The result panel */
.cx-res { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 20px; background: radial-gradient(520px 320px at 100% 0%, oklch(0.8 0.105 228 / 0.07), transparent 70%); }
.res { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.res-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 4px; font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.res-head > span { font-family: var(--mono); font-size: 11.5px; }
.res-head .delta { font-family: var(--sans); font-size: 12.5px; }
.res-head b { font-weight: 580; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }
.who { display: grid; line-height: 1.3; min-width: 0; }
.who b { font-weight: 540; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who > span { font-size: 12px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k { display: block; font-size: 12px; color: var(--ink-4); margin-bottom: 4px; }
.res-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; font-size: 13px; color: var(--ink-3); }
.mini-btn { flex: none; border-radius: 9px; padding: 8px 13px; font-weight: 620; font-size: 13px; color: var(--on-light); background: var(--ink); box-shadow: inset 0 -1px 0 oklch(0 0 0 / 0.14), 0 8px 22px -10px oklch(0.8 0.105 228 / 0.7); white-space: nowrap; }
.res-note { margin: 0; font-size: 12.5px; color: var(--ink-4); }

.ord { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ord li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; background: oklch(1 0 0 / 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.via { font: 500 10.5px var(--mono); color: var(--ion-ink); text-align: center; padding: 3px 0; border-radius: 5px; background: oklch(0.8 0.105 228 / 0.07); box-shadow: inset 0 0 0 1px oklch(0.8 0.105 228 / 0.2); }
.ord em, .pos em { font-style: normal; font-size: 11.5px; font-weight: 560; padding: 3px 9px; border-radius: 999px; color: var(--green); background: oklch(0.82 0.13 163 / 0.12); white-space: nowrap; }
.ord li.need { background: oklch(0.73 0.155 50 / 0.07); box-shadow: inset 0 0 0 1px oklch(0.73 0.155 50 / 0.3); }
.ord li.need em { color: var(--copper-ink); background: oklch(0.73 0.155 50 / 0.16); }
.ord-more { margin: 0; padding-left: 10px; font-size: 12.5px; color: var(--ink-4); }

.stock { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stock li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 14px; padding: 7px 0; box-shadow: 0 1px 0 var(--line); }
.lvl { display: block; width: 100%; height: 16px; overflow: visible; }
.lvl .tr { fill: oklch(1 0 0 / 0.07); }
.lvl .fl { fill: oklch(0.82 0.13 163 / 0.8); transform-box: fill-box; transform-origin: 0 50%; }
.stock li.low .fl { fill: var(--copper); }
.stock li.low .who > span { color: var(--copper-ink); }
.lvl .rp { fill: var(--ink-2); }
.stock-key { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-4); }
.stock-key i { width: 2px; height: 12px; border-radius: 1px; background: var(--ink-2); }
.pos { margin-top: auto; display: grid; gap: 6px; }
.pos p { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 10px; background: oklch(1 0 0 / 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.pos em { color: var(--ink-2); background: none; box-shadow: inset 0 0 0 1px var(--line-2); }

.delta { color: var(--green); font-weight: 560; }
.bars { list-style: none; margin: 8px 0 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; min-height: 0; background: repeating-linear-gradient(180deg, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); }
.bars li { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; text-align: center; min-height: 0; }
.bv { font: 400 11.5px var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bm { font-size: 12px; color: var(--ink-4); }
.col { display: block; width: 100%; height: 100%; overflow: visible; }
.col rect { fill: oklch(1 0 0 / 0.12); transform-box: fill-box; transform-origin: 50% 100%; }
.bars li.hi rect { fill: var(--ion); filter: drop-shadow(0 0 12px oklch(0.8 0.105 228 / 0.45)); }
.bars li.hi .bv, .bars li.hi .bm { color: var(--ink); font-weight: 560; }

.pl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.pl th { text-align: left; font-weight: 450; color: var(--ink-2); padding: 9px 0; box-shadow: 0 1px 0 var(--line); }
.pl td { text-align: right; color: var(--ink-2); padding: 9px 0; box-shadow: 0 1px 0 var(--line); white-space: nowrap; font-family: var(--mono); font-size: 12.5px; }
.pl tr.sum th, .pl tr.sum td { color: var(--ink); font-weight: 580; box-shadow: 0 -1px 0 var(--line-2), 0 1px 0 var(--line); }
.pl tfoot th, .pl tfoot td { color: var(--green); font-weight: 580; box-shadow: none; padding-top: 12px; }
/* The operating result is the line the question was about: it carries a green wash, and while playing
   the wash arrives after its number has counted up. */
.pl tbody tr:last-child th, .pl tbody tr:last-child td { background-color: oklch(0.82 0.13 163 / 0.1); }
.pl tbody tr:last-child th { padding-left: 10px; border-radius: 8px 0 0 8px; }
.pl tbody tr:last-child td { padding-right: 10px; border-radius: 0 8px 8px 0; color: var(--green); }
.play .pl tbody tr:last-child th, .play .pl tbody tr:last-child td { transition: background-color 500ms ease 700ms, color 500ms ease 700ms; }
.play .pl tbody tr:last-child:not(.on) th, .play .pl tbody tr:last-child:not(.on) td { background-color: transparent; }
.play .pl tbody tr:last-child:not(.on) td { color: var(--ink); }

/* The board deck: one slide at reading size, the whole deck as a filmstrip under it. Cream paper, ink, one copper accent. */
.deck { --cream: oklch(0.968 0.012 85); --cream-2: oklch(0.885 0.02 78); --d-ink: oklch(0.2 0.012 262); --d-ink-2: oklch(0.42 0.012 262); --d-ink-3: oklch(0.56 0.012 262); --d-rule: oklch(0.2 0.012 262 / 0.12); --d-accent: oklch(0.64 0.165 47);
  container-type: inline-size; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2.6cqw; min-height: 0; }
.dk-slide { aspect-ratio: 16 / 9; margin: 0; padding: 3.8cqw 4.8cqw 3.2cqw; border-radius: 8px; display: flex; flex-direction: column; background: var(--cream); color: var(--d-ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 22px 44px -16px oklch(0 0 0 / 0.75); overflow: hidden; }
.dk-top { display: flex; align-items: center; gap: 2.4cqw; font-size: 2.1cqw; color: var(--d-ink-3); letter-spacing: 0.01em; }
.dk-co { display: inline-flex; align-items: center; gap: 1.2cqw; font-weight: 600; color: var(--d-ink); }
.dk-co svg { width: 3cqw; height: 3cqw; color: var(--d-ink); }
.dk-co .electron, .dk-th-mark .electron { fill: var(--d-accent); }
.dk-no { margin-left: auto; font-family: var(--mono); font-size: 1.95cqw; }
.dk-kicker { margin: 3.6cqw 0 0; font-family: var(--mono); font-size: 1.95cqw; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-accent); }
.dk-title { margin: 0.6cqw 0 0; font-size: 4.1cqw; line-height: 1.1; font-weight: 640; letter-spacing: -0.03em; text-wrap: balance; }
.dk-body { flex: 1; min-height: 0; margin-top: 2.8cqw; display: grid; grid-template-columns: 34% 1fr; grid-template-rows: minmax(0, 1fr); gap: 5cqw; }
.dk-kpis { margin: 0; display: grid; align-content: space-between; }
.dk-kpi { display: grid; gap: 0.2cqw; padding-top: 0.9cqw; border-top: 1px solid var(--d-rule); }
.dk-kpi dt { font-size: 1.95cqw; color: var(--d-ink-2); }
.dk-kpi dd { margin: 0; display: flex; align-items: baseline; gap: 1cqw; font-variant-numeric: tabular-nums; }
.dk-kpi dd b { font-size: 3.9cqw; font-weight: 620; letter-spacing: -0.035em; line-height: 1; }
.dk-kpi dd > span { font-size: 1.95cqw; color: var(--d-ink-3); }
.dk-kpi .dk-delta { font-size: 1.85cqw; font-weight: 560; color: var(--d-accent); }
.dk-chart { min-height: 0; display: flex; flex-direction: column; }
.dk-chart p { margin: 0; font-size: 1.95cqw; color: var(--d-ink-2); }
.dk-chart ol { flex: 1; min-height: 0; list-style: none; margin: 4.4cqw 0 3.2cqw; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: minmax(0, 1fr); gap: 1.8cqw; border-bottom: 1px solid var(--d-rule); }
.dk-chart li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.dk-col { display: block; width: 100%; height: 100%; overflow: visible; }
.dk-col rect { fill: var(--cream-2); transform-box: fill-box; transform-origin: 50% 100%; }
.dk-chart .hi .dk-col rect { fill: var(--d-accent); }
.dk-v { position: absolute; left: 50%; top: -3cqw; transform: translateX(-50%); font-family: var(--mono); font-size: 2.1cqw; font-weight: 600; color: var(--d-accent); }
.dk-m { position: absolute; left: 50%; bottom: -3cqw; transform: translateX(-50%); font-family: var(--mono); font-size: 1.75cqw; color: var(--d-ink-3); }
.dk-foot { margin-top: 2.2cqw; padding-top: 1cqw; border-top: 1px solid var(--d-rule); font-size: 1.65cqw; color: var(--d-ink-3); }

.dk-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.dk-th { min-width: 0; aspect-ratio: 16 / 9; padding: 2.24cqw 2.56cqw; border-radius: 4px; display: flex; flex-direction: column; gap: 0.8cqw; overflow: hidden; background: var(--cream); color: var(--d-ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.3), inset 0 0 0 1px oklch(0 0 0 / 0.04); }
.dk-th b { font-size: 2.2cqw; line-height: 1.1; font-weight: 640; letter-spacing: -0.02em; }
.dk-th > span { font-size: 1.6cqw; color: var(--d-ink-3); }
.dk-th-on { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px var(--copper); }
.dk-th-cover { position: relative; background: oklch(0.24 0.014 262); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1), 0 1px 2px oklch(0 0 0 / 0.3); color: var(--cream); justify-content: flex-end; }
.dk-th-cover > span { color: oklch(0.968 0.012 85 / 0.6); }
.dk-th-mark { position: absolute; top: 2.24cqw; left: 2.56cqw; }
.dk-th-mark svg { width: 3.4cqw; height: 3.4cqw; color: var(--cream); }
.dk-th .dk-th-k { font-family: var(--mono); font-size: 1.4cqw; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-accent); }
.dk-th-bars { flex: 1; width: 100%; min-height: 0; margin-top: 0.64cqw; overflow: visible; }
.dk-th-bars rect { fill: var(--cream-2); }
.dk-th-bars rect.hi { fill: var(--d-accent); }
.dk-th .dk-th-item { font-size: 1.75cqw; color: var(--d-ink-2); padding-left: 2.24cqw; position: relative; }
.dk-th .dk-th-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.15cqw; height: 1.15cqw; margin-top: -0.58cqw; border-radius: 50%; border: 1px solid var(--d-accent); }

.doc { flex: 1; border-radius: 10px; padding: 18px 20px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 18px 40px -14px oklch(0 0 0 / 0.7); }
.doc header { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1.5px solid oklch(0.3 0.012 262 / 0.8); }
.doc header b { font-size: 19px; font-weight: 640; letter-spacing: -0.025em; color: oklch(0.2 0.012 262); }
.doc header span { font-size: 12px; color: oklch(0.48 0.012 262); }
.doc header em { justify-self: start; margin-top: 6px; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; color: oklch(0.45 0.13 48); background: oklch(0.73 0.155 50 / 0.18); }
.doc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.doc li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid oklch(0 0 0 / 0.08); }
.doc li i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: oklch(0.55 0.11 163 / 0.16); }
.doc li i::after { content: ""; position: absolute; left: 5px; top: 4.5px; width: 5px; height: 3px; border: solid oklch(0.48 0.12 163); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.lock { display: inline-flex; align-items: center; gap: 8px; }
.lock::before { content: ""; flex: none; width: 10px; height: 8px; margin-top: 4px; border-radius: 2px; background: var(--ink-3); }

/* Playing (script only, never with reduced motion): each piece waits for its `.on`. */
.play .rv { transition: opacity 360ms ease, transform 460ms var(--ease-out), filter 360ms ease; }
.play .rv:not(.on) { opacity: 0; transform: translateY(8px); filter: blur(3px); }
.play .cx-q { transform-origin: 100% 100%; }
.play .cx-q.rv:not(.on) { transform: translateY(6px) scale(0.97); }
.play .stock .fl { transition: transform 900ms var(--ease-out) 120ms; }
.play .stock li:not(.on) .fl { transform: scaleX(0); }
.play .bars li.rv:not(.on) { opacity: 1; transform: none; filter: none; }
.play .bars rect { transition: transform 720ms var(--ease-out); }
.play .bars li:not(.on) rect { transform: scaleY(0); }
.play .bars .bv { transition: opacity 300ms ease 300ms; }
.play .bars li:not(.on) .bv { opacity: 0; }
.play .dk-col rect { transition: transform 760ms var(--ease-out) 160ms; }
.play .dk-slide:not(.on) .dk-col rect { transform: scaleY(0); }
.play .dk-slide.rv:not(.on) { transform: translateY(10px) scale(0.98); }

/* The question chips under the window */
.cx-chips { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.cx-chips-in { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; scroll-snap-type: x proximity; }
.cx-chips-in::-webkit-scrollbar { display: none; }
.cx-chip { position: relative; flex: 1 0 auto; min-width: 150px; display: grid; gap: 5px; justify-items: start; text-align: left; padding: 11px 13px 13px; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; scroll-snap-align: start;
  font: inherit; color: var(--ink-3); background: oklch(1 0 0 / 0.03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, box-shadow 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.cx-chip:active { transform: scale(0.97); }
.cx-chip-t { font-size: 14px; font-weight: 560; letter-spacing: -0.012em; color: var(--ink-2); transition: color 200ms ease; }
.cx-chip .st { font-size: 11.5px; }
.cx-chip[aria-pressed="true"] { background: oklch(1 0 0 / 0.07); box-shadow: inset 0 0 0 1px var(--line-3), inset 0 1px 0 oklch(1 0 0 / 0.08), 0 10px 30px -14px oklch(0 0 0 / 0.8); }
.cx-chip[aria-pressed="true"] .cx-chip-t { color: var(--ink); }
.cx-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: oklch(1 0 0 / 0.04); }
.cx-prog i { display: block; height: 100%; background: linear-gradient(90deg, oklch(0.8 0.105 228 / 0.4), var(--ion)); box-shadow: 0 0 8px var(--ion); transform: scaleX(0); transform-origin: 0 50%; }
.cx-pause { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink-2); background: oklch(1 0 0 / 0.05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.cx-pause:active { transform: scale(0.94); }
.cx-pause svg { width: 15px; height: 15px; }
.cx-pause .i-play, .cx-pause[aria-pressed="true"] .i-pause { display: none; }
.cx-pause[aria-pressed="true"] .i-play { display: block; }
@media (hover: hover) and (pointer: fine) {
  .cx-chip:hover .cx-chip-t { color: var(--ink); }
  .cx-chip:hover { background: oklch(1 0 0 / 0.055); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 26px -14px oklch(0 0 0 / 0.9); }
  .cx-chip:hover:active { transform: scale(0.97); }
  .cx-pause:hover { background: oklch(1 0 0 / 0.1); }
}
/* A light sweeps across the primary buttons on hover */
.nav-cta, .join button, .join-cta, .signup .btn { position: relative; overflow: hidden; isolation: isolate; }
.nav-cta::after, .join button::after, .join-cta::after, .signup .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, oklch(0.8 0.105 228 / 0.28) 50%, transparent 80%); }
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover::after, .join button:hover::after, .join-cta:hover::after, .signup .btn:hover::after { transform: translateX(110%); transition: transform 750ms var(--ease-out); }
}

@media (max-width: 1100px) {
  .lede { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sheet { max-width: 600px; }
  h1 .ln { white-space: normal; }
  .cx-win { grid-template-columns: minmax(0, 1fr); }
  .cx-side { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: 104px; padding-bottom: 48px; }
  .lede-main { gap: 22px; }
  .cx { margin-top: 44px; }
  .cx-win { height: auto; }
  .cx-body { grid-template-columns: minmax(0, 1fr); }
  .cx-chat { height: 400px; box-shadow: inset 0 -1px 0 var(--line); padding: 16px; }
  .cx-res { height: 448px; padding: 16px; }
  .cx-a-text { font-size: 14.5px; }
  .ord li { padding: 7px 9px; }
  .cx-top { padding: 11px 16px; }
  .cx-bar { padding: 0 16px; gap: 16px; }
  .cx-bar .cx-meta:not(.cx-eu) { display: none; }
  .cx-chip { min-width: 140px; }
}

/* ===================== Sections ===================== */
.one, .demo, .features, .calc, .costs, .control, .own, .start, .people, .faq { padding: var(--sec) var(--gutter) 0; }
.one-in, .demo-in, .features-in, .calc-in, .costs-in, .control-in, .own-in, .start-in, .people-in, .faq-in { max-width: 1240px; margin-inline: auto; }

/* A card surface shared by the bento, the calculator, the fates and the learned list */
.card, .calc-box, .cmp, .fates, .learned, .log, .wl-in { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.01) 60%), var(--surface); box-shadow: var(--edge), var(--shadow-lift); }

/* One system instead of many */
.one { overflow: clip; }
.one-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.one-note { margin: 28px 0 0; padding: 16px 18px 16px 44px; border-radius: var(--r-md); max-width: 46ch; font-size: 15.5px; color: var(--ink-2); position: relative; background: oklch(0.82 0.13 163 / 0.05); box-shadow: inset 0 0 0 1px oklch(0.82 0.13 163 / 0.2); }
.one-note::before { content: ""; position: absolute; left: 19px; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px oklch(0.82 0.13 163 / 0.16), 0 0 10px oklch(0.82 0.13 163 / 0.7); }

/* What the agent does: a bento of four groups */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px 30px; overflow: hidden; isolation: isolate; }
.card-0 { grid-column: span 7; }
.card-1 { grid-column: span 5; }
.card-2 { grid-column: span 5; }
.card-3 { grid-column: span 7; }
/* A soft light follows the pointer across a card (pointer devices only, set from site.js) */
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms ease; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), oklch(0.8 0.105 228 / 0.08), transparent 70%); }
@media (hover: hover) and (pointer: fine) { .card:hover::before { opacity: 1; } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; color: var(--ion-ink); background: linear-gradient(180deg, oklch(0.8 0.105 228 / 0.14), oklch(0.8 0.105 228 / 0.04)); box-shadow: inset 0 0 0 1px oklch(0.8 0.105 228 / 0.22), 0 0 24px -8px oklch(0.8 0.105 228 / 0.5); }
.card-ic svg { width: 20px; height: 20px; }
.meter { display: flex; gap: 4px; }
.meter i { width: 18px; height: 4px; border-radius: 2px; }
.meter .m-live { background: var(--green); box-shadow: 0 0 8px oklch(0.82 0.13 163 / 0.6); }
.meter .m-pilot { background: var(--ion); box-shadow: 0 0 8px oklch(0.8 0.105 228 / 0.5); }
.meter .m-planned { background: var(--line-3); }
.card h3 { padding-top: 8px; font-size: 1.32rem; }
.card > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card > ul > li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.card > ul > li i { width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; }
.card > ul > li.f-planned { color: var(--ink-4); }
/* Under the bento: what the statuses mean, and the drafts a person signs */
.f-after { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 40px; align-items: start; padding: 24px 28px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg-deep); }
.drafts { margin: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.drafts strong { color: var(--ink); font-weight: 580; }
.drafts a, .status-ask a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / 0.35); }
@media (max-width: 1000px) { .f-after { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .f-after { padding: 20px; } }
/* The two wide cards carry a small drawing */
.art { display: block; height: 92px; margin: 4px 0 2px; flex: none; }
.art-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; height: 112px; }
.art-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.art-in li { display: block; font: 500 10.5px/1 var(--mono); color: var(--ion-ink); padding: 4px 9px; border-radius: 5px; background: oklch(0.8 0.105 228 / 0.07); box-shadow: inset 0 0 0 1px oklch(0.8 0.105 228 / 0.2); text-align: center; }
.art-lines { display: block; width: 100%; height: 112px; overflow: visible; }
.art-lines path { fill: none; stroke: oklch(0.8 0.105 228 / 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; animation: flow-px 1.8s linear infinite; }
@keyframes flow-px { to { stroke-dashoffset: -16; } }
.art-node { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--ink); background: var(--surface-2); box-shadow: var(--edge), 0 0 30px -6px oklch(0.8 0.105 228 / 0.55); }
.art-node svg { width: 24px; height: 24px; }
.art-bars { width: 100%; max-width: 360px; height: 112px; }
.art-bars rect { fill: oklch(1 0 0 / 0.1); }
.art-bars rect.hi { fill: var(--ion); }
/* Stock: levels against the dashed reorder point; the ones under it are copper, and a draft purchase order follows */
.art-stock { display: grid; grid-template-columns: 164px minmax(28px, 1fr) auto; align-items: center; height: 112px; }
.stock-bars { display: block; overflow: visible; }
.stock-bars rect { fill: oklch(0.82 0.13 163 / 0.55); transform-box: fill-box; transform-origin: 50% 100%; }
.stock-bars rect.low { fill: var(--copper); filter: drop-shadow(0 0 8px oklch(0.73 0.155 50 / 0.45)); }
.stock-bars .rp { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 4; }
.art-tag { justify-self: center; max-width: 112px; font: 500 10.5px/1.35 var(--mono); text-align: center; color: var(--ion-ink); padding: 5px 9px; border-radius: 6px; background: var(--surface-2); box-shadow: inset 0 0 0 1px oklch(0.8 0.105 228 / 0.3), 0 0 22px -8px oklch(0.8 0.105 228 / 0.6); }
.art-tag.draft { color: var(--copper-ink); background: oklch(0.73 0.155 50 / 0.08); box-shadow: inset 0 0 0 1px oklch(0.73 0.155 50 / 0.45); }
.art .art-link { display: block; width: 100%; height: 112px; overflow: visible; }
.art .art-link path { fill: none; stroke: oklch(0.8 0.105 228 / 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; animation: flow-px 1.8s linear infinite; }
.art-stock .art-link path { stroke: oklch(0.73 0.155 50 / 0.5); }
/* Invoices: an e-invoice is written, sent over Peppol and arrives with the customer */
.art-inv { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; height: 112px; }
.inv-doc { display: grid; align-content: start; gap: 7px; height: 96px; padding: 11px 10px; border-radius: 7px; background: var(--paper); box-shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 14px 30px -12px oklch(0 0 0 / 0.7), 0 0 26px -10px oklch(0.8 0.105 228 / 0.5); }
.inv-doc b { font: 600 8.5px/1 var(--mono); letter-spacing: 0.02em; color: oklch(0.45 0.1 240); margin-bottom: 3px; }
.inv-doc i { display: block; height: 3px; border-radius: 2px; background: oklch(0.3 0.012 262 / 0.22); transform-origin: 0 50%; }
.inv-doc i:nth-of-type(2) { width: 78%; }
.inv-doc i:nth-of-type(3) { width: 90%; }
.inv-doc i.sum { width: 46%; justify-self: end; margin-top: 6px; height: 4px; background: oklch(0.3 0.012 262 / 0.6); }
.inv-line { position: relative; display: grid; place-items: center; height: 112px; margin: 0 6px; }
.inv-line .art-link { position: absolute; inset: 0; }
.inv-line .art-tag { position: relative; }
.inv-to { display: grid; justify-items: center; gap: 7px; }
.inv-to small { font: 500 10.5px var(--mono); color: var(--ink-3); }
.art-node.ok { color: var(--green); box-shadow: var(--edge), 0 0 0 1px oklch(0.82 0.13 163 / 0.35), 0 0 28px -6px oklch(0.82 0.13 163 / 0.55); }
.art-node.ok svg { width: 22px; height: 22px; }
/* Played once as the cards arrive: levels fall to where they are, the document writes itself, the tags appear */
.js .bento .stock-bars rect { transition: transform 900ms var(--ease-out) 300ms; }
.js .bento:not(.in) .stock-bars rect { transform: scaleY(1.25); }
.js .bento:not(.in) .stock-bars rect.low { transform: scaleY(2.6); }
.js .bento .inv-doc i { transition: transform 600ms var(--ease-out); }
.js .bento .inv-doc i:nth-of-type(1) { transition-delay: 350ms; }
.js .bento .inv-doc i:nth-of-type(2) { transition-delay: 450ms; }
.js .bento .inv-doc i:nth-of-type(3) { transition-delay: 550ms; }
.js .bento .inv-doc i.sum { transition-delay: 700ms; }
.js .bento:not(.in) .inv-doc i { transform: scaleX(0); }
.js .bento .art-tag, .js .bento .inv-to { transition: opacity 500ms ease 1000ms, transform 600ms var(--ease-out) 1000ms; }
.js .bento .inv-to { transition-delay: 1300ms; }
.js .bento:not(.in) .art-tag, .js .bento:not(.in) .inv-to { opacity: 0; transform: translateY(4px); }
.js .bento .card { transition: opacity 600ms ease, transform 700ms var(--ease-out); }
.js .bento:not(.in) .card { opacity: 0; transform: translateY(18px); }
.js .bento .card-1 { transition-delay: 70ms; }
.js .bento .card-2 { transition-delay: 140ms; }
.js .bento .card-3 { transition-delay: 210ms; }

/* The sales drawing: the agent draws the months one by one, September last and lit. */
.art-bars rect { transform-box: fill-box; transform-origin: 50% 100%; }
.js .bento .art-bars rect { transition: transform 700ms var(--ease-out), fill 400ms ease; }
.js .bento .art-bars rect:nth-child(1) { transition-delay: 300ms; }
.js .bento .art-bars rect:nth-child(2) { transition-delay: 370ms; }
.js .bento .art-bars rect:nth-child(3) { transition-delay: 440ms; }
.js .bento .art-bars rect:nth-child(4) { transition-delay: 510ms; }
.js .bento .art-bars rect:nth-child(5) { transition-delay: 580ms; }
.js .bento .art-bars rect:nth-child(6) { transition-delay: 650ms, 1300ms; }
.js .bento:not(.in) .art-bars rect { transform: scaleY(0); }
.js .bento:not(.in) .art-bars rect.hi { fill: oklch(1 0 0 / 0.1); }

/* Packets: what the drawing is about travels along its line. Each arrives where the work happens: an
   order in Mivena, a draft purchase order, an e-invoice at the customer. One bright dash per path
   (pathLength 100, so the same numbers fit every width). Script only, after the cards arrive, and
   paused while the drawing is off screen. */
.art .pk { fill: none; stroke-width: 1.8; stroke-linecap: round; vector-effect: none; stroke-dasharray: 6 120; stroke-dashoffset: 6; opacity: 0; }
.art-in .pk, .art-inv .pk { stroke: var(--ion-ink); filter: drop-shadow(0 0 3px var(--ion)); }
.art-stock .pk { stroke: var(--copper-ink); filter: drop-shadow(0 0 3px var(--copper)); }
.js .bento.in .art .pk { animation: packet 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.js .bento.in .art-in .pk:nth-of-type(6) { animation-delay: 0.8s; }
.js .bento.in .art-in .pk:nth-of-type(7) { animation-delay: 1.6s; }
.js .bento.in .art-in .pk:nth-of-type(8) { animation-delay: 2.4s; }
@keyframes packet { 0% { stroke-dashoffset: 6; opacity: 0; } 6% { opacity: 1; } 58% { opacity: 1; } 62%, 100% { stroke-dashoffset: -100; opacity: 0; } }
/* Where a packet lands, the target answers: a ring of light leaves it and fades (transform and opacity only). */
.art-node, .art-stock .art-tag.draft { position: relative; }
.art-node::after, .art-stock .art-tag.draft::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1.5px var(--ion), 0 0 16px oklch(0.8 0.105 228 / 0.6); }
.art-node.ok::after { box-shadow: 0 0 0 1.5px var(--green), 0 0 16px oklch(0.82 0.13 163 / 0.6); }
.art-stock .art-tag.draft::after { box-shadow: 0 0 0 1.5px var(--copper), 0 0 14px oklch(0.73 0.155 50 / 0.55); }
.js .bento.in .art-in .art-node::after { animation: receive 0.8s var(--ease-out) 1.95s infinite; }
.js .bento.in .art-inv .art-node.ok::after, .js .bento.in .art-stock .art-tag.draft::after { animation: receive-slow 3.2s var(--ease-out) 1.95s infinite; }
@keyframes receive { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.32); opacity: 0; } }
@keyframes receive-slow { from { transform: scale(1); opacity: 0.9; } 30%, to { transform: scale(1.3); opacity: 0; } }
/* Loops stand still while their drawing is off screen (site.js toggles .idle). */
.idle .pk, .idle .art-node::after, .idle .art-tag::after, .idle .art-lines path, .idle .art-link path, .idle .spokes path, .idle .pkt, .idle .ring-pulse { animation-play-state: paused !important; }

/* Section entrances (script only, never with reduced motion): rise into place once, staggered within a group */
.enter { transition: opacity 700ms ease, transform 1000ms var(--ease-out); }
.enter.pre { opacity: 0; transform: translateY(30px); }

/* Time calculator */
.calc-box { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.sliders { padding: 36px 38px; display: grid; gap: 30px; align-content: center; }
.sl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; }
.sl label { font-size: 15px; color: var(--ink-2); }
.sl output { font: 500 15px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.sl input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; --fill: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ion) var(--fill), oklch(1 0 0 / 0.1) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: oklch(1 0 0 / 0.1); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ion); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.4), 0 0 0 5px oklch(0.8 0.105 228 / 0.14), 0 4px 12px oklch(0 0 0 / 0.4); transition: transform 160ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.4), 0 0 0 5px oklch(0.8 0.105 228 / 0.14), 0 4px 12px oklch(0 0 0 / 0.4); transition: transform 160ms var(--ease-out); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:active::-moz-range-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ion); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ion); }
.calc-out { position: relative; padding: 36px 38px; display: grid; align-content: center; gap: 10px; box-shadow: inset 1px 0 0 var(--line);
  background: radial-gradient(520px 360px at 100% 100%, oklch(0.8 0.105 228 / 0.1), transparent 70%), radial-gradient(circle at 1px 1px, oklch(1 0 0 / 0.06) 1px, transparent 1.5px) 0 0 / 32px 32px, var(--bg-deep); }
.calc-out p { margin: 0; }
.hours { display: grid; line-height: 1; }
.hours output { font-weight: 580; font-stretch: 106%; font-size: clamp(4.4rem, 2.4rem + 5.4vw, 7.8rem); letter-spacing: -0.06em; background: linear-gradient(180deg, var(--ink) 40%, oklch(0.8 0.04 235)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hours span { margin-top: 12px; font-size: 18px; color: var(--ink-2); letter-spacing: -0.01em; }
.fte { font-size: 18px; color: var(--ink-2); }
.fte output { color: var(--ink); font-weight: 600; }
.jobs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; min-height: 112px; align-items: end; }
.job { display: block; width: 44px; height: 112px; }
.job svg { display: block; width: 100%; height: 100%; }
.job .tr { fill: oklch(1 0 0 / 0.05); stroke: var(--line-2); stroke-width: 1; }
.job.full svg { filter: drop-shadow(0 0 10px oklch(0.8 0.105 228 / 0.35)); }
.job .fl { fill: var(--ion); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 380ms var(--ease-out); }
.fine { font-size: 13.5px; color: var(--ink-4); }
.calc-after { margin: 26px 0 0; font-size: 17px; color: var(--ink-2); max-width: 60ch; }

/* One system costs less: today's range against Mivena, on one axis */
.cmp { margin-top: 52px; padding: 36px 40px 30px; display: grid; gap: 26px; }
.cmp-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 24px; }
.cmp-label { margin: 0; display: grid; gap: 2px; }
.cmp-label b { font-weight: 580; font-size: 17px; letter-spacing: -0.015em; }
.cmp-label span { font-size: 15px; color: var(--ink-2); }
.cmp-mivena .cmp-label span { color: var(--green); font-weight: 540; }
.cmp-bar { display: block; width: 100%; height: 22px; overflow: visible; }
.cmp-bar .tr { fill: oklch(1 0 0 / 0.05); }
.cmp-bar rect:not(.tr) { transform-box: fill-box; transform-origin: 0 50%; }
.cmp-today .lead-in { fill: oklch(0.73 0.155 50 / 0.18); }
.cmp-today .span { fill: var(--copper); filter: drop-shadow(0 0 14px oklch(0.73 0.155 50 / 0.45)); }
.cmp-mivena .fill { fill: var(--green); filter: drop-shadow(0 0 14px oklch(0.82 0.13 163 / 0.5)); }
.cmp-programs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-programs li { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); box-shadow: var(--edge); }
.cmp-points { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp-point { padding: 22px 24px; border-radius: var(--r-md); background: oklch(1 0 0 / 0.025); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-point p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.cmp-fine { margin: 18px 0 0; font-size: 13px; color: var(--ink-4); }
.cmp-cta { margin: 22px 0 0; }
/* Played once when the comparison comes into view: today's range spreads out, then Mivena's bar draws. */
.js .cmp .cmp-bar rect:not(.tr) { transition: transform 1100ms var(--ease-out), opacity 500ms ease; }
.js .cmp .cmp-mivena .fill { transition-delay: 450ms; }
.js .cmp:not(.in) .cmp-bar rect:not(.tr) { transform: scaleX(0); }
.js .cmp:not(.in) .cmp-today .span { opacity: 0; }
/* Then the programs it replaces line up underneath, one by one, and the axis settles in. */
.js .cmp .cmp-programs li { transition: opacity 400ms ease, transform 500ms var(--ease-out); transition-delay: calc(900ms + var(--i, 0) * 60ms); }
.js .cmp:not(.in) .cmp-programs li { opacity: 0; transform: translateY(6px); }
.js .cmp .cmp-axis { transition: opacity 600ms ease 300ms; }
.js .cmp:not(.in) .cmp-axis { opacity: 0; }
/* The two points lift a little under the pointer. */
.cmp-point { transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .cmp-point:hover { transform: translateY(-2px); background-color: oklch(1 0 0 / 0.04); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 32px -18px oklch(0 0 0 / 0.8); } }
@media (max-width: 760px) {
  .cmp { padding: 26px 20px 22px; gap: 20px; }
  .cmp-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cmp-points { grid-template-columns: minmax(0, 1fr); }
}

/* Control: the dial and the decision log */
.dial { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.seg { position: relative; display: grid; gap: 6px; padding: 6px; border-radius: var(--r-lg); background: oklch(1 0 0 / 0.025); box-shadow: var(--edge); isolation: isolate; }
.seg button { position: relative; z-index: 1; display: grid; gap: 3px; align-content: center; text-align: left; padding: 18px 20px; border: 0; border-radius: 14px; background: transparent; color: var(--ink-3); font: inherit; cursor: pointer; transition: color 200ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(0.985); }
.seg button b { font-size: 17px; font-weight: 560; letter-spacing: -0.015em; color: var(--ink-2); transition: color 200ms ease; }
.seg button span { font-size: 14px; }
.seg button[aria-checked="true"] { color: var(--ink-2); }
.seg button[aria-checked="true"] b { color: var(--ink); }
.seg-thumb { position: absolute; z-index: 0; left: 6px; right: 6px; top: 6px; height: calc((100% - 24px) / 3); border-radius: 14px; background: linear-gradient(180deg, oklch(1 0 0 / 0.08), oklch(1 0 0 / 0.04)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 oklch(1 0 0 / 0.08), inset 3px 0 0 -1px var(--ion), 0 8px 24px -10px oklch(0 0 0 / 0.6); transform: translateY(calc(var(--level, 1) * (100% + 6px))); transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .seg button:hover b { color: var(--ink); } }
.fates { overflow: hidden; }
.fate-head { display: flex; justify-content: space-between; padding: 13px 18px; font-size: 12.5px; color: var(--ink-4); border-bottom: 1px solid var(--line); }
.fates ul { list-style: none; margin: 0; padding: 0; }
.fates li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; }
.fates li + li { box-shadow: 0 -1px 0 var(--line); }
.fates li div { display: grid; min-width: 0; }
.fates li b { font-weight: 540; font-size: 15px; }
.fates li div span { font-size: 13px; color: var(--ink-4); }
.fates em { font-style: normal; font-size: 12.5px; font-weight: 560; white-space: nowrap; padding: 4px 10px; border-radius: 999px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease; }
.fates em.sent { color: var(--green); background: oklch(0.82 0.13 163 / 0.12); box-shadow: none; }
.fates em.you { color: var(--copper-ink); box-shadow: inset 0 0 0 1px oklch(0.73 0.155 50 / 0.5); }
.gate { margin: 28px 0 0; font-size: 15.5px; color: var(--ink-3); max-width: 70ch; }
.gate strong { color: var(--ink); font-weight: 560; }
.log { margin-top: 64px; padding: 24px 28px 18px; background: linear-gradient(180deg, oklch(1 0 0 / 0.02), transparent 30%), var(--bg-deep); }
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.log-head h3 { font-size: 1.1rem; }
.chain { font-size: 13px; color: var(--ink-4); }
.log-lines { list-style: none; margin: 0; padding: 0; font: 400 13px/1.5 var(--mono); }
.log-lines li { display: grid; grid-template-columns: 84px 180px minmax(0, 1fr) 64px; gap: 18px; padding: 10px 0; }
.log-lines li + li { box-shadow: 0 -1px 0 var(--line); }
.log-lines time { color: var(--ink-4); }
.log-lines b { font-weight: 500; color: var(--ink); }
.log-lines span { color: var(--ink-3); }
.log-lines code { font: inherit; font-size: 12px; color: var(--ink-4); text-align: right; }
.log-lines code::before { content: "#"; opacity: 0.6; }
.log-lines .human b { color: var(--green); }
.js .log-lines li { transition: opacity 300ms ease, transform 420ms var(--ease-out); transition-delay: calc(var(--i, 0) * 160ms); }
.js .log:not(.in) .log-lines li { opacity: 0.3; transform: translateX(-6px); }
/* Each line's hash lights as it is written: the chain being linked, one entry after the next. */
.js .log-lines code { transition: color 700ms ease; transition-delay: calc(var(--i, 0) * 160ms + 260ms); }
.js .log:not(.in) .log-lines code { color: var(--ion); }

/* Your own AI */
.own-grid { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.own-cards { list-style: none; margin: 0; padding: 0; display: grid; }
.own-cards li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 22px 0; box-shadow: 0 -1px 0 var(--line); }
.own-cards li:first-child { padding-top: 4px; box-shadow: none; }
.own-cards p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.learned { overflow: hidden; }
.learned-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-4); }
.learned-head b { font-size: 14.5px; font-weight: 580; color: var(--ink); }
.learned ol { list-style: none; margin: 0; padding: 8px 10px 10px; display: grid; }
.learned li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 10px; border-radius: 10px; font-size: 15px; color: var(--ink-2); transition: background-color 600ms ease; }
.learned li + li { box-shadow: 0 -1px 0 var(--line); }
.learned li i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px oklch(0.82 0.13 163 / 0.7); transform: translateY(-1px); }
.learned time { font: 400 12px var(--mono); color: var(--ink-4); }
.learned li.new { background: oklch(0.82 0.13 163 / 0.08); transition-duration: 120ms; }
.learned ol.pre li { opacity: 0; }

/* Get started yourself: a real sequence, so it is numbered */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 1px; background: linear-gradient(90deg, var(--ion), oklch(0.82 0.13 163 / 0.9)); box-shadow: 0 0 10px oklch(0.8 0.105 228 / 0.6); transform-origin: 0 50%; transition: transform 1100ms var(--ease-out); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 500 13px var(--mono); color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px oklch(0.8 0.105 228 / 0.7), 0 0 16px -4px oklch(0.8 0.105 228 / 0.6); margin-bottom: 8px; transition: transform 420ms var(--ease-out), opacity 300ms ease; }
.steps li:last-child .step-n { box-shadow: inset 0 0 0 1px oklch(0.82 0.13 163 / 0.8), 0 0 16px -4px oklch(0.82 0.13 163 / 0.6); }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.help { margin: 40px 0 0; font-size: 17px; color: var(--ink); }
.js .steps:not(.in)::before { transform: scaleX(0); }
.js .steps:not(.in) .step-n { transform: scale(0.85); opacity: 0.3; }
.js .steps li:nth-child(2) .step-n { transition-delay: 220ms; }
.js .steps li:nth-child(3) .step-n { transition-delay: 440ms; }
.js .steps li:nth-child(4) .step-n { transition-delay: 660ms; }

/* People: the only photographs on the page, graded into the night palette */
.faces { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faces li:nth-child(2) { transform: translateY(48px); }
.faces figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); box-shadow: var(--edge), var(--shadow-lift); isolation: isolate; }
.faces picture, .faces img { display: block; width: 100%; height: 100%; }
.faces img { object-fit: cover; transform: scale(1.08); }
.faces figure::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay; background: url("/assets/grain.png") repeat; background-size: 160px; }
.faces figure::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08); border-radius: inherit;
  background: linear-gradient(180deg, oklch(0.145 0.012 262 / 0) 38%, oklch(0.13 0.012 262 / 0.55) 62%, oklch(0.11 0.012 262 / 0.94) 100%); }
.faces figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 24px 26px; display: grid; gap: 8px; }
.faces figcaption b { font-weight: 570; font-size: 1.3rem; letter-spacing: -0.025em; }
.faces figcaption span { color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 34ch; }
.credit { margin: 80px 0 0; font-size: 12.5px; color: var(--ink-4); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.qa { box-shadow: 0 1px 0 var(--line-2); }
.qa details { box-shadow: 0 -1px 0 var(--line-2); }
.qa summary, .tech summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.qa summary { padding: 22px 2px; font-weight: 550; font-size: 18.5px; letter-spacing: -0.015em; transition: color 150ms ease; }
.qa summary::-webkit-details-marker, .tech summary::-webkit-details-marker { display: none; }
.qa summary::after, .tech summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 12px no-repeat; transition: transform 250ms var(--ease-out); }
.qa details[open] summary::after, .tech-in[open] summary::after { transform: rotate(45deg); }
.qa p { margin: -6px 0 24px; max-width: 64ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--ion-ink); } }

/* Waitlist, opened by the finale: the promise once more over a horizon of light */
.wl { position: relative; overflow: clip; isolation: isolate; padding: var(--sec) var(--gutter) 110px; }
.finale-horizon { position: absolute; z-index: -1; left: 50%; top: calc(100% + 40px); width: max(1500px, 130vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--bg) 92%, transparent 100%); box-shadow: 0 -2px 0 -1px oklch(0.8 0.105 228 / 0.55), 0 -30px 80px -20px oklch(0.8 0.105 228 / 0.35), 0 -120px 200px -40px oklch(0.5 0.12 255 / 0.4); }
.wl::after { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, oklch(1 0 0 / 0.08) 1px, transparent 1.5px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(70% 40% at 50% 18%, #000, transparent 80%); mask-image: radial-gradient(70% 40% at 50% 18%, #000, transparent 80%); }
.finale { position: relative; max-width: 1240px; margin: 0 auto 72px; display: grid; justify-items: center; gap: 26px; text-align: center; }
.finale-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, oklch(1 0 0 / 0.08), oklch(1 0 0 / 0.02)), var(--surface); box-shadow: var(--edge), 0 0 40px -6px oklch(0.8 0.105 228 / 0.5); }
.finale-mark svg { width: 30px; height: 30px; }
.finale-t { margin: 0; display: grid; font-weight: 580; font-stretch: 112%; font-size: clamp(2.5rem, 0.6rem + 5vw, 5.4rem); line-height: 0.96; letter-spacing: -0.052em; }
.finale-t span { background: linear-gradient(180deg, var(--ink) 35%, oklch(0.75 0.03 245)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.wl-in { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; padding: 56px; overflow: hidden;
  background: radial-gradient(700px 420px at 0% 0%, oklch(0.8 0.105 228 / 0.1), transparent 65%), linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.01) 50%), oklch(0.17 0.013 262 / 0.85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 24px; }
.fit { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; color: var(--ink-2); font-size: 16px; }
.fit li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 14px; }
.fit li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 8px oklch(0.8 0.105 228 / 0.7); }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; align-content: start; }
.signup .field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.signup .wide { grid-column: 1 / -1; }
.signup label, .signup legend { font-size: 13.5px; color: var(--ink-3); }
.signup input:not([type="checkbox"]):not([type="radio"]), .signup select, .signup textarea { width: 100%; font: 400 16px var(--sans); color: var(--ink); background: oklch(0.12 0.011 262 / 0.8); border: 0; border-radius: 10px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line-2); outline: 0; transition: box-shadow 150ms ease; resize: vertical; }
.signup select { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-3) 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.signup input:focus, .signup select:focus, .signup textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ion), 0 0 0 4px oklch(0.8 0.105 228 / 0.1); }
.signup [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px oklch(0.7 0.17 25) !important; }
.signup .hint { margin: 0; font-size: 12.5px; color: var(--ink-4); }
.signup .err { margin: 0; font-size: 13px; color: oklch(0.78 0.13 25); }
.pills { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills legend { padding: 0; margin-bottom: 9px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; cursor: pointer; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); background: oklch(0.12 0.011 262 / 0.8); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.pill:active span { transform: scale(0.97); }
.pill input:checked + span { color: var(--ink); background: oklch(0.8 0.105 228 / 0.14); box-shadow: inset 0 0 0 1.5px oklch(0.8 0.105 228 / 0.8); }
.pill input:focus-visible + span { outline: 2px solid var(--ion); outline-offset: 2px; }
.pill input[aria-invalid="true"] + span { box-shadow: inset 0 0 0 1.5px oklch(0.7 0.17 25 / 0.8); }
@media (hover: hover) and (pointer: fine) { .pill:hover span { color: var(--ink); } }
.signup .pills .err { margin-top: 8px; }
.signup .check { grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.signup .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ion); }
.signup .check label { font-size: 14px; color: var(--ink-3); }
.signup .check .err { grid-column: 2; }
.signup a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / 0.3); }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.signup .btn { border: 0; border-radius: 11px; padding: 14px 22px; font: 600 16px var(--sans); color: var(--on-light); background: linear-gradient(180deg, oklch(1 0 0), oklch(0.9 0.01 250)); cursor: pointer; box-shadow: inset 0 -1px 0 oklch(0 0 0 / 0.12), 0 1px 2px oklch(0 0 0 / 0.3), 0 10px 28px -10px oklch(0.8 0.105 228 / 0.6); transition: transform 160ms var(--ease-out), filter 150ms ease, opacity 150ms ease; }
.signup .btn:active { transform: scale(0.97); }
.signup .btn:disabled { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .signup .btn:hover { filter: brightness(1.06); } }
.signup .status { margin: 0; font-size: 14px; color: var(--ink-3); }
.signup .status.bad { color: oklch(0.78 0.13 25); }
.thanks { border-radius: var(--r-md); padding: 26px; background: oklch(0.82 0.13 163 / 0.08); box-shadow: inset 0 0 0 1px oklch(0.82 0.13 163 / 0.3); outline: 0; }
.thanks h3 { color: var(--green); margin-bottom: 8px; }
.thanks p { margin: 0; color: var(--ink-2); }
.thanks a, .wl-form noscript a { color: var(--ink); }
.closed { margin: 0; align-self: center; padding: 26px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 17px; }
.closed strong { font-weight: 560; color: var(--ink); }

/* Technical fold */
.tech { padding: 0 var(--gutter) 48px; }
.tech-in { max-width: 1240px; margin-inline: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg-deep); }
.tech summary { padding: 22px 26px; font-weight: 540; font-size: 16.5px; letter-spacing: -0.01em; border-radius: var(--r-lg); transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .tech summary:hover { background: oklch(1 0 0 / 0.03); } }
.tech dl { margin: 0; padding: 8px 26px 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.tech dt { font-weight: 560; margin-bottom: 4px; }
.tech dd { margin: 0; color: var(--ink-3); font-size: 15px; }

/* Footer */
.foot { padding: 0 var(--gutter) 48px; }
.foot-in { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 32px; padding-top: 28px; box-shadow: 0 -1px 0 var(--line); font-size: 14px; color: var(--ink-4); }
.foot-in p { margin: 0; }
.foot-in .brand { font-size: 17px; color: var(--ink-2); }
.foot-in .brand svg { width: 20px; height: 20px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--ink); } }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .tech dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-0, .card-1, .card-2, .card-3 { grid-column: span 6; }
}
@media (max-width: 1000px) {
  .one-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .calc-box { grid-template-columns: minmax(0, 1fr); }
  .calc-out { box-shadow: inset 0 1px 0 var(--line); }
  .dial { grid-template-columns: minmax(0, 1fr); }
  .log-lines li { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 2px 14px; }
  .log-lines span { grid-column: 2 / -1; grid-row: 2; }
  .own-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .steps::before { display: none; }
  .faces { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 520px; }
  .faces li:nth-child(2) { transform: none; }
  .credit { margin-top: 24px; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wl { padding-bottom: 90px; }
  .wl-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 32px 22px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .card-0, .card-1, .card-2, .card-3 { grid-column: 1 / -1; }
  .card { padding: 22px 20px 24px; }
}
@media (max-width: 640px) {
  .sliders, .calc-out { padding: 26px 20px; }
  .seg button { padding: 14px 16px; }
  .log { padding: 20px 18px 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .tech dl { grid-template-columns: minmax(0, 1fr); padding: 4px 20px 24px; }
  .tech summary { padding: 20px; }
  .ord li { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; }
  .finale { margin-bottom: 48px; gap: 20px; }
  .finale-mark { width: 52px; height: 52px; border-radius: 15px; }
  .finale-mark svg { width: 24px; height: 24px; }
}

/* The trust page: the points, the drafts a person signs, and the status of what is built */
.trust { max-width: 1240px; margin: 0 auto; padding: 150px var(--gutter) 110px; }
.trust-head { max-width: 780px; }
.trust-head h1 { margin: 0; font-weight: 560; font-stretch: 106%; font-size: clamp(2.3rem, 1.3rem + 3vw, 3.9rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.trust-head .lead { max-width: 56ch; }
.trust-head .source, .status-ask { margin: 18px 0 0; font-size: 14px; color: var(--ink-4); }
.trust-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-grid li { display: grid; align-content: start; gap: 14px; padding: 24px 26px 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.01) 60%), var(--surface); box-shadow: var(--edge); }
.trust-grid li { transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
@media (hover: hover) and (pointer: fine) { .trust-grid li:hover { transform: translateY(-2px); box-shadow: var(--edge), 0 18px 36px -20px oklch(0 0 0 / 0.85), 0 0 0 1px oklch(0.8 0.105 228 / 0.18); } }
.trust-grid h2, .trust-drafts h2 { padding-top: 6px; font-size: 1.2rem; font-stretch: 100%; line-height: 1.25; letter-spacing: -0.022em; font-weight: 580; }
.trust-grid p, .trust-drafts p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.trust-drafts { margin-top: 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--bg-deep); box-shadow: inset 0 0 0 1px oklch(0.73 0.155 50 / 0.35); }
.trust-drafts .card-ic { color: var(--copper-ink); background: linear-gradient(180deg, oklch(0.73 0.155 50 / 0.16), oklch(0.73 0.155 50 / 0.04)); box-shadow: inset 0 0 0 1px oklch(0.73 0.155 50 / 0.3); }
.trust-drafts p { margin-top: 8px; max-width: 78ch; }
.status { margin-top: var(--sec); }
.status .legend { margin-top: 36px; }
.status-groups { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sg { padding: 24px 26px 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.01) 60%), var(--surface); box-shadow: var(--edge); }
.sg-note { margin: 6px 0 12px; font-size: 14px; color: var(--ink-3); }
.sg ul { list-style: none; margin: 0; padding: 0; }
.sg li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 11px 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); box-shadow: 0 -1px 0 var(--line); }
.sg li > i { width: 7px; height: 7px; border-radius: 50%; align-self: center; }
.sg li.f-planned > span:first-of-type { color: var(--ink-4); }
.sg li .st i { display: none; }
.trust .back { margin: 48px 0 0; }
.trust .back a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / 0.35); }
@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .status-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .trust { padding-top: 120px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-grid li, .sg, .trust-drafts { padding: 20px; }
  .trust-drafts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sg li { grid-template-columns: 8px minmax(0, 1fr); }
  .sg li .st { grid-column: 2; }
}

/* Privacy notice and the missing page */
.prose { max-width: 720px; margin: 0 auto; padding: 150px 32px 110px; }
.prose h1 { font-weight: 560; font-stretch: 106%; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 14px; text-wrap: balance; }
.prose h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 44px 0 10px; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.prose .lead { font-size: 1.2rem; margin: 18px 0 0; }
.prose .source { font-size: 14px; color: var(--ink-4); }
.prose a, .notfound a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / 0.35); }
.notfound { max-width: 720px; margin: 0 auto; padding: 170px 32px 120px; display: grid; gap: 48px; }
.notfound h1, .notfound h2 { font-weight: 560; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -0.04em; margin: 0 0 12px; }
.notfound p { color: var(--ink-2); margin: 0; }
@media (max-width: 640px) { .prose, .notfound { padding-inline: 20px; } }

/* Reduced motion: no movement, only the colour and opacity changes that explain a state. Everything
   that would travel stands still in its finished place; the entrance is a short fade. */
@media (prefers-reduced-motion: reduce) {
  h1 .ln > span, .hero-tag, .lede-main > *, .sheet { animation: fade 400ms ease both; }
  .sheet .seal-ring, .sheet .seal-tick, .sheet .seal-dot, .sheet .seal-core, .sheet .proof-src { animation: none; }
  .seg-thumb, .steps::before, .step-n, .job .fl, .faces img, .tools li, .js .bento .card, .js .cmp .cmp-bar rect { transition: none !important; }
  .cx-steps li.run i::after, .cx-steps li.run span, .cx-caret, .live::after, .cx-state[data-state="working"] i, .art-lines path, .art .art-link path, .one-stage.joined .spokes path { animation: none; }
  .js .bento .stock-bars rect, .js .bento .inv-doc i, .js .bento .art-tag, .js .bento .inv-to { transition: none; }
  .cx-beam, .cx-sheen { display: none; }
  .nav-cta::after, .join button::after, .join-cta::after, .signup .btn::after { display: none; }
  .cx-a-text .w.off { filter: none; }
  .art .pk, .spokes .pkt, .ring-pulse, .art-node::after, .art-stock .art-tag.draft::after { display: none; }
  .js .bento .art-bars rect, .js .cmp .cmp-programs li, .js .cmp .cmp-axis, .js .log-lines li, .js .log-lines code, .play .pl tbody tr:last-child th, .play .pl tbody tr:last-child td { transition: none !important; }
  .cmp-point:hover, .trust-grid li:hover { transform: none !important; }
}

/* Pilot applications ("Bli kund") and the pilot terms */
.apply { padding-top: clamp(96px, 12vw, 140px); }
.apply h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; }
.apply-steps-h { font-size: 15px; font-weight: 600; color: var(--ink-3); margin: 28px 0 12px; letter-spacing: 0.01em; }
.apply-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.apply-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.apply-steps .step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font: 600 13px var(--mono, var(--sans)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.apply-steps h3 { font-size: 16px; margin: 2px 0 4px; }
.apply-steps p { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.wl-apply { margin-top: 20px; color: var(--ink-3); }
.wl-apply a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(1 0 0 / 0.3); }
.draft-note { padding: 14px 16px; border-radius: 10px; background: oklch(0.85 0.12 85 / 0.08); box-shadow: inset 0 0 0 1px oklch(0.85 0.12 85 / 0.35); }


/* ===================== The proof trail =====================
   Mivena's signature (docs/design/proof-trail.md): every figure and decision carries its stamp, a seal
   (the Mivena mark: ring and electron) and a monospaced source line, system · document · line. Mono is
   for sources only. Proven: closed ring with a tick, ion. Learned: closed ring, green electron. For
   you: the ring open where the electron sits, copper, the one loud state. */
.seal { width: 16px; height: 16px; flex: none; overflow: visible; }
.seal-ring { fill: none; stroke: currentColor; stroke-width: 1.6; }
.seal-tick { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.seal-dot, .seal-core { fill: currentColor; }
.seal-ok { color: var(--ion); }
.seal-learned { color: var(--ion); }
.seal-learned .seal-dot, .seal-learned .seal-core { fill: var(--green); }
.seal-ask { color: var(--copper); }
.seal-ask .seal-ring { stroke-dasharray: 76 24; }

/* The proof sheet: the incoming order printed on paper, a perforated top edge, the stamps pressed on it. */
.sheet { --p-ink: oklch(0.24 0.02 262); --p-ink-2: oklch(0.42 0.02 262); --p-ink-3: oklch(0.52 0.018 262); --p-line: oklch(0.24 0.02 262 / 0.14);
  --p-ion: oklch(0.5 0.14 240); --p-green: oklch(0.55 0.13 163); --p-copper: oklch(0.62 0.17 48); --p-copper-ink: oklch(0.47 0.15 42);
  position: relative; margin: 0; padding: 30px 28px 20px; border-radius: 3px 3px 12px 12px; color: var(--p-ink);
  background: linear-gradient(180deg, oklch(0.985 0.006 85), oklch(0.965 0.01 85));
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 2px 6px oklch(0 0 0 / 0.3), 0 40px 80px -36px oklch(0 0 0 / 0.85);
  -webkit-mask: radial-gradient(circle at 7px 0, #0000 4px, #000 4.6px) 0 0 / 14px 14px repeat-x, linear-gradient(#000 0 0) 0 14px / 100% calc(100% - 14px) no-repeat;
  mask: radial-gradient(circle at 7px 0, #0000 4px, #000 4.6px) 0 0 / 14px 14px repeat-x, linear-gradient(#000 0 0) 0 14px / 100% calc(100% - 14px) no-repeat; }
.sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding-bottom: 16px; border-bottom: 3px double var(--p-line); }
.sheet-head p { margin: 0; }
.sheet-doc { font-size: 15px; font-weight: 560; letter-spacing: -0.01em; color: var(--p-ink-2); }
.sheet-doc b { font: 600 22px/1 var(--mono); letter-spacing: -0.02em; color: var(--p-ink); margin-left: 4px; }
.sheet-ch { font: 500 11.5px/1 var(--mono); letter-spacing: 0.04em; padding: 5px 7px; border: 1px solid var(--p-line); border-radius: 3px; color: var(--p-ink-2); }
.sheet-route { grid-column: 1 / -1; font-size: 14px; color: var(--p-ink-3); }
.sheet-lines { list-style: none; margin: 0; padding: 0; }
.sheet-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px 0 14px; border-bottom: 1px dashed var(--p-line); }
.sheet-no { font: 500 12px/1.7 var(--mono); color: var(--p-ink-3); white-space: nowrap; }
.sheet-art { font-weight: 580; letter-spacing: -0.012em; line-height: 1.35; display: grid; gap: 2px; min-width: 0; }
.sheet-wrote { font: 400 12px/1.4 var(--mono); color: var(--p-ink-3); }
.sheet-qty { font: 600 16px/1.3 var(--mono); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.sheet-qty abbr { text-decoration: none; font: 500 12px var(--sans); color: var(--p-ink-3); margin-left: 4px; }
.proofs { grid-column: 2 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.proof { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; align-items: start; padding-left: 10px; border-left: 1px dashed var(--p-line); font: 400 12.5px/1.35 var(--mono); color: var(--p-ink-2); }
.proof .seal { margin-top: 0; }
.proof-src { overflow-wrap: anywhere; }
.sheet .seal-ok, .sheet .seal-learned { color: var(--p-ion); }
.sheet .seal-learned .seal-dot, .sheet .seal-learned .seal-core { fill: var(--p-green); }
.sheet .seal-ask { color: var(--p-copper); }
.proof-ask { color: var(--p-copper-ink); font-weight: 560; border-left-color: var(--p-copper); background: linear-gradient(90deg, oklch(0.62 0.17 48 / 0.1), transparent 85%); padding-block: 3px; margin-block: -3px; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-top: 14px; }
.sheet-tally { display: inline-flex; align-items: center; gap: 9px; font: 500 13px var(--mono); color: var(--p-ink); }
.sheet-ex { font-size: 12.5px; color: var(--p-ink-3); }

/* The one moment: the seals close one after another, each source line arriving with its seal. */
@keyframes seal-draw { from { stroke-dashoffset: 100; } }
@keyframes seal-in { from { opacity: 0; } }
.sheet .proof:not(.proof-ask) .seal-ring { stroke-dasharray: 100; animation: seal-draw 420ms var(--ease-out) both; }
.sheet .proof .seal-tick, .sheet .proof .seal-dot, .sheet .proof .seal-core, .sheet .proof-ask .seal-ring { animation: seal-in 240ms ease both; }
.sheet .proof-src { animation: seal-in 320ms ease both; }
.sheet .proof .seal-ring, .sheet .proof .proof-src { animation-delay: var(--at); }
.sheet .proof .seal-tick, .sheet .proof .seal-dot, .sheet .proof .seal-core { animation-delay: calc(var(--at) + 240ms); }
.sheet .proof-ask .seal-ring { animation-delay: var(--at); }
.proof[data-d="0"] { --at: 900ms; } .proof[data-d="1"] { --at: 1040ms; } .proof[data-d="2"] { --at: 1180ms; }
.proof[data-d="3"] { --at: 1320ms; } .proof[data-d="4"] { --at: 1460ms; } .proof[data-d="5"] { --at: 1600ms; }

@media (max-width: 640px) {
  .sheet { padding: 28px 16px 16px; }
  .sheet-line { grid-template-columns: minmax(0, 1fr) auto; }
  .sheet-no { grid-column: 1 / -1; line-height: 1; }
  .proofs { grid-column: 1 / -1; }
  .proof { font-size: 12px; }
}

/* The switch as a ledger: each program a row, each row stamped with how Mivena is checked against it. */
.one-in { align-items: start; }
.one-ledger { display: grid; gap: 18px; }
.ledger { display: grid; }
.ledger-head, .ledger-row { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); gap: 20px; }
.ledger-head { padding-bottom: 12px; border-bottom: 3px double var(--line-3); font-size: 13.5px; color: var(--ink-4); }
.ledger-row { padding: 15px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ledger-tool { font-weight: 560; color: var(--ink); letter-spacing: -0.012em; }
.ledger-check { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ledger-check .seal { margin-top: 3px; }
.ledger-tally { margin: 0; display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--mono); color: var(--ink); }
.one-note { background: none; box-shadow: none; border-left: 1px dashed oklch(0.82 0.13 163 / 0.5); border-radius: 0; padding: 4px 0 4px 20px; }
.one-note::before { display: none; }
@media (max-width: 640px) {
  .ledger-head { display: none; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ledger-check { font-size: 15px; }
}

.demo .cx { margin-top: 48px; }
@media (max-width: 640px) { .hero-grid::before { left: 5px; } }
