:root {
  --navy: #101827;
  --navy-soft: #192438;
  --ink: #172033;
  --muted: #667085;
  --cream: #f6f4ef;
  --white: #fff;
  --lime: #c7f464;
  --line: #dde1e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.nav-wrap { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(16,24,39,.94); backdrop-filter: blur(12px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; color: var(--white); }
.logo { font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.logo span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links > a:not(.button):hover { color: var(--lime); }

.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border-radius: 6px; background: var(--lime); color: var(--navy); font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(199,244,100,.2); }
.button-small { min-height: 40px; padding-inline: 18px; }

.hero { min-height: 680px; padding-block: 110px 90px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; }
.eyebrow { margin: 0 0 18px; color: #55731d; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(42px, 5.5vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
h1 em { color: #587b18; font-style: normal; }
.lead { max-width: 670px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 8px; color: #5f8617; }
.hero-panel { padding: 28px; border-radius: 14px; background: var(--cream); transform: rotate(1.5deg); }
.panel-label { margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.code-card { padding: 20px; border-radius: 9px; background: var(--navy); box-shadow: 0 24px 60px rgba(16,24,39,.18); }
.code-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #536078; }
pre { margin: 28px 0 4px; overflow: auto; color: #e4e9f1; font: 13px/2 "SFMono-Regular", Consolas, monospace; }
code span { color: #8995a8; } code b { color: var(--lime); }

.section { padding-block: 110px; }
.section-heading { max-width: 650px; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.cards { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card { min-height: 290px; padding: 34px 28px; border-right: 1px solid var(--line); }
.card:first-child { border-left: 1px solid var(--line); }
.card-number { color: #719728; font-size: 12px; font-weight: 800; }
.card h3 { margin: 55px 0 16px; font-size: 21px; }
.card p, .section-heading > p:last-child { color: var(--muted); line-height: 1.75; }

.estimator-section { padding-block: 110px; background: var(--cream); }
.estimator-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.estimator-intro { position: sticky; top: 120px; }
.estimator-note { display: inline-block; margin-top: 12px; padding: 9px 12px; border-radius: 4px; background: #e7edda; color: #456315 !important; font-size: 12px; font-weight: 700; }
.estimator { padding: 42px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 22px 70px rgba(16,24,39,.07); }
.estimator fieldset { margin: 0 0 38px; padding: 0 0 38px; border: 0; border-bottom: 1px solid var(--line); }
.estimator legend { width: 100%; margin-bottom: 20px; font-size: 17px; font-weight: 800; }
.estimator legend span { margin-right: 12px; color: #719728; font-size: 11px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option-grid-3 { grid-template-columns: repeat(3, 1fr); }
.option-grid label { cursor: pointer; }
.option-grid input { position: absolute; opacity: 0; pointer-events: none; }
.option-grid label > span { min-height: 76px; padding: 16px; display: flex; justify-content: center; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 13px; font-weight: 700; transition: border-color .15s, background .15s, box-shadow .15s; }
.option-grid label:hover > span { border-color: #94b257; }
.option-grid input:focus-visible + span { outline: 3px solid rgba(113,151,40,.3); outline-offset: 2px; }
.option-grid input:checked + span { border-color: #719728; background: #f4f8ea; box-shadow: inset 0 0 0 1px #719728; }
.option-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; }
.estimator-submit { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.estimate-result { margin-top: 28px; padding: 30px; border-radius: 9px; background: var(--navy); color: var(--white); }
.result-label { margin-bottom: 6px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-price { margin-bottom: 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.result-description { margin-bottom: 22px; color: #b9c2d0; font-size: 13px; line-height: 1.65; }
.estimate-result .button { width: 100%; text-align: center; }
.estimate-result > small { margin-top: 14px; display: block; color: #8995a8; font-size: 10px; line-height: 1.5; text-align: center; }

.process-section { padding-block: 110px; color: var(--white); background: var(--navy); }
.process-section .eyebrow { color: var(--lime); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.process-section .section-heading > p:last-child { color: #aeb6c4; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: 0 0 30px 62px; border-bottom: 1px solid #344055; margin-bottom: 30px; counter-increment: steps; }
.steps li::before { content: "0" counter(steps); position: absolute; left: 0; top: 2px; color: var(--lime); font-size: 12px; font-weight: 800; }
.steps strong, .steps span { display: block; }
.steps strong { margin-bottom: 9px; font-size: 18px; }
.steps span { color: #aeb6c4; font-size: 14px; line-height: 1.65; }

.contact { margin-block: 110px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 50px; border-radius: 14px; background: var(--lime); }
.contact .eyebrow { color: #3e570d; }
.contact h2 { max-width: 650px; font-size: clamp(32px, 4vw, 48px); }
.contact p:last-child { max-width: 650px; margin-bottom: 0; line-height: 1.7; }
.button-light { flex: 0 0 auto; background: var(--navy); color: var(--white); }
.footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer .logo { color: var(--navy); }
.footer p { margin: 0; }

@media (max-width: 800px) {
  .nav-links > a:not(.button) { display: none; }
  .hero { min-height: auto; padding-block: 80px; grid-template-columns: 1fr; gap: 50px; }
  .hero-panel { max-width: 480px; transform: none; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:first-child { min-height: auto; border: 0; border-bottom: 1px solid var(--line); }
  .card h3 { margin-top: 28px; }
  .process-grid { grid-template-columns: 1fr; gap: 50px; }
  .estimator-grid { grid-template-columns: 1fr; gap: 45px; }
  .estimator-intro { position: static; }
  .contact { padding: 40px 28px; align-items: flex-start; flex-direction: column; }
  .footer { padding-block: 30px; gap: 20px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section, .process-section { padding-block: 80px; }
  .contact { margin-block: 70px; }
  .estimator { padding: 28px 18px; }
  .option-grid, .option-grid-3 { grid-template-columns: 1fr; }
  .button-light { width: 100%; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
