:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #c8ced8;
  --paper: #08090b;
  --panel: #121418;
  --line: #48505d;
  --focus: #d7b95f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -12rem, rgb(215 185 95 / 14%), transparent 32rem),
    linear-gradient(180deg, rgb(255 255 255 / 4%), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

a:hover {
  color: #f1d882;
}

a:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 32px, 780px);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.brand-link {
  flex: 0 1 176px;
}

.brand-logo {
  display: block;
  width: 176px;
  max-width: 100%;
  height: auto;
}

.home-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.home-link:hover {
  border-color: var(--focus);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.legal-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-nav a:hover {
  border-color: var(--focus);
  color: var(--ink);
}

.legal-nav a[aria-current="page"] {
  border-color: var(--focus);
  background: rgb(215 185 95 / 10%);
  color: #f4dd90;
}

main {
  padding: clamp(36px, 8vw, 72px) 0 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--focus);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.1;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 9vw, 64px);
  letter-spacing: -0.03em;
}

h2 {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 34px 0 10px;
  font-size: clamp(22px, 5vw, 28px);
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

strong {
  color: var(--ink);
}

.updated {
  margin: 12px 0 28px;
  color: #aeb5c0;
  font-size: 14px;
  font-weight: 700;
}

.plain-language {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgb(215 185 95 / 38%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgb(215 185 95 / 8%), transparent 58%),
    rgb(18 20 24 / 82%);
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
}

.plain-language::after {
  position: absolute;
  right: -24px;
  bottom: -58px;
  width: 190px;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgb(215 185 95 / 62%));
  content: "";
  opacity: 0.55;
  transform: rotate(-34deg);
}

.plain-language h2 {
  margin-top: 0;
  color: #f4dd90;
}

.plain-language p {
  position: relative;
  z-index: 1;
}

.plain-language p:last-child {
  margin-bottom: 0;
}

.section-mark {
  flex: 0 0 auto;
  color: var(--focus);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.gentle-note {
  margin-top: 20px;
  padding: 15px 17px;
  border-left: 3px solid var(--focus);
  border-radius: 0 8px 8px 0;
  background: rgb(215 185 95 / 7%);
  color: #e0e3e8;
}

.legal-footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #aeb5c0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 24px, 780px);
  }

  .brand-link,
  .brand-logo {
    width: 130px;
  }

  .legal-nav a {
    min-height: 34px;
    padding: 5px 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
