:root {
  --paper: #faf9f5;
  --ink: #202c24;
  --muted: #68746b;
  --line: #dfe4dc;
  --green: #416849;
  --soft-green: #eaf0e5;
  --white: #fffefb;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { color: #234b2d; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #82995c; outline-offset: 5px; border-radius: 3px; }
img { max-width: 100%; }
p { margin: 0 0 1rem; }
code { font: .87em/1.6 var(--mono); }
p code { padding: .08em .27em; background: #e9ede5; border-radius: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2, .example-copy h3 { font-family: var(--serif); }
h1 { font-size: clamp(3.25rem, 6.8vw, 6.15rem); line-height: 1.02; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.11; letter-spacing: -.045em; }
.site-header, main, footer { max-width: 1240px; margin: 0 auto; padding-left: 3rem; padding-right: 3rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: .7rem; font: 550 1.12rem/1 var(--sans); letter-spacing: .11em; text-decoration: none; color: var(--ink); }
.mark { position: relative; display: inline-block; width: 30px; height: 30px; }
.mark i { position: absolute; border: 1.5px solid var(--green); border-radius: 50%; width: 19px; height: 19px; }
.mark i:nth-child(1) { left: 0; top: 10px; }
.mark i:nth-child(2) { left: 10px; top: 9px; }
.mark i:nth-child(3) { left: 7px; top: 0; }
nav { display: flex; gap: 1.75rem; }
nav a { font-size: .81rem; text-decoration: none; color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--white); padding: 1rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.hero { padding-top: 4.1rem; }
.eyebrow { font: 500 .66rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero > .eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.7rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e8eddf; }
.hero-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin: 1.9rem 0 2.6rem; }
.lede { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin: 0; max-width: 42rem; }
.button { display: inline-flex; gap: 2rem; align-items: center; flex-shrink: 0; padding: .8rem 1.15rem; border-radius: 5px; color: #fafbf6; background: var(--green); font-size: .8rem; text-decoration: none; }
.button:hover { background: #31543a; color: white; }
.program-window { border: 1px solid #d2dacc; border-radius: 9px; overflow: hidden; background: var(--white); box-shadow: 0 16px 45px -25px #344d3029; }
.window-bar, .window-footer { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.3rem; background: #edf1e8; }
.window-bar { border-bottom: 1px solid var(--line); font: .71rem/1.4 var(--mono); }
.file-label { display: flex; align-items: center; gap: .6rem; }
.file-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.window-note { color: var(--muted); font-size: .64rem; }
.program-comparison { display: grid; grid-template-columns: 1.14fr 1fr; }
.source-pane { padding: 1.4rem 1.6rem; min-width: 0; }
.pane-heading, .graph-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pane-heading a, .graph-caption a { font-size: .63rem; text-decoration: none; white-space: nowrap; }
.source-code { margin: 1.7rem 0 0; overflow-x: auto; font: .77rem/1.85 var(--mono); tab-size: 2; }
.source-code code { font: inherit; }
.code-keyword { color: #3f6748; font-weight: 650; }
.code-string { color: #936333; }
.code-number { color: #765899; }
.code-comment { color: #929c90; }
.source-annotation { margin-top: 2.3rem; display: flex; gap: .8rem; align-items: stretch; }
.annotation-line { width: 3px; flex-shrink: 0; background: #bbcbaa; border-radius: 2px; }
.source-annotation p { margin: 0; font-size: .77rem; color: var(--muted); }
.source-annotation strong { color: var(--ink); font-weight: 500; }
.source-facts { display: flex; gap: 1.3rem; padding: 1.6rem 0 .3rem; font-size: .61rem; color: var(--muted); }
.source-facts b { display: block; font: 400 1.45rem var(--serif); color: var(--ink); margin-bottom: .15rem; }
.graph-pane { margin: 0; padding: 1.4rem 1.3rem 1rem; min-width: 0; border-left: 1px solid var(--line); background-color: #f4f6ef; background-image: radial-gradient(#bac7b85c .7px, transparent .7px); background-size: 15px 15px; }
.reply-diagram { display: block; width: 100%; height: auto; max-height: 690px; object-fit: contain; margin: 1.25rem auto .5rem; }
figcaption { font-size: .65rem; line-height: 1.6; color: var(--muted); }
.graph-pane figcaption { max-width: 23rem; margin: 0 auto; }
.window-footer { gap: 1.2rem; justify-content: start; font: .57rem/1.5 var(--mono); color: var(--muted); border-top: 1px solid var(--line); }
.window-footer > span { display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.window-footer > a { margin-left: auto; text-decoration: none; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; background: #64748b; }
.legend-dot.model { background: #6366f1; }
.under-note { font-size: .71rem; line-height: 1.7; color: var(--muted); max-width: 58rem; margin: 1.1rem 0 0; }
.artifact-section { margin-top: 5.5rem; display: grid; grid-template-columns: .83fr 1.8fr; column-gap: 3.1rem; padding: 0 0 4rem; border-bottom: 1px solid var(--line); }
.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: .87rem; line-height: 1.75; margin-top: 1.1rem; }
.artifact-section h2 { font-size: 2.35rem; }
.artifact-flow { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: .25rem 0 0; gap: 1.3rem; }
.artifact-flow li { border-top: 1px solid #bccbb6; padding-top: .75rem; }
.step-number { font: .69rem var(--mono); color: #7d9176; }
.artifact-flow h3 { margin: 1.5rem 0 .65rem; font-size: .86rem; font-weight: 500; }
.artifact-flow p { font-size: .75rem; line-height: 1.75; color: var(--muted); }
.artifact-flow code { font-size: .58rem; color: var(--green); background: var(--soft-green); padding: .38rem .45rem; border-radius: 3px; }
.boundary-note { font-size: .68rem; color: var(--muted); line-height: 1.7; margin: 1.7rem 0 0; }
.artifact-section > .boundary-note { grid-column: 2; }
.examples-section { padding-top: 4.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.section-heading > p { max-width: 26rem; color: var(--muted); font-size: .89rem; line-height: 1.8; margin-bottom: .2rem; }
.example-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin-top: 2.7rem; }
.example-tabs button { appearance: none; cursor: pointer; border: 0; border-bottom: 2px solid transparent; background: transparent; text-align: left; padding: .85rem .7rem .9rem; color: var(--muted); font: .81rem var(--sans); }
.example-tabs button span { font: .61rem var(--mono); opacity: .75; margin-right: .65rem; }
.example-tabs button[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); background: linear-gradient(transparent, #edf1e580); }
.example-tabs button:hover { color: var(--ink); }
.example-panel { display: grid; grid-template-columns: .84fr 1.5fr; gap: 3.2rem; padding: 2.7rem 0 1rem; }
.capability-label { font: .63rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); display: inline-block; padding: .4rem .5rem; background: var(--soft-green); border-radius: 3px; }
.example-copy h3 { font-size: 2.35rem; line-height: 1.14; letter-spacing: -.035em; margin: 1.05rem 0 1.3rem; }
.example-copy > p { font-size: .83rem; line-height: 1.8; color: var(--muted); }
.bound-card { border-left: 2px solid #9eb28b; padding: .15rem 0 .1rem 1rem; margin: 1.6rem 0; }
.bound-card .eyebrow { display: block; font-size: .54rem; margin-bottom: .55rem; }
.bound-card strong { display: block; font-size: .81rem; font-weight: 500; margin-bottom: .35rem; }
.bound-card p { font-size: .71rem; color: var(--muted); margin: 0; line-height: 1.75; }
.text-link { font-size: .76rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.detail-link { margin-top: 1.2rem; font-size: .72rem; color: var(--muted); }
.detail-link summary { cursor: pointer; }
.detail-link img { display: block; height: auto; margin: 1rem auto .75rem; background: var(--white); }
.example-graph { margin: 0; min-width: 0; border: 1px solid var(--line); background: #f1f4eb; border-radius: 6px; padding: 1rem 1.2rem .85rem; display: flex; align-items: center; flex-direction: column; }
.graph-caption { width: 100%; align-self: start; }
.graph-caption .eyebrow { font-size: .54rem; }
.example-graph > img { height: auto; width: 100%; max-height: 670px; object-fit: contain; margin: 1rem auto .75rem; flex-grow: 1; }
.example-graph figcaption { width: 100%; border-top: 1px solid #dbe2d4; padding-top: .75rem; }
.evolution-section { background: var(--ink); color: #f0f3e9; border-radius: 7px; margin-top: 4.5rem; padding: 2.4rem 2.5rem 1.8rem; }
.evolution-section > .eyebrow { color: #bdcbb1; }
.evolution-section h2 { font-size: 2.6rem; }
.evolution-section h2 em { color: #bbcdaa; }
.evolution-section .section-heading > p { color: #b7c2b5; font-size: .8rem; max-width: 23rem; }
.lineage-flow { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 2.3rem 0 0; }
.lineage-flow li { border-top: 1px solid #667b5a; padding-top: .7rem; position: relative; }
.lineage-flow li:not(:last-child)::after { content: "→"; position: absolute; top: -.93rem; right: -.8rem; color: #9fae97; background: var(--ink); padding: 0 .25rem; }
.lineage-flow span { font: .57rem var(--mono); color: #adbda2; }
.lineage-flow strong { display: block; font-size: .76rem; font-weight: 500; margin: 1rem 0 .3rem; }
.lineage-flow p { font-size: .64rem; line-height: 1.7; color: #afbcaa; }
.evolution-section .boundary-note { color: #99aa93; font-size: .61rem; border-top: 1px solid #3b4b3b; padding-top: 1rem; margin-top: 1rem; }
.try-section { padding: 5rem 0 4rem; display: grid; grid-template-columns: .8fr 1.3fr; gap: 4.5rem; }
.try-section h2 { font-size: 2.6rem; }
.terminal { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #f0f2ea; align-self: start; min-width: 0; }
.terminal-bar { display: flex; align-items: center; justify-content: space-between; font: .6rem var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); padding: .8rem 1.2rem; }
.terminal pre { padding: .8rem 1.2rem; margin: 0; overflow-x: auto; }
.terminal code { font-size: .69rem; line-height: 1.9; }
.terminal p { border-top: 1px solid var(--line); padding: .8rem 1.2rem; color: var(--muted); font-size: .64rem; margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; border-top: 1px solid var(--line); padding: 2rem 0 3.5rem; }
.principle-number { font: .66rem var(--mono); color: #819578; }
.principles h3 { font-size: .9rem; margin: .8rem 0 .6rem; font-weight: 500; }
.principles p { font-size: .78rem; color: var(--muted); line-height: 1.8; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 2rem; }
footer .wordmark { font-size: .84rem; }
footer p { margin: 0; font: italic .87rem var(--serif); color: var(--muted); }
footer > div { display: flex; align-items: center; gap: 1.2rem; font-size: .65rem; margin-left: auto; color: var(--muted); }
footer a { text-decoration: none; }
@media (max-width: 1000px) {
  .site-header, main, footer { padding-left: 2rem; padding-right: 2rem; }
  .program-comparison { grid-template-columns: 1.05fr 1fr; }
  .source-pane { padding: 1.15rem; }
  .source-code { font-size: .67rem; }
  .source-facts { gap: .9rem; font-size: .55rem; }
  .artifact-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .artifact-section .section-intro { max-width: 33rem; }
  .artifact-section > .boundary-note { grid-column: 1; margin-top: 0; }
  .artifact-flow { gap: 1.75rem; }
  .artifact-flow h3 { margin-top: 1rem; }
  .example-panel { gap: 2rem; }
  .example-copy h3 { font-size: 2rem; }
  .try-section { gap: 2.5rem; }
  footer > div { width: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  .site-header, main, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-header { padding-top: 1.4rem; padding-bottom: 1.4rem; }
  nav { gap: 1rem; }
  nav a { font-size: .69rem; }
  .wordmark { font-size: 1rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(3.05rem, 9.9vw, 4.7rem); }
  .hero-intro { display: block; margin-top: 1.6rem; }
  .lede { font-size: .93rem; }
  .desktop-break { display: none; }
  .button { margin-top: 1.2rem; }
  .program-comparison { grid-template-columns: 1fr; }
  .source-pane { padding: 1.15rem 1.1rem; }
  .source-code { font-size: .72rem; margin-top: 1.2rem; line-height: 1.8; }
  .source-annotation { margin-top: 1.5rem; }
  .source-facts { font-size: .62rem; gap: 2rem; }
  .source-facts b { font-size: 1.2rem; }
  .graph-pane { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .reply-diagram { max-height: 610px; max-width: 410px; }
  .window-footer { flex-wrap: wrap; font-size: .52rem; gap: .5rem 1rem; padding: .8rem 1rem; }
  .window-footer > a { width: 100%; margin-left: 0; }
  .window-note { font-size: .55rem; }
  .under-note { font-size: .66rem; }
  .artifact-section { margin-top: 3.8rem; padding-bottom: 2.5rem; }
  .artifact-flow { grid-template-columns: 1fr; gap: 1.4rem; }
  .artifact-flow li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; }
  .step-number { grid-row: 1 / 4; padding-top: .2rem; }
  .artifact-flow h3 { margin: 0 0 .5rem; }
  .artifact-flow p { margin-bottom: .6rem; }
  .artifact-flow code { width: fit-content; }
  .examples-section { padding-top: 3rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.2rem; max-width: none; font-size: .84rem; }
  .example-tabs { margin-top: 1.75rem; }
  .example-tabs button { font-size: .71rem; padding: .8rem .2rem; text-align: center; }
  .example-tabs button span { display: block; margin: 0 0 .25rem; }
  .example-panel { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 1.8rem; }
  .example-copy h3 { font-size: 2.3rem; }
  .example-copy h3 br { display: none; }
  .bound-card { margin: 1.3rem 0; }
  .example-graph { padding: .9rem .7rem .7rem; }
  .graph-caption { gap: .5rem; }
  .graph-caption .eyebrow { font-size: .48rem; }
  .graph-caption a { font-size: .55rem; }
  .example-graph > img { max-height: 730px; }
  .detail-link img { max-height: 500px; object-fit: contain; }
  .evolution-section { margin-top: 3rem; padding: 1.8rem 1.2rem 1.3rem; }
  .evolution-section h2 { font-size: 2.4rem; }
  .lineage-flow { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .lineage-flow li:nth-child(2)::after { display: none; }
  .lineage-flow strong { margin-top: .6rem; }
  .try-section { grid-template-columns: 1fr; gap: 1.4rem; padding: 3.3rem 0 2.5rem; }
  .try-section h2 { font-size: 2.5rem; }
  .terminal code { font-size: .65rem; }
  .terminal-bar { font-size: .54rem; padding: .8rem .9rem; }
  .terminal pre { padding: .8rem .9rem; }
  .principles { grid-template-columns: 1fr; gap: 1.3rem; padding-bottom: 1.7rem; }
  .principles article { display: grid; grid-template-columns: 1.7rem 1fr; column-gap: .5rem; }
  .principle-number { grid-row: 1 / 3; padding-top: .1rem; }
  .principles h3 { margin-top: 0; }
  .principles p { margin-bottom: 0; }
  footer { gap: 1rem; }
  footer > div { gap: .8rem; flex-wrap: wrap; }
  footer > div > span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
