:root {
  --bg: #03050c;
  --panel: rgba(7, 12, 26, 0.84);
  --ink: #eaf0ff;
  --soft: #aeb8d4;
  --muted: #7e89a8;
  --line: rgba(126, 150, 210, 0.3);
  --accent: #fff305;
  --hero-image: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(3, 5, 12, 0.94) 7%, rgba(3, 5, 12, 0.5) 59%, rgba(3, 5, 12, 0.92)), var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.8) brightness(0.72);
}

.page::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--space-stars), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.topbar,
.content,
.footer {
  width: min(1440px, 92vw);
  margin: 0 auto;
}

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

.brand,
.back-link,
.section-nav a,
.action {
  font-family: "JetBrains Mono", monospace;
  text-decoration: none;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.back-link {
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.back-link:hover,
.section-nav a:hover,
.section-nav a[aria-current="page"],
.action:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 56px;
  align-items: end;
  min-height: 56vh;
  padding: 10vh 0 7vh;
}

.eyebrow,
.cap,
.detail-label {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span,
.cap span {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 18px 0 24px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1;
}

.lead {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.72;
}

.hero-panel,
.detail-card,
.stat {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.hero-panel h2 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

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

.action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.action.primary {
  border-color: var(--accent);
  color: var(--accent);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-nav a {
  padding: 9px 10px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.details {
  padding: 72px 0 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.05;
}

.section-heading p {
  max-width: 50ch;
  margin-bottom: 0;
  color: var(--soft);
  line-height: 1.65;
}

.stats,
.detail-grid {
  display: grid;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 44px;
}

.stat {
  min-height: 136px;
  padding: 20px;
}

.stat strong {
  display: block;
  color: var(--accent);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(25px, 3vw, 38px);
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.detail-card {
  min-height: 210px;
  padding: 22px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.detail-card h3 {
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.4;
}

.detail-card p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .topbar,
  .section-heading,
  .footer {
    align-items: flex-start;
  }

  .hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding: 9vh 0 8vh;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer {
    display: block;
  }

  .section-heading p,
  .footer span + span {
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 12px;
    padding: 16px 0;
  }

  .brand {
    font-size: 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .back-link {
    padding: 9px;
    font-size: 9px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 14px;
  }

  .details {
    padding-top: 48px;
  }
}
