/* Colors: a light page with the enclos greens as accents. Dark green is kept for
   the sandbox illustration and code blocks; light sections reuse the page tokens. */
:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #f2f3ef;
  --surface-2: #e8ebe3;
  --text: #1b1c1e;
  --text-muted: #45484d;
  --text-faint: #5d6066;
  --line: #e0e2dc;
  --line-strong: #bfc4b8;
  --accent: #3d6a29;
  --accent-soft: #7c9f4d;
  --allowed: #33642a;
  --refused: #a3401c;
  --button-bg: #173c31;
  --button-text: #fafaf8;
  --button-hover: #285440;
  --header-bg: rgb(250 250 248 / 0.9);

  --panel: #173c31;
  --panel-2: #224a3b;
  --panel-3: #2b513f;
  --panel-deep: #10291f;
  --panel-text: #eef3e4;
  --panel-muted: #c0d1b5;
  --panel-line: #4a6b55;
  --lime: #d5e6af;
  --panel-allowed: #c2dd96;
  --panel-refused: #f4ae8b;
  --focus: #3d6a29;

  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --header-height: 60px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
svg { display: block; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: clamp(32px, 7vw, 48px); line-height: 1.12; letter-spacing: -0.04em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
code, .mono { font-family: var(--mono); }
code { font-size: 13px; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section-space { padding-block: 56px; }
.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--text-faint); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.text-link:hover { color: var(--accent); border-color: currentColor; }
.text-link span { font-size: 19px; font-weight: 400; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--button-text); background: var(--button-bg); transition: background 0.2s, transform 0.2s; }
.button:hover { background: var(--button-hover); transform: translateY(-2px); }
.button span { font-size: 20px; line-height: 1; font-weight: 400; }
.skip-link { position: absolute; left: 16px; top: 10px; z-index: 20; padding: 10px 15px; background: var(--button-bg); color: var(--button-text); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header: stays in reach while scrolling */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 650; letter-spacing: -0.06em; line-height: 1; }
.brand-mark { width: 24px; height: 24px; }
.wordmark-dot { color: var(--accent-soft); margin-left: -8px; }
.site-header nav { display: flex; gap: 16px; margin-left: auto; font-size: 14px; }
/* inline-block, not flex, keeps the space before "it works" */
.site-header nav a { display: inline-block; padding-block: 11px; line-height: 22px; color: var(--text-muted); }
.site-header nav a:hover, .repo-link:hover, .site-footer a:hover { color: var(--accent); }
.nav-long, .repo-link { display: none; }
.repo-link { align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; }
.repo-link span { font-size: 19px; font-weight: 400; }

/* Hero */
.hero { display: grid; gap: 40px; padding-block: 40px 48px; }
.status { display: flex; align-items: center; gap: 9px; color: var(--accent); }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--accent-soft); flex-shrink: 0; }
h1 { font-size: clamp(44px, 12vw, 70px); line-height: 1.05; letter-spacing: -0.055em; margin-top: 20px; }
.serif-word { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--accent); letter-spacing: -0.04em; }
.hero-description { font-size: 17px; line-height: 1.7; max-width: 440px; color: var(--text-muted); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.hero-actions .text-link { border: 0; }
.hero-note { font-family: var(--mono); font-size: 13px; color: var(--text-faint); margin-top: 16px; }

/* The illustrated sandbox */
.overview { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
.overview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text-faint); font-size: 11px; letter-spacing: 0.1em; }
.mini-label { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0; }
.host-files { display: grid; gap: 8px; margin-block: 18px; }
.host-file { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.host-file > span { display: flex; flex: 1; justify-content: space-between; gap: 12px; }
.host-file small { font-size: 13px; font-weight: 400; color: var(--text-faint); }
.host-file svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--text-faint); stroke-width: 1.3; }
.sandbox-illustration { position: relative; background: var(--panel); color: var(--panel-text); padding: 16px; }
.sandbox-illustration::before, .sandbox-illustration::after { content: ""; position: absolute; width: 11px; height: 11px; border: solid var(--lime); }
.sandbox-illustration::before { top: -5px; left: -5px; border-width: 1.5px 0 0 1.5px; }
.sandbox-illustration::after { bottom: -5px; right: -5px; border-width: 0 1.5px 1.5px 0; }
.sandbox-heading { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.sandbox-heading strong { font-weight: 400; color: var(--lime); font-family: var(--mono); margin-left: 3px; }
.enclosure-symbol { font-family: var(--mono); color: var(--panel-allowed); font-size: 19px; letter-spacing: -4px; padding-right: 4px; }
.enclosure-symbol span { margin: 0 4px; font-size: 14px; }
.sandbox-label { display: none; font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em; color: var(--panel-muted); margin-left: auto; }
.runtime-box { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 16px; border: 1px solid var(--panel-line); background: var(--panel-2); }
.runtime-box strong { display: block; font-size: 14px; font-weight: 500; }
.runtime-box div > span { display: block; color: var(--panel-muted); font-size: 12px; margin-top: 2px; }
.runtime-icon { height: 30px; width: 30px; display: grid; place-items: center; flex-shrink: 0; font-family: var(--serif); font-style: italic; background: var(--panel-allowed); color: var(--panel); font-size: 26px; line-height: 1; }
.agent-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.agent-row > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--panel-line); font-family: var(--mono); font-size: 13px; }
.agent-row small { color: var(--panel-muted); font-size: 11px; margin-left: auto; }
.agent-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.sandbox-floor { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--panel-muted); margin-top: 16px; }
.sandbox-floor .mono { color: var(--panel-text); }
.proxy-path { display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.connection-line { width: 1px; height: 18px; background: var(--line-strong); }
.proxy-path > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; padding: 7px 12px; border: 1px solid var(--line-strong); background: var(--surface-2); font-weight: 600; }
.proxy-path svg { width: 15px; height: 15px; }
.proxy-path div > span { font-size: 12px; font-weight: 400; color: var(--text-faint); }
.network-endpoints { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--allowed); }
.network-endpoints i { font-style: normal; font-weight: 700; margin-right: 4px; }
.network-endpoints .endpoint-denied { color: var(--refused); }
.overview figcaption { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--text-faint); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.overview figcaption code { font-size: inherit; }

.intro-strip { border-block: 1px solid var(--line); background: var(--surface); }
.intro-strip > .wrap { display: flex; flex-direction: column; gap: 12px; padding-block: 20px; }
.intro-strip p { font-size: 16px; color: var(--text-muted); }
.intro-strip p strong { font-weight: 500; color: var(--text); }
.intro-strip .wrap > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-faint); }

/* Room to work */
.room-section { display: grid; gap: 28px; }
.room-columns { display: grid; gap: 12px; }
.room-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--line-strong); padding: 20px; }
.room-free { border-top-color: var(--allowed); }
.room-blocked { border-top-color: var(--refused); }
.room-yours { border-top-color: var(--accent-soft); }
.room-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.room-card h3 span { font-family: var(--mono); font-weight: 700; width: 18px; text-align: center; }
.room-free h3 span { color: var(--allowed); }
.room-blocked h3 span { color: var(--refused); }
.room-yours h3 span { color: var(--accent); }
.room-card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.room-card li { font-size: 16px; line-height: 1.55; color: var(--text-muted); padding-block: 9px; border-top: 1px solid var(--line); }
.room-card li:first-child { border-top: 0; padding-top: 0; }
.room-note { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 720px; border-left: 2px solid var(--refused); padding-left: 14px; }
.room-note strong { color: var(--text); font-weight: 600; }

/* Why */
.why-section { display: grid; gap: 32px; }
.section-intro h2 { margin-top: 16px; }
.section-intro > p:last-child { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 440px; margin-top: 20px; }
.benefit { display: flex; gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); align-items: flex-start; }
.benefit:first-child { padding-top: 0; border: 0; }
.benefit:last-child { padding-bottom: 0; }
.benefit-number { font-family: var(--mono); font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.benefit h3 { font-size: 19px; }
.benefit p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin-top: 8px; }
.benefit-tag { display: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; line-height: 1; border: 1px solid var(--line-strong); padding: 5px 6px; margin-left: auto; margin-top: 4px; color: var(--text-faint); }

/* Boundaries */
.boundaries-section { background: var(--surface); border-block: 1px solid var(--line); }
.boundaries-section .eyebrow { color: var(--accent); }
.section-heading-row { display: flex; flex-direction: column; gap: 16px; }
.section-heading-row h2 { margin-top: 16px; }
.section-heading-row > p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.section-heading-row > p br { display: none; }
.boundary-explorer { display: grid; gap: 16px; margin-top: 28px; }
.scenario-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scenario-button { display: flex; align-items: flex-start; gap: 10px; text-align: left; min-height: 88px; padding: 14px 12px; color: var(--text); background: transparent; border: 1px solid var(--line-strong); transition: background 0.2s; }
.scenario-button[aria-pressed="true"] { color: var(--button-text); background: var(--button-bg); border-color: var(--button-bg); }
.scenario-button:hover:not([aria-pressed="true"]) { background: var(--surface-2); }
.scenario-button > span:nth-child(2) { font-size: 15px; font-weight: 500; line-height: 1.35; }
.scenario-button small { display: block; font-size: 13px; font-weight: 400; line-height: 1.45; margin-top: 4px; opacity: 0.85; }
.scenario-icon { font-family: var(--mono); font-size: 20px; line-height: 1.1; width: 20px; flex-shrink: 0; text-align: center; }
.scenario-arrow { display: none; font-size: 20px; margin-left: auto; opacity: 0; }
.scenario-button[aria-pressed="true"] .scenario-arrow { opacity: 1; }
.scenario-result { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); padding: 20px; scroll-margin-top: calc(var(--header-height) + 12px); }
.result-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; }
.result-top > .mono { font-size: 11px; letter-spacing: 0.1em; color: var(--text-faint); }
.result-verdict { font-size: 12px; padding: 4px 8px; border: 1px solid var(--allowed); color: var(--allowed); white-space: nowrap; }
.scenario-result.is-blocked .result-verdict { border-color: var(--refused); color: var(--refused); }
.result-visual { display: flex; align-items: center; justify-content: center; padding-block: 24px 20px; font-family: var(--mono); font-size: 12px; }
.result-node { padding: 9px 12px; border: 1px solid var(--line-strong); color: var(--text); }
.result-track { display: flex; align-items: center; position: relative; width: 64px; color: var(--allowed); }
.result-track i { height: 1px; background: currentColor; width: 100%; }
.result-track > span { position: absolute; right: 0; font-size: 20px; line-height: 1; }
.result-destination { background: var(--surface-2); color: var(--text); padding: 10px 12px; }
.scenario-result.is-blocked .result-track { color: var(--refused); }
.scenario-result h3 { font-size: 22px; line-height: 1.25; }
.scenario-result > p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin-top: 12px; max-width: 480px; }
.result-command { margin-top: auto; padding-top: 20px; }
.result-command > span { display: block; font-size: 13px; color: var(--text-faint); margin-bottom: 6px; }
.result-command code { font-size: 13px; color: var(--accent); overflow-wrap: anywhere; }
.policy-block { display: grid; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.policy-copy h3 { font-size: 22px; }
.policy-copy p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin-top: 12px; max-width: 480px; }
.policy-copy code { font-size: 13px; color: var(--accent); white-space: nowrap; }
.policy-file { background: var(--panel-deep); border: 1px solid var(--panel-line); min-width: 0; }
.policy-file pre { font-size: 13px; line-height: 1.8; padding: 16px 14px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--panel-text); }
.policy-file pre code { font-size: inherit; }
.policy-file pre .line { display: block; padding-left: 2ch; text-indent: -2ch; }
.boundary-footnote { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 650px; margin-top: 20px; }

/* Workflow */
.workflow-section { display: grid; gap: 36px; }
.workflow-copy h2 { margin-top: 16px; }
.workflow-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin-top: 20px; max-width: 440px; }
.workflow-copy > .text-link { margin-top: 16px; }
.use-case { max-width: 440px; border-left: 2px solid var(--line-strong); padding-left: 16px; margin-top: 28px; }
.use-case p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-top: 8px; }
.workflow-steps { display: flex; flex-direction: column; justify-content: center; }
.workflow-steps article { display: flex; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.workflow-steps article:first-child { padding-top: 0; }
.workflow-steps article:last-child { border-bottom: 0; padding-bottom: 0; }
.step-index { height: 28px; width: 28px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.workflow-steps p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-top: 8px; max-width: 400px; }
.workflow-steps code { display: block; font-size: 13px; color: var(--accent); margin-top: 12px; overflow-wrap: anywhere; }

/* Install and first steps */
.start-section { background: var(--surface); border-block: 1px solid var(--line); padding-block: 56px; }
.install-block { margin-bottom: 44px; }
.install-card { background: var(--bg); padding: 20px; border: 1px solid var(--line); }
.install-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 18px; }
.install-card-header .eyebrow { color: var(--accent); }
.installer-state { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--allowed); border: 1px solid var(--line-strong); padding: 4px 9px; }
.install-platform { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); }
.install-platform > span:first-child { font-size: 17px; line-height: 1.4; font-weight: 500; }
.install-platform small { font-size: 13px; color: var(--text-muted); margin-left: 10px; font-weight: 400; white-space: nowrap; }
.install-build-label { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.install-one-liner { display: grid; gap: 12px; padding: 16px; background: var(--panel-deep); border: 1px solid var(--panel-line); border-top: 0; }
.install-one-liner code { font-size: 14px; line-height: 1.8; color: var(--lime); overflow-wrap: anywhere; }
.copy-button { justify-self: start; min-height: 40px; padding: 6px 14px; font-family: var(--mono); font-size: 12px; white-space: nowrap; color: var(--panel-text); background: transparent; border: 1px solid var(--panel-line); }
.copy-button:hover { background: var(--panel-2); }
.install-publish-note { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-top: 14px; max-width: 800px; }
.install-publish-note code { font-size: 13px; color: var(--accent); white-space: nowrap; }
.install-footnote { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text-faint); margin-top: 10px; }
.start-grid { display: grid; gap: 32px; }
.start-copy h2 { margin-top: 16px; }
.start-copy > p:not(.eyebrow) { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-top: 20px; max-width: 440px; }
.prerequisites { padding: 0; list-style: none; margin-block: 20px; }
.prerequisites li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--text-muted); margin-block: 8px; }
.prerequisites li::before { content: "↗"; color: var(--accent); }
.start-copy > p.provider-note { font-size: 14px; color: var(--text-faint); margin-top: 16px; }
.terminal { background: var(--panel-deep); color: var(--panel-text); min-width: 0; border: 1px solid var(--panel-line); }
.terminal-top { height: 44px; border-bottom: 1px solid var(--panel-line); display: flex; align-items: center; padding: 0 16px; gap: 16px; }
.terminal-top > span:first-child { display: flex; gap: 5px; }
.terminal-top i { height: 6px; width: 6px; background: var(--panel-line); border-radius: 50%; }
.terminal-top > .mono { font-size: 11px; letter-spacing: 0.1em; color: var(--panel-muted); }
/* Wrapped, not scrolled sideways: one direction to scroll on a phone. */
.terminal pre { font-size: 13px; line-height: 1.8; padding: 16px 14px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal pre code { font-size: inherit; }
/* A wrapped command hangs under its first line. */
.terminal pre .line { display: block; padding-left: 2ch; text-indent: -2ch; }
.code-comment { color: var(--panel-muted); }
.terminal-footer { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-top: 1px solid var(--panel-line); font-size: 13px; line-height: 1.6; color: var(--panel-muted); }

/* Questions */
.questions-section { display: grid; gap: 32px; }
.questions-heading h2 { margin-top: 16px; }
.questions-heading > p:not(.eyebrow) { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-top: 16px; max-width: 300px; }
.questions-heading > .text-link { margin-top: 12px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding-block: 14px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 22px; color: var(--accent); font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { font-size: 16px; line-height: 1.75; color: var(--text-muted); padding: 0 24px 20px 0; }
.faq-list code { color: var(--accent); overflow-wrap: anywhere; }

/* Closing and footer */
.closing { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 40px; border-block: 1px solid var(--line); }
.closing-mark { display: none; font-family: var(--mono); font-size: 72px; line-height: 1; letter-spacing: -14px; color: var(--accent-soft); padding-right: 14px; font-weight: 200; }
.closing-mark span { font-size: 46px; margin: 0 12px; }
.closing h2 { font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; }
.closing p { font-size: 16px; color: var(--text-muted); margin-top: 10px; }
.site-footer { display: flex; flex-direction: column; gap: 16px; padding-block: 28px 36px; }
.site-footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer > div > span { font-size: 13px; color: var(--text-faint); }
.site-footer > div:last-child a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text-muted); }

/* Wider screens */
@media (min-width: 420px) {
  .host-files { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .host-file { align-items: flex-start; font-size: 13px; }
  .host-file > span { display: block; }
  .host-file small { display: block; margin-top: 2px; }
  .sandbox-label { display: block; }
}

@media (min-width: 560px) {
  .nav-long { display: inline; }
}

@media (min-width: 720px) {
  :root { --header-height: 72px; }
  .wrap { width: min(1200px, 100% - 64px); }
  .section-space { padding-block: 88px; }
  .repo-link { display: inline-flex; }
  .site-header nav { gap: 28px; margin-right: 12px; }
  .wordmark { font-size: 28px; }
  .brand-mark { width: 28px; height: 28px; }
  .overview { padding: 22px 24px 18px; }
  .sandbox-illustration { padding: 20px; }
  .intro-strip > .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
  .benefit-tag { display: block; }
  .room-columns { grid-template-columns: repeat(3, 1fr); }
  .scenario-options { grid-template-columns: 1fr 1fr; }
  .install-card { padding: 28px 32px; }
  .install-platform { flex-direction: row; align-items: center; justify-content: space-between; }
  .install-one-liner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 18px; }
  .copy-button { justify-self: end; }
  .terminal pre { font-size: 14px; padding: 24px; }
  .policy-file pre { font-size: 14px; padding: 22px 24px; }
  .closing-mark { display: block; }
  .closing .button { margin-left: auto; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 72px 80px; }
  .why-section { grid-template-columns: 1fr 1.1fr; gap: 88px; }
  .room-section { gap: 40px; }
  .room-section .section-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 88px; align-items: end; }
  .room-section .section-intro > .eyebrow { grid-column: 1 / -1; }
  .room-section .section-intro > p:last-child { margin-top: 0; }
  .section-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .section-heading-row > p br { display: inline; }
  .boundary-explorer { grid-template-columns: 0.95fr 1.3fr; gap: 36px; margin-top: 40px; }
  .scenario-options { display: flex; flex-direction: column; gap: 0; }
  .scenario-button { align-items: center; gap: 15px; padding: 20px 17px; border-width: 1px 0 0; }
  .scenario-button:last-child { border-bottom-width: 1px; }
  .scenario-button[aria-pressed="true"] { border-color: var(--button-bg); }
  .scenario-arrow { display: block; }
  .scenario-result { padding: 26px 30px; min-height: 360px; }
  .policy-block { grid-template-columns: 0.95fr 1.3fr; gap: 36px; align-items: center; margin-top: 56px; padding-top: 48px; }
  .workflow-section { grid-template-columns: 1fr 1.05fr; gap: 110px; }
  .start-section { padding-block: 86px; }
  .install-block { margin-bottom: 64px; }
  .start-grid { grid-template-columns: 0.85fr 1.15fr; gap: 76px; align-items: center; }
  .questions-section { grid-template-columns: 0.8fr 1.2fr; gap: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
