/* Shared look for RollFate's static pages: About, FAQ and the landing pages
   (public/<page>/index.html). Same palette and fonts as legal.html. These
   pages are plain HTML outside Vite, so this file is served as-is. */

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

:root {
  --bg: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.035);
  --text: #e8e0d0;
  --muted: #a59f92;
  --gold: #d4a54a;
  --gold-line: rgba(212, 165, 74, 0.3);
}

html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}
.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}
.logo span { color: var(--text); font-weight: 400; }

main { max-width: 760px; margin: 0 auto; padding: 1rem 1rem 3rem; }

h1, h2, h3 { font-family: 'Cinzel', serif; color: var(--gold); letter-spacing: 0.03em; line-height: 1.25; }
h1 { font-size: 2rem; margin: 1rem 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--gold-line); }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }

.lead { font-size: 1.35rem; color: var(--text); margin: 0 0 1.5rem; }
.muted { color: var(--muted); }

.cta {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #1a1a2e;
  background: linear-gradient(135deg, #e0b45a, #b8893a);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
}
.cta:hover, .cta:focus-visible { filter: brightness(1.1); }
.site-header .cta { font-size: 0.95rem; padding: 0.5rem 1rem; }

figure { margin: 2rem 0; }
figure img { border-radius: 10px; border: 1px solid var(--gold-line); }
figcaption { color: var(--muted); font-size: 1rem; margin-top: 0.5rem; }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin: 0.75rem 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.7rem;
}

.faq h3 { color: var(--text); font-family: 'Crimson Pro', Georgia, serif; font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
.faq p { margin-top: 0.25rem; }

.closing { margin: 2.5rem 0 0; text-align: center; }

.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  border-top: 1px solid var(--gold-line);
  font-size: 1rem;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold); text-decoration: underline; }
.site-footer p { margin: 1rem 0 0; font-size: 0.95rem; }

@media (max-width: 480px) {
  body { font-size: 1.1rem; }
  h1 { font-size: 1.6rem; }
  .lead { font-size: 1.2rem; }
  .logo { font-size: 1.2rem; }
}
