:root {
  color-scheme: dark;
  --bg: #07080c;
  --surface: #13151c;
  --surface-2: #191c25;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f8f9fc;
  --muted: #a2aaba;
  --brand: #e40a14;
  --brand-2: #ff454f;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(228, 10, 20, 0.16), transparent 20%),
    linear-gradient(180deg, #06070b 0%, #07080c 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
}

body {
  padding: 18px;
}

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

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero,
.stat-card,
.doc-card,
.footer-note {
  background: rgba(19, 21, 28, 0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aab3c4;
}

.hero h1,
.doc-card h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
}

.hero-text,
.doc-card p,
.footer-note p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 760px;
  font-size: 1rem;
  margin: 14px 0 0;
}

.hero-brand {
  min-width: 180px;
  display: flex;
  justify-content: flex-end;
}

.hero-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

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

.stat-card {
  padding: 22px 24px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doc-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.doc-card--highlight {
  background:
    radial-gradient(circle at top right, rgba(228, 10, 20, 0.16), transparent 24%),
    rgba(19, 21, 28, 0.92);
  border-color: rgba(228, 10, 20, 0.22);
}

.doc-card h2 {
  font-size: 2.2rem;
}

.tag-row,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
}

.btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 12px 26px rgba(228, 10, 20, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.footer-note {
  padding: 18px 22px;
}

.footer-note p {
  margin: 0;
}

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

  .hero {
    flex-direction: column;
  }

  .hero-brand {
    justify-content: flex-start;
  }
}
