/* Copyright (c) 2026 The Orbit Authors. All rights reserved.
   Use of this source code is governed by a BSD-style license that can be
   found in the LICENSE file. */

/* White, quiet, one accent: the blue of the Orbit logo. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --surface: #ffffff;
  --nav-bg: rgba(255, 255, 255, .95);
  --ink: #202124;
  --ink-soft: #3c4043;
  --muted: #5f6368;
  --line: #dadce0;
  --line-soft: #e8eaed;
  --accent: #2f6fb0;
  --accent-deep: #245488;
  --accent-wash: #e9f1fa;
  --code-bg: #f1f3f4;
  --shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
  --shadow-lg: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
  --ok: #0d652d;
  --partial: #6d4c00;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --measure: 44rem;
  --wide: 76rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: var(--mono); font-size: 0.875em; }
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; color: var(--ink); }
pre {
  background: var(--code-bg);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
  line-height: 1.5;
}
pre code { background: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: 2.25rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1.125rem; font-weight: 500; margin: 1.5rem 0 0.4rem; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow); }
table { border-collapse: collapse; margin: 0.6rem 0 1.4rem; display: block; overflow-x: auto; max-width: 100%; font-size: 0.925rem; }
th, td { text-align: left; padding: 0.45rem 0.8rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-weight: 500; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.3rem 0; }
li p { margin: 0; }
strong { font-weight: 500; }

/* top bar */
nav.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.6rem;
  padding: 0.55rem 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.925rem;
}
nav.site a { color: var(--muted); font-weight: 500; }
nav.site a:hover { color: var(--ink); text-decoration: none; }
nav.site a.brand { display: flex; align-items: center; margin-right: 0.4rem; }
nav.site a.brand img { height: 26px; width: auto; border-radius: 0; box-shadow: none; }
nav.site .spacer { flex: 1; }
nav.site a.cta {
  color: #fff; background: var(--accent); padding: 0.4rem 0.95rem; border-radius: 999px;
}
nav.site a.cta:hover { background: var(--accent-deep); }
nav.site a[aria-current="page"] { color: var(--ink); }

main.doc { max-width: var(--measure); margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
main.wide { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem 5rem; }
footer.site {
  max-width: var(--wide); margin: 0 auto; padding: 2rem 1.5rem 3rem;
  color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line-soft);
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
footer.site a { color: var(--muted); }

/* landing */
.hero { text-align: center; max-width: 56rem; margin: 3.4rem auto 1.6rem; }
.hero.compact { margin: 0.85rem auto 0.65rem; max-width: 46rem; }
.hero.compact h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 auto 0.35rem;
}
.hero.compact .lede {
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 42rem;
}
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 400; margin: 0 auto 1rem;
  letter-spacing: -0.02em; max-width: 18em; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); margin: 0 auto 1.2rem; max-width: 42rem; }
.hero .actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
  display: inline-block; padding: 0.6rem 1.3rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  border: 1px solid var(--line); color: var(--accent-deep); background: var(--surface);
}
.btn:hover { background: var(--bg-soft); text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-deep); }

.embed {
  border-radius: 12px;
  overflow: hidden;
  background: #0b0c0e;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.embed iframe { display: block; width: 100%; height: min(70vh, 720px); min-height: 420px; border: 0; }
/* The home-page demo is the first thing under the headline. Size it to the
   leftover viewport so the capture is on screen before any scroll. */
.demo { margin: 0; }
.demo .embed iframe {
  height: min(720px, calc(100svh - 18rem));
  min-height: 260px;
}
.caption {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--muted); margin: 0.7rem 0.2rem 0;
}
.facts { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0.9rem 0 0; }

.section { margin: 4rem auto 0; }
.section h2 { text-align: center; font-size: 1.75rem; margin: 0 0 0.4rem; }
.section .sub { text-align: center; color: var(--muted); margin: 0 auto 2rem; max-width: 40rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem 1.2rem;
  transition: box-shadow .15s ease;
}
.card:hover { box-shadow: var(--shadow); }
.kicker, .card .kicker { color: var(--accent); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.4rem; }
.hero .kicker { margin-bottom: 0.7rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0 0 0.7rem; color: var(--ink-soft); font-size: 0.97rem; }
.card a.more { font-weight: 500; font-size: 0.925rem; }
.card.primary { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-wash), var(--surface) 70%); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 720px) {
  .two { grid-template-columns: 1fr; }
  .embed iframe { height: 70vh; min-height: 360px; }
  .demo .embed iframe {
    height: min(640px, calc(100svh - 16rem));
    min-height: 240px;
  }
}
.keys { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); text-align: center; margin: 2.5rem 0 0; }

/* Dark theme: opt-in via the toggle. Light stays the default. */
:root[data-theme="dark"] {
  --bg: #0e1217;
  --bg-soft: #141920;
  --surface: #171b21;
  --nav-bg: rgba(14, 18, 23, .92);
  --ink: #e6e9ee;
  --ink-soft: #c2c8d0;
  --muted: #8b939e;
  --line: #262c34;
  --line-soft: #1e232b;
  --accent: #6aa9e0;
  --accent-deep: #8fc0ee;
  --accent-wash: #15263a;
  --code-bg: #171b21;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 3px 1px rgba(0,0,0,.3);
  --shadow-lg: 0 1px 3px rgba(0,0,0,.4), 0 6px 16px 3px rgba(0,0,0,.35);
  --ok: #81c995;
  --partial: #f0c36a;
  color-scheme: dark;
}
:root { color-scheme: light; }

.theme-toggle {
  flex: none; align-self: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .02em;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .75rem; cursor: pointer; line-height: 1;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }

/* ---- landing page ---- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
img, video, pre, iframe { max-width: 100%; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:focus-visible, nav.site a.cta:focus-visible {
  outline-color: var(--ink);
}
.skip {
  position: absolute; left: max(0.75rem, env(safe-area-inset-left)); top: -3.2rem; z-index: 40;
  background: var(--accent); color: #fff; padding: 0.45rem 0.85rem; border-radius: 8px;
}
.skip:focus { top: 0.5rem; text-decoration: none; }
nav.site { flex-wrap: nowrap; row-gap: 0.35rem; }
nav.site a, nav.site .theme-toggle { white-space: nowrap; }
nav.site, main.wide, footer.site {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}
footer.site { padding-bottom: 3rem; }
@media (max-width: 720px) {
  nav.site { gap: 0.55rem; font-size: 0.84rem; }
  nav.site a.nav-more { display: none; }
  nav.site a.cta { padding: 0.35rem 0.7rem; }
  .hero.compact { margin: 0.65rem auto 0.45rem; }
}
@media (max-width: 450px) {
  .hero h1 { font-size: 1.3rem; max-width: none; }
  /* The longer headline sits above the demo. Shrink the frame so it still
     ends inside a 390 by 844 screen. */
  .demo .embed iframe {
    height: min(640px, calc(100svh - 20.5rem));
    min-height: 220px;
  }
}
::selection { background: var(--accent-wash); color: var(--ink); }

.chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center;
  list-style: none; padding: 0; margin: 1.15rem 0 0;
}
.chips li {
  font-size: 0.8rem; color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.22rem 0.7rem;
}

.stage {
  margin: 0;
  background: #0e1216;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.stage-frame { position: relative; background: #0e1216; }
.stage-frame .poster {
  display: block; width: 100%; max-width: 100%; height: auto; min-width: 0;
  border-radius: 0; box-shadow: none;
}
/* The poster image holds the box. The video covers it once a frame is playing,
   so a clip that has not started (or reduced motion) stays on the still. */
.stage-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: contain; opacity: 0; background: transparent;
  border-radius: 0; box-shadow: none;
}
.stage-frame video.is-playing { opacity: 1; }
.stage figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin: 0; padding: 0.35rem 0.55rem 0.35rem 0.9rem;
  color: #e8eaed; background: #14181e;
  font-size: 0.8rem; letter-spacing: 0.01em;
}
.stage figcaption span { min-width: 0; }
.clip-toggle {
  flex: none;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  color: #fff; background: var(--accent);
  border: 0; border-radius: 999px;
  min-height: 44px; min-width: 44px; padding: 0 0.95rem;
  cursor: pointer;
}
.clip-toggle:hover { background: var(--accent-deep); }
.clip-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.feature > .stage, .feature > .copy, .hero-stage, .pipeline, .embed, .two, .stage-frame { min-width: 0; max-width: 100%; }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); }
.feature > .stage.phone { max-width: min(280px, 100%); justify-self: center; }
main.wide { overflow-x: clip; }
.hero-stage { margin-top: 0.4rem; }

.jumps {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; justify-content: center;
  margin: 1.4rem auto 0; font-size: 0.9rem; font-weight: 500;
}
.jumps a { color: var(--muted); }
.jumps a:hover { color: var(--ink); text-decoration: none; }

.section { scroll-margin-top: 4.5rem; }
.section h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.section h2::after {
  content: ""; display: block; width: 2.25rem; height: 3px;
  margin: 0.7rem auto 0; border-radius: 2px; background: var(--accent);
}
.section-head { margin-bottom: 2.4rem; }
.section-head .sub { margin-bottom: 0; }
.section-head .manual-link { margin: 0.55rem 0 0; font-size: 0.92rem; font-weight: 500; }
#capture, #timeline, #time, #systems, #everywhere, #how, #viewer, #start, #platforms, #about { scroll-margin-top: 4.5rem; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2rem 2.4rem;
  align-items: center;
  margin: 0 0 3.25rem;
  min-width: 0;
}
.feature:last-child { margin-bottom: 0; }
.feature:nth-of-type(even) .stage { order: 2; }
.feature h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
.feature .copy p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.feature .copy .manual-link { margin: 0.75rem 0 0; }
.more-features {
  text-align: center;
  max-width: 40rem;
  margin: 2.75rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.more-features a { font-weight: 500; }
.feature[id] { scroll-margin-top: 4.5rem; }

.pipeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.pipeline li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.25rem 1.3rem;
}
.pipeline li:not(:last-child)::after {
  content: "→";
  position: absolute; right: -0.95rem; top: 50%; transform: translateY(-50%);
  width: 1.3rem; text-align: center;
  color: var(--accent); background: var(--bg);
  font-size: 1.2rem; line-height: 1; z-index: 1;
}
.pipeline h3 { margin: 0 0 0.45rem; font-size: 1.15rem; font-weight: 500; }
.pipeline p:last-child { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.card a.more { display: inline-block; margin-top: 0.2rem; }

@media (max-width: 860px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 0.9rem; margin-bottom: 2.6rem; }
  .feature:nth-of-type(even) .stage { order: 0; }
  .hero { margin-top: 2rem; }
  .pipeline { grid-template-columns: 1fr; gap: 1.6rem; }
  .pipeline li:not(:last-child)::after {
    content: "↓";
    right: auto; left: 50%; top: auto; bottom: -1.25rem;
    transform: translateX(-50%);
  }
}
pre { max-width: 100%; }

/* ---- manual ---- */
.manual {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 2.2rem;
  justify-content: center;
  align-items: start;
  max-width: calc(14rem + var(--measure) + 5rem);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 4rem;
}
.manual-doc {
  max-width: var(--measure);
  margin: 0;
  padding: 0.4rem 0 3rem;
}
.manual-doc h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
.manual-doc h2, .manual-doc h3 { scroll-margin-top: 5.5rem; }
aside.toc {
  position: sticky;
  top: 4.2rem;
  max-height: calc(100vh - 5.2rem);
  overflow: auto;
  padding: 0.2rem 0 1rem;
}
aside.toc .toc-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
aside.toc nav { display: flex; flex-direction: column; gap: 0.15rem; }
aside.toc a {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
}
aside.toc a:hover { color: var(--ink); text-decoration: none; background: var(--bg-soft); }
aside.toc a[aria-current="page"] { color: var(--ink); background: var(--accent-wash); }
.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
  margin: 0.2rem 0 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.onpage a { color: var(--muted); }
.onpage a:hover { color: var(--ink); text-decoration: none; }
.callout {
  background: var(--accent-wash);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0 0 1.2rem;
}
.callout p { margin: 0; }
.manual .stage { margin: 0.4rem 0 1.5rem; }
.manual .stage.phone { max-width: min(280px, 100%); margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .manual {
    display: block;
    max-width: none;
    padding: 0 0 3rem;
  }
  aside.toc {
    position: sticky;
    top: 3.15rem;
    z-index: 9;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.4rem 0.9rem;
  }
  aside.toc .toc-label { display: none; }
  aside.toc nav { flex-direction: row; gap: 0.35rem; }
  aside.toc a { white-space: nowrap; padding: 0.35rem 0.65rem; }
  .manual-doc { max-width: none; padding: 1.1rem 1.1rem 3rem; }
  .manual-doc h2, .manual-doc h3 { scroll-margin-top: 8rem; }
}

/* Lineage, architecture, platform table */
.lineage {
  margin: 0.4rem auto 0;
  max-width: 36rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}
.arch { margin: 0 0 2.2rem; }
.arch-hosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.arch-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1rem 1.05rem;
  min-width: 0;
}
.arch-node h3 { margin: 0.4rem 0 0.3rem; font-size: 1.15rem; }
.arch-node p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.arch-node.is-partial { background: var(--bg-soft); }
.arch-node.is-soon {
  border-style: dashed;
  background: var(--bg-soft);
}
.arch-node.is-soon h3,
.arch-node.is-soon p { color: var(--muted); }
.arch-agent {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--accent);
  background: var(--accent-wash);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
}
.arch-agent svg { flex: none; color: var(--accent-deep); }
.arch-agent .kicker { margin: 0 0 0.15rem; }
.arch-agent h3 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.arch-agent p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.arch-wire {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0.35rem 0;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}
.arch-wire-line {
  width: 2px;
  height: 0.85rem;
  background: var(--accent);
  border-radius: 1px;
}
.arch-viewers {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  background: var(--surface);
}
.arch-viewers > .kicker { text-align: center; margin-bottom: 0.7rem; }
.arch-devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.arch-devices li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
}
.arch-devices svg { color: var(--accent-deep); width: 48px; height: 40px; }
.arch-viewers .note {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.mark {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg);
  white-space: nowrap;
}
.mark.yes {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
  background: color-mix(in srgb, var(--ok) 12%, var(--bg));
}
.mark.part {
  color: var(--partial);
  border-color: color-mix(in srgb, var(--partial) 40%, var(--line));
  background: color-mix(in srgb, var(--partial) 12%, var(--bg));
}
.platform { margin-top: 2.6rem; }
.platform h3 {
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
}
.platform-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.1rem;
  max-width: 36rem;
}
.platform-wrap { margin: 0; }
.platform-table {
  display: table;
  width: 100%;
  margin: 0;
  font-size: 0.92rem;
}
.platform-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.75rem 0 0;
}
.platform-table tbody th {
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
  font-weight: 500;
  color: var(--ink);
}
.platform-notes {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.platform-notes li { margin: 0.35rem 0; }
#about { margin-top: 3.2rem; }
#about .section-head { margin-bottom: 0; }
@media (max-width: 720px) {
  .arch-hosts { grid-template-columns: 1fr; }
  .arch-agent { align-items: flex-start; }
  .arch-wire { padding: 0 0.5rem; }
}
@media (max-width: 640px) {
  .platform-table,
  .platform-table tbody,
  .platform-table tr,
  .platform-table td,
  .platform-table tbody th { display: block; width: auto; }
  .platform-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .platform-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 0 0 0.7rem;
    padding: 0.6rem 0.8rem 0.7rem;
    background: var(--surface);
  }
  .platform-table tbody th {
    padding: 0 0 0.35rem;
    border: 0;
    font-size: 1rem;
  }
  .platform-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    padding: 0.22rem 0;
  }
  .platform-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .platform-table caption { padding-top: 0.2rem; }
}
