@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0f1f2e;
  --ice: #eef6fa;
  --muted-ice: #bfd1dc;
  --steel-blue: #3b82a8;
  --gold: #d4a84b;
  --content-max: 1360px;
  font-family: Inter, Arial, sans-serif;
  background: var(--navy);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body { min-width: 320px; min-height: 100%; margin: 0; }

body { color: var(--ice); }

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.5rem, 4.7vw, 4.35rem) clamp(1.25rem, 4.8vw, 4.4rem) clamp(1.5rem, 4.5vw, 4rem);
}

.landscape, .scrim { inset: 0; position: absolute; z-index: -2; }

.landscape {
  background: #10283a url("assets/horizon-desktop.png") center / cover no-repeat;
}

.scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 21, 34, .72) 0%, rgba(8, 26, 41, .32) 49%, rgba(7, 24, 40, .03) 100%),
    linear-gradient(0deg, rgba(5, 18, 30, .58) 0%, rgba(5, 18, 30, 0) 33%, rgba(5, 18, 30, .1) 100%);
}

.site-header, .page-content, .site-footer {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  min-width: 0;
}

.site-header { align-items: center; display: flex; justify-content: space-between; gap: 1rem; }

.logo-link { display: inline-flex; line-height: 0; }
.logo-link img { width: clamp(9.8rem, 18vw, 17.55rem); height: auto; }

.launch-date, .eyebrow, .site-footer, .countdown-label {
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: .18em;
}

.launch-date { margin: 0; color: var(--ice); font-size: clamp(.63rem, 1.05vw, .84rem); text-transform: uppercase; white-space: nowrap; }

.page-content { align-self: center; padding: clamp(4.5rem, 11vh, 8.2rem) 0 clamp(3rem, 8vh, 6.25rem); }
.intro { max-width: 56.25rem; }

h1 { margin: 0; color: #fff; font-size: clamp(2.6rem, 6.45vw, 6.25rem); font-weight: 800; letter-spacing: -.058em; line-height: .99; text-wrap: balance; }
.intro p { max-width: 47rem; margin: clamp(1.5rem, 3vw, 2.6rem) 0 0; color: var(--ice); font-size: clamp(1.05rem, 2.3vw, 2.125rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.36; }

.countdown-section { width: min(100%, 58rem); margin: clamp(2.8rem, 7vh, 5.75rem) auto 0; }
.eyebrow { margin: 0 0 clamp(.85rem, 1.6vw, 1.5rem); color: var(--muted-ice); font-size: clamp(.7rem, 1vw, .9rem); text-transform: uppercase; }

.countdown { display: none; align-items: start; gap: clamp(.45rem, 1.75vw, 1.9rem); }
.js .countdown { display: flex; }
.countdown-item { display: grid; min-width: clamp(3.9rem, 9vw, 8.8rem); text-align: center; }
.countdown-value { color: #fff; font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: clamp(2.35rem, 6.25vw, 6.8rem); font-variant-numeric: tabular-nums; font-weight: 300; letter-spacing: -.1em; line-height: .92; }
.countdown-label { margin-top: clamp(.5rem, .8vw, .75rem); color: var(--muted-ice); font-size: clamp(.56rem, .95vw, .88rem); }
.countdown-separator { padding-top: .02em; color: var(--muted-ice); font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; font-size: clamp(2rem, 5vw, 5.6rem); font-weight: 300; line-height: .9; }
.countdown-complete, .countdown-static { max-width: 31rem; margin: 0; color: var(--ice); font-size: clamp(.8rem, 1.3vw, 1rem); line-height: 1.55; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted-ice); font-size: clamp(.55rem, .85vw, .75rem); }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  .page-shell { min-height: 100svh; overflow: clip; }
  .landscape { background-position: 62% center; }
  .scrim { background: linear-gradient(180deg, rgba(5, 21, 34, .47), rgba(5, 18, 30, .69) 82%), linear-gradient(90deg, rgba(5, 21, 34, .55), rgba(5, 21, 34, .15)); }
  .launch-date { letter-spacing: .1em; }
  .site-header { gap: .5rem; }
  .logo-link { min-width: 0; }
  .logo-link img { width: min(9.1rem, 55vw); }
  .page-content { align-self: stretch; padding: clamp(4.5rem, 9vh, 5rem) 0 clamp(2.75rem, 7vh, 4rem); }
  .intro p { max-width: 24rem; margin-top: 3.5rem; }
  .js .countdown { gap: clamp(.18rem, 1vw, .35rem); justify-content: space-between; width: 100%; }
  .countdown-item { min-width: 0; width: 23%; }
  .countdown-value { letter-spacing: -.14em; }
  .countdown-separator { font-size: clamp(1.2rem, 5.7vw, 1.6rem); }
  .countdown-label { letter-spacing: .08em; }
  .site-footer { flex-wrap: wrap; row-gap: .65rem; }
}

@media (min-width: 601px) {
  .page-content {
    align-self: stretch;
    padding-top: clamp(4rem, 6.5vh, 4.5rem);
    padding-bottom: 0;
  }
  .intro p { margin-top: 1rem; }
  .countdown-section {
    width: 100%;
    margin-top: .8rem;
  }
  .countdown {
    width: fit-content;
    margin: clamp(11rem, 20.75vh, 14.5rem) auto 0;
  }
}

@media (max-width: 370px) {
  .site-header { align-items: flex-start; }
  .launch-date { font-size: .56rem; letter-spacing: .08em; }
  h1 { font-size: 2.35rem; }
  .intro p { font-size: 1rem; }
}

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