:root {
  --ink: #17231f;
  --muted: #65756d;
  --paper: #fbfaf6;
  --soft: #eaf1eb;
  --line: #d5e0d7;
  --green: #1f4d3d;
  --green-deep: #12352a;
  --sage: #799588;
  --rust: #cf6846;
  --gold: #e5b35e;
  --white: #fff;
  --shadow: 0 22px 60px rgba(15, 40, 30, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}
body.no-scroll {
  overflow: hidden;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(16px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 224, 215, 0.85);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 14px;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #33443c;
}
.nav-cta,
.primary,
.secondary,
.chip,
.icon-button,
.search-box button {
  border: 0;
  cursor: pointer;
}
.nav-cta,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--rust);
  color: #fff;
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 23px rgba(207, 104, 70, 0.2);
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  padding: 11px 16px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  font-weight: 700;
}
.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(20px, 5vw, 78px);
  align-items: center;
  padding: 120px clamp(18px, 6vw, 90px) 64px;
  background: var(--green-deep);
  color: #fff;
  overflow: hidden;
}
.hero-copy-block {
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--rust);
  margin: 0 0 12px;
}
.hero .eyebrow {
  color: #f0ba7a;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
  margin: 0 0 24px;
  max-width: 800px;
}
.hero-copy {
  color: #dae7df;
  font-size: clamp(18px, 2vw, 23px);
  max-width: 660px;
  margin: 0 0 28px;
}
.hero-actions,
.cta-actions,
.scheduler-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.hero .secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 35px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #b9cec1;
  font-size: 12px;
  font-weight: 700;
}
.hero-meta span + span:before {
  content: "/";
  margin-right: 18px;
  color: var(--gold);
}
.hero-diagram {
  align-self: end;
  max-width: 620px;
  justify-self: end;
}
.hero-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.section {
  padding: 88px clamp(18px, 6vw, 90px);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
}
.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 0 17px;
}
.intro-copy {
  max-width: 700px;
  padding-top: 6px;
}
.intro-copy p,
.section-head > p {
  color: var(--muted);
  font-size: 16px;
}
.library-section {
  background: #f4f6f0;
}
.section-head {
  max-width: 1000px;
  margin-bottom: 32px;
}
.library-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  max-width: 1200px;
}
.library-head h2 {
  max-width: 760px;
}
.fresh-note {
  max-width: 360px !important;
  font-size: 13px !important;
  padding: 16px 0 0;
  border-top: 2px solid var(--gold);
}
.search-shell {
  max-width: 960px;
  margin-bottom: 22px;
}
.search-shell > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  box-shadow: 0 10px 24px rgba(18, 53, 42, 0.05);
}
.search-box > span {
  font-size: 28px;
  line-height: 1;
  color: var(--rust);
}
.search-box input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  padding: 17px 0;
  background: transparent;
  color: var(--ink);
}
.search-box input::placeholder {
  color: #8b9991;
}
.search-box button {
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.suggestion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.library-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 7px;
}
.chip {
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: #385047;
  font-weight: 700;
  font-size: 12px;
}
.chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.result-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.topic-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  min-height: 222px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: #a9bdb0;
  box-shadow: 0 14px 28px rgba(18, 53, 42, 0.09);
}
.topic-card .topic-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.topic-number {
  color: #9aa8a0;
  font-size: 12px;
  font-weight: 700;
}
.topic-tag {
  align-self: flex-start;
  border-radius: 999px;
  background: #f6e7de;
  color: #9b4d36;
  padding: 5px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.topic-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 25px;
  line-height: 1.04;
  margin: 17px 0 9px;
}
.topic-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.topic-card .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.topic-card .cost-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.read-link {
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.article-section {
  background: #fff;
  border-top: 1px solid var(--line);
}
.article-wrap {
  max-width: 1220px;
  margin: 0 auto;
}
.article-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: start;
}
.article-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.article-kicker .rank {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.article-title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  margin: 0 0 16px;
}
.article-lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 800px;
}
.article-diagram {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
}
.article-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}
.info-block {
  border-top: 2px solid var(--line);
  padding: 17px 0;
}
.info-block h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin: 0 0 9px;
}
.info-block p {
  margin: 0;
  color: #485a51;
  font-size: 14px;
}
.info-block ul {
  margin: 0;
  padding-left: 18px;
  color: #485a51;
  font-size: 14px;
}
.price-board {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin-top: 4px;
}
.price-cell {
  background: #f6faf6;
  padding: 16px;
}
.price-cell span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.price-cell strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  margin: 3px 0;
}
.price-cell small {
  color: var(--muted);
  font-size: 12px;
}
.source-box {
  grid-column: 1/-1;
  background: var(--soft);
  border-radius: 7px;
  padding: 18px;
  margin-top: 8px;
}
.source-box h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  color: var(--green);
}
.source-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.source-box a {
  color: var(--green);
  font-weight: 700;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.band {
  background: var(--soft);
}
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.panel h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 9px;
}
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.pricing-section {
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
}
.pricing-card span {
  display: block;
  color: var(--rust);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.pricing-card strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 27px;
  margin: 6px 0;
}
.pricing-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.pricing-note {
  display: flex;
  gap: 16px;
  align-items: start;
  margin-top: 17px;
  padding: 17px;
  background: #f4f6f0;
  border-left: 4px solid var(--gold);
  font-size: 14px;
}
.pricing-note strong {
  white-space: nowrap;
  color: var(--green);
}
.pricing-note span {
  color: var(--muted);
}
.sources-section {
  padding-bottom: 70px;
}
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.source-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
}
.source-item a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.source-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 0;
}
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 28px;
  align-items: center;
  background: var(--green-deep);
  color: #fff;
}
.cta-section h2 {
  max-width: 850px;
}
.cta-section p:not(.eyebrow) {
  color: #cfddd4;
  max-width: 800px;
}
.light-fill {
  background: #fff;
  color: var(--green);
  box-shadow: none;
}
.light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hours {
  grid-column: 1/-1 !important;
  font-size: 12px !important;
  color: #aec5b6 !important;
  margin: 0 !important;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 30px clamp(18px, 6vw, 90px);
  background: #0c241c;
  color: #fff;
  font-size: 13px;
}
.footer div {
  display: grid;
  gap: 4px;
}
.footer a,
.footer span {
  color: #aec5b6;
  text-decoration: none;
}
.scheduler {
  width: min(760px, calc(100vw - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}
.scheduler::backdrop {
  background: rgba(10, 24, 18, 0.62);
}
.scheduler-shell {
  padding: 24px;
}
.scheduler-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.scheduler-head h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  line-height: 1;
  margin: 0;
}
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--soft);
  font-size: 28px;
  line-height: 1;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin: 22px 0;
}
.form-grid label {
  display: grid;
  gap: 6px;
  color: #34473e;
  font-size: 12px;
  font-weight: 700;
}
.form-grid .wide {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background: #fff;
  color: var(--ink);
  outline-color: var(--rust);
}
textarea {
  resize: vertical;
}
.no-results {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed var(--line);
  padding: 22px;
  color: var(--muted);
  border-radius: 7px;
}
.hidden {
  display: none !important;
}
@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 70px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .nav a,
  .nav button {
    width: 100%;
    text-align: left;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-diagram {
    width: min(620px, 100%);
    justify-self: center;
  }
  .topic-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inspection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .topbar {
    padding: 10px 14px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand small {
    display: none;
  }
  .hero {
    padding: 100px 16px 40px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-meta {
    gap: 8px;
  }
  .hero-meta span + span:before {
    margin-right: 8px;
  }
  .section {
    padding: 60px 16px;
  }
  .intro-grid,
  .library-head,
  .article-top {
    display: grid;
    grid-template-columns: 1fr;
  }
  .topic-index,
  .inspection-grid,
  .pricing-grid,
  .source-list,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .library-toolbar {
    display: block;
  }
  .result-count {
    display: block;
    margin-top: 4px;
  }
  .article-title {
    font-size: 48px;
  }
  .price-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-note {
    display: block;
  }
  .pricing-note strong {
    display: block;
    margin-bottom: 8px;
  }
  .footer {
    display: grid;
  }
  .hero-actions,
  .cta-actions {
    display: grid;
  }
  .primary,
  .secondary {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .scheduler-shell {
    padding: 18px;
  }
  .search-box input {
    font-size: 14px;
  }
}
