:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f6f76;
  --soft-muted: #8f8f96;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.13);
  --paper: #ffffff;
  --soft: #f6f7f9;
  --soft-2: #eef2f6;
  --black: #111111;
  --blue: #007aff;
  --green: #34c759;
  --orange: #ff9500;
  --purple: #5856d6;
  --pink: #ff2d55;
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.07);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-nav {
  width: min(1180px, calc(100% - 40px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.latest-chip,
.tag-cloud,
.window-bar {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 122, 255, 0.12);
}

.nav-links {
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.site-footer a,
.nav-cta,
.primary-link,
.secondary-link {
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  opacity: 0.65;
}

.nav-cta,
.primary-link,
.secondary-link {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  background: var(--black);
  color: #fff;
  padding: 10px 18px;
}

.nav-cta:hover,
.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-1px);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 74px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--soft-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 68px;
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
  font-weight: 520;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  min-width: 132px;
  padding: 13px 20px;
}

.primary-link {
  background: var(--blue);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--line-strong);
  background: #fff;
}

.hero-visual {
  margin: 58px auto 0;
}

.window-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.window-bar {
  height: 48px;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 249, 251, 0.96);
}

.traffic {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic.red {
  background: #ff5f57;
}

.traffic.yellow {
  background: #ffbd2e;
}

.traffic.green {
  background: #28c840;
}

.window-title {
  margin-left: auto;
  color: var(--soft-muted);
  font-size: 12px;
  font-weight: 700;
}

.window-frame img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.stats-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.stat-value {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 780;
}

.stat-label {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading,
.release-head {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 46px;
}

.section-heading {
  max-width: 780px;
}

.center-heading {
  text-align: center;
}

.section-heading h2,
.release-head h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: 0;
}

.section-heading p,
.release-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 520;
}

.feature-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.architecture-panel,
.latest-release,
.release-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.feature-card {
  min-height: 288px;
  border-radius: 28px;
  padding: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.release-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-wide {
  grid-column: span 2;
}

.dark-card {
  background: #111;
  color: #fff;
}

.dark-card p {
  color: rgba(255, 255, 255, 0.66);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 48px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.feature-kicker.blue {
  background: rgba(0, 122, 255, 0.10);
  color: var(--blue);
}

.feature-kicker.green {
  background: rgba(52, 199, 89, 0.12);
  color: #16823a;
}

.feature-kicker.orange {
  background: rgba(255, 149, 0, 0.13);
  color: #a65d00;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 740;
  letter-spacing: 0;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 520;
}

.mini-board {
  margin-top: 28px;
  border-radius: 18px;
  background: var(--soft);
  padding: 18px;
}

.mini-row,
.mini-progress {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.10);
  margin-top: 10px;
}

.mini-row.strong {
  width: 68%;
  margin-top: 0;
  background: rgba(0, 122, 255, 0.30);
}

.mini-row.short {
  width: 42%;
}

.mini-progress {
  overflow: hidden;
  height: 12px;
  margin-top: 20px;
  background: rgba(0, 122, 255, 0.12);
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.tag-cloud {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.architecture-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  align-items: stretch;
  padding: 34px;
}

.arch-column {
  min-height: 240px;
  border-radius: 22px;
  background: var(--soft);
  padding: 28px;
}

.arch-number {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.arch-column h3 {
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: 740;
}

.arch-column p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 520;
}

.arch-connector {
  align-self: center;
  height: 1px;
  background: var(--line-strong);
}

.release-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.release-head > div:first-child {
  max-width: 760px;
}

.latest-chip {
  flex-shrink: 0;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.latest-chip span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.latest-release,
.release-timeline {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.latest-release {
  overflow: hidden;
  border-radius: 28px;
  margin-bottom: 34px;
  padding: 34px;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: end;
}

.release-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.release-pills span,
.category-title {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.release-pills span {
  background: var(--soft);
  color: var(--muted);
}

.release-pills span:first-child {
  background: var(--black);
  color: #fff;
}

.latest-release h3 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 760;
}

.latest-release p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 520;
}

.latest-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.latest-stats div {
  border-radius: 20px;
  background: var(--soft);
  padding: 20px;
}

.latest-stats strong {
  display: block;
  font-size: 30px;
}

.latest-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.release-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.release-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0, 122, 255, 0.45), rgba(0, 0, 0, 0.08));
}

.release-card {
  position: relative;
  margin-left: 58px;
  border-radius: 28px;
  padding: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.release-dot {
  position: absolute;
  left: -58px;
  top: 31px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.release-dot::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  background: var(--blue);
}

.release-card.foundation .release-dot::after {
  background: var(--soft-muted);
}

.release-card.stability .release-dot::after {
  background: var(--green);
}

.release-card-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.release-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.16;
}

.release-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 520;
}

.release-date {
  min-width: 112px;
  color: var(--soft-muted);
  text-align: right;
  font-size: 13px;
  font-weight: 750;
}

.release-date strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
}

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

.category-block {
  border-radius: 20px;
  background: var(--soft);
  padding: 18px;
}

.category-title {
  display: inline-block;
  margin-bottom: 16px;
  background: #fff;
  color: var(--muted);
}

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

.change-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.change-item p {
  font-size: 14px;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.file-list span {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 52px;
  }

  .hero {
    padding-top: 72px;
  }

  .stats-band,
  .feature-grid,
  .architecture-panel,
  .latest-grid,
  .release-head {
    grid-template-columns: 1fr 1fr;
  }

  .architecture-panel {
    display: grid;
    gap: 14px;
  }

  .arch-connector {
    display: none;
  }

  .feature-wide {
    grid-column: span 2;
  }

  .release-head {
    display: grid;
    align-items: start;
  }

  .latest-grid {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 9px 13px;
  }

  .hero,
  .stats-band,
  .section-heading,
  .feature-grid,
  .architecture-panel,
  .release-head,
  .latest-release,
  .release-timeline,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 54px 0 48px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-lede,
  .section-heading p,
  .release-head p,
  .latest-release p {
    font-size: 16px;
  }

  .window-frame {
    border-radius: 20px;
  }

  .window-frame img {
    min-height: 240px;
  }

  .stats-band,
  .feature-grid,
  .architecture-panel,
  .latest-grid,
  .latest-stats,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .release-head h2 {
    font-size: 34px;
  }

  .feature-card,
  .latest-release,
  .release-card,
  .architecture-panel {
    border-radius: 22px;
  }

  .feature-card {
    min-height: auto;
    padding: 24px;
  }

  .feature-kicker {
    margin-bottom: 34px;
  }

  .feature-card h3,
  .release-card h3 {
    font-size: 25px;
  }

  .latest-release h3 {
    font-size: 34px;
  }

  .release-timeline::before,
  .release-dot {
    display: none;
  }

  .release-card {
    margin-left: 0;
    padding: 24px;
  }

  .release-card-head,
  .site-footer {
    flex-direction: column;
  }

  .release-date {
    text-align: left;
  }
}
