@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --black: #060808;
  --panel: #0b0f0e;
  --graphite: #101514;
  --ink: #edf1ed;
  --muted: #929d94;
  --subtle: #667168;
  --line: #29332c;
  --line-soft: #1b231e;
  --green: #bbff62;
  --purple: #a894ff;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --display: 'Space Grotesk', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--green); color: var(--black); }
::selection { background: var(--green); color: var(--black); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { border-radius: 0; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; }
pre, code { font-family: var(--mono); }
pre { margin: 0; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  color: var(--black);
  background: var(--green);
}
.skip-link:focus { top: 12px; }
.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;
}

/* The top rail keeps the page closer to a tool than a brochure. */
.site-header {
  min-height: 91px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 35px; height: 35px; object-fit: contain; }
.brand-text { display: flex; align-items: baseline; gap: 8px; font-size: 12px; line-height: 1.2; letter-spacing: .02em; }
.brand-text strong { color: var(--green); font-weight: 500; }
.main-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.main-nav a { display: flex; min-height: 44px; align-items: center; color: #a9b1aa; font-size: 10px; }
.main-nav a::before { content: '/'; margin-right: 6px; color: #48554b; }
.main-nav a:hover { color: var(--green); }
.header-cta { min-height: 40px; display: inline-flex; align-items: center; gap: 17px; padding: 0 15px; border: 1px solid #46523f; font-size: 10px; }
.header-cta:hover { border-color: var(--green); background: #bbff6208; color: var(--green); }

/* Hero: oversized language and a live, flat, two-dimensional machine. */
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 67px; }
.hero-copy { min-width: 0; padding-bottom: 4px; }
.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--green); font-size: 9px; font-weight: 500; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { flex-shrink: 0; width: 5px; height: 5px; background: var(--green); box-shadow: 0 0 9px #bbff624d; animation: signal-blink 3.6s ease-in-out infinite; }
h1 { font-family: var(--display); font-size: clamp(58px, 6.2vw, 88px); line-height: .99; letter-spacing: -.065em; font-weight: 700; margin-top: 28px; }
h1 > span { color: var(--green); }
.hero-description { max-width: 470px; margin-top: 29px; color: #a2aca4; font-size: 12px; line-height: 1.9; }
.hero-description strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.btn { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 13px 19px; border: 1px solid var(--line); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .015em; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.btn-primary { background: var(--green); color: var(--black); border-color: var(--green); }
.btn-primary:hover { background: #d0ff96; border-color: #d0ff96; }
.btn-ghost { background: transparent; color: #c7cfc8; border-color: #354233; }
.btn-ghost:hover { color: var(--green); border-color: var(--green); background: #bbff6207; }
.hero-meta { display: flex; gap: 19px; flex-wrap: wrap; margin-top: 25px; color: var(--subtle); font-size: 8px; letter-spacing: .045em; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: '+'; color: var(--green); font-size: 11px; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual::before { content: ''; position: absolute; inset: -19px; z-index: -1; background-image: radial-gradient(#3f503e 1px, transparent 1px); background-size: 10px 10px; opacity: .26; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.machine-window { position: relative; min-height: 486px; border: 1px solid #394834; background: #080c09; box-shadow: 9px 9px 0 #bbff6205; }
.machine-window::before, .machine-window::after { content: ''; position: absolute; z-index: 3; width: 5px; height: 5px; border: 1px solid #86a367; background: var(--black); pointer-events: none; }
.machine-window::before { left: -3px; top: -3px; }
.machine-window::after { right: -3px; bottom: -3px; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 38px; padding: 0 15px; background: #10160f; border-bottom: 1px solid #2d3828; color: #95a38d; font-size: 8px; line-height: 1.4; }
.window-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.window-title::before { content: ''; width: 5px; height: 5px; border: 1px solid #6d8858; flex-shrink: 0; }
.window-controls { display: flex; gap: 13px; align-items: center; color: #68765f; font-size: 10px; }
.signal-field { position: relative; height: 220px; border-bottom: 1px solid #2d3828; overflow: hidden; background-color: #090d09; background-image: radial-gradient(#4c5b3b55 .8px, transparent .9px); background-size: 11px 11px; }
#signal-canvas { display: block; width: 100%; height: 100%; }
.signal-labels { position: absolute; bottom: 13px; left: 17px; right: 17px; display: flex; justify-content: space-between; gap: 6px; color: #a4b492; font-size: 7px; line-height: 1.5; letter-spacing: .12em; pointer-events: none; }
.signal-labels > :nth-child(2) { color: var(--green); }
.terminal { min-width: 0; background: #090c0a; }
.terminal-toolbar { height: 37px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #1e291e; color: #65795d; font-size: 8px; }
.terminal-toolbar > span { white-space: nowrap; }
#motion-toggle { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #9daa92; border: 0; font-size: 8px; padding: 0 0 0 10px; }
#motion-toggle:hover { color: var(--green); }
.terminal-log { height: 159px; overflow: hidden; padding: 16px 17px 7px; font-size: 9px; line-height: 1.95; }
.log-line { min-height: 1.95em; overflow-wrap: anywhere; }
.prompt { color: var(--green); }
.command { color: #e1e9da; }
.log-prefix { color: #698451; margin-right: 6px; }
.log-success { color: var(--green); }
.log-muted { color: #7a8a70; }
.cursor { display: inline-block; width: 6px; height: 11px; vertical-align: -2px; background: var(--green); margin-left: 3px; animation: cursor-blink 1.05s steps(1, end) infinite; }
.terminal-command { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 35px; padding: 0 16px; border-top: 1px solid #1d281c; color: #6c7d61; font-size: 7px; }
#replay-terminal { border: 0; padding: 8px 0 8px 14px; min-height: 34px; color: #a2b393; background: transparent; font-size: 8px; }
#replay-terminal:hover { color: var(--green); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 19px; border-top: 1px solid var(--line); color: #6c786d; font-size: 8px; letter-spacing: .06em; }
.hero-bottom > span:first-child { color: #b6c1b0; }
.hero-bottom a { display: inline-flex; align-items: center; min-height: 30px; gap: 10px; color: #99a58f; }
.hero-bottom a:hover { color: var(--green); }
.runtime-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.runtime-strip .label { color: var(--subtle); font-size: 8px; letter-spacing: .08em; }
.runtime-names { display: flex; align-items: center; justify-content: space-between; gap: 45px; flex: 0 1 695px; }
.runtime-names > span { color: #d2dad0; font-size: 14px; font-weight: 500; letter-spacing: -.04em; white-space: nowrap; }
.runtime-names > span::before { content: '>'; color: #5c7250; margin-right: 10px; font-weight: 400; }

/* Architecture is a single ruled surface, not a collection of cards. */
.section { padding-top: 101px; padding-bottom: 98px; }
.section-top { display: grid; grid-template-columns: 62px minmax(0, 1fr) minmax(220px, 310px); gap: 19px; align-items: start; }
.section-index { color: var(--green); font-size: 9px; line-height: 1.7; padding-top: 6px; }
.section-heading { min-width: 0; }
.section-heading .eyebrow { margin-bottom: 16px; }
h2 { font-family: var(--display); font-size: clamp(35px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; }
.section-top > p { color: var(--muted); font-size: 11px; line-height: 1.9; padding-top: 6px; }
.architecture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 45px; border: 1px solid var(--line); }
.arch-cell { position: relative; padding: 30px 27px 29px; min-width: 0; }
.arch-cell + .arch-cell { border-left: 1px solid var(--line); }
.arch-cell::before { content: '+'; position: absolute; top: -12px; left: -5px; color: #65735e; font-size: 12px; background: var(--black); width: 9px; line-height: 20px; }
.arch-symbol { height: 56px; color: var(--green); font-size: 27px; line-height: 1; font-weight: 400; letter-spacing: -.06em; }
.arch-cell:nth-child(2) .arch-symbol { color: var(--purple); }
.arch-index { position: absolute; top: 29px; right: 25px; color: #687a60; font-size: 8px; }
.arch-cell h3 { color: #e1e7df; font-size: 13px; font-weight: 500; letter-spacing: -.035em; }
.arch-cell p { color: #8c9988; font-size: 10px; line-height: 1.9; margin-top: 13px; }
.code-tag { display: inline-block; margin-top: 24px; color: #91a77e; font-size: 8px; border-top: 1px solid var(--line-soft); padding-top: 13px; width: 100%; }

/* Interactive workflow, framed as a native terminal multiplexer. */
.pipeline-section { border-block: 1px solid var(--line); background: #0a0e0b; padding-block: 88px 83px; }
.pipeline-console { margin-top: 42px; border: 1px solid #34402e; background: #080c09; }
.pipeline-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #34402e; }
.step { min-height: 70px; min-width: 0; border: 0; padding: 17px 19px; display: flex; align-items: center; gap: 13px; color: #7f8e74; background: transparent; text-align: left; transition: background .15s ease, color .15s ease; }
.step + .step { border-left: 1px solid #293325; }
.step-index { color: #647c51; font-size: 9px; }
.step-label { font-size: 11px; font-weight: 500; }
.step-status { margin-left: auto; color: #4c5e3f; font-size: 9px; }
.step.active, .step[aria-selected='true'] { background: var(--green); color: #10160b; }
.step.active .step-index, .step.active .step-status, .step[aria-selected='true'] .step-index, .step[aria-selected='true'] .step-status { color: #3f5a24; }
.step:hover:not(.active):not([aria-selected='true']) { background: #bbff6209; color: var(--green); }
.pipeline-body { display: grid; grid-template-columns: 255px minmax(0, 1fr); min-height: 372px; }
.pipeline-sidebar { padding: 29px 24px; border-right: 1px solid #293325; background-color: #0c110c; background-image: radial-gradient(#27332388 .6px, transparent .6px); background-size: 9px 9px; }
.file-tree { font-size: 9px; line-height: 2.6; color: #8fa280; }
.tree-item { padding-left: 9px; white-space: nowrap; }
.tree-item:first-child { padding-left: 0; color: #c4d5b8; margin-bottom: 6px; }
.tree-item.active { color: var(--green); background: #bbff620a; border-left: 1px solid var(--green); padding-left: 8px; }
.pipeline-sidebar > p { margin-top: 57px; padding-top: 17px; border-top: 1px solid #293325; font-size: 8px; line-height: 1.9; color: #6c7e5f; }
.pipeline-detail { padding: 29px 35px 28px; min-width: 0; }
.panel-kicker { font-size: 8px; color: #8fad73; letter-spacing: .11em; text-transform: uppercase; }
.panel-title { color: #dfe8d9; font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.04em; margin-top: 9px; margin-bottom: 20px; }
.context-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.context-file { display: flex; align-items: center; gap: 11px; border: 1px solid #2b3825; padding: 12px; min-width: 0; background: #0d130d; }
.file-type { flex-shrink: 0; min-width: 24px; color: var(--green); font-size: 9px; border-right: 1px solid #34452b; padding-right: 10px; }
.context-file b { display: block; color: #becdb3; font-weight: 400; font-size: 9px; overflow-wrap: anywhere; }
.context-file small { display: block; color: #687c5b; font-size: 7px; line-height: 1.7; margin-top: 3px; }
.goal-line { margin-top: 21px; padding: 13px 15px; border-left: 2px solid #82b24a; background: #a4d96607; color: #a9bc98; font-size: 10px; line-height: 1.8; }
.goal-line span { color: var(--green); margin-right: 5px; }
.guidance-block { border-left: 2px solid var(--purple); padding: 13px 17px; background: #a894ff08; color: #c2c7c0; font-size: 11px; line-height: 1.85; }
.guidance-block strong { color: #e5e3ef; font-weight: 500; }
.citation-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.citation-list span { border: 1px solid #3e354e; padding: 4px 8px; color: #b2a2d0; font-size: 8px; }
.review-check { display: flex; align-items: center; gap: 12px; color: #b6c7aa; border-bottom: 1px solid #24311f; padding: 11px 0; font-size: 10px; }
.review-check > :first-child { color: var(--green); }
.approval-stamp { display: inline-block; margin-top: 18px; border: 1px solid #688f40; color: var(--green); padding: 7px 12px; font-size: 9px; letter-spacing: .09em; }
.target-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.target-tabs button { border: 1px solid #34452b; background: transparent; color: #91a17f; min-height: 36px; padding: 7px 11px; font-size: 8px; }
.target-tabs button[aria-pressed='true'] { background: #bbff6212; color: var(--green); border-color: #7da74c; }
.target-tabs button:hover { color: var(--green); border-color: #7da74c; }
.export-code { border: 1px solid #2d3c25; background: #050905; }
.export-code-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; color: #a5bc91; border-bottom: 1px solid #26351f; padding: 6px 13px; font-size: 8px; }
.copy-button { min-height: 30px; border: 0; background: transparent; padding: 4px 0 4px 12px; font-size: 8px; color: var(--green); }
.copy-button:hover { color: #e0ffbb; }
.export-code pre { color: #9db18a; font-size: 9px; line-height: 1.8; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.panel-note { color: #718664; font-size: 8px; line-height: 1.85; margin-top: 16px; }
.console-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #34402e; border-top: 0; min-height: 48px; padding: 0 18px; color: #7d916e; font-size: 8px; }
.pipeline-console .console-footer { border-width: 1px 0 0; }
#next-step { min-height: 43px; border: 0; background: transparent; color: var(--green); font-size: 9px; padding: 9px 0 9px 14px; }
#next-step:hover { color: #e4ffc3; }

/* Source and license remain concrete and inspectable. */
.opensource-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.opensource-copy h2 { margin-top: 21px; font-size: clamp(38px, 3.7vw, 52px); }
.opensource-copy > p:not(.eyebrow) { max-width: 475px; font-size: 11px; line-height: 1.95; color: #92a08b; margin-top: 23px; }
.license-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.license-tags a, .license-tags span { min-height: 37px; padding: 7px 11px; display: inline-flex; align-items: center; border: 1px solid #35442d; color: #a6b59b; font-size: 8px; line-height: 1.5; }
.license-tags a:hover { color: var(--green); border-color: var(--green); }
.source-window { min-width: 0; border: 1px solid #35442c; background: #0b100b; }
.source-window .window-bar { background: #11180f; }
.source-code { padding: 25px 23px 26px; color: #96aa85; font-size: 10px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-code .comment, .source-code .code-comment { color: #677c58; }
.source-code .key, .source-code .code-key { color: var(--purple); }
.source-code .value, .source-code .code-value, .source-code .string { color: var(--green); }
.source-code .punctuation { color: #c6d2bf; }

.faq-section { border-top: 1px solid var(--line); padding-block: 75px 92px; }
.faq-section .section-top { grid-template-columns: 62px minmax(0, 1fr); }
.faq-list { margin-top: 35px; margin-left: 81px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 12px; color: #bdc9b6; padding: 19px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--green); font-size: 16px; font-weight: 400; transition: transform .15s ease; }
.faq-list summary:hover { color: var(--green); }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { color: #8b9c80; max-width: 880px; font-size: 11px; line-height: 1.95; padding: 0 30px 25px 0; }
.faq-list details a { color: #c1d6af; text-decoration: underline; text-underline-offset: 4px; }
.closing { position: relative; overflow: hidden; border: 1px solid #3c4e30; padding: 31px 36px 33px; background: #0e150c; background-image: radial-gradient(#53693b55 .7px, transparent .9px); background-size: 10px 10px; }
.closing-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.closing-top > a { color: #a3b88e; min-height: 30px; display: inline-flex; align-items: center; font-size: 8px; }
.closing-top > a:hover { color: var(--green); }
.closing h2 { font-size: clamp(49px, 5.9vw, 81px); letter-spacing: -.06em; line-height: 1.02; margin-block: 33px 30px; }
.closing h2 > span { color: var(--green); }
.closing-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.closing-bottom > p { color: #9cad8d; font-size: 10px; line-height: 1.9; max-width: 435px; }
.closing-bottom .btn { flex-shrink: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 35px 34px; }
.site-footer .brand img { width: 27px; height: 27px; }
.site-footer .brand-text { font-size: 9px; gap: 6px; }
.site-footer p { color: #64745c; font-size: 8px; }
.site-footer > a:last-child { display: inline-flex; min-height: 40px; align-items: center; font-size: 8px; color: #8b9d7e; }
.site-footer > a:last-child:hover { color: var(--green); }
.noscript-message { color: #a5b497; font-size: 10px; padding: 15px; text-align: center; }

@keyframes cursor-blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes signal-blink { 0%, 72%, 100% { opacity: 1; } 82% { opacity: .35; } }

@media (min-width: 1600px) {
  .hero { padding-top: 94px; padding-bottom: 83px; }
  h1 { font-size: 91px; }
}
@media (max-width: 1160px) {
  .shell { width: calc(100% - 72px); }
  .main-nav { gap: 18px; }
  .site-header { gap: 24px; }
  .hero { gap: 28px; padding-top: 64px; }
  h1 { font-size: clamp(57px, 6.1vw, 74px); }
  .hero-description { font-size: 11px; }
  .hero-meta { gap: 13px; font-size: 7px; }
  .hero-actions { gap: 9px; }
  .btn { padding-inline: 15px; gap: 16px; font-size: 9px; }
  .terminal-log { font-size: 8px; }
  .section-top { grid-template-columns: 40px minmax(0, 1fr) minmax(190px, 265px); gap: 18px; }
  .arch-cell { padding: 27px 22px; }
  .arch-cell h3 { font-size: 12px; }
  .pipeline-body { grid-template-columns: 220px minmax(0, 1fr); }
  .pipeline-sidebar { padding-inline: 20px; }
  .pipeline-detail { padding-inline: 26px; }
  .step { padding-inline: 15px; gap: 10px; }
  .step-label { font-size: 10px; }
  .opensource-layout { gap: 55px; }
  .faq-section .section-top { grid-template-columns: 40px minmax(0, 1fr); }
  .faq-list { margin-left: 58px; }
}
@media (max-width: 940px) {
  .shell { width: calc(100% - 56px); }
  .site-header { min-height: 81px; gap: 20px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 8px; }
  .main-nav a::before { display: none; }
  .brand-text { font-size: 10px; gap: 6px; }
  .header-cta { font-size: 8px; padding-inline: 12px; }
  .hero { grid-template-columns: 1fr; gap: 41px; padding-top: 54px; padding-bottom: 44px; }
  .hero-copy { max-width: 730px; }
  h1 { font-size: clamp(68px, 10vw, 89px); }
  .hero-description { max-width: 610px; font-size: 12px; margin-top: 25px; }
  .hero-description br { display: none; }
  .hero-actions { margin-top: 25px; }
  .btn { padding-inline: 20px; font-size: 10px; gap: 26px; }
  .hero-meta { font-size: 8px; gap: 21px; }
  .hero-visual { width: 100%; }
  .machine-window { min-height: 0; }
  .signal-field { height: 250px; }
  .terminal-log { font-size: 10px; height: 161px; }
  .terminal-toolbar, .window-bar { font-size: 9px; }
  .terminal-command { font-size: 8px; }
  .runtime-names { flex-basis: 590px; gap: 25px; }
  .runtime-names > span { font-size: 12px; }
  .runtime-strip .label { font-size: 7px; }
  .section { padding-block: 78px; }
  .section-top { grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
  .section-top > p { grid-column: 2; max-width: 570px; padding-top: 0; }
  h2 { font-size: 41px; }
  .architecture-grid { margin-top: 33px; }
  .arch-cell { padding: 26px 18px; }
  .arch-cell h3 { font-size: 11px; }
  .arch-cell p { font-size: 9px; }
  .arch-index { right: 18px; }
  .pipeline-section { padding-block: 69px 65px; }
  .pipeline-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding-inline: 14px; gap: 10px; min-height: 63px; }
  .step-status { display: none; }
  .pipeline-body { grid-template-columns: 180px minmax(0, 1fr); }
  .pipeline-sidebar { padding: 24px 16px; }
  .file-tree { font-size: 8px; }
  .pipeline-detail { padding: 25px 23px; }
  .context-files { grid-template-columns: 1fr; }
  .context-file { padding-block: 10px; }
  .opensource-layout { gap: 34px; }
  .opensource-copy h2 { font-size: 37px; }
  .opensource-copy > p:not(.eyebrow) { font-size: 10px; }
  .source-code { padding: 21px 18px; font-size: 9px; }
  .faq-section { padding-block: 64px 72px; }
  .faq-section .section-top { grid-template-columns: 34px minmax(0, 1fr); }
  .faq-list { margin-left: 50px; }
  .closing { padding: 27px; }
  .closing h2 { font-size: 65px; }
  .closing-bottom { gap: 25px; }
  .closing-bottom > p { font-size: 9px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 28px; }
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 77px; gap: 15px; }
  .brand { gap: 9px; }
  .brand img { width: 31px; height: 31px; }
  .brand-text { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 9px; letter-spacing: .06em; }
  .main-nav { display: none; }
  .header-cta { font-size: 8px; gap: 10px; min-height: 39px; padding-inline: 12px; }
  .hero { padding-top: 44px; gap: 34px; padding-bottom: 34px; }
  .eyebrow { font-size: 8px; letter-spacing: .09em; gap: 8px; }
  h1 { font-size: clamp(52px, 11.4vw, 74px); letter-spacing: -.065em; margin-top: 23px; }
  .hero-description { font-size: 11px; margin-top: 23px; line-height: 1.9; }
  .hero-actions { gap: 10px; margin-top: 23px; }
  .btn { min-height: 46px; padding-inline: 16px; font-size: 9px; gap: 20px; }
  .hero-meta { font-size: 7px; gap: 13px; margin-top: 20px; }
  .hero-meta span { gap: 6px; }
  .hero-visual::before { inset: -10px; }
  .window-bar { font-size: 7px; height: 34px; padding-inline: 12px; }
  .window-controls { gap: 11px; }
  .signal-field { height: 207px; }
  .signal-labels { font-size: 6px; letter-spacing: .06em; left: 12px; right: 12px; bottom: 12px; }
  .terminal-toolbar { font-size: 7px; padding-inline: 12px; height: 35px; }
  #motion-toggle { font-size: 7px; }
  .terminal-log { height: 160px; padding: 14px 12px 9px; font-size: 8px; line-height: 2; }
  .log-line { min-height: 2em; }
  .terminal-command { padding-inline: 12px; font-size: 6px; }
  #replay-terminal { font-size: 7px; }
  .hero-bottom { padding-block: 15px; gap: 10px; font-size: 6px; }
  .hero-bottom > :nth-child(2) { max-width: 160px; text-align: center; }
  .hero-bottom a { font-size: 7px; white-space: nowrap; gap: 6px; }
  .runtime-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 23px; }
  .runtime-strip .label { font-size: 7px; }
  .runtime-names { flex-basis: auto; width: 100%; gap: 17px; }
  .runtime-names > span { font-size: 11px; }
  .runtime-names > span::before { margin-right: 6px; }
  .section { padding-block: 61px; }
  .section-top, .faq-section .section-top { grid-template-columns: 25px minmax(0, 1fr); gap: 12px; }
  .section-index { font-size: 8px; padding-top: 3px; }
  h2 { font-size: 34px; }
  .section-top > p { font-size: 10px; line-height: 1.9; }
  .architecture-grid { grid-template-columns: 1fr; margin-top: 29px; }
  .arch-cell { padding: 25px 24px; }
  .arch-cell + .arch-cell { border-left: 0; border-top: 1px solid var(--line); }
  .arch-symbol { height: 44px; font-size: 25px; }
  .arch-index { top: 24px; right: 24px; }
  .arch-cell h3 { font-size: 14px; }
  .arch-cell p { font-size: 10px; margin-top: 11px; }
  .code-tag { margin-top: 18px; padding-top: 11px; font-size: 8px; }
  .pipeline-section { padding-block: 54px 52px; }
  .pipeline-console { margin-top: 28px; }
  .pipeline-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding: 14px; min-height: 56px; gap: 10px; }
  .step-label { font-size: 9px; }
  .step-index { font-size: 8px; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid #34402e; }
  .step:nth-child(3) { border-left: 0; }
  .step-status { display: inline; margin-left: auto; }
  .pipeline-body { grid-template-columns: 1fr; }
  .pipeline-sidebar { padding: 16px 17px; border-right: 0; border-bottom: 1px solid #293325; }
  .file-tree { display: flex; flex-wrap: wrap; column-gap: 14px; font-size: 7px; line-height: 2; }
  .tree-item { padding: 0; }
  .tree-item:first-child { flex-basis: 100%; margin-bottom: 4px; }
  .tree-item.active { padding-left: 6px; padding-right: 6px; }
  .pipeline-sidebar > p { display: none; }
  .pipeline-detail { padding: 23px 18px; min-height: 329px; }
  .panel-title { font-size: 17px; margin-bottom: 17px; }
  .context-files { grid-template-columns: 1fr; gap: 8px; }
  .context-file b { font-size: 9px; }
  .context-file small { font-size: 7px; }
  .goal-line { font-size: 9px; padding: 11px 12px; margin-top: 17px; }
  .guidance-block { font-size: 10px; padding: 12px 13px; }
  .review-check { font-size: 9px; }
  .export-code pre { font-size: 8px; padding: 12px; }
  .console-footer { gap: 12px; padding-inline: 13px; font-size: 7px; }
  #next-step { font-size: 8px; white-space: nowrap; padding-left: 6px; }
  .opensource-layout { grid-template-columns: 1fr; gap: 31px; }
  .opensource-copy h2 { font-size: 39px; margin-top: 18px; }
  .opensource-copy > p:not(.eyebrow) { font-size: 11px; margin-top: 20px; }
  .source-code { padding: 23px 20px; font-size: 10px; }
  .license-tags { margin-top: 22px; gap: 8px; }
  .license-tags a, .license-tags span { font-size: 8px; }
  .faq-section { padding-block: 54px 57px; }
  .faq-list { margin-left: 0; margin-top: 26px; }
  .faq-list summary { font-size: 10px; min-height: 65px; gap: 18px; }
  .faq-list summary > span { font-size: 15px; }
  .faq-list details p { font-size: 10px; padding-right: 15px; }
  .closing { padding: 24px 22px 25px; }
  .closing-top { gap: 12px; }
  .closing-top > a { font-size: 7px; }
  .closing-top .eyebrow { font-size: 7px; }
  .closing h2 { font-size: clamp(39px, 8.7vw, 58px); margin-block: 28px 23px; }
  .closing-bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
  .closing-bottom > p { font-size: 10px; }
  .site-footer { flex-wrap: wrap; gap: 17px; padding-block: 29px; }
  .site-footer .brand { flex: 1; }
  .site-footer .brand-text { flex-direction: row; font-size: 8px; gap: 6px; letter-spacing: 0; }
  .site-footer p { order: 3; flex-basis: 100%; font-size: 7px; padding-left: 36px; }
  .site-footer > a:last-child { font-size: 7px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: 45px; }
  .hero-description { font-size: 10px; }
  .hero-actions { gap: 8px; }
  .btn { font-size: 8px; padding-inline: 12px; gap: 15px; }
  .hero-meta { gap: 9px; font-size: 6px; }
  .hero-meta span { gap: 4px; }
  .signal-field { height: 183px; }
  .terminal-log { font-size: 7px; height: 146px; }
  .terminal-toolbar { font-size: 6px; }
  #motion-toggle { font-size: 6px; }
  .terminal-command { font-size: 6px; }
  .hero-bottom > :nth-child(2) { max-width: 120px; }
  .runtime-names { gap: 10px; }
  .runtime-names > span { font-size: 9px; }
  .runtime-names > span::before { margin-right: 4px; }
  h2 { font-size: 29px; }
  .pipeline-detail { padding-inline: 14px; }
  .panel-title { font-size: 15px; }
  .target-tabs { gap: 5px; }
  .target-tabs button { padding-inline: 8px; font-size: 7px; }
  .source-code { font-size: 8px; padding-inline: 17px; }
  .closing { padding-inline: 19px; }
  .closing h2 { font-size: 35px; }
  .closing-top .eyebrow { font-size: 6px; }
  .closing-top > a { font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor { opacity: 1; }
}

/* Integration with the final page structure. */
.hero-description { font-family: var(--display); font-size: 21px; line-height: 1.5; letter-spacing: -.025em; }
.hero-description strong { color: var(--ink); font-weight: 500; }
.hero-support { max-width: 430px; color: #7f8e7a; font-size: 10px; line-height: 1.9; margin-top: 13px; }
.hero-meta > a { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta > a::before { content: '+'; color: var(--green); font-size: 11px; }
.hero-meta > a:hover { color: var(--green); }
.window-title:has(> span)::before { display: none; }
.terminal-toolbar > span, .console-footer > span { display: inline-flex; align-items: center; gap: 8px; }
.terminal-toolbar .live-dot, .console-footer .live-dot { display: inline-block; width: 4px; height: 4px; }
.terminal-log { height: 183px; }
.log-output { color: #a2b791; }
.log-text { color: inherit; }
#motion-toggle:disabled { opacity: .65; cursor: default; }
.visual-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #65765b; font-size: 6px; letter-spacing: .04em; padding-top: 12px; }
.visual-coordinate { white-space: nowrap; color: #3d5034; }
.runtime-names > span::before { display: none; }
.runtime-names i { font-style: normal; font-size: 19px; color: #c3cdbb; vertical-align: -1px; margin-right: 8px; font-weight: 400; }
.runtime-note { flex: 0 1 172px; color: #63765a; font-size: 6px; line-height: 1.9; letter-spacing: .05em; text-align: right; }
.runtime-names { flex: 0 1 565px; gap: 27px; }
.section-top, .faq-section .section-top { grid-template-columns: minmax(0, 1fr) minmax(220px, 310px); gap: 80px; align-items: end; }
.section-index { margin-bottom: 19px; padding: 0; font-size: 8px; letter-spacing: .1em; }
h2 > span { color: var(--green); }
.section-top > p { padding-top: 0; padding-bottom: 3px; }
.arch-symbol { display: flex; align-items: flex-start; gap: 10px; height: 68px; font-size: 27px; }
.arch-symbol b { font-weight: 400; }
.arch-symbol > span { color: #627c4f; }
.arch-cell:nth-child(2) .arch-symbol > span { color: #655984; }
.arch-index { font-size: 7px; top: 35px; }
.context-sources { display: flex; align-items: baseline; gap: 26px; margin-top: 24px; color: #788d6a; }
.context-sources > span { font-size: 7px; white-space: nowrap; color: #5d7650; letter-spacing: .05em; }
.context-sources p { font-size: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.context-sources i { font-style: normal; color: #3b4f30; }
.pipeline-sidebar > .sidebar-title { margin: 0 0 14px; padding: 0; border: 0; color: #5e7851; font-size: 7px; letter-spacing: .15em; }
.pipeline-sidebar > .sidebar-note { margin-top: 25px; font-size: 8px; }
.sidebar-badge { display: inline-flex; margin-top: 15px; padding: 4px 6px; border: 1px solid #2d4125; color: #759a5b; font-size: 6px; letter-spacing: .06em; }
.tree-indent { padding-left: 9px; }
.tree-item span { color: #405934; }
.tree-export { color: #9cbf83; margin-top: 6px; }
.panel-intro { color: #8ca27b; font-size: 9px; line-height: 1.9; margin: -8px 0 17px; }
.file-check { color: var(--green); margin-left: auto; font-size: 9px; }
.console-footer i { color: #425739; font-style: normal; }
.source-footer { display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-top: 1px solid #293b22; color: #70965a; font-size: 7px; letter-spacing: .06em; }
.source-footer .live-dot { width: 4px; height: 4px; }
.code-prompt { color: var(--green); }
.faq-list { margin-left: 0; }
.faq-list summary { justify-content: flex-start; }
.faq-list summary > .faq-number { min-width: 37px; color: #617955; font-size: 8px; transform: none; }
.faq-list summary > .faq-plus { margin-left: auto; font-size: 16px; color: var(--green); }
.faq-list details[open] summary > .faq-number { transform: none; }
.faq-list details p { padding-left: 57px; }
.closing-cursor { display: inline-block; margin-left: 3px; animation: cursor-blink 1.4s steps(1, end) infinite; }
.noscript-note { padding: 20px; color: #a4b597; text-align: center; font-size: 10px; }
body[data-motion='paused'] *, body[data-motion='paused'] *::before, body[data-motion='paused'] *::after { animation-play-state: paused !important; }

@media (max-width: 1160px) {
  .hero-description { font-size: 19px; }
  .hero-support { font-size: 9px; }
  .section-top, .faq-section .section-top { gap: 45px; grid-template-columns: minmax(0, 1fr) minmax(190px, 265px); }
  .runtime-note { flex-basis: 135px; font-size: 5px; }
  .runtime-names { flex-basis: 490px; }
  .runtime-names > span { font-size: 12px; }
  .runtime-names i { font-size: 17px; margin-right: 6px; }
}
@media (max-width: 940px) {
  .hero-description { font-size: 23px; }
  .hero-support { font-size: 11px; max-width: 570px; }
  .hero-description br { display: initial; }
  .hero-visual { max-width: none; }
  .terminal-log { height: 184px; }
  .visual-caption { font-size: 7px; }
  .runtime-note { display: none; }
  .runtime-names { flex-basis: 610px; justify-content: space-around; }
  .section-top, .faq-section .section-top { grid-template-columns: 1fr; gap: 19px; }
  .section-top > p { grid-column: auto; max-width: 570px; }
  .arch-index { position: static; display: block; margin-bottom: 12px; }
  .arch-symbol { height: 53px; }
  .context-sources { gap: 15px; }
  .context-sources p { gap: 9px; font-size: 7px; }
}
@media (max-width: 680px) {
  .hero-description { font-size: 20px; }
  .hero-support { font-size: 10px; }
  .visual-caption { font-size: 5px; gap: 8px; }
  .visual-coordinate { display: none; }
  .terminal-log { height: 176px; }
  .terminal-toolbar > span { gap: 6px; }
  .runtime-names { flex-basis: auto; justify-content: space-between; gap: 10px; }
  .runtime-names > span { font-size: 10px; }
  .runtime-names i { font-size: 15px; margin-right: 4px; }
  .section-index { font-size: 7px; margin-bottom: 16px; }
  .arch-index { position: absolute; top: 29px; right: 24px; margin: 0; }
  .arch-symbol { height: 50px; }
  .context-sources { flex-direction: column; gap: 10px; margin-top: 20px; }
  .context-sources p { gap: 7px; font-size: 7px; }
  .pipeline-sidebar > .sidebar-title { display: block; margin-bottom: 9px; font-size: 6px; }
  .pipeline-sidebar > .sidebar-note, .sidebar-badge { display: none; }
  .tree-item { flex-basis: calc(50% - 7px); }
  .tree-item:first-child { flex-basis: calc(50% - 7px); margin-bottom: 0; }
  .tree-export { margin: 0; }
  .tree-indent { padding-left: 0; }
  .panel-intro { font-size: 8px; }
  .console-footer > span { gap: 6px; flex-wrap: wrap; padding-block: 8px; }
  .console-footer i { display: none; }
  .console-footer #stage-count { color: #96b67e; }
  .faq-list summary { gap: 12px; }
  .faq-list summary > .faq-number { min-width: 21px; font-size: 7px; }
  .faq-list details p { padding-left: 33px; }
  .closing-cursor { margin-left: 0; }
}
@media (max-width: 380px) {
  .hero-description { font-size: 19px; }
  .hero-support { font-size: 9px; }
  .hero-meta > a { gap: 4px; }
  .terminal-log { height: 164px; }
  .runtime-names > span { font-size: 8px; }
  .runtime-names i { font-size: 14px; margin-right: 3px; }
  .context-sources p { font-size: 6px; }
  .console-footer { font-size: 6px; }
  .console-footer > span { gap: 4px; }
  .source-footer { font-size: 6px; padding-inline: 14px; }
  .closing h2 { font-size: 33px; }
}

/* Keep terminal information readable at real laptop and phone sizes. */
.hero-support { font-size: 13px; color: #a3afa1; }
.main-nav a, .header-cta { font-size: 11px; }
.window-bar, .terminal-toolbar { font-size: 9px; color: #a4b29b; }
.terminal-toolbar { min-height: 42px; height: auto; }
.terminal-log { font-size: 11px; height: 188px; line-height: 1.85; }
.log-line { min-height: 1.85em; }
.log-muted, .log-prefix { color: #9aad8d; }
#motion-toggle, #replay-terminal { min-height: 40px; font-size: 10px; }
.terminal-command { font-size: 10px; }
.hero-meta, .hero-meta > a, .site-footer p, .site-footer > a:last-child { font-size: 9px; color: #9aab91; }
.section-top > p, .arch-cell p, .opensource-copy > p:not(.section-index), .faq-list details p { font-size: 13px; color: #a5b19e; }
.panel-intro { font-size: 12px; color: #a5b19e; }
.context-file b { font-size: 11px; }
.context-file small { font-size: 10px; color: #9aaf8d; }
.panel-note { font-size: 11px; color: #9aaf8d; }
.export-code pre, .guidance-block, .review-check { font-size: 12px; }
.file-tree { font-size: 10px; }
.pipeline-sidebar > .sidebar-title, .pipeline-sidebar > .sidebar-note, .source-footer { font-size: 9px; color: #9aaf8d; }
.context-sources p { font-size: 10px; color: #a4b29a; }
.source-code { font-size: 12px; }
.source-code .code-comment { color: #91a680; }
.target-tabs button, .copy-button, #next-step { font-size: 10px; min-height: 40px; }
.faq-list summary { font-size: 13px; }
@media(max-width:680px){
  .hero-support { font-size: 12px; }
  .terminal-log { font-size: 10px; height: 204px; }
  .terminal-toolbar { padding-inline: 12px; font-size: 8px; }
  #motion-toggle, #replay-terminal { font-size: 9px; }
  .window-bar { font-size: 8px; }
  .context-files { grid-template-columns: 1fr; }
  .section-top > p, .arch-cell p, .opensource-copy > p:not(.section-index), .faq-list details p { font-size: 12px; }
  .source-code { font-size: 11px; }
  .source-footer { font-size: 8px; }
  .hero-meta { gap: 10px; }
  .context-sources p { font-size: 9px; }
  .file-tree { font-size: 9px; }
  .panel-intro { font-size: 11px; }
  .console-footer { font-size: 8px; }
}
@media(max-width:680px){.file-tree{display:block}.tree-item{padding-left:0}.tree-item.tree-indent{padding-left:12px}}
