@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(2.75rem, 6vh, 4.5rem) 0; }
.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: 1.25rem 0 0; color: var(--ice); font-size: clamp(1.05rem, 2.3vw, 2.125rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.36; }

.newsletter { max-width: 40rem; margin: 2rem auto 0; text-align: center; }
.newsletter-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; margin-top: 0; padding: .85rem 1.4rem; border: 1px solid var(--gold); border-radius: .2rem; color: var(--navy); background: var(--gold); font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.newsletter-link:hover { border-color: #edca77; background: #edca77; }
.newsletter-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.newsletter-consent { color: var(--muted-ice); font-size: .8125rem; line-height: 1.6; }
.newsletter-consent { max-width: 38rem; margin: .9rem auto 0; text-wrap: pretty; }

.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; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; color: var(--muted-ice); font-size: clamp(.55rem, .85vw, .75rem); }
.site-footer p { margin: 0; }
.footer-legal { display: flex; flex-basis: 100%; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; font-size: .75rem; letter-spacing: normal; line-height: 1.5; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 1.5rem; padding-block: .2rem; color: var(--muted-ice); text-decoration: underline; text-underline-offset: .2em; }
.footer-legal a:hover { color: #fff; }
.footer-legal a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@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 { padding: clamp(2.75rem, 7vh, 4rem) 0 2.75rem; }
  .intro p { max-width: 24rem; margin-top: 1.25rem; }
  .newsletter { margin-top: 1.75rem; }
  .newsletter-link { width: 100%; }
  .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(3rem, 5vh, 4.5rem); padding-bottom: 2.5rem; }
  .intro p { margin-top: 1rem; }
  .countdown-section { width: 100%; margin-top: .8rem; }
  .countdown { width: fit-content; margin: clamp(3.5rem, 8vh, 7rem) 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; } }
