/* Fed Republic static site — shared layout */
:root {
  color-scheme: light dark;
  --bg: #0d0d0f;
  --bg-elevated: #16161a;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #c4b5fd;
  --link: #a78bfa;
  --max: 40rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa;
    --bg-elevated: #ffffff;
    --text: #18181b;
    --text-muted: #52525b;
    --accent: #6d28d9;
    --link: #5b21b6;
  }
}

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

html {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  text-align: center;
}

.page--policy {
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
}

.brand-logo {
  width: min(220px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
}

.brand-logo--hero {
  width: min(200px, 65vw);
}

.banner {
  width: 100%;
  max-width: 28rem;
  height: auto;
  border-radius: 12px;
  margin: 0 auto 2rem;
  display: block;
}

h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.tagline {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: var(--max);
}

.tagline a {
  color: var(--link);
}

.contact {
  font-size: 1rem;
}

.contact a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.contact a:hover,
.contact a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

.policy-inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.policy-inner h1 {
  text-align: center;
}

.policy-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.policy-inner h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.01em;
}

.policy-inner p,
.policy-inner ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-inner ul {
  padding-left: 1.2rem;
}

.policy-inner li {
  margin-bottom: 0.35rem;
}

.policy-inner a {
  color: var(--link);
}

.policy-inner strong {
  color: var(--text);
  font-weight: 600;
}
