:root {
  color-scheme: dark;
  --bg: #090909;
  --text: #f4f1eb;
  --muted: #a8a39a;
  --line: #3a3834;
  --panel: #121212;
  --focus: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1eb;
  --text: #0a0a0a;
  --muted: #5b5852;
  --line: #b8b2a8;
  --panel: #ebe7df;
  --focus: #000000;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  transition: background-color 180ms ease, color 180ms ease;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-180%);
}

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

:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
}

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

.wordmark {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .24em;
  text-decoration: none;
}

.theme-toggle {
  min-width: 5.5rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .5rem .85rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.theme-toggle:hover { background: var(--panel); }
.theme-toggle span + span { margin-left: .35rem; }

main {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(4rem, 10vh, 8rem) clamp(1.25rem, 8vw, 8rem);
}

.hero { width: min(100%, 74rem); position: relative; z-index: 1; }

.eyebrow,
.status,
.site-footer,
.notices {
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { color: var(--muted); margin: 0 0 2rem; }

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .84;
}

h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.intro {
  max-width: 34rem;
  margin: 2.5rem 0 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.status { display: flex; align-items: center; gap: 1rem; margin-top: 4rem; }
.status-line { width: 3.5rem; height: 1px; background: var(--text); }

.launch-note {
  max-width: 46rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
}

.route-mark {
  position: absolute;
  right: clamp(-4rem, 2vw, 2rem);
  top: 18%;
  width: min(22rem, 38vw);
  color: var(--muted);
  opacity: .5;
  font-size: .6rem;
  letter-spacing: .18em;
}

.route-mark svg { display: block; width: 100%; margin: .5rem 0; overflow: visible; }
.route-mark path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 8; }
.route-mark circle { fill: currentColor; }
.route-mark span:last-child { float: right; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-underline-offset: .25rem; }

.notices { padding: 0 clamp(1.25rem, 4vw, 4rem) 1.5rem; color: var(--muted); }
.notices details { border-top: 1px solid var(--line); padding: .85rem 0; }
.notices summary { cursor: pointer; color: var(--text); }
.notices p { max-width: 52rem; line-height: 1.7; text-transform: none; letter-spacing: normal; }

@media (max-width: 620px) {
  .site-header, .site-footer { padding: 1.15rem 1.25rem; }
  main { place-items: start center; }
  .intro { margin-left: 0; }
  .route-mark { top: 8%; right: -6rem; width: 16rem; }
  .site-footer { align-items: flex-start; gap: 1rem; }
  .site-footer nav { flex-direction: column; gap: .65rem; text-align: right; }
}

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

@media print {
  .theme-toggle, .route-mark { display: none; }
  body { background: #fff; color: #000; }
}

@media (forced-colors: active) {
  .theme-toggle, .site-header, .site-footer, .notices details { border-color: CanvasText; }
}
