/* SPDX-License-Identifier: AGPL-3.0-or-later · Copyright (C) 2026 Cruxbit Labs
   agent-bridge site: one stylesheet for the landing page and the docs. Colours follow docs/images/hero.svg. */

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f8fa;
  --fg: #1f2328;
  --muted: #59636e;
  --border: #d1d9e0;
  --border-soft: #e6eaef;
  --accent: #0969da;
  --green: #1a7f37;
  --purple: #8250df;
  --btn-bg: #1f2328;
  --btn-fg: #ffffff;
  --code-bg: rgba(129, 139, 152, 0.15);
  --term-bg: #1f2328;
  --term-bar: #2b3138;
  --term-fg: #e6edf3;
  --term-muted: #8b949e;
  --term-light-bg: #f6f8fa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --radius: 6px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) { --bg: #0d1117;
    --bg-subtle: #151b23;
    --fg: #e6edf3;
    --muted: #9198a1;
    --border: #3d444d;
    --border-soft: #262c34;
    --accent: #4493f8;
    --green: #3fb950;
    --purple: #ab7df8;
    --btn-bg: #e6edf3;
    --btn-fg: #0d1117;
    --code-bg: rgba(101, 108, 118, 0.25);
    --term-bg: #010409;
    --term-bar: #151b23;
    --term-light-bg: #151b23; }
}
:root[data-theme=dark] { --bg: #0d1117;
    --bg-subtle: #151b23;
    --fg: #e6edf3;
    --muted: #9198a1;
    --border: #3d444d;
    --border-soft: #262c34;
    --accent: #4493f8;
    --green: #3fb950;
    --purple: #ab7df8;
    --btn-bg: #e6edf3;
    --btn-fg: #0d1117;
    --code-bg: rgba(101, 108, 118, 0.25);
    --term-bg: #010409;
    --term-bar: #151b23;
    --term-light-bg: #151b23; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; height: auto; }
code, kbd, pre { font-family: var(--mono); }
:not(pre) > code { font-size: 0.86em; background: var(--code-bg); padding: 0.15em 0.4em; border-radius: 4px; white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft); }
.top-row { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em; text-decoration: none; margin: 0; }
.mark { position: relative; width: 22px; height: 12px; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; top: 0; width: 8px; height: 12px; border-radius: 2.5px;
  border: 2px solid currentColor; }
.mark::before { left: 0; }
.mark::after { right: 0; background: currentColor; }
.mark { background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat; }
.tagline { color: var(--muted); font-size: 13px; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top-nav a { color: var(--fg); text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }
.top-nav a[aria-current] { font-weight: 600; }
.gh { display: inline-flex; color: var(--fg); }
@media (max-width: 860px) { .tagline { display: none; } }
@media (max-width: 640px) {
  .top-nav { gap: 14px; }
  .top-nav a[href$="#examples"], .top-nav a[href$="security.html"] { display: none; }
}

/* type */
.eyebrow { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
.hero h1 { font-size: clamp(40px, 6vw, 62px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 22px; }
.h-section { font-size: clamp(28px, 3.6vw, 36px); font-weight: 650; letter-spacing: -0.025em; margin-bottom: 14px; }
.h-cta { font-size: clamp(24px, 3vw, 30px); font-weight: 650; letter-spacing: -0.02em; margin-bottom: 6px; }
.h-small { font-size: 17px; font-weight: 650; margin-bottom: 4px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.lede.wide { max-width: 52em; }
.note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.link-arrow { color: var(--fg); font-size: 15px; }

/* buttons */
.btn { display: inline-block; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 15px;
  padding: 11px 18px; border-radius: var(--radius); text-decoration: none; white-space: nowrap; }
.btn:hover { opacity: 0.88; }
.actions { display: flex; align-items: center; gap: 22px; margin: 0 0 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--muted); }
.facts li::before { content: "·"; margin-right: 18px; }
.facts li:first-child::before { content: none; }

/* hero */
.hero { padding: 72px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.hero-grid > * { min-width: 0; }
.hero-copy { padding-top: 22px; }
.hero-copy .lede { font-size: 19px; }
.setup .muted { font-size: 14px; margin: 14px 0 8px; }
.setup .muted:first-of-type { margin-top: 6px; }
.setup .term + .term { margin-top: 10px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-copy { padding-top: 0; } }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; padding-top: 22px;
  padding-bottom: 40px; border-top: 1px solid var(--border-soft); }
.quick-links a { text-decoration: none; color: var(--fg); }
.quick-links strong { display: block; font-size: 15px; font-weight: 600; color: var(--fg); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; margin-bottom: 4px; }
.quick-links span { font-size: 14px; color: var(--muted); }
.quick-links a:hover strong { text-decoration-thickness: 2px; }
@media (max-width: 720px) { .quick-links { grid-template-columns: 1fr; gap: 18px; } }

/* terminals */
.term { background: var(--term-bg); color: var(--term-fg); border-radius: var(--radius); overflow: hidden;
  border: 1px solid transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .term { border-color: var(--border); }
}
:root[data-theme=dark] .term { border-color: var(--border); }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; background: var(--term-bar);
  font-size: 12.5px; color: var(--term-muted); }
.term-bar > span:not(.dots) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { width: 26px; height: 6px; flex: none !important;
  background: radial-gradient(circle, #6e7681 2.6px, transparent 3px) 0 0 / 10px 6px repeat-x; }
.term pre { margin: 0; padding: 16px 18px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; tab-size: 4; }
.term pre.prompt { white-space: pre-wrap; font-size: 14px; }
.pr { color: #79c0ff; margin-right: 4px; }
.term .c { color: #e6edf3; font-weight: 600; }
.term .ok { color: #3fb950; }
.term .bad { color: #ff7b72; }
.term .warn { color: #d29922; }
.term .m { color: var(--term-muted); }
.term .hl { color: #d2a8ff; font-weight: 600; }
.term-light { background: var(--term-light-bg); color: var(--fg); border: 1px solid var(--border); }
.term-light .term-bar { background: transparent; padding-bottom: 0; color: var(--muted); }
.term-light pre { padding-top: 6px; }
.copy, .replay { margin-left: auto; font: inherit; font-size: 12px; color: inherit; background: transparent;
  border: 1px solid transparent; border-radius: 4px; padding: 2px 8px; cursor: pointer; }
.copy:hover, .replay:hover { border-color: currentColor; }
.copy.done { color: #3fb950; }
.term-copy + .muted { margin-top: 18px; }

.disclose { margin-top: 14px; font-size: 14px; }
.disclose summary { cursor: pointer; font-weight: 600; font-size: 13.5px; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::before { content: ""; border: 4.5px solid transparent; border-left: 6px solid currentColor; margin-right: 2px;
  transition: transform 0.15s; transform-origin: 3px 50%; }
.disclose[open] summary::before { transform: rotate(90deg); }
.disclose > .term { margin-top: 10px; }
.wide-disclose { margin-top: 32px; padding: 14px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.wide-disclose p { color: var(--muted); max-width: 60em; }

/* sections */
.band { padding: 88px 0; border-top: 1px solid var(--border-soft); }
.band.shade { background: var(--bg-subtle); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0 48px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; }
.steps h3 { font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.steps h3::before { content: counter(s) "."; color: var(--muted); font-weight: 500; margin-right: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.hero-fig { margin: 0; }
.hero-fig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* examples */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 36px 0 26px; }
.tabs button { font: inherit; font-size: 14px; text-align: left; padding: 10px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg); color: var(--fg); cursor: pointer; }
.tabs button:hover { background: var(--bg-subtle); }
.tabs button[aria-selected="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 760px) { .tabs { grid-template-columns: 1fr 1fr; } }
.panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.panel[hidden] { display: none; }
.ex-copy h3 { font-size: 16px; font-weight: 650; margin: 24px 0 8px; }
.ex-copy h3:first-child { margin-top: 0; }
.ex-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.ex-copy .note { margin-top: 18px; }
.term-play { position: sticky; top: 76px; }
.term-play pre { min-height: 320px; font-size: 12.5px; }
.term-play.playing pre::after { content: "▍"; color: var(--term-muted); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } .term-play { position: static; } .term-play pre { min-height: 0; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 20px; color: var(--fg); text-decoration: none; background: var(--bg); transition: border-color 0.15s; }
.card:hover { border-color: var(--muted); }
.kicker { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; flex: 1; }
.more { font-size: 14px; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.card:hover .more { text-decoration-thickness: 2px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p { color: var(--muted); }
.split .lede { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 16px 30px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft);
  color: var(--muted); font-size: 15px; }
.checks li:last-child { border-bottom: 0; margin-bottom: 0; }
.checks strong { color: var(--fg); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.matrix { margin: 0; }
.matrix div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.matrix div:first-child { padding-top: 0; }
.matrix dt { font-weight: 600; }
.matrix dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.doc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 26px; }
.doc-cols h3 { font-size: 17px; font-weight: 650; margin-bottom: 6px; }
.doc-cols p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.doc-cols a { font-size: 14.5px; }
@media (max-width: 760px) { .doc-cols { grid-template-columns: 1fr; gap: 22px; } }

.cta { padding: 56px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta .muted { margin: 0; }
#questions p { margin: 0 0 8px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--border-soft); padding: 48px 0 56px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid nav a { color: var(--muted); text-decoration: none; }
.foot-grid nav a:hover { color: var(--fg); text-decoration: underline; }
.foot .brand { margin-bottom: 10px; font-size: 16px; }
.foot p { margin: 0 0 8px; }
.nav-group { font-size: 12.5px; font-weight: 600; color: var(--fg); margin: 0 0 4px; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.foot-row p { margin: 0; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- docs pages ---------- */
.doc-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) 220px; gap: 48px; padding-top: 40px; padding-bottom: 64px; }
.doc-nav, .doc-toc { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; }
.doc-nav summary { display: none; }
.doc-nav a { display: block; color: var(--muted); text-decoration: none; padding: 4px 10px; margin-left: -10px; border-radius: 4px; }
.doc-nav a:hover { color: var(--fg); background: var(--bg-subtle); }
.doc-nav a[aria-current="page"] { color: var(--fg); font-weight: 600; background: var(--bg-subtle); }
.doc-nav .nav-group { margin: 18px 0 4px; color: var(--fg); }
.doc-nav .nav-group:first-of-type { margin-top: 0; }
.doc-toc .toc-title { font-size: 12.5px; font-weight: 600; margin: 0 0 8px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; }
.doc-toc ul ul { padding-left: 12px; }
.doc-toc a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0 3px 10px; border-left: 2px solid var(--border-soft); line-height: 1.4; }
.doc-toc a:hover { color: var(--fg); }
.doc-toc a.active { color: var(--fg); border-left-color: var(--accent); }
@media (max-width: 1100px) { .doc-grid { grid-template-columns: 200px minmax(0, 1fr); } .doc-toc { display: none; } }
@media (max-width: 800px) {
  .doc-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .doc-nav { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
  .doc-nav summary { display: block; cursor: pointer; font-weight: 600; }
  .doc-nav details:not([open]) > :not(summary) { display: none; }
  .doc-nav details[open] summary { margin-bottom: 10px; }
}

.doc-body { min-width: 0; max-width: 780px; }
.doc-body > h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 650; letter-spacing: -0.03em; margin: 0 0 24px; }
.doc-body h2 { font-size: 24px; font-weight: 650; letter-spacing: -0.015em; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.doc-body h3 { font-size: 18px; font-weight: 650; margin: 32px 0 10px; }
.doc-body h4 { font-size: 16px; margin: 24px 0 8px; }
.doc-body p, .doc-body li { font-size: 15.5px; }
.doc-body li + li { margin-top: 4px; }
.doc-body pre { background: var(--bg-subtle); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 14px 16px;
  overflow-x: auto; font-size: 13px; line-height: 1.6; }
.doc-body pre code { background: none; padding: 0; white-space: pre; font-size: inherit; }
.doc-body :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
.doc-body blockquote { margin: 16px 0; padding: 2px 16px; border-left: 3px solid var(--border); color: var(--muted); }
.doc-body hr { border: 0; border-top: 1px solid var(--border-soft); margin: 32px 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border-soft); border-radius: var(--radius); }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--border-soft); }
.doc-body th { background: var(--bg-subtle); font-weight: 600; }
.doc-body tr:last-child td { border-bottom: 0; }
.doc-body .diagram { margin: 20px 0; padding: 16px; text-align: left; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow-x: auto; }
.doc-body pre.mermaid { background: none; border: 0; padding: 0; margin: 0; font-family: var(--sans); white-space: pre; color: var(--muted); }
.doc-body pre.mermaid[data-processed] { white-space: normal; }
.doc-body pre.mermaid svg { display: block; margin: 0 auto; }
.doc-body .edit { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--border-soft); font-size: 14px; }
.doc-body h2 a.anchor, .doc-body h3 a.anchor { margin-left: 6px; color: var(--muted); text-decoration: none; opacity: 0; }
.doc-body h2:hover a.anchor, .doc-body h3:hover a.anchor, .doc-body a.anchor:focus { opacity: 1; }
/* pandoc's syntax classes, in the page's palette */
.sourceCode .kw, .sourceCode .cf { color: #cf222e; } .sourceCode .st, .sourceCode .ss { color: #0a3069; }
.sourceCode .co { color: var(--muted); font-style: italic; } .sourceCode .dv, .sourceCode .fu { color: #8250df; }
.sourceCode .va, .sourceCode .at { color: #953800; } .sourceCode .bu { color: #0550ae; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .sourceCode .kw, :root:not([data-theme=light]) .sourceCode .cf { color: #ff7b72; }
  :root:not([data-theme=light]) .sourceCode .st, :root:not([data-theme=light]) .sourceCode .ss { color: #a5d6ff; }
  :root:not([data-theme=light]) .sourceCode .dv, :root:not([data-theme=light]) .sourceCode .fu { color: #d2a8ff; }
  :root:not([data-theme=light]) .sourceCode .va, :root:not([data-theme=light]) .sourceCode .at { color: #ffa657; }
  :root:not([data-theme=light]) .sourceCode .bu { color: #79c0ff; }
}
:root[data-theme=dark] .sourceCode .kw, :root[data-theme=dark] .sourceCode .cf { color: #ff7b72; }
:root[data-theme=dark] .sourceCode .st, :root[data-theme=dark] .sourceCode .ss { color: #a5d6ff; }
:root[data-theme=dark] .sourceCode .dv, :root[data-theme=dark] .sourceCode .fu { color: #d2a8ff; }
:root[data-theme=dark] .sourceCode .va, :root[data-theme=dark] .sourceCode .at { color: #ffa657; }
:root[data-theme=dark] .sourceCode .bu { color: #79c0ff; }
.doc-body div.sourceCode { margin: 16px 0; }
.doc-body div.sourceCode pre { margin: 0; }

/* ---------- languages ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--fg);
  padding: 4px 8px; margin: -4px -8px; border-radius: var(--radius); font-size: 14px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--bg-subtle); }
.lang-menu ul { position: absolute; right: -8px; top: calc(100% + 10px); z-index: 6; margin: 0; padding: 6px; list-style: none;
  min-width: 190px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(1, 4, 9, 0.25); }
.lang-menu li a { display: block; padding: 6px 10px; border-radius: 4px; color: var(--fg); text-decoration: none; }
.lang-menu li a:hover { background: var(--bg-subtle); text-decoration: none; }
.lang-menu li a[aria-current] { font-weight: 600; }
.lang-menu li a[aria-current]::after { content: "✓"; float: right; color: var(--accent); }
@media (max-width: 640px) { .lang-menu summary span { display: none; } }
.lang-offer { background: var(--bg-subtle); border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.lang-offer .wrap { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.lang-offer a { font-weight: 600; }
.lang-offer button { margin-left: auto; font: inherit; font-size: 18px; line-height: 1; color: var(--muted); background: none;
  border: 0; cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.lang-offer button:hover { color: var(--fg); background: var(--border-soft); }
.term-note { margin-top: 14px; }
.term-note:empty, .docs-lang:empty { display: none; }
.docs-lang { margin: 0 0 4px; font-size: 14px; }

/* Chinese, Japanese, Korean: their own fonts, no negative tracking, more leading, line breaks the language allows */
:lang(ja) { --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(zh-CN) { --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-TW) { --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(ja) body, :lang(ko) body, :lang(zh-CN) body, :lang(zh-TW) body { font-family: var(--sans); line-height: 1.75; }
:lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(zh-CN) :is(h1, h2, h3), :lang(zh-TW) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.3; }
:lang(ja) .hero h1, :lang(ko) .hero h1, :lang(zh-CN) .hero h1, :lang(zh-TW) .hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.2; font-weight: 700; }
:lang(ja), :lang(zh-CN), :lang(zh-TW) { line-break: strict; }
:lang(ko) { word-break: keep-all; }
/* German and French run longer */
:lang(de) .hero h1, :lang(fr) .hero h1 { font-size: clamp(36px, 5.2vw, 54px); hyphens: auto; }

/* ---------- refinements ---------- */
/* the replays wrap long lines instead of cutting them off (the monitor keeps its columns and scrolls) */
.term-play pre:not(.nowrap) { white-space: pre-wrap; overflow-wrap: anywhere; }
.term-play pre { min-height: 280px; }
.fig-open { display: block; cursor: zoom-in; border-radius: 18px; }
.top-nav a.here { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.start .setup .muted:first-child { margin-top: 0; }
.start .quick-links { margin-top: 72px; padding-bottom: 0; }

/* ---------- the hero: a dot field that tells the story ---------- */
.split > * { min-width: 0; }
.hero-field {
  --st-bg: #f5f5f1; --st-ink: #0b1d3a; --st-blue: #1c58d6; --st-blue-2: #5b8def; --st-green: #2a9358; --st-orange: #e39b2d;
  --st-purple: #8b5cf6; --st-line: rgba(28, 88, 214, 0.35); --st-card: #ffffff; --st-muted: #5b6472;
  background: var(--st-bg); border-bottom: 1px solid var(--border-soft); padding: 64px 0 56px; position: relative; overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .hero-field { --st-bg: #0b0f16; --st-ink: #e6edf3; --st-blue: #4d8dff; --st-blue-2: #7aa8ff; --st-green: #3fb950; --st-orange: #e3b341;
    --st-purple: #b392f0; --st-line: rgba(77, 141, 255, 0.4); --st-card: #11161f; --st-muted: #8b949e; }
}
:root[data-theme=dark] .hero-field { --st-bg: #0b0f16; --st-ink: #e6edf3; --st-blue: #4d8dff; --st-blue-2: #7aa8ff; --st-green: #3fb950; --st-orange: #e3b341;
    --st-purple: #b392f0; --st-line: rgba(77, 141, 255, 0.4); --st-card: #11161f; --st-muted: #8b949e; }
.hero-field .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero-field .hero-copy { padding-top: 0; }
.hero-field h1 { color: var(--st-ink); }
.hero-field .lede { color: var(--st-muted); }
.pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 5px 12px 5px 10px; font-size: 13px; color: var(--st-muted);
  border: 1px solid var(--border); border-radius: 999px; background: var(--st-card); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); box-shadow: 0 0 0 0 rgba(42, 147, 88, 0.55); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(42, 147, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 147, 88, 0); } }
@media (max-width: 980px) { .hero-field .hero-grid { grid-template-columns: 1fr; } }

.mono { font-family: var(--mono); }
.stage { position: relative; height: 540px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-label { position: absolute; left: 50%; top: calc(38% + 74px); transform: translateX(8px); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--st-muted); white-space: nowrap; opacity: 0.85; }
.mcard { position: absolute; width: 196px; padding: 10px 12px 11px; background: var(--st-card); border: 1px solid var(--st-line);
  border-radius: 6px; box-shadow: 0 1px 0 rgba(8, 28, 20, 0.04), 0 10px 30px rgba(8, 28, 20, 0.07);
  transition: opacity 0.5s, transform 0.5s, border-color 0.3s; opacity: 0; transform: translateY(6px) scale(0.98); }
.mcard.on { opacity: 1; transform: none; }
.mcard.dim { opacity: 0.55; }
.mcard.hot { border-color: var(--st-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-blue) 14%, transparent), 0 10px 30px rgba(8, 28, 20, 0.08); }
.mcard[data-m="laptop"] { left: 0; top: 64%; }
.mcard[data-m="buildbox"] { right: 0; top: 60%; }
.mcard[data-m="linuxbox"] { left: 30%; bottom: 0; }
.mcard[data-m="mini"] { right: 4%; top: 2%; }
.pin { position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--st-card);
  border: 1.5px solid var(--st-blue); }
.mc-head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--st-ink); margin-bottom: 6px; }
.mc-head b { font-weight: 650; }
.os { font-size: 10.5px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--border); color: var(--st-muted); }
.mc-tag { margin-left: auto; font-size: 10.5px; color: var(--st-blue); }
.mcard p { margin: 0; font-size: 11px; line-height: 1.55; color: var(--st-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.55em; }
.mcard .l1 { color: var(--st-ink); }
.mcard .code { color: var(--st-blue); font-weight: 700; letter-spacing: 0.08em; }
.mcard .ok { color: var(--st-green); }
.mcard .msg { color: var(--st-purple); }
.mbar { display: block; height: 4px; margin-top: 7px; border-radius: 999px; background: color-mix(in srgb, var(--st-muted) 15%, transparent); overflow: hidden; }
.mbar i { display: block; height: 100%; width: 0; background: var(--st-blue); border-radius: inherit; }
.mbar.done i { background: var(--st-green); }
.mbar.msgs i { background: var(--st-purple); }

.phases { display: flex; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.phases li { flex: 1; min-width: 0; }
.phases button { width: 100%; font: inherit; font-size: 12.5px; text-align: left; color: var(--st-muted); background: none; border: 0;
  border-top: 2px solid color-mix(in srgb, var(--st-muted) 25%, transparent); padding: 8px 2px 0; cursor: pointer; position: relative;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phases button::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: var(--p, 0%); background: var(--st-blue); }
.phases button.on { color: var(--st-ink); font-weight: 600; }
.phases button.past::before { width: 100%; }
.phases .num { font-family: var(--mono); font-size: 11px; margin-right: 6px; color: var(--st-blue); }
.phase-cap { margin: 10px 0 0; min-height: 3em; font-size: 14px; color: var(--st-muted); }
@media (max-width: 640px) {
  .stage { height: 500px; }
  .mcard { width: 160px; padding: 8px 10px; }
  .mcard[data-m="linuxbox"] { left: 25%; }
  .phases .label { display: none; }
  .phases button { font-size: 0; } .phases .num { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .mcard { transition: none; } }
.mcard[data-m="mini"] .pin { top: auto; bottom: -5px; }

/* ---------- how it works: a bordered grid of tall cells ---------- */
.grid-frame { position: relative; margin-top: 40px; border: 1px solid var(--border-soft); }
.cross { position: absolute; width: 21px; height: 21px; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--muted); opacity: 0.7; }
.cross::before { left: 10px; top: 0; width: 1px; height: 21px; }
.cross::after { top: 10px; left: 0; height: 1px; width: 21px; }
.cross.tl { left: -11px; top: -11px; }
.cross.br { right: -11px; bottom: -11px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.cell { display: flex; flex-direction: column; min-height: 400px; padding: 40px 36px 36px; background: var(--bg-subtle);
  border-right: 1px solid var(--border-soft); }
.cell:last-child { border-right: 0; }
.cell.feat { background: var(--bg); }
.cell-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--fg); margin-bottom: auto; }
.cell-top .px { color: var(--fg); opacity: 0.85; }
.cell-top span { font-size: 13px; color: var(--muted); }
.cell h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin: 72px 0 16px; }
.cell p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cell-wide { margin: 0; padding: 28px; border-top: 1px solid var(--border-soft); background: var(--bg); }
@media (max-width: 860px) {
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border-soft); padding: 28px 24px; }
  .cell h3 { margin-top: 36px; }
}

/* ---------- examples: a framed section, three columns, each with a picture ---------- */
.ex2 { --paper: #f5f5f1; --panel: #fbfbf8; --line: #dedfd8; --ink: #0b1d3a; --acc: #1c58d6; --ok: #1a7f37; --run: #b7791f;
  background: var(--paper); padding: 0; border-top: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .ex2 { --paper: #0b0f16; --panel: #0f141c; --line: #262c36; --ink: #e6edf3; --acc: #4d8dff; --ok: #3fb950; --run: #e3b341; }
}
:root[data-theme=dark] .ex2 { --paper: #0b0f16; --panel: #0f141c; --line: #262c36; --ink: #e6edf3; --acc: #4d8dff; --ok: #3fb950; --run: #e3b341; }
.frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.frame-head { text-align: center; padding: 88px 24px 72px; }
.frame-head .h-section { color: var(--ink); font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 600; }
.frame-head .lede { margin: 0 auto; max-width: 40em; }
.ex-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ex-col { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.ex-col:last-child { border-right: 0; }
.ex-text { padding: 28px 28px 26px; flex: 1; }
.ex-num { display: block; font-size: 22px; font-weight: 600; color: var(--acc); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.ex-text h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.ex-prompt { font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line);
  border-radius: 6px; padding: 7px 10px; margin: 0 0 12px; }
.ex-prompt span { color: var(--acc); margin-right: 2px; }
.ex-text p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ex-vis { position: relative; height: 270px; background: var(--panel); border-top: 1px solid var(--line); overflow: hidden; }
.abmark { position: relative; display: inline-block; width: 22px; height: 12px; color: var(--acc);
  background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat; }
.abmark::before, .abmark::after { content: ""; position: absolute; top: 0; width: 8px; height: 12px; border-radius: 2.5px; border: 2px solid currentColor; }
.abmark::before { left: 0; } .abmark::after { right: 0; background: currentColor; }
.hubdot { position: absolute; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(8, 28, 20, 0.06); z-index: 2; }

/* 1: steps */
.vis-steps { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.vis-steps .row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 74%; padding: 7px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--ink); }
.vis-steps .row .mono { color: var(--muted); font-size: 11.5px; }
.vis-steps .row.far { width: 64%; opacity: 0.5; font-size: 11px; }
.vis-steps .row.big { width: 86%; padding: 11px 14px; font-weight: 600; font-size: 13px; box-shadow: 0 6px 20px rgba(8, 28, 20, 0.08); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.tag.run { color: var(--run); background: color-mix(in srgb, var(--run) 15%, transparent); }
.tag.run i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 0.9s linear infinite; }
.tag.wait { color: var(--muted); background: color-mix(in srgb, var(--muted) 13%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 2: tree */
.vis-tree .badge { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.vis-tree .badge b, .leaf b { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-size: 9px; margin-right: 4px;
  background: var(--ok); color: #fff; }
.vis-tree .hubdot { top: 64px; }
.vis-tree::before { content: ""; position: absolute; left: 50%; top: 44px; height: 22px; border-left: 1px solid var(--line); }
.branches { position: absolute; left: 0; right: 0; top: 116px; width: 100%; height: 104px; overflow: visible; }
.branches path { fill: none; stroke: var(--line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.branches path.flowing { stroke: var(--acc); stroke-dasharray: 5 6; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.leaves { position: absolute; left: 0; right: 0; bottom: 30px; display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; }
.leaf { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.leaf.on { color: var(--ink); border-color: var(--acc); font-weight: 600; }

/* 3: rings */
.vis-rings .ring { position: absolute; left: 50%; top: 50%; border: 1px solid var(--line); border-radius: 50%; transform: translate(-50%, -50%); }
.vis-rings .r1 { width: 110px; height: 110px; } .vis-rings .r2 { width: 190px; height: 190px; } .vis-rings .r3 { width: 270px; height: 270px; }
.vis-rings .hubdot { top: 50%; margin-top: -26px; }
.tile { position: absolute; display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: center; padding: 6px 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--muted); box-shadow: 0 2px 10px rgba(8, 28, 20, 0.06); z-index: 2; }
.tile b { grid-column: 1 / -1; color: var(--ink); font-size: 12px; }
.tile .st { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: 0.6; }
.tile .st.work { background: var(--acc); opacity: 1; animation: blink 1.6s steps(2) infinite; }
.tile .st.busy { background: var(--run); opacity: 1; }
.tile .st.wait { background: #cf222e; opacity: 1; }
.t1 { left: 12%; top: 16%; } .t2 { right: 10%; top: 20%; } .t3 { left: 14%; bottom: 14%; } .t4 { right: 14%; bottom: 16%; }

.ex-more { padding: 18px 28px 24px; border-bottom: 1px solid var(--line); }
.ex-more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.ex-more-body { padding-top: 6px; }
.ex-more .tabs { margin-top: 18px; }
@media (max-width: 900px) {
  .ex-cols { grid-template-columns: 1fr; }
  .ex-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .frame-head { padding: 56px 20px 44px; }
}
@media (prefers-reduced-motion: reduce) { .tag.run i, .branches path.flowing, .tile .st.work { animation: none; } }

/* ---------- one frame down the whole page: rails, crosshairs, sections of bordered cells ---------- */
.home { --paper: #f5f5f1; --panel: #fbfbf8; --line: #dedfd8; --ink: #0b1d3a; --acc: #1c58d6; --ok: #1a7f37; --run: #b7791f; background: var(--paper); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .home { --paper: #0b0f16; --panel: #0f141c; --line: #262c36; --ink: #e6edf3; --acc: #4d8dff; --ok: #3fb950; --run: #e3b341; }
}
:root[data-theme=dark] .home { --paper: #0b0f16; --panel: #0f141c; --line: #262c36; --ink: #e6edf3; --acc: #4d8dff; --ok: #3fb950; --run: #e3b341; }
.home .top { background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom-color: var(--line); }
.hero-field { padding: 0; border-bottom: 1px solid var(--line); }
.hero-field .hero-grid, .home .foot .foot-grid { position: relative; }
.hero-field .hero-grid::before, .home .foot .foot-grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 24px; right: 24px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }
.hero-field .hero-grid { padding: 64px 64px 56px; }
.sec { background: var(--paper); padding: 0; border: 0; }
.sec .frame { position: relative; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec .cross { z-index: 3; }
.sec .cross::before, .sec .cross::after { background: var(--ink); opacity: 0.45; }
.sec .frame-head { text-align: left; padding: 88px 40px 44px; border-bottom: 1px solid var(--line); }
.sec .frame-head .lede { margin: 0; max-width: 46em; }
.sec.ex2 .frame-head { text-align: center; border-bottom: 0; padding-bottom: 64px; }
.sec.ex2 .frame-head .lede { margin: 0 auto; }
.sec .h-section { color: var(--ink); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.sec .h-cta { color: var(--ink); font-weight: 600; letter-spacing: -0.025em; }
.sec .lede, .sec .muted, .sec p { color: var(--muted); }
.sec .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc); }

.gcells { display: grid; gap: 1px; background: var(--line); }
.gcells + .gcells, .frame-head + .gcells { border-top: 0; }
.gcells + .gcells { margin-top: 1px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gcells.stack { grid-template-columns: 1fr; }
.gcell { background: var(--paper); padding: 40px; min-width: 0; }
.gcell.tint { background: var(--panel); }
.gcell > :last-child { margin-bottom: 0; }

/* get started */
.sec.first .cols-2 > .gcell:first-child { padding-top: 88px; }
.sec .setup .muted:first-child { margin-top: 0; }
.link-cell { display: block; text-decoration: none; padding: 28px 40px; transition: background 0.15s; }
.link-cell:hover { background: var(--panel); }
.link-cell strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.link-cell span { color: var(--muted); font-size: 14px; }

/* how it works: the cells in the frame's colours */
.sec .cells { border: 0; }
.sec .cell { background: var(--paper); border-right-color: var(--line); }
.sec .cell.feat { background: var(--panel); }
.sec .cell h3, .sec .feat-cell h3, .sec .os-cell h3, .sec .doc-cell h3 { color: var(--ink); }
.sec .cell-top .px { color: var(--ink); }
.sec .cell-wide { background: var(--panel); border-top-color: var(--line); padding: 32px 40px; }

/* what it does */
.feat-cell { display: flex; flex-direction: column; min-height: 320px; text-decoration: none; color: inherit; transition: background 0.15s; }
.feat-cell:hover { background: var(--panel); }
.feat-cell .cell-top { margin-bottom: auto; }
.feat-cell .kicker { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.feat-cell h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 48px 0 10px; }
.feat-cell p { font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.feat-cell .more { color: var(--ink); font-size: 13.5px; }

/* security */
.check-cell { display: flex; gap: 16px; align-items: flex-start; padding: 24px 32px; }
.check-cell p { margin: 0; font-size: 15px; line-height: 1.55; }
.check-cell strong { color: var(--ink); }
.ck { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); position: relative; }
.ck::after { content: ""; position: absolute; left: 6px; top: 5px; width: 8px; height: 4.5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.sec .links a { font-size: 14.5px; }

/* platforms, docs */
.os-cell .kicker, .doc-cell .kicker { color: var(--acc); font-size: 12px; }
.os-cell h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 56px 0 8px; }
.os-cell p { margin: 0; font-size: 14px; line-height: 1.6; }
.doc-cell h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.doc-cell p { font-size: 14.5px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; }
.doc-links a { font-size: 14px; }
.sec .docs-lang:empty { display: none; }
.frame-fold { margin: 0; padding: 18px 40px; border-top: 1px solid var(--line); }
.frame-fold summary { color: var(--ink); }
.frame-fold p { max-width: 60em; }

/* the end */
.cta-cell .btn { margin-top: 22px; }
.sec.last .gcell { padding-top: 72px; padding-bottom: 72px; }

/* footer, on the same rails */
.home .foot { background: var(--paper); padding: 0; border-top: 0; }
.home .foot .foot-grid { padding: 48px 64px 64px; }

@media (max-width: 980px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .gcell, .link-cell { padding: 28px 22px; }
  .sec .frame-head { padding: 56px 22px 32px; }
  .sec.first .cols-2 > .gcell:first-child { padding-top: 48px; }
  .hero-field .hero-grid { padding: 40px 46px; }
  .feat-cell { min-height: 0; } .feat-cell h3 { margin-top: 28px; }
  .os-cell h3 { margin-top: 28px; }
  .frame-fold { padding: 16px 22px; }
  .home .foot .foot-grid { padding: 40px 46px; }
}
@media (max-width: 560px) { .cols-4 { grid-template-columns: 1fr; } }
.os-cell .oslogo { display: block; color: var(--ink); }
.os-cell .oslogo + h3 { margin-top: 56px; }

/* breathing room: an empty band between sections, the rails running through it */
.sec { padding-top: 120px; }
.sec .wrap { position: relative; }
.sec .wrap::before { content: ""; position: absolute; top: -120px; bottom: 0; left: 24px; right: 24px; pointer-events: none;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.sec:first-of-type .wrap::before, .sec.first .wrap::before { top: -120px; }
.sec .frame { border-top: 1px solid var(--line); }
.sec.last { padding-bottom: 120px; }
.home .foot { border-top: 1px solid var(--line); }
.sec .frame-head { padding: 96px 48px 56px; }
.gcell { padding: 48px; }
.link-cell { padding: 32px 48px; }
.check-cell { padding: 28px 40px; }
.ex-text { padding: 36px 36px 32px; }
.sec .cell-wide { padding: 40px 48px; }
.frame-fold, .ex-more { padding: 22px 48px; }
@media (max-width: 860px) {
  .sec { padding-top: 64px; } .sec .wrap::before { top: -64px; } .sec.last { padding-bottom: 64px; }
  .sec .frame-head { padding: 56px 22px 32px; }
  .gcell, .link-cell, .check-cell { padding: 32px 22px; }
  .ex-text { padding: 28px 22px; } .sec .cell-wide { padding: 24px 22px; } .frame-fold, .ex-more { padding: 18px 22px; }
}
.hero-field h1 { font-size: clamp(38px, 4.6vw, 56px); }

/* wider screens: the frame grows with them */
@media (min-width: 1440px) { :root { --wrap: 1280px; } }
@media (min-width: 1680px) {
  :root { --wrap: 1440px; }
  .stage { height: 600px; }
  .hero-field h1 { font-size: 62px; }
  .sec .h-section { font-size: 48px; }
  .hero-field .hero-grid { padding-top: 88px; padding-bottom: 72px; }
}
@media (min-width: 1920px) {
  :root { --wrap: 1560px; }
  .stage { height: 640px; }
  .hero-field h1 { font-size: 68px; }
  .ex-vis { height: 300px; }
}
@media (min-width: 2400px) {
  :root { --wrap: 1720px; }
  body { font-size: 17px; }
  .feat-cell p, .cell p, .ex-text p:last-child, .check-cell p, .os-cell p, .doc-cell p { font-size: 16px; }
  .stage { height: 680px; }
}

/* security checks: a vector check in a tinted rounded square */
.check-cell { align-items: flex-start; gap: 18px; }
.ck { flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 7px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 38%, transparent); }
.ck::after { content: none; }
.ck svg { width: 15px; height: 15px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sec .arch-note { margin: 0; padding: 24px 48px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .sec .arch-note { padding: 20px 22px; } }
.sec .cell .cell-top { margin-bottom: 0; }
.sec .cell h3 { margin-top: 96px; }
.sec .cell { min-height: 0; }
@media (max-width: 860px) { .sec .cell h3 { margin-top: 36px; } }

/* the prompts are the point: chat bubbles, in plain text */
.ex-prompt { position: relative; font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink);
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--acc) 45%, var(--line)); border-radius: 14px 14px 14px 4px;
  padding: 12px 16px 14px; margin: 4px 0 18px; box-shadow: 0 6px 18px color-mix(in srgb, var(--acc) 10%, transparent); }
.ex-prompt .who { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 4px; }
.ex-prompt::before { content: "“"; position: absolute; right: 14px; top: 4px; font-size: 40px; line-height: 1; color: color-mix(in srgb, var(--acc) 22%, transparent); font-family: Georgia, serif; }
.sec .ex-prompt { color: var(--ink); }

/* ===================== the launch brand: Circuit Navy + Solar Lime, Archivo + JetBrains Mono ===================== */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("fonts/JBMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("fonts/JBMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JBMono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --navy: #0B1C15; --navy-2: #10261C; --lime: #B6FF3B;
  /* light: navy ink on a cool paper, lime as a fill, a deeper lime where text needs contrast */
  --bg: #FFFFFF; --bg-subtle: #F3F6F4; --fg: #0B1C15; --muted: #4D6358; --border: #D2DED7; --border-soft: #E2EAE5;
  --accent: #24507F; --green: #3F7D00; --btn-bg: #0B1C15; --btn-fg: #B6FF3B; --code-bg: rgba(30, 58, 45, 0.08);
  --term-bg: #06130D; --term-bar: #10261C; --term-fg: #EEF5F0; --term-muted: #8AA396; --term-light-bg: #F3F6F4;
  --logo-a: #7FC21A; --logo-c: #8AA396;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) { --bg: #0B1C15; --bg-subtle: #10261C; --fg: #EEF5F0; --muted: #8AA396; --border: #1E3A2D; --border-soft: #183326;
    --accent: #B6FF3B; --green: #B6FF3B; --btn-bg: #B6FF3B; --btn-fg: #0B1C15; --code-bg: rgba(30, 58, 45, 0.7);
    --term-bg: #06130D; --term-bar: #10261C; --term-light-bg: #10261C; --logo-a: #B6FF3B; }
}
:root[data-theme=dark] { --bg: #0B1C15; --bg-subtle: #10261C; --fg: #EEF5F0; --muted: #8AA396; --border: #1E3A2D; --border-soft: #183326;
    --accent: #B6FF3B; --green: #B6FF3B; --btn-bg: #B6FF3B; --btn-fg: #0B1C15; --code-bg: rgba(30, 58, 45, 0.7);
    --term-bg: #06130D; --term-bar: #10261C; --term-light-bg: #10261C; --logo-a: #B6FF3B; }
.home, .ex2 { --paper: #F3F6F4; --panel: #FFFFFF; --line: #D2DED7; --ink: #0B1C15; --acc: #3F6B00; --ok: #3F7D00; --run: #A86A00; }
.hero-field { --st-bg: #F3F6F4; --st-ink: #0B1C15; --st-blue: #24507F; --st-green: #4E8A00; --st-orange: #C77F00; --st-purple: #7A4FD8;
  --st-line: rgba(36, 80, 127, 0.35); --st-card: #FFFFFF; --st-muted: #4D6358; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .home, :root:not([data-theme=light]) .ex2 { --paper: #0B1C15; --panel: #10261C; --line: #1E3A2D; --ink: #EEF5F0; --acc: #B6FF3B; --ok: #B6FF3B; --run: #FFC15E; }
  :root:not([data-theme=light]) .hero-field { --st-bg: #0B1C15; --st-ink: #EEF5F0; --st-blue: #7CC4FF; --st-green: #B6FF3B; --st-orange: #FFC15E; --st-purple: #C9A7FF;
    --st-line: rgba(124, 196, 255, 0.35); --st-card: #10261C; --st-muted: #8AA396; }
}
:root[data-theme=dark] .home, :root[data-theme=dark] .ex2 { --paper: #0B1C15; --panel: #10261C; --line: #1E3A2D; --ink: #EEF5F0; --acc: #B6FF3B; --ok: #B6FF3B; --run: #FFC15E; }
:root[data-theme=dark] .hero-field { --st-bg: #0B1C15; --st-ink: #EEF5F0; --st-blue: #7CC4FF; --st-green: #B6FF3B; --st-orange: #FFC15E; --st-purple: #C9A7FF;
    --st-line: rgba(124, 196, 255, 0.35); --st-card: #10261C; --st-muted: #8AA396; }
body { font-family: var(--sans); font-stretch: 100%; }
code, kbd, pre, .mono { font-family: var(--mono); }

/* type: Archivo heavy and a little wide for headings, as in the launch kit */
.hero h1, .h-section, .h-cta, .doc-body > h1, .cell h3, .feat-cell h3, .os-cell h3, .ex-text h3, .doc-cell h3, .doc-body h2 {
  font-family: var(--sans); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.hero-field h1 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
.sec .eyebrow, .ex-prompt .who, .feat-cell .kicker, .phases .num { font-family: var(--mono); }
.ex-num { font-family: var(--sans); font-weight: 800; font-stretch: 125%; }
.ex-prompt { font-family: var(--sans); font-weight: 600; }
.brand { font-family: var(--sans); font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; gap: 10px; }

/* the logo: lime dot, line, ink dot */
.logo { width: 30px; height: 17px; flex: none; }
.logo .l-a { fill: var(--logo-a); } .logo .l-b { fill: currentColor; } .logo .l-c { stroke: var(--logo-c); stroke-width: 2.4; }
.hubdot .logo { width: 26px; height: 15px; color: var(--ink); }

/* lime where it signals: buttons, chapter progress, the pulse, claimed and passed states */
.btn { background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; }
.phases button::before { background: var(--st-green); }
.phases .num { color: var(--st-green); }
.mcard.hot { border-color: var(--st-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-green) 18%, transparent), 0 10px 30px rgba(6, 19, 13, 0.12); }
.mcard .mc-tag { color: var(--st-green); }
.leaf.on { border-color: var(--acc); }
.vis-tree .badge b, .leaf b { background: var(--ok); color: var(--paper); }
.branches path.flowing { stroke: var(--acc); }
.ex-prompt { border-color: color-mix(in srgb, var(--acc) 50%, var(--line)); box-shadow: 0 6px 18px color-mix(in srgb, var(--acc) 12%, transparent); }
.ex-prompt::before { color: color-mix(in srgb, var(--acc) 30%, transparent); }
.top-nav a.here { text-decoration-color: var(--acc, var(--accent)); }
:lang(ja) { --sans: "Archivo", -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --sans: "Archivo", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(zh-CN) { --sans: "Archivo", -apple-system, "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif; }
:lang(zh-TW) { --sans: "Archivo", -apple-system, "PingFang TC", "Microsoft JhengHei UI", "Noto Sans TC", sans-serif; }
:lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(zh-CN) :is(h1, h2, h3), :lang(zh-TW) :is(h1, h2, h3) { font-stretch: 100%; letter-spacing: 0; }
.feat-cell .cell-top { margin-bottom: 0; }
.feat-cell h3 { margin-top: 64px; }
.feat-cell .more { margin-top: auto; }
@media (max-width: 860px) { .feat-cell h3 { margin-top: 28px; } }
.ex-num { color: color-mix(in srgb, var(--ink) 32%, transparent); }

/* the theme switch: the page follows the system until the visitor picks; color-scheme follows the choice */
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }
.theme-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: -6px -4px; border: 0; border-radius: 8px;
  background: none; color: var(--fg); cursor: pointer; }
.theme-btn:hover { background: var(--bg-subtle); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .theme-btn .sun { display: block; } :root:not([data-theme=light]) .theme-btn .moon { display: none; } }
:root[data-theme=dark] .theme-btn .sun { display: block; } :root[data-theme=dark] .theme-btn .moon { display: none; }

/* the chapter bar, quieter: one accent (the progress line), the current chapter in full, the rest faint */
.phases { gap: 10px; margin-top: 14px; }
.phases button { font-size: 12px; color: color-mix(in srgb, var(--st-muted) 70%, transparent); border-top-width: 1px;
  border-top-color: color-mix(in srgb, var(--st-muted) 22%, transparent); padding-top: 9px; }
.phases button::before { height: 1px; top: -1px; }
.phases button:hover { color: var(--st-ink); }
.phases .num { color: color-mix(in srgb, var(--st-muted) 55%, transparent); font-size: 10.5px; margin-right: 5px; }
.phases button.on { color: var(--st-ink); font-weight: 600; }
.phases button.on .num { color: var(--st-green); }
.phases button.past { color: color-mix(in srgb, var(--st-muted) 85%, transparent); }
.phase-cap { font-size: 13.5px; margin-top: 8px; }
.phases button { border-top: 0; background: linear-gradient(color-mix(in srgb, var(--st-muted) 26%, transparent), color-mix(in srgb, var(--st-muted) 26%, transparent)) top left / 100% 1px no-repeat; }
.phases button::before { top: 0; height: 2px; background: var(--st-green); }

/* ---------- Ask Claude breaks the pattern: a full-width terminal-navy band, big alternating conversation cards ---------- */
.home .sec.ex2.ex2 { --paper: #06130D; --panel: #0B1C15; --line: #1E3A2D; --ink: #EEF5F0; --acc: #B6FF3B; --ok: #B6FF3B; --run: #FFC15E;
  --muted: #8AA396; --bg: #0B1C15; --border: #1E3A2D; --code-bg: rgba(30, 58, 45, 0.7); color-scheme: dark; color: var(--ink);
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(182, 255, 59, 0.07), transparent 70%), #06130D;
  padding: 140px 0 120px; margin-top: 120px; }
.home .sec.ex2.ex2 + .sec { padding-top: 120px; }
.sec.ex2 .wrap::before, .sec.ex2 .cross { display: none; }
.sec.ex2 .frame { border: 0; }
.sec.ex2 .frame-head { padding: 0 24px 72px; }
.sec.ex2 .frame-head .h-section { font-size: clamp(34px, 4.6vw, 56px); }
.sec.ex2 .ex-cols { display: flex; flex-direction: column; gap: 28px; border: 0; }
.sec.ex2 .ex-col { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.sec.ex2 .ex-col:nth-child(even) .ex-vis { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.sec.ex2 .ex-text { display: flex; flex-direction: column; justify-content: center; padding: 56px 56px 52px; }
.sec.ex2 .ex-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 18px; }
.sec.ex2 .ex-prompt { font-size: 20px; padding: 16px 20px 18px; margin-bottom: 20px; background: #06130D; }
.sec.ex2 .ex-num { margin-bottom: 10px; }
.sec.ex2 .ex-vis { height: auto; min-height: 360px; border-top: 0; border-left: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124, 196, 255, 0.06), transparent 70%), #091A12; }
.sec.ex2 .ex-more { margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.sec.ex2 .ex-more .term-light { background: #06130D; }
.sec.ex2 .tabs button { background: transparent; color: var(--ink); border-color: var(--line); }
.sec.ex2 .tabs button[aria-selected=true] { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); background: rgba(182, 255, 59, 0.06); }
.sec.ex2 .ex-copy h3 { color: var(--ink); }
@media (max-width: 900px) {
  .sec.ex2 .ex-col { grid-template-columns: 1fr; }
  .sec.ex2 .ex-col:nth-child(even) .ex-vis { order: 0; border-right: 0; }
  .sec.ex2 .ex-vis { border-left: 0; border-top: 1px solid var(--line); min-height: 300px; }
  .sec.ex2 .ex-text { padding: 32px 24px; }
  .home .sec.ex2.ex2 { padding: 80px 0 72px; margin-top: 64px; }
}
.sec.ex2 .branches { height: calc(100% - 116px - 44px); }
.sec.ex2 .leaves { bottom: 30px; }

/* ---------- Ask Claude, take three: a sheet on a gradient, square-cornered cards with a coloured glow each ---------- */
.home .sec.ex2.ex2 { --paper: #F3F6F4; --panel: #FFFFFF; --line: #D2DED7; --ink: #0B1C15; --acc: #3F6B00; --ok: #3F7D00; --run: #A86A00;
  --muted: #4D6358; --bg: #FFFFFF; --border: #D2DED7; --code-bg: rgba(30, 58, 45, 0.08); color-scheme: light; color: var(--ink);
  --c1: #3B82F6; --c2: #8CD317; --c3: #A855F7; --win: #0B1C15;
  background: radial-gradient(ellipse 60% 70% at 10% 10%, #DCEBFF, transparent 60%), radial-gradient(ellipse 50% 60% at 95% 95%, #E8FFC4, transparent 60%),
    linear-gradient(135deg, #BFD8FF 0%, #8DB8F5 45%, #CFE9A6 100%);
  padding: 120px 0; margin-top: 120px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .home .sec.ex2.ex2 { --paper: #10261C; --panel: #0B1C15; --line: #1E3A2D; --ink: #EEF5F0;
  --acc: #B6FF3B; --ok: #B6FF3B; --run: #FFC15E; --muted: #8AA396; --bg: #0B1C15; --border: #1E3A2D; --code-bg: rgba(30, 58, 45, 0.7); color-scheme: dark;
  --c1: #7CC4FF; --c2: #B6FF3B; --c3: #C9A7FF; --win: #06130D;
  background: radial-gradient(ellipse 60% 70% at 10% 10%, rgba(124, 196, 255, 0.18), transparent 60%), radial-gradient(ellipse 50% 60% at 95% 95%, rgba(182, 255, 59, 0.14), transparent 60%), #06130D; } }
:root[data-theme=dark] .home .sec.ex2.ex2 { --paper: #10261C; --panel: #0B1C15; --line: #1E3A2D; --ink: #EEF5F0;
  --acc: #B6FF3B; --ok: #B6FF3B; --run: #FFC15E; --muted: #8AA396; --bg: #0B1C15; --border: #1E3A2D; --code-bg: rgba(30, 58, 45, 0.7); color-scheme: dark;
  --c1: #7CC4FF; --c2: #B6FF3B; --c3: #C9A7FF; --win: #06130D;
  background: radial-gradient(ellipse 60% 70% at 10% 10%, rgba(124, 196, 255, 0.18), transparent 60%), radial-gradient(ellipse 50% 60% at 95% 95%, rgba(182, 255, 59, 0.14), transparent 60%), #06130D; }
.sec.ex2 .frame { background: var(--panel); border: 0; padding: 88px 96px 40px; box-shadow: 0 40px 100px rgba(6, 19, 13, 0.25); }
.sec.ex2 .frame-head { text-align: left; padding: 0 0 48px; max-width: 760px; }
.sec.ex2 .frame-head .lede { margin: 0; }
.sec.ex2 .frame-head .h-section { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
.sec.ex2 .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.sq { width: 8px; height: 8px; background: var(--c2); display: inline-block; }
.xc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xc { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 0; overflow: hidden; }
.xc-dot { position: absolute; top: 0; right: 0; width: 14px; height: 14px; }
.xc-1 .xc-dot { background: var(--c1); } .xc-2 .xc-dot { background: var(--c2); } .xc-3 .xc-dot { background: var(--c3); }
.xc h3 { font-size: 18px; font-weight: 700; font-stretch: 100%; letter-spacing: -0.01em; color: var(--ink); margin: 28px 28px 8px; }
.xc > p { margin: 0 28px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.xc-vis { position: relative; flex: 1; margin-top: 28px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 44px 22px 28px; }
.xc-1 .xc-vis { background: radial-gradient(ellipse 80% 75% at 40% 85%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 70%); }
.xc-2 .xc-vis { background: radial-gradient(ellipse 80% 75% at 50% 85%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%); }
.xc-3 .xc-vis { background: radial-gradient(ellipse 80% 75% at 60% 85%, color-mix(in srgb, var(--c3) 50%, transparent), transparent 70%); }
.xc-pill { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: 4px 10px; }
.xc-pill i { width: 6px; height: 6px; background: var(--ok); display: inline-block; }
.xc-win { width: 100%; background: var(--win); color: #EEF5F0; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 18px 40px rgba(6, 19, 13, 0.35); }
.sec .xc-ask { margin: 0; padding: 14px 16px; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.4; color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.xc-ask .who { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #B6FF3B; margin-bottom: 4px; }
.xc-body { padding: 10px 16px 14px; font-size: 12px; }
.xr { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; padding: 4px 0; color: #C3D3CA; }
.xr b { font-weight: 700; color: #8AA396; }
.xr em { font-style: normal; color: #8AA396; font-size: 11px; }
.xr.ok b { color: #B6FF3B; } .xr.run b, .xr.busy b { color: #FFC15E; } .xr.warn b { color: #FF7A6B; } .xr.work b { color: #7CC4FF; }
.xr.hi { background: rgba(255, 255, 255, 0.06); margin: 2px -8px; padding: 5px 8px; color: #FFFFFF; }
.xr.wait { opacity: 0.6; }
.xc-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line); }
.sec .xc-strip p { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.xc-strip ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.xc-strip li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: 6px 11px; }
.xc-strip li i { width: 7px; height: 7px; background: var(--c2); }
.xc-strip li:nth-child(2) i { background: var(--c1); } .xc-strip li:nth-child(3) i { background: var(--c3); } .xc-strip li:nth-child(4) i { background: var(--run); } .xc-strip li:nth-child(5) i { background: var(--muted); }
.sec.ex2 .ex-more { margin-top: 24px; border-radius: 0; background: var(--paper); border: 0; }
.sec.ex2 .ex-more .term-light { background: var(--panel); }
@media (max-width: 1100px) { .sec.ex2 .frame { padding: 64px 40px 32px; } }
@media (max-width: 900px) {
  .xc-grid { grid-template-columns: 1fr; }
  .sec.ex2 .frame { padding: 48px 20px 24px; }
  .home .sec.ex2.ex2 { padding: 48px 0; margin-top: 64px; }
}

/* the window: the question on the darkest band, the answer on a lighter, textured panel */
.xc-win { background: #06130D; }
.sec .xc-ask { background: #040F0A; border-bottom: 1px solid rgba(182, 255, 59, 0.18); }
.xc-body { position: relative; background:
    radial-gradient(rgba(238, 243, 248, 0.06) 1px, transparent 1.2px) 0 0 / 14px 14px,
    linear-gradient(180deg, #183326, #11281D); padding: 10px 16px 14px; }
.xc-from { display: block; font-size: 10.5px; letter-spacing: 0.05em; color: #8AA396; margin: 2px 0 6px; }
.xr.hi { background: rgba(6, 19, 13, 0.55); }

/* the real commands, always shown */
.sec.ex2 .ex-more { margin-top: 32px; padding: 36px 36px 32px; background: var(--paper); }
.sec .ex-more-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.sec.ex2 .ex-more .tabs { margin-top: 20px; }
.sec.ex2 .ex-more .term-play pre { min-height: 260px; }
@media (max-width: 900px) { .sec.ex2 .ex-more { padding: 24px 16px; } }

/* the command tabs, in the page's language: square cells on hairlines, a mono number, a lime bar on the active one */
.sec.ex2 .ex-more .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin: 20px 0 28px; }
.sec.ex2 .ex-more .tabs button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  border: 0; border-radius: 0; box-shadow: none; background: var(--panel); color: var(--muted); padding: 16px 18px 18px;
  font-size: 15px; font-weight: 600; text-align: left; transition: background 0.15s, color 0.15s; }
.sec.ex2 .ex-more .tabs button:hover { color: var(--ink); background: color-mix(in srgb, var(--panel) 85%, var(--ink) 4%); }
.sec.ex2 .ex-more .tabs button[aria-selected=true] { color: var(--ink); background: var(--paper); box-shadow: inset 0 2px 0 var(--acc); }
.sec.ex2 .ex-more .tabs .tn { font-family: var(--mono); font-size: 11px; font-weight: 400; color: color-mix(in srgb, var(--muted) 80%, transparent); }
.sec.ex2 .ex-more .tabs button[aria-selected=true] .tn { color: var(--acc); }
.sec.ex2 .ex-more .tabs button:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
@media (max-width: 760px) { .sec.ex2 .ex-more .tabs { grid-template-columns: 1fr 1fr; } .sec.ex2 .ex-more .tabs button { gap: 10px; } }

/* the steps inside each tab: the same small mono number as the tabs and How it works */
.ex-copy h3 { display: flex; flex-direction: column; gap: 6px; }
.ex-copy h3 .tn { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: color-mix(in srgb, var(--muted) 80%, transparent); }

/* no numbers: the order is plain without them */
.sec.ex2 .ex-more .tabs button { gap: 0; padding: 18px 18px 18px; }
.ex-copy h3 { display: block; }

/* What it does: a hue per icon, on a tinted square tile */
.feat-cell { --h: #24507F; }
.feat-cell:nth-child(1) { --h: #1D6FD1; } .feat-cell:nth-child(2) { --h: #4E8A00; } .feat-cell:nth-child(3) { --h: #7A4FD8; }
.feat-cell:nth-child(4) { --h: #B7791F; } .feat-cell:nth-child(5) { --h: #D2503F; } .feat-cell:nth-child(6) { --h: #0F8B8D; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .feat-cell:nth-child(1) { --h: #7CC4FF; } :root:not([data-theme=light]) .feat-cell:nth-child(2) { --h: #B6FF3B; }
  :root:not([data-theme=light]) .feat-cell:nth-child(3) { --h: #C9A7FF; } :root:not([data-theme=light]) .feat-cell:nth-child(4) { --h: #FFC15E; }
  :root:not([data-theme=light]) .feat-cell:nth-child(5) { --h: #FF7A6B; } :root:not([data-theme=light]) .feat-cell:nth-child(6) { --h: #4FD8C4; }
}
:root[data-theme=dark] .feat-cell:nth-child(1) { --h: #7CC4FF; } :root[data-theme=dark] .feat-cell:nth-child(2) { --h: #B6FF3B; }
:root[data-theme=dark] .feat-cell:nth-child(3) { --h: #C9A7FF; } :root[data-theme=dark] .feat-cell:nth-child(4) { --h: #FFC15E; }
:root[data-theme=dark] .feat-cell:nth-child(5) { --h: #FF7A6B; } :root[data-theme=dark] .feat-cell:nth-child(6) { --h: #4FD8C4; }
.feat-cell .cell-top .px { color: var(--h); box-sizing: content-box; width: 32px; height: 32px; padding: 10px;
  background: color-mix(in srgb, var(--h) 13%, transparent); border: 1px solid color-mix(in srgb, var(--h) 30%, transparent); }
.feat-cell:hover .cell-top .px { background: color-mix(in srgb, var(--h) 20%, transparent); }
.feat-cell .cell-top .px, .feat-cell:hover .cell-top .px { padding: 0; width: 40px; height: 40px; background: none; border: 0; }
.sec .feat-cell h3 { font-weight: 600; font-stretch: 100%; letter-spacing: -0.012em; font-size: clamp(20px, 1.9vw, 24px); }

/* type rule: section titles bold; every title inside a section semibold, normal width */
.sec .cell h3, .sec .feat-cell h3, .sec .os-cell h3, .sec .doc-cell h3, .xc h3, .sec .ex-copy h3, .sec .ex-more-title, .sec .ex-text h3,
.doc-body h3, .doc-body h4, .mc-head b {
  font-weight: 600; font-stretch: 100%; letter-spacing: -0.012em; }
.sec .cell h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.sec .os-cell h3 { font-size: 22px; }

/* lighter overall: one step down everywhere, so the page scans by hierarchy, not by weight */
.hero-field h1, .hero h1 { font-weight: 700; font-stretch: 110%; }
.h-section, .sec .h-section, .h-cta, .sec .h-cta, .doc-body > h1, .doc-body h2 { font-weight: 700; font-stretch: 106%; }
.sec .cell h3, .sec .feat-cell h3, .sec .os-cell h3, .sec .doc-cell h3, .xc h3, .sec .ex-copy h3, .sec .ex-more-title, .sec .ex-text h3,
.doc-body h3, .doc-body h4, .mc-head b, .link-cell strong, .vis-steps .row.big { font-weight: 500; }
.sec .xc-ask, .ex-prompt, .sec.ex2 .ex-prompt { font-weight: 500; }
.btn { font-weight: 600; }
.brand { font-weight: 600; }
.check-cell strong { font-weight: 600; }
.sec.ex2 .ex-more .tabs button, .phases button { font-weight: 500; }
.sec.ex2 .ex-more .tabs button[aria-selected=true], .phases button.on { font-weight: 600; }
.top-nav a[aria-current], .lang-menu li a[aria-current] { font-weight: 500; }
.nav-group, .doc-nav .nav-group { font-weight: 600; }
.doc-nav a[aria-current=page] { font-weight: 500; }
.doc-body th { font-weight: 600; }

/* ---------- security: out of the frame, two dark halftone panels (dark in both themes) ---------- */
.sec-break { background: #040D09; color: #EEF5F0; padding: 140px 0; margin-top: 120px; color-scheme: dark; }
.sec-break + .sec { padding-top: 120px; }
.sb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sb-panel { position: relative; min-height: 640px; background: #08150F; border: 1px solid rgba(238, 243, 248, 0.06); overflow: hidden; }
.halftone { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb-blue::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 50% at 30% 52%, rgba(8, 21, 15, 0.85), transparent 75%); }
.sb-lime::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 30%, rgba(8, 21, 15, 0.92) 62%); }
.sb-in { position: relative; z-index: 1; height: 100%; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 64px 56px; }
.sb-lime .sb-in { justify-content: flex-end; }
.sb-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7CC4FF; margin: 0 0 18px; }
.sb-title { font-size: clamp(34px, 3.6vw, 50px); font-weight: 500; font-stretch: 100%; letter-spacing: -0.02em; line-height: 1.08; color: #FFFFFF; margin: 0 0 22px; max-width: 13em; }
.sb-lede { font-size: 18px; line-height: 1.55; color: #C3D3CA; margin: 0 0 14px; max-width: 30em; }
.sb-trust { font-size: 15px; line-height: 1.6; color: #8AA396; margin: 0 0 22px; max-width: 32em; }
.sb-trust code { background: rgba(124, 196, 255, 0.12); color: #EEF5F0; }
.sb-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.sb-links a { color: #EEF5F0; font-size: 14.5px; }
.sb-logo { width: 38px; height: 21px; color: #EEF5F0; margin-bottom: 26px; --logo-a: #B6FF3B; --logo-c: #8AA396; }
.sb-list { list-style: none; margin: 0; padding: 0; }
.sb-list li { padding: 14px 0; border-top: 1px solid rgba(238, 243, 248, 0.1); font-size: 15px; line-height: 1.55; color: #A9B8AF; }
.sb-list li:last-child { border-bottom: 1px solid rgba(238, 243, 248, 0.1); }
.sb-list strong { color: #FFFFFF; font-weight: 500; }
.sb-sign { margin: 22px 0 0; font-size: 12.5px; color: #8AA396; font-family: var(--mono); }
@media (max-width: 900px) {
  .sb-grid { grid-template-columns: 1fr; }
  .sb-panel, .sb-in { min-height: 0; }
  .sb-in { padding: 48px 24px; }
  .sec-break { padding: 64px 0; margin-top: 64px; }
}
.sb-blue::after { background: radial-gradient(ellipse 72% 62% at 36% 56%, rgba(8, 21, 15, 0.96), rgba(8, 21, 15, 0.6) 55%, transparent 80%); }
.sb-lime::after { background: linear-gradient(180deg, transparent 18%, rgba(8, 21, 15, 0.95) 42%); }
.sb-panel, .sb-in { min-height: 680px; }
.sb-blue .sb-in { padding-right: 24%; }
@media (max-width: 900px) { .sb-blue .sb-in { padding-right: 24px; } }

/* Ask Claude cards: a halftone glow in each card's colour instead of a soft gradient */
.xc-1 .xc-vis, .xc-2 .xc-vis, .xc-3 .xc-vis { background: none; }
.xc-vis .halftone { z-index: 0; }
.xc-pill, .xc-win { position: relative; z-index: 1; }
.xc-pill { position: absolute; }
.xc-vis { padding: 60px 0 56px; min-height: 340px; }
.xc-win { width: 84%; }
@media (max-width: 900px) { .xc-win { width: 88%; } }

/* Ask Claude, flattened: one surface (the security band), cards straight on it, the page's edges */
:root:root:root .home .sec.ex2.ex2.ex2 { --paper: #08150F; --panel: #040D09; --line: rgba(238, 243, 248, 0.08); --ink: #EEF5F0; --acc: #B6FF3B;
  --ok: #B6FF3B; --run: #FFC15E; --muted: #8AA396; --bg: #08150F; --border: rgba(238, 243, 248, 0.08); --code-bg: rgba(124, 196, 255, 0.12);
  --c1: #7CC4FF; --c2: #B6FF3B; --c3: #C9A7FF; --win: #06130D; color-scheme: dark; color: var(--ink);
  background: #040D09; padding: 140px 0; margin-top: 120px; }
.sec.ex2 .frame { background: none; padding: 0; box-shadow: none; border: 0; }
.sec.ex2 .frame-head { padding: 0 0 56px; }
.sec.ex2 .eyebrow { color: #7CC4FF; }
.xc { background: #08150F; border: 1px solid rgba(238, 243, 248, 0.06); }
.xc-win { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.xc-pill { background: #040D09; }
.xc-strip { margin-top: 48px; }
.xc-strip li { background: transparent; }
.sec.ex2 .ex-more { margin-top: 48px; padding: 40px 0 0; background: none; border: 0; border-top: 1px solid var(--line); }
.sec.ex2 .ex-more .term-light { background: #08150F; }
.sec.ex2 .ex-more .tabs button { background: #040D09; }
.sec.ex2 .ex-more .tabs button[aria-selected=true] { background: #08150F; }
.sec-break + .sec, .sec.ex2 + .sec { padding-top: 120px; }
.sec.ex2 a, .sec-break a { color: #EEF5F0; }
.sec.ex2 a:hover, .sec-break a:hover { color: #B6FF3B; }

/* the agents: logos and names in translucent light grey, centred on the line */
.xc-strip { align-items: center; }
.xc-strip ul { align-items: center; gap: 10px 30px; }
.xc-strip li, .xc-strip li:nth-child(n) { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 0;
  font-size: 14px; font-weight: 500; color: rgba(238, 243, 248, 0.5); }
.xc-strip li svg { width: 18px; height: 18px; flex: none; }
.xc-strip li i { display: none; }
.xc-strip { border-top: 0; padding: 0; margin: 56px 0; }
.sec.ex2 .ex-more { border-top: 0; margin-top: 0; padding-top: 24px; }
.sec.ex2 .ex-more { padding-top: 0; }

/* See the commands: its own quiet panel, a terminal-screen texture and one lime accent */
.sec.ex2 .ex-more { position: relative; padding: 40px 40px 36px; border: 1px solid rgba(238, 243, 248, 0.07);
  background: radial-gradient(rgba(238, 243, 248, 0.045) 1px, transparent 1.3px) 0 0 / 18px 18px,
    linear-gradient(180deg, #0A1A12, #08150F); }
.sec.ex2 .ex-more::before { content: ""; position: absolute; top: -1px; left: -1px; width: 72px; height: 2px; background: #B6FF3B; }
.sec.ex2 .ex-more .tabs button { background: #06130D; }
.sec.ex2 .ex-more .tabs button[aria-selected=true] { background: #0B1C15; }
.sec.ex2 .ex-more .term-light { background: #06130D; }
@media (max-width: 900px) { .sec.ex2 .ex-more { padding: 28px 16px; } }

/* ---------- terminal windows, after the launch kit: macOS chrome, a centred title, a deep screen ---------- */
.term { background: #06130D; color: #DCE6E0; border: 1px solid #2A4537; border-radius: 8px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32); }
.term-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 14px;
  background: #1C2B24; border-bottom: 1px solid #0A140F; color: #A9B8AF; }
.term-bar .dots { flex: none; width: 52px; height: 12px;
  background: radial-gradient(circle at 6px 6px, #FF5F57 5.5px, transparent 6px), radial-gradient(circle at 26px 6px, #FEBC2E 5.5px, transparent 6px),
    radial-gradient(circle at 46px 6px, #28C840 5.5px, transparent 6px); }
.term-bar > span:not(.dots) { position: absolute; left: 80px; right: 80px; text-align: center; font-family: var(--sans); font-size: 12.5px;
  font-weight: 600; color: #A9B8AF; pointer-events: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-bar .copy, .term-bar .replay { position: relative; z-index: 1; margin-left: auto; font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  color: #C3D3CA; border: 1px solid rgba(238, 243, 248, 0.16); border-radius: 5px; padding: 3px 9px; background: rgba(238, 243, 248, 0.04); }
.term-bar .copy:hover, .term-bar .replay:hover { border-color: rgba(238, 243, 248, 0.4); color: #FFFFFF; }
.term-bar .copy.done { color: #B6FF3B; border-color: rgba(182, 255, 59, 0.5); }
.term pre { font-family: var(--mono); font-size: 13px; line-height: 1.7; padding: 16px 20px 18px; color: #DCE6E0; }
.term pre.prompt { font-size: 14px; }
.term .pr { color: #B6FF3B; }
.term .c { color: #FFFFFF; font-weight: 700; }
.term .m { color: #6F8578; }
.term .ok { color: #B6FF3B; } .term .bad { color: #FF7A6B; } .term .warn { color: #FFC15E; } .term .hl { color: #7CC4FF; font-weight: 700; }
/* the light boxes in Get started: the same window, a lighter screen */
.term-light { background: var(--term-light-bg); border-color: var(--border); box-shadow: none; }
.term-light .term-bar { background: transparent; border-bottom: 1px solid var(--border-soft); height: 34px; }
.term-light .term-bar > span:not(.dots) { position: static; text-align: left; color: var(--muted); }
.term-light .term-bar .copy { color: var(--muted); border-color: var(--border); background: transparent; }
.term-light pre { color: var(--fg); padding-top: 12px; }
.sec.ex2 .ex-more .term-light { background: #06130D; border-color: #2A4537; }
.sec.ex2 .ex-more .term-light .term-bar > span:not(.dots) { color: #A9B8AF; }

/* the hero gets a quiet halftone of its own */
.hero-field { position: relative; }
.hero-ht { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-field .hero-grid { position: relative; z-index: 1; }
.hero-field .hero-grid::before { content: none; }
.mcard.dim { opacity: 1; }
.mcard.dim > :not(.pin) { opacity: 0.5; }

/* ---------- Choose where to start: a Solar Lime directory, out of the frame (lime in both themes) ---------- */
.sec-lime { background: #B6FF3B; color: #0B1C15; padding: 140px 0 120px; margin-top: 120px; color-scheme: light; }
.sec-lime + .sec { padding-top: 120px; }
.dl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; }
.dl-title { margin: 0; font-size: clamp(44px, 6.4vw, 92px); font-weight: 700; font-stretch: 110%; letter-spacing: -0.035em; line-height: 0.98; color: #0B1C15; max-width: 9em; }
.dl-side { text-align: right; }
.dl-note { margin: 0 0 8px; font-size: 14px; color: rgba(11, 28, 21, 0.7); }
.dl-note:empty { display: none; }
.sec-lime .dl-all { color: #0B1C15; font-weight: 600; font-size: 16px; }
.dl-groups { border-top: 2px solid #0B1C15; }
.dl-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding: 36px 0; border-bottom: 1px solid rgba(11, 28, 21, 0.25); }
.dl-meta h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; font-stretch: 100%; color: #0B1C15; }
.dl-meta p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(11, 28, 21, 0.72); max-width: 26em; }
.dl-links { list-style: none; margin: -8px 0 0; padding: 0; }
.dl-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 0; text-decoration: none; color: #0B1C15;
  font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; letter-spacing: -0.015em; border-bottom: 1px solid rgba(11, 28, 21, 0.15);
  transition: background 0.18s, color 0.18s, padding 0.18s; }
.dl-links li:last-child a { border-bottom: 0; }
.dl-links a b { font-weight: 400; transition: transform 0.18s; }
.dl-links a:hover, .dl-links a:focus-visible { background: #0B1C15; color: #B6FF3B; padding-left: 18px; outline: none; }
.dl-links a:hover b, .dl-links a:focus-visible b { transform: translateX(-4px); }
.dl-body { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(11, 28, 21, 0.8); }
.sec-lime .dl-body a { color: #0B1C15; font-weight: 600; }
.sec-lime a:hover { color: #0B1C15; }
.sec-lime .dl-links a:hover { color: #B6FF3B; }
@media (max-width: 860px) {
  .dl-group { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .dl-side { text-align: left; }
  .sec-lime { padding: 72px 0 56px; margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .dl-links a, .dl-links a b { transition: none; } }

/* the closing section: no rails, no frame, no dividers */
#questions .wrap::before, #questions .cross { display: none; }
#questions .frame { border: 0; }
#questions .gcells { background: transparent; gap: 0 64px; }
#questions .gcell { padding-left: 0; padding-right: 0; }

/* Any mix of machines: no lines, only the logos in boxes */
#platforms .wrap::before, #platforms .cross { display: none; }
#platforms .frame { border: 0; }
#platforms .frame-head { border-bottom: 0; padding-left: 0; padding-right: 0; padding-bottom: 24px; }
#platforms .gcells { background: transparent; gap: 0 40px; }
#platforms .gcell { padding: 32px 0 0; }
#platforms .oslogo { box-sizing: content-box; width: 30px; height: 30px; padding: 16px; border: 1px solid var(--line); background: var(--panel); }
#platforms .oslogo + h3 { margin-top: 28px; }
@media (max-width: 980px) { #platforms .gcells { gap: 8px 32px; } }

/* Any mix of machines: each column its own box (logo and text), nothing else */
#platforms .oslogo { padding: 0; border: 0; background: none; width: 34px; height: 34px; }
#platforms .gcells { gap: 16px; }
#platforms .gcell { padding: 40px; border: 1px solid var(--line); background: var(--paper); }
#platforms .oslogo + h3 { margin-top: 56px; }
@media (max-width: 860px) { #platforms .gcell { padding: 28px 22px; } #platforms .oslogo + h3 { margin-top: 28px; } }

/* What it does: each feature its own box, nothing else */
#features .wrap::before, #features .cross { display: none; }
#features .frame { border: 0; }
#features .frame-head { border-bottom: 0; padding-left: 0; padding-right: 0; padding-bottom: 40px; }
#features .gcells { background: transparent; gap: 16px; }
#features .feat-cell { border: 1px solid var(--line); background: var(--paper); padding: 40px; }
#features .feat-cell:hover { background: var(--panel); }
@media (max-width: 860px) { #features .feat-cell { padding: 28px 22px; } }

/* Get started and How it works: boxes only, no rails or dividers (and the footer follows) */
#get-started .wrap::before, #get-started .cross, #how .wrap::before, #how .cross { display: none; }
#get-started .frame, #how .frame { border: 0; }
#get-started .gcells, #how .cells { background: transparent; gap: 16px; }
#get-started .gcells.cols-2 { align-items: start; }
#get-started .cols-2 > .gcell:first-child { padding: 40px 32px 0 0; background: transparent; }
#get-started .gcell.tint { border: 1px solid var(--line); background: var(--panel); padding: 40px; }
#get-started .links-row { margin-top: 16px; }
#get-started .link-cell { border: 1px solid var(--line); background: var(--paper); padding: 28px 32px; }
#get-started .link-cell:hover { background: var(--panel); }
#how .frame-head { border-bottom: 0; padding-left: 0; padding-right: 0; padding-bottom: 40px; }
#how .cells { display: grid; }
#how .cell { border: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--paper); }
#how .cell.feat { background: var(--panel); }
#how .arch-note { border: 0; background: none; padding: 24px 0 0; }
.home .foot .foot-grid::before { content: none; }
.home .foot { border-top: 0; }
@media (max-width: 860px) {
  #get-started .cols-2 > .gcell:first-child { padding: 24px 0 8px; }
  #get-started .gcell.tint { padding: 24px 18px; }
  #how .cell { border-bottom: 1px solid var(--line); }
}

/* the hero (and the header above it) on the Ask Claude band's near-black green, in both themes */
:root:root .home .hero-field.hero-field { --st-bg: #040D09; --st-ink: #EEF5F0; --st-blue: #7CC4FF; --st-green: #B6FF3B; --st-orange: #FFC15E; --st-purple: #C9A7FF;
    --st-line: rgba(124, 196, 255, 0.35); --st-card: #08150F; --st-muted: #8AA396;
    --bg: #040D09; --bg-subtle: #08150F; --fg: #EEF5F0; --muted: #8AA396; --border: #1E3A2D; --border-soft: #14281E;
    --btn-bg: #B6FF3B; --btn-fg: #0B1C15; --accent: #B6FF3B; --line: #1E3A2D; --logo-a: #B6FF3B; color-scheme: dark;
  background: #040D09; color: var(--st-ink); border-bottom: 0; }
:root:root .home .top.top { --st-bg: #040D09; --st-ink: #EEF5F0; --st-blue: #7CC4FF; --st-green: #B6FF3B; --st-orange: #FFC15E; --st-purple: #C9A7FF;
    --st-line: rgba(124, 196, 255, 0.35); --st-card: #08150F; --st-muted: #8AA396;
    --bg: #040D09; --bg-subtle: #08150F; --fg: #EEF5F0; --muted: #8AA396; --border: #1E3A2D; --border-soft: #14281E;
    --btn-bg: #B6FF3B; --btn-fg: #0B1C15; --accent: #B6FF3B; --line: #1E3A2D; --logo-a: #B6FF3B; color-scheme: dark;
  background: rgba(4, 13, 9, 0.92); border-bottom-color: rgba(238, 245, 240, 0.08); color: var(--fg); }
.home .top .top-nav a, .home .top .brand, .home .top .gh, .home .top .theme-btn, .home .top .lang-menu summary { color: #EEF5F0; }
.home .top .lang-menu ul { background: #08150F; border-color: #1E3A2D; }
.home .top .lang-menu li a { color: #EEF5F0; }
.home .top .lang-menu li a:hover, .home .top .theme-btn:hover, .home .top .lang-menu summary:hover { background: rgba(238, 245, 240, 0.06); }
.hero-field .lede { color: #A9B8AF; }
.hero-field .link-arrow { color: #EEF5F0; }

/* Ask Claude cards: the window to the left, a gutter on the right for the dot column (as in Security) */
.xc-vis { align-items: flex-start; padding: 64px 0 40px 22px; }
.xc-win { width: 76%; }
.xc-pill { left: 22px; transform: none; top: 22px; }
@media (max-width: 900px) { .xc-win { width: 80%; } }
#get-started .gcells.cols-2 { align-items: center; }
#get-started .cols-2 > .gcell:first-child { padding-top: 0; }

/* ---------- the hero as a hand-drawn story: chalk on the dark green ---------- */
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
.stage.sketch-stage { height: auto; }
.sketch { display: block; width: 100%; height: auto; overflow: visible; }
.sketch .ink { fill: none; stroke: rgba(238, 245, 240, 0.9); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.sketch .chalk { filter: url(#chalky); }
.sketch .chalk.lime .ink { stroke: #B6FF3B; }
.sketch .chalk.blue .ink { stroke: #7CC4FF; }
.sketch .eye { fill: rgba(238, 245, 240, 0.9); }
.sketch [data-t]:not(.ink) { opacity: 0; }
.sketch foreignObject { overflow: visible; }
.hand { width: 100%; height: 100%; display: flex; align-items: center; font-family: "Caveat", "Segoe Print", "Bradley Hand", var(--sans);
  font-size: 22px; font-weight: 600; line-height: 1.08; color: rgba(238, 245, 240, 0.94); }
.hand.say { font-size: 21px; padding: 0 4px; }
.hand .mono { font-family: var(--mono); font-size: 14px; font-weight: 400; }
.hand.label { font-size: 19px; font-weight: 500; color: #A9B8AF; }
.hand.lime, .hand .lime { color: #B6FF3B; }
.hand.blue { color: #7CC4FF; }
.hand .amber { color: #FFC15E; }
.hand.dim { color: #8AA396; font-weight: 500; }
.hand.code { justify-content: center; font-size: 32px; font-weight: 700; letter-spacing: 0.05em; color: #EEF5F0; }
.hand.screen { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 6px 4px 0; font-size: 20px; }
.hand.zzz { font-size: 28px; }
.sketch .pkg { fill: #06130D; stroke: #7CC4FF; stroke-width: 2; stroke-linejoin: round; }
.sketch .sticky { fill: #FFC15E; }
.hand.sticky-t { justify-content: center; color: #0B1C15; font-size: 18px; font-weight: 700; }
.sketch .route { fill: none; stroke: none; }
:lang(ja) .hand, :lang(ko) .hand, :lang(zh-CN) .hand, :lang(zh-TW) .hand { font-weight: 500; }
.hand.center { justify-content: center; text-align: center; }
:lang(ja) .hand, :lang(ko) .hand, :lang(zh-CN) .hand, :lang(zh-TW) .hand { font-size: 17px; }
:lang(ja) .hand.say, :lang(ko) .hand.say, :lang(zh-CN) .hand.say, :lang(zh-TW) .hand.say { font-size: 16px; }
:lang(ja) .hand.label, :lang(ko) .hand.label, :lang(zh-CN) .hand.label, :lang(zh-TW) .hand.label { font-size: 15px; }
:lang(ja) .hand.code, :lang(ko) .hand.code, :lang(zh-CN) .hand.code, :lang(zh-TW) .hand.code { font-size: 30px; }
.hand.dim, .hand.lime, .hand.blue, .hand.label { white-space: nowrap; }
.hero-field h1, .hero h1 { font-weight: 600; font-stretch: 104%; }
