/* ============================================================
   Banana Bunny — shared styles (loaded by every page)
   Single source of truth for colors, fonts, and base styling.
   Change a design token here and all pages update together.
   ============================================================ */

:root {
  --bg: #ff78c8;             /* page background */
  --ink: #111111;            /* text, logo, hairlines */
  --muted: #555555;          /* placeholders, fine print */
  --rule: 1px solid #111111; /* hairline separator */
  --btn-radius: 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.4;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #111; color: #fff; }

/* ============================================================
   Legal pages (privacy-policy.html, terms.html)
   Scoped under .legal so these rules never touch index.html.
   ============================================================ */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 22px 64px;
  line-height: 1.55;
}

.legal .back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 1.05rem;
  font-style: italic;
}

.legal h1 {
  font-family: 'BBH Hegarty', 'EB Garamond', Georgia, serif;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: var(--rule);
}

.legal h2 {
  font-size: 1.55rem;
  font-weight: 400;
  margin: 28px 0 8px;
}

.legal p,
.legal ul { font-size: 1.2rem; margin-bottom: 14px; }

.legal strong { font-weight: 700; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.legal a:hover { opacity: 0.55; }

/* Landscape: go full-viewport width with side padding, matching index.html */
@media (orientation: landscape) {
  .legal {
    max-width: none;
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: clamp(24px, 5vw, 80px);
  }
}

/* ---- Creator directory (directory.html) ---- */
.creators {
  list-style: none;
  padding: 0;
  margin: 20px 0 8px;
  display: grid;
  gap: 20px;
}
.creator {
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
}
.creator-name { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.creator-loc { font-weight: 400; font-style: italic; font-size: 0.9rem; color: var(--muted); }
.creator-links { margin-top: 8px; font-size: 1.05rem; line-height: 1.9; }
.creator-links a { margin-right: 16px; white-space: nowrap; }
@media (orientation: landscape) {
  .creators { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}
