:root {
  --ink: #172623;
  --muted: #60716b;
  --paper: #f7f3e9;
  --paper-deep: #e9e2d2;
  --forest: #163d34;
  --forest-deep: #0b2923;
  --mint: #b9e2cf;
  --accent: #e46c43;
  --line: rgba(23, 38, 35, .16);
  --shadow: 0 24px 80px rgba(14, 42, 35, .15);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem;
  padding: .9rem clamp(1.2rem, 4vw, 4.5rem); border-bottom: 1px solid rgba(23, 38, 35, .1);
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--forest); color: var(--mint); font-family: Georgia, serif; font-size: 1.35rem; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { letter-spacing: .12em; font-size: .9rem; }
.brand small { margin-top: .2rem; color: var(--muted); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
nav { display: flex; gap: 1.6rem; }
nav a { color: var(--muted); font-size: .85rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }
.header-cta { padding: .65rem 1rem; border-radius: 2rem; color: white; background: var(--forest); font-size: .82rem; font-weight: 700; text-decoration: none; }

.hero { min-height: 790px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); padding: 7rem clamp(1.5rem, 7vw, 8rem); overflow: hidden; background: radial-gradient(circle at 78% 36%, rgba(185,226,207,.43), transparent 26%), linear-gradient(155deg, #fbf7ed, #f2eddf); }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 1.2rem; color: #4e766c; font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3.4rem, 6.3vw, 6.8rem); line-height: .94; }
h1 em { color: var(--accent); font-weight: 400; }
.lede { max-width: 650px; margin: 2rem 0; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-key-note { max-width: 590px; margin: .9rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.3rem; border: 1px solid transparent; border-radius: .35rem; cursor: pointer; font-size: .86rem; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--forest); }
.button.secondary { border-color: var(--line); background: transparent; }
.button.secondary.dark { border-color: rgba(255,255,255,.25); color: white; }
.button.accent { color: #1d211d; background: var(--mint); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.proof-list { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0 0; padding: 0; color: var(--muted); font-size: .78rem; font-weight: 650; list-style: none; }
.proof-list li::before { content: "✓"; margin-right: .45rem; color: var(--forest); }

.reasoning-card { transform: rotate(1.5deg); border: 1px solid rgba(255,255,255,.15); border-radius: .7rem; overflow: hidden; color: #eef6f2; background: var(--forest-deep); box-shadow: var(--shadow); }
.window-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.window-bar span { width: .55rem; height: .55rem; border-radius: 50%; background: #d8805f; }
.window-bar span:nth-child(2) { background: #dab76c; }
.window-bar span:nth-child(3) { background: #74a989; }
.window-bar b { margin-left: auto; color: #8fa79f; font: 500 .65rem ui-monospace, monospace; }
.trace-content { padding: clamp(1.4rem, 3vw, 2.5rem); }
.trace-label { color: #79aa97; font: 700 .65rem ui-monospace, monospace; letter-spacing: .14em; }
.trace-content > p:nth-child(2) { max-width: 30ch; margin: .6rem 0 2rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.3; }
.trace-line { display: grid; grid-template-columns: 2.1rem 1fr auto; align-items: center; gap: .8rem; padding: 1rem .7rem; border-top: 1px solid rgba(255,255,255,.09); }
.trace-line span, .trace-line i { color: #7d9990; font: 500 .7rem ui-monospace, monospace; }
.trace-line b { font-size: .82rem; }
.trace-line.active { margin-inline: -.8rem; padding-inline: 1.5rem; border: 0; border-radius: .3rem; background: rgba(185,226,207,.11); }
.trace-line.active span, .trace-line.active i { color: var(--mint); }
.trace-result { display: flex; align-items: end; gap: 2rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18); }
.trace-result span { color: #9eb3ac; font-size: .72rem; line-height: 1.4; }
.trace-result strong { margin-left: auto; color: var(--mint); font-size: .75rem; white-space: nowrap; }

.as-built { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fcfaf4; }
.as-built div { min-width: 0; padding: 1.5rem clamp(1rem, 3vw, 2.5rem); }
.as-built div + div { border-left: 1px solid var(--line); }
.as-built strong, .as-built span { display: block; }
.as-built strong { margin-bottom: .35rem; color: var(--forest); font: 400 1.35rem Georgia, serif; }
.as-built span { color: var(--muted); font-size: .72rem; line-height: 1.45; }

.section { padding: 7rem clamp(1.5rem, 7vw, 8rem); }
.section-heading { max-width: 850px; margin-bottom: 4rem; }
.section-heading h2 { margin: 0 0 1.3rem; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; }
.section-heading > p:last-child { max-width: 740px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 4rem; }
.section-heading.split h2 { margin: 0; }
.section-heading.split > p { margin: 0; }
.principles { background: #fcfaf4; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 2rem 2rem 1rem 0; }
.principle-grid article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.principle-grid span { color: var(--accent); font: 700 .72rem ui-monospace, monospace; }
.principle-grid h3 { margin: 1.4rem 0 .8rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.claim-note { max-width: 760px; margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--accent); background: #f5e6df; }
.claim-note strong { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; }
.claim-note p { margin: .45rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

.catalog { background: var(--paper-deep); }
.capability-story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.capability-story article { padding: 1.8rem; background: var(--paper); }
.capability-story span { color: var(--accent); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.capability-story h3 { margin: 1.1rem 0 .8rem; font: 400 1.45rem/1.18 Georgia, serif; }
.capability-story p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.capability-boundary { max-width: 920px; margin: 1.5rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }

.playground { color: white; background: var(--forest); }
.section-heading.light .eyebrow { color: var(--mint); }
.section-heading.light > p:last-child { color: #acc3ba; }
.playground-shell { display: grid; grid-template-columns: minmax(245px, .36fr) minmax(0, 1fr); min-height: 610px; border: 1px solid rgba(255,255,255,.16); border-radius: .65rem; overflow: hidden; background: #102e28; box-shadow: 0 35px 90px rgba(0,0,0,.22); }
.example-rail { padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.12); background: #0c2822; }
.rail-label { margin: .3rem .5rem 1rem; color: #7fa397; font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.example-list { display: grid; gap: .45rem; }
.example-choice { width: 100%; padding: .9rem; border: 1px solid transparent; border-radius: .35rem; color: #a9c0b7; background: transparent; cursor: pointer; text-align: left; }
.example-choice span { display: block; margin-bottom: .35rem; color: #6f9186; font-size: .61rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.example-choice b { display: block; font-family: Georgia, serif; font-size: .95rem; font-weight: 400; line-height: 1.25; }
.example-choice:hover, .example-choice.active { border-color: rgba(185,226,207,.18); color: white; background: rgba(185,226,207,.08); }
.workbench { padding: clamp(1.5rem, 4vw, 3.4rem); overflow: hidden; }
.example-detail .eyebrow { color: var(--mint); }
.example-detail h3 { max-width: 760px; margin: 0 0 .8rem; font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 400; line-height: 1.04; }
.example-detail > p:not(.eyebrow) { max-width: 780px; color: #acc3ba; line-height: 1.55; }
.case-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 2rem; }
.case-meta span { padding: .35rem .6rem; border: 1px solid rgba(255,255,255,.13); border-radius: 2rem; color: #a9c0b7; font: 600 .65rem ui-monospace, monospace; }
fieldset { margin: 2rem 0 0; padding: 0; border: 0; }
legend { margin-bottom: 1rem; color: #7fa397; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.field { display: grid; gap: .45rem; padding: .9rem; border: 1px solid rgba(255,255,255,.12); border-radius: .35rem; background: rgba(255,255,255,.035); }
.field label { min-height: 2.2em; color: #c7d8d1; font-size: .74rem; line-height: 1.3; }
.field input { width: 100%; padding: .65rem .7rem; border: 1px solid rgba(255,255,255,.16); border-radius: .25rem; outline: none; color: white; background: #0a241e; font-family: ui-monospace, monospace; }
.field input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(185,226,207,.1); }
.workbench-actions { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; }
#run-status { color: #9bb4aa; font-size: .75rem; }
.result-panel { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.13); }
.result-panel h4 { margin: 0 0 .9rem; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.result-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.result-fact { padding: .9rem; border-radius: .3rem; background: rgba(185,226,207,.08); }
.result-fact span { display: block; margin-bottom: .35rem; color: #83a397; font-size: .61rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.result-fact strong { font-size: .83rem; line-height: 1.35; }
.warning { margin-top: .9rem; padding: .8rem 1rem; border-left: 3px solid var(--accent); color: #d6e2dd; background: rgba(228,108,67,.08); font-size: .78rem; line-height: 1.5; }
details { margin-top: 1rem; }
summary { color: var(--mint); cursor: pointer; font-size: .76rem; font-weight: 700; }
pre { max-height: 360px; overflow: auto; padding: 1rem; border-radius: .3rem; color: #bdd2c9; background: #071c17; font: 500 .68rem/1.55 ui-monospace, monospace; white-space: pre-wrap; }
.demo-note { max-width: 900px; margin: 1.3rem auto 0; color: #8eaaa0; font-size: .72rem; line-height: 1.5; text-align: center; }
.loading { color: var(--muted); font-size: .85rem; }

.cookbooks { background: #ece5d7; }
.cookbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.cookbook-card { min-height: 270px; display: flex; flex-direction: column; padding: 2rem; background: var(--paper); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.cookbook-card:hover { z-index: 1; transform: translateY(-4px); background: #fffdf8; box-shadow: var(--shadow); }
.cookbook-card .eyebrow { margin-bottom: 2.2rem; }
.cookbook-card h3 { margin: 0 0 .7rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.cookbook-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.cookbook-card b { margin-top: auto; padding-top: 1.3rem; color: var(--forest); font-size: .74rem; }

.connect { background: #fcfaf4; }
.install-prompt { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; padding: 2rem; color: white; background: var(--forest); }
.install-prompt h3, .install-prompt h2 { margin: .5rem 0 1rem; font: 400 2rem/1.1 Georgia, serif; }
.install-prompt p { color: #b8ccc4; font-size: .84rem; line-height: 1.6; }
.install-prompt pre { max-height: 430px; margin: 0; border: 1px solid rgba(255,255,255,.12); background: #071c17; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1px; border: 1px solid var(--line); background: var(--line); }
.install-routes article { min-width: 0; padding: 1.5rem; background: var(--paper); }
.install-routes span { display: block; margin-bottom: .8rem; color: var(--accent); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.install-routes code { display: block; color: var(--forest); font-size: .72rem; line-height: 1.8; overflow-wrap: anywhere; }
.install-routes p, .install-evidence { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.install-routes p { margin: 0; }
.install-evidence { max-width: 900px; margin: 1.4rem 0 0; }
.connect-callout { display: flex; align-items: center; gap: 2rem; margin-top: 3rem; padding: 2rem; color: white; background: var(--forest); }
.connect-callout div { margin-right: auto; }
.connect-callout strong, .connect-callout span { display: block; }
.connect-callout strong { margin-bottom: .35rem; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.connect-callout span { color: #a9c0b7; font-size: .82rem; }
.connect-callout .button { color: var(--forest); background: var(--mint); }

.boundary { text-align: center; background: var(--paper-deep); }
.boundary blockquote { max-width: 1000px; margin: 1rem auto 4rem; font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 1.04; }
.boundary-grid { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: auto; border: 1px solid var(--line); background: var(--line); text-align: left; }
.boundary-grid div { padding: 2rem; background: var(--paper); }
.boundary-grid b { color: var(--accent); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.boundary-grid p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

footer { display: flex; align-items: center; gap: 3rem; padding: 2rem clamp(1.5rem, 7vw, 8rem); color: #9cb2aa; background: var(--forest-deep); }
footer p { max-width: 650px; margin: 0 auto; font-size: .7rem; line-height: 1.5; text-align: center; }
footer > a { color: var(--mint); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.footer-brand { margin: 0; color: white; }
.footer-brand .brand-mark { background: var(--mint); color: var(--forest); }

.account-page { min-height: 100vh; background: linear-gradient(145deg, #fbf7ed, #ece5d7); }
.account-main { max-width: 1180px; min-height: calc(100vh - 70px); margin: auto; padding: 6rem 1.5rem; }
.account-intro { max-width: 760px; }
.account-intro h1, .account-heading h1 { margin: 0; font: 400 clamp(3rem, 7vw, 6rem)/.98 Georgia, serif; letter-spacing: -.04em; }
.account-note { max-width: 650px; margin-top: 2rem; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.account-heading { display: flex; align-items: start; gap: 2rem; margin-bottom: 3rem; }
.account-heading > div { margin-right: auto; }
.account-heading #account-email { color: var(--muted); }
.usage-card { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 2rem; color: white; background: var(--forest); }
.usage-card div { min-width: 0; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.13); }
.usage-card span, .usage-card strong { display: block; }
.usage-card span { margin-bottom: .6rem; color: #a9c0b7; font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.usage-card strong { overflow: hidden; color: var(--mint); font: 400 1.45rem Georgia, serif; text-overflow: ellipsis; }

.operator-page { min-height: 100vh; background: #f4efe5; }
.operator-main { max-width: 1480px; min-height: calc(100vh - 70px); margin: auto; padding: 4rem 1.5rem 7rem; }
.operator-heading { display: flex; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; }
.operator-heading > div:first-child { margin-right: auto; }
.operator-heading h1 { margin: 0; font: 400 clamp(2.8rem, 6vw, 5.5rem)/.98 Georgia, serif; letter-spacing: -.04em; }
.operator-heading #operator-identity { color: var(--muted); }
.operator-actions { display: flex; gap: .7rem; }
.operator-system { display: grid; grid-template-columns: .55fr 2fr; gap: 2rem; margin-bottom: 3rem; padding: 1.5rem; color: white; background: var(--forest); }
.operator-system h2, .operator-section-heading h2 { margin: 0; font: 400 1.8rem/1.1 Georgia, serif; }
.operator-system-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.13); }
.operator-system-facts p { min-width: 0; margin: 0; padding: 1rem; background: var(--forest); }
.operator-system-facts span, .operator-system-facts strong, .operator-system-facts code { display: block; }
.operator-system-facts span { margin-bottom: .45rem; color: #92aea4; font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.operator-system-facts code { overflow: hidden; color: var(--mint); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.health-ready { color: var(--mint); text-transform: capitalize; }
.health-not-ready { color: #f3a58b; text-transform: capitalize; }
.operator-section-heading { display: flex; align-items: end; gap: 2rem; margin-bottom: 1.2rem; }
.operator-section-heading > div { margin-right: auto; }
.operator-section-heading > p { margin: 0; color: var(--muted); font-size: .72rem; }
.operator-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: .8rem; border: 1px solid var(--line); background: var(--line); }
.operator-stat { padding: 1.35rem; background: var(--paper); }
.operator-stat span, .operator-stat strong { display: block; }
.operator-stat span { min-height: 2.4em; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .09em; line-height: 1.3; text-transform: uppercase; }
.operator-stat strong { margin-top: .65rem; color: var(--forest); font: 400 2.1rem Georgia, serif; }
.operator-note { margin: 0 0 2.5rem; color: var(--muted); font-size: .72rem; }
.operator-panel { margin-top: 1.2rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--paper); }
.operator-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; }
.operator-lookup { display: grid; grid-template-columns: .55fr 1.3fr auto; align-items: end; gap: .8rem; }
.operator-lookup label { display: grid; gap: .4rem; color: var(--muted); font-size: .7rem; font-weight: 700; }
.operator-lookup input, .operator-lookup select { width: 100%; padding: .72rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--ink); background: white; }
.operator-panel table { min-width: 720px; }
.operator-panel th { white-space: nowrap; }
.operator-panel td { max-width: 260px; overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  .operator-heading, .operator-section-heading { align-items: flex-start; flex-direction: column; }
  .operator-system { grid-template-columns: 1fr; }
  .operator-summary { grid-template-columns: repeat(2, 1fr); }
  .operator-columns { grid-template-columns: 1fr; }
  .operator-lookup { grid-template-columns: 1fr; }
}
.account-panel { margin-top: 2rem; padding: 2rem; border: 1px solid var(--line); background: #fffdf8; }
.account-panel-heading { display: flex; align-items: center; gap: 2rem; margin-bottom: 1.5rem; }
.account-panel-heading > div { margin-right: auto; }
.account-panel h2 { margin: 0; font: 400 2.3rem Georgia, serif; }
.key-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: .8rem; }
.key-form label { display: grid; gap: .45rem; color: var(--muted); font-size: .74rem; font-weight: 700; }
.key-form input { padding: .8rem; border: 1px solid var(--line); background: white; }
.new-key { margin: 1.2rem 0; padding: 1rem; border-left: 4px solid var(--accent); background: #f5e6df; }
.new-key strong, .new-key code { display: block; margin-bottom: .8rem; }
.new-key code { overflow-wrap: anywhere; }
.key-list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.key-row { display: flex; align-items: center; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.key-row > div { display: grid; gap: .25rem; margin-right: auto; }
.key-row code, .key-row small { color: var(--muted); }
.usage-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .78rem; }
th, td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.danger-zone { margin-top: 2rem; padding: 1.2rem; border: 1px solid rgba(228,108,67,.35); background: #fff9f5; }
.danger-zone summary { color: var(--accent); }
.button.danger { color: white; background: #9b3424; }

.client-guide { max-width: 1240px; margin: auto; padding: 6rem clamp(1.5rem, 5vw, 5rem); }
.client-guide-intro { max-width: 900px; margin-bottom: 4rem; }
.client-guide-intro h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
.client-guide-intro code { font-size: .85em; }
.client-install-prompt { margin-bottom: 4rem; }
.client-section-heading { max-width: 800px; margin-bottom: 1.5rem; }
.client-section-heading h2 { margin: .5rem 0; font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.05 Georgia, serif; }
.client-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.client-guide-grid article { min-width: 0; padding: 2rem; background: #fffdf8; }
.client-guide-grid h2, .client-proof h2 { margin: 1rem 0; font: 400 2rem Georgia, serif; }
.client-guide-grid p, .client-proof p, .client-proof li { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.client-guide-grid pre { max-height: none; margin-top: 1.5rem; color: #cde4da; white-space: pre-wrap; overflow-wrap: anywhere; }
.status { display: inline-block; padding: .3rem .5rem; border-radius: .2rem; font-size: .6rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.status.proven { color: #174f3b; background: #cce8dc; }
.status.candidate { color: #69551c; background: #eee1b8; }
.status.progress { color: #315170; background: #d8e4ef; }
.status.untested { color: #784b3c; background: #ecd3ca; }
.status.blocked { color: #784b3c; background: #ecd3ca; }
.client-proof { max-width: 900px; margin-top: 4rem; padding: 2.5rem; color: white; background: var(--forest); }
.client-proof .eyebrow { color: var(--mint); }
.client-proof h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.client-proof p, .client-proof li { color: #bfd1ca; }
.client-proof li + li { margin-top: .6rem; }
.client-more { max-width: 900px; margin-top: 4rem; }
.client-more h2 { margin: .5rem 0 1rem; font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.08 Georgia, serif; }
.client-more p { color: var(--muted); line-height: 1.65; }
.client-more .button { margin: .5rem .5rem 0 0; }

@media (max-width: 1000px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .reasoning-card { max-width: 680px; transform: none; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .as-built { grid-template-columns: 1fr 1fr; }
  .as-built div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .as-built div:nth-child(4) { border-top: 1px solid var(--line); }
  .principle-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .playground-shell { grid-template-columns: 1fr; }
  .example-rail { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .example-list { grid-template-columns: repeat(3, 1fr); }
  .cookbook-grid, .capability-story { grid-template-columns: 1fr 1fr; }
  .install-prompt { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-cta { display: none; }
  .hero { min-height: 0; padding-block: 4rem; }
  .hero-actions .button { width: 100%; }
  .proof-list { display: grid; gap: .6rem; }
  .as-built { grid-template-columns: 1fr; }
  .as-built div + div, .as-built div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 4.5rem; }
  .section-heading.split { grid-template-columns: 1fr; gap: 1rem; }
  .principle-grid, .cookbook-grid, .capability-story, .install-routes, .boundary-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .example-list { grid-template-columns: 1fr 1fr; }
  .field-grid, .result-facts { grid-template-columns: 1fr; }
  .workbench-actions { align-items: stretch; flex-direction: column; }
  .connect-callout, footer { align-items: stretch; flex-direction: column; text-align: left; }
  .usage-card, .key-form { grid-template-columns: 1fr; }
  .client-guide-grid { grid-template-columns: 1fr; }
  .account-heading { flex-direction: column; }
  footer p { margin: 0; text-align: left; }
}
