/* Legacy Meds site styles — built exclusively on the Legacy Meds Design System.
   Tokens, fonts and base resets come from ../design-system/styles.css.
   No colors, fonts or radii are defined outside the token set. */
@import url("../design-system/styles.css");

:root {
  /* Legacy aliases so secondary stylesheets (weight-loss.css, legal-pages.css)
     resolve to design-system tokens. Do not use in new code. */
  --color-primary: var(--green-700);
  --color-primary-dark: var(--green-800);
  --color-bg: var(--paper);
  --color-bg-mint: var(--green-50);
  --color-bg-mint-dark: var(--green-200);
  --color-bg-cream: var(--sand);
  --color-card: var(--surface-card);
  --color-text: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-text-muted: var(--text-muted);
  --color-border: var(--border-default);
  --color-accent: var(--green-600);
  --heading-font: var(--font-display);
  --body-font: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

/* ---------- Buttons (design-system Button primitive) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast),
    color var(--dur-fast),
    transform var(--dur-fast);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  height: 36px;
  padding: 0 var(--space-4);
  font-size: var(--fs-body-sm);
}

.btn--md {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: var(--fs-body);
}

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

.btn--primary {
  color: var(--cta-text);
  background: var(--cta-bg);
}

.btn--primary:hover {
  color: var(--cta-text);
  background: var(--cta-bg-hover);
}

.btn--primary:active {
  background: var(--cta-bg-active);
}

.btn--cta {
  box-shadow: var(--shadow-cta);
}

.btn--secondary {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--white);
}

.btn--secondary:hover {
  border-color: var(--ink-400);
  color: var(--text-primary);
  background: var(--ink-50);
}

.btn--ghost {
  color: var(--text-brand);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--text-brand);
  background: var(--surface-tint);
}

.btn--inverse {
  color: var(--green-900);
  background: var(--white);
}

.btn--inverse:hover {
  color: var(--green-900);
  background: var(--green-50);
}

/* ---------- Cards (design-system Card primitive) ---------- */

.card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.card--tint {
  border-color: var(--green-100);
  background: var(--surface-tint);
  box-shadow: none;
}

.card--featured {
  border: 2px solid var(--border-brand);
  box-shadow: var(--shadow-pop);
}

.card--pad-md {
  padding: var(--space-6);
}

.card--pad-lg {
  padding: var(--space-8);
}

/* ---------- Badges (design-system Badge primitive) ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge--brand {
  color: var(--white);
  background: var(--green-700);
}

.badge--savings {
  color: var(--green-800);
  background: var(--green-100);
}

.badge--tint {
  color: var(--green-700);
  background: var(--surface-tint);
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: var(--section-pad-y) 0;
}

.section--compact {
  padding: var(--section-pad-y-sm) 0;
}

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

.overline {
  font-family: var(--font-display);
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-brand);
}

.overline--inverse {
  color: var(--text-inverse-muted);
}

.section-head {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
  text-align: left;
}

.section-head--center {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-h2);
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  text-wrap: pretty;
}

.icon-circle {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--text-brand);
  background: var(--surface-tint);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.check-list svg,
.check-list .lucide {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--green-600);
}

/* ---------- Announcement ---------- */

.announcement {
  display: grid;
  min-height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  text-align: center;
}

.announcement a {
  padding: var(--space-3) var(--space-5);
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-default);
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  height: 72px;
  align-items: center;
  gap: var(--space-8);
}

.brand img {
  width: auto;
  max-height: 26px;
}

.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  gap: var(--space-6);
}

.nav-menu > a:not(.btn) {
  padding: var(--space-2) 2px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-menu > a:not(.btn):hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink-900);
  transition:
    transform var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

/* ---------- Hero ---------- */

.hero {
  padding: var(--space-16) 0 var(--section-pad-y-sm);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-16);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.hero h1 {
  margin: 0;
  font-size: var(--fs-display-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-display-xl);
  line-height: var(--lh-display-xl);
  text-wrap: balance;
}

.hero__sub {
  max-width: 480px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  text-wrap: pretty;
}

.hero__sub strong {
  color: var(--text-primary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-1);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
}

.hero__trust svg,
.hero__trust .lucide {
  width: 18px;
  height: 18px;
  color: var(--green-600);
}

.hero__media {
  position: relative;
}

.hero__photo {
  height: 460px;
  border-radius: var(--radius-xl);
  background: url("https://cdn.prod.website-files.com/693b22174ba299858c71295c/693b22174ba299858c7129f4_ATF-Woman-Smile-Phone.jpg")
    center 30% / cover no-repeat;
}

.hero__price-card {
  position: absolute;
  bottom: 28px;
  left: -32px;
  display: flex;
  min-width: 240px;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-pop);
}

.hero__price-card small {
  color: var(--text-muted);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
}

.hero__price-card .lm-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: var(--fw-extrabold);
  line-height: 1;
}

.hero__price-card .lm-price span {
  color: var(--text-muted);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
}

.hero__price-card s {
  color: var(--text-muted);
  font-size: var(--fs-body-sm);
}

/* ---------- Product strip ---------- */

.text-brand {
  color: var(--text-brand);
}

.products__grid {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}

.product-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  text-align: center;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-pop);
}

.product-card__media {
  display: grid;
  height: 240px;
  place-items: center;
  background: var(--surface-tint);
}

.product-card__media img {
  max-height: 200px;
  object-fit: contain;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6);
}

.product-card__price {
  color: var(--text-savings);
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-bold);
}

.product-card h3 {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h4);
}

.product-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
}

.product-card .btn {
  margin-top: var(--space-3);
  min-width: 160px;
}

/* ---------- Support panel ---------- */

.support__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16);
  border-radius: var(--radius-xl);
  background: var(--surface-sand);
}

.support__copy h2 {
  margin: 0 0 var(--space-4);
  max-width: 400px;
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-h2);
  text-wrap: balance;
}

.support__copy p {
  max-width: 440px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.support__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.support__photos img {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.support__photos img:last-child {
  margin-top: var(--space-8);
}

/* ---------- How it works ---------- */

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.how-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.how-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-extrabold);
  color: var(--green-300);
}

.how-card h3 {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-h4);
  line-height: var(--lh-h4);
}

.how-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Compare (price bars) ---------- */

.compare-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compare-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: var(--space-5);
}

.compare-row__label {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: var(--fw-medium);
}

.compare-row--ours .compare-row__label {
  color: var(--text-primary);
  font-weight: var(--fw-bold);
}

.compare-row__track {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compare-row__bar {
  height: 34px;
  min-width: 56px;
  border-radius: var(--radius-sm);
  background: var(--ink-200);
}

.compare-row--ours .compare-row__bar {
  background: var(--green-700);
}

.compare-row__price {
  font-family: var(--font-display);
  font-size: var(--fs-body-lg);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-extrabold);
  color: var(--text-muted);
  white-space: nowrap;
}

.compare-row--ours .compare-row__price {
  color: var(--text-brand);
}

.compare-row__price span {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
}

.compare-card__note {
  color: var(--text-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

/* ---------- Pricing / plan cards ---------- */

.plans__grid {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.plan-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-h3);
}

.plan-card__tagline {
  min-height: 44px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}

.plan-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}

.plan-card__price {
  font-family: var(--font-display);
  font-size: 44px;
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-card__price span {
  color: var(--text-muted);
  font-size: 17px;
  font-weight: var(--fw-medium);
}

.plan-card__terms {
  margin-top: -8px;
  color: var(--text-muted);
  font-size: var(--fs-caption);
}

.plan-card .btn {
  margin-top: auto;
}

.plans__note {
  max-width: 880px;
  margin: var(--space-6) auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.plans__note .icon-circle {
  width: 44px;
  height: 44px;
  background: var(--white);
}

.plans__note h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
}

.plans__note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
}

.plans__note .btn {
  margin-left: auto;
}

.plans__disclaimer {
  max-width: 880px;
  margin: var(--space-6) auto 0;
  color: var(--text-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-align: center;
}

/* ---------- Guarantee ---------- */

.guarantee__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-12) var(--space-16);
}

.guarantee__icon {
  display: grid;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--text-brand);
  background: var(--surface-tint);
}

.guarantee__icon svg,
.guarantee__icon .lucide {
  width: 120px;
  height: 120px;
  stroke-width: 1.5;
}

.guarantee__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.guarantee__copy h2 {
  margin: 0;
  max-width: 480px;
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-h2);
  text-wrap: balance;
}

.guarantee__copy p {
  max-width: 480px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.guarantee__copy .btn {
  margin-top: var(--space-2);
}

/* ---------- Results stats ---------- */

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.result-card strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text-brand);
  font-family: var(--font-display);
  font-size: var(--fs-price);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
}

.result-card h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
}

.result-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
}

.results__disclaimer {
  margin: var(--space-8) auto 0;
  max-width: 880px;
  color: var(--text-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-align: center;
}

/* ---------- Calculator ---------- */

.calculator__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: var(--space-16);
}

.calculator__grid .section-head {
  margin-bottom: var(--space-6);
}

.calc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.calc-card h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
}

.calc-card label {
  color: var(--text-muted);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
}

.calc-card__input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-3);
}

.calc-card__input input {
  width: 130px;
  height: var(--hit-target);
  padding: 0 var(--space-4);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-bold);
  text-align: center;
}

.calc-card__input input:focus-visible {
  border-color: var(--border-brand);
  outline: none;
  box-shadow: var(--focus-ring);
}

.calc-card__input span {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

.calc-card__result {
  color: var(--text-brand);
  font-family: var(--font-display);
  font-size: var(--fs-price-xl);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-extrabold);
  line-height: 1;
}

.calc-card__label {
  margin-bottom: var(--space-5);
  color: var(--text-muted);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
}

/* ---------- Testimonials ---------- */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.testimonial-card .stars {
  margin-bottom: var(--space-3);
  color: var(--green-600);
  font-size: var(--fs-body-lg);
  letter-spacing: 3px;
  line-height: 1;
}

.testimonial-card h3 {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
}

.testimonial-card > span {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--text-savings);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
}

.testimonial-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.testimonials__disclaimer {
  margin: var(--space-8) auto 0;
  max-width: 880px;
  color: var(--text-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-align: center;
}

/* ---------- FAQ (design-system Accordion) ---------- */

.faq-section__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-16);
}

.faq-section__grid .section-head {
  margin-bottom: var(--space-6);
}

.accordion {
  display: flex;
  flex-direction: column;
}

.faq {
  border-bottom: 1px solid var(--border-default);
}

.faq:first-child {
  border-top: 1px solid var(--border-default);
}

.faq-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-1);
  cursor: pointer;
}

.faq-question {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--fw-semibold);
  text-align: left;
}

.faq-toggle:hover .faq-question {
  color: var(--green-800);
}

.faq-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease-out);
}

.faq-chevron::before {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-right: 2.2px solid currentcolor;
  border-bottom: 2.2px solid currentcolor;
  content: "";
  transform: rotate(45deg);
}

.faq.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease-out);
}

.faq.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  max-width: 62ch;
  padding: 0 var(--space-1) var(--space-5);
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.6;
}

.faq-section__more {
  color: var(--link);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.faq-section__more:hover {
  color: var(--link-hover);
}

/* ---------- Final CTA (inverse) ---------- */

.final-cta {
  padding: 88px 0;
  background: var(--surface-inverse);
}

.final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.final-cta h2 {
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  text-wrap: balance;
}

.final-cta p {
  margin: 0;
  color: var(--text-inverse-muted);
  font-size: var(--fs-body-lg);
}

/* ---------- Footer (inverse) ---------- */

.footer {
  padding: 72px 0 40px;
  color: var(--white);
  background: var(--surface-inverse);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.brand--footer {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
}

.footer__brand p {
  max-width: 300px;
  margin: 0;
  color: var(--text-inverse-muted);
  font-size: var(--fs-body-sm);
  line-height: 1.6;
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body-sm);
}

.footer__column h2 {
  margin: 0 0 var(--space-1);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer__column a,
.footer__column address {
  color: var(--text-inverse-muted);
  font-size: var(--fs-body-sm);
  font-style: normal;
  line-height: 1.5;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__column a:hover {
  color: var(--white);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal-links a:hover {
  color: var(--white);
}

.footer__legal i {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero__grid {
    gap: var(--space-10);
  }

  .hero h1 {
    font-size: var(--fs-display);
    letter-spacing: var(--ls-display);
    line-height: var(--lh-display);
  }

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

  .faq-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .calculator__grid {
    grid-template-columns: 1fr 340px;
    gap: var(--space-10);
  }
}

@media (max-width: 820px) {
  .section {
    padding: var(--section-pad-y-sm) 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-6) var(--space-6);
    border-bottom: 1px solid var(--border-default);
    background: var(--paper);
    box-shadow: var(--shadow-pop);
  }

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

  .nav-menu > a:not(.btn) {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-default);
  }

  .nav-actions {
    margin: var(--space-4) 0 0;
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero__photo {
    height: 340px;
  }

  .hero__price-card {
    left: var(--space-4);
    bottom: var(--space-4);
  }

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

  .compare-row {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

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

  .plan-card__tagline {
    min-height: 0;
  }

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

  .plans__note .btn {
    margin-left: 0;
  }

  .guarantee__card {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-8) var(--space-6);
    text-align: center;
  }

  .guarantee__icon {
    width: 150px;
    height: 150px;
  }

  .guarantee__icon svg,
  .guarantee__icon .lucide {
    width: 80px;
    height: 80px;
  }

  .guarantee__copy {
    align-items: center;
  }

  .products__grid {
    max-width: 440px;
    grid-template-columns: 1fr;
  }

  .support__card {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-6);
    text-align: center;
  }

  .support__copy h2,
  .support__copy p {
    max-width: none;
  }

  .support__photos img {
    height: 220px;
  }

  .support__photos img:last-child {
    margin-top: var(--space-5);
  }

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

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

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

@media (max-width: 600px) {
  .hero {
    padding-top: var(--space-10);
  }

  .hero h1 {
    font-size: var(--fs-h1);
    letter-spacing: var(--ls-h1);
    line-height: var(--lh-h1);
  }

  .section-head h2 {
    font-size: var(--fs-h3);
    letter-spacing: var(--ls-h3);
    line-height: var(--lh-h3);
  }

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

  .final-cta h2 {
    font-size: var(--fs-h2);
    letter-spacing: var(--ls-h2);
    line-height: var(--lh-h2);
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
