:root {
  --ink: #152033;
  --muted: #4d5d75;
  --paper: #f7f3ea;
  --paper-strong: #fffdf9;
  --line: rgba(21, 32, 51, 0.12);
  --accent: #0b7a75;
  --accent-strong: #0f4c81;
  --accent-soft: rgba(11, 122, 117, 0.12);
  --gold: #e8b84c;
  --shadow: 0 24px 70px rgba(17, 27, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI Variable", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(232, 184, 76, 0.26), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(15, 76, 129, 0.18), transparent 25%),
    linear-gradient(180deg, #f4efe5 0%, #f8f6f2 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 10px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero {
  padding: 12px 0 22px;
}

.hero--compact {
  padding-bottom: 8px;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero__copy,
.hero__panel {
  position: relative;
}

.hero__copy {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(11, 122, 117, 0.22), transparent 62%);
}

.hero__panel {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  max-width: 11ch;
}

.lede,
.section__heading p,
.feature-card p,
.security-card p,
.download-card p,
.signal-card p,
.signal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  margin: 20px 0 0;
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero__actions,
.download-actions,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 28px;
}

.button,
.button--muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(15, 76, 129, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button--muted {
  background: rgba(21, 32, 51, 0.06);
  color: var(--muted);
}

.text-link {
  align-self: center;
  color: var(--accent-strong);
  font-weight: 600;
}

.release-pill {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.release-pill div,
.signal-card,
.download-card,
.feature-card,
.security-card,
.table-shell {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(21, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.release-pill div {
  border-radius: 18px;
  padding: 14px 16px;
}

.release-pill dt {
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
}

.release-pill dd {
  margin: 0;
  font-weight: 700;
}

.signal-card {
  border-radius: 24px;
  padding: 22px;
}

.signal-card--accent {
  background: linear-gradient(180deg, rgba(11, 122, 117, 0.12), rgba(255, 253, 249, 0.82));
}

.signal-card__label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.signal-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.section {
  padding-top: 60px;
}

.legal-hero {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.legal-note {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.legal-shell {
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section__heading h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
}

.downloads-grid,
.feature-grid,
.security-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.download-card,
.feature-card,
.security-card {
  border-radius: 22px;
  padding: 22px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.download-card.unavailable {
  opacity: 0.74;
}

.download-card h3,
.feature-card h3,
.security-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.download-card__eyebrow {
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--muted);
}

.download-actions {
  margin-top: 16px;
}

.section--muted {
  position: relative;
}

.section--muted::before {
  content: "";
  position: absolute;
  inset: 28px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 32, 51, 0.15), transparent);
}

.table-shell {
  border-radius: 22px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(15, 76, 129, 0.08);
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody td {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.footer {
  padding-top: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero__content,
  .downloads-grid,
  .feature-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .release-pill {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

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

  .hero__copy,
  .legal-hero,
  .legal-shell,
  .signal-card,
  .download-card,
  .feature-card,
  .security-card {
    padding: 20px;
  }

  h1 {
    max-width: none;
  }

  .hero__actions,
  .download-actions,
  .footer,
  .footer__links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button--muted {
    width: 100%;
  }
}
