/* Speak Easy by Sunday — cream/gold, loosely matching the app. Legal-pages
   simple: readable typography, one accent, responsive. No framework. */
:root {
  --cream: #faf5e8;
  --cream-50: #fffdf6;
  --gold: #c9a227;
  --gold-dark: #a8851c;
  --ink: #33302a;
  --ink-soft: #6b665c;
  --line: rgba(168, 133, 28, 0.22);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--gold-dark); }
a:hover { color: var(--gold); }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream-50);
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { font-weight: 600; color: var(--ink-soft); }
.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.site-header nav a[aria-current="page"] { color: var(--gold-dark); }

/* Main */
main { flex: 1; width: 100%; }

/* Landing hero */
.hero {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
}
.hero .mark { font-size: 3.5rem; line-height: 1; }
.hero h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
}
.hero h1 span { display: block; font-size: 0.5em; font-weight: 600; color: var(--ink-soft); margin-top: 0.35rem; }
.hero .tagline { font-size: 1.15rem; color: var(--ink); margin: 1rem auto 2rem; max-width: 34rem; }
.hero .badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--cream-50);
}

/* Document pages (privacy, support, 404) */
.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}
.doc h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  color: var(--gold-dark);
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
.doc h2 {
  font-size: 1.25rem;
  color: var(--ink);
  margin: 2.25rem 0 0.5rem;
  padding-top: 0.5rem;
}
.doc a.contact { font-size: 1.15rem; font-weight: 700; }

/* Privacy policy specifics */
.policy > h1 + p strong { color: var(--ink); }
.policy blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--cream-50);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.policy blockquote p { margin: 0; }
.policy hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.policy ul { padding-left: 1.25rem; }
.policy li { margin: 0.35rem 0; }
.policy strong { color: var(--ink); }

/* Tables — scroll horizontally on small screens rather than overflow the page */
.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
.policy th, .policy td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.policy th { background: var(--cream-50); color: var(--gold-dark); }

/* Trailing italic disclaimer note */
.policy > p:last-child em { color: var(--ink-soft); font-size: 0.9rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  background: var(--cream-50);
}
.site-footer p { margin: 0.25rem 0; }

@media (prefers-color-scheme: dark) {
  /* Keep the cream identity — this is a brand page, not a themed app. No dark
     inversion; the cream palette is the point. */
}
