:root {
  color-scheme: light dark;
  --background: #f5f3ed;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #25251f;
  --muted: #66665e;
  --border: rgba(53, 53, 44, 0.14);
  --accent: #506f5a;
  --accent-strong: #314b3a;
  --highlight: #d8a94b;
  --shadow: 0 20px 60px rgba(58, 54, 40, 0.10);
  --content-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171914;
    --surface: rgba(35, 38, 31, 0.82);
    --surface-strong: #25281f;
    --text: #f3f1e9;
    --muted: #b8b8ad;
    --border: rgba(238, 238, 220, 0.14);
    --accent: #a8cbb2;
    --accent-strong: #c9e4d0;
    --highlight: #e1bd68;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--highlight) 18%, transparent), transparent 30rem),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid color-mix(in srgb, var(--highlight) 70%, transparent);
  outline-offset: 4px;
}

.site-header {
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto;
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(36, 45, 31, 0.16);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 15px;
}

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

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 56px auto 84px;
}

.hero {
  margin: 76px 0 56px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

.document h1 {
  font-size: clamp(2.35rem, 7vw, 3.7rem);
}

h2 {
  margin: 2.5em 0 0.65em;
  font-size: 1.55rem;
}

h3 {
  margin: 1.8em 0 0.45em;
  font-size: 1.15rem;
}

p,
ul {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

li + li {
  margin-top: 0.45em;
}

.lede {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
}

.effective-date {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

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

.card,
.notice {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-arrow {
  display: block;
  margin-top: 24px;
  color: var(--accent-strong);
  font-weight: 700;
}

.notice {
  margin: 34px 0;
  padding: 22px 24px;
  border-radius: 18px;
}

.notice strong {
  color: var(--accent-strong);
}

.document section {
  border-top: 1px solid var(--border);
}

.contact-panel {
  margin-top: 40px;
  padding: 28px;
  border-radius: 22px;
  background: var(--accent-strong);
  color: var(--background);
}

.contact-panel h2 {
  margin: 0 0 8px;
}

.contact-panel p {
  margin: 0;
}

.contact-panel a {
  color: inherit;
}

.site-footer {
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

  nav {
    justify-content: flex-start;
  }

  main {
    margin-top: 36px;
  }

  .hero {
    margin-top: 48px;
  }

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

  .card {
    min-height: 0;
  }
}

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

  .card {
    transition: none;
  }
}
