:root {
  --blue: #16382C;
  --blue-dark: #0E2820;
  --blue-soft: #E5F0E8;
  --orange: #E6A317;
  --orange-dark: #C98E10;
  --green: #2E6B45;
  --ink: #16382C;
  --muted: #3E5348;
  --cream: #F3EEE6;
  --paper: #FFFCF7;
  --line: #DDD4C6;
  --sun: #E6A317;
  --sun-ink: #16382C;
}

body {
  background: var(--cream);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: 84px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
}

.logo-slot {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: 52px;
}

.logo-slot img,
.cert-slot img,
.media-slot img {
  display: block;
}

.logo-slot.is-empty img,
.cert-slot.is-empty img,
.media-slot.is-empty img {
  display: none !important;
}

.logo-slot img {
  width: auto;
  height: 52px;
  max-width: 230px;
  object-fit: contain;
  object-position: left center;
}

.logo-slot__fallback,
.cert-slot__fallback,
.media-slot__label {
  display: none;
}

.logo-slot.is-empty .logo-slot__fallback,
.cert-slot.is-empty .cert-slot__fallback {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--green);
  border-radius: 4px;
  color: var(--green);
  background: #F4F8F4;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  overflow: hidden;
}

.cert-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-slot {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: 58px;
}

.cert-slot img {
  width: auto;
  height: 58px;
  max-width: 220px;
  object-fit: contain;
}

.hero {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  padding: 48px 0 36px;
  background: transparent;
  box-sizing: border-box;
}

.hero::after {
  display: none;
}

.hero__heading {
  max-width: 980px;
  margin-bottom: 12px;
}

.hero__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero__local {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px 36px;
  align-items: stretch;
}

.hero__copy {
  color: var(--ink);
  max-width: none;
  margin: 0;
}

.hero__hook {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.args {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.arg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.arg__icon {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #E3EFE6;
  color: var(--green);
}

.arg__icon svg {
  display: block;
}

.arg__text {
  padding-top: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.media-slot {
  position: relative;
  margin: 18px 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  background: #E7E0D4;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot.is-empty .media-slot__label {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

.form-card {
  border: 1px solid #D5CBBA;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(22, 56, 44, 0.1);
  scroll-margin-top: 8px;
}

.form-card__title {
  padding: 14px 18px 0;
  font-size: 1.05rem;
}

.lf-affix {
  position: relative;
}

.lf-affix .lf-field {
  margin-bottom: 0;
  padding-right: 5.6rem;
}

.lf-affix__suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.btn {
  min-height: 48px;
  border-radius: 8px;
  background: var(--sun);
  color: var(--sun-ink);
  font-size: 1rem;
  box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
  background: var(--orange-dark);
  color: var(--sun-ink);
  transform: none;
  box-shadow: none;
}

.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.section-cta {
  margin: 28px 0 0;
  text-align: center;
}

.steps {
  padding: 36px 0 48px;
}

.steps .section-title,
.benefits .section-title,
.how .section-title {
  color: var(--ink);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: #C5D7CB;
}

.timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.timeline__icon {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--green);
  place-items: center;
}

.timeline__item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.steps-photo {
  max-width: 640px;
  margin: 22px auto 0;
}

html.js-anim .timeline__item {
  opacity: 0;
  transform: translateY(8px);
}

html.js-anim .timeline__item.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js-anim .timeline__item:nth-child(2).is-visible { transition-delay: 0.08s; }
html.js-anim .timeline__item:nth-child(3).is-visible { transition-delay: 0.16s; }
html.js-anim .timeline__item:nth-child(4).is-visible { transition-delay: 0.24s; }

.benefit-card p,
.how__copy > p,
.check-list li,
.footer__cta p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer__identity {
  min-width: 0;
}

.footer__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer .cert-slot {
  width: auto;
  height: 58px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.footer .cert-slot img {
  width: auto;
  height: 46px;
  max-width: 200px;
}

.footer .cert-slot.is-empty .cert-slot__fallback {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--blue-soft);
  color: var(--ink);
}

.sticky-cta {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 238, 230, 0.96);
  box-shadow: 0 -6px 18px rgba(22, 56, 44, 0.12);
}

.sticky-cta .btn {
  width: 100%;
}

.sticky-cta[hidden] {
  display: none !important;
}

body.has-sticky-cta {
  padding-bottom: 76px;
}

@media (max-width: 959px) {
  .hero {
    padding: 32px 0 24px;
  }

  .hero__heading {
    margin-bottom: 0;
  }

  .hero__title {
    font-size: 1.0625rem;
    line-height: 1.2;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .hero__main {
    display: contents;
  }

  .hero__heading {
    order: 1;
  }

  .form-card {
    order: 2;
    width: 100%;
    height: auto;
  }

  .hero__copy {
    order: 3;
  }
}

@media (max-height: 940px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 20px;
  }

  .form-card__title {
    padding: 8px 14px 0;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .form-card__title strong,
  .form-card__title span {
    display: inline;
    font-size: inherit;
  }

  .form-card__title span {
    margin-left: 0.35em;
  }

  .form-card .lf-intro {
    display: none;
  }

  .form-card .lf-wrapper {
    padding: 8px 14px 10px !important;
  }

  .form-card .lf-gauge {
    margin: 0 0 4px;
  }

  .form-card .lf-step-count {
    margin: 0 0 6px;
    font-size: 0.875rem;
  }

  .form-card .lf-question {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .form-card .lf-options {
    gap: 6px;
  }

  .form-card .lf-option {
    min-height: 40px;
    padding: 8px 36px 8px 12px;
    font-size: 1rem;
  }

  .form-card .lf-field {
    min-height: 42px;
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 1rem;
  }

  .form-card .lf-nav {
    margin-top: 6px;
  }

  .form-card .lf-back,
  .form-card .lf-next,
  .form-card .lf-submit,
  .form-card .lf-restart {
    font-size: 1rem;
  }

  .form-card .lf-next,
  .form-card .lf-submit,
  .form-card .lf-restart {
    min-height: 40px;
  }

  .form-card .lf-error {
    min-height: 1.35em;
    margin: 4px 0 0;
    font-size: 1rem;
  }

  .form-card .lf-assurance {
    margin: 6px 0 0;
    padding-top: 6px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .form-card .lf-contact-note {
    margin: 6px 0 0;
    font-size: 1rem;
    line-height: 1.35;
  }

  .form-card .lf-ineligible,
  .form-card .lf-success {
    padding: 8px 0 4px;
  }

  .form-card .lf-ineligible-icon,
  .form-card .lf-success-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .form-card .lf-ineligible p,
  .form-card .lf-success p {
    margin-bottom: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 20px, 1160px);
  }

  .site-header__inner {
    min-height: 0;
    padding: 12px 0;
  }

  .logo-slot,
  .logo-slot img {
    height: 44px;
  }

  .cert-slot,
  .cert-slot img {
    height: 42px;
    max-width: 148px;
  }

  .hero__local {
    font-size: 1rem;
  }

  .benefit-card h3,
  .timeline__item h3 {
    font-size: 1.0625rem;
  }

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    padding-bottom: 18px;
  }

  .timeline__item::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 16px;
    width: 2px;
    background: #C5D7CB;
  }

  .timeline__item {
    position: relative;
  }

  .timeline__item:last-child::before {
    display: none;
  }

  .timeline__icon,
  .timeline__item h3 {
    grid-column: 2;
  }

  .timeline__marker {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .sticky-cta:not([hidden]) {
    display: block;
  }

  .section {
    padding: 40px 0;
  }

  .steps {
    padding: 28px 0 36px;
  }
}

@media (min-width: 768px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 12px 0 14px;
  }

  .brand {
    font-size: 1rem;
  }

  .cert-logos {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .timeline__item,
  html.js-anim .timeline__item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
