@font-face {
  font-family: 'Instrument Sans Condensed';
  src: url('./assets/instrument-condensed-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('./assets/inter-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('./assets/inter-semibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --cobalt: #244bdb;
  --rule: #6383f3;
  color-scheme: dark;
  background: var(--cobalt);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, figure { margin: 0; }

.page {
  --gutter: clamp(2rem, 5.5556vw, 6.25rem);
  --signature-width: clamp(9rem, 14.4375vw, 14.5rem);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 112.5rem);
  margin-inline: auto;
}

.site-header, .site-footer {
  margin-inline: var(--gutter);
  flex: none;
}

.site-header {
  padding-block: clamp(1.75rem, 3.25vw, 3.75rem) clamp(1rem, 1.6vw, 2rem);
  border-bottom: 1px solid var(--rule);
}

/* The signature SVG includes eight units of clear space on each side. */
.signature {
  display: block;
  width: var(--signature-width);
  height: auto;
  margin-inline-start: calc(var(--signature-width) * -0.063492);
}

.hero {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: 47.0139% 1fr;
  align-items: center;
  padding-block: clamp(2.5rem, 4vw, 5rem) clamp(3rem, 5vw, 6rem);
}

.message {
  min-width: 0;
  padding-inline-start: var(--gutter);
  padding-inline-end: 1rem;
  margin-block-start: .5rem;
}

.launch-status {
  display: flex;
  align-items: center;
  gap: .59em;
  font-size: clamp(1rem, calc(.4rem + 1.0833vw), 1.5rem);
  font-weight: 600;
  line-height: 1.28;
}

.launch-status::before {
  content: '';
  width: 1.36em;
  height: .1em;
  flex-shrink: 0;
  background: currentColor;
}

h1 {
  margin-block: clamp(1rem, 1.667vw, 2rem) clamp(1.2rem, 2.0833vw, 2.5rem);
  margin-inline-start: -.032em;
  font: 700 clamp(4rem, calc(1rem + 7.5694vw), 9rem)/.928 'Instrument Sans Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

h1 > span { display: block; }

.intro {
  max-width: 21.46em;
  font-size: clamp(1.125rem, calc(.5rem + 1.1111vw), 1.625rem);
  line-height: 1.4583;
}

.turn { position: relative; min-width: 0; width: 100%; }
.turn figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.turn svg { display: block; width: 100%; height: auto; }
.turn .route-narrow { display: none; }

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45em 1em;
  border-top: 1px solid var(--rule);
  padding-block: clamp(1rem, 1.985vw, 2.25rem) clamp(1.5rem, 2.7778vw, 3.25rem);
  font-size: clamp(.9rem, calc(.5rem + .8333vw), 1.375rem);
  line-height: 1.4;
}

.site-footer span { overflow-wrap: anywhere; }
.site-footer span:last-child { font-weight: 600; }

@media (max-width: 52.99em) {
  .page {
    --gutter: clamp(1.25rem, 6.6667vw, 3rem);
    --signature-width: clamp(8.5rem, 37.477vw, 10.5rem);
  }

  .site-header { padding-block: clamp(1.25rem, 5.82vw, 1.75rem) clamp(.9375rem, 4.87vw, 1.5rem); }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 10.77vw, 3rem);
    padding-block: clamp(1.75rem, 7.18vw, 3rem) clamp(2.25rem, 12.3vw, 4rem);
  }

  .message { margin-block-start: 0; padding-inline: var(--gutter); }
  .launch-status { gap: .625em; font-size: 1rem; line-height: 1.375; }
  .launch-status::before { width: 1.0625em; height: .094em; }

  h1 {
    margin-block: 1.0625rem 1.1875rem;
    margin-inline-start: -.027em;
    font-size: clamp(3.6rem, calc(.5rem + 17.18vw), 6.5rem);
    line-height: .96;
  }

  .intro {
    max-width: 18em;
    font-size: clamp(1.0625rem, calc(.625rem + 2.1795vw), 1.375rem);
    line-height: 1.4595;
  }

  .turn { width: min(100%, 38rem); align-self: flex-end; }
  .turn .route-wide { display: none; }
  .turn .route-narrow { display: block; }

  .site-footer { padding-block: 1.625rem 2.25rem; font-size: .9rem; line-height: 1.5; }
}

@media (max-width: 52.99em) and (max-height: 43em) {
  .hero { gap: 1.5rem; padding-block: 1.5rem 1.75rem; }
  .site-footer { padding-block: 1.125rem 1.375rem; }
}
