@font-face {
  font-family: "Red Hat Display";
  src: url("redhat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("redhat-semibold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --code-bg: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #162230;
  --text-muted: #506174;
  --text-dim: #59697b;
  --accent: #1368b5;
  --accent-hover: #0d4f8c;
  --syn-comment: #64748b;
  --syn-string: #0f5f8c;
  --wrap: 920px;
  --prose: 740px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101720;
    --bg-alt: #141d28;
    --surface: #172230;
    --code-bg: #1c2939;
    --border: rgba(180, 210, 240, 0.12);
    --border-strong: rgba(180, 210, 240, 0.22);
    --text: #e6eef7;
    --text-muted: #9eb1c4;
    --text-dim: #73879c;
    --accent: #5bb8f5;
    --accent-hover: #8fd0ff;
    --syn-comment: #7f96ad;
    --syn-string: #8fd0ff;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Red Hat Display", system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

code {
  font-family: var(--mono);
  font-size: 0.87em;
  background: var(--code-bg);
  border-radius: 3px;
  padding: 0.08em 0.3em;
  white-space: nowrap;
}

pre,
.highlight pre {
  margin: 1rem 0;
  padding: 0.9rem 1.05rem;
  overflow-x: auto;
  background: var(--code-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
}

pre code,
.highlight pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre;
}

.chroma .c,
.chroma .cm,
.chroma .c1,
.chroma .cs {
  color: var(--syn-comment);
}

.chroma .s,
.chroma .s1,
.chroma .s2,
.chroma .sb,
.chroma .sc {
  color: var(--syn-string);
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.prose-wrap {
  max-width: var(--prose);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--accent);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 58px;
}

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

.brand:hover {
  text-decoration: none;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 1px solid var(--border-strong);
  padding-left: 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.75rem 0 3.25rem;
  color: #edf4fb;
  background:
    radial-gradient(ellipse 68% 72% at 50% 34%, rgba(56, 168, 245, 0.24) 0%, rgba(16, 48, 82, 0.08) 56%, rgba(8, 20, 34, 0.55) 100%),
    linear-gradient(180deg, rgba(9, 24, 41, 0.58) 0%, rgba(10, 22, 36, 0.78) 100%),
    url("hero-backdrop.png") center / cover no-repeat,
    #0b1d30;
  border-bottom: 1px solid rgba(130, 195, 250, 0.18);
}

.hero-inner {
  max-width: 680px;
  text-align: center;
}

.hero-mark {
  width: 184px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 14px 28px rgba(4, 14, 28, 0.52));
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f4f9ff;
}

.hero-lead {
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
  color: #bfd3e6;
  max-width: 56ch;
}

.hero-links {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  font-size: 0.98rem;
}

.hero-links a {
  color: #7cd0ff;
}

.hero-links a:hover {
  color: #b4e4ff;
}

.hero-links .link-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 1.25rem;
  border-radius: 7px;
  background: #1374c4;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(4, 16, 34, 0.35);
}

.hero-links .link-primary:hover {
  background: #1b87df;
  color: #ffffff;
  text-decoration: none;
}

/* Sections */
.section {
  padding: 2.85rem 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  color: #e8f1fa;
  background:
    radial-gradient(ellipse 65% 80% at 85% 15%, rgba(44, 142, 224, 0.16) 0%, rgba(12, 31, 52, 0) 68%),
    linear-gradient(180deg, #0d2136 0%, #0a1828 100%);
  border-bottom-color: rgba(130, 195, 250, 0.16);
}

.section h2 {
  margin: 0 0 1.2rem;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.section-alt h2 {
  color: #7cd0ff;
}

.section-alt a {
  color: #7cd0ff;
}

.section-alt a:hover {
  color: #b4e4ff;
}

.section-alt .section-meta,
.section-alt .section-footnote {
  color: #a9c0d6;
}

.section-alt code {
  background: rgba(120, 185, 240, 0.13);
  color: #d6eafc;
}

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

.section-head h2 {
  margin: 0;
}

.section-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature list (two independent natural-flow columns) */
.feature-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 2.75rem;
  align-items: start;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

/* Download rows */
.download-list {
  display: grid;
  gap: 0.9rem;
}

.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(155, 208, 250, 0.16);
}

.dl-info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: #f4f9ff;
}

.dl-target {
  margin: 0 0 0.2rem;
  font-size: 0.93rem;
  color: #d4e4f3;
}

.dl-note {
  margin: 0;
  font-size: 0.89rem;
  color: #9bb5cd;
}

.dl-action {
  flex: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.dl-file {
  font-size: 0.82rem;
  color: #b4cde4;
}

.dl-link {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1.05rem;
  border-radius: 6px;
  background: #1374c4;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.94rem;
}

.dl-link:hover {
  background: #1b87df;
  text-decoration: none;
}

.section-footnote {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Facts / limits list */
.facts-list {
  margin: 0;
  padding-left: 1.2rem;
}

.facts-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.facts-list strong {
  color: var(--text);
}

/* Subpages */
.page-head {
  padding: 2.5rem 0 1.85rem;
  color: #edf4fb;
  background:
    radial-gradient(ellipse 60% 100% at 22% 50%, rgba(56, 168, 245, 0.2) 0%, rgba(12, 32, 54, 0) 65%),
    linear-gradient(180deg, rgba(10, 25, 42, 0.65) 0%, rgba(9, 21, 35, 0.82) 100%),
    url("hero-backdrop.png") center / cover no-repeat,
    #0b1d30;
  border-bottom: 1px solid rgba(130, 195, 250, 0.18);
}

.crumb {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: #9cb7d0;
}

.crumb a {
  color: #7cd0ff;
}

.page-head h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f4f9ff;
}

.page-lead {
  margin: 0;
  font-size: 0.98rem;
  color: #bfd3e6;
}

.release-entry {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.release-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

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

.release-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.release-head time {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--text-dim);
}

.prose h2,
.prose h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.93rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
}

.prose th {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

.prose-nav {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-align: center;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-note {
  font-size: 0.78rem;
  opacity: 0.72;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .feature-cols {
    grid-template-columns: 1fr;
  }

  .dl-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dl-action {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
