:root {
  color-scheme: dark;
  --accent: #c2c7ce;
  --accent-strong: #eef1f4;
  --canvas: #36383c;
  --surface: #27282b;
  --surface-raised: #333438;
  --surface-deep: #202124;
  --line: #575b60;
  --line-soft: #414449;
  --text: #f0f1f2;
  --text-muted: #b9bcc1;
  --text-dim: #90949b;
  --signal: #9ed8ab;
  --mono: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 38% 30% at 12% 18%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 90%),
    radial-gradient(ellipse 20% 18% at 5% 80%, #17181bb0, transparent 100%),
    radial-gradient(ellipse 52% 72% at 92% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 100%),
    linear-gradient(150deg, #45484d 0%, #36383c 42%, #2b2d30 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #c2c7ce44; color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #20212488; }
::-webkit-scrollbar-thumb { background: #575b60; border: 2px solid #202124; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #767b82; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
code { font-family: var(--mono); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: 12px var(--mono);
  text-decoration: none;
}
.skip-link:focus { transform: none; }

/* ---------- atmosphere ---------- */
.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 28%),
    rgba(194, 199, 206, 0.07),
    transparent 70%
  );
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 91;
  pointer-events: none;
  opacity: 0.06;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0,
    rgba(0, 0, 0, 0.5) 1px,
    transparent 1px,
    transparent 4px
  );
}
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 32px;
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  padding: 0 max(28px, calc((100vw - 1116px) / 2));
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: #26272ac9;
  backdrop-filter: blur(18px) saturate(1.1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}
.brand-icon {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  object-fit: cover;
  box-shadow: inset 0 1px 0 #ffffff12;
  transition: border-color 160ms ease, transform 160ms ease;
}
.brand:hover .brand-icon { border-color: var(--accent); transform: rotate(-4deg); }
.brand-name { font-size: 12px; font-weight: 650; letter-spacing: 0.18em; }
.brand-sub {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.2em;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.nav-links a[aria-current='page'] {
  border-color: var(--line-soft);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
}
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.build-pill {
  padding: 4px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.nav-actions .button {
  border-color: var(--accent);
  background: var(--accent);
  color: #1c1d1f;
  box-shadow: inset 0 1px 0 #ffffff99;
}
.nav-actions .button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.nav-actions .button.is-current { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }

/* ---------- buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, box-shadow 170ms ease, transform 120ms ease;
  will-change: transform;
}
.button:hover { border-color: var(--accent); box-shadow: 0 0 0 1px #ffffff0d, 0 8px 30px #0005; }
.button:active { filter: brightness(0.94); }
.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #1c1d1f;
  box-shadow: inset 0 1px 0 #ffffff99, 0 10px 32px -12px #0009;
}
.button-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button-small { height: 34px; padding: 0 13px; border-radius: 8px; font-size: 11.5px; }
.button-arrow { transition: transform 180ms ease; }
.button:hover .button-arrow { transform: translateX(3px); }
.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: currentColor;
  pointer-events: none;
  opacity: 0.2;
  animation: ripple 560ms ease-out forwards;
}
@keyframes ripple { to { transform: scale(22); opacity: 0; } }
.text-link {
  position: relative;
  color: var(--text-dim);
  font: 9.5px var(--mono);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}
.text-link:hover { color: var(--accent); }

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--text-dim);
  font: 10px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow > span:not(.live-dot) {
  padding: 3px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px #9ed8ab1f;
  animation: live 2.4s ease-in-out infinite;
}
@keyframes live { 50% { opacity: 0.35; box-shadow: 0 0 0 5px #9ed8ab0a; } }
.hero-em {
  display: inline-block;
  padding: 0.08em 0.01em 0.14em;
  margin: -0.08em -0.01em -0.14em;
  background: linear-gradient(104deg, #ffffff 4%, var(--accent) 42%, #8d939a 72%, #e9edf1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px #c2c7ce26;
}
.hero-lede,
.page-lede {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.78;
}
.hero-lede { max-width: 640px; margin: 28px 0 0; }
.page-lede { max-width: 690px; margin: 26px 0 0; }
.lede { max-width: 620px; margin: 18px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.75; }

/* ---------- home hero ---------- */
.home-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  min-height: 100svh;
  padding-top: 140px;
  padding-bottom: 64px;
}
.home-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2.9rem, 6.2vw, 5.8rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
.hero-links a {
  color: var(--text-muted);
  font: 9.5px var(--mono);
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}
.hero-links a span { display: inline-block; transition: transform 180ms ease; }
.hero-links a:hover { color: var(--text); }
.hero-links a:hover span { transform: translateX(3px); }

/* ---------- download control ---------- */
.download-block { position: relative; width: fit-content; max-width: 100%; margin-top: 38px; }
.download-control {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 #ffffffb3,
    0 24px 60px -26px #000e,
    0 0 70px -28px color-mix(in srgb, var(--accent) 65%, transparent);
}
.download-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 288px;
  min-height: 82px;
  padding: 0 30px 0 22px;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
  background: var(--accent);
  color: #1b1c1e;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.download-main:hover { background: var(--accent-strong); }
.download-main:focus-visible,
.download-toggle:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.download-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #1b1c1e12;
}
.download-text { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.download-kicker {
  color: #1b1c1e99;
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.download-os { font-size: 23px; font-weight: 660; letter-spacing: -0.02em; line-height: 1.1; }
.download-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  overflow: hidden;
  border: 0;
  border-left: 1px solid #1b1c1e1f;
  border-radius: 0 14px 14px 0;
  background: var(--accent);
  color: #1b1c1e;
  transition: background-color 160ms ease;
}
.download-toggle:hover { background: var(--accent-strong); }
.download-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(320px, calc(100vw - 40px));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 60px #000b;
}
.download-menu button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.download-menu button:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.download-menu button[aria-checked='true'] {
  border-color: var(--line-soft);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}
.menu-os { font-size: 13px; font-weight: 550; }
.menu-note { grid-column: 1; color: var(--text-dim); font: 8.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.menu-check { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--accent); opacity: 0; }
.download-menu button[aria-checked='true'] .menu-check { opacity: 1; }
.download-note {
  margin: 11px 0 0;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- home spec strip ---------- */
/* ---------- principles / page sections ---------- */
.principles { padding-top: 92px; padding-bottom: 112px; }
.section-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 46px;
}
.section-intro .eyebrow { margin-top: 7px; }
.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.section-intro.compact {
  display: block;
  max-width: 760px;
  margin-bottom: 28px;
}
.section-intro.compact h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
@media (min-width: 861px) {
  .section-intro > .lede { grid-column: 2; }
}
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principle {
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  transition: border-color 180ms ease;
}
.principle:hover { border-top-color: var(--line); }
.principle-index { color: var(--text-dim); font: 9.5px var(--mono); letter-spacing: 0.1em; }
.principle h3 { margin: 20px 0 10px; font-size: 20px; font-weight: 590; letter-spacing: -0.015em; }
.principle p { margin: 0; color: var(--text-muted); font-size: 13.2px; line-height: 1.72; }
.principle a {
  display: inline-block;
  margin-top: 20px;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}
.principle a:hover { color: var(--accent); }

/* ---------- internal page hero ---------- */
.page-hero {
  padding-top: 156px;
  padding-bottom: 64px;
}
.page-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.65rem);
  font-weight: 610;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.content { padding-top: 34px; padding-bottom: 96px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, #3334389e, #202124c4);
  backdrop-filter: blur(9px);
  transition: border-color 190ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease;
}
.card::before {
  position: absolute;
  inset: 0;
  content: '';
  background: radial-gradient(340px circle at var(--mx, 20%) var(--my, 0%), #ffffff0e, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.card:hover { border-color: #6d727a; transform: translateY(-3px); box-shadow: 0 22px 55px -24px #000c; }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; gap: 10px; }
.card-index { color: var(--text-dim); font: 9.5px var(--mono); letter-spacing: 0.1em; }
.card-tag {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card h2 { margin: 22px 0 10px; font-size: 19px; font-weight: 590; letter-spacing: -0.015em; }
.card p { max-width: 450px; margin: 0; color: var(--text-muted); font-size: 13.2px; line-height: 1.72; }
.card-ascii {
  margin: 22px 0 0;
  padding-top: 15px;
  overflow: hidden;
  border-top: 1px dashed var(--line-soft);
  color: var(--text-dim);
  font: 9.5px/1.6 var(--mono);
  letter-spacing: 0.03em;
  white-space: pre-wrap;
  opacity: 0.85;
}

/* permission demo */
.brakes { margin-top: 20px; padding-top: 15px; border-top: 1px dashed var(--line-soft); }
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #0000002e;
}
.segmented button {
  height: 29px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  font: 9.5px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed='true'] {
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
}
.brakes[data-mode='auto'] .segmented button[aria-pressed='true'] { color: var(--signal); border-color: #9ed8ab4d; background: #9ed8ab14; }
.brakes[data-mode='deny'] .segmented button[aria-pressed='true'] { color: #e2b09d; border-color: #e2b09d4d; background: #e2b09d12; }
.brake-note { min-height: 16px; margin: 11px 0 0; color: var(--text-dim); font: 10px/1.5 var(--mono); }

/* ---------- also + limits ---------- */
.also-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.also { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.also > span { color: var(--accent); font: 12px var(--mono); }
.also h3 { margin: 10px 0 7px; font-size: 15px; font-weight: 560; }
.also p { margin: 0; color: var(--text-muted); font-size: 12.8px; line-height: 1.7; }
.limit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.limit-list article { padding: 22px 0; border-top: 1px solid var(--line-soft); }
.limit-list article > span { color: var(--text-dim); font: 9px var(--mono); letter-spacing: 0.1em; }
.limit-list h3 { margin: 9px 0 7px; font-size: 15px; font-weight: 560; }
.limit-list p { margin: 0; color: var(--text-muted); font-size: 12.8px; line-height: 1.7; }

/* ---------- split hero / independence ---------- */
.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 76px;
}
.split-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 610;
  line-height: 1;
  letter-spacing: -0.045em;
}
.split-copy .page-lede { max-width: 590px; }
.ticks { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 11px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.ticks span { color: var(--accent); font-family: var(--mono); }
.schematic {
  justify-self: end;
  max-width: 100%;
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, #30313580, #1c1d2080);
  color: var(--text-dim);
  font: clamp(9px, 1vw, 11px)/1.36 var(--mono);
  box-shadow: inset 0 0 50px #00000038, 0 20px 50px -30px #000a;
  white-space: pre;
}
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.privacy-panel {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, #3334388f, #202124ad);
}
.privacy-panel > header { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.privacy-panel h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px #9ed8ab17; }
.status-dot.is-remote { border: 1px solid var(--text-dim); background: transparent; box-shadow: none; }
.data-list { margin: 0; }
.data-list > div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid #ffffff09; }
.data-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.data-list dt { color: var(--text); font-size: 12px; font-weight: 550; }
.data-list dd { margin: 0; color: var(--text-dim); font-size: 12px; line-height: 1.55; }
.data-list code { color: var(--text-muted); font-size: 11px; overflow-wrap: anywhere; }
.network-list { margin: 0; border-top: 1px solid var(--line-soft); }
.network-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-soft);
}
.network-list dt { color: var(--text); font: 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.network-list dd { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.pledge {
  margin: 54px 0 0;
  color: var(--text);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 590;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.pledge::after { content: ''; display: block; width: 58px; height: 1px; margin-top: 26px; background: var(--accent); opacity: 0.5; }

/* ---------- download page ---------- */
.download-hero { padding-top: 156px; padding-bottom: 40px; text-align: center; }
.download-hero .eyebrow { justify-content: center; }
.download-hero h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(2.8rem, 5.8vw, 5.1rem);
  font-weight: 615;
  line-height: 1;
  letter-spacing: -0.05em;
}
.download-hero .page-lede { margin-left: auto; margin-right: auto; max-width: 650px; }
.platform-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 34px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #0000002e;
}
.platform-tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 132px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.platform-tabs button:hover { color: var(--text); }
.platform-tabs button[aria-selected='true'] {
  border-color: color-mix(in srgb, var(--accent) 36%, transparent);
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  color: var(--text);
}
.platform-name { font-size: 13px; font-weight: 550; }
.platform-artifact { font: 8.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.tab-detect { display: none; position: absolute; top: 5px; right: 6px; color: var(--signal); font: 7px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.platform-tabs button.is-detected .tab-detect { display: block; }
.repo-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.repo-link a {
  color: var(--text-muted);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.03em;
  transition: color 150ms ease;
}
.repo-link a:hover { color: var(--accent); }
.repo-link a span { display: inline-block; transition: transform 150ms ease; }
.repo-link a:hover span { transform: translate(2px, -2px); }
.platform-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, #303135b8, #1f2023d4);
  box-shadow: 0 30px 80px -44px #000d, inset 0 1px 0 #ffffff0d;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head .eyebrow { margin: 0 0 8px; }
.panel-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; }
.status-badge {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-dim);
  font: 8.5px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; padding: 26px 28px 30px; }
.requirements h3 { margin: 0 0 14px; color: var(--text); font: 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.requirements ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.requirements li { position: relative; padding-left: 18px; color: var(--text-muted); font-size: 12.8px; line-height: 1.6; }
.requirements li::before { position: absolute; top: 0; left: 0; content: '+'; color: var(--accent); font-family: var(--mono); }
.command-card { overflow: hidden; align-self: start; border: 1px solid var(--line-soft); border-radius: 12px; background: #161719b0; }
.command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 15px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.command-head > span { display: inline-flex; align-items: center; gap: 7px; }
.command-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px #9ed8ab88; }
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.copy-button:hover { border-color: var(--accent); color: var(--text); }
.copy-button.is-copied { border-color: #9ed8ab66; color: var(--signal); }
.command-card pre { margin: 0; padding: 18px 18px 16px; overflow-x: auto; color: var(--text-muted); font: 11.5px/1.9 var(--mono); white-space: pre; }
.command-card code { color: inherit; }
.command-foot { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font: 9px/1.6 var(--mono); letter-spacing: 0.03em; }
.panel-note { margin: 0; padding: 14px 28px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: 10.5px; line-height: 1.6; }
.panel-note code { color: var(--text-muted); font-size: 10px; }
.release-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #00000026;
}
.note-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font: 14px var(--mono);
}
.release-note h2 { margin: 2px 0 6px; font-size: 15px; font-weight: 580; }
.release-note p { max-width: 780px; margin: 0; color: var(--text-muted); font-size: 12.8px; line-height: 1.7; }
.after-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.after-grid article { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.after-grid h3 { margin: 10px 0 7px; font-size: 15px; font-weight: 560; }
.after-grid p { margin: 0; color: var(--text-muted); font-size: 12.8px; line-height: 1.7; }
.inline-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }

/* ---------- page cta ---------- */
.page-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 66px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line-soft);
}
.page-cta h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 590; letter-spacing: -0.035em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  background: #1d1e2166;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 32px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font: 9.5px var(--mono);
  letter-spacing: 0.18em;
  text-decoration: none;
}
.footer-brand img { border: 1px solid var(--line); border-radius: 7px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--text-dim);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-meta { margin: 0; color: var(--text-dim); font: 9px var(--mono); letter-spacing: 0.06em; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: 70ms; }
.hero-copy .reveal:nth-child(3) { transition-delay: 140ms; }
.hero-copy .reveal:nth-child(4) { transition-delay: 210ms; }
.hero-copy .reveal:nth-child(5) { transition-delay: 280ms; }
.principle-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.principle-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.cards .reveal:nth-child(2) { transition-delay: 80ms; }
.cards .reveal:nth-child(3) { transition-delay: 160ms; }
.cards .reveal:nth-child(4) { transition-delay: 240ms; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .home-hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); }
  .split-hero { gap: 40px; }
  .panel-body { gap: 28px; }
}
@media (max-width: 860px) {
  .site-nav { gap: 18px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .home-hero { min-height: 0; gap: 52px; padding-top: 128px; padding-bottom: 58px; }
  .home-hero h1 { font-size: clamp(2.7rem, 8.4vw, 4.2rem); }
  .principle-grid,
  .cards,
  .also-grid,
  .limit-list,
  .privacy-grid,
  .after-grid { grid-template-columns: 1fr; }
  .also-grid,
  .limit-list { gap: 0; }
  .split-hero { grid-template-columns: 1fr; padding-top: 128px; padding-bottom: 58px; }
  .schematic { justify-self: stretch; width: 100%; }
  .section-intro { grid-template-columns: 1fr; gap: 16px; }
  .section-intro .eyebrow { margin-top: 0; }
  .page-cta { flex-direction: column; align-items: flex-start; }
  .panel-body { grid-template-columns: 1fr; }
  .download-hero { padding-top: 128px; }
}
@media (max-width: 620px) {
  .shell { padding-inline: 20px; }
  .site-nav { height: 64px; padding: 0 20px; }
  .brand-sub, .build-pill { display: none; }
  .home-hero h1 { font-size: clamp(2.35rem, 10vw, 3.1rem); text-wrap: normal; }
  .page-hero h1 { text-wrap: pretty; }
  .hero-lede, .page-lede { font-size: 14px; }
  .download-block { width: 100%; }
  .download-control { display: flex; width: 100%; }
  .download-main { flex: 1; min-width: 0; padding: 0 14px; gap: 12px; }
  .download-icon { width: 36px; height: 36px; }
  .download-os { font-size: 18px; }
  .download-toggle { width: 52px; flex-shrink: 0; }
  .download-menu { width: 100%; }
  .principles { padding-top: 70px; padding-bottom: 82px; }
  .page-hero { padding-top: 116px; padding-bottom: 48px; }
  .page-hero h1 { font-size: clamp(2.2rem, 8.4vw, 3rem); }
  .content { padding-top: 24px; padding-bottom: 76px; }
  .split-hero { padding-top: 116px; }
  .schematic { padding: 18px 14px; font-size: 8px; }
  .data-list > div { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .network-list > div { grid-template-columns: 1fr; gap: 6px; }
  .download-hero { padding-top: 116px; padding-bottom: 30px; }
  .download-hero h1 { font-size: clamp(2.5rem, 10.6vw, 3.5rem); }
  .platform-tabs { display: flex; width: 100%; }
  .platform-tabs button { flex: 1; min-width: 0; padding: 9px 12px; }
  .panel-head { padding: 20px 18px 16px; align-items: flex-start; }
  .panel-body { padding: 20px 18px 24px; }
  .panel-note { padding: 12px 18px; }
  .command-card pre { font-size: 9px; }
  .release-note { padding: 18px; }
  .page-cta { padding-top: 52px; padding-bottom: 76px; }
  .cta-actions { width: 100%; }
  .cta-actions .button { width: 100%; }
  .footer-inner { padding-top: 22px; padding-bottom: 28px; }
  .footer-meta { display: none; }
}

@media (min-width: 861px) and (max-height: 780px) {
  .home-hero {
    padding-top: 106px;
    padding-bottom: 28px;
    gap: 30px;
  }
  .home-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
  .hero-lede { margin-top: 22px; }
  .download-block { margin-top: 28px; }
  .hero-links { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .spotlight { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
