:root {
  --ink: #151713;
  --ink-soft: #30342d;
  --paper: #f7f7f2;
  --white: #ffffff;
  --lime: #62d43b;
  --lime-dark: #24710f;
  --lime-pale: #e9f8e2;
  --line: #d9ddd4;
  --muted: #5c6358;
  --danger: #9d201d;
  --success: #176b37;
  --shadow: 0 18px 60px rgba(21, 23, 19, 0.09);
  --radius: 0.55rem;
  --max: 76rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  min-height: 2.75rem;
}

:focus-visible {
  outline: 3px solid #2b79d0;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--lime-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 0.2rem;
  background: var(--lime);
  content: "";
}

.announcement {
  background: var(--ink);
  color: #f6f6f2;
  font-size: 0.82rem;
}

.announcement .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  padding-block: 0.35rem;
}

.announcement p {
  margin: 0;
}

.announcement a {
  color: #fff;
  font-weight: 750;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.brand-subtitle {
  margin-top: 0.4rem;
  color: var(--lime-dark);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.primary-nav a {
  padding: 0.65rem 0.7rem;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 780;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-bottom-color: var(--lime-dark);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -0.35rem;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 0.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  background: var(--lime);
  color: var(--ink);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(98, 212, 59, 0.28), transparent 24rem),
    linear-gradient(135deg, #151713, #252b21);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(#fff 0.7px, transparent 0.7px);
  background-size: 15px 15px;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: 4rem;
  min-height: 40rem;
  padding-block: 5.5rem;
}

.hero .eyebrow {
  color: #8ef16c;
}

.hero h1,
.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.6rem, 6.5vw, 5.7rem);
  font-weight: 530;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: #8ef16c;
  font-style: normal;
  font-weight: 800;
}

.hero-copy {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: #d8ddd4;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-panel {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.55rem;
}

.check-list li::before {
  color: #8ef16c;
  font-weight: 900;
  content: "✓";
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 1.45rem;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-compact {
  padding-block: 3rem;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-header h2,
.content-prose h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-number {
  color: var(--lime-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card h3 {
  margin: 0.75rem 0 0.6rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .text-link {
  margin-top: auto;
  padding-top: 1.4rem;
}

.text-link {
  color: #185a08;
  font-weight: 800;
  text-underline-offset: 0.22rem;
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.dark-section .section-header p,
.dark-section .muted {
  color: #c6ccc2;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.brand-list li {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(98, 212, 59, 0.13), transparent 40%),
    var(--white);
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 48rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.content-prose {
  max-width: 48rem;
}

.content-prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose h3 {
  margin: 2rem 0 0.5rem;
}

.content-prose p,
.content-prose li {
  color: var(--ink-soft);
}

.content-prose a {
  color: #185a08;
  font-weight: 750;
}

.aside-box {
  align-self: start;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-top: 0.35rem solid var(--lime);
  background: var(--white);
}

.aside-box h2,
.aside-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.notice {
  padding: 1.2rem 1.35rem;
  border-left: 0.3rem solid var(--lime-dark);
  background: var(--lime-pale);
}

.notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: process;
}

.process article {
  padding: 1.5rem;
  border-top: 0.25rem solid var(--lime);
  background: var(--white);
  counter-increment: process;
}

.process article::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--lime-dark);
  font-weight: 900;
  content: "0" counter(process);
}

.process h3 {
  margin: 0 0 0.45rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq summary {
  padding: 1.1rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.faq details div {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-card {
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-top: 0;
  line-height: 1.15;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid #9ca395;
  border-radius: 0.2rem;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field-hint {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.checkbox {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  align-items: start;
  gap: 0.55rem;
  margin-block: 1rem;
  font-size: 0.84rem;
}

.checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.5rem;
  margin-block: 0.75rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.estimate-result {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 1rem;
  background: #f0f2ec;
}

.estimate-result div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.estimate-result .total {
  margin-top: 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 850;
}

.contact-details {
  padding: 0;
  list-style: none;
}

.contact-details li {
  margin-bottom: 0.65rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  padding-block: 3rem 1.25rem;
  background: #10120f;
  color: #e4e7e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: #bfc5bb;
  font-size: 0.86rem;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #353a32;
  color: #aeb5aa;
  font-size: 0.76rem;
}

@media (max-width: 62rem) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    inset: 5rem 0 auto;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a {
    min-height: 2.75rem;
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .section-header,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 2.5rem;
    min-height: auto;
  }

  .trust-grid,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 42rem) {
  html {
    scroll-padding-top: 5rem;
  }

  .announcement .container {
    justify-content: center;
    text-align: center;
  }

  .announcement .announcement-contact {
    display: none;
  }

  .nav-shell {
    min-height: 4.5rem;
  }

  .primary-nav {
    inset-block-start: 4.5rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }

  .hero-inner {
    padding-block: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-grid,
  .card-grid,
  .process,
  .forms-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 1px solid var(--line);
  }

  .section {
    padding-block: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
