@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/Oswald-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #fffaf0;
  --body: #d5cabb;
  --muted: #a79b8b;
  --gold: #ffca2f;
  --surface: #11130f;
  --line: #34362f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% -8%, rgba(255, 202, 47, 0.1), transparent 28rem),
    #070806;
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variation-settings: "wght" 500;
  font-weight: 500;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

header, main, footer {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  padding: 30px 0 22px;
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

a { color: var(--gold); }
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--body);
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
}
nav a[aria-current="page"] { color: var(--gold); }
.policy-brand {
  gap: 9px;
  margin-right: auto;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.policy-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}
a:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; box-shadow: 0 0 0 7px #000000; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; background: var(--gold); color: #111; font-weight: 800; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

main { padding: clamp(58px, 8vw, 88px) 0 84px; }

.eyebrow {
  color: var(--gold);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 14px 0 26px;
  font-size: clamp(2.65rem, 7vw, 4.6rem);
  font-variation-settings: "wght" 900;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}
h2 {
  margin-top: 48px;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-variation-settings: "wght" 820;
  font-weight: 820;
  letter-spacing: -0.025em;
}
p, li { color: var(--body); }
li { margin-bottom: 10px; }

.callout, pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

pre {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: auto;
  white-space: pre-wrap;
}

.action {
  display: inline-block;
  margin: 10px 0;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0 48px;
  font-size: .9rem;
}

@media (max-width: 620px) {
  .policy-brand {
    flex-basis: 100%;
    margin-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
