:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --surface: #fffef9;
  --soft: #e9ecdf;
  --ink: #242c25;
  --muted: #596354;
  --line: #d4d9cb;
  --accent: #dcf781;
  --link: #48611c;
  --shadow: #24351d18;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: "Segoe UI", Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151a17;
  --surface: #1d2520;
  --soft: #202b23;
  --ink: #edf1e7;
  --muted: #b0bba9;
  --line: #384539;
  --link: #dcf781;
  --shadow: #00000040;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #151a17; --surface: #1d2520; --soft: #202b23;
    --ink: #edf1e7; --muted: #b0bba9; --line: #384539;
    --link: #dcf781; --shadow: #00000040;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #242c25; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--link); }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 10; padding: 12px 20px; background: var(--accent); color: #242c25; }
.skip-link:focus { top: 16px; }
.site-header { min-height: 112px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 750; letter-spacing: -1.3px; text-decoration: none; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--accent); color: #242c25; font: 600 25px var(--mono); letter-spacing: -3px; padding-right: 4px; }
nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding-block: 12px; }
.nav-source span { margin-left: 5px; }
.theme-switcher { display: flex; flex-shrink: 0; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); }
.theme-switcher button { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 100px; background: transparent; color: var(--muted); font-size: 14px; }
.theme-switcher button>span:first-child { font-size: 20px; line-height: 1; }
.theme-switcher button:hover { background: var(--soft); color: var(--ink); }
.theme-switcher button[aria-pressed="true"] { background: var(--accent); color: #242c25; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(56px, 5.8vw, 84px); line-height: 1.04; letter-spacing: -.065em; font-weight: 650; margin-bottom: 30px; }
h1 em { font-family: Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.12; font-weight: 600; letter-spacing: -.045em; margin-bottom: 26px; }
h3 { font-size: 25px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; margin-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 13px/1.7 var(--mono); letter-spacing: .09em; margin-bottom: 24px; }
.status-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 4px var(--soft); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 100px 92px; }
.hero-description { font-size: 19px; line-height: 1.75; max-width: 490px; color: var(--muted); margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 23px; min-height: 56px; border-radius: 8px; font-size: 16px; font-weight: 650; text-decoration: none; }
.button-dark { background: var(--accent); color: #242c25; box-shadow: 0 4px 0 #a6bd5a; }
.button-dark:hover { background: #e7ffa2; color: #242c25; }
.text-link { display: inline-block; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 7px; }
.text-link span { margin-left: 8px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 25px 0 0; }
.terminal-composition { position: relative; min-width: 0; margin: 0; }
.terminal-screenshot-link { display: block; border-radius: 10px; overflow: hidden; background: #151a17; border: 1px solid var(--line); box-shadow: 0 24px 64px -24px var(--shadow); cursor: zoom-in; }
.terminal-screenshot { display: block; width: 100%; height: auto; }
.terminal-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 18px; }
.terminal-caption a { padding-block: 4px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-block: 1px solid var(--line); padding-block: 26px; }
.principles p { font-size: 16px; margin: 0; }
.principles span { font: 13px var(--mono); color: var(--link); margin-right: 10px; }
.changes-section { padding-block: 88px 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading>.text-link { flex-shrink: 0; }
.changes-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.change-row { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.change-index { display: flex; align-items: center; gap: 14px; font: 14px var(--mono); color: var(--link); margin-bottom: 28px; }
.change-index span { color: var(--muted); }
.change-row h3 { max-width: 380px; }
.change-row p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.source-note { font-size: 14px; color: var(--muted); margin: 24px 0 0; }
code { font: .9em var(--mono); overflow-wrap: anywhere; }
.downloads-section { padding-block: 32px 80px; }
.download-notice { background: var(--soft); border-left: 3px solid var(--link); border-radius: 0 8px 8px 0; padding: 18px 22px; font-size: 16px; margin-bottom: 28px; }
.download-notice strong { color: var(--ink); }
.download-notice a { display: inline-block; margin-left: 6px; }
.questions-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; border-block: 1px solid var(--line); padding-block: 64px; }
.questions-section>div>p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.questions-list details { border-top: 1px solid var(--line); }
.questions-list details:last-child { border-bottom: 1px solid var(--line); }
.questions-list summary { padding: 20px 30px 20px 0; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.5; }
.questions-list summary:hover { color: var(--link); }
.questions-list details p { font-size: 17px; color: var(--muted); padding-right: 20px; margin-bottom: 24px; }
.status-toc { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; margin: 24px 0 40px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.status-toc a { font-size: 16px; }
.download-intro { max-width: 720px; color: var(--muted); margin-bottom: 32px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.download-card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.download-card h3 { font-size: 30px; margin-bottom: 28px; }
.download-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); font-size: 17px; text-decoration: none; }
.download-link>span:last-child { font: 13px var(--mono); color: var(--muted); white-space: nowrap; }
.download-card>p { font-size: 15px; color: var(--muted); margin: 22px 0 0; }
.download-card>.text-link { font-size: 14px; margin-top: 12px; }
.download-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.download-footer>span { font-size: 14px; color: var(--muted); }
.build-section { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 90px; padding-block: 96px; }
.build-section>div { min-width: 0; }
.build-section>div>p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 460px; }
.build-code { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.code-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font: 12px var(--mono); letter-spacing: .06em; }
.code-heading button { background: var(--soft); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: 14px var(--sans); min-height: 44px; padding: 8px 12px; }
.code-heading button:hover { border-color: var(--link); }
.build-code pre { padding: 26px 22px; margin: 0; overflow-x: auto; font: 15px/2.2 var(--mono); }
.build-code pre code { font: inherit; overflow-wrap: normal; }
.build-code>p { margin: 0 22px 24px; font-size: 14px !important; }
.upstream-section { border-top: 1px solid var(--line); padding-block: 76px; text-align: center; }
.upstream-section .eyebrow { justify-content: center; }
.upstream-section>p:not(.eyebrow) { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 17px; }
.upstream-section>div { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); padding-block: 32px; }
.site-footer>.wordmark { gap: 0; }
.footer-period { color: var(--link); }
.site-footer>span { font-size: 14px; color: var(--muted); }
.site-footer>div { display: flex; gap: 24px; }
.site-footer>div a, .site-footer>a:not(.wordmark) { font-size: 14px; padding-block: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.status-document { max-width: 1120px; padding-block: 48px 80px; }
.status-document h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.12; margin-top: 36px; }
.status-document h2 { font-size: 34px; margin-top: 56px; }
.status-document p, .status-document li { font-size: 18px; }
.status-document li { margin-bottom: 12px; }
.back-link { font-size: 16px; }
.table-scroll { overflow-x: auto; margin-block: 30px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
th, td { padding: 18px 22px; min-width: 170px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 600; }
td:nth-child(2) { min-width: 330px; }
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 1180px) {
  .wrap { width: calc(100% - 64px); }
  .theme-label { display: none; }
  .site-header { gap: 24px; }
  nav { gap: 22px; }
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(52px, 6vw, 72px); }
  .build-section, .questions-section { gap: 48px; }
  .principles p { font-size: 15px; }
}
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; padding-block: 20px; gap: 16px; }
  .site-header .wordmark { margin-right: auto; }
  .theme-switcher { order: 1; }
  nav { order: 2; flex-basis: 100%; margin-left: 0; justify-content: space-between; gap: 16px; }
  nav a { padding-block: 4px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .hero h1 { font-size: clamp(56px, 9vw, 80px); }
  .hero-description { max-width: 600px; }
  .terminal-composition { width: 100%; max-width: 620px; justify-self: center; }
  .principles { grid-template-columns: 1fr; gap: 12px; }
  .principles p { font-size: 16px; }
  .section-heading { display: block; }
  .section-heading>.text-link { margin-top: 20px; }
  .change-row { padding: 26px; }
  .build-section, .questions-section { grid-template-columns: 1fr; gap: 32px; }
  .download-grid { grid-template-columns: 1fr; }
  .downloads-section { padding-block: 16px 56px; }
  .changes-section { padding-block: 56px; }
  .questions-section { padding-block: 48px; }
  .build-section { padding-block: 64px; }
  .build-section>div>p:not(.eyebrow) { max-width: 650px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer>span { order: 3; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  body { font-size: 17px; }
  .wordmark { font-size: 25px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-header { gap: 14px 8px; }
  .theme-switcher { padding: 2px; gap: 0; }
  .theme-switcher button { padding-inline: 6px; }
  nav a { font-size: 14px; }
  .hero { padding-block: 48px; gap: 28px; }
  .hero h1 { font-size: clamp(45px, 10.5vw, 60px); }
  .hero-description { font-size: 18px; }
  .hero-actions { gap: 18px; }
  .eyebrow { font-size: 12px; }
  .terminal-caption { font-size: 12px; }
  .changes-list { grid-template-columns: 1fr; }
  .changes-section { padding-bottom: 64px; }
  .change-row { padding: 24px; }
  .change-index { margin-bottom: 22px; }
  .code-heading { padding-inline: 16px; font-size: 11px; }
  .build-code pre { padding-inline: 16px; font-size: 14px; }
  .build-code>p { margin-inline: 16px; }
  .upstream-section { padding-block: 56px; text-align: left; }
  .upstream-section .eyebrow, .upstream-section>div { justify-content: flex-start; }
  .site-footer { gap: 20px; }
  .site-footer>div { gap: 18px; }
  .status-document p, .status-document li { font-size: 17px; }
}
@media (max-width: 360px) {
  .site-header .wordmark { font-size: 21px; gap: 8px; }
  .site-header .brand-mark { width: 30px; height: 30px; font-size: 22px; }
  .site-header nav { gap: 8px; }
  .site-header nav a { font-size: 13px; white-space: nowrap; }
  .hero h1 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
