/* AfterPew Ministries — legal pages.
   One stylesheet, no build step, no external requests. These pages exist to be
   reachable forever at near-zero cost, so nothing here may depend on a CDN, a
   font host, or a framework. */

:root {
  --bg: #0e1116;
  --card: #161a21;
  --card-raised: #1c212a;
  --line: #262c36;
  --fg: #f2f4f7;
  --fg-secondary: #b6bfcc;
  --fg-muted: #8b95a4;
  --gold: #d4af37;
  --gold-light: #e6c65c;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --card: #f7f8fa;
    --card-raised: #eef1f5;
    --line: #dfe4ea;
    --fg: #12151a;
    --fg-secondary: #444d59;
    --fg-muted: #6b7480;
    --gold: #8a6d14;
    --gold-light: #6f5710;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.meta {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--fg-secondary);
}

.lede {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--fg-secondary);
}

section { margin-top: 2.75rem; }

h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

section > p,
section > ul { color: var(--fg-secondary); }

section > p:first-of-type { margin-top: 1rem; }

p { margin: 1rem 0 0; }

ul {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
}

li { margin-top: 0.5rem; }

strong { color: var(--fg); font-weight: 600; }

a {
  color: var(--gold-light);
  text-underline-offset: 3px;
}

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

/* Contact panel on the support page. */
.panel {
  margin-top: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  background: var(--card);
  border-radius: 14px;
  padding: 2rem;
}

.panel .eyebrow { letter-spacing: 0.24em; color: var(--gold-light); }

.panel h2 { margin-top: 0.75rem; font-size: clamp(1.5rem, 4vw, 2rem); }

.next {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.next:hover { text-decoration: underline; }

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--fg-muted);
}

footer a { margin-right: 1.25rem; white-space: nowrap; }

/* Index page card list. */
.cards {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: var(--card-raised);
  color: inherit;
}

.card strong { display: block; font-size: 1.125rem; }

.card span { display: block; margin-top: 0.35rem; color: var(--fg-secondary); font-size: 0.95rem; }
