:root {
  color-scheme: light;
  --ink: #171512;
  --paper: #f4efe6;
  --paper-deep: #e7ddcf;
  --accent: #b8432f;
  --muted: #6f675d;
  --line: rgba(23, 21, 18, 0.2);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.launch {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
}

.site-header,
.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 0.82;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span:last-child {
  color: var(--accent);
}

.edition,
.eyebrow,
.panel-label,
.site-footer,
.time-unit span {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.edition,
.site-footer,
.time-unit span {
  color: var(--muted);
}

.hero {
  display: grid;
  align-content: center;
  gap: 2.75rem;
  padding: clamp(3.5rem, 10vw, 8rem) 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.25rem, 14vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  text-wrap: balance;
}

.intro {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.launch-panel {
  align-self: end;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-label {
  font-weight: 700;
}

.panel-status {
  margin: 0;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.countdown[hidden] {
  display: none;
}

.time-unit {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.time-unit strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 10vw, 4.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.announcement {
  max-width: 35rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-wrap: pretty;
}

.site-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 780px) {
  .launch {
    padding-right: max(2.5rem, env(safe-area-inset-right));
    padding-left: max(2.5rem, env(safe-area-inset-left));
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
    align-items: end;
    gap: clamp(3rem, 8vw, 9rem);
  }

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

@media (max-width: 480px) {
  .edition,
  .site-footer p:first-child {
    display: none;
  }

  .site-footer {
    justify-content: flex-end;
  }
}

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