:root {
  --green: #14834f;
  --green-dark: #0f5f3d;
  --ink: #14211a;
  --muted: #5a6c61;
  --line: #dce8e0;
  --paper: #ffffff;
  --wash: #f4faf6;
  --blue: #1f6fb2;
  --coral: #b74d3b;
  --gold: #a97816;
  --shadow: 0 18px 55px rgba(15, 44, 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;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 1rem;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: white;
  z-index: 30;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 232, 224, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
}

.brand img {
  width: min(230px, 54vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.visually-hidden) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(480px, 62vh, 610px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 44%, rgba(255, 255, 255, 0.32) 61%, rgba(255, 255, 255, 0) 100%),
    url("../current-site/hero-family.png");
  background-repeat: no-repeat;
  background-size: auto min(58vh, 430px);
  background-position: right clamp(1rem, 2vw, 2rem) center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), white 100%);
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 131, 79, 0.06), rgba(31, 111, 178, 0.03) 42%, rgba(183, 77, 59, 0.03));
}

.hero-inner,
.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 1rem 4rem;
}

.eyebrow,
.section-kicker {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 0.2rem;
  font-size: 4.85rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 1rem;
  overflow-wrap: normal;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.hero-subtitle {
  margin-bottom: 1rem;
  color: var(--green-dark);
  font-size: 1.9rem;
  font-weight: 800;
}

.hero-copy {
  width: min(660px, 100%);
  margin-bottom: 1.5rem;
  color: #314139;
  font-size: 1.15rem;
}

.hero-actions,
.contact-section .button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(20, 131, 79, 0.25);
}

.button.secondary {
  color: var(--green-dark);
  background: white;
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(760px, 100%);
  margin: 0;
}

.stats-strip {
  padding: 1.1rem 0 2rem;
  background: linear-gradient(180deg, white 0%, var(--wash) 100%);
}

.hero-stats div,
.release-list div,
.privacy-panel div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-stats div {
  padding: 1rem;
}

.hero-stats dt {
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legacy-band {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.legacy-grid,
.split-grid,
.proof-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.legacy-grid > *,
.split-grid > *,
.proof-grid > *,
.contact-grid > *,
.video-grid > *,
.steps > *,
.feature-grid > *,
.pricing-grid > * {
  min-width: 0;
}

.legacy-photo {
  margin: 0;
  width: min(100%, 460px);
  max-width: 460px;
}

.legacy-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.muted {
  background: var(--wash);
}

.video-section {
  background: #f7fbff;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1511;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.steps,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.steps article,
.feature-card,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 36px rgba(20, 33, 26, 0.06);
}

.steps article {
  padding: 1.1rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-weight: 900;
}

.steps p,
.feature-card p,
.pricing-card li,
.privacy-panel span,
.release-list dd,
.site-footer p {
  color: var(--muted);
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
}

.legal-copy h2 {
  margin-top: 2rem;
  font-size: 1.8rem;
}

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

.feature-card {
  padding: 1.25rem;
}

.feature-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.split-section {
  background: linear-gradient(180deg, white 0%, #fbfdfc 100%);
}

.privacy-panel {
  display: grid;
  gap: 0.85rem;
}

.privacy-panel div {
  padding: 1.1rem;
}

.privacy-panel strong,
.privacy-panel span {
  display: block;
}

.privacy-panel strong {
  margin-bottom: 0.25rem;
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.pricing-card {
  position: relative;
  padding: 1.5rem;
}

.pricing-card.featured {
  border-color: rgba(20, 131, 79, 0.35);
  box-shadow: 0 18px 50px rgba(20, 131, 79, 0.16);
}

.plan-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.price {
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 900;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.pricing-card li + li {
  margin-top: 0.55rem;
}

.proof-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.release-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.release-list div {
  padding: 1rem;
}

.release-list dt {
  font-weight: 900;
}

.release-list dd {
  margin: 0.25rem 0 0;
}

.contact-section {
  background: #fffaf4;
}

.contact-grid {
  grid-template-columns: 1fr;
}

.support-note {
  margin: 1rem 0 0;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--ink);
  color: white;
}

.footer-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
  display: grid;
  gap: 1.2rem;
}

.footer-inner img {
  width: 210px;
  filter: brightness(1.12);
}

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

.footer-inner a {
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #baf2cf;
}

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

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 13px;
    right: auto;
    left: min(330px, calc(100vw - 60px));
    flex: 0 0 44px;
    margin-left: 0;
    z-index: 40;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .site-nav.policy-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .hero {
    min-height: auto;
    background-size: 220px auto;
    background-position: right 1rem top 6rem;
  }

  .hero-inner {
    padding-top: 12rem;
  }

  .hero-stats,
  .steps,
  .feature-grid,
  .pricing-grid,
  .video-grid,
  .legacy-grid,
  .split-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .legal-copy h1 {
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    max-width: 100vw;
  }

  .brand img {
    width: min(190px, 56vw);
  }

  .hero {
    background-size: 180px auto;
    background-position: right 1rem top 5.2rem;
  }

  .hero-inner {
    padding-top: 10.5rem;
    padding-right: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 20.5rem;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    max-width: 20.5rem;
  }

  .hero-stats div {
    padding: 0.85rem;
  }

  h1 {
    max-width: 20.5rem;
    font-size: 2.25rem;
    line-height: 1;
  }

  h2 {
    max-width: 20.5rem;
    font-size: 1.65rem;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    max-width: 17rem;
    font-size: 1.28rem;
  }

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

  .section p,
  .legacy-grid h2,
  .legacy-grid p,
  .video-grid h2,
  .video-grid p,
  .split-grid h2,
  .split-grid p,
  .proof-grid h2,
  .proof-grid p,
  .contact-grid h2,
  .contact-grid p {
    max-width: 20.5rem;
  }

  .legal-copy h1 {
    font-size: 2.35rem;
  }

  .legal-copy h2 {
    font-size: 1.35rem;
  }
}
