/* The app's own palette (server/openpod/styles.css), so the site and the
 * window it hands you look like one product. /openpod/theme.js picks the
 * theme before first paint, from the app's stored choice or the system's. */
:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --glow: #966cff14;
  --panel: #101216;
  --raised: #16181f;
  --text: #d7dae1;
  --muted: #8b919d;
  --line: #23262e;
  --accent: #b892ff;
  --accent-strong: #a06bff;
  --on-accent: #16101f;
  --pale: #a06bff1f;
  --ui: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}
:root[data-theme=light] {
  color-scheme: light;
  --bg: #f6f5f2;
  --glow: #7e4ff014;
  --panel: #ffffff;
  --raised: #efede8;
  --text: #26242b;
  --muted: #5f5b66;
  --line: #dcd8d0;
  --accent: #6a37e6;
  --accent-strong: #7b4ff0;
  --on-accent: #ffffff;
  --pale: #7b4ff01a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: radial-gradient(ellipse at 50% -10%, var(--glow), transparent 55%), var(--bg); color: var(--text); font: 15px/1.65 var(--ui); }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 20px; padding: 12px 20px; z-index: 10; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
.nav { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; font: 650 25px/1 var(--mono); letter-spacing: -1.5px; text-decoration: none; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
nav a, .button { text-decoration: none; }
nav a { padding-block: 10px; }
.nav-cta { border: 1px solid var(--line); border-radius: 7px; padding: 8px 14px; }
.hero { padding-block: 96px 64px; max-width: 850px; text-align: center; }
.eyebrow, .index { font: 11px/1.6 var(--mono); letter-spacing: 1.4px; color: var(--accent); }
.eyebrow { margin: 0 0 24px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 650; letter-spacing: -.04em; line-height: 1.12; }
h1 { font-size: clamp(36px, 5.2vw, 62px); margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4.7vw, 48px); margin-bottom: 22px; }
h3 { font-size: 21px; font-weight: 550; margin-bottom: 14px; }
.lede { color: var(--muted); max-width: 690px; font-size: 17px; line-height: 1.75; }
.hero .lede { margin-inline: auto; max-width: 620px; }
.actions { display: flex; justify-content: center; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 11px 22px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 8px; }
.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }
.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.big { min-height: 58px; padding: 16px 34px; font-size: 17px; }
.quiet:hover, .secondary:hover, .nav-cta:hover { background: var(--raised); }
.cta-note { font-size: 12px; color: var(--accent); margin: 8px 0 0; }
.fine-print, .sources { font-size: 12px; line-height: 1.7; color: var(--muted); }
.fine-print { margin: 22px 0 0; }
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 38px; }
.feature-strip h3 { font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.feature-strip p { color: var(--muted); font-size: 14px; margin: 0; }
.section { padding-block: 56px; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin-top: 30px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
caption { text-align: left; padding: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
th, td { padding: 16px 18px; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
thead th { font-size: 13px; background: var(--raised); }
tbody th { width: 26%; font-weight: 550; }
td { width: 37%; color: var(--muted); }
td:last-child, thead th:last-child { background: var(--pale); }
td strong { color: var(--accent); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.sources { margin: 18px 0 0; }
.downloads { border-top: 1px solid var(--line); }
.download-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.download-heading > p { max-width: 330px; color: var(--muted); }
.download-heading h2 { margin-bottom: 0; }
.download-heading .eyebrow { margin-bottom: 12px; }
.release-status { color: var(--muted); font-size: 12px; margin: 24px 0 16px; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.download-card { padding: 26px; }
.download-card > p { font-size: 14px; color: var(--muted); }
.download-card .button { width: 100%; margin: 8px 0; }
.availability { font-size: 12px !important; margin-bottom: 10px; }
summary { padding-block: 12px; min-height: 44px; font-size: 14px; }
details p { font-size: 13px; color: var(--muted); }
code { font-family: var(--mono); font-size: .9em; overflow-wrap: anywhere; }
.checksum { display: block; padding: 12px; font-size: 11px; background: var(--bg); word-break: break-all; }
.agent-install { margin-top: 22px; }
footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-block: 30px; border-top: 1px solid var(--line); }
footer .wordmark { font-size: 20px; }
footer p { font-size: 12px; color: var(--muted); margin: 0; }
footer > div { display: flex; gap: 22px; font-size: 12px; align-items: center; }
.text-button { color: inherit; background: none; border: 0; padding: 10px 0; font-size: 12px; }
.share-status { flex-basis: 100%; text-align: right; }
.share-status:empty { display: none; }
.muted, .devices-note, .device-meta, .device-url { color: var(--muted); }
.devices-page { padding-block: 60px 100px; max-width: 720px; }
.devices-title { font-size: clamp(34px, 5vw, 52px); }
.devices-panel { margin-top: 32px; padding: 28px; }
.devices-panel h2 { font: 600 18px var(--ui); }
.devices-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.devices-form { display: grid; gap: 8px; max-width: 360px; }
.devices-form input { background: var(--bg); border: 1px solid var(--line); border-radius: 5px; color: var(--text); padding: 10px 12px; }
.devices-form .button { margin-top: 12px; }
.devices-note, .device-meta, .device-url { font-size: 13px; }
.devices-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.device { border: 1px solid var(--line); padding: 18px 20px; border-radius: 6px; }
.device-head { display: flex; align-items: center; gap: 9px; }
.device-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.device.online .device-dot { background: var(--accent); }
.device-name { font-size: 16px; margin: 0; }
.device-url { overflow-wrap: anywhere; }
.segmented { display: inline-flex; flex-wrap: wrap; padding: 2px; border: 1px solid var(--line); border-radius: 8px; }
.segmented button { padding: 6px 12px; border: 0; border-radius: 6px; color: var(--muted); background: none; font-size: 13px; }
.segmented button.on { color: var(--text); background: var(--pale); }
.agent-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.agent-command { flex: 1; min-width: 0; max-height: 7em; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); font: 12px/1.5 var(--mono); overflow: auto; white-space: pre-wrap; }
.agent-copy { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: none; font-size: 13px; }
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 14px; }
  nav { gap: 12px; font-size: 12px; }
  nav > a[href="#compare"] { display: none; }
  .nav-cta { padding: 8px 10px; }
  .wordmark { font-size: 21px; }
  .hero { padding-block: 52px; }
  .lede { font-size: 16px; }
  .feature-strip, .download-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding-block: 44px; }
  .download-heading { display: block; }
  .download-heading > p { margin-top: 20px; }
  th, td { padding: 12px 10px; font-size: 12px; }
  table { table-layout: fixed; }
  thead th:first-child { width: 26%; }
  thead th:not(:first-child) { width: 37%; }
  footer { gap: 16px; }
  footer > div { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
