:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-alt: #f7f7f1;
  --surface-soft: #eef5ec;
  --surface-warm: #fff5e9;
  --text: #193126;
  --text-soft: #5b665f;
  --text-inverse: #f7faf7;
  --border: #d8dfd6;
  --green: #2f7d47;
  --green-dark: #1f5b33;
  --green-soft: #dff0e2;
  --orange: #f39a38;
  --orange-dark: #d97f1d;
  --yellow: #f3c451;
  --danger: #b3261e;
  --success: #13795b;
  --shadow-lg: 0 22px 50px rgba(19, 49, 38, 0.12);
  --shadow-md: 0 14px 30px rgba(19, 49, 38, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "SF Pro Display", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(243, 154, 56, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f6f1 0%, #f3f4ef 100%);
  color: var(--text);
  line-height: 1.55;
  padding-bottom: 6rem;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

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

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

.topbar {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: var(--text-inverse);
}

.topbar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.topbar__wrap p {
  color: rgba(247, 250, 247, 0.9);
  font-size: 0.92rem;
}

.topbar__cta {
  flex-shrink: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.hero {
  padding: 0 0 2.5rem;
}

.hero-shell {
  background:
    radial-gradient(circle at right top, rgba(243, 196, 81, 0.18), transparent 22%),
    linear-gradient(145deg, var(--green) 0%, #3d9356 45%, #54aa65 100%);
  color: var(--text-inverse);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-shell__content {
  padding: 1.2rem 1rem 0;
}

.hero-shell__content--compact {
  padding-bottom: 1.15rem;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  width: clamp(132px, 36vw, 188px);
  height: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.25rem 0 1.75rem;
}

.hero-copy {
  max-width: 44rem;
}

.section-lead {
  max-width: 60ch;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff8de;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.95rem;
}

h1,
h2 {
  margin: 0;
  line-height: 1.03;
}

h1 {
  font-size: clamp(2.2rem, 9vw, 4.7rem);
  max-width: 12ch;
  color: #fff;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  max-width: 24ch;
  color: var(--text);
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--text);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
}

.hero-support {
  margin-top: 0.8rem;
  max-width: 58ch;
  color: rgba(247, 250, 247, 0.88);
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  min-height: 3rem;
  opacity: 0.92;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
.topbar__cta:focus-visible {
  outline: 3px solid rgba(243, 196, 81, 0.45);
  outline-offset: 2px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: 0 14px 30px rgba(47, 125, 71, 0.26);
}

.button--accent {
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 14px 30px rgba(243, 154, 56, 0.28);
}

.button--full {
  width: 100%;
}

.button[disabled] {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.hero-points,
.mini-checks,
.benefits-list,
.feature-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.hero-points li,
.mini-checks li,
.benefits-list li,
.feature-list li,
.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.hero-points li,
.mini-checks li {
  color: #fff;
}

.hero-points--inline {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 1.1rem;
}

.benefits-list li,
.feature-list li,
.check-list li {
  color: var(--text);
}

.hero-points li::before,
.mini-checks li::before,
.benefits-list li::before,
.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.hero-points li::before,
.mini-checks li::before {
  background: linear-gradient(180deg, var(--yellow), #ffe6a2);
}

.benefits-list li::before,
.feature-list li::before,
.check-list li::before {
  background: linear-gradient(180deg, var(--green), #53b56d);
}

.hero-sidecard {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.hero-sidecard__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
}

.hero-sidecard__header strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  color: #fff;
}

.hero-sidecard__header p {
  color: rgba(247, 250, 247, 0.86);
}

.program-badge {
  width: 80px;
  height: auto;
}

.hero-visual {
  display: grid;
  gap: 0;
}

.hero-media {
  margin: 0;
  min-height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.section {
  padding: 3.5rem 0;
}

.section--bridge {
  padding-top: 2rem;
}

.section--overlap {
  margin-top: -0.8rem;
}

.section--light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
}

.section--contrast {
  background: linear-gradient(180deg, rgba(47, 125, 71, 0.08), rgba(47, 125, 71, 0.02));
}

.section--warm {
  background: linear-gradient(180deg, rgba(243, 154, 56, 0.08), rgba(243, 154, 56, 0.02));
}

.section--accent {
  background: linear-gradient(180deg, rgba(243, 196, 81, 0.14), rgba(243, 196, 81, 0.05));
}

.section-heading {
  margin-bottom: 1.35rem;
}

.section-heading--wide h2 {
  max-width: 16ch;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading p + p {
  margin-top: 0.7rem;
}

.section-card,
.two-column-card,
.form-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 223, 214, 0.95);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

.section-card,
.two-column-card,
.form-card {
  padding: 1.4rem;
}

.section-card--feature {
  background: linear-gradient(180deg, #fff 0%, #f8fbf7 100%);
}

.text-stack,
.process-grid,
.benefit-cards,
.gallery,
.objection-grid,
.urgency-grid,
.lead-form,
.privacy-strip {
  display: grid;
  gap: 1rem;
}

.process-grid {
  margin-top: 1.3rem;
}

.process-card {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.process-card__number {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 800;
}

.benefit-cards {
  margin: 1.4rem 0;
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.benefit-card span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green), #53b56d);
  margin-top: 0.35rem;
}

.benefit-card p {
  color: var(--text);
  font-weight: 700;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(19, 49, 38, 0.08);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem;
  font-weight: 600;
  color: var(--text);
}

.feature-list {
  margin-top: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.objection-panel {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(19, 49, 38, 0.08);
  align-self: start;
}

.objection-panel strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.two-column-card {
  display: grid;
  gap: 1.25rem;
}

.content-column {
  max-width: 39rem;
}

.section--form {
  padding-bottom: 2rem;
}

.form-card {
  background: linear-gradient(180deg, #fff 0%, #f7fbf7 100%);
}

.privacy-strip {
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8faf7, #eef5ec);
  border: 1px solid var(--border);
}

.privacy-strip p {
  color: var(--text);
  font-weight: 600;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 800;
  color: var(--text);
}

.field input {
  min-height: 3.65rem;
  padding: 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
}

.field input::placeholder {
  color: #7a857d;
}

.field-error {
  min-height: 1rem;
  color: var(--danger);
}

.form-feedback {
  min-height: 1.5rem;
  font-weight: 700;
}

.form-feedback.is-success {
  color: var(--success);
}

.form-feedback.is-error {
  color: var(--danger);
}

.footer {
  padding: 1rem 0 6.8rem;
}

.footer__wrap {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 244, 238, 0), rgba(246, 244, 238, 0.96) 34%);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.sticky-cta.is-idle {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.sticky-cta__inner {
  display: grid;
  gap: 0.55rem;
  max-width: 26rem;
  margin: 0 auto;
  padding: 0.7rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 223, 214, 0.95);
  box-shadow: var(--shadow-md);
}

.sticky-cta__inner p {
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .topbar__wrap {
    padding: 0.9rem 0;
  }

  .hero-shell {
    border-radius: 0 0 40px 40px;
  }

  .hero-shell__content {
    padding: 1.3rem 1.5rem 0;
  }

  .hero-grid,
  .two-column-card,
  .form-card {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
  }

  .hero-points--inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

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

  .urgency-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
    margin-bottom: 1.2rem;
  }

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

  .gallery {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    align-items: stretch;
  }

  .gallery-card--featured {
    grid-row: span 2;
  }

  .gallery-card--featured img {
    height: calc(100% - 62px);
  }

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

  .benefits-list--compact {
    margin-top: 0.15rem;
  }

  .two-column-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.75rem;
  }

  .form-card {
    gap: 2rem;
    align-items: start;
  }

  .sticky-cta {
    display: none;
  }

  .footer {
    padding-bottom: 2rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-bottom: 3rem;
  }

  .hero-shell__content,
  .section-card,
  .two-column-card,
  .form-card {
    padding: 2rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-sidecard {
    padding: 1.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .section-heading--wide h2 {
    max-width: 18ch;
  }

  .content-column h2 {
    max-width: 14ch;
  }

}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .topbar__wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__cta {
    width: 100%;
    text-align: center;
  }

  .hero-shell {
    border-radius: 0 0 28px 28px;
  }

  .hero-shell__content {
    padding: 1rem 1rem 0;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(1.95rem, 8vw, 2.45rem);
    text-wrap: pretty;
  }

  .section-heading--wide h2,
  .content-column h2 {
    max-width: 12ch;
  }

  .section-heading {
    margin-bottom: 1.1rem;
  }

  .hero-badge {
    font-size: 0.74rem;
  }

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

  .hero-link {
    min-height: 2.5rem;
  }

  .hero-points--inline {
    gap: 0.65rem;
  }

  .hero-sidecard {
    padding: 0.95rem;
  }

  .hero-sidecard__header {
    gap: 0.7rem;
  }

  .hero-media img {
    min-height: 240px;
  }

  .section--bridge {
    padding-top: 1.5rem;
  }

  .section--overlap {
    margin-top: 0;
  }

  .section-card,
  .two-column-card,
  .form-card {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .process-grid,
  .benefit-cards,
  .urgency-grid {
    gap: 0.85rem;
  }

  .objection-panel {
    padding: 1rem;
  }

  .feature-list,
  .benefits-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .privacy-strip {
    padding: 0.85rem;
    gap: 0.45rem;
  }

  .field input {
    min-height: 3.4rem;
  }

  .sticky-cta {
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  }

  .sticky-cta__inner {
    max-width: 100%;
    padding: 0.6rem;
    border-radius: 18px;
  }

  .sticky-cta__inner p {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
