:root {
  color-scheme: dark;
  --bg: #090b0d;
  --bg-2: #101316;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f4f6f8;
  --muted: #a4acb4;
  --muted-2: #6f7880;
  --red: #ef2f25;
  --red-2: #ff5d4e;
  --amber: #d4a74f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(239, 47, 37, 0.08), transparent 360px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 520px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  padding: 10px 12px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 20px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, var(--red), transparent 62%),
    repeating-linear-gradient(180deg, var(--text) 0 2px, transparent 2px 5px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--red);
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 36px;
  width: min(var(--max), calc(100% - 48px));
  min-height: clamp(620px, 78vh, 760px);
  margin: 0 auto;
  padding: 24px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.dateline,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red-2);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 730;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  color: #d4d9dd;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 18px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  border-color: var(--red);
  background: var(--red);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.hero-facts div {
  min-width: 0;
  background: rgba(9, 11, 13, 0.76);
  padding: 16px;
}

.hero-facts dt {
  color: var(--muted-2);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 500px;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: auto 8% -12% 18%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow:
    0 -32px 0 rgba(239, 47, 37, 0.42),
    0 -64px 0 rgba(239, 47, 37, 0.22);
}

.hero-media::after {
  inset: 9% -8% auto 56%;
  transform: rotate(12deg);
}

.hero-media img {
  width: 100%;
  height: min(56vh, 540px);
  min-height: 420px;
  object-fit: cover;
  object-position: 58% center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.scanline,
.section,
.sources {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.scanline {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.scanline h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

.scanline p:last-child {
  align-self: center;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  padding: 104px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 6px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line-soft);
  gap: 1px;
}

.term-card,
.roadmap-card,
.countdown-panel,
.news-item,
.sources {
  background: rgba(14, 17, 20, 0.86);
}

.term-card {
  min-height: 230px;
  padding: 24px;
}

.term-index {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 800;
}

.term-card p,
.roadmap-card p,
.news-item p,
.sources p {
  color: var(--muted);
}

.roadmap-section {
  padding-top: 112px;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line-soft);
}

.roadmap-card {
  position: relative;
  padding: 28px;
}

.roadmap-card::before {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 36px;
  content: "";
  background:
    linear-gradient(90deg, var(--red) 0 34%, rgba(255, 255, 255, 0.18) 34% 100%),
    rgba(255, 255, 255, 0.08);
}

.roadmap-card:nth-child(2)::before {
  background:
    linear-gradient(90deg, var(--red) 0 62%, rgba(255, 255, 255, 0.18) 62% 100%),
    rgba(255, 255, 255, 0.08);
}

.roadmap-card:nth-child(3)::before {
  background: var(--red);
}

.roadmap-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.roadmap-top span {
  color: var(--text);
  font-weight: 800;
}

.roadmap-top small {
  color: var(--muted-2);
}

.roadmap-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-card li {
  position: relative;
  padding-left: 18px;
  color: #c5cad0;
  font-size: 0.92rem;
}

.roadmap-card li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--red);
}

.countdown-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  align-items: stretch;
  gap: 28px;
}

.countdown-copy {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.countdown-copy p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid var(--red);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.countdown-panel {
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  background: var(--line-soft);
}

.countdown-grid div {
  min-width: 0;
  background: #0a0d0f;
  padding: 20px 10px;
  text-align: center;
}

.countdown-grid span {
  display: block;
  color: var(--text);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: clamp(1.85rem, 4.2vw, 3.8rem);
  line-height: 1;
}

.countdown-grid small {
  display: block;
  margin-top: 10px;
  color: var(--red-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.countdown-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.news-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line-soft);
}

.news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
}

.news-item time {
  color: var(--red);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-item h3 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.news-item p {
  max-width: 800px;
}

.news-item a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration-color: var(--red);
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.sources {
  margin-top: 104px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.sources h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  line-height: 1.2;
}

.sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sources a {
  color: #dfe3e7;
  font-size: 0.84rem;
  text-decoration-color: rgba(239, 47, 37, 0.8);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted-2);
  font-family:
    "SF Mono", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-footer a {
  color: #c4c9ce;
  border-bottom: 1px solid rgba(239, 47, 37, 0.55);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 42px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .scanline,
  .section-head,
  .countdown-section {
    grid-template-columns: 1fr;
  }

  .section-head .section-kicker {
    margin-bottom: -10px;
  }

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

@media (max-width: 680px) {
  .site-header,
  .hero,
  .scanline,
  .section,
  .sources,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 2px;
    margin-left: -10px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-facts,
  .term-grid,
  .roadmap,
  .countdown-grid,
  .news-item {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .term-card,
  .roadmap-card,
  .countdown-panel,
  .news-item {
    padding: 20px;
  }

  .scanline {
    padding: 28px 0;
  }

  .section {
    padding-top: 76px;
  }

  .news-item {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
