:root {
  --forest-950: #03100d;
  --forest-900: #071813;
  --forest-700: #123923;
  --lime: #b6ec53;
  --gold: #f5c542;
  --cream: #fff5d8;
  --ink: #111913;
  --border: rgba(245, 197, 66, .42);
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --body: "Space Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(3,16,13,.08), var(--forest-950) 38rem),
    radial-gradient(circle at 50% 0, #236246 0, #0b281d 30rem, var(--forest-950) 72rem);
  font-family: var(--body);
  line-height: 1.75;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 4px 4px;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; color: var(--ink); background: var(--gold); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: .8rem clamp(1rem,4vw,4rem);
  border-bottom: 1px solid var(--border);
  background: rgba(3,16,13,.9);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--pixel); font-size: clamp(.56rem,1vw,.78rem); line-height: 1.5; }
.brand small { display: block; color: var(--lime); font-size: .62em; }
.brand-rune { display: grid; place-items: center; width: 38px; aspect-ratio: 1; color: var(--gold); border: 2px solid var(--gold); transform: rotate(45deg); }
.header-links { display: flex; gap: 1rem; align-items: center; }
.header-links a { color: rgba(255,245,216,.75); text-decoration: none; font-size: .75rem; font-weight: 700; }
.header-links a:hover, .header-links a:focus-visible { color: var(--gold); }
.legal-wrap { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem,8vw,7rem) 0; }
.legal-hero { padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-family: var(--pixel); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--pixel); }
h1 { margin: 0 0 1.5rem; font-size: clamp(2rem,6vw,4.3rem); line-height: 1.3; text-shadow: 4px 5px 0 #07120d; }
h1 span { color: var(--gold); }
.intro { max-width: 720px; color: rgba(255,245,216,.78); font-size: 1.08rem; }
.effective { display: inline-block; margin-top: 1rem; padding: .45rem .7rem; color: var(--lime); border: 1px solid rgba(182,236,83,.35); font-size: .76rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.legal-nav a { padding: .55rem .75rem; color: var(--cream); border: 1px solid var(--border); background: rgba(18,57,35,.6); text-decoration: none; font-size: .76rem; }
.legal-section {
  margin: 1.2rem 0;
  padding: clamp(1.3rem,4vw,2.2rem);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(18,57,35,.88), rgba(5,21,16,.95));
  box-shadow: 0 18px 60px rgba(0,0,0,.28), inset 0 0 0 4px rgba(0,0,0,.14);
}
.legal-section h2 { margin: 0 0 1rem; color: var(--gold); font-size: clamp(.88rem,2vw,1.15rem); line-height: 1.6; }
.legal-section p:last-child, .legal-section ul:last-child { margin-bottom: 0; }
.legal-section p, .legal-section li { color: rgba(255,245,216,.76); }
.legal-section strong { color: var(--cream); }
.rune-list { margin: 0; padding: 0; list-style: none; }
.rune-list li { position: relative; padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px dashed rgba(255,255,255,.1); }
.rune-list li:last-child { border: 0; }
.rune-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .6rem; }
.notice { border-color: rgba(182,236,83,.5); background: linear-gradient(145deg, rgba(40,78,37,.9), rgba(7,29,20,.96)); }
.contact-button { display: inline-block; margin-top: .5rem; padding: .75rem 1rem; color: var(--ink); background: var(--gold); border: 2px solid var(--gold); box-shadow: 4px 4px 0 rgba(0,0,0,.4); text-decoration: none; font-weight: 700; }
.legal-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem max(1rem,calc((100% - 900px)/2)); border-top: 1px solid var(--border); color: rgba(255,245,216,.55); font-size: .75rem; }
.legal-footer p { margin: 0; }
@media (max-width: 620px) {
  .site-header { min-height: 64px; }
  .brand-rune { width: 30px; }
  .header-links a:not(.manual-link) { display: none; }
  .legal-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
