:root {
  color-scheme: dark;
  --ink: #f1f0eb;
  --muted: #a8aaa4;
  --paper: #151714;
  --panel: #1d201c;
  --line: #393d36;
  --accent: #9dc7ba;
  --warm: #d9b784;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(70rem 42rem at 95% -20%, #30423a 0%, transparent 57%), var(--paper);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 3rem, 70rem);
  min-height: 100vh;
  margin: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mark {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-weight: 700;
}

.mark::before {
  width: 0.75rem;
  height: 0.75rem;
  content: "";
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.27rem #9dc7ba20;
}

.status {
  color: var(--muted);
}

.hero {
  align-self: center;
  padding: 5rem 0 6rem;
}

.eyebrow {
  color: var(--accent);
  font: 600 0.78rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0.65rem 0 1.4rem;
  font-size: clamp(3.7rem, 11vw, 8.8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.intro {
  max-width: 38rem;
  margin: 0 0 3.5rem;
  color: #d2d4cc;
  font: 400 clamp(1.12rem, 2vw, 1.38rem) / 1.55 ui-sans-serif, system-ui, sans-serif;
  text-wrap: pretty;
}

nav {
  display: grid;
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

.route {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font: 500 1rem/1.25 ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.route span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.route:hover,
.route:focus-visible {
  padding-left: 0.45rem;
  color: var(--accent);
  outline: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font: 400 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 560px) {
  main {
    width: min(100% - 2rem, 70rem);
  }

  header {
    padding: 1.4rem 0;
  }

  .status {
    display: none;
  }

  .hero {
    padding: 3.4rem 0;
  }

  footer {
    flex-direction: column;
  }
}

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