:root {
  color-scheme: dark;
  --background: #0f1115;
  --surface: #171a21;
  --surface-strong: #20242d;
  --text: #f4f6f8;
  --muted: #b8bec8;
  --accent: #f4c542;
  --accent-strong: #ffdb64;
  --border: #343a46;
  --focus: #8ec5ff;
  --content-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(244, 197, 66, 0.08), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.site-header,
.site-main,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 3px solid #141414;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #111111;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: inset 0 -0.35rem 0 rgba(0, 0, 0, 0.16);
}

.header-link {
  color: var(--muted);
  font-weight: 650;
}

.hero,
.content-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent), var(--surface);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.2);
}

.hero {
  padding: clamp(2rem, 7vw, 4.5rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  border-color: #e4b82e;
  background: var(--accent);
  color: #111111;
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #111111;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

.info-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.content-card {
  padding: clamp(1.35rem, 4vw, 3rem);
}

.document-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.document-header h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.035em;
}

.updated {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.policy-section + .policy-section {
  margin-top: 2rem;
}

.policy-section h2 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.policy-section p,
.policy-section ul {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 1.25rem;
}

.notice {
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0.35rem;
  background: rgba(244, 197, 66, 0.08);
}

.site-footer {
  padding-block: 2rem 3rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
  }

  .actions {
    justify-content: flex-start;
  }
}

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