:root {
  --ink: #18222f;
  --muted: #5e6a77;
  --line: rgba(24, 34, 47, 0.12);
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffdf8;
  --accent: #b14f2c;
  --accent-soft: #f7d8c8;
  --background-top: #f4ecdf;
  --background-bottom: #dfe9ef;
  --shadow: 0 20px 50px rgba(24, 34, 47, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(177, 79, 44, 0.12), transparent 28%),
    linear-gradient(180deg, var(--background-top), var(--background-bottom));
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero,
.policy-header {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(255, 250, 243, 0.86));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fffaf6;
  background: linear-gradient(135deg, #9f4424, #cb6a42);
  box-shadow: 0 14px 32px rgba(177, 79, 44, 0.22);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.content-grid .card {
  padding: 26px;
}

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

.toc {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.toc h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.toc a {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  text-decoration: none;
}

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

.policy {
  padding: 30px;
}

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

.policy h2 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.policy ul {
  padding-left: 22px;
}

@media (max-width: 900px) {
  .content-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .hero,
  .policy-header,
  .policy,
  .toc {
    padding: 24px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding: 24px 0 48px;
  }
}
