/* =========================================================
   Landing refinements: slider, system, benefits and billing
   ========================================================= */

.landing-section--how-intro {
  background: #ffffff;
  border-color: rgba(5, 5, 5, 0.1);
}

.landing-section--how-intro h2,
.landing-section--how-intro h3,
.landing-section--how-intro p {
  color: #050505;
}

.landing-section--how-intro .section-heading {
  max-width: 1000px;
  margin-bottom: 0;
}

.landing-section--how-intro h2 {
  max-width: none;
  font-size: 4.2rem;
  line-height: 1.05;
  letter-spacing: normal;
}

@media (max-width: 760px) {
  .landing-section--how-intro h2 {
    font-size: clamp(2.87rem, 14vw, 4.76rem);
  }
}

.landing-slider {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
}

.landing-slider-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
}

.landing-slide {
  min-width: 0;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: var(--radius-lg);
  background: #f7f7f7;
  padding: 14px 14px 22px;
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.08);
}

.landing-slide-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.12)),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(5, 5, 5, 0.04) 10px, rgba(5, 5, 5, 0.04) 20px);
}

.landing-slide-placeholder span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 12px;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-slide h3 {
  margin: 20px 8px 8px;
  color: #050505;
}

.landing-slide p {
  margin: 0 8px;
  color: #454545;
}

.landing-slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.landing-slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.22);
  cursor: pointer;
}

.landing-slider-dots button.is-active {
  width: 28px;
  background: #050505;
}

.landing-section--system .section-heading,
.landing-section--system .section-heading p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.system-node {
  justify-content: flex-start;
}

.system-node-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
}

.system-node .system-node-number {
  margin: 0;
}

.system-node-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  flex: 0 0 80px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 24px;
  color: #ffffff;
}

.system-node-icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.system-node--food .system-node-icon {
  background: #ea5b4d;
}

.system-node--meal .system-node-icon {
  background: #f29f3d;
}

.system-node--dailyplan .system-node-icon {
  background: #3f9e74;
}

.system-node--program .system-node-icon {
  background: #5d65d8;
}

.system-node strong {
  margin-top: 10px;
}

.landing-section--precision {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 101, 91, 0.95), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(128, 72, 255, 0.9), transparent 36%),
    radial-gradient(circle at 78% 84%, rgba(55, 198, 157, 0.85), transparent 36%),
    linear-gradient(135deg, #f08d3c 0%, #df3f74 38%, #6c4de6 70%, #2da985 100%);
}

.landing-section--precision .section-copy h2,
.landing-section--precision .section-copy h3,
.landing-section--precision .section-copy p {
  color: #ffffff;
}

.landing-section--precision .eyebrow {
  color: #e2e2e2;
}

.landing-section--precision .image-panel {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.landing-section--benefits {
  background: linear-gradient(135deg, #00d0f5 0%, #01e888 50%, #bbff00 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(5, 5, 5, 0.08);
}

#benefits .benefit-card {
  background: rgba(255, 255, 255, 0.7);
}

.benefit-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 18px;
  background: #050505;
  color: #ffffff;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.benefit-card h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  color: #050505;
}

.benefit-card p {
  color: #4a4a4a;
}

.billing-toggle {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
}

.billing-toggle button {
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 850;
}

.billing-toggle button.is-active {
  background: #f5f5f5;
  color: #050505;
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.final-cta-logo {
  width: clamp(150px, 20vw, 230px);
  height: auto;
  margin-bottom: 30px;
}

.footer-inner {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.footer-links {
  justify-content: center;
}

@media (max-width: 940px) {
  .benefits-grid,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .landing-slider {
    overflow: visible;
    margin-right: -18px;
  }

  .landing-slider-track {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: 36px;
    margin-left: 18px;
  }

  .landing-slider-track::-webkit-scrollbar {
    display: none;
  }

  .landing-slide {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
  }

  .landing-slider-dots {
    display: flex;
    margin-right: 18px;
  }

  .benefits-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card:first-child {
    grid-column: auto;
  }

  .system-node-icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }
}

/* =========================================================
   Landing visual corrections
   ========================================================= */

.landing-slider-track {
  background: transparent;
}

.landing-slide {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.landing-slide img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 18px;
}

.system-node-icon .system-node-glyph,
.system-node-icon svg.system-node-glyph {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.image-panel.image-panel-product {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.image-panel.image-panel-product img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

#precision-impact,
#precision-impact .section-copy,
#precision-impact .section-copy h2,
#precision-impact .section-copy h3,
#precision-impact .section-copy p {
  color: #ffffff;
}

#precision-impact .eyebrow {
  color: #e2e2e2;
}

.benefits-heading {
  margin-bottom: 42px;
  text-align: center;
}

.benefits-heading h2 {
  color: #050505;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.footer {
  border: 0;
  background: #000000;
}

/* =========================================================
   Landing refinements: header trigger, entity colors, metrics
   ========================================================= */

.system-node-icon {
  border-radius: 22px;
}

.system-node--food .system-node-icon {
  background: #ff8800;
}

.system-node--meal .system-node-icon {
  background: #cf34b0;
}

.system-node--dailyplan .system-node-icon {
  background: rgb(98, 41, 206);
}

.system-node--program .system-node-icon {
  background: #054cc0;
}

.image-panel.image-panel-metrics {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.image-panel.image-panel-metrics img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

@media (max-width: 700px) {
  .system-node-icon {
    border-radius: 24px;
  }
}

/* =========================================================
   Landing adjustments: system nodes and mobile plans
   ========================================================= */

.system-node {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.system-node .system-node-top {
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.system-node .system-node-number {
  position: absolute;
  top: 18px;
  left: 18px;
}

.system-node .system-node-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}

.system-node .system-node-icon .system-node-glyph,
.system-node .system-node-icon svg.system-node-glyph {
  width: 32px;
  height: 32px;
}

.system-node strong {
  margin-top: 0;
  margin-bottom: 8px;
}

.system-node p {
  margin: 0;
}

.plans-mobile-tabs {
  display: none;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.plan-price-period {
  color: var(--text-soft);
  font-size: clamp(0.86rem, 1.5vw, 1rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.plan-annual-price {
  min-height: 1.18rem;
  margin: -6px 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}

.plan-annual-price.is-hidden {
  display: none;
}

.plan-annual-price--placeholder {
  visibility: hidden;
}

.plan-credit-note {
  min-height: 82px;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  color: var(--text-soft);
  padding: 8px 22px;
  text-align: center;
  line-height: 1.65;
}

.plan-credit-note a {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 760px) {
  .plans-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 280px;
    margin: -20px auto 22px;
  }

  .plans-mobile-tabs button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    padding: 8px 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 850;
    transition: color 180ms ease, background 180ms ease, opacity 180ms ease;
  }

  .plans-mobile-tabs button.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
  }

  .plans-grid[data-plans-slider] {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    max-width: none;
    margin: 0 -18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 0 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .plans-grid[data-plans-slider]::-webkit-scrollbar {
    display: none;
  }

  .plans-grid[data-plans-slider] .plan-card,
  .plans-grid[data-plans-slider] .plan-card:first-child {
    grid-column: auto;
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: center;
  }

  .plans-grid[data-plans-slider] .plan-card:first-child {
    margin-left: 18px;
  }

  .plans-grid[data-plans-slider] .plan-card:last-child {
    margin-right: 18px;
  }

  .plan-credit-note {
    min-height: 0;
    margin-top: 24px;
    padding: 8px 18px;
    text-align: center;
  }
}

/* =========================================================
   Landing additions: parallax bands and visibility section
   ========================================================= */

.landing-parallax-band {
  position: relative;
  min-height: clamp(180px, 26vw, 300px);
  overflow: hidden;
  background: #050505;
}

.landing-parallax-band__media,
.landing-section-parallax-bg {
  position: absolute;
  inset: -10%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.landing-parallax-band::after,
.landing-section--precision::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-parallax-band::after {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.44));
}

.landing-parallax-band--intro .landing-parallax-band__media {
  background-image: url("../img/landing/home-banner-1.jpg");
}

.landing-parallax-band--footer .landing-parallax-band__media {
  background-image: url("../img/landing/home-banner-2.jpg");
  background-position: center 35%;
}

.landing-section--visibility {
  background: linear-gradient(180deg, #050505 0%, #101010 100%);
}

.landing-section--visibility .section-copy h2,
.landing-section--visibility .section-copy h3,
.landing-section--visibility .section-copy p {
  color: #ffffff;
}

.landing-section--visibility .eyebrow {
  color: #d4d4d4;
}

.image-panel.image-panel-visibility {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.image-panel.image-panel-visibility img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.landing-section--precision {
  position: relative;
  overflow: hidden;
  background: #100f17;
}

.landing-section--precision::after {
  background: linear-gradient(135deg, rgba(16, 15, 23, 0.24), rgba(16, 15, 23, 0.12));
}

.landing-section--precision > .container {
  position: relative;
  z-index: 1;
}

.landing-section-parallax-bg--precision {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 101, 91, 0.95), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(128, 72, 255, 0.9), transparent 36%),
    radial-gradient(circle at 78% 84%, rgba(55, 198, 157, 0.85), transparent 36%),
    linear-gradient(135deg, #f08d3c 0%, #df3f74 38%, #6c4de6 70%, #2da985 100%);
}

@media (max-width: 760px) {
  .landing-parallax-band {
    min-height: 150px;
  }

  .landing-parallax-band--intro {
    min-height: clamp(264px, 39svh, 372px);
  }

  .landing-parallax-band--intro .landing-parallax-band__media {
    inset: -14% 0;
    background-image: url("../img/landing/home-banner-1-mobile-green-containers.jpg");
    background-position: center 55%;
  }

  .landing-parallax-band__media,
  .landing-section-parallax-bg {
    inset: -14%;
  }
}

/* =========================================================
   Landing corrections: section color, coordinated CTA parallax
   ========================================================= */

.landing-section--how-intro {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -32px;
  border-top-left-radius: clamp(30px, 5vw, 64px);
  border-top-right-radius: clamp(30px, 5vw, 64px);
}

.landing-section--visibility {
  background: #ffffff;
}

.landing-section--visibility .section-copy h2,
.landing-section--visibility .section-copy h3,
.landing-section--visibility .section-copy p,
.landing-section--visibility p {
  color: #050505;
}

.landing-section--visibility .eyebrow {
  color: #4a4a4a;
}

.landing-section--adjust-metrics {
  background: #000000;
}

.landing-section--adjust-metrics .section-copy h2,
.landing-section--adjust-metrics .section-copy h3,
.landing-section--adjust-metrics .section-copy p,
.landing-section--adjust-metrics p,
.landing-section--adjust-metrics .eyebrow {
  color: #ffffff;
}

.landing-section--plans {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: -32px;
  border-bottom-left-radius: clamp(30px, 5vw, 64px);
  border-bottom-right-radius: clamp(30px, 5vw, 64px);
}

.landing-cta-parallax-group {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 32px;
  background: #050505;
}

.landing-cta-parallax-group__media {
  position: absolute;
  inset: -12%;
  z-index: -2;
  background-image: url("../img/landing/home-banner-2.jpg");
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.landing-cta-parallax-group::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.62));
  pointer-events: none;
}

.landing-cta-parallax-group .landing-parallax-band {
  background: transparent;
}

.landing-parallax-band--cta-before,
.landing-parallax-band--footer {
  min-height: clamp(170px, 24vw, 280px);
}

.landing-parallax-band--footer .landing-parallax-band__media {
  background-image: none;
}

.landing-section--final-cta {
  position: relative;
  background: #000000;
}

@media (max-width: 760px) {
  .landing-section--how-intro {
    margin-top: -24px;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
  }

  .landing-section--plans {
    margin-bottom: -24px;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .landing-cta-parallax-group {
    padding-top: 24px;
  }

  .landing-parallax-band--cta-before,
  .landing-parallax-band--footer {
    min-height: 150px;
  }

  .landing-cta-parallax-group__media {
    inset: -16%;
  }
}

/* =========================================================
   Landing corrections: flat sections and stable plan base
   ========================================================= */

.landing-section,
.section-warm,
.section-dark,
.plans-section,
.final-cta {
  box-shadow: none;
}

.section-warm,
.section-dark,
.section-light,
.section-light-circle,
.plans-section,
.landing-section--visibility,
.landing-section--adjust-metrics,
.landing-section--precision,
.landing-section--final-cta {
  background-image: none;
}

.landing-parallax-band::after,
.landing-cta-parallax-group::after,
.landing-section--precision::after {
  background: none;
}

.landing-section--visibility {
  background: #ffffff;
}

.landing-section--visibility,
.landing-section--visibility .section-copy,
.landing-section--visibility .section-copy h2,
.landing-section--visibility .section-copy h3,
.landing-section--visibility .section-copy p,
.landing-section--visibility .eyebrow,
.landing-section--visibility p {
  color: #050505;
}

.landing-section--adjust-metrics {
  background: #000000;
}

.landing-section--adjust-metrics,
.landing-section--adjust-metrics .section-copy,
.landing-section--adjust-metrics .section-copy h2,
.landing-section--adjust-metrics .section-copy h3,
.landing-section--adjust-metrics .section-copy p,
.landing-section--adjust-metrics .eyebrow,
.landing-section--adjust-metrics p {
  color: #ffffff;
}

.landing-section--plans {
  background: #050505;
  margin-bottom: 0;
  border-bottom-left-radius: clamp(30px, 5vw, 64px);
  border-bottom-right-radius: clamp(30px, 5vw, 64px);
  overflow: hidden;
}

.landing-section--plans::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(30px, 5vw, 64px);
  z-index: -1;
  background: #050505;
  pointer-events: none;
}

.landing-cta-parallax-group {
  padding-top: 0;
}

@media (max-width: 760px) {
  .landing-section--plans {
    margin-bottom: 0;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .landing-cta-parallax-group {
    padding-top: 0;
  }
}

/* =========================================================
   Landing hotfix: authoritative colors for paired sections
   ========================================================= */

section.section-dark.landing-section--visibility {
  background: #ffffff !important;
  background-image: none !important;
}

section.section-dark.landing-section--visibility > .container,
section.section-dark.landing-section--visibility > .container > .section-copy,
section.section-dark.landing-section--visibility > .container > .section-copy h2,
section.section-dark.landing-section--visibility > .container > .section-copy h3,
section.section-dark.landing-section--visibility > .container > .section-copy p {
  color: #050505 !important;
}

section.section-dark.landing-section--visibility > .container > .section-copy .eyebrow {
  color: #4a4a4a !important;
}

section.section-dark.landing-section--adjust-metrics {
  background: #000000 !important;
  background-image: none !important;
}

section.section-dark.landing-section--adjust-metrics > .container,
section.section-dark.landing-section--adjust-metrics > .container > .section-copy,
section.section-dark.landing-section--adjust-metrics > .container > .section-copy h2,
section.section-dark.landing-section--adjust-metrics > .container > .section-copy h3,
section.section-dark.landing-section--adjust-metrics > .container > .section-copy p,
section.section-dark.landing-section--adjust-metrics > .container > .section-copy .eyebrow {
  color: #ffffff !important;
}

section.landing-section--plans {
  background: #050505 !important;
  background-image: none !important;
  margin-bottom: 0 !important;
}

section.landing-section--plans::after {
  display: none !important;
}

/* Plans: card layout adapted from the marketing mockup. */
.landing-section--plans .plans-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.landing-section--plans .plans-intro-copy {
  max-width: 630px;
}

.landing-section--plans .plans-intro h2 {
  max-width: 580px;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 4.7vw, 4rem);
  line-height: 1.12;
  letter-spacing: normal;
}

.landing-section--plans .plans-intro-copy > p:last-child {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.6;
}

.landing-section--plans .billing-toggle {
  flex: none;
  margin: 0 0 5px;
}

.landing-section--plans .billing-toggle button {
  min-width: 94px;
}

.landing-section--plans .plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
}

.landing-section--plans .plan-card,
.landing-section--plans .plan-card:first-child {
  grid-column: auto;
  min-width: 0;
  border: 1px solid transparent;
  border-top: 2px solid var(--plan-accent);
  border-radius: 26px;
  background: #121212;
  padding: 18px;
  box-shadow: none;
}

.landing-section--plans .plan-card--free {
  --plan-accent: #bbff00;
}

.landing-section--plans .plan-card--basic {
  --plan-accent: #01e888;
}

.landing-section--plans .plan-card--pro {
  --plan-accent: #00d0f5;
}

.landing-section--plans .plan-tag {
  margin-bottom: 4px;
  color: #8f8f8f;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.landing-section--plans .plan-card-header {
  align-items: center;
  margin-bottom: 0;
}

.landing-section--plans .plan-card-header h3 {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: normal;
}

.landing-section--plans .plan-price-chip {
  max-width: 72%;
  border: 0;
  border-radius: 999px;
  background: var(--plan-accent);
  padding: 5px 12px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
}

.landing-section--plans .plan-benefits {
  margin: 8px 0 0;
}

.landing-section--plans .plan-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid #2a2a2a;
  padding: 6px 0;
}

.landing-section--plans .plan-benefit:last-child {
  border-bottom: 0;
}

.landing-section--plans .plan-benefit dt,
.landing-section--plans .plan-benefit dd {
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.landing-section--plans .plan-benefit dt {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  color: #b5b5b5;
}

.landing-section--plans .plan-benefit dd {
  flex: 1;
  color: #f5f5f5;
  font-weight: 700;
  text-align: right;
}

.landing-section--plans .plan-benefit-icon {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 8px;
  background: #202020;
  color: #f5f5f5;
}

.landing-section--plans .plan-benefit-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.landing-section--plans .plan-benefit-icon--food { background: #ff8800; }
.landing-section--plans .plan-benefit-icon--meal { background: #cf34b0; }
.landing-section--plans .plan-benefit-icon--daily-plan { background: #7c4ddb; }
.landing-section--plans .plan-benefit-icon--program { background: #1b6491; }
.landing-section--plans .plan-benefit-icon--includes { background: #fff; color: #000; }
.landing-section--plans .plan-benefit-icon--supplement { background: #14a7be; }
.landing-section--plans .plan-benefit-icon--preparation { background: #f46d6a; }
.landing-section--plans .plan-benefit-icon--ai {
  background: linear-gradient(110deg, #00d0f5, #01e888 50%, #bbff00);
  color: #000;
}

.landing-section--plans .plan-options-caption {
  margin: auto 0 0;
  padding-top: 20px;
  color: #b5b5b5;
  font-size: 0.875rem;
}

.landing-section--plans .plan-action {
  min-height: 48px;
  margin: auto 0 0;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(110deg, #00d0f5, #01e888 50%, #bbff00);
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.landing-section--plans .plan-credit-note {
  min-height: 0;
  max-width: 890px;
  margin-top: 22px;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 940px) {
  .landing-section--plans .plans-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .landing-section--plans .plans-intro {
    display: block;
    margin-bottom: 26px;
  }

  .landing-section--plans .billing-toggle {
    display: grid;
    width: 100%;
    margin-top: 24px;
  }

  .landing-section--plans .plans-grid {
    gap: 32px;
  }

  .landing-section--plans .plan-benefits {
    margin-top: 26px;
  }

  .landing-section--plans .plan-card--free .plan-action {
    margin-top: 18px;
  }

  .landing-section--plans .plan-credit-note {
    text-align: left;
  }
}

/* Prompt example in the "Sencillo" section. */
.landing-section--system .prompt-demo {
  max-width: 920px;
  margin: 44px auto 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(145deg, #1d1d22, #101012 70%);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
}

.prompt-demo__top,
.prompt-demo__bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e9e9ed;
  font-size: 0.86rem;
  font-weight: 700;
}

.prompt-demo__title {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.2;
}

.prompt-demo__icon,
.prompt-demo__send {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5dd4d4, #80ee69);
  color: #050505;
}

.prompt-demo__icon svg,
.prompt-demo__send svg {
  width: 19px;
  height: 19px;
}

.prompt-demo__composer {
  min-height: 200px;
  margin: 18px 0 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #09090b;
  color: #f6f6f7;
  font-size: clamp(.9rem, 2vw, 1.32rem);
  font-weight: 500;
  line-height: 1.48;
}

.prompt-demo__text {
  display: inline;
  color: inherit;
}

.prompt-demo__cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: #b49cff;
  vertical-align: -0.15em;
  animation: prompt-cursor-blink 1s steps(1) infinite;
}

.prompt-demo__bottom {
  justify-content: flex-end;
  color: #96969e;
  font-size: 0.76rem;
  font-weight: 500;
}

.prompt-demo__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f4f5;
  color: #111;
}

@keyframes prompt-cursor-blink {
  50% { opacity: 0; }
}

@media (max-width: 760px) {
  .landing-section--system .prompt-demo {
    margin-top: 32px;
    border-radius: 22px;
  }

  .prompt-demo__composer {
    min-height: 245px;
    margin-top: 16px;
    font-size: .9rem;
  }
}

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

/* Hero adapted from the campaign mockup. */
.hero {
  min-height: 0;
  padding: 74px 0 0;
  background: #050505;
}

.hero::before { content: none; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  min-height: 680px;
}

.hero-copy {
  align-items: flex-start;
  text-align: left;
  padding: 45px 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(100deg, #00d0f5, #01e888 52%, #bbff00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  margin: 22px 0;
  font-size: clamp(3.4rem, 5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: normal;
  line-height: 1.05;
}

.hero-title-chip {
  display: inline-block;
  margin-top: .14em;
  padding: .01em .38em .07em;
  border-radius: 999px;
  background: #f5f5f5;
  color: #050505;
  line-height: 1.05;
  white-space: nowrap;
}

.hero .hero-lead {
  max-width: 500px;
  margin: 0;
  color: #d0d0d0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.hero .hero-actions {
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 30px;
}

.hero .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #00d0f5, #01e888 52%, #bbff00);
  color: #102014;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
  isolation: isolate;
}

.hero-art-orbit {
  position: absolute;
  z-index: -1;
  width: 110%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.hero-art-orbit--inner { width: 88%; }

.hero-art-image {
  display: block;
  width: 88%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48);
}

.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8f8f5;
  color: #19251d;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .4);
}

.hero-float-card--top { top: 18%; right: -2%; transform: rotate(5deg); }
.hero-float-card--bottom { bottom: 14%; left: -2%; transform: rotate(-5deg); }

.hero-float-card > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #cf34b0;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-float-card--bottom > span { background: #ff8800; }
.hero-float-card > span svg { width: 17px; height: 17px; stroke-width: 2.25; }

.hero-float-card strong,
.hero-float-card small { display: block; line-height: 1.3; }
.hero-float-card strong { font-size: .7rem; }
.hero-float-card small { color: #5d6d62; font-size: .59rem; }

@media (max-width: 800px) {
  .hero { padding-top: 66px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding-bottom: 68px;
  }

  .hero-art {
    grid-row: 1;
    width: min(100%, 430px);
    margin-top: 14px;
  }

  .hero-copy {
    grid-row: 2;
    width: 100%;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .hero-eyebrow { justify-content: center; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 4.1rem); }
  .hero .hero-actions { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .hero-grid { gap: 20px; }
  .hero-art { width: min(100%, 350px); }
  .hero-float-card { padding: 8px; gap: 6px; }
  .hero-float-card--top { right: -1%; }
  .hero-float-card--bottom { left: -1%; }
  .hero-float-card strong { font-size: .6rem; }
  .hero-float-card small { font-size: .52rem; }
  .hero-float-card > span { width: 25px; height: 25px; font-size: .9rem; }
  .hero-float-card > span svg { width: 12px; height: 12px; }
  .hero h1 { font-size: clamp(2.6rem, 10.3vw, 3.25rem); }
  .hero .hero-actions { align-items: center; flex-direction: column; gap: 18px; }
  .hero .hero-actions .btn { width: auto; }
}

/* Swap the color treatments of the compliance panel and benefits recap. */
#precision-impact {
  background: #ffffff;
}

#precision-impact,
#precision-impact .section-copy,
#precision-impact .section-copy h2,
#precision-impact .section-copy h3,
#precision-impact .section-copy p {
  color: #050505;
}

#precision-impact .eyebrow {
  color: #4a4a4a;
}

#benefits-recap {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 101, 91, 0.95), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(128, 72, 255, 0.9), transparent 36%),
    radial-gradient(circle at 78% 84%, rgba(55, 198, 157, 0.85), transparent 36%),
    linear-gradient(135deg, #f08d3c 0%, #df3f74 38%, #6c4de6 70%, #2da985 100%);
}

#benefits-recap .benefits-heading h2 {
  color: #ffffff;
}

#benefits-recap .benefits-heading .eyebrow,
#benefits-recap .benefits-subtitle {
  color: #ffffff;
}

#benefits-recap .benefits-subtitle {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
}

#benefits-recap .benefit-card {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .7);
  box-shadow: 0 14px 34px rgba(5, 5, 5, .2);
}

#benefits-recap .benefit-icon {
  background: #1b1b1b;
  color: #ffffff;
}

#benefits-recap .benefit-card h3,
#benefits-recap .benefit-card p {
  color: #ffffff;
}

.landing-section--how-intro .intro-title-chip {
  display: inline-block;
  padding: .04em .6em .1em;
  border-radius: 99px;
  background: #050505;
  color: #ffffff;
  white-space: nowrap;
}

.landing-section--how-intro--with-phones {
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .landing-section--how-intro h2 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    text-align: center;
  }

  .landing-section--how-intro .intro-title-line {
    display: block;
  }

  .landing-section--how-intro .intro-title-chip {
    display: inline-block;
  }
}

/* Phone previews rise from the bottom edge of their sections. */
#visibility,
#adjust-metrics,
#precision-impact {
  padding-bottom: 0;
}

#visibility .split-section,
#adjust-metrics .split-section,
#precision-impact .split-section {
  align-items: end;
}

#visibility .section-copy,
#adjust-metrics .section-copy,
#precision-impact .section-copy {
  align-self: center;
  padding-bottom: 0;
}

#visibility .image-panel,
#adjust-metrics .image-panel,
#precision-impact .image-panel {
  justify-content: center;
  align-items: end;
  width: 100%;
}

.phone-preview {
  --phone-visible-height: 460px;
  --phone-total-height: 614px;
  width: 100%;
  height: var(--phone-visible-height);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

#adjust-metrics .phone-preview {
  --phone-visible-height: 400px;
  --phone-total-height: 534px;
}

.phone-preview__device {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: min(390px, calc(100% - 20px));
  height: var(--phone-total-height);
  overflow: hidden;
  border: 10px solid #252525;
  border-radius: 46px 46px 0 0;
  background: #000000;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .2);
  padding-top: 24px;
}

.phone-preview__device::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 50%;
  width: 92px;
  height: 15px;
  border-radius: 20px;
  background: #252525;
  transform: translateX(-50%);
}

.intro-phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 3vw, 36px);
  max-width: 1040px;
  height: 460px;
  margin: 92px auto 0;
}

.intro-phone-gallery .phone-preview {
  height: 100%;
  overflow: visible;
}

.intro-phone-gallery .phone-preview__device img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

#visibility .phone-preview__device img,
#adjust-metrics .phone-preview__device img,
#precision-impact .phone-preview__device img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  border-radius: 0;
}

@media (max-width: 760px) {
  .landing-section--how-intro--with-phones {
    padding-bottom: 0;
  }

  .intro-phone-gallery {
    grid-template-columns: 1fr;
    max-width: 350px;
    height: min(520px, calc((100vw - 36px) * 1.625));
    margin-top: 72px;
  }

  .intro-phone-gallery .phone-preview {
    height: 100%;
    min-height: 0;
  }

  .intro-phone-gallery .phone-preview:not(:first-child) {
    display: none;
  }
  .intro-phone-gallery .phone-preview__device { width: calc(100% - 16px); }
  #visibility .section-copy,
  #adjust-metrics .section-copy,
  #precision-impact .section-copy {
    margin-bottom: 28px;
  }

  #visibility .phone-preview,
  #precision-impact .phone-preview {
    --phone-visible-height: 370px;
    --phone-total-height: 494px;
  }

  #adjust-metrics .phone-preview {
    --phone-visible-height: 330px;
    --phone-total-height: 440px;
  }

  .phone-preview__device {
    width: min(320px, calc(100% - 16px));
  }
}

#benefits-recap .benefit-card:nth-child(1) .benefit-icon { background: #ff8800; }
#benefits-recap .benefit-card:nth-child(2) .benefit-icon { background: #cf34b0; }
#benefits-recap .benefit-card:nth-child(3) .benefit-icon { background: #6229ce; }
#benefits-recap .benefit-card:nth-child(4) .benefit-icon { background: #1b6491; }
#benefits-recap .benefit-card:nth-child(5) .benefit-icon { background: #14a7be; }
#benefits-recap .benefit-card:nth-child(6) .benefit-icon { background: #f46d6a; }

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

#more-features {
  background: #f5f5f5;
}

#more-features .benefits-heading h2 {
  color: #1f2937;
}

.landing-section--how-intro {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#benefits,
#benefits-recap {
  background-attachment: fixed;
}

@media (max-width: 940px) {
  #benefits-recap .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #benefits-recap .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the closing image fixed behind the translucent final panel. */
section.landing-section--plans {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.landing-cta-parallax-group {
  overflow: hidden;
  background-color: #000;
  background-image: url("../img/landing/home-banner-2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.landing-cta-parallax-group #final-cta {
  display: grid;
  align-items: center;
  min-height: clamp(527px, 74.8svh, 646px);
  background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: clamp(56px, 6vw, 84px) 0;
}

@media (min-width: 761px) {
  .landing-cta-parallax-group #final-cta {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 760px) {
  .landing-cta-parallax-group {
    background-attachment: scroll;
    background-size: cover;
  }

  .landing-cta-parallax-group #final-cta {
    width: calc(100% + 2px);
    margin-left: -1px;
  }
}

#final-cta .final-cta-logo {
  width: clamp(127.5px, 17vw, 195.5px);
}

#final-cta .final-cta-title {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: normal;
  line-height: 1.05;
}

#final-cta .final-cta-button {
  margin-top: 26px;
  border: 0;
  background: linear-gradient(100deg, #00d0f5, #01e888 52%, #bbff00);
  color: #102014;
  box-shadow: 0 16px 34px rgba(1, 232, 136, .16);
}

#final-cta .final-cta-button:hover,
#final-cta .final-cta-button:focus-visible {
  box-shadow: 0 18px 42px rgba(1, 232, 136, .25);
}

@media (max-width: 760px) {
  .footer-inner {
    align-items: center;
  }

  .footer-inner > p {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}
