@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #07111f;
  --bg-soft: #0d1a2c;
  --panel: rgba(10, 19, 34, 0.78);
  --panel-strong: rgba(13, 26, 44, 0.96);
  --line: rgba(169, 189, 215, 0.16);
  --text: #edf4ff;
  --muted: #a5b7cf;
  --accent: #8dd8ff;
  --accent-strong: #4dc3ff;
  --success: #34d399;
  --danger: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 195, 255, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.12), transparent 24%),
    linear-gradient(180deg, #050b14 0%, var(--bg) 48%, #060b12 100%);
  font-family: "Fraunces", "Georgia", serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
}

a {
  color: inherit;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px 0 26px;
}

.hero-copy,
.hero-panel,
.intro-card,
.insight-card,
.table-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 26, 44, 0.88), rgba(6, 11, 18, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  border-radius: 28px;
  padding: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--accent);
}

h1,
h2,
strong {
  font-family: "Fraunces", "Georgia", serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.lede {
  margin: 18px 0 0;
  max-width: 66ch;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.92rem 1.2rem;
  border: 1px solid var(--line);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), #8ae3c3);
  color: #05111d;
  border-color: transparent;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-panel {
  border-radius: 28px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.panel-card {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-label {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.panel-card strong {
  font-size: 1.1rem;
}

.intro-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.intro-card,
.insight-card {
  border-radius: 24px;
  padding: 22px;
}

.intro-card h2,
.insight-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.intro-card p,
.insight-card p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

.table-section {
  margin-top: 18px;
  border-radius: 30px;
  padding: 24px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  background: rgba(5, 10, 18, 0.95);
  color: var(--text);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

td {
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

tbody td:first-child {
  color: var(--text);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #03111b;
  white-space: nowrap;
}

.badge-success {
  background: linear-gradient(135deg, #73f0c4, var(--success));
}

.badge-danger {
  background: linear-gradient(135deg, #ff9eb0, var(--danger));
}

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

td a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .intro-card,
  .insight-card,
  .table-section {
    border-radius: 22px;
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }
}

@media (max-width: 720px) {
  .hero-copy,
  .hero-panel,
  .table-section {
    padding: 18px;
  }

  .intro-card,
  .insight-card {
    padding: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tbody tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--panel-strong);
  }

  tbody td {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  td::before {
    content: attr(data-label);
    color: var(--text);
    font-weight: 700;
  }
}
:root {
  --bg: #07111f;
