/* WORK-36 (retire-demos). The page at `/`: what Crowflyer is, and where to go. It loads nothing from anywhere else (its
   own system font stack, no image) and nothing from the console, which is off in production. The palette is the
   approved canvas's: warm paper, navy, the one blue. */
:root {
  --paper: #f6f3ee;
  --card: #fffdfa;
  --ink: #16181d;
  --muted: #4d5361;
  --line: #e4ded3;
  --navy: #0a1944;
  --on-navy: #f6f3ee;
  --accent: #1d4fd8;
  --accent-text: #ffffff;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #07102e;
    --card: #0a1944;
    --ink: #f6f3ee;
    --muted: #c3cfee;
    --line: rgb(255 255 255 / 15%);
    --navy: #0a1944;
    --accent: #7795e8;
    --accent-text: #0a1944;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 1rem/1.55 var(--font);
  color: var(--ink);
  background: var(--paper);
}

.top {
  padding: 1.25rem 0;
  background: var(--navy);
  color: var(--on-navy);
}

.brand {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  /* A heading that wraps leaves no one-word last line (browsers without it just wrap as before). */
  text-wrap: balance;
}

.lede {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: var(--muted);
}

.actions {
  margin: 0 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  padding: 0 1.375rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.contact {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
