:root {
  --ink: #24332f;
  --forest: #17483f;
  --sage: #6f927f;
  --coral: #d66b4d;
  --marigold: #e9b44c;
  --cream: #fff8ec;
  --linen: #f5ead8;
  --mist: #e9f1ec;
  --paper: #fffdf7;
  --line: rgba(36, 51, 47, .16);
  --muted: #68746f;
  --shadow: 0 24px 70px rgba(36, 51, 47, .14);
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 72, 63, .035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(23, 72, 63, .028) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--cream);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

p,
li,
.form-label,
.accordion-body,
.lead,
.btn,
.nav-link,
.dropdown-item,
.small {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.top-strip {
  background: var(--forest);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: .88rem;
}

.top-strip .btn {
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 248, 236, .92);
  border-bottom: 1px solid rgba(23, 72, 63, .14);
  backdrop-filter: blur(16px);
}

.navbar {
  padding-block: 1rem;
}

.navbar-brand {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: radial-gradient(circle at 35% 25%, #fff 0 21%, var(--marigold) 22% 46%, var(--sage) 47% 100%);
  border: 2px solid rgba(23, 72, 63, .24);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  color: var(--ink);
  font-weight: 750;
  border-radius: 999px;
  padding: .55rem .85rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: var(--forest);
}

.navbar-toggler {
  border-radius: 999px;
  border-color: var(--line);
  background: #fff;
}

.btn {
  border-radius: 999px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
}

.btn-primary {
  --bs-btn-bg: var(--forest);
  --bs-btn-border-color: var(--forest);
  --bs-btn-hover-bg: #0f352e;
  --bs-btn-hover-border-color: #0f352e;
}

.btn-warning {
  --bs-btn-bg: var(--coral);
  --bs-btn-border-color: var(--coral);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #bd583d;
  --bs-btn-hover-border-color: #bd583d;
  --bs-btn-hover-color: #fff;
}

.btn-outline-primary {
  --bs-btn-color: var(--forest);
  --bs-btn-border-color: var(--forest);
  --bs-btn-hover-bg: var(--forest);
  --bs-btn-hover-border-color: var(--forest);
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 6.5rem 0 5rem;
  color: var(--forest);
  background:
    linear-gradient(90deg, rgba(255, 248, 236, .96) 0 46%, rgba(255, 248, 236, .7) 46% 58%, rgba(23, 72, 63, .08) 58%),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=82&fm=webp") right center / 56% 100% no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  bottom: 3rem;
  width: min(28vw, 340px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 2rem 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(2.8rem, 6vw, 55px);
  line-height: 1.2;
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  color: #44534f;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.eyebrow {
  color: var(--coral);
  font-family: Inter, system-ui, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero .eyebrow {
  display: inline-flex;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgb(24 72 63);
}

.hero-panel {
  max-width: 620px;
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(23, 72, 63, .18);
  border-left: 6px solid var(--coral);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 18px 45px rgba(36, 51, 47, .1);
  backdrop-filter: blur(10px);
}

.hero-panel a {
  color: var(--forest) !important;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.glass-card {
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem .95rem;
  box-shadow: 0 10px 28px rgba(36, 51, 47, .08);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
}

.actions {
  justify-content: flex-start !important;
}

.section-pad {
  padding: 5.5rem 0;
}

.section-title {
  color: var(--forest);
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  line-height: .98;
  font-weight: 500;
}

.lead {
  color: #43524e;
  line-height: 1.8;
}

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

.alt-band {
  background:
    linear-gradient(135deg, rgba(233, 241, 236, .9), rgba(255, 248, 236, .92)),
    linear-gradient(90deg, rgba(214, 107, 77, .08), transparent);
  border-block: 1px solid rgba(23, 72, 63, .1);
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 72, 63, .94), rgba(45, 91, 79, .9)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1600&q=80&fm=webp") center / cover;
}

.dark-band .section-title,
.dark-band .eyebrow {
  color: #fff;
}

.dark-band .muted {
  color: rgba(255, 255, 255, .78);
}

.feature-panel,
.program-card,
.blog-card,
.calc-shell,
.toc-box,
.article-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.45rem;
  box-shadow: 0 18px 48px rgba(36, 51, 47, .08);
}

.program-card,
.blog-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.program-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 107, 77, .45);
  box-shadow: var(--shadow);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--marigold) 0 38%, transparent 40% 100%);
  opacity: .65;
}

.program-card h3,
.blog-card h2,
.feature-panel h2,
.feature-panel h3 {
  color: var(--forest);
}

.calc-shell {
  background:
    linear-gradient(180deg, #fff, var(--cream));
  border-top: 6px solid var(--sage);
}

.form-control {
  border-radius: 999px;
  border-color: rgba(23, 72, 63, .2);
  padding: .75rem 1rem;
}

.form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 .2rem rgba(214, 107, 77, .16);
}

.result-box {
  background: var(--mist);
  border: 1px solid rgba(23, 72, 63, .16);
  border-radius: 18px;
  padding: 1rem;
}

.link-grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: .7rem 1.2rem;
  box-shadow: 0 16px 42px rgba(36, 51, 47, .07);
}

.link-grid a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 850;
  text-decoration: none;
}

.link-grid a::after {
  content: ">";
  color: var(--coral);
}

.link-grid a:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 6.5rem 0 4.5rem;
  color: var(--forest);
  background:
    linear-gradient(90deg, rgba(255, 248, 236, .94), rgba(233, 241, 236, .9)),
    radial-gradient(circle at 82% 20%, rgba(214, 107, 77, .18), transparent 32%);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  color: var(--coral) !important;
}

.page-hero h1 {
  color: var(--forest);
  max-width: 880px;
}

.page-hero .lead {
  max-width: 760px;
}

.article-wrap {
  max-width: 920px;
}

.article-wrap h2,
.article-wrap h3 {
  margin-top: 2.15rem;
  color: var(--forest);
}

.toc-box {
  background: var(--mist);
  border-left: 6px solid var(--sage);
}

.article-cta {
  margin: 1.75rem 0;
  background: linear-gradient(135deg, var(--mist), #fff);
  border-color: rgba(214, 107, 77, .28);
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px !important;
  margin-bottom: .75rem;
  background: #fff;
}

.accordion-button {
  color: var(--forest);
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 850;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--forest);
  box-shadow: none;
}

.blog-card a {
  color: var(--forest);
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background:
    linear-gradient(135deg, #132f2a, #0a1f1b);
}

.site-footer .brand-mark {
  background: radial-gradient(circle at 35% 25%, #fff 0 21%, var(--marigold) 22% 46%, var(--coral) 47% 100%);
}

.site-footer a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
}

.site-footer h3,
.site-footer strong {
  color: #fff;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: none;
  background: rgba(255, 248, 236, .95);
  border-top: 1px solid var(--line);
  padding: .65rem;
  box-shadow: 0 -18px 44px rgba(36, 51, 47, .16);
  backdrop-filter: blur(14px);
}

.columns-list {
  columns: 2;
}

.modal-content {
  border: 0;
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

@media (min-width: 992px) {
  .section-pad .row.g-5 > .col-lg-5:first-child,
  .section-pad .row.g-5 > .col-lg-6:first-child {
    position: relative;
  }
}

@media (max-width: 1199.98px) {
  .navbar-nav {
    align-items: stretch;
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3.5rem;
    background:
      linear-gradient(180deg, rgba(255, 248, 236, .96), rgba(255, 248, 236, .9)),
      url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1400&q=80&fm=webp") center / cover;
  }

  .hero::after {
    display: none;
  }

  .section-pad {
    padding: 3.75rem 0;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 4.2rem);
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 76px;
  }

  .top-strip .container {
    justify-content: center !important;
    text-align: center;
  }

  .sticky-mobile-cta {
    display: block;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .columns-list {
    columns: 1;
  }

  .feature-panel,
  .program-card,
  .blog-card,
  .calc-shell,
  .toc-box,
  .article-cta {
    border-radius: 18px;
  }
}
