/* Garnet front door: shared tokens and controls. Reference retains its own stylesheet. */
:root {
  --bg: #08090b;
  --surface: #101114;
  --surface2: #18191e;
  --ink: #f2e8d8;
  --muted: #b0adb3;
  --line: #333239;
  --red: #aa0b35;
  --bright: #f37d9a;
  --gold: #d7b572;
  --green: #abcbb6;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --max: 1360px;
  --header-height: 78px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; cursor: pointer; }
a, button, input, select, textarea { outline-offset: 5px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); }
button:disabled { cursor: wait; opacity: .65; }
p { margin: 0 0 18px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }
h2 { font: clamp(34px, 4vw, 54px)/1.15 var(--serif); letter-spacing: -.025em; }
h3 { font: 28px/1.2 var(--serif); }
em { color: var(--gold); font-weight: 400; }
small { font-size: 12px; }
code, pre { font-family: var(--mono); }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
code { font-size: .89em; }
summary { cursor: pointer; }
.wrap { width: min(var(--max), calc(100% - 88px)); margin-inline: auto; }
.eyebrow { margin-bottom: 18px; color: var(--gold); font: 11px/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { max-width: 630px; color: var(--muted); font-size: 17px; }
.tiny { color: var(--muted); font: 11px/1.6 var(--mono); }
.text-link { padding-bottom: 3px; border-bottom: 1px solid #7c6b4c; }
.text-link:hover { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 13px 23px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { border-color: #6b6264; background: #232125; transform: translateY(-1px); }
.btn.primary { border-color: #d82b53; background: linear-gradient(135deg, #ba103d, #92072e); color: #fff7ee; }
.btn.primary:hover { border-color: #f2708e; background: #bc1742; }
.btn.small { min-height: 40px; padding: 8px 15px; font-size: 12px; }
.arrow { font-size: 22px; font-weight: 400; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid #45534b; border-radius: 3px; color: var(--green); font: 10px/1.4 var(--mono); letter-spacing: .04em; }
.tag.illustration { border-color: #5c4d32; color: var(--gold); }
.tag.neutral { border-color: var(--line); color: var(--muted); }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -80px; left: 20px; z-index: 100; padding: 12px; background: var(--ink); color: #111; }
.skip:focus { top: 10px; }
.route[hidden], [hidden] { display: none !important; }
.route h1:focus, .route h2[tabindex]:focus, #main:focus { outline: none; }

/* One persistent navigation shell, two presentations of the language. */
header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #28262b; background: #08090b; }
.nav { display: flex; align-items: center; gap: 34px; height: var(--header-height); }
.logo { font: 500 27px/1 var(--serif); letter-spacing: .18em; white-space: nowrap; }
.logo span { color: #b8103d; }
.navlinks { display: flex; align-items: center; gap: 30px; margin-left: auto; color: #d9d3ce; font-size: 14px; }
.navlinks > a { padding-block: 9px; }
.navlinks > a:hover { color: var(--gold); }
.nav .btn { min-height: 44px; padding: 9px 22px; font-size: 13px; }
.menu-toggle { display: none; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: none; }
#mode-veil { position: fixed; inset: 0; z-index: 90; background: #000; opacity: 0; pointer-events: none; }
#mode-veil.active, #mode-veil.is-visible { opacity: 1; }
body.reference-mode { height: 100dvh; overflow: hidden; }
body.reference-mode .footer { display: none; }
#reference-view { position: relative; height: calc(100dvh - var(--header-height)); padding-top: 54px; }
#original-frame { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
.reference-loader, .reference-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 30px; background: var(--bg); text-align: center; color: var(--muted); }
.reference-fallback { z-index: 2; }
.reference-fallback p { margin: 0; }
.reference-fallback a { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }

/* The gemstone is quiet. Motion begins with the evidence below it. */
.hero { position: relative; isolation: isolate; height: clamp(620px, 44vw, 720px); min-height: 620px; border-bottom: 1px solid #665131; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 9 11 / 5%), transparent 75%, rgb(8 9 11 / 40%)); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; height: 100%; }
.hero-copy { --hero-line: calc(50% + max(1.55vw, 16px)); position: relative; height: 100%; padding: 0 0 0 14px; text-align: left; }
.hero-copy .eyebrow { position: absolute; top: calc(var(--hero-line) - clamp(220px, 16.3vw, 265px)); margin: 0; color: #d0c7bc; font-size: 10px; letter-spacing: .22em; }
.hero h1 { position: absolute; top: calc(var(--hero-line) - 40px); margin: 0; font: 500 clamp(128px, 12vw, 180px)/.95 var(--serif); letter-spacing: -.045em; transform: translateY(-100%); }
.hero h1 span { color: #a10b33; }
.hero-sub { position: absolute; top: calc(var(--hero-line) + 24px); margin: 0; color: var(--ink); font: italic clamp(22px, 2.1vw, 31px)/1.4 var(--serif); text-wrap: balance; }
.hero-actions { position: absolute; top: calc(var(--hero-line) + 153px); display: flex; justify-content: flex-start; gap: 16px; }
.hero-actions .btn { min-height: 56px; padding: 14px 27px; font-size: 15px; }
.hero-actions .btn:not(.primary) { border-color: #9c7c43; background: rgb(8 9 11 / 45%); }
.hero-note { position: absolute; top: calc(var(--hero-line) + 221px); margin: 0; color: #c6c0bd; font-size: 12px; line-height: 1.6; }
.hero-baseline { position: absolute; right: 0; bottom: 15px; left: 0; display: flex; justify-content: center; align-items: center; gap: 27px; color: #bbb1b3; font: 10px/1.4 var(--mono); letter-spacing: .1em; text-align: center; }
.hero-baseline span:first-child { color: var(--gold); }
.signal-strip { display: none; }
.evidence-chapter { padding: 41px 0 48px; border-bottom: 1px solid #27252b; background: linear-gradient(120deg, #090a0c, #101011 55%, #090a0c); }
.evidence-chapter h2 { margin-bottom: 30px; font-size: clamp(30px, 3.25vw, 45px); text-align: center; }
.evidence-chapter h2 em { font-style: normal; }
.chapter-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin-inline: auto; }
.chapter-steps > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 9px 20px; padding: 0 24px; border-right: 1px solid #383129; }
.chapter-steps > div:last-child { border-right: 0; }
.chapter-steps > div > span { display: flex; align-items: center; gap: 15px; grid-column: 1 / -1; color: var(--gold); font: 11px var(--mono); }
.chapter-steps > div > span::after { content: ''; width: min(90px, 55%); height: 1px; background: #5f5038; }
.chapter-steps h3 { font-size: 28px; }
.chapter-steps b { align-self: center; color: var(--gold); font: 30px/1 var(--sans); }
.chapter-steps p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }

/* The lab: actual code, a visible boundary, and inspectable results. */
.section { padding-block: 65px; }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-heading h2 { margin-bottom: 13px; font-size: clamp(39px, 4.5vw, 60px); }
.section-heading p:not(.eyebrow) { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 15px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.lab { background: transparent; }
.lab-nav { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 6px; background: #0e0f11; overflow: hidden; }
.scenario-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 74px; padding: 13px 12px; border-right: 1px solid #343037; background: none; color: #c2bcc0; font: 17px/1.2 var(--serif); text-align: center; }
.scenario-tab:last-child { border-right: 0; }
.scenario-tab span:first-child { order: 2; color: #aca2a8; font: 10px/1.4 var(--mono); letter-spacing: .1em; }
.scenario-tab[aria-selected='true'] { color: var(--ink); background: linear-gradient(135deg, #26151b, #130f12); box-shadow: inset 0 0 0 1px #d02e57; }
.scenario-tab[aria-selected='true'] span:first-child { color: var(--bright); }
.scenario-tab:hover { background: #252026; }
/* The tab row clips overflow, so the focus ring sits inside each tab. */
.scenario-tab:focus-visible { outline-offset: -4px; }
.lab-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 16px; }
.lab-top h3 { font-size: 25px; }
.lab-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; min-height: 325px; }
.editor { display: flex; flex-direction: column; align-self: stretch; min-width: 0; border: 1px solid #3b343c; border-radius: 6px; background: #0c0d0f; overflow: hidden; }
.filebar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid #2b272d; color: #c1b8bf; font: 11px var(--mono); }
.filebar .file-dot { margin-right: 8px; color: var(--bright); }
.source { min-height: 190px; padding: 22px 21px; color: #e8ded1; font: 14px/1.9 var(--mono); }
.code-pink { color: #f29ab1; }
.code-green { color: #accfba; }
.code-comment { color: #a4a3ae; }
.code-line { display: block; }
.code-no { display: inline-block; width: 28px; color: #93909a; user-select: none; }
.editor-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding: 15px 18px; border-top: 1px solid #2c2730; }
.toggle-label { display: flex; align-items: center; gap: 10px; color: #d2c9ce; font-size: 12px; cursor: pointer; }
.toggle-label input { width: 17px; height: 17px; accent-color: var(--red); }
.live-output { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 18px 21px; border: 1px solid #3b343c; border-radius: 6px; background: #0c0d0f; }
.result-title { margin: 12px 0 8px; font: 24px/1.3 var(--serif); }
.result-copy { min-height: 36px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.lab-foot { display: block; margin-top: 18px; padding: 14px 0 0; border-top: 1px solid #41382a; color: #c4b18e; font-size: 11px; }
.lab-foot summary { width: fit-content; cursor: pointer; padding: 5px 0; font: 11px/1.6 var(--mono); }
.lab-foot[open] p { max-width: 1000px; margin: 10px 0; }
.lab-foot summary:focus-visible, .positioning-context summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.positioning-context { margin: 16px 0; color: var(--muted); font-size: 12px; }
.positioning-context summary { width: fit-content; cursor: pointer; padding: 4px 0; }
.positioning-context p { margin-top: 12px; }
.lab-foot a { color: var(--gold); white-space: nowrap; }
.raw-output { margin: 16px 0 0; padding: 11px 14px; border: 1px solid #353039; border-radius: 4px; color: #d0c6cc; font-size: 11px; }
.raw-output pre { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.demo-caption { display: flex; justify-content: flex-end; gap: 20px; margin-top: 16px; color: #b0a7b0; font: 10px/1.65 var(--mono); }
.demo-caption button { padding: 0; background: transparent; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.illustration-text { min-height: 189px; padding: 22px; color: #c9bdc3; font: 12px/1.7 var(--mono); }
.illustration-text .comment { margin-top: 18px; color: #b6aeb9; font: 12px/1.7 var(--sans); }


/* The selected Inscription is live type and decorative geometry, never a raster banner. */
.subsection { padding-block: 47px; border-top: 1px solid var(--line); }
.inscription { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(46px, 4.2vw, 66px) 42px; }
.inscription-inner { position: relative; container-type: inline-size; width: min(1530px, calc(100% - 88px)); }
.inscription-facets { position: absolute; z-index: -1; inset: 15px 0 10px; display: flex; justify-content: center; pointer-events: none; opacity: .18; }
.inscription-facets svg { height: 100%; width: min(100%, 950px); }
.inscription-title { margin: 0; text-align: center; font: 400 clamp(36px, 7.9cqw, 120px)/1.035 'Times New Roman', Times, serif; letter-spacing: -.028em; text-transform: uppercase; }
.inscription-title > span { display: block; white-space: nowrap; }
.inscription .ruby-period { color: #e65565; }
.inscription-pillars { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(30px, 2.8cqw, 42px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid #b99151; }
.inscription-pillars > li { padding: 12px 12px 25px; border-left: 1px solid #ae1740; text-align: center; font: 400 clamp(24px, 4cqw, 58px)/1.08 'Times New Roman', Times, serif; letter-spacing: -.025em; }
.inscription-pillars > li:last-child { border-right: 1px solid #ae1740; }
.inscription-pillars > li > span { display: block; }
.inscription-pillars::after { content: ''; position: absolute; bottom: -7px; left: calc(50% - 7px); width: 13px; height: 13px; border: 1px solid #d7b572; background: #a5113c; transform: rotate(45deg); }
.inscription-foundations { padding-top: 39px; text-align: center; }
.inscription-foundations .positioning-context { margin: 0; }
.inscription-foundations summary { margin-inline: auto; color: var(--gold); font: 400 clamp(22px, 1.9cqw, 28px)/1.35 'Times New Roman', Times, serif; }
.inscription-foundations summary::marker { font-size: .5em; }
.inscription-foundations .positioning-context p { max-width: 620px; margin: 18px auto 0; padding-inline: 12px; font-size: 13px; }
.inscription-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 42px; margin: 19px 0 0; font: 400 clamp(17px, 1.4cqw, 21px)/1.6 'Times New Roman', Times, serif; }
.inscription-links .text-link { border-bottom: 0; color: var(--ink); }
.inscription-links .text-link span { margin-left: 8px; color: #e65565; }
.inscription-links .text-link:hover { color: var(--gold); }
@media (min-width: 651px) and (max-width: 1100px) {
  .inscription-inner { width: calc(100% - 48px); }
}
@media (max-width: 650px) {
  .inscription.subsection { padding-block: 46px 38px; }
  .inscription-inner { width: calc(100% - 36px); }
  .inscription-title { font-size: clamp(26px, 7.5cqw, 44px); line-height: 1.1; letter-spacing: -.035em; }
  .inscription-title > span { white-space: normal; }
  .inscription-pillars { margin-top: 29px; }
  .inscription-pillars > li { padding: 9px 2px 20px; font-size: clamp(17px, 4.9cqw, 28px); line-height: 1.2; letter-spacing: -.035em; }
  .inscription-foundations { padding-top: 30px; }
  .inscription-foundations summary { font-size: 23px; }
  .inscription-links { gap: 12px 25px; font-size: 17px; }
  .inscription-facets { inset: 18px 0 0; opacity: .14; }
}
.closing { border-block: 1px solid #493038; background: linear-gradient(110deg, #1b1016, #100e12); }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 34px; }
.closing .eyebrow { margin-bottom: 10px; }
.closing h2 { font-size: 36px; }
.closing p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.closing-actions { display: flex; gap: 12px; }
.footer { padding-block: 28px 22px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-row .logo { font-size: 20px; }
.footer-links { display: flex; gap: 23px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--gold); }
.footer-note { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #262329; color: #b3aab2; font: 10px/1.6 var(--mono); }
.footer-note a { color: var(--gold); }

/* CLI-first installation. The command stays ahead of the optional workbench. */
.install-wrap { display: grid; grid-template-columns: minmax(300px, .65fr) 1fr; column-gap: 30px; width: min(1440px, calc(100% - 88px)); margin-inline: auto; }
.install-wrap::before { content: ''; grid-column: 1; grid-row: 1 / 5; min-height: 590px; background: url('assets/garnet-stone-cutout.webp') center 30px / 94% auto no-repeat; }
.install-wrap > .page-intro, .install-wrap > .os-selector, .install-wrap > .detect-message, .install-wrap > .install-panel { grid-column: 2; }
.page-intro { padding: 26px 0 23px; text-align: left; }
.page-intro .eyebrow { margin-bottom: 14px; }
.page-intro h1 { margin-bottom: 16px; font: clamp(42px, 4.35vw, 66px)/1.1 var(--serif); letter-spacing: -.03em; }
.page-intro .lead { max-width: 740px; margin: 0; font-size: 14px; }
.os-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 9px; }
.os-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid #40373e; border-radius: 6px; background: #0e0f12; font-size: 14px; }
.os-button[aria-pressed='true'] { border-color: #e1325c; background: linear-gradient(135deg, #2e111e, #160e15); box-shadow: inset 0 0 0 1px #952543; }
.os-button:hover { border-color: var(--gold); }
.os-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.detect-message { margin-bottom: 20px; color: var(--muted); font: 11px/1.6 var(--mono); text-align: center; }
.install-panel { border: 1px solid #40373e; border-radius: 7px; background: #101114; overflow: hidden; }
.install-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px 0; }
.install-panel-head h2 { font: 25px/1.15 var(--serif); }
.mode-pills { display: flex; gap: 3px; flex-shrink: 0; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: #090a0c; }
.mode-pills button { min-height: 34px; padding: 6px 11px; border-radius: 3px; background: none; color: #c1b9c1; font-size: 11px; }
.mode-pills button[aria-pressed='true'] { background: #36151f; color: var(--ink); box-shadow: inset 0 0 0 1px #b33352; }
.install-main { padding: 12px 24px 16px; }
.install-promise { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--green); font-size: 13px; }
.install-promise .promise-icon { font: 19px var(--serif); }
.terminal { position: relative; border: 1px solid #49404a; border-radius: 5px; background: #090a0c; overflow: hidden; }
.terminal-top { position: absolute; top: 10px; right: 12px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted); font: 10px/1.4 var(--mono); }
.terminal-top button { min-height: 27px; padding: 3px 10px; border: 1px solid #514550; border-radius: 3px; background: #141216; color: var(--ink); font: 11px/1.5 var(--sans); }
.terminal-top button:hover { border-color: var(--gold); }
.terminal pre { min-height: 80px; padding: 16px 118px 16px 16px; color: #ecdce3; font: 13px/1.7 var(--mono); }
.install-detail { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; }
.install-detail p { max-width: 640px; margin: 0; color: var(--muted); font-size: 11px; }
.install-detail a { color: var(--gold); font-size: 11px; white-space: nowrap; }
.install-disclosure { margin-top: 13px; padding-top: 11px; border-top: 1px solid #302a33; color: #bbb2bc; font-size: 11px; }
.install-disclosure p { margin: 15px 0 0; font-size: 12px; line-height: 1.8; }
.first-run { display: block; padding: 14px 24px 17px; border-top: 1px solid #3d333c; background: #0d0e10; }
.first-run-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.first-run h3 { margin: 0; font: 20px var(--serif); }
.first-run-heading a { color: #c4b7a1; font-size: 11px; }
.first-run-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 17px 0 0; padding: 0; list-style: none; }
.first-run-steps li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.first-run-steps li > span { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #49414a; border-radius: 50%; background: #272429; color: var(--ink); font-size: 12px; }
.first-run-steps li:first-child > span { border-color: #dc3157; background: #a80c35; }
.first-run-steps strong { display: block; margin: 3px 0 7px; font: 16px/1.25 var(--serif); }
.first-run-steps code { display: block; color: #d7cdc5; font: 11px/1.75 var(--mono); overflow-wrap: anywhere; }
.first-run-steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.downloads { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.18fr; column-gap: 60px; margin-top: 20px; padding: 18px 24px; border: 1px solid #3d343c; border-radius: 6px; background: #0e0f11; }
.downloads .eyebrow { display: none; }
.downloads h2 { grid-column: 1; margin-bottom: 8px; font: 25px var(--serif); }
.downloads > p { grid-column: 1; max-width: 450px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.download-form { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 15px; }
.field label { display: block; margin-bottom: 8px; color: #c4bbc5; font: 10px var(--mono); }
.field select { width: 100%; height: 44px; padding: 9px; border: 1px solid #514a54; border-radius: 4px; background: #15161b; color: var(--ink); font-size: 12px; }
.download-form .btn { min-height: 44px; gap: 10px; padding: 9px 16px; border-color: #93794b; color: #e5c38b; font-size: 12px; }
.download-form .btn[aria-disabled='true'] { opacity: .55; pointer-events: none; }
.download-meta { grid-column: 2; grid-row: 3; margin-top: 12px; color: var(--muted); font: 10px/1.7 var(--mono); overflow-wrap: anywhere; }
.download-meta a { color: var(--gold); }
.download-meta:empty { display: none; }
.downloads > p:last-child { grid-column: 1; grid-row: 3; max-width: none; margin-top: 12px !important; font-size: 11px; }
.studio-preview { grid-column: 1 / -1; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 22px; min-height: 92px; margin-block: 13px 24px; padding: 18px 24px; border: 1px solid #3d343c; border-radius: 6px; background: #0f1012; }
.studio-icon { width: 46px; height: 46px; padding: 7px; border: 1px solid #503340; border-radius: 6px; background: #1c1018; color: #ed3966; }
.studio-preview > div { display: block; }
.studio-preview h2 { margin: 0 0 5px; font: 25px/1.2 var(--serif); }
.studio-preview p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }
.studio-preview .btn { grid-column: 3; }
.studio-art { border: 1px solid #4e454e; border-radius: 5px; background: #141418; overflow: hidden; }
.studio-bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-bottom: 1px solid #35303a; color: var(--muted); font: 9px var(--mono); }
.studio-bar i { width: 5px; height: 5px; border-radius: 50%; background: #7c535f; }
.studio-bar span { margin-left: 10px; }
.studio-inner { display: grid; grid-template-columns: 75px 1fr; min-height: 120px; font: 9px var(--mono); }
.studio-sidebar { padding: 12px 8px; border-right: 1px solid #302c34; color: #b6a9b2; line-height: 2.9; }
.studio-code { padding: 12px; color: #bfaaa9; line-height: 1.9; }
.studio-code b { color: var(--green); font-weight: 400; }
.studio-preview p.studio-caption { max-width: none; margin: 10px 0 0; color: var(--muted); font: 9px/1.5 var(--mono); text-align: center; }

/* Shared review content and feedback. */
.design-wrap { width: min(1050px, calc(100% - 88px)); margin-inline: auto; }
.design-wrap section { padding: 40px 0; border-top: 1px solid var(--line); }
.design-wrap h2 { margin-bottom: 20px; font-size: 37px; }
.design-wrap h3 { margin-bottom: 13px; font-size: 24px; }
.design-wrap p, .design-wrap li { color: #c0b9c0; font-size: 14px; }
.design-wrap a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.design-wrap code { overflow-wrap: anywhere; }
.design-wrap .lead { font-size: 17px; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.note { padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: #111215; }
.table-wrap { width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 5px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { background: #19181d; color: var(--ink); font-weight: 500; }
th, td { min-width: 130px; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { color: #c0b9c0; }
td:first-child { color: var(--ink); }
tr:last-child td { border: 0; }
.comparison-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.copy-option { padding: 17px; border: 1px solid var(--line); border-radius: 5px; font: 20px/1.4 var(--serif); }
.copy-option.selected { border-color: #bc7185; background: #24151e; }
.copy-option small { display: block; margin-bottom: 12px; color: var(--gold); font: 9px var(--mono); }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 100; max-width: calc(100% - 30px); padding: 12px 23px; border: 1px solid #fff7eb; border-radius: 5px; background: #e7ddce; color: #171317; box-shadow: 0 10px 40px #0009; font-size: 12px; transform: translateX(-50%); }
.offline-fallback { padding: 20px; background: #2a181d; color: #f1d1d9; }
.file-warn { color: var(--gold); font-size: 11px; }
.print-only { display: none; }

/* The guided workbench uses the existing Garnet/Omarchy palette tokens. */
#use-cases { padding-top:32px; }
#use-cases .section-heading { margin-bottom:24px; }
#use-cases .section-heading .eyebrow { display:none; }
#use-cases .lab-top { padding-top:18px; padding-bottom:14px; }
#use-cases .source { font-size:16px; line-height:1.8; }
#use-cases .result-title { font-size:28px; }
.journey-steps { display:flex; gap:0; list-style:none; margin:0 0 20px; padding:0; border-bottom:1px solid var(--muted); font:12px/1.6 var(--mono); }
.journey-steps li { flex:1; padding:12px 8px; color:var(--muted); border-bottom:2px solid transparent; }
.journey-steps li span { margin-left:8px; }
.journey-steps li[aria-current] { color:var(--gold); border-color:var(--gold); }
.journey-steps li.complete { color:var(--green); }
.review-band { display:grid; grid-template-columns:1fr 1fr; gap:16px 26px; border:1px solid var(--muted); border-radius:6px; margin-top:20px; padding:20px; background:var(--surface); }
.review-label { display:block; margin-bottom:10px; color:var(--muted); font:12px var(--sans); }
.review-band strong { display:block; color:var(--gold); font:17px/1.5 var(--mono); }
.review-actions { display:flex; flex-wrap:wrap; gap:10px; }
.review-actions .btn:disabled { opacity:.6; cursor:default; }
.review-band p { grid-column:1/-1; border-top:1px solid var(--muted); padding-top:12px; color:var(--ink); font:13px/1.6 var(--sans); }
.journey-links { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding-top:18px; color:var(--gold); font:12px/1.5 var(--sans); }
.text-action { color:var(--gold); background:none; border:0; padding:4px 0; cursor:pointer; font:inherit; text-decoration:underline; text-underline-offset:5px; }
.journey-links #reset-journey { margin-left:auto; color:var(--muted); }
.record-terminal { padding:20px; }
.record-terminal pre,.record-transcript pre { font:12px/1.8 var(--mono); white-space:pre-wrap; overflow-wrap:anywhere; color:var(--ink); }
.terminal-label { margin:0 0 10px; color:var(--green); font:12px var(--sans); }
.mismatch-label { margin-top:24px; color:var(--bright); }
.record-transcript { margin-top:20px; padding:16px 20px; border:1px solid var(--muted); border-radius:4px; color:var(--gold); font:12px var(--sans); }
.record-transcript summary { cursor:pointer; }
.record-transcript pre { margin-top:18px; padding-top:18px; border-top:1px solid var(--muted); }
.record-loading { padding:40px 20px; color:var(--muted); }
@media(max-width:700px){
  #reference-view { padding-top:82px; }
  .review-band { grid-template-columns:1fr; padding:16px; }
  .journey-steps { font-size:10px; }
  .journey-steps li { padding:10px 3px; }
  .journey-steps li span { margin-left:3px; }
  .journey-links #reset-journey { margin-left:0; }
}

body.motion-off *, body.motion-off *::before, body.motion-off *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* Pause motion reaches the root scroller too; `body.motion-off *` cannot select <html>. */
html.motion-off { scroll-behavior: auto; }

/* Motion begins with the evidence. Each reveal runs once, uses transform, opacity or
   clip-path only, and is fenced by Pause motion and reduced motion above and below. */
.chapter-steps > div { transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--n, 0) * 90ms); }
.chapter-steps > div > span::after { transform-origin: left; transition: transform .7s var(--ease) calc(var(--n, 0) * 90ms + .15s); }
.chapter-steps > div:nth-child(2) { --n: 1; }
.chapter-steps > div:nth-child(3) { --n: 2; }
.chapter-steps > div:nth-child(4) { --n: 3; }
html.reveal-setup :is(.chapter-steps > div, .chapter-steps > div > span, .inscription-title > span, .inscription-pillars), html.reveal-setup .chapter-steps > div > span::after, html.reveal-setup .inscription-pillars::after { transition: none !important; }
html.has-reveal body:not(.motion-off) .evidence-chapter:not(.in-view) .chapter-steps > div { opacity: 0; translate: 0 12px; }
html.has-reveal body:not(.motion-off) .evidence-chapter:not(.in-view) .chapter-steps > div > span::after { transform: scaleX(0); }
/* The inscription is engraved from the centre outward; the pillars stay still. */
.inscription-title > span { transition: clip-path .9s var(--ease); }
.inscription-title > span + span { transition-delay: .14s; }
.inscription-pillars::after { transition: transform .5s var(--ease) .45s, opacity .3s .45s; }
html.has-reveal .inscription-title > span { clip-path: inset(-.25em -.1em); }
html.has-reveal body:not(.motion-off) .inscription:not(.in-view) .inscription-title > span { clip-path: inset(-.25em 50%); }
html.has-reveal body:not(.motion-off) .inscription:not(.in-view) .inscription-pillars::after { transform: rotate(45deg) scale(.3); opacity: 0; }
/* Pressing gives a response before the result does. */
.scenario-tab, .os-button, .mode-pills button { transition: transform .12s var(--ease); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .06s; }
.lab[data-playground-theme] :is(.btn, .btn.primary):active { transition-duration: .06s; }
.scenario-tab:active, .os-button:active, .mode-pills button:active { transform: scale(.985); }
/* The toast and the two-step cue arrive instead of popping. `translate` composes with the
   toast's centring transform. [hidden] is display:none, so each showing restarts them. */
.toast:not([hidden]) { animation: toast-in .24s var(--ease) both; }
.navigation-cue:not([hidden]) { animation: cue-in .22s var(--ease) both; }
.navigation-cue:not([hidden]) .cue-beats i:last-child { animation: cue-beat .9s ease-in-out .35s 2; }
@keyframes toast-in { from { opacity: 0; translate: 0 8px; } }
@keyframes cue-in { from { opacity: 0; translate: 0 -4px; } }
@keyframes cue-beat { 50% { transform: scale(1.45); opacity: .6; } }
@media print {
  html.has-reveal .chapter-steps > div { opacity: 1 !important; translate: none !important; transition: none !important; }
  html.has-reveal .chapter-steps > div > span::after { transform: none !important; transition: none !important; }
  html.has-reveal .inscription-title > span { clip-path: none !important; transition: none !important; }
  html.has-reveal .inscription-pillars::after { opacity: 1 !important; transform: rotate(45deg) !important; transition: none !important; }
}

@media (max-width: 1250px) {
  .nav { gap: 22px; }
  .navlinks { gap: 20px; }
  .hero-copy { padding-left: 5px; }
  .hero h1 { font-size: 12vw; }
  .hero-actions .btn { padding-inline: 21px; }
  .install-wrap { grid-template-columns: minmax(270px, .55fr) 1fr; gap: 0 22px; }
  .install-wrap::before { background-position: center 80px; background-size: 96% auto; }
  .install-panel-head { gap: 12px; padding-inline: 20px; }
  .install-panel-head h2 { font-size: 23px; }
  .install-main { padding-inline: 20px; }
  .downloads { column-gap: 35px; }
  .download-form { gap: 10px; }
  .scenario-tab { font-size: 15px; }
}
@media (max-width: 1000px) {
  :root { --header-height: 70px; }
  .wrap { width: calc(100% - 48px); }
  .nav { gap: 16px; }
  .logo { font-size: 24px; }
  .menu-toggle { display: block; min-height: 40px; font-size: 12px; }
  .nav .btn { gap: 16px; padding-inline: 17px; }
  .navlinks { position: absolute; top: var(--header-height); right: 0; left: 0; display: none; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 23px max(24px, calc((100vw - 660px) / 2)); border-bottom: 1px solid #554329; background: #0c0d0f; }
  .navlinks.open { display: grid; }
  .navlinks > a { display: flex; align-items: center; justify-content: space-between; min-height: 55px; border-bottom: 1px solid #302b31; color: var(--ink); font: 23px var(--serif); }
  .navlinks > a::after { content: '→'; color: var(--gold); font: 20px var(--sans); }
  .hero { --mobile-art-width: min(215vw, 880px); height: auto; min-height: 0; }
  .hero-art { top: -10px; left: 50%; width: var(--mobile-art-width); height: auto; max-width: none; object-fit: contain; transform: translateX(-27%); }
  .hero::after { background: linear-gradient(0deg, #08090b 0%, #08090b 39%, rgb(8 9 11 / 10%) 58%, transparent 73%); }
  .hero-grid { display: block; padding-top: calc(var(--mobile-art-width) * .48); padding-bottom: 83px; }
  .hero-copy { position: static; max-width: 580px; height: auto; margin-inline: auto; padding: 0; text-align: center; }
  .hero-copy .eyebrow { position: static; margin-bottom: 14px; font-size: 10px; }
  .hero h1 { position: static; margin-bottom: 19px; font-size: clamp(82px, 16vw, 123px); transform: none; }
  .hero-sub { position: static; margin: 0 0 24px; font-size: clamp(24px, 4vw, 29px); }
  .hero-actions { position: static; justify-content: center; }
  .hero-note { position: static; margin-top: 16px; font-size: 12px; }
  .hero-baseline { bottom: 19px; flex-wrap: wrap; gap: 7px 18px; padding-inline: 24px; font-size: 9px; }
  .chapter-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .chapter-steps > div { padding-inline: 17px; }
  .chapter-steps h3 { font-size: 25px; }
  .chapter-steps p { font-size: 12px; }
  .lab-nav { grid-template-columns: repeat(3, 1fr); }
  .scenario-tab { min-height: 65px; border-bottom: 1px solid #343037; font-size: 17px; }
  .scenario-tab:nth-child(3) { border-right: 0; }
  .scenario-tab:nth-child(n+4) { border-bottom: 0; }
  .lab-body { gap: 17px; }
  .source { padding-inline: 14px; font-size: 11px; }
  .editor-tools { flex-wrap: wrap; gap: 10px; padding-inline: 14px; }
  .editor-tools .btn { margin-left: auto; }
  .live-output { padding-inline: 16px; }
  .diagram-node { min-width: 70px; padding-inline: 0; font-size: 10px; }
  .diagram .gate { width: 100px; height: 120px; }
  .diagram .agent-node img { width: 70px; height: 78px; }
  .diagram .network-node svg { width: 66px; height: 78px; }
  .diagram-node::before { width: 66px; height: 66px; }
  .gate { width: 57px; height: 57px; }
  .diagram { gap: 10px; }
  .result-title { font-size: 22px; }
  .surface-set { width: 115px; }
  .diff-visual { gap: 12px; }
  .closing h2 { font-size: 32px; }
  .closing-actions { flex-direction: column; }
  .install-wrap { display: block; width: min(760px, calc(100% - 48px)); }
  .install-wrap::before { display: none; }
  .page-intro { text-align: center; }
  .page-intro h1 { font-size: 57px; }
  .page-intro .lead { margin-inline: auto; }
  .install-panel-head h2 { font-size: 27px; }
  .downloads { display: block; margin-top: 22px; }
  .downloads > p { max-width: none; }
  .download-form { margin-top: 20px; }
  .studio-preview { gap: 30px; }
}
@media (max-width: 650px) {
  .wrap, .install-wrap, .design-wrap { width: calc(100% - 36px); }
  .nav { gap: 12px; }
  .nav .logo { font-size: 23px; }
  .nav .btn { min-height: 40px; padding: 8px 13px; gap: 11px; font-size: 12px; }
  .menu-toggle { padding-inline: 9px; }
  .hero-grid { padding-top: calc(var(--mobile-art-width) * .48); }
  .hero h1 { font-size: clamp(74px, 21vw, 116px); }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .14em; }
  .hero-sub { font-size: clamp(20px, 5.7vw, 27px); }
  .hero-actions { flex-direction: column; gap: 11px; width: min(390px, 100%); margin-inline: auto; }
  .hero-actions .btn { justify-content: space-between; width: 100%; min-height: 51px; padding: 12px 23px; font-size: 14px; }
  .hero-note { max-width: 330px; margin-inline: auto; font-size: 10px; }
  .hero-baseline { font-size: 8px; letter-spacing: .07em; }
  .hero-baseline span:last-child { width: 100%; }
  .evidence-chapter { padding: 33px 0; }
  .evidence-chapter h2 { margin-bottom: 26px; font-size: 30px; }
  .chapter-steps { grid-template-columns: 1fr; gap: 23px; }
  .chapter-steps > div { grid-template-columns: 32px 1fr auto; gap: 6px 12px; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #383129; }
  .chapter-steps > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .chapter-steps > div > span { grid-column: 1; grid-row: 1; }
  .chapter-steps > div > span::after { display: none; }
  .chapter-steps h3 { grid-column: 2; font-size: 27px; }
  .chapter-steps b { grid-column: 3; font-size: 25px; }
  .chapter-steps p { grid-column: 2 / -1; font-size: 13px; }
  .section { padding-block: 43px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading .eyebrow { font-size: 10px; }
  .section-heading p:not(.eyebrow) { font-size: 13px; }
  .lab-nav { grid-template-columns: repeat(2, 1fr); }
  .scenario-tab { min-height: 65px; padding-inline: 8px; font-size: 16px; }
  .scenario-tab span:first-child { font-size: 9px; }
  .scenario-tab:nth-child(n) { border-bottom: 1px solid #343037; border-right: 1px solid #343037; }
  .scenario-tab:nth-child(2n) { border-right: 0; }
  .scenario-tab:nth-child(n+5) { border-bottom: 0; }
  .lab-top { flex-wrap: wrap; gap: 10px; padding-block: 22px 15px; }
  .lab-top h3 { font-size: 24px; }
  .lab-body { grid-template-columns: 1fr; gap: 15px; }
  .source { min-height: 160px; padding: 20px 13px; font-size: 11px; }
  .editor-tools { padding: 13px; }
  .toggle-label { font-size: 11px; }
  .editor-tools .btn { gap: 10px; font-size: 11px; }
  .live-output { padding: 14px 17px 20px; }
  .diagram { width: 100%; max-width: 440px; height: 174px; margin-inline: auto; }
  .diagram-node { min-width: 78px; }
  .diagram .gate { width: 106px; height: 122px; }
  .gate { width: 64px; height: 64px; }
  .gate-label { font-size: 9px; }
  .result-title { margin-top: 8px; font-size: 24px; }
  .result-copy { min-height: 0; font-size: 12px; }
  .lab-foot { display: block; padding-top: 14px; font-size: 11px; }
  .lab-foot a { display: inline-block; margin-top: 10px; }
  .raw-output { margin-top: 17px; }
  .demo-caption { font-size: 9px; }
  .demo-caption span { max-width: 70%; }
  .subsection { padding-block: 35px; }
  .closing .wrap { display: block; padding-block: 30px; }
  .closing h2 { font-size: 33px; }
  .closing-actions { flex-direction: row; flex-wrap: wrap; margin-top: 22px; }
  .closing-actions .btn { gap: 12px; padding-inline: 17px; font-size: 12px; }
  .footer-row { flex-wrap: wrap; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 10px 20px; }
  .footer-note { flex-direction: column; gap: 10px; font-size: 9px; }
  .page-intro { padding: 35px 0 24px; text-align: left; }
  .page-intro h1 { font-size: 46px; }
  .page-intro .lead { font-size: 13px; }
  .os-selector { gap: 6px; }
  .os-button { min-height: 46px; padding: 11px 8px; gap: 7px; font-size: 12px; }
  .os-button svg { width: 18px; height: 18px; }
  .detect-message { margin-bottom: 17px; font-size: 10px; }
  .install-panel-head { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px 17px 0; }
  .install-panel-head h2 { font-size: 26px; }
  .mode-pills { width: 100%; }
  .mode-pills button { flex: 1; min-height: 37px; }
  .install-main { padding: 17px; }
  .install-promise { font-size: 12px; }
  .terminal pre { min-height: 0; padding: 15px 12px; font-size: 12px; }
  .terminal-top { position: static; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 12px; border-bottom: 1px solid #2a252d; font-size: 10px; }
  .install-detail { display: block; }
  .install-detail a { display: inline-block; margin-top: 9px; }
  .first-run { padding: 18px 17px; }
  .first-run-steps { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .first-run-steps li { gap: 9px; }
  .first-run-steps code { font-size: 11px; }
  .downloads { padding: 22px 17px; }
  .downloads h2 { font-size: 28px; }
  .download-form { grid-template-columns: 1fr 1fr; gap: 13px 10px; }
  .download-form .btn { grid-column: 1 / -1; }
  .download-meta { font-size: 10px; }
  .studio-preview { grid-template-columns: 40px 1fr; gap: 15px; padding: 20px 17px; }
  .studio-icon { width: 39px; height: 39px; padding: 6px; }
  .studio-preview h2 { font-size: 25px; }
  .studio-preview p { margin: 0; }
  .studio-preview .btn { grid-column: 1 / -1; }
  .studio-art { max-width: 500px; }
  .note-grid, .comparison-options { grid-template-columns: 1fr; }
  .design-wrap h2 { font-size: 31px; }
  .design-wrap section { padding-block: 30px; }
  .design-wrap p, .design-wrap li { font-size: 13px; }
  .chain-node { padding: 12px 7px; font-size: 9px; }
  .chain-node strong { font-size: 21px; }
  .chain-arrow { font-size: 12px; }
  .illustrated-graphic { height: 180px; }
}
@media (max-width: 360px) {
  .nav { gap: 8px; }
  .nav .logo { font-size: 21px; letter-spacing: .13em; }
  .nav .btn { gap: 8px; padding-inline: 10px; font-size: 11px; }
  .menu-toggle { padding-inline: 8px; font-size: 11px; }
  .diagram-node { min-width: 58px; font-size: 9px; }
  .diagram .gate { width: 90px; height: 108px; }
  .diagram .node-label { font-size: 9px; }
  .diagram .agent-node img { width: 60px; height: 70px; }
  .diagram .network-node svg { width: 56px; height: 70px; }
  .diagram-node small { font-size: 8px; }
  .diagram-node::before { width: 60px; height: 60px; }
  .gate { width: 56px; height: 56px; }
  .diagram { gap: 8px; }
  .actor-graphic { gap: 8px; }
  .actor-box { width: 100px; font-size: 19px; }
  .message { padding: 6px; }
  .page-intro h1 { font-size: 42px; }
  .first-run-steps { grid-template-columns: 1fr; gap: 18px; }
  .editor-tools { align-items: stretch; }
  .toggle-label { min-height: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  header, .hero-art, button, .hero-actions, .closing, .footer, .demo-caption, #mode-veil, #reference-view { display: none !important; }
  .route, .route[hidden] { display: block !important; }
  body { background: white; color: black; }
  * { border-color: #aaa !important; background: transparent !important; color: black !important; box-shadow: none !important; }
  .hero { height: auto; min-height: 0; }
  .hero-grid { display: block; padding: 25px 0; }
  .hero-baseline { position: static; padding: 15px; }
  .hero h1 { margin-bottom: 20px; font-size: 70px; }
  .print-only { display: block; }
  .wrap, .install-wrap, .design-wrap { display: block; width: 100%; }
  .install-wrap::before { display: none; }
  .section, .subsection { padding-block: 25px; }
  .lab-body { grid-template-columns: 1fr 1fr; }
  .lab-nav { display: none; }
  .route { page-break-after: always; }
  a { text-decoration: underline; }
}

/* Shared two-activation guidance, adapted from the original homepage. */
#garnet-brand { padding-right:12px; }
#navigation a[data-reference-chapter] { position:relative; padding-right:12px; }
.nav-bead { position:absolute; right:0; top:50%; width:10px; height:10px; margin-top:-5px; pointer-events:none; }
.nav-bead::before { content:''; position:absolute; inset:2.5px; background:#ed5a72; transform:rotate(45deg); transition:opacity .2s,transform .2s; }
.nav-bead::after { content:'→'; position:absolute; inset:0; color:#d7b572; font:700 11px/10px var(--sans); opacity:0; transition:opacity .2s; }
a.is-armed .nav-bead::before { opacity:0; transform:rotate(45deg) scale(.4); }
a.is-armed .nav-bead::after { opacity:1; }
#navigation a.is-armed { box-shadow:0 1px #d7b572; }
.navigation-cue { position:absolute; top:calc(100% + 8px); left:24px; max-width:calc(100vw - 32px); display:flex; align-items:center; gap:10px; padding:9px 13px; color:#e1d7cc; background:#121217; border:1px solid #49424a; border-top-color:#d7b572; border-radius:7px; box-shadow:0 12px 24px #0006; font:12px/1.5 var(--sans); pointer-events:none; }
.navigation-cue b { color:#d7b572; font-weight:600; }
.cue-beats { display:flex; gap:4px; flex:none; }.cue-beats i { width:6px; height:6px; border:1px solid #d7b572; border-radius:50%; }.cue-beats i:first-child { background:#d7b572; }
@media(max-width:380px){ .nav { gap:10px; }.nav .btn { padding-inline:10px; }.menu-toggle { padding-inline:8px; }.navigation-cue { font-size:11px; } }
