/* ========================================
   HyPro Subscription Page — Main Styles
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark: #1a5632;
  --green-deeper: #0f3d22;
  --green-light: #2d7a4a;
  --green-muted: #e8f0eb;
  --cream: #faf8f4;
  --cream-dark: #f0ece4;
  --white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #5a5a5a; /* CQ/FR-028: bumped from #7a7a7a for WCAG AA contrast (4.5:1 on cream) */
  --text-on-dark: #f0ece4;
  --orange-accent: #e8863a;
  --orange-light: #fdf0e6;
  --border: #d4d4d4;
  --border-light: #e8e8e8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Titles ---------- */
.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn--primary:hover {
  background: var(--green-deeper);
  border-color: var(--green-deeper);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn--outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

.btn__icon {
  flex-shrink: 0;
}

/* ========== HERO ========== */
.hero {
  background: var(--green-dark);
  color: var(--text-on-dark);
  padding: 60px 0 36px;
  text-align: center;
}

.hero__logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 16px;
}

.hero__tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(240, 236, 228, 0.7);
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(240, 236, 228, 0.85);
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn--primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.hero .btn--primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.hero .btn--outline {
  color: var(--text-on-dark);
  border-color: rgba(240, 236, 228, 0.5);
}
.hero .btn--outline:hover {
  background: rgba(240, 236, 228, 0.15);
  border-color: var(--text-on-dark);
  color: var(--white);
}

/* ========== WHY HYPRO ========== */
.why {
  --why-row-h: 240px;
  --why-card-h: 180px;
  --why-card-w: 440px;
  padding: 36px 0 72px;
  background: var(--cream);
}

.why__marquee {
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.why__marquee + .why__marquee {
  margin-top: 24px;
}

.why__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.why__track--rtl {
  animation: why-scroll-rtl 40s linear infinite;
}

.why__track--ltr {
  animation: why-scroll-ltr 35s linear infinite;
}

.why__marquee:hover .why__track,
.why--paused .why__track {
  animation-play-state: paused;
}

.why__group {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

@keyframes why-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes why-scroll-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.why__claim {
  flex-shrink: 0;
  width: var(--why-card-w);
  height: var(--why-card-h);
  display: flex;
  flex-direction: row;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.why__claim-img {
  width: var(--why-card-h);
  height: 100%;
  padding: 14px 6px 14px 14px;
  box-sizing: border-box;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: calc(var(--radius) + 8px);
}

.why__claim-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px 14px 12px;
  min-width: 0;
}

.why__proof {
  flex-shrink: 0;
  width: var(--why-row-h);
  height: var(--why-row-h);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

/* Second proof marquee (RTL) is mobile-only — desktop already shows enough at once */
.why__marquee--proof-rev {
  display: none;
}

.why__proof:hover,
.why__proof:focus-visible {
  transform: scale(1.03);
}

.why__proof:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.why__proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.why__lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: visible;
}

.why__lightbox[open] {
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: grid;
  place-items: center;
}

.why__lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.why__lightbox-inner {
  position: relative;
  display: block;
  width: min(90vw, 800px);
  aspect-ratio: var(--meal-aspect, 4 / 3);
  max-height: 90vh;
  border-radius: var(--radius);
}

.why__lightbox-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--cream-dark) 30%,
    var(--cream) 50%,
    var(--cream-dark) 70%
  );
  background-size: 200% 100%;
  animation: why-lightbox-shimmer 1.5s linear infinite;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 80ms ease-in;
  pointer-events: none;
}

.why__lightbox--skeleton .why__lightbox-inner::before {
  opacity: 1;
}

@keyframes why-lightbox-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.why__lightbox picture {
  display: block;
  width: 100%;
  height: 100%;
}

.why__lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.why__lightbox-img--blur {
  filter: blur(20px);
  transform: scale(1.05);
  transition: filter 200ms ease-out;
}

.why__lightbox--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: why-lightbox-spin 0.8s linear infinite;
  pointer-events: none;
}

@keyframes why-lightbox-spin {
  to { transform: rotate(360deg); }
}

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

.why__lightbox-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 16px;
}

.why__lightbox-error[hidden] {
  display: none;
}

.why__lightbox-retry {
  padding: 8px 16px;
  background: var(--white);
  color: var(--text-primary);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font: inherit;
}

.why__lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__lightbox-close:hover,
.why__lightbox-close:focus-visible {
  background: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  .why__track {
    animation: none;
  }
}

.why__claim h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.why__claim p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ========== TRIAL ========== */
.trial__box {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--orange-light);
  border: 2px solid var(--orange-accent);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.trial__content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.trial__content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========== SUBSCRIPTION PLANS ========== */
.plans {
  padding: 36px 0 72px;
  background: var(--white);
}

/* Plans Toggle */
.plans__toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 36px;
  background: var(--cream-dark);
  border-radius: 50px;
  padding: 5px;
  max-width: 420px;
  /* fieldset reset (was a <div> in legacy; now a <fieldset>) */
  border: none;
  min-inline-size: 0;
}

/* CQ-1, FR-005: CSS-only diet toggle. Radios are siblings of plans__group. */
.diet-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

/* Active label visual = same as legacy .plans__toggle-btn--active */
#diet-veg:checked ~ .plans__toggle label[for='diet-veg'],
#diet-nonveg:checked ~ .plans__toggle label[for='diet-nonveg'] {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
#diet-veg:checked ~ .plans__toggle label[for='diet-veg'] .badge,
#diet-nonveg:checked ~ .plans__toggle label[for='diet-nonveg'] .badge {
  border-color: rgba(255, 255, 255, 0.4);
}
#diet-veg:checked ~ .plans__toggle label[for='diet-veg'] .badge--veg {
  background: #5cb876;
  border-color: #5cb876;
}
#diet-nonveg:checked ~ .plans__toggle label[for='diet-nonveg'] .badge--nonveg {
  background: #e07060;
  border-color: #e07060;
}

/* Group visibility */
#diet-veg:checked ~ .plans__group--veg {
  display: block;
}
#diet-veg:checked ~ .plans__group--nonveg {
  display: none;
}
#diet-nonveg:checked ~ .plans__group--veg {
  display: none;
}
#diet-nonveg:checked ~ .plans__group--nonveg {
  display: block;
}

/* Keyboard focus on labels when radio is focused */
.diet-radio:focus-visible ~ .plans__toggle label[for='diet-veg'],
.diet-radio:focus-visible ~ .plans__toggle label[for='diet-nonveg'] {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

.plans__toggle-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.plans__toggle-btn:hover {
  color: var(--text-primary);
}

.plans__toggle-btn--active {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.plans__toggle-btn--active .badge {
  border-color: rgba(255,255,255,0.4);
}

.plans__toggle-btn--active .badge--veg {
  background: #5cb876;
  border-color: #5cb876;
}

.plans__toggle-btn--active .badge--nonveg {
  background: #e07060;
  border-color: #e07060;
}

.plans__category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.plans__category-label:first-of-type {
  margin-top: 0;
}

.badge {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  border: 2px solid;
}
.badge--veg {
  border-color: #2d7a4a;
  background: #2d7a4a;
}
.badge--nonveg {
  border-color: #b33a2a;
  background: #b33a2a;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.plan-card {
  background: var(--cream);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan-card:hover {
  border-color: var(--green-dark);
  box-shadow: var(--shadow-md);
}

.plan-card--highlight {
  border-color: var(--green-dark);
}

/* CQ-1: CSS :has() replaces the legacy JS hover-highlight logic.
   When ANY card in the grid is hovered, suppress the default highlight on cards
   that aren't hovered. Hovered card gets the green border + shadow. */
.plans__grid:has(.plan-card:hover) .plan-card--highlight:not(:hover) {
  border-color: var(--border-light);
  box-shadow: none;
}

.plan-card--best {
  background: var(--green-muted);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-card--best .plan-card__badge {
  background: var(--orange-accent);
}

.plan-card__duration {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.plan-card__type {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-card__price {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.plan-card__amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
}

.plan-card__per {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-card__features {
  flex: 1;
  margin-bottom: 24px;
}

.plan-card__features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 22px;
}

.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.feature--bonus {
  color: var(--orange-accent) !important;
  font-weight: 600;
}
.feature--bonus::before {
  content: '★' !important;
  color: var(--orange-accent) !important;
}

/* ========== HOW IT WORKS ========== */
.how {
  padding: 36px 0 72px;
  background: var(--cream);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.how__step {
  text-align: center;
  padding: 24px;
}

.how__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.how__step h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.how__step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ========== NUTRITION ========== */
.nutrition {
  padding: 36px 0 72px;
  background: var(--white);
}

.nutrition__card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  margin: 40px auto 0;
}

.nutrition__image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.nutrition__row {
  display: flex;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.nutrition__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  min-width: 110px;
}

.nutrition__dots {
  flex: 1;
  border-bottom: 2px dotted var(--border);
  margin: 0 12px;
  position: relative;
  top: -4px;
}

.nutrition__value {
  font-size: 0.95rem;
  color: var(--green-dark);
  font-weight: 500;
  text-align: right;
}

.nutrition__note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.nutrition__footnote {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ========== DELIVERY ========== */
.delivery {
  padding: 36px 0 72px;
  background: var(--cream);
  text-align: center;
}

.delivery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.delivery__zone {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.delivery__zone h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.delivery__zone p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.delivery__schedule {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.delivery__expand {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.delivery__expand a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 36px 0 72px;
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card--placeholder {
  border-style: dashed;
  border-color: var(--border);
}

.testimonial-card__placeholder-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.testimonials__follow {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.testimonials__follow a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== FAQ ========== */
.faq {
  padding: 36px 0 72px;
  background: var(--cream);
}

.faq__list {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
}

.faq__item summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green-dark);
  font-weight: 300;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  padding: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== CTA ========== */
.cta {
  padding: 36px 0 72px;
  background: var(--green-dark);
  color: var(--text-on-dark);
  text-align: center;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.cta p {
  font-size: 1.05rem;
  color: rgba(240, 236, 228, 0.85);
  margin-bottom: 32px;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta .btn--primary {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.cta .btn--primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.cta .btn--outline {
  color: var(--text-on-dark);
  border-color: rgba(240, 236, 228, 0.5);
}
.cta .btn--outline:hover {
  background: rgba(240, 236, 228, 0.15);
  border-color: var(--text-on-dark);
}

.cta__phone {
  font-size: 0.9rem;
  color: rgba(240, 236, 228, 0.7);
  margin-top: 8px;
}

.cta__phone a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0;
  background: var(--green-deeper);
  color: rgba(240, 236, 228, 0.6);
  text-align: center;
  font-size: 0.85rem;
}

.footer__logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 8px;
  opacity: 0.9;
}

.footer p {
  margin-bottom: 4px;
}

.footer__legal {
  margin-top: 8px;
  display: inline-flex;
  gap: 6px;
  font-size: 0.8rem;
}
.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(240, 236, 228, 0.85);
}
.footer__legal a:hover {
  color: var(--white);
}

.footer__fssai {
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(240, 236, 228, 0.5);
}

.footer__copy {
  margin-top: 12px;
  font-size: 0.8rem;
}

/* ========== LEGAL / CONTENT PAGES ========== */
.legal {
  padding: 60px 0 72px;
  background: var(--cream);
  min-height: 70vh;
}

.legal .container {
  max-width: 720px;
}

.legal h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.legal ul {
  margin: 0 0 14px 20px;
}

.legal ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.legal a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.legal__back {
  margin-top: 48px;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 24px;
  }

  .hero__headline {
    font-size: 1.75rem;
  }

  .hero__logo {
    width: 110px;
    height: 110px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .why {
    --why-row-h: 200px;
    --why-card-h: 160px;
    --why-card-w: 380px;
  }

  .why__track--rtl {
    animation-duration: 28s;
  }

  .why__track--ltr {
    animation-duration: 24s;
  }

  .why__marquee--proof-rev {
    display: block;
  }

  /* Partition meals across the two mobile proof rows so the same image doesn't
     appear in both. Hiding the same indices in both groups (visible + clone)
     keeps the seamless loop intact — track width and the -50% translate stay
     in sync. */
  .why__marquee--proof:not(.why__marquee--proof-rev) .why__proof:nth-child(odd) {
    display: none;
  }
  .why__marquee--proof-rev .why__proof:nth-child(even) {
    display: none;
  }

  /* Claims marquee → static vertical stack on phone & tablet portrait.
     Proof marquee continues to auto-scroll. */
  .why__marquee--claims {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0 24px;
  }

  .why__marquee--claims .why__track {
    animation: none;
    flex-direction: column;
    width: 100%;
    transform: none;
  }

  .why__marquee--claims .why__group {
    flex-direction: column;
    width: 100%;
    padding-right: 0;
  }

  .why__marquee--claims .why__group[aria-hidden="true"] {
    display: none;
  }

  .why__marquee--claims .why__claim {
    width: 100%;
  }

  .trial__box {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

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

  .plan-card {
    padding: 28px 20px 24px;
  }

  .how__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nutrition__card {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .nutrition__image {
    max-width: 240px;
    margin: 0 auto;
  }

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

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

  .cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__headline {
    font-size: 1.5rem;
  }

  .why {
    --why-row-h: 180px;
    --why-card-h: 140px;
    --why-card-w: 320px;
  }

  .why__marquee--claims {
    padding: 0 16px;
  }

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

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}
