/* The Render Wrangler site. Dark and neutral like the app it shows: the same greys, the logo's orange for the one
   thing to do next, small corners, depth from a lit top edge and a soft shadow. No glows. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --page: #0d0d0d;
  --band: #111110;
  --surface: #1a1a19;
  --surface-2: #232321;
  --line: #2c2c2a;
  --line-2: #3a3a37;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #8f8d86;
  --accent: #f08a24;
  --accent-hi: #f59b40;
  --accent-ink: #1d1204;
  --grey-tile: #5b6270;
  --live: #74aef2;
  --m0: #6c8ee8; --m1: #2fb5a8; --m2: #e5a039; --m3: #9b59d0; --m4: #d94f7a; --m5: #4fb06b;
  --radius: 5px;
  --radius-lg: 8px;
  --max: 1180px;
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 30px -18px rgba(0, 0, 0, 0.85);
  --sheen: linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 140px);
  --shadow-shot: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 18px 40px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.09);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --display: 'Poppins', 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
button { font: inherit; }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: #0b0b0b; padding: 8px 14px; border-radius: var(--radius); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--radius); }

/* ── The logo: the app's three-by-three grid ───────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.logo { width: 28px; height: 28px; flex: none; }
.logo .o { fill: var(--accent); }
.logo .g { fill: var(--grey-tile); }
.logo.lg { width: 52px; height: 52px; }
.wordmark { display: grid; line-height: 1.05; }
.wordmark small { font: 600 10px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.wordmark b { font: 600 17px/1.05 var(--display); color: var(--text); letter-spacing: -0.01em; }

/* ── Buttons: a lit top edge and a body that darkens toward the bottom, as in the app ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: var(--radius);
  font: 600 15.5px/1 var(--font); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; position: relative;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: var(--accent-ink); background-color: var(--accent);
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 22px -14px rgba(0, 0, 0, 0.9);
}
.btn-primary:hover { background-color: var(--accent-hi); }
.btn-ghost {
  color: var(--text); background-color: #2a2a28; border-color: rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.btn-ghost:hover { background-color: #363633; }
.btn-light {
  color: #0b0b0b; background-color: var(--text);
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0.15));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.btn-light:hover { background-color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn[aria-disabled='true'], .btn:disabled { opacity: 0.55; pointer-events: none; }
.btn small { font: 500 13.5px/1 var(--font); opacity: 0.75; }

/* ── Header ─────────────────────────────────────────────────────────── */
/* It floats over the 3D studio, the nav a pill in the middle whose current section is lit; once the story has
   scrolled away it gets the page's own dark background and a hairline. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease; }
.site-header.solid { background: rgba(13, 13, 13, 0.9); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.site-header .wrap { max-width: 1340px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 68px; }
.nav {
  display: flex; gap: 2px; padding: 4px; border-radius: 7px; justify-self: center;
  background: rgba(26, 26, 25, 0.72); border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px -12px rgba(0, 0, 0, 0.8);
}
.nav a { padding: 7px 14px; border-radius: 4px; color: var(--text-2); font-size: 14.5px; font-weight: 550; transition: color 0.15s ease, background-color 0.2s ease; }
.nav a:hover { color: var(--text); }
.nav a.on, .nav a[aria-current='page'] { color: var(--text); background: #2c2c2a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
/* Buy sits in the pill, after the links, as the one orange thing in the header. */
.nav .btn { height: auto; align-self: stretch; margin-left: 4px; padding: 0 16px; border-radius: 4px; font-size: 14.5px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--accent-ink); }
/* Pages without the story start under the fixed header. */
.under-header { padding-top: 68px; }
/* A narrow window keeps only Buy, on the right. */
@media (max-width: 900px) {
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .nav { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; justify-self: end; }
  .nav a[data-nav], .nav a:not(.btn) { display: none; }
  .nav .btn { height: 38px; align-self: center; }
}

/* ── The story: a 3D studio the camera moves through as the page scrolls ── */
/* .story is as tall as the story's scrolling (scene.js sets its height); .stage stays on screen inside it and holds
   the canvas, the words of each chapter (faded in and out by scene.js), the labels pinned to the 3D objects and
   the reel: the story's 240 frames filling in along the bottom. */
.story { position: relative; height: 1200vh; }
.story .anchor { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--page); }
.farm { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; }
.stage.ready .farm { opacity: 1; }
/* A shade behind the words, so they read over whatever the camera has there: on the right for the first screen,
   on the left after (scene.js fades each with the words on its side). */
.shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.shade.l { background: linear-gradient(90deg, rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.7) max(250px, 25vw), rgba(13, 13, 13, 0) max(540px, 47vw)); }
.shade.r { opacity: 1; background: linear-gradient(270deg, rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.7) max(250px, 25vw), rgba(13, 13, 13, 0) max(540px, 47vw)); }
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
/* The story's end: as the stage scrolls away the picture sinks into the page's dark, from the bottom up (scene.js
   sets how far: --foot for the bottom edge, --dim for the rest), so there is no hard edge between story and page. */
.veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(13, 13, 13, var(--dim, 0)) 0%, rgba(13, 13, 13, var(--dim, 0)) 58%, rgba(13, 13, 13, var(--foot, 0)) 96%);
}
/* A far jump is a cut: the picture and the words go dark, and come back where the page has landed (scene.js). */
.curtain { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--page); opacity: 0; transition: opacity 0.45s ease; }
.stage.cut .curtain { opacity: 1; transition-duration: 0.18s; }
.hud svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hud line { stroke: rgba(240, 239, 236, 0.38); stroke-width: 1; }
.hud circle { fill: var(--text); }
.tag, .badge {
  position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; will-change: transform, opacity;
  background: rgba(22, 22, 21, 0.84); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 28px -14px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap;
}
.tag { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px; font-size: 13px; }
.tag i { width: 9px; height: 9px; border-radius: 2px; }
.tag b { font-weight: 650; letter-spacing: 0.01em; }
.tag span { color: var(--muted); }
.tag em { font-style: normal; color: var(--text-2); font-variant-numeric: tabular-nums; padding-left: 9px; border-left: 1px solid var(--line-2); }
.badge { display: grid; gap: 1px; padding: 8px 12px; font-size: 13px; line-height: 1.35; }
.badge b { font-weight: 650; }
.badge span { color: var(--muted); }
.badge.b-bad { border-color: rgba(240, 138, 36, 0.55); }
.badge.b-bad b { color: var(--accent); }

.chaps { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chap {
  position: absolute; top: 0; bottom: 0; left: max(24px, calc((100vw - 1340px) / 2 + 24px)); width: min(470px, 36vw);
  display: flex; flex-direction: column; justify-content: center; padding-top: 40px;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.chap > * { pointer-events: auto; }
/* The pieces of a chapter's words arrive one after the other (scene.js moves and fades each). */
.has-3d .chap > * { will-change: transform, opacity; }
.chap-hero { opacity: 1; visibility: visible; width: min(560px, 42vw); }
.chap-right { left: auto; right: max(24px, calc((100vw - 1340px) / 2 + 24px)); }
.chap h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.028em; }
.chap h1 em { font-style: normal; color: var(--accent); }
.chap h2 { font-size: clamp(2rem, 3.3vw, 3.05rem); line-height: 1.08; letter-spacing: -0.022em; }
.chap .kicker { margin-bottom: 16px; }
.chap > p:not(.lede):not(.fineprint) { margin: 18px 0 0; color: var(--text-2); font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.55; }
.chap-shot { display: none; margin: 0; }
.lede { max-width: 470px; margin: 0; color: var(--text-2); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.cta-final .hero-cta { justify-content: center; }
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.fineprint span + span::before { content: '·'; margin: 0 10px; color: #55544e; }
.cta-final p.fineprint { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* The scroll cue on the first screen: scrolling is the way through the story. Gone once the page has moved. */
.cue { position: absolute; left: 50%; bottom: 58px; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; pointer-events: none; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transition: opacity 0.4s ease; }
.cue span { width: 20px; height: 31px; border-radius: 10px; border: 1.5px solid #5a5953; position: relative; }
.cue span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--text-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
.cue.gone { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cue span::after { animation: none; opacity: 1; } }

/* The reel's play button, as on a player's bar: it plays the next chapter, for anyone who would rather click than
   scroll (scene.js). Small and quiet: scrolling is the main way. */
.next { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -12px -8px -12px -10px; padding: 0; border: 0; border-radius: var(--radius); background: none; color: var(--muted); cursor: pointer; transition: color 0.15s ease, background-color 0.15s ease; }
.next[hidden] { display: none; }
.next:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.next .icon { width: 13px; height: 13px; fill: currentColor; }

.reel { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; max-width: 1340px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
/* The reel is also the story's map: a mark where each chapter starts, the one on screen lit. A click on a mark goes
   to that chapter and plays it (scene.js). Their names show while the pointer is on the reel. */
.reel-track { flex: 1; position: relative; }
.reel-marks { position: absolute; inset: 0; }
.mark { position: absolute; bottom: -4px; width: 28px; height: 36px; margin-left: -14px; padding: 0; border: 0; background: none; cursor: pointer; }
.mark::before { content: ''; position: absolute; left: 13px; bottom: 15px; width: 2px; height: 7px; border-radius: 1px; background: #55544e; transition: background-color 0.2s ease, height 0.2s ease; }
.mark:hover::before { background: var(--text-2); }
.mark.on::before { background: var(--text); height: 10px; }
.mark span {
  position: absolute; left: 50%; bottom: 31px; transform: translateX(-50%); pointer-events: none; opacity: 0;
  color: var(--muted); font: 600 11px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.15s ease, color 0.15s ease;
}
.reel-marks:hover .mark span, .mark:focus-visible span { opacity: 1; }
.mark:hover span, .mark.on span { color: var(--text); }
.reel-cells { display: grid; grid-template-columns: repeat(240, minmax(0, 1fr)); gap: 1px; height: 9px; }
.reel-cells i { border-radius: 1px; background: #1f1f1e; transition: background-color 0.25s ease; }
.reel-cells i.done.c0 { background: var(--m0); } .reel-cells i.done.c1 { background: var(--m1); } .reel-cells i.done.c2 { background: var(--m2); }
.reel-cells i.done.c3 { background: var(--m3); } .reel-cells i.done.c4 { background: var(--m4); } .reel-cells i.done.c5 { background: var(--m5); }
.reel-count { flex: none; min-width: 112px; text-align: right; color: var(--text-2); font-size: 12.5px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* The scale chapter: how many render nodes the farm has, and the tier that covers it lit (scene.js). */
.meter {
  margin-top: 26px; max-width: 430px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-lg); background: rgba(22, 22, 21, 0.72); border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.meter-count { display: grid; min-width: 108px; padding-right: 20px; border-right: 1px solid var(--line-2); line-height: 1; }
.meter-count b { font: 600 2.6rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.meter-count span { margin-top: 7px; color: var(--muted); font-size: 13px; }
.meter ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.meter li { display: flex; justify-content: space-between; gap: 14px; padding: 3px 9px; border-radius: 4px; color: var(--muted); font-size: 13.5px; transition: color 0.2s ease, background-color 0.2s ease; }
.meter li i { font-style: normal; font-variant-numeric: tabular-nums; }
.meter li.on { color: var(--text); background: #2c2c2a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 15.5px; transition: border-color 0.15s ease; }
.text-link:hover { border-bottom-color: var(--accent); }
.text-link .icon { width: 16px; height: 16px; color: var(--accent); }
.no-3d .meter, .no-js .meter { display: none; }

/* A tall or narrow window: the words sit at the bottom over a shade, the studio above them (scene.js moves it up). */
@media (max-aspect-ratio: 19/20), (max-width: 760px) {
  .shade { display: none; }
  .stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 2; pointer-events: none; background: linear-gradient(rgba(13, 13, 13, 0), rgba(13, 13, 13, 0.88) 42%, #0d0d0d); }
  .chap, .chap-hero { left: 20px; right: 20px; width: auto; justify-content: flex-end; padding: 0 0 64px; }
  .chap h1 { font-size: clamp(2.2rem, 8.5vw, 3.2rem); margin-bottom: 14px; }
  .chap h2 { font-size: clamp(1.7rem, 6.6vw, 2.4rem); }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .cue { display: none; }
  .reel { bottom: 14px; padding: 0 20px; gap: 12px; }
  .next { width: 40px; height: 40px; margin: -16px -10px -16px -14px; }
  .reel-count, .mark span { display: none; }
  .meter { margin-top: 16px; padding: 12px 14px; gap: 14px; }
  .meter-count { min-width: 84px; padding-right: 14px; }
  .meter-count b { font-size: 2rem; }
  .chap .text-link { display: none; }
  .reel-cells { grid-template-columns: repeat(120, minmax(0, 1fr)); grid-auto-rows: 4px; height: 9px; }
}
@media (max-width: 480px) { .chap .fineprint span:nth-child(2) { display: none; } .hero-cta .btn { flex: 1 1 100%; } }

/* Without the 3D studio (no WebGL, or no script): the chapters are plain sections, each with its screenshot. */
.no-3d .story, .no-js .story { height: auto !important; padding-top: 68px; }
.no-3d .stage, .no-js .stage { position: static; height: auto; overflow: visible; }
.no-3d .farm, .no-3d .hud, .no-3d .cue, .no-3d .reel, .no-js .farm, .no-js .hud, .no-js .cue, .no-js .reel { display: none; }
.no-3d .stage::after, .no-js .stage::after, .no-3d .shade, .no-js .shade { display: none; }
.no-3d .veil, .no-js .veil, .no-3d .curtain, .no-js .curtain { display: none; }
.no-3d .chap > *, .no-js .chap > * { opacity: 1 !important; transform: none !important; }
.no-3d .chaps, .no-js .chaps { position: static; display: grid; gap: 110px; max-width: 1180px; margin: 0 auto; padding: 64px 24px 110px; }
.no-3d .chap, .no-js .chap { position: static; width: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; padding: 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px 56px; align-content: start; }
.no-3d .chap > *, .no-js .chap > * { grid-column: 1; }
.no-3d .chap-shot, .no-js .chap-shot { display: block; grid-column: 2; grid-row: 1 / span 5; align-self: center; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.09); }
.no-3d .chap-shot.phone-shot, .no-js .chap-shot.phone-shot { max-width: 260px; justify-self: center; border-radius: 26px; }
.no-3d .chap-hero, .no-js .chap-hero { display: block; padding: 40px 0 0; }
@media (max-width: 860px) {
  .no-3d .chap, .no-js .chap { grid-template-columns: 1fr; }
  .no-3d .chap-shot, .no-js .chap-shot { grid-column: 1; grid-row: auto; }
}

/* ── Sections ───────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 116px 0; }
@media (max-width: 700px) { .section { padding: 84px 0; } }
.kicker { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
/* A section's heading: big, on the left like the story's words, with its one line of explanation on the right. */
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 20px 72px; align-items: end; margin: 0 0 56px; }
.section-head h2, .faq-side h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.03; letter-spacing: -0.028em; }
.section-head > p { justify-self: end; max-width: 400px; margin: 0 0 6px; color: var(--text-2); font-size: 1.12rem; line-height: 1.55; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; margin-bottom: 40px; } .section-head > p { justify-self: start; } }

/* ── How it works: three steps, each with a small picture of the app doing it ── */
/* The pictures are drawn in their finished state; site.js adds .play when one comes into view, and the animations
   below run it from the start (paused until then). Without script, or with reduced motion, they stay finished. */
.how { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; padding: 10px 10px 28px; border-radius: 10px; background-color: var(--surface); background-image: var(--sheen); box-shadow: var(--lift); }
.step-n { margin: 24px 16px 10px; color: var(--accent); font: 600 13px/1 var(--display); letter-spacing: 0.08em; }
.step h3 { margin: 0 16px 8px; font-size: 1.35rem; }
.step p { margin: 0 16px; color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.vig {
  position: relative; height: 236px; padding: 20px; border-radius: 7px; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 14px; font-size: 12.5px; line-height: 1.3;
  background-color: #0e0e0d; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
  background-size: 14px 14px; background-position: 7px 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.vig .icon { width: 14px; height: 14px; }

/* 1. The setup window: the bar fills, Installing becomes Ready, the two parts tick off. */
.win { width: min(100%, 272px); border-radius: 6px; overflow: hidden; background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 34px -16px rgba(0, 0, 0, 0.9); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; background: #222220; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 11.5px; font-weight: 550; }
.win-bar .logo { width: 12px; height: 12px; }
.win-body { display: grid; gap: 11px; padding: 15px 14px 14px; }
.inst-state { position: relative; height: 16px; font-size: 13px; font-weight: 650; }
.inst-state span { position: absolute; left: 0; top: 0; }
.inst-state .a { opacity: 0; color: var(--text-2); }
.bar { height: 6px; border-radius: 3px; background: #2c2c2a; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: left center; }
.ticks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.ticks li { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.ticks .icon, .landed .icon { color: var(--m5); stroke-width: 2.6; }

/* 2. A node joining: its code on the new PC, the same code asking on the workstation, Accept, and it is in. */
.newpc { display: grid; justify-items: center; gap: 6px; padding: 11px 20px 13px; border-radius: 6px; background: #161615; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.newpc span { color: var(--muted); font-size: 10.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.newpc b, .joinrow .code { font-family: 'Cascadia Mono', Consolas, ui-monospace, monospace; font-weight: 600; }
.newpc b { font-size: 24px; line-height: 1; letter-spacing: 0.2em; margin-right: -0.2em; }
.slot { display: grid; width: min(100%, 300px); }
.slot > * { grid-area: 1 / 1; }
.joinrow { display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 12px; border-radius: 5px; border-left: 3px solid var(--m2); background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 34px -16px rgba(0, 0, 0, 0.9); opacity: 0; visibility: hidden; }
.joinrow .who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.joinrow .who b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.joinrow .who span { color: var(--muted); font-size: 11px; }
.joinrow .code { font-size: 15px; letter-spacing: 0.12em; }
.mini-btn { padding: 6px 10px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 650; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.joined { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 5px; background: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 34px -16px rgba(0, 0, 0, 0.9); }
.joined i { width: 10px; height: 10px; border-radius: 2px; background: var(--m4); }
.joined b { flex: 1; font-size: 12.5px; }
.joined span { display: flex; align-items: center; gap: 6px; color: var(--m5); font-size: 11.5px; font-weight: 650; }
.joined span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--m5); }

/* 3. Sent from Blender: the frames land in the colors of the machines that rendered them. */
.send-btn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 4px; background: #3c3c3b; color: #e8e8e6; font-size: 12px; font-weight: 550; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.5); }
.fmap { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 2px; width: min(100%, 272px); }
.fmap i { aspect-ratio: 1; border-radius: 1.5px; background: #222220; }
.fmap i.c0 { background: var(--m0); } .fmap i.c1 { background: var(--m1); } .fmap i.c2 { background: var(--m2); }
.fmap i.c3 { background: var(--m3); } .fmap i.c4 { background: var(--m4); } .fmap i.c5 { background: var(--m5); }
.no-js .fmap { display: none; }
.landed { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12px; }

@keyframes v-grow { from { transform: scaleX(0); } }
@keyframes v-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes v-gone { from { opacity: 1; } to { opacity: 0; } }
@keyframes v-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes v-press { 50% { transform: scale(0.9); filter: brightness(1.18); } }
@keyframes v-blender { 50% { background-color: #4772b3; } }
@keyframes v-cell { from { background-color: #222220; } }
@keyframes v-ask { 0% { opacity: 0; visibility: visible; transform: translateY(8px); } 18%, 82% { opacity: 1; visibility: visible; transform: none; } 100% { opacity: 0; visibility: hidden; transform: translateY(-4px); } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .vig:not(.play) * { animation-play-state: paused !important; }
  html:not(.no-js) .vig-install .win { animation: v-in 0.4s ease both; }
  html:not(.no-js) .vig-install .bar i { animation: v-grow 1.3s cubic-bezier(0.45, 0, 0.25, 1) 0.35s both; }
  html:not(.no-js) .vig-install .inst-state .a { animation: v-gone 0.2s ease 1.65s both; }
  html:not(.no-js) .vig-install .inst-state .b { animation: v-show 0.25s ease 1.75s both; }
  html:not(.no-js) .vig-install .ticks li:nth-child(1) { animation: v-in 0.35s ease 1.85s both; }
  html:not(.no-js) .vig-install .ticks li:nth-child(2) { animation: v-in 0.35s ease 2.1s both; }
  html:not(.no-js) .vig-join .newpc { animation: v-in 0.4s ease both; }
  html:not(.no-js) .vig-join .joinrow { animation: v-ask 1.7s ease 0.45s both; }
  html:not(.no-js) .vig-join .mini-btn { animation: v-press 0.3s ease 1.3s both; }
  html:not(.no-js) .vig-join .joined { animation: v-in 0.4s ease 2.05s both; }
  html:not(.no-js) .vig-send .send-btn { animation: v-blender 0.5s ease 0.2s both; }
  html:not(.no-js) .vig-send .fmap i { animation: v-cell 0.25s ease both; }
  html:not(.no-js) .vig-send .landed { animation: v-in 0.4s ease 2.6s both; }
}

/* The link to the full list */
.more-link { margin: 64px 0 0; text-align: center; }
.more-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 16px; padding-bottom: 3px; border-bottom: 1px solid var(--line-2); transition: border-color 0.15s ease; }
.more-link a:hover { border-bottom-color: var(--accent); }
.more-link .icon { width: 17px; height: 17px; color: var(--accent); }

/* ── The features page: one chart, grouped ──────────────────────────── */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-head p { margin: 16px auto 0; max-width: 560px; color: var(--text-2); font-size: 1.1rem; }
.fjump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.fjump a { padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; font-weight: 550; transition: border-color 0.15s ease, color 0.15s ease; }
.fjump a:hover { color: var(--text); border-color: var(--line-2); }
.fgroups { max-width: 980px; padding-bottom: 100px; }
.fgroup { margin-top: 56px; scroll-margin-top: 92px; }
.fgroup h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.fgroup h2 .icon { width: 22px; height: 22px; stroke-width: 1.8; color: var(--accent); }
.ftable { width: 100%; border-collapse: collapse; }
.ftable th, .ftable td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.45; }
.ftable th { width: 36%; padding-right: 24px; font-weight: 600; color: var(--text); }
.ftable td { color: var(--text-2); }
.ftable tr:hover th, .ftable tr:hover td { background: rgba(255, 255, 255, 0.015); }
@media (max-width: 640px) {
  .ftable th, .ftable td { display: block; width: auto; border: 0; padding: 0; }
  .ftable tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ftable td { margin-top: 3px; }
}
.nav a[aria-current='page'] { color: var(--text); border-bottom-color: var(--accent); }

/* ── Pricing ────────────────────────────────────────────────────────── */
.pricing { border-top: 1px solid var(--line); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 10px; background-color: var(--surface); background-image: var(--sheen); box-shadow: var(--lift); }
.tier h3 { font-size: 1.05rem; color: var(--text-2); font-family: var(--font); font-weight: 650; letter-spacing: 0; }
.tier .price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.tier .price strong { font: 600 2.7rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier .price span { color: var(--muted); font-size: 14.5px; }
.tier .nodes { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 650; font-size: 16px; }
.tier .nodes .icon { width: 19px; height: 19px; color: var(--accent); }
.tier .sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tier form { margin-top: auto; }
@media (max-width: 1020px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .tiers { grid-template-columns: 1fr; } }

.price-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.price-foot > div { display: flex; gap: 14px; padding: 20px 22px; border-radius: 10px; border: 1px solid var(--line); }
.price-foot .icon { width: 22px; height: 22px; stroke-width: 1.7; color: var(--accent); margin-top: 2px; }
.price-foot b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.price-foot p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.price-foot a, .price-note a, .faq a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 940px) { .price-foot { grid-template-columns: 1fr; } }
.price-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ── FAQ: the heading stays beside the questions; an answer slides open ── */
.faq-sec { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 80px; align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-side p { margin: 22px 0 0; color: var(--text-2); }
.faq-side a { color: var(--text); padding-bottom: 2px; border-bottom: 1px solid var(--line-2); transition: border-color 0.15s ease; }
.faq-side a:hover { border-bottom-color: var(--accent); }
.faq { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 2px; cursor: pointer; list-style: none; color: var(--text-2); font-weight: 600; font-size: 1.1rem; transition: color 0.15s ease; }
.faq summary:hover, .faq details[open] summary { color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 14px; height: 14px; margin-right: 4px; transition: transform 0.25s ease;
  background: linear-gradient(var(--muted), var(--muted)) center / 14px 2px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 2px 14px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.3s cubic-bezier(0.4, 0, 0.2, 1), content-visibility 0.3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
.faq p { margin: 0; padding: 0 48px 24px 2px; color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ── The last call: over a wall of rendered frames ──────────────────── */
/* The wall fills in as the section scrolls into view, each machine working through its share (site.js): a frame
   waiting is grey, one rendering has its machine's color around it, a finished one shows the picture over a line of
   that color. */
.cta-final { position: relative; overflow: hidden; min-height: 92vh; min-height: 92svh; display: grid; place-items: center; padding: 120px 0; text-align: center; border-top: 1px solid var(--line); }
.wall { position: absolute; inset: 0; display: grid; justify-content: center; align-content: center; gap: 4px; }
.wall i {
  position: relative; aspect-ratio: 16 / 9; border-radius: 3px; background: #151514 url('/3d/frames.webp?v=1') 0 0 / 400% 400% no-repeat;
  filter: grayscale(1) brightness(0.22); transition: filter 0.6s ease, box-shadow 0.3s ease;
}
.wall i.now { box-shadow: inset 0 0 0 2px var(--mc); }
.wall i.done { filter: none; }
.wall i.done::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mc); }
.cta-final::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 44% 50% at 50% 50%, rgba(13, 13, 13, 0.95), rgba(13, 13, 13, 0.84) 50%, rgba(13, 13, 13, 0.4) 100%),
    linear-gradient(#0d0d0d, rgba(13, 13, 13, 0) 24%, rgba(13, 13, 13, 0) 76%, #0d0d0d);
}
.cta-in { position: relative; z-index: 2; }
.cta-final .logo { margin: 0 auto 26px; }
.cta-final h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
.cta-final p { margin: 18px 0 0; color: var(--text-2); font-size: 1.15rem; }
@media (max-width: 700px) {
  .cta-final::before { background: radial-gradient(ellipse 80% 46% at 50% 50%, rgba(13, 13, 13, 0.95), rgba(13, 13, 13, 0.82) 55%, rgba(13, 13, 13, 0.45) 100%), linear-gradient(#0d0d0d, rgba(13, 13, 13, 0) 20%, rgba(13, 13, 13, 0) 80%, #0d0d0d); }
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { padding: 60px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid .about p { margin: 16px 0 0; max-width: 300px; }
.footer-grid h3 { font: 650 12.5px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--text); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .about { grid-column: 1 / -1; } }

/* ── Arriving on scroll: a short rise, once ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ── The plain pages (404) ──────────────────────────────────────────── */
.plain { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.plain h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 22px 0 12px; }
.plain p { color: var(--text-2); margin-bottom: 28px; }
