/* content.css — reading-content styles for the server-rendered static pages
   (/terms, /privacy, /refunds, /copyright + the under-construction placeholders),
   rendered through bink/server/content_page.py.

   Successor to the retired legal.css. The palette + theming now come from
   tokens.css via [data-theme] (so the footer theme toggle works on these pages),
   the header is the shared session-aware site bar (site_bar.css), and the footer is
   the shared site footer (site_footer.css). This file is just the reading column +
   its typography. body base styles (bg / ink / body font) come from .bi-shop in
   shop.css. */

.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px clamp(22px, 5vw, 40px) 80px;
}

.content-page h1 {
  font-family: var(--bi-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  color: var(--bi-ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.content-page .effective {
  font-family: var(--bi-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bi-meta);
  margin-bottom: 48px;
}

.content-page h2 {
  font-family: var(--bi-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: var(--bi-ink);
  margin: 36px 0 12px;
}

.content-page p,
.content-page li {
  color: var(--bi-ink);
  margin-bottom: 14px;
  line-height: 1.62;
}

.content-page p strong {
  font-weight: 500;
  color: var(--bi-ink);
}

.content-page ul {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.content-page ul li {
  padding-left: 2px;
}

.content-page a {
  color: var(--bi-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--bi-rule);
}

.content-page a:hover {
  border-bottom-color: var(--bi-accent);
}

/* Under-construction placeholders (/about, /support, /faq, /authors, /publishers):
   a single composed headline + note, vertically centered in the reading column so
   it reads as intentional, not broken. */
.content-page .uc {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.content-page .uc__headline {
  margin-bottom: 0;
  max-width: 16em;
}

.content-page .uc__note {
  font-family: var(--bi-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bi-meta);
  margin-top: 16px;
}

/* Phone — tighter chrome, smaller display sizes. */
@media (max-width: 600px) {
  .content-page {
    padding: 40px 22px 56px;
  }
  .content-page h1 { font-size: 32px; }
  .content-page h2 { font-size: 19px; margin: 30px 0 10px; }
}
