.modern-home {
  --home-forest: #173b2c;
  --home-deep: #122f24;
  --home-ink: #172e23;
  --home-text: #42554a;
  --home-lime: #b6e56b;
  --home-line: #d9e2d6;
  --home-paper: #f7f9f3;
  background: var(--home-paper);
  color: var(--home-ink);
  font-size: 17px;
  line-height: 1.58;
}

.modern-home .wrapper-middle { background: transparent; }
.home-wrap { width: min(1160px, calc(100% - 2 * clamp(18px, 4vw, 56px))); margin-inline: auto; }
.modern-home h1, .modern-home h2, .modern-home h3 { margin: 0; color: inherit; font-weight: 700; }
.modern-home h2 { font-size: clamp(33px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.038em; text-wrap: balance; }
.modern-home h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.18; letter-spacing: -.015em; }
.modern-home p { margin: 0; }
.modern-home a, .modern-home summary { text-underline-offset: .2em; }
.modern-home :focus-visible { outline: 2px solid #26704f; outline-offset: 4px; }

.home-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  color: #f5f9f2;
  background: radial-gradient(ellipse at 82% 17%, #2b5843 0, transparent 53%), var(--home-deep);
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(122deg, transparent 0 71px, rgb(211 244 168 / 7%) 72px, transparent 73px);
  mask-image: linear-gradient(90deg, transparent 27%, #000);
  pointer-events: none;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  padding-block: clamp(54px, 8vw, 112px);
}
.modern-home .home-hero h1 {
  max-width: 14ch;
  font-family: Cabin, Arial, sans-serif;
  font-size: clamp(38px, 5.3vw, 78px);
  line-height: .98;
  letter-spacing: -.042em;
  text-align: left;
  text-wrap: balance;
}
.home-hero-copy > p { margin-top: 20px; color: #e1efdf; font-size: clamp(17px, 2vw, 21px); }
.home-hero-copy > p b { color: var(--home-lime); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.home-hero .home-actions { margin-top: 28px; }
.modern-home .home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.modern-home .home-button-light { background: #f3f7e9; color: var(--home-deep); }
.modern-home .home-button-light:hover { background: var(--home-lime); color: var(--home-deep); }
.modern-home .home-jump { color: #f5f9f2; font-size: 15px; font-weight: 700; text-decoration: underline; }
.home-jump span, .home-estimate-link span { display: inline-block; margin-left: 4px; }
.home-hero-copy :focus-visible { outline-color: var(--home-lime); }

.home-estimate {
  min-width: 0;
  padding: clamp(16px, 2.9vw, 34px);
  border: 1px solid #dbe9ce;
  border-radius: 20px;
  background: #f9fbf5;
  color: var(--home-ink);
  box-shadow: 0 18px 40px rgb(12 36 26 / 20%);
}
.modern-home .home-estimate h2 {
  color: var(--home-forest);
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -.01em;
}
.home-estimate-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 0;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--home-line);
}
.home-estimate-summary dt { color: var(--home-text); font-size: 14px; font-weight: 400; }
.home-estimate-summary dd {
  margin: 4px 0 0;
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.home-estimate-summary > div + div dd { color: #286346; }
.home-schedule {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: 22px 0 23px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.home-schedule::before {
  content: "";
  position: absolute;
  inset: 5px 12.5% auto;
  height: 2px;
  background: #a2bd9f;
}
.home-schedule li { position: relative; min-width: 0; padding-inline: 2px; }
.home-schedule li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 7px;
  border: 2px solid #4b7848;
  border-radius: 50%;
  background: var(--home-lime);
}
.home-schedule span { display: block; color: var(--home-text); font-size: 12px; }
.home-schedule strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.modern-home .home-estimate-link { color: var(--home-forest); font-size: 15px; font-weight: 700; text-decoration: underline; }

.home-overview { padding-block: 0 clamp(58px, 8vw, 112px); }
.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--home-line);
}
.home-benefits li { padding: 25px clamp(12px, 2.2vw, 26px); font-size: 16px; font-weight: 700; line-height: 1.3; }
.home-benefits li + li { border-left: 1px solid var(--home-line); }
.home-benefits li::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 9px;
  border-radius: 2px;
  background: #5d8c40;
}

.home-prose, .home-faq, .home-process-inner {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr);
  gap: 24px clamp(32px, 6vw, 92px);
}
.home-prose { margin-top: clamp(52px, 8vw, 110px); }
.home-copy section + section { margin-top: 23px; padding-top: 23px; border-top: 1px solid var(--home-line); }
.home-copy p { max-width: 66ch; margin-top: 7px; color: var(--home-text); }

.home-process {
  padding-block: clamp(48px, 7vw, 94px);
  border-block: 1px solid var(--home-line);
  background: #eaf2e2;
  scroll-margin-top: 15px;
}
.home-process-inner { align-items: start; }
.home-process h2 { max-width: 13ch; }
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.7vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}
.home-steps li { counter-increment: home-step; border-top: 1px solid #9cac92; padding-top: 13px; }
.home-steps li::before {
  content: counter(home-step, decimal-leading-zero);
  display: block;
  margin-bottom: 13px;
  color: #356244;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.home-steps strong { display: block; line-height: 1.24; }
.home-steps p { margin-top: 6px; color: var(--home-text); font-size: 15px; }
.home-process-actions { grid-column: 2; }
.modern-home .home-button-dark { background: var(--home-forest); color: #fff; }
.modern-home .home-button-dark:hover { background: #285a43; color: #fff; }
.modern-home .home-utility, .modern-home .home-faq-more { color: var(--home-forest); font-size: 15px; text-decoration: underline; }

.home-faq { padding-block: clamp(54px, 8vw, 108px); align-items: start; }
.home-faq-list { border-top: 1px solid var(--home-line); }
.home-faq-list details { border-bottom: 1px solid var(--home-line); }
.home-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 13px 3px;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after {
  content: "+";
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  color: var(--home-forest);
  font-size: 21px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}
.home-faq-list details[open] summary::after { content: "−"; }
.home-faq-list summary:hover { color: #285a43; }
.home-faq-answer { padding: 0 38px 16px 3px; color: var(--home-text); font-size: 16px; }
.modern-home .home-faq-answer a { display: inline-block; margin-top: 6px; color: var(--home-forest); text-decoration: underline; }
.modern-home .home-faq-more { display: inline-block; margin-top: 16px; font-weight: 700; }

@media (max-width: 890px) {
  .home-prose, .home-faq, .home-process-inner { grid-template-columns: minmax(0, 1fr); }
  .home-process-actions { grid-column: 1; }
  .home-process h2 { max-width: none; }
}
@media (max-width: 767px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 34px 36px; }
  .modern-home .home-hero h1 { font-size: clamp(36px, 7.8vw, 53px); }
  .home-hero-copy > p { margin-top: 13px; }
  .home-hero .home-actions { margin-top: 18px; }
  .home-estimate { max-width: 470px; width: 100%; }
  .home-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-benefits li:nth-child(3) { border-left: 0; }
  .home-benefits li:nth-child(n+3) { border-top: 1px solid var(--home-line); }
  .home-benefits li { padding-block: 17px; }
}
@media (max-width: 479px) {
  .home-steps { grid-template-columns: minmax(0, 1fr); }
  .home-steps li { position: relative; padding: 11px 0 0 38px; }
  .home-steps li::before { position: absolute; top: 9px; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .modern-home .home-button { transition: none; }
}
