/* chum.css — the design system every getchum.app page shares (Docs/WEBSITE.md).
   Tokens, base, the display type, header, buttons, footer, and the
   long-form "prose" pages (legal, docs). Page-specific rules stay in the
   page. Single light theme on purpose. */

:root {
  color-scheme: light;
  --paper: #F5F8FA;
  --ice: #E9EFF3;
  --ink: #0B1F2E;
  --text: #22364A;
  --muted: #6A7E90;
  --line: #D3DCE3;
  --blue: #00AFFF;
  --blue-ink: #0081C2;
  --navy: #082A40;
  --navy-2: #0B3552;
  --red: #E5484D;
  --sketch: rgba(11, 31, 46, 0.07);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue-ink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(0, 175, 255, 0.25); }
[id] { scroll-margin-top: 24px; }
.skip { position: absolute; left: 24px; top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus-visible { top: 12px; text-decoration: none; }
img { max-width: 100%; display: block; }
/* The hidden attribute must beat any display rule a class sets. */
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); position: relative; }

/* Type: condensed-feeling caps display, one word in blue. */
.display {
  font-stretch: 112%; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.92; color: var(--ink); margin: 0; text-wrap: balance;
}
.display .b { color: var(--blue); }
h1.display { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2.display { font-size: clamp(2.2rem, 5vw, 4rem); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 30em; margin: 0; }
.quiet { color: var(--muted); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
/* Site nav: the pages that exist. Species and Rules by state join when
   the generator ships. Sits between the brand and the app button. */
.top nav { display: flex; gap: 22px; margin-left: auto; margin-right: 18px; font-weight: 700; font-size: 0.95rem; }
.top nav a { color: var(--ink); white-space: nowrap; }
.top nav a[aria-current="page"] { color: var(--blue-ink); }
@media (max-width: 560px) { .top nav { margin-right: 10px; gap: 14px; font-size: 0.9rem; } }
.brand svg { width: 34px; height: 34px; }
.wordmark { font-stretch: 125%; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.02em; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #FFFFFF;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; white-space: nowrap;
}
.btn:hover { text-decoration: none; background: var(--blue-ink); }
.btn.big { padding: 15px 24px; font-size: 1.02rem; }

/* Footer */
footer.site { background: var(--ink); color: #B9C8D3; padding-block: 40px 56px; margin-top: 24px; }
footer.site .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
footer.site p { margin: 0; }
footer.site small { display: block; margin-top: 8px; color: #7F93A3; font-size: 0.82rem; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.95rem; }
footer.site nav a { color: #FFFFFF; }
@media (max-width: 900px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* Prose: legal pages and anything else that is mostly reading. A single
   measured column; the page title in the display face; the rest quiet. */
.prose { max-width: 46rem; padding-block: 24px 72px; }
.prose .page-head { border-bottom: 3px solid var(--ink); padding-bottom: 22px; margin-bottom: 30px; }
.prose h1.display { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.prose .effective { color: var(--muted); font-size: 0.95rem; margin: 14px 0 0; }
.prose h2 { font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; color: var(--ink); margin: 2.2em 0 0.6em; }
.prose p, .prose li { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.6em; }
.prose strong { color: var(--ink); }
.prose .term { font-weight: 700; color: var(--ink); }
.prose .promise { font-weight: 700; color: var(--blue-ink); }
.prose .short, .prose .contact { background: var(--ice); border-left: 3px solid var(--blue); padding: 18px 22px 8px; margin: 26px 0 0; border-radius: 0 10px 10px 0; }
.prose .short h2, .prose .contact h2 { margin-top: 0; }
.prose .caps { font-size: 0.92rem; line-height: 1.5; color: var(--text); }
.prose .caps p { text-transform: none; }
