:root {
  --bg: #14110d;
  --bg-elevated: #1c170f;
  --bg-card: #221b12;
  --border: #3a2f20;
  --bronze: #b3915f;
  --bronze-bright: #d9c290;
  --bronze-dim: #6b4e30;
  --steel: #a7adb3;
  --text: #f2ece2;
  --text-muted: #b7ab98;
  --text-faint: #83786a;
  --serif: "Cinzel", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(ellipse at top, #201a11 0%, #100d09 60%, #0b0906 100%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-bright); text-decoration: underline; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0e0b08;
  border: 1px solid var(--border);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--text);
}

nav.site-nav { display: flex; gap: 22px; }
nav.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
nav.site-nav a:hover { color: var(--bronze); text-decoration: none; }
nav.site-nav a.active { color: var(--bronze); }

.hero {
  text-align: center;
  padding: 12px 0 56px;
}

.hero .logo-swap {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
}

.hero .logo-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.55));
  transition: opacity 0.5s ease;
}

.hero .logo-swap img.animated { opacity: 0; }
.hero .logo-swap:hover img.static { opacity: 0; }
.hero .logo-swap:hover img.animated { opacity: 1; }

.hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ecd9b0, var(--bronze) 65%, var(--bronze-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

section.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 30px;
  margin-bottom: 24px;
}

section.card h2 {
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 1.15rem;
  margin-top: 0;
  letter-spacing: 0.02em;
}

.notice {
  border-left: 3px solid var(--bronze);
  background: rgba(179, 145, 95, 0.08);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

article.legal h1 {
  font-family: var(--serif);
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

article.legal .updated {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

article.legal h2 {
  font-family: var(--serif);
  color: var(--bronze);
  font-size: 1.15rem;
  margin-top: 38px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

article.legal p, article.legal li {
  color: var(--text-muted);
}

article.legal ul { padding-left: 22px; }

article.legal strong { color: var(--text); }

footer.site-footer {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.82rem;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

footer.site-footer a { color: var(--text-faint); text-decoration: underline; }

.gear-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-faint);
  margin: 40px 0;
}
.gear-rule::before, .gear-rule::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--border);
}
