:root {
  --bg: #f4f7fc;
  --bg-soft: #e9f1f3;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --ink: #17233a;
  --muted: #5f6d86;
  --line: #d9e2f0;
  --hero: #081326;
  --hero-alt: #0d1c3d;
  --hero-ink: #f5f8ff;
  --brand: #2d8f8b;
  --brand-strong: #165f66;
  --brand-soft: #dff4f2;
  --cyan: #89d6df;
  --cyan-soft: #e4f9fb;
  --warn: #9b5c35;
  --warn-soft: #fff1e7;
  --shadow: 0 26px 64px rgba(17, 29, 56, 0.08);
  --shadow-strong: 0 24px 72px rgba(6, 14, 30, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 143, 139, 0.24), transparent 22%),
    radial-gradient(circle at 90% 5%, rgba(137, 214, 223, 0.22), transparent 20%),
    linear-gradient(180deg, #071224 0, #0a1630 430px, var(--bg-soft) 430px, var(--bg) 100%);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: auto -120px 18% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 210, 255, 0.12), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  text-decoration: underline;
}

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

code,
pre {
  font-family: "Consolas", "SFMono-Regular", "Courier New", monospace;
}

code {
  overflow-wrap: anywhere;
}

pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: #08111f;
  color: #f7faff;
  font-size: 0.92rem;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  padding: 34px 0 24px;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 22%, rgba(67, 210, 255, 0.1), transparent 20%),
    radial-gradient(circle at 86% 14%, rgba(109, 114, 255, 0.22), transparent 12%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.hero-main,
.hero-side {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  color: var(--hero-ink);
  background:
    linear-gradient(150deg, rgba(16, 27, 55, 0.96), rgba(8, 15, 31, 0.92)),
    linear-gradient(135deg, rgba(45, 143, 139, 0.2), transparent 52%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-main::before,
.hero-side::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 214, 223, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-main > *,
.hero-side > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.mini-label,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow,
.mini-label {
  color: var(--brand);
}

.kicker {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

h3 {
  font-size: 1.18rem;
}

p,
li {
  line-height: 1.72;
  font-size: 1rem;
}

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 58rem;
  color: rgba(241, 246, 255, 0.82);
  font-size: 1.06rem;
}

.hero-side p,
.hero-side li,
.hero-main li {
  color: rgba(241, 246, 255, 0.84);
}

.identity-list,
.plain-list,
.warning-list {
  padding-left: 18px;
  margin: 12px 0 0;
}

.identity-list li,
.plain-list li,
.warning-list li {
  margin-bottom: 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.button.primary {
  color: #071224;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  box-shadow: 0 16px 28px rgba(45, 143, 139, 0.22);
}

.button.secondary {
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

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

.stats,
.grid-2,
.grid-3,
.nav-grid,
.soft-grid,
.download-grid,
.speaker-grid,
.metric-band {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 22px;
}

.stat {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(109, 114, 255, 0.18), rgba(67, 210, 255, 0.08));
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.8rem;
  color: #ffffff;
}

.metric-band {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.stat span {
  color: rgba(241, 246, 255, 0.8);
}

.metric-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(137, 164, 187, 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 183, 181, 0.16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(137, 214, 223, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 248, 253, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 36px rgba(10, 32, 52, 0.12);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, rgba(20, 95, 102, 0.95), rgba(72, 183, 181, 0.92), rgba(126, 217, 240, 0.9));
  z-index: 0;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -58px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 95, 102, 0.08), transparent 70%);
  z-index: 0;
}

.metric-card strong,
.metric-card span {
  position: relative;
  z-index: 1;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.78rem, 2.2vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0a3047;
}

.metric-card span {
  color: #42576d;
  font-size: 0.96rem;
  line-height: 1.55;
  font-weight: 600;
}

.site-nav {
  margin-top: 18px;
}

.site-nav .nav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(202, 214, 228, 0.96);
  box-shadow: 0 10px 24px rgba(18, 34, 56, 0.08);
}

.site-nav li {
  min-width: 0;
  flex: 0 0 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: auto;
  padding: 2px 0 5px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: rgba(16, 48, 70, 0.78) !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.site-nav a.active {
  color: #0d3147 !important;
  background: transparent;
  box-shadow: inset 0 -3px 0 rgba(45, 143, 139, 0.9);
}

.site-nav a:hover {
  color: #0d3147 !important;
  text-decoration: none;
  background: transparent;
  box-shadow: inset 0 -3px 0 rgba(45, 143, 139, 0.35);
}

main {
  padding: 28px 0 68px;
}

.section-stack {
  display: grid;
  gap: 18px;
}

.section-stack > *,
.grid-2 > *,
.grid-3 > *,
.nav-grid > *,
.download-grid > *,
.speaker-grid > *,
.soft-grid > * {
  min-width: 0;
}

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

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

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

.panel,
.table-panel,
.card,
.nav-card,
.download-card,
.speaker-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel::before,
.table-panel::before,
.card::before,
.nav-card::before,
.download-card::before,
.speaker-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(45, 143, 139, 0.85), rgba(137, 214, 223, 0.82));
  opacity: 0.9;
  z-index: 0;
}

.panel > *,
.table-panel > *,
.card > *,
.nav-card > *,
.download-card > *,
.speaker-card > * {
  position: relative;
  z-index: 1;
}

.nav-card,
.download-card,
.speaker-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-card:hover,
.download-card:hover,
.speaker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px rgba(16, 34, 54, 0.12);
  border-color: rgba(45, 143, 139, 0.22);
}

.nav-card h3,
.download-card h3,
.speaker-card h3 {
  margin-bottom: 10px;
}

.nav-card p,
.download-card p,
.speaker-card p {
  color: var(--muted);
}

.download-card,
.speaker-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.badge.cyan {
  background: var(--cyan-soft);
  color: #0075a5;
}

.muted {
  color: var(--muted);
}

.keyline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(109, 114, 255, 0.12);
  background: linear-gradient(180deg, #eef2ff, #f8fbff);
}

.callout.warn {
  border-color: rgba(155, 92, 53, 0.18);
  background: var(--warn-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
  justify-content: space-between;
}

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

.table-panel table,
.panel table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

table::-webkit-scrollbar {
  height: 9px;
}

table::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(109, 114, 255, 0.28);
}

th,
td {
  min-width: 110px;
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--brand-strong);
  font-weight: 700;
}

td {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.table-panel table tr:last-child td {
  border-bottom: 0;
}

.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.download-item {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.download-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.download-item:last-child {
  padding-bottom: 0;
}

.download-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.download-copy p {
  margin: 6px 0 0;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.download-actions .button {
  min-width: 120px;
}

.split-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  padding: 0 0 40px;
}

.footer .wrap {
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(7, 18, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e3ff;
  box-shadow: 0 16px 40px rgba(8, 15, 31, 0.22);
}

@media (max-width: 1120px) {
  .hero,
  .grid-3,
  .nav-grid,
  .download-grid,
  .speaker-grid,
  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .wrap {
    width: min(100% - 28px, 1480px);
  }

  .hero,
  .grid-2,
  .grid-3,
  .nav-grid,
  .download-grid,
  .speaker-grid,
  .soft-grid,
  .stats,
  .metric-band {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 14% 0%, rgba(45, 143, 139, 0.18), transparent 24%),
      radial-gradient(circle at 86% 2%, rgba(137, 214, 223, 0.14), transparent 18%),
      linear-gradient(180deg, #071224 0, #0a1630 520px, var(--bg-soft) 520px, var(--bg) 100%);
  }

  .hero-main,
  .hero-side,
  .panel,
  .table-panel,
  .card,
  .nav-card,
  .download-card,
  .speaker-card {
    padding: 22px;
    border-radius: 24px;
  }

  .site-nav .nav-strip {
    gap: 8px 16px;
    padding: 12px 14px;
  }

  .site-nav a {
    min-height: auto;
    padding: 1px 0 4px;
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
  }

  .download-item {
    flex-direction: column;
  }

  .download-actions {
    width: 100%;
    justify-content: stretch;
  }

  .download-actions .button {
    width: 100%;
  }

  th,
  td {
    min-width: 92px;
    padding: 12px 10px;
    font-size: 0.9rem;
  }
}
