/* HOA Notes placeholder site. Brutalist typography + US-trust navy
   primary + red severity accent, locked 2026-05-02.
   - Navy ink (#0a2540) carries the trust signal (per US web color
     conventions: banking, healthcare, government).
   - Red (#cc0000) is reserved for severity / urgency cues, mirroring
     the HOA Notes PDF brief convention (HIGH-severity bars + labels).
     Used SPARINGLY here: the horizontal rule between tagline and
     copy, and the "PILOT OPENING Q2 2026" eyebrow.
   - Paper #f4f3ef stays from the prior brutalist token set; brand-
     distinct from corporate stark white. */

:root {
  --paper: #f4f3ef;
  --ink: #0a2540;
  --muted: #4a4a4a;
  --rule: #cc0000;
  --soft-rule: #c8c5bd;
  --accent: #cc0000;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 32px;
}

main {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wordmark {
  font-weight: 900;
  font-size: clamp(48px, 12vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.tagline {
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 48px 0;
  letter-spacing: -0.01em;
}

.rule {
  border: 0;
  border-top: 3px solid var(--rule);
  margin: 0 0 32px 0;
}

.copy {
  font-size: 17px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 24px 0;
}

.meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 32px 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover, a:focus {
  background: var(--ink);
  color: var(--paper);
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

footer {
  max-width: 640px;
  margin: 64px auto 0 auto;
  width: 100%;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
}

footer a:hover, footer a:focus {
  background: var(--ink);
  color: var(--paper);
}

/* Long-form pages (privacy, terms): tighter layout, readable measure. */

.doc-page main {
  max-width: 720px;
}

.doc-page h1 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.doc-page .updated {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 32px 0;
}

.doc-page .draft-banner {
  border: 2px solid var(--ink);
  padding: 16px 20px;
  margin: 0 0 32px 0;
  font-size: 14px;
  line-height: 1.5;
}

.doc-page h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.005em;
  margin: 40px 0 12px 0;
  padding-top: 16px;
  border-top: 1px solid var(--soft-rule);
}

.doc-page h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.doc-page p, .doc-page li {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.doc-page ul, .doc-page ol {
  padding-left: 24px;
}

.doc-page ul li, .doc-page ol li {
  margin: 0 0 8px 0;
}

.doc-page .home-link {
  display: inline-block;
  margin-top: 48px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  body { padding: 32px 20px; }
  footer { margin-top: 48px; }
}
