:root {
  color-scheme: light;
  --paper: #fbf7ed;
  --paper-deep: #f4ecdc;
  --card: rgba(255, 255, 255, 0.78);
  --ink: #4f3826;
  --muted: #6f655d;
  --cta: #4d8778;
  --cta-dark: #34685c;
  --blue: #4f809e;
  --blue-soft: #dbeaec;
  --olive-soft: #e0e8c2;
  --gold: #e8aa29;
  --line: #ccb087;
  --danger: #9a4c3f;
  --shadow: 0 18px 60px rgba(79, 56, 38, 0.11);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --content: 1120px;
  --reading: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(232, 170, 41, 0.10), transparent 22rem),
    radial-gradient(circle at 92% 20%, rgba(79, 128, 158, 0.11), transparent 24rem),
    var(--paper);
  font-family: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.19;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cta-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

h2 {
  margin-top: 3.25rem;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

h3 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

p,
ul,
ol {
  margin-top: 0.85rem;
  margin-bottom: 1.15rem;
}

li + li {
  margin-top: 0.5rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(204, 176, 135, 0.45);
  background: rgba(251, 247, 237, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(79, 56, 38, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 13px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}

.hero {
  display: grid;
  width: min(calc(100% - 36px), var(--content));
  min-height: 630px;
  margin: 0 auto;
  padding: 70px 0 82px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(34px, 7vw, 90px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(77, 135, 120, 0.32);
  border-radius: 999px;
  color: var(--cta-dark);
  background: rgba(224, 232, 194, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
}

.hero .lede {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--cta);
  box-shadow: 0 10px 24px rgba(77, 135, 120, 0.22);
}

.button-primary:hover {
  color: white;
  background: var(--cta-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(204, 176, 135, 0.75);
  background: rgba(255, 255, 255, 0.62);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: center;
  border: 1px solid rgba(204, 176, 135, 0.55);
  border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%;
  background:
    linear-gradient(145deg, rgba(219, 234, 236, 0.76), rgba(244, 236, 220, 0.92)),
    white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::after {
  position: absolute;
  inset: 24px;
  border: 1.5px dashed rgba(79, 56, 38, 0.18);
  border-radius: 45% 55% 52% 48% / 56% 46% 54% 44%;
  content: "";
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 94%;
  margin: auto;
  transform: translateY(10px);
}

.section {
  padding: 82px 0;
}

.section-alt {
  border-block: 1px solid rgba(204, 176, 135, 0.44);
  background: rgba(244, 236, 220, 0.56);
}

.section-inner {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-top: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card {
  padding: 27px;
  border: 1px solid rgba(204, 176, 135, 0.57);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 12px 35px rgba(79, 56, 38, 0.07);
}

.card-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.card h3 {
  margin-top: 0;
}

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

.promise {
  display: grid;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
}

.promise h2,
.promise p {
  color: white;
}

.promise h2 {
  margin-top: 0;
}

.promise p {
  max-width: 760px;
  opacity: 0.79;
}

.promise img {
  width: 122px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.page-hero {
  padding: 76px 0 58px;
  border-bottom: 1px solid rgba(204, 176, 135, 0.48);
  background: linear-gradient(180deg, rgba(219, 234, 236, 0.38), transparent);
}

.page-hero-inner {
  width: min(calc(100% - 36px), var(--reading));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.page-hero .lede {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.reading-layout {
  display: grid;
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
  padding: 56px 0 96px;
  align-items: start;
  grid-template-columns: 240px minmax(0, var(--reading));
  gap: 64px;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid rgba(204, 176, 135, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.toc li + li {
  margin-top: 0.7rem;
}

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

.toc a:hover {
  color: var(--cta-dark);
  text-decoration: underline;
}

.legal-copy {
  min-width: 0;
}

.legal-copy > :first-child {
  margin-top: 0;
}

.legal-copy h2 {
  scroll-margin-top: 110px;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(204, 176, 135, 0.5);
}

.legal-copy h2:first-of-type {
  border-top: 0;
}

.legal-copy h3 {
  scroll-margin-top: 110px;
}

.legal-copy p,
.legal-copy li {
  color: #574b43;
}

.callout {
  margin: 0 0 2rem;
  padding: 21px 23px;
  border-left: 5px solid var(--cta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(224, 232, 194, 0.52);
}

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

.contact-card {
  display: grid;
  margin: 32px 0;
  padding: 28px;
  border-radius: var(--radius-md);
  color: white;
  background: var(--blue);
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.contact-card h2,
.contact-card p {
  color: white;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  margin-bottom: 0;
  opacity: 0.86;
}

.contact-card .button {
  color: var(--ink);
  background: white;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid rgba(204, 176, 135, 0.58);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
}

summary {
  padding: 19px 21px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
}

details > div {
  padding: 0 21px 20px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(204, 176, 135, 0.55);
  background: rgba(244, 236, 220, 0.64);
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 36px), var(--content));
  min-height: 140px;
  margin: 0 auto;
  padding: 30px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-copy strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.not-found {
  display: grid;
  width: min(calc(100% - 36px), 720px);
  min-height: calc(100vh - 215px);
  margin: 0 auto;
  padding: 80px 0;
  place-items: center;
  text-align: center;
}

.not-found img {
  width: 140px;
  margin: 0 auto 24px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 340px;
  }

  .hero-art img {
    width: min(580px, 94%);
  }

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

  .reading-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: auto;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .nav-links a {
    padding-inline: 10px;
    white-space: nowrap;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-art {
    min-height: 280px;
  }

  .section {
    padding: 62px 0;
  }

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

  .promise img {
    width: 92px;
  }

  .page-hero {
    padding: 55px 0 42px;
  }

  .reading-layout {
    padding-top: 36px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.centered-actions {
  justify-content: center;
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .button {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .page-hero,
  .reading-layout {
    width: 100%;
    padding: 0;
  }

  .legal-copy h2 {
    break-after: avoid;
  }
}
