:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f5f2eb;
  --text: #111827;
  --muted: #5b6472;
  --line: #e7e0d4;
  --gold: #d7b927;
  --gold-dark: #8d7410;
  --ink: #171717;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 185, 39, 0.14), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 38%, #ffffff 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 224, 212, 0.8);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1080px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.brand span {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.hero,
.policy-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 76px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy,
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
}

.hero-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.hero-card h2 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: block;
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 185, 39, 0.7);
  box-shadow: var(--shadow);
}

.link-card .label {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-card h2 {
  margin: 14px 0 8px;
  font-size: 27px;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.policy-shell {
  padding: 52px 0 70px;
}

.policy-hero {
  margin-bottom: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.policy-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.updated {
  margin: 14px 0 0;
  color: var(--gold-dark);
  font-weight: 800;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.toc a:hover {
  color: var(--ink);
}

.policy-content {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.policy-content section + section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.policy-content p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, 1080px);
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .policy-shell,
  .card-grid,
  .footer-inner {
    width: min(100% - 28px, 1080px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 46px 0 34px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    margin-bottom: 46px;
  }

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

  .toc {
    position: static;
  }

  .policy-hero,
  .policy-content {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
