/* Dispatch site. Paper-like neutrals, with Dispatch's mustard as the accent. */
:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --card: #fffdf9;
  --ink: #1f1e1b;
  --ink-2: #57544d;
  --ink-3: #8a867c;
  --line: #e3dfd5;
  --line-2: #d6d1c4;
  --mustard: #d3b229;
  --mustard-soft: #f4ebc4;
  --max: 1120px;
  --gutter: clamp(24px, 6vw, 96px);
  --nav-h: 72px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--mustard-soft); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav .wrap { display: flex; align-items: center; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 7px; border: 1px solid transparent;
  font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
/* Soft, slightly raised button in Dispatch's slate (#D0D6DD). Dark text:
   white on a color this light would be hard to read. */
.btn-primary {
  color: var(--ink);
  background: linear-gradient(to bottom, #dde2e8, #d0d6dd 55%, #c4cbd3);
  border-color: #b9c1ca;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 1px 2px rgba(31, 30, 27, .08);
}
.btn-primary:hover { background: linear-gradient(to bottom, #e3e7ec, #d6dce2 55%, #cad1d8); }
.btn-primary:active { background: linear-gradient(to bottom, #c8cfd7, #d0d6dd); box-shadow: inset 0 1px 2px rgba(31, 30, 27, .12); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 17px; }
.btn svg { width: 16px; height: 16px; }

/* Hero */
/* Fills the first screen under the nav, content centered vertically. */
.hero { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding: 64px 0; }
.hero h1 {
  margin: 0 0 40px; max-width: 14em;
  font-size: clamp(38px, 5.8vw, 72px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 400;
}
/* Two-tone heading: the lead in ink, the rest in grey. */
.hero h1 span { color: var(--ink-3); }
.bullets { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px 40px; }
.bullets li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.bullets li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 640px) { .bullets { grid-template-columns: 1fr; } }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 600px) { .hero { padding: 40px 0; } }

/* Footer */
.footer { padding: 40px 0 56px; font-size: 14px; color: var(--ink-3); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.footer a { text-decoration: none; color: var(--ink-2); }
.footer a:hover { color: var(--ink); }

/* Legal pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin: 14px 0 6px; font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.08; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin: 0 0 40px; }
.doc h2 { margin: 44px 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc .caps { font-size: 14px; letter-spacing: 0.01em; }
.doc .callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--mustard); border-radius: 10px; padding: 16px 20px; }
.doc .callout p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc th { border-top: 0; font-weight: 600; color: var(--ink); background: var(--paper-2); }
