:root {
  color-scheme: light;
  --page: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #eef2f5;
  --ink: #17272d;
  --muted: #50656c;
  --subtle: #64767c;
  --line: #d7e0e4;
  --accent: #08796f;
  --accent-strong: #07685f;
  --accent-soft: #dff1ed;
  --code: #142328;
  --code-ink: #e3eeec;
  --code-muted: #829b9e;
  --code-key: #8dd8c6;
  --code-step: #f0c879;
  --shadow: 0 18px 50px rgb(22 51 59 / 8%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #11191d; --surface: #192328; --surface-soft: #202d32; --ink: #e8f0ef; --muted: #b3c2c3; --subtle: #94a8aa; --line: #34454a; --accent: #64c8b5; --accent-strong: #85dccb; --accent-soft: #203c3a; --code: #0d1519; --code-ink: #e3eeec; --code-muted: #829b9e; --code-key: #8dd8c6; --code-step: #f0c879; --shadow: 0 18px 50px rgb(0 0 0 / 24%); }
}

html[data-theme='light'] { color-scheme: light; }
html[data-theme='dark'] { color-scheme: dark; }
html[data-theme='light'] body { --page:#f5f7fa; --surface:#fff; --surface-soft:#eef2f5; --ink:#17272d; --muted:#50656c; --subtle:#64767c; --line:#d7e0e4; --accent:#08796f; --accent-strong:#07685f; --accent-soft:#dff1ed; --code:#142328; --code-ink:#e3eeec; --code-muted:#829b9e; --code-key:#8dd8c6; --code-step:#f0c879; --shadow:0 18px 50px rgb(22 51 59 / 8%); }
html[data-theme='dark'] body { --page:#11191d; --surface:#192328; --surface-soft:#202d32; --ink:#e8f0ef; --muted:#b3c2c3; --subtle:#94a8aa; --line:#34454a; --accent:#64c8b5; --accent-strong:#85dccb; --accent-soft:#203c3a; --code:#0d1519; --code-ink:#e3eeec; --code-muted:#829b9e; --code-key:#8dd8c6; --code-step:#f0c879; --shadow:0 18px 50px rgb(0 0 0 / 24%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 1rem; line-height: 1.65; transition: background-color .2s ease, color .2s ease; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #8a4b00; outline-offset: 4px; border-radius: 4px; }
.shell { width: min(1100px, calc(100% - 3rem)); margin-inline: auto; }
/* Full-width bands alternate automatically as sections are added or moved. */
main > section { background: var(--page); }
main > section:nth-of-type(even) { background: var(--surface-soft); }
main > section + section { border-top: 1px solid var(--line); }
.skip-link { position: fixed; z-index: 110; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--surface); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { --header-progress: 0; position: sticky; top: 0; z-index: 100; width: 100%; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.header-inner { width: calc(100% - 2rem - 1rem * var(--header-progress)); max-width: calc(1160px - 60px * var(--header-progress)); height: calc(76px - 16px * var(--header-progress)); margin: 0 auto; padding-inline: 1.25rem; display: flex; align-items: center; justify-content: space-between; transition: width .2s ease, max-width .2s ease, height .2s ease, min-height .2s ease, padding .2s ease; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -.07em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 39px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; font: 700 .77rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.06em; }
.top-nav { display: flex; gap: clamp(1rem, 3vw, 2.3rem); margin-left: auto; margin-right: 2rem; transition: margin .2s ease; }
.top-nav a, .theme-toggle { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.top-nav a:hover, .text-link:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 4px; }
.theme-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.theme-icon { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(5rem, 9vw, 7.5rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--accent-strong); font: 500 .75rem/1.4 'DM Mono', monospace; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: .6rem; }
.mobile-break { display: none; }
.hero-badges { display: flex; align-items: center; gap: .6rem; margin: -.3rem 0 1.15rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.badge-separator { color: var(--subtle); }
.beta-badge { padding: .12rem .48rem; border: 1px solid var(--line); border-radius: 999px; color: var(--accent-strong); font: 500 .68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.status-dot, .pulse, .mini-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3rem, 6.1vw, 5rem); font-weight: 750; line-height: .99; letter-spacing: -.075em; }
h1 span, .example-copy h2 span { color: var(--accent); }
.intro { max-width: 34rem; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: .85rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 7px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }
.text-link { color: var(--accent-strong); font-size: .95rem; font-weight: 700; text-underline-offset: 4px; }
.hero-note { margin: 1.15rem 0 0; color: var(--subtle); font-size: .85rem; }
.flow-card { padding: 1.15rem 1.35rem .95rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.flow-card-head, .flow-card-foot, .flow-step { display: flex; align-items: center; }
.flow-card-head { gap: .8rem; padding-bottom: 1.2rem; color: var(--subtle); font: 400 .75rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.terminal-dots { display: flex; gap: .27rem; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c5d0d2; }
.terminal-dots i:first-child { background: #e58e7c; }.terminal-dots i:nth-child(2) { background: #e4bd68; }.terminal-dots i:nth-child(3) { background: #79bda5; }
.flow-step { align-items: flex-start; gap: 1rem; min-height: 76px; }
.flow-step-title { display: flex; align-items: baseline; gap: .55rem; }
.step-number { flex: 0 0 1.2rem; color: var(--accent); font: 500 .78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.flow-step strong { display: block; font-size: 1rem; line-height: 1.35; }
.flow-step p { margin: .18rem 0 0 1.75rem; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.flow-step code { color: var(--accent-strong); font: .85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.step-file { align-self: flex-start; margin: .12rem 0 0 auto; color: var(--subtle); font: .66rem 'DM Mono', monospace; letter-spacing: .06em; }
.flow-card-foot { gap: .55rem; margin-top: .5rem; padding-top: .85rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.pulse { width: .42rem; height: .42rem; }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.section-heading .eyebrow { margin-bottom: .75rem; }
.section-intro { max-width: 48rem; margin: 0 0 2.25rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.capability-note { margin: 2rem 0 0; }
.feature-card code, .capability-note code { color: var(--accent-strong); font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 700; line-height: 1.08; letter-spacing: -.06em; }
.muted-heading { color: var(--subtle); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { position: relative; min-height: 230px; padding: 1.4rem 1.45rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.feature-index { color: var(--accent-strong); font: 500 .7rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .07em; }
.feature-card h3 { margin: 1.35rem 0 .55rem; font-size: 1.2rem; letter-spacing: -.035em; }
.feature-card p { max-width: 20rem; margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.feature-card code { color: var(--accent-strong); font: .86rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* Feature showcase: one lead story and four distinct, always-visible capabilities. */
.showcase-section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.rules-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.showcase-copy h3 { margin-bottom: 1.2rem; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.12; letter-spacing: -.055em; }
.showcase-copy > p:not(.eyebrow), .showcase-card > p:not(.eyebrow) { color: var(--muted); }
.showcase-copy .showcase-detail { margin-bottom: 1.4rem; font-size: .88rem; }
.rule-illustration { min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.preview-label { display: block; color: var(--subtle); font: .67rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.rule-source blockquote { margin: .6rem 0 0; color: var(--ink); font-size: 1.12rem; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.rule-route { display: flex; align-items: center; gap: .7rem; margin-block: 1.2rem; color: var(--muted); font-size: .78rem; }
.rule-route > span:first-child { color: var(--accent-strong); font-size: 1.35rem; }
.rule-check { padding: 1rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface); }
.rule-check strong { display: block; margin: .4rem 0; font-size: .95rem; }
.preview-caption { color: var(--muted); font-size: .8rem; }
.reasoning-route { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.reasoning-route p { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.showcase-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.showcase-card .eyebrow { font-size: .68rem; margin-bottom: .85rem; }
.showcase-card h3 { margin-bottom: .8rem; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.035em; }
.showcase-card > p:not(.eyebrow) { margin-bottom: 1.4rem; font-size: .95rem; }
.setup-terminal { margin-top: auto; min-width: 0; overflow: hidden; border: 1px solid #31474b; border-radius: 8px; background: var(--code); }
.setup-terminal-head { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid #2a3a3e; color: #a9bcbd; font: .7rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.setup-terminal pre { padding: 1rem; font-size: .78rem; line-height: 1.8; }
.setup-prompt { color: var(--code-key); }
.setup-comment { color: #a9bcbd; }
.progress-preview { display: grid; margin-top: auto; padding: .35rem 1rem; background: var(--surface-soft); font-size: .8rem; }
.progress-preview > span { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding-block: .65rem; color: var(--muted); }
.progress-preview > span + span { border-top: 1px solid var(--line); }
.progress-preview strong { color: var(--accent-strong); font-weight: 600; }
.assignment-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding: 1.1rem; background: var(--surface-soft); color: var(--accent-strong); font-size: .85rem; font-weight: 600; }
.assignment-preview small { display: block; margin-top: .2rem; color: var(--muted); font-size: .7rem; font-weight: 400; }
.obligation-preview { display: grid; gap: .5rem; margin-top: auto; padding: 1rem 1.1rem; background: var(--surface-soft); color: var(--muted); font-size: .8rem; }
.obligation-preview > span::before { content: '✓'; margin-right: .6rem; color: var(--accent-strong); }
.obligation-preview strong { margin-top: .3rem; color: var(--accent-strong); font-weight: 600; }
@media (max-width: 960px) {
  html { scroll-padding-top: 9rem; }
  .header-inner { height: auto; min-height: calc(76px - 16px * var(--header-progress)); flex-wrap: wrap; padding-block: calc(.75rem - .4rem * var(--header-progress)); }
  .site-header .wordmark { font-size: 1.15rem; }
  .top-nav { order: 3; flex-basis: 100%; justify-content: center; margin: calc(.55rem - .3rem * var(--header-progress)) 0 0; }
}
@media (max-width: 760px) {
  .rules-showcase, .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .showcase-copy { max-width: 38rem; }
  .rule-illustration { padding: 1.1rem; }
}
.example-section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.example-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.example-copy { position: sticky; top: 7rem; }
.example-copy .eyebrow { margin-bottom: 1rem; }
.example-copy h2 { margin-bottom: 1.15rem; }
.example-copy > p:not(.eyebrow) { max-width: 26rem; margin-bottom: 1.5rem; color: var(--muted); }
.code-window { min-width: 0; overflow: hidden; border: 1px solid #31474b; border-radius: 10px; background: var(--code); box-shadow: var(--shadow); }
.code-head, .code-foot { display: flex; align-items: center; justify-content: space-between; padding-inline: 1.15rem; color: #a9bcbd; font: .75rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-head { height: 49px; border-bottom: 1px solid #2a3a3e; }
.code-head > div { display: flex; align-items: center; gap: .55rem; }
.file-icon { color: #8dd8c6; font-size: 1rem; }
.copy-button { display: inline-flex; min-height: 34px; align-items: center; gap: .4rem; padding: .3rem .6rem; border: 1px solid #53676b; border-radius: 5px; background: transparent; color: #deebea; font: inherit; cursor: pointer; }
.copy-button:hover { background: #26373c; }
.copy-symbol { font-size: 1rem; }
pre { overflow-x: auto; margin: 0; padding: 1.35rem 1.2rem 1.55rem; color: var(--code-ink); font: 400 .88rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.code-key { color: var(--code-key); }.code-step { color: var(--code-step); }.code-string { color: #c3a9ee; }
.code-foot { height: 41px; border-top: 1px solid #2a3a3e; color: #96abad; font-size: .68rem; }
.code-foot span:first-child { display: flex; align-items: center; gap: .45rem; }
.mini-dot { width: .38rem; height: .38rem; }
.resources-section { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4rem; padding-block: 6.5rem; }
.resources-intro .eyebrow { margin-bottom: .9rem; }
.resource-links { border-top: 1px solid var(--line); }
.resource-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 83px; padding: .9rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-link > span:first-child { display: grid; gap: .18rem; }
.resource-link small { color: var(--subtle); font: .65rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.resource-link strong { font-size: 1.08rem; }
.resource-arrow { color: var(--accent); font-size: 1.15rem; transition: transform .16s ease; }
.resource-link:hover .resource-arrow { transform: translate(3px, -3px); }
.resource-link:hover strong { color: var(--accent-strong); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 120px; }
.footer-legal { display: grid; gap: .25rem; justify-items: end; }
.footer-inner small { color: var(--subtle); font-size: .76rem; }
.community-link { color: var(--muted); font-size: .82rem; text-underline-offset: 3px; }
.community-link:hover { color: var(--accent-strong); }

@media (max-width: 760px) {
  .hero .eyebrow { display: block; }
  .mobile-break { display: inline; }
  .shell { width: min(100% - 2rem, 600px); }
  .header-inner { width: calc(100% - 2rem); max-width: calc(600px - 40px * var(--header-progress)); }
  .header-inner { height: auto; min-height: calc(68px - 8px * var(--header-progress)); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .85rem; row-gap: .45rem; padding-inline: .5rem; }
  .header-inner > .wordmark { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .top-nav { grid-column: 1; grid-row: 2; order: initial; gap: .75rem; flex-wrap: wrap; justify-content: flex-start; margin: 0; }
  .top-nav a { font-size: .8rem; }
  .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .theme-toggle { grid-column: 2; grid-row: 2; width: 24px; height: 24px; min-height: 24px; justify-content: center; align-self: center; padding: 0; border: 0; background: transparent; }
  .theme-icon { width: 12px; height: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 4rem 5rem; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .flow-card { max-width: 35rem; }
  .section { padding-bottom: 5rem; }
  .section-heading { align-items: start; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card { min-height: auto; padding-bottom: 1.5rem; }
  .feature-card p { max-width: 38rem; }
  .example-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .resources-section { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 5rem; }
}
@media (max-width: 480px) {
  .top-nav { gap: .4rem .5rem; }
  .top-nav a { font-size: .75rem; }
  .wordmark { font-size: .95rem; }
  .site-header .wordmark { font-size: .95rem; }
  .site-header .beta-badge { display: none; }
  .mark { width: 37px; height: 28px; }
  .header-inner { height: auto; min-height: calc(68px - 8px * var(--header-progress)); flex-wrap: wrap; padding-block: calc(.6rem - .25rem * var(--header-progress)); }
  .hero-actions { gap: 1rem; }
  .button { width: 100%; }
  .hero-note { margin-top: .8rem; }
  .section-heading { display: block; }
  pre { font-size: .76rem; padding-inline: .85rem; }
  .footer-inner { min-height: 0; flex-wrap: wrap; gap: .8rem 1rem; padding-block: 1.3rem; }
  .footer-legal { justify-items: start; }
  .footer-inner small { font-size: .67rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Example: the workflow you write, and the instruction your agent receives. */
.example-panels { display: grid; min-width: 0; gap: .85rem; }
.panel-bridge { display: flex; align-items: center; gap: .5rem; margin: 0; padding-left: .2rem; color: var(--subtle); font: .78rem 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.panel-bridge-arrow { color: var(--accent); font-size: 1rem; }
.code-head-note { color: #96abad; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.response-window pre { font-size: .8rem; line-height: 1.75; }
.rsp-h1 { color: #fff; font-weight: 700; }
.rsp-h2 { color: var(--code-key); font-weight: 700; }
.rsp-h3 { color: var(--code-step); }
.rsp-quote { color: #b9c9c9; font-style: italic; }
.rsp-lit { color: var(--code-key); }
.rsp-cmd { color: #dce9e7; }
.rsp-ph { color: #c3a9ee; }

/* Comparison. */
.comparison-section { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.arch-grid .feature-card { min-height: 0; display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem 1.25rem; }
.arch-grid .feature-card h3 { margin: .8rem 0 0; font-size: 1.1rem; }
.arch-grid .feature-card p { max-width: none; font-size: .9rem; line-height: 1.55; }
.arch-diagram { margin: .2rem 0 .4rem !important; color: var(--accent-strong); font: 500 .82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .01em; }
.arch-facts { display: grid; grid-template-columns: auto 1fr; gap: .3rem .7rem; margin: 0; font-size: .88rem; line-height: 1.45; }
.arch-facts dt { color: var(--subtle); font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding-top: .15rem; }
.arch-facts dd { margin: 0; color: var(--muted); }
.arch-grid .feature-card .arch-who { margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); color: var(--subtle); font-size: .8rem; }
.arch-grid .feature-card p strong { color: var(--ink); font-weight: 650; }
/* The side-by-side is one click away; the three cards carry the point on their own. */
.comparison-details { margin-top: 1.6rem; }
.comparison-details > summary { display: inline-flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; color: var(--accent-strong); font-size: .95rem; font-weight: 700; }
.comparison-details > summary::-webkit-details-marker { display: none; }
.comparison-details > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.comparison-details > summary .disclosure { display: inline-block; transition: transform .15s ease; }
.comparison-details[open] > summary .disclosure { transform: rotate(90deg); }
.comparison-table-wrap { margin-top: 1.4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.comparison-table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; font-size: .9rem; line-height: 1.55; }
.comparison-table th, .comparison-table td { padding: .95rem 1.05rem; vertical-align: top; }
.comparison-table thead { background: var(--surface-soft); }
.comparison-table thead th { font-size: .8rem; font-weight: 650; white-space: nowrap; }
.comparison-table tbody tr { border-top: 1px solid var(--line); }
.comparison-table tbody th { width: 11rem; font-weight: 650; }
.comparison-table tbody th p { margin: .2rem 0 0; color: var(--subtle); font-size: .8rem; font-weight: 400; }
.comparison-table td { color: var(--muted); }
.comparison-table a { color: var(--accent-strong); text-decoration: none; }
.comparison-table a:hover { text-decoration: underline; text-underline-offset: 4px; }
.comparison-table a span { font-size: .8rem; }
/* The ww card: the same faint tint as its table row. */
.arch-card-ww { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
/* The ww row: a faint tint and full-strength text, nothing else. */
.comparison-row-ww { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.comparison-row-ww td { color: var(--ink); }
.comparison-table code { font: .82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--accent-strong); }
.composition { margin-bottom: .4rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.6rem; }
.composition-copy .eyebrow { margin-bottom: .75rem; }
.composition-copy h3 { margin: 0 0 .7rem; font-size: 1.45rem; letter-spacing: -.035em; }
.composition-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.composition-copy .composition-prerequisites { margin-top: .9rem; font-size: .9rem; }
.composition-copy code { color: var(--accent-strong); font: .9rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.composition-window pre { font-size: .84rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  .composition { grid-template-columns: 1fr; }
  .example-copy { top: 9rem; }
}
@media (max-width: 760px) {
  .comparison-table th, .comparison-table td { padding: .8rem; }
}

/* Get started. */
.install-section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.install-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(17rem, .6fr); align-items: start; gap: clamp(2rem, 5vw, 3.5rem); }
.install-steps { display: grid; gap: 2.1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.install-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .4rem; }
.install-index { color: var(--accent); font: 500 .8rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.install-body { min-width: 0; }
.install-body h3 { margin: 0 0 .4rem; font-size: 1.18rem; letter-spacing: -.035em; }
.install-body > p { max-width: 38rem; margin: 0 0 .9rem; color: var(--muted); font-size: .95rem; }
.install-body p code { padding: .05rem .3rem; border-radius: 4px; background: var(--surface-soft); color: var(--accent-strong); font: .86rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.inline-link { font-size: inherit; font-weight: 600; }
.snippet { min-width: 0; overflow: hidden; border: 1px solid #31474b; border-radius: 9px; background: var(--code); box-shadow: var(--shadow); }
.snippet-head { display: flex; align-items: center; justify-content: space-between; height: 40px; padding-inline: 1.05rem; border-bottom: 1px solid #2a3a3e; color: #96abad; font: .68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.snippet pre { padding: .9rem 1.05rem 1rem; font-size: .82rem; line-height: 1.85; }
.sh-prompt { color: var(--code-key); user-select: none; }
.snippet-copy { min-height: 28px; padding: .2rem .6rem; border: 1px solid #53676b; border-radius: 5px; background: transparent; color: #deebea; font: 600 .72rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.snippet-copy:hover { background: #26373c; }
.snippet-quote { padding: 1rem 1.15rem; border-color: var(--line); background: var(--surface-soft); box-shadow: none; }
.snippet pre code { padding: 0; background: none; color: inherit; font: inherit; }
.snippet-quote p { margin: 0; color: var(--ink); font-size: 1rem; font-style: italic; }
.beta-callout { padding: 1.5rem 1.55rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.beta-callout .eyebrow { margin-bottom: .6rem; }
.beta-callout h3 { margin: 0 0 .7rem; font-size: 1.25rem; letter-spacing: -.035em; }
.beta-callout p:not(.eyebrow) { margin: 0 0 .85rem; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.beta-callout code { color: var(--accent-strong); font: .85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.beta-links { display: grid; gap: .45rem; padding-top: .3rem; }
.beta-links .text-link { font-size: .88rem; }

@media (max-width: 980px) {
  .install-layout { grid-template-columns: minmax(0, 1fr); }
  .beta-callout { order: -1; }
}
@media (max-width: 760px) {
  .example-copy { position: static; }
  .install-steps li { grid-template-columns: 1.9rem 1fr; }
}
@media (max-width: 560px) {
  /* Both panel captions are asides. Narrow screens keep only the left one,
     which carries the meaning; the right one would overlap it. */
  .code-foot span:last-child, .code-head-note { display: none; }
  .panel-bridge { align-items: flex-start; }
  .panel-bridge-arrow { line-height: 1.4; }
}
@media (max-width: 480px) {
  .snippet pre { padding: .8rem .85rem .9rem; font-size: .72rem; }
  .response-window pre { font-size: .7rem; }
}

/* Back to top: phones only, and only once the reader has scrolled past the hero. */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(.5rem); transition: opacity .2s ease, transform .2s ease; }
.to-top.is-visible { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .to-top:not([hidden]) { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}
