:root {
  color-scheme: light;
  --ink: #102b2c;
  --ink-soft: #496566;
  --night: #071a1c;
  --night-soft: #0c2628;
  --paper: #f2f1e9;
  --paper-warm: #e9e5d9;
  --white: #fffef8;
  --lime: #c4f53c;
  --lime-soft: #e7ff9f;
  --coral: #ff725e;
  --aqua: #6ce6d0;
  --line: rgba(16, 43, 44, .16);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 30px 70px rgba(3, 21, 22, .16);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a { color: inherit; }
button { font: inherit; }

.page-width {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 11px 16px;
  background: var(--lime);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  transition: top .2s;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fff8;
  transition: background .25s, border-color .25s, height .25s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 66px;
  background: rgba(7, 26, 28, .9);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, .09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -.03em;
}

.brand strong { color: var(--lime); font-weight: 800; }

.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark circle { fill: var(--lime); stroke: var(--night); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .72);
  transition: color .2s;
}

.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--lime); }

.site-nav .nav-github {
  padding: 9px 14px;
  color: var(--night);
  background: var(--lime);
  border-radius: 999px;
}

.theme-control {
  height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.theme-control svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.theme-control select {
  max-width: 66px;
  padding: 0 14px 0 0;
  color: inherit;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}

.theme-control select option { color: #102b2c; background: #fffef8; }

.menu-button { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 790px;
  padding: 144px 0 92px;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--night);
  background-size: 52px 52px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: var(--paper);
  clip-path: polygon(0 68%, 60% 100%, 100% 53%, 100% 100%, 0 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  width: 560px;
  height: 560px;
  right: -240px;
  top: -160px;
  background: radial-gradient(circle, rgba(108, 230, 208, .15), transparent 68%);
}

.hero-glow-two {
  width: 500px;
  height: 500px;
  left: 30%;
  bottom: -330px;
  background: radial-gradient(circle, rgba(196, 245, 60, .13), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  gap: 66px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #547071;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero .eyebrow { color: rgba(255, 255, 255, .58); }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(196, 245, 60, .12);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 5.7vw, 76px);
  line-height: .98;
  letter-spacing: -.068em;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-lede {
  max-width: 670px;
  margin: 29px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--lime); }
.button-primary:hover { background: var(--lime-soft); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.button-secondary:hover { border-color: rgba(255,255,255,.5); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 680px;
  margin: 48px 0 0;
  padding: 25px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-facts li { display: flex; flex-direction: column; gap: 5px; }
.hero-facts strong { color: var(--white); font-size: 12px; }
.hero-facts span { color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 9px; }

.terminal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 21px;
  background: rgba(10, 35, 37, .75);
  box-shadow: 0 45px 100px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
  transform: rotate(1.1deg);
}

.terminal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 34%);
}

.terminal-bar {
  height: 51px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.46);
  font-family: var(--mono);
  font-size: 10px;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 8px; height: 8px; border-radius: 50%; background: #496264; }
.terminal-dots span:first-child { background: var(--coral); }
.terminal-dots span:nth-child(2) { background: #f0c84a; }
.terminal-dots span:last-child { background: var(--lime); }

.terminal-tag {
  justify-self: end;
  padding: 4px 7px;
  color: var(--lime);
  border: 1px solid rgba(196,245,60,.28);
  border-radius: 5px;
}

.terminal-body {
  position: relative;
  padding: 25px 25px 28px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.terminal-body p { margin: 0; }
.prompt, .success { color: var(--lime); }
.accent { color: var(--aqua); }
.muted { display: inline-block; width: 70px; color: rgba(255,255,255,.37); }
.terminal-output { margin: 16px 0 0 16px; color: rgba(255,255,255,.7); }
.terminal-divider { height: 1px; margin: 24px 0; background: rgba(255,255,255,.08); }

.progress-line {
  height: 5px;
  margin: 20px 0 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua), var(--lime));
  box-shadow: 0 0 16px rgba(196,245,60,.4);
}

.terminal-complete { color: rgba(255,255,255,.57); }

.result-preview {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr .75fr;
  gap: 9px;
  margin-top: 25px;
  padding: 14px;
  color: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.13);
  font-size: 8px;
}

.result-preview strong { color: rgba(255,255,255,.76); font-size: 9px; font-weight: 400; }
.result-preview strong:last-child { color: var(--lime); }

.signal-strip { padding: 16px 0 34px; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.signal-grid p { margin: 0; color: #587071; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.signal-grid span { margin-right: 9px; color: var(--coral); }

.section { padding-block: 110px; }

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading.compact { max-width: 620px; }

.section-heading h2, .foundation-copy h2, .docs-inner h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.section-heading h2 span { color: #789091; }

.section-heading > p:last-child, .foundation-copy > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-card {
  position: relative;
  min-height: 360px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.34);
  transition: transform .25s, border-color .25s, background .25s;
}

.capability-card:hover { transform: translateY(-6px); border-color: rgba(16,43,44,.32); background: rgba(255,255,255,.68); }
.capability-featured { color: var(--white); background: var(--ink); border-color: var(--ink); }
.capability-featured:hover { background: var(--night-soft); border-color: var(--night-soft); }
.card-number { color: #849596; font-family: var(--mono); font-size: 9px; }
.capability-featured .card-number { color: rgba(255,255,255,.38); }

.card-icon {
  width: 66px;
  height: 66px;
  margin: 36px 0 27px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.capability-featured .card-icon { color: var(--lime); border-color: rgba(196,245,60,.26); background: rgba(196,245,60,.05); }
.card-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon circle { fill: var(--paper); }
.capability-featured .card-icon circle { fill: var(--ink); }

.capability-card h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.capability-card p { margin: 13px 0 25px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.capability-featured p { color: rgba(255,255,255,.59); }
.card-label { margin-top: auto; color: #6c8485; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.capability-featured .card-label { color: var(--lime); }

.workflow-section { color: var(--white); background: var(--night); }
.workflow-section .eyebrow { color: var(--lime); }
.workflow-section .section-heading > p:last-child { color: rgba(255,255,255,.56); }

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.12fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025);
}

.pipeline-node {
  min-height: 125px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}

.pipeline-node-accent { color: var(--night); background: var(--lime); }
.pipeline-index { margin-bottom: auto; color: rgba(255,255,255,.28); font-family: var(--mono); font-size: 9px; }
.pipeline-node-accent .pipeline-index { color: rgba(7,26,28,.45); }
.pipeline-node strong { font-size: 14px; }
.pipeline-node small { margin-top: 5px; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 8px; }
.pipeline-node-accent small { color: rgba(7,26,28,.6); }
.pipeline-arrow { color: rgba(255,255,255,.26); font-family: var(--mono); }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.step { padding: 29px 26px 0 0; }
.step + .step { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.12); }
.step > span { color: var(--lime); font-family: var(--mono); font-size: 10px; }
.step h3 { margin: 21px 0 10px; font-size: 17px; }
.step p { min-height: 66px; margin: 0 0 22px; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.7; }
.step code { color: var(--aqua); font-family: var(--mono); font-size: 10px; }

.try-section { padding-block: 125px; }

.command-builder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.analysis-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.analysis-tabs button {
  padding: 15px;
  color: #6b7c7d;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.analysis-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 7px 20px rgba(16,43,44,.14);
}

.builder-layout { display: grid; grid-template-columns: .8fr 1.2fr; }
.builder-copy { padding: 50px 42px; }
.builder-kicker { margin: 0 0 16px; color: var(--coral); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.builder-copy h3 { margin: 0; max-width: 390px; font-size: 32px; line-height: 1.12; letter-spacing: -.045em; }
.builder-copy > p:not(.builder-kicker) { margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.builder-details { margin: 36px 0 0; border-top: 1px solid var(--line); }
.builder-details div { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.builder-details dt, .builder-details dd { margin: 0; font-family: var(--mono); font-size: 9px; }
.builder-details dt { color: #7b8f90; }
.builder-details dd { text-align: right; color: var(--ink); }

.code-window { margin: 22px; overflow: hidden; border-radius: 16px; background: var(--night); color: rgba(255,255,255,.78); }
.code-toolbar { height: 50px; padding: 0 16px 0 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.35); font-family: var(--mono); font-size: 9px; }
.copy-button { padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: rgba(255,255,255,.04); font-family: var(--mono); font-size: 9px; cursor: pointer; }
.copy-button:hover { color: var(--white); border-color: rgba(255,255,255,.28); }
.copy-button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.code-window pre { min-height: 330px; margin: 0; padding: 25px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.code-window code { color: inherit; font-family: var(--mono); font-size: 10px; line-height: 1.85; }
.builder-note { margin: 0; padding: 18px 28px; color: var(--ink-soft); border-top: 1px solid var(--line); background: #f5f3ea; font-size: 11px; line-height: 1.7; }
.builder-note strong { color: var(--ink); }
.builder-note code { color: #244e50; font-family: var(--mono); }

.foundation-section { background: var(--paper-warm); }
.foundation-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.foundation-copy { position: sticky; top: 110px; }
.foundation-copy h2 { font-size: clamp(39px, 4.7vw, 60px); }
.text-link { display: inline-flex; gap: 10px; margin-top: 28px; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.principle-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.principle > span { width: 58px; height: 58px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-size: 10px; }
.principle h3 { margin: 1px 0 8px; font-size: 18px; letter-spacing: -.03em; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

.compatibility-section { padding-block: 115px; }
.compatibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.compatibility-card { padding: 29px; display: flex; gap: 21px; min-height: 160px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.35); }
.compatibility-mark { flex: 0 0 45px; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.compatibility-mark.nvidia { color: var(--night); background: var(--lime); }
.compatibility-mark.opencl { color: var(--white); background: var(--coral); }
.compatibility-mark.cpu { color: var(--white); background: var(--ink); }
.compatibility-card h3 { margin: 2px 0 8px; font-size: 17px; }
.compatibility-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }

.docs-section { padding: 0 0 28px; }
.docs-inner { padding: 62px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; color: var(--white); border-radius: var(--radius-lg); background: var(--ink); }
.docs-inner .eyebrow { color: var(--lime); }
.docs-inner h2 { font-size: clamp(35px, 4.3vw, 52px); }
.docs-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.docs-links a { position: relative; min-height: 112px; padding: 21px; display: flex; flex-direction: column; text-decoration: none; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.docs-links a:hover { background: rgba(196,245,60,.08); }
.docs-links span { color: rgba(255,255,255,.36); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.docs-links strong { margin-top: auto; font-size: 14px; }
.docs-links b { position: absolute; right: 18px; bottom: 18px; color: var(--lime); font-weight: 400; }

.site-footer { padding: 46px 0; color: rgba(255,255,255,.56); background: var(--night); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; gap: 30px; }
.footer-brand { color: var(--white); }
.footer-inner > p { margin: 0; text-align: center; font-size: 10px; }
.footer-links { display: flex; justify-content: flex-end; gap: 21px; }
.footer-links a { font-family: var(--mono); font-size: 9px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

.updates-hero { padding: 144px 0 64px; color: var(--white); background: var(--night); }
.updates-hero .eyebrow { color: var(--aqua); }
.updates-hero h1 { margin: 16px 0; font-size: clamp(48px, 7vw, 80px); line-height: 1.05; letter-spacing: -.055em; }
.updates-lede { max-width: 600px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.7; }
.updates-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; padding-block: 64px 80px; }
.updates-index { position: sticky; top: 100px; }
.updates-index nav { display: flex; flex-direction: column; gap: 14px; }
.updates-index nav a { display: flex; align-items: center; gap: 12px; font-size: 14px; text-decoration: none; }
.updates-index nav a:hover { text-decoration: underline; }
.updates-index nav span { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }
.updates-index > p:not(.eyebrow) { margin-block: 30px 20px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.updates-feed { display: grid; gap: 24px; }
.release-entry { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow-wrap: anywhere; }
.release-latest { border-top: 4px solid var(--ink); }
.release-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; }
.release-meta > span:first-child { color: var(--ink); font-weight: 500; }
.release-badge { padding: 6px 9px; border-radius: 999px; background: var(--lime); color: var(--night); font-size: 9px; }
.release-entry h2 { margin: 20px 0 16px; font-size: clamp(23px, 3vw, 30px); line-height: 1.25; letter-spacing: -.035em; }
.release-entry p { color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.release-entry code { font-family: var(--mono); font-size: .9em; color: var(--ink); }
.release-entry .upgrade-note { margin-block: 24px; padding: 16px 20px; background: var(--paper-warm); border-radius: 10px; font-size: 13px; }
.upgrade-note strong { display: block; margin-bottom: 4px; color: var(--ink); }
.release-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.release-links a { font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.release-links a:hover { text-decoration-thickness: 2px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal-delay { transition-delay: .12s; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e3efeb;
  --ink-soft: #9db2b0;
  --paper: #091e20;
  --paper-warm: #0e292b;
  --white: #f6fcf8;
  --line: rgba(224, 241, 236, .14);
  --shadow: 0 30px 75px rgba(0, 0, 0, .28);
}

:root[data-theme="dark"] body { background: var(--paper); }
:root[data-theme="dark"] .signal-grid p { color: #8ba3a1; }
:root[data-theme="dark"] .section-heading h2 span { color: #718a88; }
:root[data-theme="dark"] .eyebrow { color: #8aa09e; }
:root[data-theme="dark"] .capability-card,
:root[data-theme="dark"] .compatibility-card {
  background: rgba(255,255,255,.035);
}
:root[data-theme="dark"] .capability-card:hover,
:root[data-theme="dark"] .compatibility-card:hover {
  border-color: rgba(224,241,236,.28);
  background: rgba(255,255,255,.065);
}
:root[data-theme="dark"] .capability-featured,
:root[data-theme="dark"] .capability-featured:hover {
  color: #071a1c;
  border-color: var(--lime);
  background: var(--lime);
}
:root[data-theme="dark"] .capability-featured p { color: rgba(7,26,28,.67); }
:root[data-theme="dark"] .capability-featured .card-number,
:root[data-theme="dark"] .capability-featured .card-label { color: rgba(7,26,28,.62); }
:root[data-theme="dark"] .capability-featured .card-icon { color: #071a1c; border-color: rgba(7,26,28,.25); background: rgba(7,26,28,.06); }
:root[data-theme="dark"] .capability-featured .card-icon circle { fill: var(--lime); }
:root[data-theme="dark"] .command-builder { background: #0d282a; }
:root[data-theme="dark"] .analysis-tabs { background: #071a1c; }
:root[data-theme="dark"] .analysis-tabs button { color: #8da3a1; }
:root[data-theme="dark"] .analysis-tabs button[aria-selected="true"] { color: #071a1c; background: var(--lime); }
:root[data-theme="dark"] .builder-note { color: #9db2b0; background: #112d2f; }
:root[data-theme="dark"] .builder-note strong,
:root[data-theme="dark"] .builder-note code { color: #e3efeb; }
:root[data-theme="dark"] .docs-inner { background: #102b2c; }
:root[data-theme="dark"] .compatibility-mark.cpu { color: #071a1c; background: var(--lime); }
:root[data-theme="dark"] .text-link { border-bottom-color: currentColor; }
:root[data-theme="dark"] .theme-control select option { color: #e3efeb; background: #102b2c; }

@media (max-width: 1020px) {
  .site-nav { gap: 16px; font-size: 12px; }
  .updates-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 32px; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .terminal-card { width: min(680px, 100%); transform: none; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-node { min-height: 96px; }
  .pipeline-arrow { text-align: center; transform: rotate(90deg); }
  .builder-layout { grid-template-columns: 1fr; }
  .code-window { margin-top: 0; }
  .foundation-grid { grid-template-columns: 1fr; gap: 55px; }
  .foundation-copy { position: static; }
  .docs-inner { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 32px, 1180px); }
  .site-header { height: 66px; padding-inline: 16px; }
  .menu-button { width: 42px; height: 42px; padding: 11px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: transparent; }
  .menu-button span:not(.sr-only) { width: 100%; height: 1px; background: var(--white); transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; padding: 20px 24px 26px; display: none; align-items: stretch; flex-direction: column; gap: 17px; background: rgba(7,26,28,.98); border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav.open { display: flex; }
  .site-nav .nav-github { text-align: center; }
  .theme-control { width: 100%; justify-content: center; }
  .theme-control select { max-width: none; }
}

@media (max-width: 760px) {
  .updates-hero { padding: 112px 0 48px; }
  .updates-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 48px; }
  .updates-index { position: static; }
  .updates-index nav { flex-direction: row; flex-wrap: wrap; gap: 14px 20px; }
  .release-entry { padding: 24px 20px; }
  .hero { padding: 112px 0 85px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-lede { font-size: 16px; }
  .hero-facts { grid-template-columns: 1fr; gap: 13px; }
  .terminal-body { padding: 20px 16px; font-size: 9px; }
  .terminal-bar { grid-template-columns: 1fr auto; }
  .terminal-bar > span:nth-child(2) { display: none; }
  .signal-grid { grid-template-columns: 1fr 1fr; gap: 13px; }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 40px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 320px; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step { padding-bottom: 35px; }
  .analysis-tabs { grid-template-columns: 1fr 1fr; gap: 5px; }
  .builder-copy { padding: 37px 25px; }
  .builder-copy h3 { font-size: 27px; }
  .code-window { margin: 0 12px 12px; }
  .code-window pre { min-height: 360px; padding: 19px; }
  .principle { grid-template-columns: 58px 1fr; gap: 17px; }
  .principle > span { width: 50px; height: 50px; }
  .compatibility-grid { grid-template-columns: 1fr; }
  .docs-inner { padding: 42px 25px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 470px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .result-preview { grid-template-columns: 1.3fr 1fr .7fr; }
  .result-preview span:nth-child(2), .result-preview strong:nth-child(6) { display: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .step { padding-top: 28px; }
  .analysis-tabs { grid-template-columns: 1fr; }
  .builder-details div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .builder-details dd { text-align: left; }
  .docs-links { grid-template-columns: 1fr; }
}

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