/* IntraGenX landing, Editorial edition.
   A printed page: paper and one ink. Condensed headlines, mono captions, hairline rules, no rounded corners.
   Pictures are public domain plates reprinted as one-ink halftones; the PNG alpha is the ink and CSS paints it,
   so the color option changes the ink across type, rules and plates at once. */

:root {
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  color-scheme: light;
  --paper: #f3f3f0;
  --paper-2: #e9e9e4;
  --surface: #ffffff;
  --ink: #121214;
  --on-ink: #f3f3f0;
  --text: #16161a;
  --text-2: #4c4c52;
  --rule: rgb(18 18 20 / 0.22);
  --rule-strong: rgb(18 18 20 / 0.6);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111112; --paper-2: #1b1b1d; --surface: #1b1b1d;
  --ink: #edece6; --on-ink: #111112; --text: #edece6; --text-2: #a6a6aa;
  --rule: rgb(237 236 230 / 0.2); --rule-strong: rgb(237 236 230 / 0.55);
}
:root[data-palette="signal"] {
  color-scheme: light;
  --paper: #f3f3f0; --paper-2: #e5e7f1; --surface: #ffffff;
  --ink: #1b35e6; --on-ink: #f3f3f0; --text: #10143a; --text-2: #454a6b;
  --rule: rgb(27 53 230 / 0.26); --rule-strong: rgb(27 53 230 / 0.7);
}
:root[data-palette="signal"][data-theme="dark"] {
  color-scheme: dark;
  --paper: #0a0d22; --paper-2: #121634; --surface: #121634;
  --ink: #8da0ff; --on-ink: #0a0d22; --text: #e6e8f5; --text-2: #a5abcb;
  --rule: rgb(141 160 255 / 0.26); --rule-strong: rgb(141 160 255 / 0.65);
}
:root[data-palette="lime"] {
  color-scheme: light;
  --paper: #f1f2ec; --paper-2: #e3e6d9; --surface: #ffffff;
  --ink: #3d6100; --on-ink: #f1f2ec; --text: #1e2126; --text-2: #50545c;
  --rule: rgb(61 97 0 / 0.26); --rule-strong: rgb(61 97 0 / 0.7);
}
:root[data-palette="lime"][data-theme="dark"] {
  color-scheme: dark;
  --paper: #1b1d23; --paper-2: #24272f; --surface: #24272f;
  --ink: #b6ff2e; --on-ink: #1b1d23; --text: #eceee6; --text-2: #a9aea3;
  --rule: rgb(182 255 46 / 0.22); --rule-strong: rgb(182 255 46 / 0.6);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
code { font-family: var(--mono); font-size: 0.88em; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--on-ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.005em; color: var(--ink); }
.headline { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5.2vw, 78px); line-height: 0.92; letter-spacing: -0.01em; color: var(--ink); }
.kicker, figcaption, .install-label, .fine, .footer-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text-2); }
.kicker, .install-label { text-transform: uppercase; letter-spacing: 0.08em; }
figcaption b { font-weight: 500; color: var(--text); }
.fine { margin-top: 12px; }

/* ---------- Buttons: square, condensed caps ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 0;
  font: 500 20px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out);
}
.btn i { font-size: 17px; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 17px; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-line { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: transparent; color: var(--ink); }
  /* 2026-10-14: the outline button no longer floods with ink on hover (it read as a second primary next to the ink button); its border thickens instead */
  .btn-line:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--ink); }
  .mast-links a:hover, .mast-link:hover, .footer-links a:hover { text-decoration: underline; }
}

/* ---------- Masthead ---------- */
.mast { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mast-inner { height: 68px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.mast-links { display: flex; gap: 32px; }
.mast-links a, .mast-link { font: 400 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; color: var(--text); }
.mast-right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-name { font: 500 30px/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn i { font-size: 20px; }
.mobile-menu { display: grid; padding: 4px 16px 12px; border-top: 1px solid var(--rule); background: var(--paper); }
.mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Plates: ink painted through the halftone alpha ---------- */
.plate {
  width: 100%; max-width: 100%; background-color: var(--ink);
  -webkit-mask-image: var(--src); mask-image: var(--src);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: background-color 300ms ease;
}
:root[data-theme="dark"] .plate { -webkit-mask-image: var(--src-dark, var(--src)); mask-image: var(--src-dark, var(--src)); }
.plate-fig figcaption { margin-top: 10px; line-height: 1.5; }

/* ---------- Front page ---------- */
.front { padding: 56px 0 72px; }
.front-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: stretch; }
/* the lead plate fills the whole height of the headline column, cropped like a cover photo */
.front-plate { display: flex; }
.front-plate .plate { flex: 1; min-height: 100%; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; }
.front-copy h1 { font-size: clamp(64px, 7.6vw, 118px); }
.front-lead { margin-top: 28px; font-size: 18px; line-height: 1.5; max-width: 36ch; }
.front-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.install { margin-top: 36px; }
.install-box { margin-top: 10px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--rule-strong); padding: 10px 8px 10px 14px; }
.install-box code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--text); }
.icon-btn { flex: none; width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.icon-btn i { font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .front-copy > *, .front-plate { animation: rise 800ms var(--ease-out) both; }
  .front-copy > :nth-child(2) { animation-delay: 80ms; }
  .front-copy > :nth-child(3) { animation-delay: 160ms; }
  .front-copy > :nth-child(4) { animation-delay: 240ms; }
  .front-plate { animation-delay: 120ms; animation-duration: 1100ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Downloads: three ruled columns ---------- */
.downloads { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
.dl-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-col { padding: 32px 28px 28px; display: grid; gap: 12px; justify-items: start; border-left: 1px solid var(--rule); }
.dl-col:first-child { border-left: 0; padding-left: 0; }
.dl-name { font: 400 58px/0.9 var(--display); color: var(--ink); }
.dl-col .btn { margin-top: 8px; }
.downloads > .fine { margin-top: 0; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: 56px; max-width: 880px; }
.sec-lead { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 52ch; }

/* Surfaces: four newspaper columns */
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 0 24px; border-left: 1px solid var(--rule); }
.col:first-child { padding-left: 0; border-left: 0; }
.col:last-child { padding-right: 0; }
.col-title { font: 500 40px/0.95 var(--display); color: var(--ink); }
.col p { font-size: 15.5px; }
.col code { background: var(--paper-2); padding: 1px 5px; }
.col .plate-fig { margin-top: 12px; }

/* Sessions: numbered steps, plate + clipping */
.steps { border-top: 1px solid var(--rule-strong); }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 48px 0 72px; border-bottom: 1px solid var(--rule); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-no { display: block; font: 300 120px/0.78 var(--display); color: var(--ink); }
.step-title { margin-top: 20px; font: 500 40px/0.95 var(--display); color: var(--ink); }
.step-text p { margin-top: 14px; color: var(--text-2); max-width: 38ch; }
.spread { position: relative; padding-bottom: 36px; }
.spread .plate-fig { width: 78%; }
.spread figcaption { max-width: calc(50% / 0.78 - 20px); }
.clip {
  position: absolute; right: 0; bottom: 0; width: 50%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--rule-strong);
}

/* Features: wide plate, ruled definitions */
.band { margin-bottom: 64px; }
.features-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; align-items: start; }
.features-title { grid-row: span 2; }
.ruled { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ruled div { padding: 20px 0 26px; border-top: 1px solid var(--rule-strong); }
.ruled dt { display: flex; align-items: center; gap: 10px; font: 500 30px/1 var(--display); color: var(--ink); }
.ruled dt i { font-size: 20px; }
.ruled dt { flex-wrap: wrap; }
.ruled dt .kicker { flex-basis: 100%; margin-bottom: 4px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.spread .plate-portrait { width: 34%; }
.enterprise-body { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.enterprise-body .sec-lead { margin: 0 0 24px; }
.ruled dd { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.ruled code { color: var(--text); }
.features-grid .btn { grid-column: 1; justify-self: start; }

/* CLI */
/* 2026-10-13: the install window is the agent landing's (web_agent) terminal, as is. A dark rounded window on purpose,
   the one place this page leaves the paper-and-rule look, like the hero tty. */
.cli-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.term { --term-bg: #151514; position: relative; isolation: isolate; background: var(--term-bg); color: #dcdcd6; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.26), 0 12px 24px -16px rgb(0 0 0 / 0.16); }
:root[data-theme="dark"] .term { --term-bg: #0a0a0b; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .term { --term-bg: #0a0a0b; box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.8); } }
.term::before { content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none; opacity: 0.75; filter: blur(36px);
  background: radial-gradient(38% 44% at 78% 82%, rgb(255 255 255 / 0.10), transparent 70%), radial-gradient(34% 40% at 30% 70%, rgb(255 255 255 / 0.05), transparent 70%); }
.term-bar { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.term-tabs { display: inline-flex; gap: 2px; padding: 3px; background: rgb(255 255 255 / 0.06); border-radius: 9px; }
.term-tabs button {
  border: 0; background: transparent; color: #9c9c95; font: 500 13px var(--sans);
  height: 28px; padding: 0 12px; border-radius: 6px; cursor: pointer; transition: color 150ms ease, background-color 150ms ease;
}
.term-tabs button[aria-selected="true"] { background: #33332f; color: #f4f4f0; }
.term-body { padding: 18px 20px 22px; font-family: var(--mono); font-size: 14px; line-height: 1.9; }
.term-line { display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.term-line code { font-size: 14px; overflow-wrap: anywhere; }
.term-line .p { color: #7a7a74; user-select: none; }
.term-line.dim code { color: #8c8c86; padding-left: 22px; }
.term-line.strong code { color: #ffffff; padding-left: 22px; }
.term-line.install { align-items: center; margin-top: 0; margin-bottom: 10px; padding: 10px 10px 10px 14px; margin-left: -14px; margin-right: -10px; background: rgb(255 255 255 / 0.06); border-radius: 10px; }
.term-line.install code { flex: 1; color: #f4f4f0; }
.copy {
  flex: none; border: 1px solid #3a3a36; background: #2a2a27; color: #e6e6e0; border-radius: 7px; height: 30px; padding: 0 10px;
  font: 500 13px var(--sans); cursor: pointer; transition: transform 160ms ease, background-color 150ms ease;
}
.copy:active { transform: scale(0.96); }
.copy-label { display: inline-flex; align-items: center; gap: 6px; }
.copy i { font-size: 15px; }

/* Demo: the recorded CLI session under the front page, in the same dark window as the CLI section */
/* 2026-10-13: height from hermes-agent.nousresearch.com (632px), width widened to the full content column (1200px).
   The window is 780px wide at 1.616:1 (no title bar), a little above centre (Hermes's 39:62 top/bottom split).
   The recording is cropped to 26 rows (14_CLI 시연 녹화/tool/trim.py "crop") so it fills that window. */
.demo { padding: 0; }
.demo + .section { padding-top: 72px; }
.demo-stage { position: relative; width: 100%; aspect-ratio: 1200 / 632; overflow: hidden;
  container-type: inline-size; background: var(--paper-2); }
.demo-bg { position: absolute; inset: -6%; filter: blur(clamp(3px, 0.75cqw, 8px)); }
.demo-bg-ink { position: absolute; inset: 0; background: var(--ink); opacity: 0.72;
  -webkit-mask: var(--src) 0 0 / 52% auto repeat; mask: var(--src) 0 0 / 52% auto repeat; }
.demo-term { position: absolute; top: 4.8cqw; left: 50%; translate: -50% 0; display: flex; flex-direction: column;
  width: 65cqw; aspect-ratio: 1.616 / 1; border-radius: 12px; }
.demo-screen { flex: 1; min-height: 0; display: flex; padding: clamp(4px, 0.9cqw, 12px); }
.demo-player { flex: 1; min-width: 0; min-height: 0; }
.demo-player .ap-wrapper { background: transparent; }
.demo-player .ap-player { --term-color-background: transparent; --term-color-foreground: #dcdcd6; background: transparent; border-radius: 0; }
.demo-player .ap-control-bar { display: none; }
@media (max-width: 767px) { .demo + .section { padding-top: 56px; } .demo-term { border-radius: 8px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font: 500 30px/1.05 var(--display); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 18px; flex: none; transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--text-2); max-width: 62ch; }

/* Closing */
.closing { border-top: 1px solid var(--rule-strong); padding: 72px 0 40px; }
.closing-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing-title { font-size: clamp(64px, 9vw, 150px); max-width: 11ch; }

/* Footer */
.footer { padding: 0 0 48px; overflow: hidden; }
.footer-word { font: 500 clamp(140px, 30vw, 440px)/0.78 var(--display); text-transform: uppercase; letter-spacing: -0.01em; color: color-mix(in srgb, var(--ink) 11%, transparent); margin: 24px 0 32px -0.04em; user-select: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; border-top: 1px solid var(--rule); padding-top: 24px; font-size: 14px; color: var(--text-2); }
.footer-grid .brand-name { font-size: 24px; }
.footer-grid p { margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font: 400 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a { text-decoration: none; color: var(--text); }
.footer-note { grid-column: 1 / -1; margin: 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 76px; translate: -50% 0; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 16px; font: 400 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.toast[data-show="false"] { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* IntraGenX mark (Ledger, always on its tile) */
:root, :root[data-palette="mono"] { --mark-bg: #0a0a0a; --mark-ink: #ffffff; --mark-acc: #8c8c8c; --mark-ring: none; }
:root[data-theme="dark"], :root[data-palette="mono"][data-theme="dark"] { --mark-bg: #1f1f1f; --mark-ink: #ffffff; --mark-acc: #8c8c8c; --mark-ring: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
:root[data-palette="signal"] { --mark-bg: #15161a; --mark-ink: #f8f7f4; --mark-acc: #0057ff; --mark-ring: none; }
:root[data-palette="signal"][data-theme="dark"] { --mark-bg: #24262d; --mark-ink: #f8f7f4; --mark-acc: #2f74ff; --mark-ring: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
:root[data-palette="lime"] { --mark-bg: #23262f; --mark-ink: #f4f5f6; --mark-acc: #b6ff2e; --mark-ring: none; }
:root[data-palette="lime"][data-theme="dark"] { --mark-bg: #2b2f3a; --mark-ink: #f4f5f6; --mark-acc: #b6ff2e; --mark-ring: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.cc-mark { --s: 28px; flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.23); background: var(--mark-bg); box-shadow: var(--mark-ring); display: inline-grid; place-items: center; }
.cc-mark svg { width: 62%; height: auto; display: block; }
.cc-mark .m-ink { fill: var(--mark-ink); }
.cc-mark .m-acc { fill: var(--mark-acc); }

/* Color comparison switch (review aid) */
.palette-switch {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px;
  background: var(--paper); border: 1px solid var(--rule-strong);
  font: 400 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2);
}
.palette-switch button { border: 0; background: transparent; color: var(--text); height: 30px; padding: 0 10px 0 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font: inherit; }
.palette-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.palette-switch .sw { width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.2); }
.sw-mono { background: #121214; }
.sw-signal { background: #1b35e6; }
.sw-lime { background: #b6ff2e; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .col:nth-child(3) { padding-left: 0; border-left: 0; }
  .col:nth-child(2) { padding-right: 0; }
}
@media (max-width: 1024px) {
  .mast-links { display: none; }
  .mast-inner { grid-template-columns: auto minmax(0, 1fr); }
  .front-grid, .step, .features-grid, .cli-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .front-plate .plate { min-height: 0; aspect-ratio: 2400 / 1560; }
  .features-title { grid-row: auto; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .hide-md { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mast-right { gap: 8px; }
  .front { padding: 32px 0 48px; }
  .front-copy h1 { font-size: clamp(56px, 17vw, 84px); }
  .front-cta .btn { flex: 1 1 100%; }
  .dl-row { grid-template-columns: minmax(0, 1fr); }
  .dl-col, .dl-col:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .dl-col:first-child { border-top: 0; }
  .section { padding: 72px 0; }
  .columns { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .col, .col:nth-child(n) { padding: 0; border-left: 0; }
  .step-no { font-size: 88px; }
  .spread { padding-bottom: 0; display: grid; gap: 16px; }
  .spread .plate-fig { width: 100%; }
  .clip { position: static; width: 100%; max-width: none; }
  .ruled { grid-template-columns: minmax(0, 1fr); }
  .term-tabs { overflow-x: auto; }
  .term-body { font-size: 13px; padding: 16px; }
  .term-line code { font-size: 13px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .palette-switch { left: 16px; right: 16px; justify-content: center; }
  .palette-switch > span { display: none; }
}

/* ---------- Hero install: same window graphics as the CLI section (agent landing terminal), text unchanged.
   2026-10-13: the mac window (traffic lights, centred title) was replaced at the user's request. ---------- */
/* 2026-10-13: the Arctic naming page's "Install the CLI" glass (web_naming/arctic/aurora.css .term): 55% smoke, 22px backdrop blur,
   12% white hairline, pill tabs and copy. Here it sits straight on the paper (a dark scene behind it was rejected: it read as plain black). No blinking caret. */
/* black with an aurora glow (pictures behind the glass were rejected three ways: dark scene, none, plate) */
.tty { position: relative; isolation: isolate; margin-top: 0; background: #0a0a0d; color: #dedde6; border-radius: 18px; overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 40px 80px -40px rgb(0 0 0 / 0.5); }
.tty::before { content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; filter: blur(24px); opacity: 1;
  background: /* colourless aurora: soft grey light drifting on black (green and violet were too loud) */
    radial-gradient(30% 34% at 24% 74%, rgb(255 255 255 / 0.13), transparent 70%),
    radial-gradient(30% 30% at 52% 58%, rgb(200 205 215 / 0.08), transparent 70%),
    radial-gradient(32% 36% at 80% 66%, rgb(255 255 255 / 0.11), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .tty::before { animation: tty-aurora 18s ease-in-out infinite alternate; }
  @keyframes tty-aurora { to { transform: translate3d(6%, -4%, 0) rotate(4deg); } }
}
.tty-bar { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.tty-dots { display: none; }
.tty-tabs { display: inline-flex; gap: 2px; padding: 3px; background: rgb(255 255 255 / 0.06); border-radius: 999px; }
.tty-tabs button { border: 0; background: transparent; color: #d6d5de; font: 400 13px var(--sans); text-transform: none; letter-spacing: 0;
  height: 28px; padding: 0 13px; border-radius: 999px; cursor: pointer; transition: color 150ms ease, background-color 150ms ease; }
.tty-tabs button[aria-selected="true"] { background: rgb(255 255 255 / 0.14); color: #ffffff; }
.install-label { margin: 0 0 10px; }
.tty-copy { margin-left: auto; flex: none; height: 30px; padding: 0 12px; border: 1px solid rgb(255 255 255 / 0.16); border-radius: 999px; background: rgb(255 255 255 / 0.08); color: #f0f0f4;
  cursor: pointer; display: inline-flex; align-items: center; transition: transform 160ms ease, background-color 150ms ease; }
.tty-copy:active { transform: scale(0.96); }
.tty-copy i { font-size: 15px; }
.tty-body { padding: 18px 20px 22px; font: 400 14px/1.9 var(--mono); }
.tty-line { display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.tty-line code { font: inherit; color: #f4f4f0; overflow-wrap: anywhere; min-width: 0; }
.tty-dim code { color: #d0cfd8; }
.tty-dim { margin-bottom: 8px; }
.tty-dim + .tty-line { align-items: center; padding: 10px 14px; margin: 0 -10px 0 -14px; background: rgb(255 255 255 / 0.06); border-radius: 12px; }
.tty-prompt { flex: none; color: #d0cfd8; user-select: none; }

/* ---------- Steps: plates only (product clippings removed 2026-10-13) ---------- */
.spread { padding-bottom: 0; }
.spread .plate-fig { width: 100%; }
@media (max-width: 640px) { .tty-body { font-size: 13px; padding: 12px 14px 14px; } }
/* ---------- 2026-10-13 SaaS landing: strengths with plates on top, short step bands, vertical column rules ---------- */
.strengths .col { grid-template-rows: auto auto 1fr; align-content: start; }
/* the four columns share rows, so every title starts on the same line (the end columns are wider, so their 4:3 plates are taller) */
.strengths .columns { grid-template-rows: auto auto 1fr; }
.strengths .col { grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
.strengths .col .plate-fig { align-self: end; }
.strengths .col .plate-fig { margin: 0 0 12px; }
.strengths .col p { color: var(--text-2); }
.step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 40px 0; align-items: center; }
.step:last-child { padding-bottom: 0; }
.step-no { font-size: 88px; }
/* vertical rules between the two columns of every split layout */
.front-grid, .step, .cli-grid, .faq-grid { column-gap: 0; }
.front-copy, .step-text, .faq-grid > :first-child { padding-right: 48px; }
.front-plate, .spread, .faq-grid > :last-child { padding-left: 48px; border-left: 1px solid var(--rule); }
/* the CLI window is a dark box, so the rule sits on the text column and the box keeps its own edge */
.cli-grid { align-items: stretch; }
.cli-grid > :first-child { padding: 24px 48px 24px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; }
.cli-grid > .term { align-self: center; margin-left: 48px; }
/* How it works: one solid rule down the left edge of the content, from the top of the section to the last step */
.sessions { position: relative; }
.sessions::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc((100% - min(100%, 1280px)) / 2 + 40px);
  border-left: 1px solid var(--rule-strong); }
.sessions .sec-head, .sessions .steps { margin-left: 40px; }
@media (max-width: 767px) {
  .sessions::before { left: 16px; }
  .sessions .sec-head, .sessions .steps { margin-left: 20px; }
}
@media (max-width: 1024px) {
  .front-copy, .step-text, .faq-grid > :first-child { padding-right: 0; }
  .front-plate, .spread, .faq-grid > :last-child { padding-left: 0; border-left: 0; }
  .cli-grid > :first-child { padding: 0; border-right: 0; }
  .cli-grid > .term { margin-left: 0; }
  .front-grid, .step, .cli-grid, .faq-grid { row-gap: 32px; }
}
/* 2026-10-13, after devin.ai (measured: every rule 1px, black at 6-8%; the only verticals frame the content):
   from "From request to review" down the rules go faint, and the one vertical left is the frame line on the left. */
.sessions, .sessions ~ section, .footer {
  --rule: color-mix(in srgb, var(--ink) 7%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 9%, transparent);
}
.front-plate, .spread, .faq-grid > :last-child, .col, .dl-col { border-left: 0; }
.cli-grid > :first-child { border-right: 0; }

/* ---------- 2026-10-14 IntraGenX rename ---------- */
/* Download, after hermes-agent.nousresearch.com (measured): centred head, three 340px cards 30px apart,
   copy centred, one plate running across the three cards, a light button on the ink card */
.get { padding: 88px 0 104px; }
.get-head { text-align: center; margin-bottom: 40px; }
.get-head p { margin-top: 14px; color: var(--text-2); }
.get-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1080px; margin: 0 auto; }
.get-card { position: relative; isolation: isolate; overflow: hidden; min-height: 269px; padding: 60px 10px;
  display: grid; align-content: center; justify-items: center; gap: 22px; background: var(--ink); color: var(--on-ink); transition: background-color 300ms ease; }
.get-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--on-ink); opacity: 0.26;
  -webkit-mask: url(../plates/band-loom-visit.png) var(--pos) 50% / 330% auto no-repeat; mask: url(../plates/band-loom-visit.png) var(--pos) 50% / 330% auto no-repeat; }
.get-name { font: 500 56px/0.9 var(--display); color: var(--on-ink); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn-paper:hover { background: transparent; color: var(--on-ink); border-color: var(--on-ink); } }

/* How it works, after devin.ai (measured): two equal columns 32px apart, 4:3 plate,
   plate right then left; the text sits at the top when it is on the left and at the bottom when on the right */
.sessions .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: stretch; padding: 48px 0; }
.sessions .step-text { padding-right: 0; align-self: start; }
.sessions .spread { padding-left: 0; }
.sessions .step:nth-child(even) .spread { grid-column: 1; grid-row: 1; }
.sessions .step:nth-child(even) .step-text { grid-column: 2; grid-row: 1; align-self: end; }

/* Ways to use it */
.surfaces .col { grid-template-rows: auto auto 1fr; align-content: start; }
.surf-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.surf-kicker i { font-size: 18px; color: var(--ink); }
.surfaces .col p:not(.kicker) { color: var(--text-2); }
.surfaces .is-soon .col-title, .surfaces .is-soon .surf-kicker i { color: var(--text-2); }

@media (max-width: 1024px) {
  .sessions .step { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .sessions .step:nth-child(even) .spread, .sessions .step:nth-child(even) .step-text { grid-column: auto; grid-row: auto; align-self: start; }
  .get-row { gap: 16px; }
}
@media (max-width: 767px) {
  .get { padding: 64px 0 72px; }
  .get-row { grid-template-columns: minmax(0, 1fr); }
  .get-card { min-height: 200px; padding: 40px 10px; }
  .get-card::before { -webkit-mask-size: 160% auto; mask-size: 160% auto; }
}
/* ---------- 2026-10-14 round 2 ---------- */
.nw { white-space: nowrap; }
.get-req { font: 400 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-ink); opacity: 0.85; margin-bottom: -8px; }

/* Ways to use it: four ruled cards, drawn icon, how-to button; the two unreleased ones sit under a grey veil */
.surf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.surf { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; justify-items: start;
  padding: 28px 24px 24px; border: 1px solid var(--rule-strong); background: var(--paper); }
.surf-ic { width: 56px; height: 56px; margin-bottom: 8px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.surf p { color: var(--text-2); font-size: 15.5px; }
.surf .btn { margin-top: 8px; }
.surf-soon { position: absolute; inset: -1px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--text-2) 30%, transparent); -webkit-backdrop-filter: grayscale(1) blur(1.5px); backdrop-filter: grayscale(1) blur(1.5px); }
.surf-soon span { padding: 8px 14px; background: var(--paper); border: 1px solid var(--rule-strong); color: var(--text);
  font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.surf.is-soon .btn { pointer-events: none; }
@media (max-width: 1100px) { .surf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .surf-row { grid-template-columns: minmax(0, 1fr); } }
/* ---------- 2026-10-14 round 3: shorter, narrower hero ---------- */
.front { padding: 44px 0 56px; }
.front-copy h1 { font-size: clamp(56px, 6.2vw, 96px); }
.front-lead { margin-top: 20px; }
.front-cta { margin-top: 22px; }
.install { margin-top: 26px; }
.install-label { margin: 0 0 8px; }
.tty { max-width: 460px; border-radius: 14px; }
.tty-bar { padding: 6px 8px; }
.tty-tabs button { height: 24px; padding: 0 11px; font-size: 12.5px; }
.tty-copy { height: 26px; padding: 0 10px; }
.tty-body { padding: 10px 14px 12px; font-size: 13px; line-height: 1.6; }
.tty-dim { margin-bottom: 4px; }
.tty-dim + .tty-line { padding: 7px 12px; margin: 0 -6px 0 -10px; border-radius: 9px; }
@media (max-width: 1024px) { .front-plate .plate { aspect-ratio: 1 / 1; } }

/* ---------- 2026-10-14 round 5 ---------- */
/* the lead plate is a landscape map now: shown whole at 3:2, centred in its column instead of cropped to the column */
.front-plate { align-items: center; }
.front-plate .plate { flex: none; width: 100%; min-height: 0; aspect-ratio: 3 / 2; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
@media (max-width: 1024px) { .front-plate .plate { aspect-ratio: 3 / 2; } }
/* the install window is as wide as the first headline line (editorial.js measures it); the type shrinks to keep one line */
.tty { max-width: 100%; }
.tty-body { font-size: var(--tty-f, 13px); }
.tty-line code { white-space: nowrap; }
/* the demo stage spans the same width as the download cards below it */
.demo-stage { max-width: 1080px; margin: 0 auto; aspect-ratio: 1080 / 632; }
/* IDE logos */
.surf-logos { display: inline-flex; gap: 14px; margin-bottom: 8px; height: 56px; align-items: center; }
.surf-logos svg { width: 44px; height: 44px; fill: var(--ink); }
/* closing line: a marker sweep when it scrolls in */
.hl { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--ink) 16%, transparent) 60%, color-mix(in srgb, var(--ink) 16%, transparent) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.2s var(--ease-out) 0.15s; }
.hl.is-on { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .hl { transition: none; background-size: 100% 100%; } }

/* ---------- 2026-10-14 round 6 ---------- */
/* demo stage cut so the window has the same space above and below it (window top 4.8cqw, height 65/1.616 cqw) */
.demo-stage { aspect-ratio: 100 / 49.82; }
.get-more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- 2026-10-14 round 7 ---------- */
/* the lead plate fills its column again (no empty space above and below), cropped from the middle */
.front-plate { align-items: stretch; }
.front-plate .plate { flex: 1; aspect-ratio: auto; min-height: 100%; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; }
@media (max-width: 1024px) { .front-plate .plate { min-height: 0; aspect-ratio: 1600 / 1380; } }
/* cards: icon, title, button */
.surf { grid-template-rows: auto auto 1fr; }
.hl { white-space: nowrap; }

/* ---------- 2026-10-14 round 8 ---------- */
@media (max-width: 1024px) { .front-plate .plate { aspect-ratio: 2400 / 1650; } }
/* closing: the Jacquard silk picture (band-loom-visit) printed faintly behind the last line */
.closing { position: relative; isolation: isolate; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); opacity: 0.13;
  -webkit-mask: url(../plates/band-loom-visit.png) center / cover no-repeat; mask: url(../plates/band-loom-visit.png) center / cover no-repeat; }
:root[data-theme="dark"] .closing-bg { -webkit-mask-image: url(../plates/band-loom-visit-dark.png); mask-image: url(../plates/band-loom-visit-dark.png); }
.closing-inner { position: relative; }

/* ---------- 2026-10-14 round 9 ---------- */
@media (max-width: 1024px) { .front-plate .plate { aspect-ratio: 1400 / 1170; } }
/* demo stage: no picture any more, a deep flat ground with a faint drifting aurora (same in light and dark) */
.demo-stage { background: #0d0e12; isolation: isolate; }
.demo-bg { display: none; }
.demo-stage::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(48px);
  background:
    radial-gradient(34% 40% at 22% 70%, rgb(255 255 255 / 0.10), transparent 70%),
    radial-gradient(30% 36% at 55% 30%, color-mix(in srgb, var(--ink) 30%, rgb(190 200 220 / 0.10)), transparent 70%),
    radial-gradient(36% 42% at 82% 72%, rgb(255 255 255 / 0.08), transparent 70%); opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) {
  .demo-stage::before { animation: demo-aurora 22s ease-in-out infinite alternate; }
  @keyframes demo-aurora { to { transform: translate3d(5%, -4%, 0) rotate(3deg); } }
}
.demo-term { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 40px 80px -30px rgb(0 0 0 / 0.6); }
/* closing: show the top of the silk picture (the heads), not its middle */
.closing-bg { -webkit-mask-position: center top; mask-position: center top; }

/* ---------- 2026-10-14 round 10 (draft): glassmorphism demo ---------- */
@media (max-width: 1024px) { .front-plate .plate { aspect-ratio: 1400 / 1283; } }
/* stronger, softly coloured light behind the glass so the frosting reads */
.demo-stage::before { filter: blur(40px); opacity: 1;
  background:
    radial-gradient(30% 42% at 20% 68%, rgb(150 165 255 / 0.30), transparent 70%),
    radial-gradient(28% 38% at 52% 22%, rgb(255 255 255 / 0.16), transparent 70%),
    radial-gradient(32% 44% at 84% 74%, rgb(120 220 200 / 0.22), transparent 70%); }
/* the window is frosted glass: translucent fill, backdrop blur, a hairline rim and a top highlight */
.demo-term { --term-bg: transparent; background: rgb(18 19 26 / 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgb(255 255 255 / 0.14); border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 30px 70px -30px rgb(0 0 0 / 0.7); }
.demo-term::before { display: none; }

/* ---------- 2026-10-14 round 11: the glass is the stage, not the window ---------- */
/* terminal window back to the plain dark window */
.demo-term { --term-bg: #151514; background: var(--term-bg); -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; border-radius: 12px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.45), 0 12px 24px -16px rgb(0 0 0 / 0.2); }
/* stage = a rounded frosted-glass panel on the paper: soft colour light underneath, a white frost over it */
.demo-stage { background: color-mix(in srgb, var(--paper) 70%, #dfe3ee); border-radius: 28px;
  border: 1px solid rgb(255 255 255 / 0.7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 30px 60px -40px rgb(20 24 40 / 0.35); }
.demo-stage::before { filter: blur(50px); opacity: 1;
  background:
    radial-gradient(32% 46% at 18% 70%, rgb(140 160 255 / 0.55), transparent 70%),
    radial-gradient(30% 40% at 52% 18%, rgb(255 190 220 / 0.40), transparent 70%),
    radial-gradient(34% 46% at 86% 72%, rgb(120 220 200 / 0.50), transparent 70%); }
.demo-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.45), rgb(255 255 255 / 0.18));
  -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); }
:root[data-theme="dark"] .demo-stage { background: #15171d; border-color: rgb(255 255 255 / 0.12); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1); }
:root[data-theme="dark"] .demo-stage::after { background: linear-gradient(160deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02)); }
@media (max-width: 767px) { .demo-stage { border-radius: 16px; } }

/* ---------- 2026-10-14 round 12: colour taken out of the glass ("too colourful, keep it serious") ---------- */
/* charcoal glass: graphite ground, two faint grey lights under a smoked frost, hairline rim */
.demo-stage { background: #1a1b1f; border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 30px 60px -40px rgb(0 0 0 / 0.5); }
.demo-stage::before { filter: blur(60px); opacity: 1;
  background:
    radial-gradient(40% 55% at 22% 30%, rgb(255 255 255 / 0.10), transparent 70%),
    radial-gradient(40% 55% at 80% 78%, rgb(200 204 214 / 0.07), transparent 70%); }
.demo-stage::after { background: linear-gradient(160deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0) 60%);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
:root[data-theme="dark"] .demo-stage { background: #141518; }
:root[data-theme="dark"] .demo-stage::after { background: linear-gradient(160deg, rgb(255 255 255 / 0.04), transparent 60%); }
.demo-term { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 40px 80px -30px rgb(0 0 0 / 0.7); }

/* 2026-10-14: a rule above the strengths section, like the rules between the other sections */
.strengths { border-top: 1px solid var(--rule); }

/* ---------- 2026-10-14 round 13: ink-to-paper glass stage ---------- */
/* half ink, half its opposite (the paper), blended diagonally; follows the ink switch */
.demo-stage { background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 85%, var(--paper)) 38%, color-mix(in srgb, var(--ink) 25%, var(--paper)) 62%, var(--paper) 100%);
  border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), inset 0 -1px 0 rgb(0 0 0 / 0.08), 0 30px 60px -36px rgb(0 0 0 / 0.45); }
/* soft light pools under the frost so the glass has depth */
.demo-stage::before { filter: blur(56px); opacity: 1;
  background:
    radial-gradient(34% 48% at 26% 36%, color-mix(in srgb, var(--paper) 22%, transparent), transparent 70%),
    radial-gradient(36% 50% at 76% 70%, color-mix(in srgb, var(--ink) 22%, transparent), transparent 70%); }
/* the frost: a pale sheen across the top-left, blur over everything underneath */
.demo-stage::after { background:
    linear-gradient(135deg, rgb(255 255 255 / 0.18) 0%, rgb(255 255 255 / 0.06) 45%, rgb(255 255 255 / 0.12) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%); }
:root[data-theme="dark"] .demo-stage { border-color: rgb(255 255 255 / 0.14); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 30px 60px -36px rgb(0 0 0 / 0.6); }
:root[data-theme="dark"] .demo-stage::after { background: linear-gradient(135deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02) 50%, rgb(255 255 255 / 0.05)); }

/* 2026-10-14: a hairline showed down the right edge (backdrop blur sampling past the edge + the paper-coloured border).
   The light pools are already blurred, so the frost needs no backdrop filter; the rim is an inset highlight only. */
.demo-stage { border: 0; }
.demo-stage::after { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 2026-10-14 round 14 ---------- */
/* How it works, shorter: smaller pictures, tighter rows */
.sessions .sec-head { margin-bottom: 32px; }
.sessions .step { padding: 24px 0; column-gap: 48px; }
.sessions .step .ax { max-width: 400px; }
.sessions .step:nth-child(odd) .spread { justify-self: start; }
.sessions .step:nth-child(even) .spread { justify-self: end; }
.sessions .spread { width: 100%; display: flex; }
.sessions .step:nth-child(even) .spread { justify-content: flex-end; }
.sessions .spread .ax { width: 100%; }
.sessions .step-no { font-size: 64px; }
.sessions .step-title { margin-top: 12px; }
.sessions .step-text p { margin-top: 10px; }

/* Benchmarks: 2x2 grid of bar charts; the fourth cell explains the internal benchmark */
.bench { border-top: 1px solid var(--rule); }
.bm-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 400 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--text-2); }
.bm-dot { width: 8px; height: 8px; background: var(--ink); }
.bm-title { margin: 0; }
.bm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 60px; margin-top: 56px; }
.bm-card { margin: 0; }
.bm-name-head { display: block; margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--rule); font: 500 20px/1.3 var(--sans); color: var(--text); }
.bm-list { list-style: none; margin: 0; padding: 22px 0 0; display: grid; gap: 22px; }
.bm-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 52px; align-items: center; gap: 16px; }
.bm-name { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 16px; color: var(--text); white-space: nowrap; }
.bm-ic { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--rule-strong);
  font: 500 11px/1 var(--mono); color: var(--text-2); }
.bm-ic.is-logo { border: 0; border-radius: 5px; object-fit: cover; }
.bm-ic.is-mark { border: 0; background: var(--mark-bg, #0a0a0a); border-radius: 5px; }
.bm-ic.is-mark svg { width: 14px; height: 12px; }
.bm-ic.is-mark .m-ink { fill: var(--mark-ink, #fff); } .bm-ic.is-mark .m-acc { fill: var(--mark-acc, #8c8c8c); }
.bm-bar { display: block; height: 14px; }
.bm-bar span { display: block; height: 100%; border-radius: 4px; background: color-mix(in srgb, var(--ink) 16%, var(--paper)); }
.bm-v { font: 400 17px/1 var(--mono); letter-spacing: 0.06em; color: var(--text); text-align: right; }
.bm-row.is-us .bm-name { font-weight: 600; }
.bm-row.is-us .bm-bar span { background: var(--ink); }
.bm-row.is-us .bm-v { color: var(--ink); font-weight: 500; }
.bm-about p { margin: 22px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 46ch; }
.bm-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.bm-more:hover { border-bottom-color: var(--ink); }
@media (max-width: 1024px) { .bm-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 767px) {
  .bm-row { grid-template-columns: 136px minmax(0, 1fr) 40px; gap: 10px; }
  .bm-name { font-size: 13px; gap: 8px; } .bm-ic { width: 18px; height: 18px; font-size: 10px; }
  .bm-bar { height: 10px; } .bm-bar span { border-radius: 3px; } .bm-v { font-size: 14px; letter-spacing: 0.02em; }
  .bm-name-head { font-size: 18px; }
}
/* pictures sit at the outer edge: right for odd steps, left for even ones */
.sessions .step:nth-child(odd) .spread { justify-content: flex-end; }
.sessions .step:nth-child(even) .spread { justify-content: flex-start; }
.sessions .step .ax { max-width: 360px; }
