/* ============================================================
   SITE.CSS — Lil' Noms marketing site
   All colors/spacing via tokens.css variables only.
   ============================================================ */

/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-card);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  min-height: 64px;
}

.brand {
  flex-shrink: 0;
  text-decoration: none;
}

.brand__logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  flex-shrink: 0;
}

.site-header__cta .btn {
  font-size: 0.875rem;
  min-height: 38px;
  padding: 8px 18px;
}

.site-header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--ink);
  padding: var(--s-xs);
  line-height: 1;
  border-radius: var(--r-sm);
  transition: color 0.15s ease;
}

.site-header__burger:hover {
  color: var(--navy);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */

.section--cream {
  background-color: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-3xl);
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: var(--s-md);
}

.section-header p {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 56ch;
  margin-inline: auto;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  padding-block: clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  background-color: var(--sunshine-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-lg);
}

.hero__heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-lg);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: var(--s-2xl);
  line-height: 1.65;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-bottom: var(--s-2xl);
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-sm);
}

.hero__trust-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink);
}

.hero__trust-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--coral);
  flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 400px;
}

.hero__visual-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 60% 40%, var(--sunshine-soft) 0%, var(--cream) 70%);
  z-index: 0;
}

.hero__baby-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  width: 85%;
  max-width: 380px;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-raised);
}

.hero__mascot {
  position: absolute;
  bottom: -12px;
  right: 0;
  z-index: 2;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(39, 45, 69, 0.15));
  animation: mascot-float 4s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   HOW IT WORKS — FEATURE ROWS
   ============================================================ */

.features {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__screen {
  display: flex;
  justify-content: center;
}

.feature__screen-wrap {
  position: relative;
  display: inline-block;
}

.feature__screen-wrap::before {
  content: '';
  position: absolute;
  inset: -12px -8px;
  background-color: var(--cream-deep);
  border-radius: var(--r-xl);
  z-index: 0;
}

.feature__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised);
  display: block;
}

.feature__text {
  padding: var(--s-lg) 0;
}

.feature__title {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-bottom: var(--s-md);
  color: var(--ink);
}

.feature__intro {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--s-base);
  max-width: none;
}

.feature__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  padding: 0;
  margin: 0;
}

.feature__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}

.feature__bullets li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 8px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================================
   RECIPE SECTION
   ============================================================ */

.filter-bar {
  background-color: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  margin-bottom: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

.filter-group {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 4px;
  min-width: 120px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
}

/* Allergen chip active = excluded = show as crossed/coral */
.chip.js-allergen-chip.is-active {
  background-color: var(--coral);
  border-color: var(--coral);
  color: var(--on-primary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.chip.js-allergen-chip.is-active:hover {
  background-color: #d94f44;
  border-color: #d94f44;
}

/* Recipe grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-lg);
  margin-bottom: var(--s-3xl);
}

/* Recipe card — base.css has tokens, we add visual finish here */
.recipe-card {
  background-color: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
  color: var(--ink);
}

.recipe-card__img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  flex-shrink: 0;
}

.recipe-card__body {
  padding: var(--s-base);
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  flex: 1;
}

.recipe-card__ages {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  margin-bottom: var(--s-xs);
}

.recipe-card__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  flex: 1;
}

.recipe-card__meta {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}

.recipe-card__allergens {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  margin-top: auto;
  padding-top: var(--s-sm);
}

/* Recipe CTA banner */
.recipe-cta {
  background-color: var(--cream-deep);
  border-radius: var(--r-xl);
  padding: var(--s-2xl) var(--s-xl);
}

.recipe-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
  flex-wrap: wrap;
}

.recipe-cta__mascot {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.recipe-cta__inner > div {
  flex: 1;
  min-width: 200px;
}

.recipe-cta__inner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: var(--s-xs);
}

.recipe-cta__inner p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: none;
}

/* ============================================================
   PROOF — TESTIMONIALS
   ============================================================ */

.proof__disclaimer {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: var(--s-sm);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-lg);
  margin-bottom: var(--s-3xl);
}

.testimonial-card {
  background-color: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
  position: relative;
  padding-left: var(--s-lg);
}

.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--sunshine);
  line-height: 1;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
}

.testimonial-card__name {
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--ink);
}

.testimonial-card__source {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background-color: var(--cream);
  border-radius: var(--r-pill);
  padding: 2px 8px;
}

/* Baby photo strip */
.proof__babies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.proof__baby-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: var(--s-3xl);
  padding-bottom: var(--s-xl);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2xl);
  padding-bottom: var(--s-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--s-xl);
}

.site-footer__cols h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--s-md);
}

.site-footer__cols a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: var(--s-sm);
  transition: color 0.15s ease;
}

.site-footer__cols a:hover {
  color: var(--sunshine);
}

.site-footer__base {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ============================================================
   BADGE OVERRIDES (badge from partials)
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6875rem;
  line-height: 1;
}

.badge-age {
  background-color: var(--sunshine-soft);
  color: var(--ink);
  border: 1.5px solid var(--sunshine);
}

.chip-allergen {
  background-color: var(--info-surface);
  color: var(--navy);
  border-color: var(--info-surface);
  font-size: 0.6875rem;
  padding: 2px 8px;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */

@media (max-width: 900px) {
  /* Nav collapses to burger */
  .site-nav,
  .site-header__cta {
    display: none;
  }

  .site-header__burger {
    display: block;
  }

  /* Mobile nav open state */
  .site-header.is-open .site-nav,
  .site-header.is-open .site-header__cta {
    display: flex;
  }

  .site-header.is-open {
    flex-wrap: wrap;
    padding-bottom: var(--s-base);
  }

  .site-header.is-open .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: var(--s-base);
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: var(--s-base) 0 var(--s-sm);
    gap: var(--s-md);
    order: 3;
    border-top: 1px solid var(--border);
  }

  .site-header.is-open .site-header__cta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-bottom: var(--s-sm);
    order: 4;
  }

  /* Hero stacks */
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 280px;
    order: -1;
  }

  .hero__heading {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Features stack */
  .feature {
    grid-template-columns: 1fr;
  }

  .feature--reverse {
    direction: ltr;
  }

  .feature__screen {
    order: -1;
  }

  .feature__img {
    max-width: 220px;
  }

  /* Footer 2-col */
  .site-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Baby photos strip 2-col */
  .proof__babies {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof__babies .proof__baby-img:last-child {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */

@media (max-width: 600px) {
  #hero {
    padding-block: 40px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__trust {
    gap: var(--s-xs);
  }

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

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

  .recipe-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .recipe-cta__inner > div {
    min-width: unset;
  }

  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }

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

  .proof__babies .proof__baby-img:nth-child(2),
  .proof__babies .proof__baby-img:last-child {
    display: none;
  }

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

  .filter-label {
    min-width: unset;
  }
}

/* ============================================================
   RECIPE DETAIL PAGE
   ============================================================ */

.recipe-detail {
  padding-block: var(--s-3xl);
}

.recipe-detail__back {
  display: inline-block;
  margin-bottom: var(--s-lg);
  color: var(--teal);
  font-size: 0.9rem;
  text-decoration: none;
}
.recipe-detail__back:hover {
  text-decoration: underline;
}

/* Hero */
.recipe-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: start;
  margin-bottom: var(--s-3xl);
}

.recipe-detail__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.recipe-detail__title {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: var(--s-sm);
}

.recipe-detail__desc {
  color: var(--ink);
  margin-bottom: var(--s-md);
}

.recipe-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  margin-bottom: var(--s-sm);
}

.recipe-detail__meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--s-sm);
}

.recipe-detail__allergens {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-xs);
  margin-bottom: var(--s-sm);
}

.recipe-detail__no-allergens {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Two-column ingredients/steps */
.recipe-detail__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  margin-bottom: var(--s-3xl);
}

.recipe-detail__ingredients h2,
.recipe-detail__steps h2 {
  color: var(--navy);
  margin-bottom: var(--s-md);
}

.recipe-detail__ingredients ul,
.recipe-detail__steps ol {
  padding-left: var(--s-lg);
  color: var(--ink);
}

.recipe-detail__ingredients li,
.recipe-detail__steps li {
  margin-bottom: var(--s-xs);
  line-height: 1.6;
}

/* Nutrition */
.recipe-detail__nutrition {
  margin-bottom: var(--s-3xl);
}

.recipe-detail__nutrition h2 {
  color: var(--navy);
  margin-bottom: var(--s-md);
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-sm);
  margin: 0;
  padding: var(--s-lg);
  background-color: var(--cream);
  border-radius: var(--r-lg);
}

.nutrition-grid__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nutrition-grid__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nutrition-grid__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.nutrition-grid__unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.nutrition-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Age tips */
.recipe-detail__age-tips {
  margin-bottom: var(--s-3xl);
}

.recipe-detail__age-tips h2 {
  color: var(--navy);
  margin-bottom: var(--s-md);
}

.age-tip-block {
  background-color: var(--cream-deep);
  border-radius: var(--r-lg);
  padding: var(--s-md) var(--s-lg);
  margin-bottom: var(--s-sm);
}

.age-tip-block__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-xs);
}

.age-tip-block__mod {
  color: var(--ink);
  margin-bottom: var(--s-xs);
}

.age-tip-block__choking {
  color: var(--ink);
  font-size: 0.9rem;
  margin: 0;
}

/* CTA block */
.recipe-detail__cta {
  background-color: var(--sunshine-soft);
  border-radius: var(--r-xl);
  padding: var(--s-3xl) var(--s-xl);
  text-align: center;
}

.recipe-detail__cta-heading {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: var(--s-sm);
}

.recipe-detail__cta-body {
  color: var(--ink);
  max-width: 480px;
  margin: 0 auto var(--s-lg);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .recipe-detail__hero {
    grid-template-columns: 1fr;
  }

  .recipe-detail__cols {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .nutrition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-detail__cta {
    padding: var(--s-xl) var(--s-md);
  }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

/* Cycle toggle (pill segmented control) */
.cycle-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--cream-deep);
  border-radius: var(--r-pill);
  padding: var(--s-xs);
  width: fit-content;
  margin: 0 auto var(--s-3xl);
}

.js-cycle-btn {
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: var(--s-sm) var(--s-xl);
  transition: background 0.18s, color 0.18s;
}

.js-cycle-btn.is-active {
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--navy);
}

/* Pricing grid: two columns desktop, stacked mobile */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2xl);
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Plan card */
.plan-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  padding: var(--s-2xl);
  position: relative;
}

.plan-card--best {
  border-color: var(--navy);
  box-shadow: var(--shadow-raised);
}

/* Best value ribbon */
.plan-card__ribbon {
  background: var(--navy);
  border-radius: var(--r-pill);
  color: var(--on-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: var(--s-xs) var(--s-md);
  position: absolute;
  right: var(--s-xl);
  text-transform: uppercase;
  top: var(--s-lg);
}

.plan-card__header {
  padding-top: var(--s-sm);
}

.plan-card__name {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--s-xs);
}

.plan-card__blurb {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Price display */
.price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

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

.price-sub {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: var(--s-xs);
}

/* Feature list with teal checks */
.plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  flex: 1;
}

.plan-card__feature {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  font-size: 0.9rem;
  gap: var(--s-sm);
}

.plan-card__check {
  background-color: var(--teal);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  height: 18px;
  margin-top: 1px;
  position: relative;
  width: 18px;
}

.plan-card__check::after {
  border: 2px solid var(--on-primary);
  border-left: none;
  border-top: none;
  content: '';
  display: block;
  height: 7px;
  left: 5px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 4px;
}

/* Trial badge */
.plan-card__trial-badge {
  background: var(--success-surface);
  border-radius: var(--r-md);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
  padding: var(--s-xs) var(--s-md);
  text-align: center;
  width: fit-content;
}

/* CTA button fills full width in card */
.plan-card .btn {
  display: block;
  text-align: center;
  width: 100%;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */

.success-page {
  padding-block: clamp(56px, 10vw, 100px);
}

.success-page .container {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xl);
}

.success-page__mascot {
  width: 180px;
  height: auto;
  display: block;
}

.success-page__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--navy);
  margin: 0;
}

.success-page__lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0;
}

.success-page__callout {
  background-color: var(--sunshine-soft);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-2xl);
  text-align: left;
  width: 100%;
}

.success-page__callout-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 var(--s-sm);
}

.success-page__callout p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.success-page__cta {
  min-width: 200px;
}

.success-page__help {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.success-page__help a {
  color: var(--teal);
  text-decoration: none;
}

.success-page__help a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .success-page__callout {
    padding: var(--s-lg) var(--s-base);
  }

  .success-page__cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   LEGAL PAGES (terms + privacy)
   ============================================================ */

.legal-page {
  padding-block: clamp(48px, 8vw, 80px);
}

.legal-page .container {
  max-width: 760px;
}

.legal-draft-notice {
  background-color: var(--sunshine-soft);
  border-left: 4px solid var(--sunshine);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--s-3xl);
  padding: var(--s-md) var(--s-lg);
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--s-2xl);
}

.legal-page h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: var(--s-3xl);
  margin-bottom: var(--s-sm);
}

.legal-page p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 70ch;
  margin-bottom: var(--s-base);
}

.legal-page a {
  color: var(--teal);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}
