:root {
  color-scheme: light;
  --paper: #f8f4ed;
  --surface: #fffdf9;
  --ink: #202124;
  --muted: #686a70;
  --line: #e6ddd1;
  --red: #ed4545;
  --red-dark: #c92e35;
  --blue: #2f68d8;
  --blue-soft: #eaf1ff;
  --shadow: 0 18px 50px rgba(58, 45, 29, 0.09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(237, 69, 69, 0.08), transparent 26rem),
    radial-gradient(circle at 95% 10%, rgba(47, 104, 216, 0.09), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

a:hover {
  color: #174aa9;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 104, 216, 0.34);
  outline-offset: 4px;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark .over {
  color: var(--red);
}

.wordmark .slash {
  color: #55575c;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-weight: 500;
}

.wordmark .under {
  color: var(--blue);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px var(--line);
}

main {
  width: min(100% - 32px, 1040px);
  margin: 34px auto 88px;
}

.hero {
  max-width: 800px;
  padding: 66px 0 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1,
.display {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6.2rem);
  letter-spacing: -0.065em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.page-hero {
  max-width: 820px;
  padding: 54px 0 36px;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.updated {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.card,
.content-card,
.callout {
  border: 1px solid rgba(225, 215, 202, 0.92);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
}

.card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(58, 45, 29, 0.13);
}

.card-number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 55px;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}

.card:nth-child(2) .card-number {
  background: #ffe9e7;
  color: var(--red-dark);
}

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

.card p {
  margin-bottom: 0;
}

.content {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 20px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: inset 0 0 0 1px var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

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

.content-card {
  padding: clamp(28px, 6vw, 58px);
  border-radius: 34px;
}

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

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section li + li {
  margin-top: 10px;
}

.callout {
  margin: 42px 0;
  padding: 28px;
  border-radius: 24px;
  border-color: #cfdcf9;
  background: linear-gradient(145deg, #f4f8ff, #fffdf9);
}

.callout h2,
.callout h3 {
  margin-bottom: 8px;
}

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

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

.support-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.support-item p {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(237, 69, 69, 0.22);
}

.button:hover {
  background: var(--red-dark);
  color: #fff;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

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

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

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

  main {
    margin-top: 0;
  }

  .hero {
    padding-top: 45px;
  }

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

  .card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 30px;
  }

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

  .toc {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
