:root {
  color-scheme: dark;
  --canvas: #0d1117;
  --surface: #161b22;
  --surface-raised: #1c232c;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --sage: #7c9885;
  --sage-light: #a8c4b0;
  --sage-dark: #607868;
  --warm: #f4efe5;
  --warm-ink: #182019;
  --ready: #67b77a;
  --locked: #d6a662;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  --content: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 7%, rgba(124, 152, 133, 0.12), transparent 28rem),
    var(--canvas);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--canvas);
  background: var(--sage-light);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  width: var(--content);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(48, 54, 61, 0.72);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.site-header nav a:focus-visible,
.site-footer nav a:focus-visible {
  color: var(--text);
}

.section-shell {
  width: var(--content);
  margin-inline: auto;
}

.hero {
  min-height: 720px;
  padding: 92px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage-light);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--locked);
  box-shadow: 0 0 0 5px rgba(214, 166, 98, 0.1);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.018em;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 30px;
  color: #b6c0ca;
  font-size: 1.15rem;
}

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

.button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: #101813;
  background: var(--sage-light);
  border-color: var(--sage-light);
}

.button-primary:hover {
  background: #bad1c0;
  border-color: #bad1c0;
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--sage);
  background: var(--surface-raised);
}

.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--sage-light);
  outline-offset: 3px;
}

.release-note {
  max-width: 560px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-frame {
  overflow: hidden;
  border: 1px solid #39434e;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
}

.window-bar {
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.window-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
}

.window-action {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--sage-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.workspace {
  min-height: 510px;
  display: grid;
  grid-template-columns: 166px 1fr;
}

.file-rail {
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  background: #11171e;
}

.file-rail > p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-rail li {
  margin-bottom: 6px;
  padding: 9px 8px;
  display: flex;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #adb7c1;
  font-size: 0.7rem;
}

.file-rail li span {
  color: var(--muted);
  font-size: 0.62rem;
}

.file-rail .file-active {
  color: var(--text);
  border-color: rgba(124, 152, 133, 0.55);
  background: rgba(124, 152, 133, 0.14);
}

.rail-meta {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.62rem;
}

.document-surface {
  margin: 24px;
  padding: 34px;
  color: var(--warm-ink);
  background: var(--warm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
}

.document-kicker {
  margin-bottom: 10px;
  color: #59695d;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.document-surface h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.document-surface > p:not(.document-kicker) {
  color: #4a554c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
}

.document-grid {
  margin: 26px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.document-grid h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
}

.mock-line {
  width: 84%;
  height: 5px;
  margin-bottom: 8px;
  border-radius: 2px;
  background: #c7c2b8;
}

.line-long { width: 100%; }
.line-short { width: 62%; }

.graph-card {
  min-height: 108px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  background: #e4ded3;
}

.graph-card span {
  padding: 7px 8px;
  border: 1px solid #6b7f70;
  border-radius: 3px;
  color: #314137;
  font-size: 0.58rem;
  font-weight: 750;
}

.graph-card i {
  width: 18px;
  height: 1px;
  background: #6b7f70;
}

.mock-table {
  overflow: hidden;
  border: 1px solid #c3bdb1;
  border-radius: 3px;
  font-size: 0.6rem;
}

.mock-table > div {
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  border-top: 1px solid #d5cfc4;
}

.mock-table > div:first-child {
  border-top: 0;
}

.mock-table .table-head {
  color: #26332a;
  background: #d9d3c7;
  font-weight: 780;
}

.proof-strip {
  width: var(--content);
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-strip > div {
  padding: 0 28px;
  border-left: 1px solid var(--border);
}

.proof-strip > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section-block {
  padding: 128px 0;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 50px;
}

.section-heading > p:not(.eyebrow),
.compact-heading + p {
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.channel-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p,
.channel-card p,
.capability-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-number {
  display: block;
  margin-bottom: 46px;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
}

.split-section {
  padding: 10px 0 128px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 92px;
}

.compact-heading {
  margin-bottom: 0;
}

.capability-list {
  border-top: 1px solid var(--border);
}

.capability-list article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.capability-list article > span {
  color: var(--sage);
}

.release-section {
  padding-top: 0;
}

.release-panel {
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  border: 1px solid #405145;
  border-radius: 8px;
  background: linear-gradient(140deg, #18231d, #121b17);
}

.release-summary h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.release-summary > p:not(.eyebrow) {
  max-width: 650px;
  color: #aebcb2;
}

.text-link {
  color: var(--sage-light);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.text-link span {
  margin-left: 5px;
}

.meter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.78rem;
}

.meter-label span {
  color: #aebcb2;
}

.meter-label strong {
  color: var(--text);
  font-size: 1.25rem;
}

.meter-track {
  height: 7px;
  margin: 11px 0 10px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(230, 237, 243, 0.12);
}

.meter-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--sage-light);
}

.meter-track .meter-progress {
  width: 25%;
}

.readiness-meter p {
  margin-bottom: 0;
  color: #93a397;
  font-size: 0.74rem;
}

.channel-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-ready {
  color: #8bd19a;
  border-color: rgba(103, 183, 122, 0.45);
  background: rgba(103, 183, 122, 0.09);
}

.pill-locked {
  color: #e2b979;
  border-color: rgba(214, 166, 98, 0.42);
  background: rgba(214, 166, 98, 0.08);
}

.cta-panel {
  margin-bottom: 96px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  width: var(--content);
  min-height: 124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--border);
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.content-page {
  width: min(820px, calc(100vw - 48px));
  min-height: calc(100vh - 201px);
  margin: 0 auto;
  padding: 88px 0 120px;
}

.content-page .page-intro {
  margin-bottom: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border);
}

.content-page h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.content-page h2 {
  margin: 42px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.content-page p,
.content-page li {
  color: #b1bbc5;
}

.content-page li + li {
  margin-top: 8px;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--sage);
  background: var(--surface);
  color: #c2ccd5;
}

.status-table {
  width: 100%;
  margin: 34px 0;
  border-collapse: collapse;
}

.status-table th,
.status-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.status-table th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-table td {
  color: #b9c3cc;
  font-size: 0.86rem;
}

.status-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-frame {
    transform: none;
  }

  .split-section,
  .release-panel {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .steps-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 30px 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(100% - 32px, 1160px);
  }

  .site-header {
    padding: 16px 0;
    align-items: flex-start;
  }

  .site-header nav {
    max-width: 230px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .site-header nav a {
    font-size: 0.74rem;
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .workspace {
    min-height: 390px;
    grid-template-columns: 94px 1fr;
  }

  .file-rail {
    padding: 14px 7px;
  }

  .file-rail li {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .file-rail li span {
    display: block;
  }

  .document-surface {
    margin: 12px;
    padding: 20px;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }

  .graph-card {
    min-height: 82px;
    padding: 10px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div,
  .proof-strip > div:first-child {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .proof-strip > div:first-child {
    border-top: 0;
  }

  .section-block {
    padding: 92px 0;
  }

  .split-section {
    padding-bottom: 92px;
    gap: 38px;
  }

  .release-panel {
    padding: 30px 24px;
  }

  .cta-panel {
    padding: 30px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel .button {
    width: 100%;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .status-table,
  .status-table tbody,
  .status-table tr,
  .status-table th,
  .status-table td {
    display: block;
  }

  .status-table thead {
    display: none;
  }

  .status-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .status-table td {
    padding: 3px 0;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
