:root {
  color-scheme: dark;
  --bg: #071019;
  --panel: #0d1924;
  --panel-light: #10212d;
  --line: rgba(170, 205, 220, 0.12);
  --text: #ecf5f8;
  --muted: #91a4b0;
  --cyan: #20d7e8;
  --cyan-bright: #4be7f0;
  --violet: #8c7bff;
  --mono: "Cascadia Code", Consolas, monospace;
  --sans: "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 78% 7%, rgba(23, 117, 143, 0.12), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  transform: translateY(calc(-100% - 16px));
  padding: 9px 13px;
  border: 1px solid rgba(32, 215, 232, 0.4);
  border-radius: 7px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand img {
  border-radius: 50%;
  object-fit: contain;
}

.accent {
  color: var(--cyan);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-header nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--cyan-bright);
}

.site-header .nav-github {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 550px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  overflow: hidden;
  padding: 58px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 78% 46%, rgba(10, 177, 204, 0.09), transparent 28rem),
    linear-gradient(180deg, rgba(12, 27, 38, 0.24), transparent);
}

.hero-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgba(83, 146, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 146, 166, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font: 500 0.7rem/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(32, 215, 232, 0.75);
}

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

h1 {
  margin-bottom: 19px;
  font-size: clamp(3.1rem, 6vw, 5.15rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.hero-description {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-description code,
.release-intro code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(32, 215, 232, 0.1);
  color: #b9e9ee;
  font: 0.86em var(--mono);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: #031218;
}

.button-primary:hover {
  background: var(--cyan-bright);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(11, 24, 34, 0.72);
}

.button-secondary:hover {
  border-color: rgba(32, 215, 232, 0.45);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 39px;
  color: var(--muted);
  font: 0.72rem var(--mono);
}

.hero-facts strong {
  color: var(--text);
  font-weight: 500;
}

.hero-art {
  display: grid;
  min-height: 410px;
  place-items: center;
}

.hero-art img {
  position: relative;
  width: min(100%, 400px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 42px rgba(22, 192, 222, 0.16));
}

.art-glow {
  position: absolute;
  width: min(70vw, 370px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(7, 183, 216, 0.11);
  filter: blur(65px);
}

.art-caption {
  position: absolute;
  right: 2%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 20, 29, 0.88);
  color: #b9cbd2;
  font: 0.62rem var(--mono);
  letter-spacing: 0.08em;
}

.section-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-section {
  padding-top: 92px;
  padding-bottom: 102px;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.section-heading > p:last-child,
.release-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(17, 35, 47, 0.82), rgba(10, 22, 32, 0.72));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 215, 232, 0.32);
  background: linear-gradient(145deg, rgba(20, 42, 55, 0.92), rgba(10, 22, 32, 0.8));
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(32, 215, 232, 0.2);
  border-radius: 8px;
  background: rgba(32, 215, 232, 0.08);
  color: var(--cyan);
  font-size: 1.22rem;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.start-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(10, 26, 37, 0.94), rgba(11, 20, 31, 0.72));
}

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
}

.start-copy {
  max-width: 460px;
}

.start-copy h2 {
  margin-bottom: 14px;
}

.start-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.91rem;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgba(170, 205, 220, 0.17);
  border-radius: 12px;
  background: #080f17;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 0 50px rgba(19, 179, 200, 0.07);
}

.terminal-topbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(170, 205, 220, 0.1);
  color: #7e929f;
  font: 0.6rem var(--mono);
  letter-spacing: 0.08em;
}

.terminal-lights {
  display: flex;
  gap: 6px;
}

.terminal-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f77670;
}

.terminal-lights i:nth-child(2) {
  background: #e6bd55;
}

.terminal-lights i:nth-child(3) {
  background: #42c985;
}

.terminal-command {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
}

.terminal-command code {
  overflow-wrap: anywhere;
  color: #dceaf0;
  font: 0.82rem/1.6 var(--mono);
}

.terminal-command code span {
  margin-right: 9px;
  color: var(--cyan);
}

.terminal-command-secondary {
  min-height: 52px;
  padding-top: 0;
}

.terminal-command-secondary code {
  color: #a8b8c2;
  font-size: 0.74rem;
}

.copy-button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid rgba(32, 215, 232, 0.24);
  border-radius: 6px;
  background: rgba(32, 215, 232, 0.08);
  color: var(--cyan-bright);
  font: 600 0.69rem var(--sans);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.copy-button:hover {
  border-color: rgba(32, 215, 232, 0.5);
  background: rgba(32, 215, 232, 0.14);
}

.copy-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.copy-status {
  min-height: 20px;
  margin: 0;
  padding: 0 16px 12px;
  color: #a8f0c5;
  font-size: 0.68rem;
}

.copy-status:not(:empty) {
  padding-top: 2px;
}

.docs-section {
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 12% 50%, rgba(140, 123, 255, 0.055), transparent 30rem),
    rgba(10, 20, 30, 0.42);
}

/* --- Command reference -------------------------------------------------- */

.command-section {
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 24, 34, 0.5), rgba(7, 16, 25, 0.18));
}

.command-section .release-intro {
  max-width: 640px;
}

.command-section code {
  font-family: var(--mono);
}

.command-tour {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(170, 205, 220, 0.17);
  border-radius: 12px;
  background: #080f17;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), 0 0 46px rgba(19, 179, 200, 0.06);
}

.command-tour-code {
  overflow-x: auto;
  margin: 0;
  padding: 18px 20px;
  color: #dceaf0;
  font: 0.79rem/1.85 var(--mono);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.command-group {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(18, 35, 48, 0.86), rgba(9, 19, 29, 0.82));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.command-group:hover {
  border-color: rgba(32, 215, 232, 0.3);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.command-group-head {
  margin-bottom: 18px;
}

.command-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(32, 215, 232, 0.2);
  border-radius: 8px;
  background: rgba(32, 215, 232, 0.08);
  color: var(--cyan);
  font-size: 1.1rem;
}

.command-group-head h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.command-group-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.command-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.command-item {
  padding: 13px 0 0;
}

.command-item + .command-item {
  border-top: 1px solid rgba(170, 205, 220, 0.07);
}

.command-chip {
  overflow-x: auto;
  margin: 0 0 6px;
  padding: 7px 10px;
  border: 1px solid rgba(32, 215, 232, 0.14);
  border-radius: 6px;
  background: rgba(3, 10, 16, 0.62);
  color: #b9e9ee;
  font: 0.74rem/1.55 var(--mono);
}

.command-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.command-item p code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(32, 215, 232, 0.1);
  color: #b9e9ee;
  font-size: 0.9em;
}

.command-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

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

@media (max-width: 920px) {
  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.doc-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(18, 35, 48, 0.92), rgba(9, 19, 29, 0.86));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doc-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 215, 232, 0.4);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24), 0 0 28px rgba(32, 215, 232, 0.055);
}

.doc-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 19px;
  border: 1px solid rgba(140, 123, 255, 0.24);
  border-radius: 9px;
  background: rgba(140, 123, 255, 0.09);
  color: #b2a8ff;
  font-size: 1.2rem;
}

.doc-label {
  margin-bottom: 6px;
  color: var(--cyan);
  font: 0.59rem/1.4 var(--mono);
  letter-spacing: 0.12em;
}

.doc-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.doc-description {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: #c4d3dc;
  font-size: 0.72rem;
  font-weight: 700;
}

.doc-card:hover .doc-link {
  color: var(--cyan-bright);
}

.release-section {
  padding: 90px 0 100px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 25, 35, 0.66), rgba(7, 16, 25, 0.25));
}

.release-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.release-heading .eyebrow {
  margin-bottom: 12px;
}

.release-heading h2 {
  margin-bottom: 10px;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.release-status {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(12, 25, 35, 0.78);
  color: var(--muted);
  font-size: 0.86rem;
}

.release-status[hidden] {
  display: none;
}

.release-status.is-error {
  border-color: rgba(246, 173, 85, 0.24);
  color: #eac18d;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(32, 215, 232, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.release-list {
  display: grid;
  gap: 14px;
}

.release-card {
  min-width: 0;
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 25, 35, 0.82);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.release-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 215, 232, 0.35);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.2);
}

.release-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.release-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.release-title-link {
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 150ms ease;
}

.release-title-link:hover {
  color: var(--cyan-bright);
}

.release-title-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.release-tag {
  padding: 3px 8px;
  border: 1px solid rgba(32, 215, 232, 0.22);
  border-radius: 5px;
  background: rgba(32, 215, 232, 0.08);
  color: var(--cyan);
  font: 0.68rem var(--mono);
  letter-spacing: 0;
}

.latest-label {
  color: #a8f0c5;
  font: 500 0.63rem var(--mono);
  letter-spacing: 0.08em;
}

.prerelease-label {
  padding: 3px 7px;
  border: 1px solid rgba(246, 173, 85, 0.22);
  border-radius: 5px;
  background: rgba(246, 173, 85, 0.07);
  color: #eac18d;
  font: 500 0.59rem var(--mono);
  letter-spacing: 0.06em;
}

.release-date {
  flex: 0 0 auto;
  padding-top: 5px;
  color: var(--muted);
  font: 0.71rem var(--mono);
}

.release-name {
  margin: 9px 0 0;
  color: #b5c5cc;
  font-size: 0.84rem;
  font-weight: 600;
}

.release-notes {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.release-notes > :first-child {
  margin-top: 0;
}

.release-notes > :last-child {
  margin-bottom: 0;
}

.release-notes p {
  margin: 0 0 10px;
}

.release-notes h4 {
  margin: 16px 0 7px;
  color: #dceaf0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.release-notes ul,
.release-notes ol {
  display: block;
  margin: 8px 0 14px;
  padding-left: 21px;
}

.release-notes li {
  min-width: 0;
  padding-left: 3px;
}

.release-notes li + li {
  margin-top: 5px;
}

.release-notes li::marker {
  color: var(--cyan);
}

.release-notes code {
  padding: 2px 5px;
  border: 1px solid rgba(170, 205, 220, 0.1);
  border-radius: 4px;
  background: rgba(3, 10, 16, 0.66);
  color: #b9e9ee;
  font: 0.88em var(--mono);
  overflow-wrap: anywhere;
}

.release-notes pre {
  overflow-x: auto;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(3, 10, 16, 0.66);
}

.release-notes pre code {
  padding: 0;
  border: 0;
  background: transparent;
  overflow-wrap: normal;
}

.release-note-link {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-decoration-color: rgba(75, 231, 240, 0.35);
  text-underline-offset: 3px;
}

.release-note-link:hover {
  text-decoration-color: currentColor;
}

.release-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.release-download {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #c6d5dc;
  font-size: 0.73rem;
  font-weight: 700;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.release-download:hover {
  border-color: rgba(32, 215, 232, 0.4);
  color: var(--cyan-bright);
}

.release-download.primary-download {
  border-color: transparent;
  background: rgba(32, 215, 232, 0.13);
  color: var(--cyan-bright);
}

.release-download.primary-download:hover {
  background: rgba(32, 215, 232, 0.22);
}

.release-source {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.release-source:hover {
  color: var(--cyan-bright);
}

.site-footer {
  display: flex;
  width: min(1160px, calc(100% - 48px));
  min-height: 95px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-brand {
  color: var(--text);
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--cyan-bright);
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 68px;
    padding-bottom: 38px;
  }

  .hero-art {
    min-height: 310px;
    margin-top: 10px;
  }

  .hero-art img {
    width: min(77%, 310px);
  }

  .art-caption {
    right: 4%;
    bottom: 2%;
  }

  .feature-section,
  .command-section,
  .release-section {
    padding-top: 68px;
    padding-bottom: 72px;
  }

  .command-group {
    padding: 19px 18px 17px;
  }

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

  .start-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .start-copy {
    max-width: 600px;
  }

  .start-section {
    padding: 64px 0;
  }

  .docs-section {
    padding: 68px 0 72px;
  }

  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 13px;
  }

  .release-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer {
    min-height: 120px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 20px 0;
  }

  .footer-links {
    margin-left: auto;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-wrap,
  .site-footer {
    width: calc(100% - 34px);
  }

  .site-header {
    height: 70px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .site-header nav {
    gap: 10px;
    font-size: 0.75rem;
  }

  .site-header .nav-github {
    padding: 7px 9px;
  }

  .hero {
    padding-right: 17px;
    padding-left: 17px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .hero-facts {
    gap: 9px 14px;
    font-size: 0.65rem;
  }

  .release-card {
    padding: 18px;
  }

  .release-title {
    gap: 8px;
    font-size: 1.12rem;
  }

  .release-topline {
    flex-direction: column;
    gap: 5px;
  }

  .release-date {
    order: -1;
  }

  .release-source {
    margin-left: 0;
  }

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

  .doc-card {
    min-height: 218px;
  }

  .footer-links {
    gap: 13px;
    font-size: 0.7rem;
  }

  .terminal-command {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .terminal-command code {
    font-size: 0.72rem;
  }

  .terminal-command-secondary code {
    font-size: 0.69rem;
  }
}

@media (max-width: 380px) {
  .site-header .brand {
    gap: 7px;
    font-size: 0.98rem;
  }

  .site-header .brand img {
    width: 34px;
    height: 34px;
  }

  .site-header nav {
    gap: 5px;
    font-size: 0.68rem;
  }

  .site-header nav > a[href="#features"] {
    display: none;
  }

  /* The nav grew by one link; at 380px the second word goes too, so the
     header keeps fitting rather than wrapping. */
  .site-header nav > a[href="#commands"] {
    display: none;
  }

  .site-header .nav-github {
    padding: 5px 7px;
  }
}

/* --- Motion ---------------------------------------------------------------
   Content is VISIBLE in the base rules here. Everything that hides or moves
   content lives inside `prefers-reduced-motion: no-preference`, and that is
   load-bearing rather than cosmetic: the global reduced-motion block at the
   foot of this file only shortens durations, so an animation that defines its
   end state would freeze a reduced-motion reader at the invisible start value.
   The base rule is what they get instead, and it shows everything.
   ------------------------------------------------------------------------ */

/* The opt-in is the attribute itself, not a class: the observer queries
   `[data-reveal]`, so keying the CSS on the same selector means there is one
   mechanism rather than two that can drift apart. `.is-revealed` is the only
   class involved, and it is added by the observer. This base rule is what
   shows content before any script runs. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms ease, transform 520ms ease;
  }

  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  /* The hero plays once on load. The stagger is an animation-delay in CSS
     rather than a timer in JS, so it costs no main-thread work. `backwards`
     holds the from-state through the delay, which is what makes each element
     arrive in sequence instead of all at once -- and is exactly why this rule
     cannot live outside the guard. */
  .hero-enter {
    animation: hero-rise 560ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  }

  .hero-enter-1 {
    animation-delay: 0ms;
  }

  .hero-enter-2 {
    animation-delay: 70ms;
  }

  .hero-enter-3 {
    animation-delay: 150ms;
  }

  .hero-enter-4 {
    animation-delay: 230ms;
  }

  .hero-enter-5 {
    animation-delay: 300ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
