:root {
  color-scheme: light;
  --ink: #1f2b26;
  --muted: #5d6962;
  --forest: #284c40;
  --forest-light: #3f6858;
  --cream: #f4efe5;
  --paper: #fffaf0;
  --clay: #98402c;
  --gold: #d2a23e;
  --sage: #dce6dc;
  --line: #d8d2c6;
  --shadow: 0 18px 50px rgba(39, 55, 47, 0.12);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img { max-width: 100%; }

a { color: var(--forest); text-decoration-thickness: 0.09em; text-underline-offset: 0.16em; }
a:hover { color: var(--clay); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }

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

h1 { font-size: clamp(2.7rem, 8vw, 5.7rem); max-width: 12ch; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.45rem; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--paper);
  border: 2px solid var(--forest);
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(40, 76, 64, 0.16);
  background: rgba(244, 239, 229, 0.96);
}

.nav-shell {
  width: min(1120px, calc(100% - 2rem));
  min-height: 5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img { width: 2.35rem; height: 2.35rem; }

.nav-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--forest); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 0.18em; text-underline-offset: 0.35em; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
  background:
    radial-gradient(circle at 88% 15%, rgba(210,162,62,.24), transparent 24rem),
    radial-gradient(circle at 75% 82%, rgba(185,82,53,.15), transparent 23rem),
    var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 34rem;
  height: 34rem;
  border: 2px solid rgba(40,76,64,.18);
  border-radius: 50%;
}

.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 2rem)); margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow { margin-bottom: 1rem; color: var(--clay); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.lede { max-width: 58ch; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.3rem); }
.hero-mark { width: clamp(140px, 18vw, 240px); height: auto; justify-self: center; filter: drop-shadow(0 20px 22px rgba(39,55,47,.16)); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--forest-light); color: white; }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--sage); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(40,76,64,.25);
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 750;
}
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--clay); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--forest); color: white; }
.section.dark p { color: #dce6dc; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,250,240,.88);
  box-shadow: 0 8px 24px rgba(39,55,47,.06);
}
.card p:last-child, .notice p:last-child { margin-bottom: 0; }
.card .number { color: var(--clay); font-family: Georgia, serif; font-size: 2.1rem; line-height: 1; }

.feature-card { display: grid; grid-template-columns: 8rem 1fr; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.feature-card img { width: 8rem; }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 3rem; }
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
.breadcrumbs { margin-bottom: 1.2rem; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: inherit; }
.meta { color: var(--muted); font-size: .9rem; }

.prose { padding-bottom: 6rem; }
.prose h2 { margin-top: 2.3rem; font-size: 1.75rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: #37453e; }
.prose a { overflow-wrap: anywhere; }
.notice { margin: 1.5rem 0; padding: 1.25rem 1.35rem; border-left: 5px solid var(--gold); border-radius: .2rem .9rem .9rem .2rem; background: #fff7df; }
.notice.warning { border-color: var(--clay); background: #f9e6de; }

.faq { display: grid; gap: .75rem; }
details { border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); }
summary { padding: 1rem 1.2rem; cursor: pointer; color: var(--ink); font-weight: 750; }
details[open] summary { border-bottom: 1px solid var(--line); }
.answer { padding: 1rem 1.2rem; }
.answer p:last-child { margin-bottom: 0; }

.site-footer { padding: 3rem 0; border-top: 1px solid rgba(40,76,64,.18); background: #e9e3d8; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.2rem; }
.footer-links a { color: var(--ink); font-size: .9rem; }
.fineprint { margin-top: .4rem; color: var(--muted); font-size: .86rem; }

@media (max-width: 760px) {
  .nav-shell { align-items: flex-start; flex-direction: column; gap: .7rem; padding: 1rem 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: .35rem .7rem; }
  .hero-grid, .grid, .grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero-mark { width: 180px; grid-row: 1; justify-self: start; }
  .hero { padding-top: 3rem; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card img { width: 6rem; }
  .footer-links { justify-content: flex-start; }
}

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