:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --text: #FAFAFA;
  --muted: #A3A3A3;
  --primary: #F97316;
  --secondary: #FB923C;
  --accent: #22C55E;
  --border: rgba(250, 250, 250, 0.12);
  --forest: #1B3A2F;
  --espresso: #2C1810;
  --parchment: #E8DCC8;
  --nav-bg: #0a0a0a;
  --max-w: 1200px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.disclosure-banner {
  width: 100%;
  background: #0A0A0A;
  padding: 8px 16px 8px 12px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  color: #A3A3A3;
  border-bottom: 1px solid var(--border);
}

.disclosure-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclosure-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--primary);
}

.disclosure-text {
  text-align: left;
}

.subpage-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px var(--primary);
  padding: 14px 24px;
}

.subpage-header a {
  display: inline-block;
}

.subpage-header img {
  height: 36px;
  width: auto;
  max-width: 160px;
}

.page-hero-compact {
  padding: 48px 24px 16px;
  text-align: center;
  background: linear-gradient(180deg, var(--forest) 0%, var(--bg) 100%);
  border-bottom: 2px solid var(--primary);
}

.page-hero-compact h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--parchment);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--parchment);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content ul {
  color: var(--muted);
  margin: 0 0 16px 20px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 8px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.site-footer__brand p {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.site-footer__links a {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.site-footer__badge img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.site-footer__badge:hover img {
  opacity: 1;
}

.site-footer__copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 640px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}
