:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #152033;
  --muted: #5b6678;
  --line: #dde2ea;
  --navy: #0e1726;
  --teal: #267f78;
  --gold: #9d641d;
  --soft: #eef5f4;
  --soft-gold: #fff4e1;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--gold);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.nav {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

main {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  padding: 76px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  color: var(--gold);
  font-weight: 720;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin: 0;
  max-width: 880px;
}

h2 {
  font-size: 1.55rem;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 780px;
  margin-top: 24px;
}

.hero-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 22px;
}

.hero-panel strong {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.status-list,
.link-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.status-list li:first-child {
  border-top: 0;
}

.section {
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p,
.policy-body li {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  padding: 44px 0 64px;
}

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

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a,
.link-list a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover,
.link-list a:hover {
  color: var(--teal);
}

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

.policy-body section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-body section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.policy-body ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 14px;
}

.callout {
  background: var(--soft);
  border: 1px solid #cfe1de;
  border-radius: 8px;
  padding: 20px;
  margin: 22px 0;
}

.callout.gold {
  background: var(--soft-gold);
  border-color: #f1d59c;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 42px;
  color: var(--muted);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .section-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

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

  .toc {
    position: static;
  }

  .policy-body {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  main,
  .nav,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .nav-links {
    gap: 6px 13px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .policy-body,
  .card,
  .hero-panel,
  .toc {
    padding: 18px;
  }
}
