:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5d6a64;
  --line: #d9e1dc;
  --paper: #fbfcf9;
  --soft: #eef5f1;
  --green: #0d6b52;
  --green-dark: #084635;
  --green-soft: #dff1ea;
  --coral: #e86f55;
  --yellow: #f4c95d;
  --blue: #305f9f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

section,
div,
article,
p,
h1,
h2,
h3 {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 99;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  padding: 10px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 225, 220, 0.84);
  background: rgba(251, 252, 249, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.button,
.nav a {
  font-weight: 750;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(13, 107, 82, 0.22);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-cta:hover {
  background: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  isolation: isolate;
}

.compact-hero {
  min-height: 720px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(5, 28, 22, 0.91), rgba(6, 32, 25, 0.42)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=82")
      center / cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 32, 25, 0.12), rgba(6, 32, 25, 0.36)),
    radial-gradient(circle at 18% 22%, rgba(244, 201, 93, 0.24), transparent 28%);
}

.hero-content {
  width: calc(100% - 36px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 10vh, 118px) 0 48px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.7vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 52px;
}

.button {
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(244, 201, 93, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(3, 22, 17, 0.28);
}

.hero-metrics dt {
  font-size: 1.6rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  width: 100%;
  padding: clamp(78px, 10vw, 128px) max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(8, 70, 53, 0.98), rgba(13, 107, 82, 0.92)),
    radial-gradient(circle at 78% 12%, rgba(244, 201, 93, 0.32), transparent 34%);
  color: var(--white);
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.section {
  width: calc(100% - 36px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.band {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(238, 245, 241, 0.98), rgba(251, 252, 249, 0.94));
}

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

.section-heading h2,
.ai-panel h2,
.request-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.steps,
.solution-grid,
.pricing-grid,
.compare-grid,
.vertical-grid,
.ad-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

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

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

.steps article,
.card,
.price-card,
.compare-grid article,
.cases article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 33, 28, 0.03);
}

.steps article {
  padding: 22px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.steps article:hover,
.card:hover,
.compare-grid article:hover,
.vertical-grid a:hover {
  border-color: rgba(13, 107, 82, 0.28);
  box-shadow: 0 18px 40px rgba(23, 33, 28, 0.08);
  transform: translateY(-2px);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
}

.steps h3,
.card h3,
.compare-grid h3,
.internal-flow h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.steps p,
.card p,
.price-card p,
.compare-grid p,
.cases p,
.request-copy p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

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

.card,
.price-card,
.compare-grid article {
  padding: 26px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cases-section {
  padding-top: 22px;
}

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

.cases article {
  padding: 22px;
}

.cases strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.segments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.segments span,
.vertical-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
}

.segments span {
  padding: 12px 14px;
}

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

.price-card.featured {
  border-color: rgba(13, 107, 82, 0.5);
  box-shadow: var(--shadow);
}

.price-label {
  color: var(--coral);
  font-weight: 850;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.ai-section {
  padding-top: 0;
}

.ai-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.ai-panel p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.compare {
  padding-top: 0;
}

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

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

.vertical-grid a {
  min-height: 88px;
  padding: 18px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

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

.ad-grid p {
  margin: 0;
  padding: 22px;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

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

.resource-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 33, 28, 0.03);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.resource-card:hover {
  border-color: rgba(13, 107, 82, 0.28);
  box-shadow: 0 18px 40px rgba(23, 33, 28, 0.08);
  transform: translateY(-2px);
}

.resource-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.resource-card h3 a {
  color: var(--ink);
}

.resource-card h3 a:hover {
  color: var(--green);
}

.resource-section + .resource-section {
  padding-top: 0;
}

.resource-section .section-heading {
  margin-bottom: 24px;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.resource-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-linkout {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-linkout a {
  color: var(--green);
  font-weight: 600;
}

.resource-tag {
  margin: 0;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.request-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  scroll-margin-top: 96px;
}

.request-copy {
  position: sticky;
  top: 104px;
}

.request-copy > p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.internal-flow {
  margin-top: 28px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.internal-flow ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 12px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(13, 107, 82, 0.16);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

fieldset legend {
  padding: 0 6px;
}

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.check input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.privacy-check,
.marketing-check {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.privacy-check a,
.legal-page a {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.turnstile-box {
  min-height: 72px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.turnstile-box[hidden] {
  display: none;
}

.submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(13, 107, 82, 0.22);
}

.submit:hover {
  background: var(--green-dark);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-note.success {
  padding: 12px;
  border-radius: 8px;
  background: #e8f6ef;
  color: var(--green-dark);
}

.form-note.error {
  padding: 12px;
  border-radius: 8px;
  background: #fff0ec;
  color: #9b2f1d;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.faq {
  padding-top: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: var(--yellow);
  font-weight: 800;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.legal-links a {
  color: var(--yellow);
}

.legal-page {
  width: calc(100% - 36px);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.legal-page > p:first-of-type {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  line-height: 1.06;
}

.legal-page section {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 33, 28, 0.03);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-page h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-page p,
.legal-page ul {
  margin-bottom: 0;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-summary {
  display: grid;
  gap: 14px;
  margin: 0;
}

.legal-summary div {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) 1fr;
  gap: 12px;
}

.legal-summary dt {
  color: var(--ink);
  font-weight: 850;
}

.legal-summary dd {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(23, 33, 28, 0.08);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 12px 4px;
  }

  .nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .steps,
  .three-steps,
  .solution-grid,
  .pricing-grid,
  .compare-grid,
  .vertical-grid,
  .ad-grid,
  .resource-grid,
  .request-section,
  .ai-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .hero {
    min-height: calc(100vh - 66px);
  }

  .compact-hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: 340px;
    padding: 56px 0 42px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(1.95rem, 9vw, 2.42rem);
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .section-heading h2,
  .ai-panel h2,
  .request-copy h2 {
    font-size: 1.68rem;
    line-height: 1.14;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 1rem;
  }

  .hero-metrics,
  .steps,
  .three-steps,
  .solution-grid,
  .pricing-grid,
    .compare-grid,
    .vertical-grid,
    .ad-grid,
    .resource-grid,
    .request-section,
    .ai-panel,
  .intro-grid,
  .cases,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    max-width: 340px;
  }

  .section {
    width: calc(100% - 28px);
    max-width: 1120px;
  }

  .band {
    width: 100%;
    padding-inline: 14px;
  }

  .footer {
    display: grid;
  }

  .page-hero {
    padding: 62px 14px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.08;
  }

  .legal-page {
    width: calc(100% - 28px);
    padding: 46px 0 64px;
  }

  .legal-page section {
    padding: 20px;
  }

  .legal-page h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  .legal-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card,
  .price-card,
  .resource-card,
  .compare-grid article,
  .steps article,
  .request-form {
    padding: 20px;
  }

  .resource-card {
    min-height: auto;
  }
}
