:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f0f5f4;
  --text: #1e2726;
  --muted: #5d6967;
  --line: #d9e2df;
  --accent: #0d6b62;
  --accent-dark: #084b45;
  --accent-soft: #d9ece9;
  --highlight: #f3b340;
  --shadow: 0 18px 48px rgba(25, 45, 43, 0.10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 8vw, 5.4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 24px;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav-static {
  position: static;
}

.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid,
.split,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.eyebrow,
.service-code {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.button-small {
  min-height: 40px;
  padding: 8px 12px;
  color: #ffffff !important;
}

.hero-panel,
.service-card,
.card-grid article,
.next-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.check-list {
  padding-left: 1.2rem;
  margin: 0;
}

.check-list li + li {
  margin-top: 10px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.tag-grid,
.card-grid,
.step-grid {
  display: grid;
  gap: 16px;
}

.tag-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.tag-grid span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 750;
}

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

.card-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.card-grid article {
  padding: 24px;
}

.service-card-muted {
  background: #f7f4ec;
}

.price {
  color: var(--accent-dark);
  font-size: 1.05rem;
  font-weight: 850;
}

.price-large {
  font-size: 1.35rem;
}

.stack > * + * {
  margin-top: 16px;
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--highlight);
  background: #fff8e8;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid article {
  padding: 22px;
  border-top: 4px solid var(--accent);
  background: var(--surface);
}

.step-grid span {
  color: var(--accent-dark);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b9c8c5;
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--accent-soft);
  border-color: var(--accent);
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 850;
}

.site-footer {
  padding: 28px 0;
  background: var(--text);
  color: #ffffff;
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.thank-you {
  min-height: calc(100vh - 72px);
}

.next-box {
  margin: 28px 0;
  padding: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .nav-toggle span[aria-hidden="true"],
  .nav-toggle span[aria-hidden="true"]::before,
  .nav-toggle span[aria-hidden="true"]::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    content: "";
  }

  .nav-toggle span[aria-hidden="true"]::before {
    transform: translateY(-6px);
  }

  .nav-toggle span[aria-hidden="true"]::after {
    transform: translateY(4px);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open,
  .site-nav-static {
    display: flex;
  }

  .site-nav-static {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .button-row,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .card-grid,
  .card-grid.compact,
  .step-grid {
    grid-template-columns: 1fr;
  }
}
