:root {
  --bg: #0f1318;
  --panel: rgba(24, 29, 36, 0.88);
  --panel-border: #323b48;
  --text: #eef2f7;
  --muted: #b8c2cd;
  --accent: #70a4ff;
  --accent-strong: #9bbdff;
  --accent-soft: rgba(112, 164, 255, 0.14);
  --surface-2: rgba(17, 22, 28, 0.92);
  --button-dark: #27303a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(112, 164, 255, 0.22), transparent 26rem),
    radial-gradient(circle at top right, rgba(101, 139, 187, 0.16), transparent 28rem),
    linear-gradient(180deg, #0f1318 0%, #0b0f13 100%);
  color: var(--text);
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(112, 164, 255, 0.45);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(112, 164, 255, 0.24), rgba(112, 164, 255, 0.08));
  color: #eef4ff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  border-color: var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
}

.page-narrow {
  max-width: 820px;
}

.page-narrow .hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

h1,
h2 {
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
}

.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.8;
}

.version {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.sublede {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--text);
  opacity: 0.84;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-block;
  padding: 0.95rem 1.2rem;
  border-radius: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #11151b;
}

.button.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--button-dark);
  color: var(--text);
  border: 1px solid var(--panel-border);
}

.button.secondary:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button.disabled {
  opacity: 0.65;
  cursor: default;
}

.card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--panel-border);
  border-radius: 1.15rem;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.65rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.feature-tile {
  padding: 1.2rem;
  border: 1px solid rgba(216, 163, 87, 0.18);
  border-radius: 1rem;
  background: rgba(15, 19, 24, 0.45);
}

.feature-tile h2 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.summary-panel,
.release-callout,
.timeline-entry,
.feature-band,
.release-pill {
  border: 1px solid var(--panel-border);
  background: var(--surface-2);
}

.summary-panel {
  padding: 1.2rem;
  border-radius: 1rem;
}

.summary-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.stat-list,
.mini-list {
  display: grid;
  gap: 0.7rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stat-row span {
  color: var(--muted);
}

.stat-row strong {
  text-align: right;
}

.release-callout {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: 1rem;
}

.release-callout .label,
.release-pill .label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  padding: 1.15rem;
  border-radius: 1rem;
}

.feature-band p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.release-pill {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
}

.release-pill h3 {
  margin-top: 0.35rem;
}

.release-pill p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-entry {
  padding: 1.25rem;
  border-radius: 1rem;
}

.timeline-entry.current {
  border-color: rgba(216, 163, 87, 0.38);
  box-shadow: inset 0 0 0 1px rgba(216, 163, 87, 0.08);
}

.timeline-entry header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.timeline-entry time {
  color: var(--muted);
  font-weight: 600;
}

.page-footer {
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
}

.download-notes {
  margin-top: 1rem;
  color: var(--muted);
}

.download-notes p {
  margin: 0.35rem 0;
  line-height: 1.7;
}

.feedback-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 0.85rem;
  background: rgba(15, 19, 24, 0.78);
  color: var(--text);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 163, 87, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

ul,
ol {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.8;
}

p,
li,
code {
  font-size: 1rem;
}

.note {
  color: var(--muted);
  line-height: 1.7;
}

code {
  color: var(--text);
}

@media (max-width: 640px) {
  .page {
    padding-top: 2.4rem;
  }

  .site-header,
  .hero-grid,
  .section-head,
  .timeline-entry header,
  .stat-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

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

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
