:root {
  --ink: #253b31;
  --forest: #2d4a3d;
  --forest2: #3c6452;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --gold: #c9a86a;
  --muted: #6e786f;
  --line: #dcd8cc;
  --shadow: 0 14px 40px rgba(29, 52, 42, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Public Sans", Arial, sans-serif;
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-family: Lora, Georgia, serif;
  line-height: 1.08;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.55rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 18px;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 240, 0.92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(220, 216, 204, 0.8);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-size: 0.82rem;
  font-weight: 600;
}
.brand img {
  width: 88px;
  height: 46px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  font-weight: 600;
}
.nav-links a {
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--forest2);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  background: transparent;
}
.btn.primary {
  background: var(--forest);
  color: var(--cream);
}
.btn.primary:hover {
  background: var(--forest2);
}
.btn.ghost:hover {
  background: #f1ece0;
}
.dark .btn.primary {
  background: #e2c17f;
  border-color: #e2c17f;
  color: #18251f;
}
.dark .btn.primary:hover {
  background: #f0d79f;
  border-color: #f0d79f;
}
.dark .btn.ghost {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.dark .btn.ghost:hover {
  background: #f1ece0;
  border-color: #f1ece0;
}
.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 1.6rem;
}
.hero {
  padding: 82px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--forest2);
  margin-bottom: 18px;
}
.lead {
  font-size: 1.12rem;
  color: #526159;
  max-width: 680px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.hero-image {
  position: relative;
}
.hero-image img,
.portrait img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.snapshot {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--paper);
  padding: 20px 22px;
  width: 270px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.snapshot b {
  display: block;
  font-family: Lora, serif;
  font-size: 1.1rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-weight: 700;
}
.facts dd {
  margin: 2px 0;
  color: var(--muted);
  font-size: 0.87rem;
}
section {
  padding: 76px 0;
}
.tint {
  background: #f2eee3;
}
.dark {
  background: var(--forest);
  color: var(--cream);
}
.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--paper);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 6px 20px rgba(29, 52, 42, 0.04);
}
.card p:last-child {
  margin-bottom: 0;
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--forest2);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}
.step-num {
  font-family: Lora, serif;
  color: var(--gold);
  font-size: 1.3rem;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 7px;
}
.quote blockquote {
  margin: 0 0 18px;
  font-family: Lora, serif;
  font-size: 1.1rem;
}
.quote figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta h2 {
  margin-bottom: 8px;
}
.page-hero {
  padding: 72px 0 40px;
  max-width: 840px;
}
.programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.program {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
}
.program ul,
.checklist ul {
  padding: 0;
  list-style: none;
}
.program li,
.checklist li {
  padding: 7px 0 7px 24px;
  position: relative;
}
.program li:before,
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest2);
  font-weight: 700;
}
.program-actions {
  justify-content: center;
  max-width: 920px;
  margin: 30px auto;
}
.program-section { padding-top: 28px; }
.program-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 920px; }
.program-detail { padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 6px 20px rgba(29, 52, 42, 0.04); overflow: hidden; }
.program-detail summary { min-height: 112px; padding: 25px 62px 25px 27px; display: flex; align-items: center; position: relative; list-style: none; }
.program-detail summary::-webkit-details-marker { display: none; }
.program-detail summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: var(--forest2); font-family: Lora, serif; font-size: 1.9rem; font-weight: 400; }
.program-detail[open] summary::after { content: "−"; }
.program-detail summary b, .program-detail summary small { display: block; }
.program-detail summary b { margin-bottom: 7px; color: var(--ink); font-family: Lora, Georgia, serif; font-size: 1.35rem; }
.program-detail summary small { color: var(--muted); font-size: 0.86rem; font-weight: 500; line-height: 1.45; }
.program-content { padding: 0 27px 25px; border-top: 1px solid var(--line); }
.program-content p { margin-top: 21px; }
.program-content ul { margin-bottom: 0; padding-left: 20px; }
.program-content li { margin: 8px 0; }
.program-notice { max-width: 920px; text-align: center; }
.program-page-hero { padding-bottom: 58px; }
.breadcrumb { margin-bottom: 22px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.breadcrumb a:hover { color: var(--forest2); }
.program-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 54px; align-items: start; }
.program-copy h2 { margin-top: 48px; }
.program-copy h2:first-child { margin-top: 0; }
.program-copy h3 { margin-top: 30px; }
.program-copy ul { padding-left: 21px; }
.program-copy li { margin: 10px 0; }
.program-sidebar { position: sticky; top: 105px; padding: 28px; border-radius: 7px; background: var(--forest); color: white; }
.program-sidebar .btn { width: 100%; margin-top: 10px; }
.program-sidebar .btn.primary { background: #e2c17f; border-color: #e2c17f; color: #18251f; }
.program-sidebar .btn.ghost { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.program-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0; }
.program-fact { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.program-fact b { display: block; margin-bottom: 6px; }
.learn-more { display: inline-block; margin-top: 12px; color: var(--forest2); font-weight: 800; }
.learn-more:hover { text-decoration: underline; }
.calc-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.calc-tab {
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: var(--paper);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.calc-tab.active {
  background: var(--forest);
  color: white;
}
.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--paper);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb7ab;
  border-radius: 4px;
  background: white;
  font: inherit;
}
.result {
  background: var(--forest);
  color: white;
  border-radius: 6px;
  padding: 30px;
}
.big-result {
  font-family: Lora, serif;
  font-size: 2.4rem;
  margin: 10px 0 20px;
}
.result dl {
  margin: 0;
}
.result dl div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.result dd {
  margin: 0;
  font-weight: 700;
}
.notice {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 18px;
}
.notice a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.insights-section { padding-top: 52px; }
.insight-grid { display: grid; grid-template-columns: minmax(0, 720px); gap: 20px; }
.insight-card h3 { font-size: 1.45rem; }
.article-label,
.article-meta { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.article-header { max-width: 900px; }
.article-hero { padding-bottom: 58px; }
.article-meta { margin-top: 28px; }
.article-meta a { color: var(--forest2); font-weight: 800; }
.article-meta span { margin: 0 7px; }
.article-section { padding-top: 64px; }
.article-copy > p { max-width: 760px; }
.answer-box,
.example-box,
.article-notice {
  margin-bottom: 34px;
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.answer-box { border-left: 4px solid var(--gold); }
.answer-box p:last-child { margin-bottom: 0; font-size: 1.05rem; }
.example-box h3 { margin: 0 0 16px; }
.example-box dl { margin: 0 0 18px; }
.example-box dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.example-box dt { font-weight: 700; }
.example-box dd { margin: 0; font-weight: 800; }
.example-box p { margin-bottom: 0; color: var(--muted); font-size: 0.84rem; }
.article-list { padding-left: 23px; }
.article-list li { margin: 15px 0; padding-left: 6px; }
.article-notice { margin-top: 46px; background: transparent; }
.article-notice p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.article-sidebar .sidebar-link { display: inline-block; margin-top: 20px; color: white; font-weight: 700; }
.article-sidebar .sidebar-link:hover { text-decoration: underline; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.timeline div {
  border-top: 2px solid var(--gold);
  padding-top: 15px;
}
.glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.glossary div {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 5px;
}
.glossary dt {
  font-weight: 800;
}
.glossary dd {
  margin: 6px 0 0;
  color: var(--muted);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
summary {
  font-weight: 700;
  cursor: pointer;
}
details p {
  margin: 12px 0 0;
  color: var(--muted);
}
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--paper);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.form .wide {
  grid-column: 1/-1;
}
.form label {
  font-size: 0.82rem;
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #bbb7ab;
  border-radius: 4px;
  background: white;
  font: inherit;
}
.form-status {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}
.form-status.success {
  background: #e7f2ea;
  border: 1px solid #a9cbb2;
  color: #254b32;
}
.form-status.error {
  background: #fff0ed;
  border: 1px solid #dfb2aa;
  color: #7a2f23;
}
.form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.direct {
  background: var(--forest);
  color: white;
  padding: 28px;
  border-radius: 7px;
}
.direct a {
  display: block;
  margin: 12px 0;
}
.direct .btn {
  display: flex;
  width: 100%;
  margin: 12px 0;
  background: #e2c17f;
  border-color: #e2c17f;
  color: #18251f;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}
.direct .btn:hover {
  background: #f0d79f;
  border-color: #f0d79f;
  transform: translateY(-1px);
}
.site-footer {
  padding: 54px 0 28px;
  background: #20352c;
  color: #f7f2e8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
}
.footer-links a {
  display: block;
  margin: 8px 0;
}
.compliance-marks {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.compliance-marks img {
  width: 74px;
  height: 88px;
  object-fit: contain;
}
.legal {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  line-height: 1.7;
  color: #c9d0cb;
}
.legal a {
  color: #f7f2e8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.status {
  margin-top: 12px;
  font-size: 0.85rem;
}
.status.ok {
  color: #2d704a;
}
.status.bad {
  color: #a13f38;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--cream);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .program-layout,
  .calculator {
    grid-template-columns: 1fr;
  }
  .program-sidebar {
    position: static;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .hero-image {
    margin-top: 20px;
  }
  .snapshot {
    left: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }
  .hero,
  section {
    padding: 55px 0;
  }
  .nav-phone {
    display: none;
  }
  .facts,
  .cards,
  .programs,
  .program-list,
  .program-facts,
  .resource-grid,
  .glossary,
  .values,
  .fields,
  .form,
  .timeline {
    grid-template-columns: 1fr;
  }
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .snapshot {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -28px 16px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .program-actions {
    justify-content: center;
  }
  .program-notice { text-align: center; }
}
