/* =============================================
   ORIGO — Pixel-perfect Figma implementation
   Font: Instrument Serif + Instrument Sans
   ============================================= */

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

/* --- Design Tokens --- */
:root {
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --color-black:      #000000;
  --color-white:      #FFFFFF;
  --color-text:       #000000;
  --color-text-60:    rgba(0, 0, 0, 0.6);
  --color-text-40:    rgba(0, 0, 0, 0.4);

  --radius-card:      32px;
  --radius-hero:      36px;
  --radius-btn:       12px;
  --radius-section:   40px;
  --radius-featured:  48px;

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-attachment: scroll;
  background-repeat: no-repeat;
}

@keyframes card-reveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Container --- */
.container {
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* --- Eyebrow --- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-align: center;
}

/* --- Staggered Heading --- */
.staggered-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  line-height: 0.73;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -2.64px;
}

.staggered-heading span {
  display: block;
  padding-top: 22px;
}

/* Staircase indent — each line shifts progressively right */
.staggered-heading span:nth-child(1) { padding-left: 0; }
.staggered-heading span:nth-child(2) { padding-left: 8%; }
.staggered-heading span:nth-child(3) { padding-left: 20%; }
.staggered-heading span:nth-child(4) { padding-left: 30%; }

.staggered-heading--lg {
  font-size: clamp(48px, 5.6vw, 96px);
}

/* Process: первый span "Simple" со сдвигом влево */
.process__heading .staggered-heading span:nth-child(1) {
  transform: translateX(-64px);
}

.staggered-heading--xl {
  font-size: clamp(72px, 9.25vw, 160px);
  letter-spacing: -4.8px;
}

/* --- Pill Button --- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 20px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
  text-decoration: none;
}

.btn-pill--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-pill--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* --- Scroll Reveal --- */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }


/* =============================================
   STICKY NAVBAR
   ============================================= */
.sticky-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 989px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: none; /* Hidden on mobile */
}

.sticky-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-nav__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 50px;
  padding: 6px 24px;
  background: rgba(255, 255, 255, 0.41);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.sticky-nav__left {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
}

.sticky-nav__right {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
}

.sticky-nav__left a,
.sticky-nav__right a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sticky-nav__left a:hover,
.sticky-nav__right a:hover {
  opacity: 0.6;
}

.sticky-nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-nav__logo-img {
  width: 84px;
  height: 36px;
}

/* Show sticky nav on desktop */
@media (min-width: 768px) {
  .sticky-nav {
    display: block;
  }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: relative;
  z-index: 1000;
  padding-top: 36px;
  padding-bottom: 8px;
  background: transparent;
  pointer-events: none;
  overflow: visible;
  box-sizing: border-box;
  will-change: position, top, left, transform, width, max-width, padding, background-color, border-radius;
}

.navbar * {
  pointer-events: auto;
}

.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 152px 8px;
  box-sizing: border-box;
  width: 100%;
  will-change: display, padding, height, max-width, margin;
}

.navbar__links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.navbar__links--left { justify-self: start; }
.navbar__links--right { justify-self: end; }

.navbar__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
  text-decoration: none;
}

.navbar__links a:hover { opacity: 0.6; }

.navbar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-img {
  width: 256px;
  height: 108px;
  margin: 0;
  object-fit: contain;
  max-width: 100%;
  will-change: width, height;
}

/* Mobile burger button */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo),
              opacity 0.3s var(--ease-out-expo);
}

.navbar__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(230, 255, 205, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo),
              visibility 0.4s var(--ease-out-expo);
  z-index: 999;
}

.navbar__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  list-style: none;
}

.navbar__mobile-links a {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.navbar__mobile-links a:hover {
  opacity: 0.6;
}


/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.hero__eyebrow {
  padding: 72px 0 36px;
}

.hero__main {
  display: grid;
  grid-template-columns: 312px 586px 587px;
  gap: 0;
  justify-content: center;
  align-items: end;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 152px;
  overflow: visible;
}

.hero__photo {
  border-radius: var(--radius-hero);
  overflow: hidden;
  width: 312px;
  height: 433px;
  align-self: end;
  margin-top: 0px;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__product {
  border-radius: var(--radius-hero);
  overflow: hidden;
  height: 773px;
  width: 586px;
  align-self: end;
  margin-left: 46px;
}

.hero__product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__card {
  background: var(--color-white);
  border-radius: var(--radius-hero);
  padding: 56px 79px;
  align-self: start;
  margin-top: 87px;
  margin-left: -80px;
  width: 587px;
  position: relative;
  z-index: 2;
}

.hero__card-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.hero__card-copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  font-style: normal;
  line-height: 64px;
  text-transform: uppercase;
  letter-spacing: -1.68px;
  text-align: center;
}

.hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.9s var(--ease-out-expo) forwards;
}

.hero__title span:nth-child(2) { animation-delay: 0.12s; }

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  max-width: 275px;
}

.hero__details {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  max-width: 259px;
}

.hero__card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.hero__note {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-40);
  text-align: center;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.hero__action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 16px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.hero__action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero__action-btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.hero__action-btn--outline:hover {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hero__action-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero__action-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.55;
}


/* =============================================
   PROBLEM
   ============================================= */
.problem {
  padding: 96px 0 64px;
}

.problem__eyebrow {
  margin-bottom: 24px;
}

.problem__heading {
  margin-bottom: 24px;
}

.problem__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  max-width: 411px;
  margin: 0 auto 64px;
}

.problem__cards {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 0 152px;
  max-width: 1728px;
  margin: 0 auto;
}

.problem__card {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-card);
  width: 469px;
  height: auto;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.problem__card-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.6;
  position: static;
}

.problem__card-text {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  line-height: 40px;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  max-width: 300px;
}


/* =============================================
   UNDERSTANDING
   ============================================= */
.understanding {
  padding: 8px;
  width: 100%;
}

.understanding__container {
  background: var(--color-white);
  border-radius: var(--radius-section);
  width: 1704px;
  max-width: calc(100% - 16px);
  margin: 0 auto;
  padding: 96px 80px;
  position: relative;
  overflow: hidden;
}

.understanding__header {
  text-align: center;
  margin-bottom: 36px;
}

.understanding__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.1vw, 88px);
  font-weight: 400;
  font-style: normal;
  line-height: 0.73;
  text-transform: uppercase;
  letter-spacing: -2.64px;
  text-align: center;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.understanding__title span {
  display: block;
  white-space: nowrap;
}

.understanding__title span:nth-child(1) {
  transform: translateX(-168px);
}

.understanding__title span:nth-child(2) {
  transform: translateX(48px);
  margin-top: 26px;
}

.understanding__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.understanding__divider-img {
  display: none;
}

.understanding__divider {
  width: 1px;
  height: 219px;
  background: var(--color-black);
  margin: 48px auto 24px;
  position: relative;
}

.understanding__divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--color-black);
}

.understanding__wordmark {
  text-align: center;
  margin: 40px 0 48px;
}

.understanding__wordmark-img {
  width: 280px;
  height: auto;
  margin: 0 auto;
}

.understanding__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto 36px;
  position: relative;
}

.understanding__col {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.understanding__col--right {
  text-align: right;
}

.understanding__col--left {
  text-align: left;
}

.understanding__data-label {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 32px;
}

.understanding__topics {
  display: flex;
  justify-content: center;
  gap: 57px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.understanding__topic {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 72px);
  font-weight: 400;
  font-style: normal;
  cursor: default;
  transition: opacity 0.3s ease;
}

.understanding__topic:hover {
  opacity: 0.6;
}

.understanding__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.understanding__cta-note {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-40);
}


/* =============================================
   PROCESS
   ============================================= */
.process {
  padding: 80px 0;
}

.process__heading {
  margin-bottom: 48px;
}

.process__cards {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 0 152px;
  max-width: 1728px;
  margin: 0 auto;
}

.process__card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  width: 469px;
  height: 344px;
  padding: 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.process__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.process__card-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.6;
  position: absolute;
  top: 31px;
}

.process__card-text {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  line-height: 40px;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  max-width: 381px;
}

.process__card-footer {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.6;
  position: absolute;
  bottom: 24px;
}


/* =============================================
   MEALS
   ============================================= */
.meals {
  padding: 64px 0 0;
  overflow: hidden;
}

.meals__heading {
  margin-bottom: 24px;
}

.meals__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text);
  margin-bottom: 48px;
}

.meals__scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 2rem;
}

.meals__scroll-wrapper:active { cursor: grabbing; }
.meals__scroll-wrapper::-webkit-scrollbar { display: none; }

.meals__track {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 0 calc(50vw - 713px);
}

.meals__card {
  flex-shrink: 0;
  width: 231px;
  height: 334px;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo);
}

.meals__card:hover { transform: scale(1.03); }

.meals__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 80px 0;
  position: relative;
  overflow: visible;
}

.testimonials__heading {
  margin-bottom: 48px;
}

/* Featured center card (Mark) - hidden, using click-to-expand instead */
.testimonials__featured {
  display: none;
}

.testimonials__featured-card {
  background: var(--color-white);
  border-radius: var(--radius-featured);
  width: 703px;
  padding: 54px 60px;
  box-shadow: 0 20px 124px -16px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
}

.testimonials__featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 140px -16px rgba(0, 0, 0, 0.28);
}

.testimonials__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
}

.testimonials__avatar--lg {
  width: 96px;
  height: 96px;
  margin-bottom: 36px;
}

.testimonials__name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  line-height: 40px;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

.testimonials__name--lg {
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -0.6px;
  margin-bottom: 36px;
}

.testimonials__quote {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.6;
}

.testimonials__quote--lg {
  font-size: 24px;
  line-height: 36px;
}

/* Testimonial row behind */
.testimonials__row {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-top: 72px;
  padding-bottom: 80px;
  scroll-behavior: auto;
  min-height: 500px;
}

.testimonials__row::-webkit-scrollbar { display: none; }

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 calc(50vw - 730px);
  transition: transform 0.3s ease;
  align-items: flex-start;
}

.testimonials__card {
  flex-shrink: 0;
  background: var(--color-white);
  border-radius: var(--radius-card);
  width: 469px;
  height: 400px;
  padding: 48px 50px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  transform: scale(1);
}

.testimonials__card:hover {
  transform: scale(1.02);
}

.testimonials__card.is-active {
  width: 469px;
  padding: 60px 65px;
  transform: scale(1.1);
  z-index: 5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  margin: 0px 24px;
}

.testimonials__card.is-active .testimonials__name {
  font-size: 40px;
  line-height: 40px;
}

.testimonials__card.is-active .testimonials__quote {
  font-size: 16px;
  line-height: 24px;
}

/* Testimonial carousel (wheel / swipe to rotate) */
.testimonials__carousel-wrap {
  overflow: hidden;
  padding: 72px 40px 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  box-sizing: border-box;
}

.testimonial-cards {
  position: relative;
  width: 2505px;
  height: 320px;
  flex-shrink: 0;
  margin: 0 auto;
}

.testimonial-card {
  position: absolute;
  width: 469px;
  height: 320px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 44px 48px 48px;
  overflow: visible;
  cursor: default;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card .testimonials__name {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.testimonial-card .testimonials__quote {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.75;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonials__read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.5;
  margin-top: 8px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.testimonial-card:hover .testimonials__read-more {
  opacity: 0.85;
}

/* ── Testimonial Modal ── */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.testimonial-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.testimonial-modal__container {
  position: relative;
  width: 90%;
  max-width: 560px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 56px 48px 48px;
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.35s var(--ease-out-expo);
}

.testimonial-modal.is-open .testimonial-modal__container {
  transform: translateY(0);
}

.testimonial-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.testimonial-modal__close:hover {
  opacity: 1;
}

.testimonial-modal__name {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

.testimonial-modal__quote {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.75;
  margin-bottom: 16px;
}

/* Initial slot positions for carousel (script overrides with transform) — 40px gap each side of active */
.testimonial-card-1 { left: 0;     top: 0; }
.testimonial-card-2 { left: 509px; top: 0; }
.testimonial-card-3 { left: 1018px; top: 0; }
.testimonial-card-4 { left: 1527px; top: 0; }
.testimonial-card-5 { left: 2036px; top: 0; }


/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 100px 0;
  position: relative;
}

.pricing__heading {
  margin-bottom: 24px;
}

.pricing__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-60);
  margin-bottom: 64px;
}

/* Segment control — hidden on desktop */
.pricing__tabs {
  display: none;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* Single card layout - used when Autonomous plan is hidden */
.pricing__grid--single {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.pricing__card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-card);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px -12px rgba(0, 0, 0, 0.12);
}

.pricing__card--featured {
  background: var(--color-white);
}

.pricing__card-top {
  margin-bottom: 32px;
}

.pricing__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  color: var(--color-text-40);
  margin-bottom: 20px;
}

.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing__amount {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--color-text);
}

.pricing__period {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-40);
}

.pricing__old-price {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text-40);
  text-decoration: line-through;
}

.pricing__terms {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-40);
  margin-bottom: 20px;
}

.pricing__badge {
  color: var(--color-text);
  font-weight: 600;
}

.pricing__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-60);
}

.pricing__desc strong {
  color: var(--color-text);
  font-weight: 600;
}

.pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing__features li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-60);
  padding-left: 28px;
  position: relative;
}

.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.pricing__card-bottom {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.pricing__learn-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-40);
  text-decoration: none;
  transition: color 0.2s;
}

.pricing__learn-link:hover {
  color: var(--color-text);
}

.btn-pill--blue {
  background: var(--color-black);
  color: var(--color-white);
  width: 100%;
  text-align: center;
}

.btn-pill--blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.pricing__help {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-40);
  margin-top: 48px;
}

.pricing__help-link {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.pricing__help-link:hover {
  opacity: 0.6;
}


/* =============================================
   PLAN MODAL (fullscreen white)
   ============================================= */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.plan-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.plan-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.plan-modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out-expo);
}

.plan-modal.is-open .plan-modal__container {
  transform: translateY(0);
}

.plan-modal__close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 10;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.plan-modal__close:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.plan-modal__body {
  padding: 72px 0 120px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.plan-modal__body-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}

.plan-modal__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-40);
  margin-bottom: 20px;
}

.plan-modal__title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.plan-modal__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-60);
  margin-bottom: 56px;
  max-width: 600px;
}

.plan-modal__section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-40);
  margin-bottom: 16px;
}

/* Two-column option cards */
.plan-modal__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.plan-modal__option-card {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 24px;
}

.plan-modal__option-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.plan-modal__option-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-60);
}

.plan-modal__note {
  font-size: 12px;
  color: var(--color-text-40);
  text-align: center;
  margin-bottom: 40px;
}

/* Three-column step cards */
.plan-modal__three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.plan-modal__step-card {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 24px 20px;
}

.plan-modal__step-card--highlight {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
}

.plan-modal__step-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.plan-modal__step-header div {
  display: flex;
  flex-direction: column;
}

.plan-modal__step-header strong {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.3;
}

.plan-modal__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-60);
  flex-shrink: 0;
}

.plan-modal__step-num--accent {
  background: var(--color-text);
  color: var(--color-white);
}

.plan-modal__step-time {
  font-size: 11px;
  color: var(--color-text-40);
  margin-top: 2px;
}

.plan-modal__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-modal__step-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-60);
  padding-left: 14px;
  position: relative;
  margin-bottom: 5px;
}

.plan-modal__step-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-text-40);
}

/* Features grid */
.plan-modal__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.plan-modal__feature {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 24px;
}

.plan-modal__feature--wide {
  grid-column: 1 / -1;
}

.plan-modal__feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.plan-modal__feature p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-60);
}

/* Info cards (what this isn't / who this is for) */
.plan-modal__two-col--bottom {
  margin-bottom: 0;
}

.plan-modal__info-card {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 24px;
}

.plan-modal__info-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.plan-modal__info-card--red .plan-modal__info-label {
  color: #d44;
}

.plan-modal__info-card--green .plan-modal__info-label {
  color: #1a8a4a;
}

.plan-modal__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-modal__info-list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-60);
  padding-left: 24px;
  position: relative;
}

.plan-modal__info-list--cross li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-size: 11px;
  color: #d44;
}

.plan-modal__info-list--check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a8a4a;
}

/* Sticky bottom bar */
.plan-modal__sticky-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  background: var(--color-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.plan-modal__sticky-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.plan-modal__sticky-amount {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}

.plan-modal__sticky-period {
  font-size: 12px;
  color: var(--color-text-40);
}

.plan-modal__sticky-note {
  font-size: 12px;
  color: var(--color-text-40);
  flex: 1;
  min-width: 0;
}

.plan-modal__sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan-modal__sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Modal responsive — tablet */
@media (max-width: 1024px) {
  .plan-modal__body-inner {
    max-width: 700px;
    padding: 0 32px;
  }

  .plan-modal__title {
    font-size: 40px;
  }
}

/* Modal responsive — mobile */
@media (max-width: 768px) {
  .plan-modal__body {
    padding: 56px 0 100px;
  }

  .plan-modal__body-inner {
    max-width: 100%;
    padding: 0 20px;
  }

  .plan-modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .plan-modal__title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .plan-modal__subtitle {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .plan-modal__two-col {
    grid-template-columns: 1fr;
  }

  .plan-modal__three-col {
    grid-template-columns: 1fr;
  }

  .plan-modal__features-grid {
    grid-template-columns: 1fr;
  }

  .plan-modal__feature--wide {
    grid-column: auto;
  }

  .plan-modal__sticky-bar {
    flex-wrap: wrap;
    padding: 16px 20px 24px;
    gap: 10px;
  }

  .plan-modal__sticky-note {
    width: 100%;
    order: -1;
  }

  .plan-modal__sticky-cta {
    width: 100%;
    text-align: center;
  }

  .plan-modal__sticky-amount {
    font-size: 28px;
  }
}


/* =============================================
   QUOTE
   ============================================= */
.quote-section {
  padding: 100px 0;
}

.quote-section__blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-section__text {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.quote-section__source {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-40);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .quote-section {
    padding: 64px 0;
  }

  .quote-section__text {
    font-size: 22px;
  }
}


/* =============================================
   FINAL CTA
   ============================================= */
.final-cta {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.final-cta__bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 120vw;
  pointer-events: none;
  z-index: 0;
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta__heading {
  margin-bottom: 48px;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.final-cta__note {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-40);
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Large Desktop (1440px - 1728px) */
@media (max-width: 1728px) {
  .navbar__inner {
    padding: 0 80px 8px;
  }

  .hero__main {
    padding: 0 80px;
  }

  .problem__cards,
  .process__cards {
    padding: 0 80px;
  }

  .testimonials__track,
  .meals__track {
    padding: 0 80px;
  }
}

/* Desktop (1024px - 1440px) */
@media (max-width: 1440px) {
  .navbar__inner {
    padding: 0 3rem 8px;
  }

  .hero__main {
    padding: 0 3rem;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 1rem;
  }

  .hero__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 312/433;
  }

  .hero__product {
    width: 100%;
    height: auto;
    aspect-ratio: 586/773;
    margin-left: 0;
  }

  .hero__card {
    width: 100%;
    margin-left: -60px;
    padding: 40px 48px;
  }

  .hero__title {
    font-size: clamp(32px, 3.2vw, 56px);
    line-height: 1.15;
  }

  .problem__cards,
  .process__cards {
    padding: 0 3rem;
  }

  .problem__card,
  .process__card {
    width: auto;
    flex: 1;
  }

  .understanding__container {
    margin: 0 3rem;
  }

  .testimonials__track,
  .meals__track {
    padding: 0 3rem;
  }
}

/* Tablet Landscape (768px - 1024px) — same hero layout as mobile: two images + card */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    overflow: hidden;
  }

  .hero__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 6px;
    padding: 0;
    margin: 0;
    width: 100%;
    align-items: end;
    box-sizing: border-box;
  }

  .hero__photo {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    aspect-ratio: 204/283;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
  }

  .hero__product {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin-right: 0;
    margin-top: 24px;
    aspect-ratio: 230/304;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
  }

  .hero__card {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% - 16px);
    margin: -20px 8px 0;
    padding: 36px 24px 28px;
    z-index: 2;
  }

  .problem__cards,
  .process__cards {
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    gap: 12px;
  }

  .problem__card,
  .process__card {
    width: 100%;
    max-width: 500px;
  }

  .understanding__container {
    padding: 64px 48px;
    margin: 0 2rem;
  }

  .understanding__topics {
    gap: 24px;
  }

  .understanding__topic {
    font-size: 36px;
  }

  .testimonials__card {
    width: 380px;
  }

  .testimonials__card.is-active {
    width: 440px;
  }

  .testimonials__featured-card {
    width: 90%;
    max-width: 600px;
  }

  .staggered-heading span {
    padding-top: 16px;
  }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Navbar mobile */
  .navbar__links--left,
  .navbar__links--right {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__mobile-menu {
    display: flex;
  }

  .navbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 8px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
  }

  .navbar__links--left,
  .navbar__links--right {
    display: none !important;
  }

  .navbar__logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__logo-img {
    width: 130px;
    height: 60px;
  }

  .navbar__burger {
    position: absolute;
    right: 1rem;
    top: 32%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Hero — mobile fold: tagline + два фото с неровностью, заход за края и на белую карточку */
  .hero {
    padding-top: 110px;
    min-height: auto;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .hero__eyebrow.eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .hero__eyebrow {
    padding: 48px 1rem 16px;
  }

  .hero__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 6px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    align-items: end;
    box-sizing: border-box;
    position: relative;
  }

  /* Левое фото выше, заходит за левый край */
  .hero__photo {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    height: auto;
    aspect-ratio: 204/283;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  .hero__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Правое фото ниже (неровность) */
  .hero__product {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin-right: 0;
    margin-top: 28px;
    height: auto;
    aspect-ratio: 230/304;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  .hero__product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Белая секция поверх фото (фото под ней), отступы 8px от экрана, внутри карточки — больше воздуха */
  .hero__card {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% - 16px);
    margin: -24px 16px 0;
    padding: 32px 24px 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .hero__title {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }

  .hero__body,
  .hero__details {
    font-size: 16px;
    line-height: 24px;
    max-width: 100%;
  }

  /* Staggered headings */
  .staggered-heading span {
    padding-top: 12px;
  }
  
  .staggered-heading span:nth-child(2) { padding-left: 4%; }
  .staggered-heading span:nth-child(3) { padding-left: 10%; }
  .staggered-heading span:nth-child(4) { padding-left: 15%; }

  .staggered-heading--lg {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.44px;
  }

  .staggered-heading--xl {
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -2.24px;
  }

  .staggered-heading span {
    padding-top: 0;
  }

  /* Problem section */
  .problem {
    padding: 64px 0 48px;
  }

  .problem__cards {
    padding: 0 1.5rem;
  }

  .problem__card,
  .process__card {
    height: auto;
    min-height: 180px;
    padding: 20px 24px;
  }

  /* Process cards: убираем overlap — label и footer в потоке, отступы между блоками */
  .process__card {
    padding: 28px 24px;
    gap: 16px;
    justify-content: flex-start;
  }

  .process__card-label {
    position: static;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .process__card-text {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: -0.36px;
  }

  .process__card-footer {
    position: static;
    margin-top: 12px;
  }

  .problem__card-label {
    font-size: 16px;
    line-height: 24px;
  }

  .problem__card-text {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: -0.36px;
  }

  /* Understanding section */
  .understanding__container {
    padding: 48px 24px;
    border-radius: 24px;
    margin: 0 1rem;
  }

  .understanding__title {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.44px;
  }

  .understanding__title span:nth-child(1) {
    transform: translateX(4px);
    letter-spacing: -2px;
  }

  .understanding__title span:nth-child(2) {
    transform: translateX(6px);
    margin-top: 0;
    letter-spacing: -2px;
  }

  .understanding__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .understanding__divider {
    height: 132px;
    margin: 32px auto 16px;
  }

  .understanding__wordmark {
    margin: 24px 0 32px;
  }

  .understanding__wordmark-img {
    width: 180px;
    height: auto;
  }

  .understanding__col {
    font-size: 16px;
    line-height: 24px;
  }

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

  .understanding__col--right {
    text-align: right;
  }

  .understanding__col--left {
    text-align: left;
  }

  .understanding__data-label {
    font-size: 16px;
    line-height: 24px;
  }

  .understanding__topics {
    gap: 8px;
    margin-bottom: 48px;
    flex-direction: column;
    align-items: center;
  }

  .understanding__topic {
    font-size: 48px;
    letter-spacing: -1px;
  }

  /* Process section */
  .process {
    padding: 48px 0;
  }

  .process__cards {
    padding: 0 1.5rem;
  }

  .process__card {
    min-height: 220px;
  }

  /* Meals section */
  .meals {
    padding: 48px 0 0;
  }

  .meals__track {
    padding: 0 1.5rem;
  }

  .meals__card {
    width: 180px;
    height: 260px;
    border-radius: 24px;
  }

  /* Testimonials */
  .testimonials {
    padding: 48px 0;
  }

  .testimonials__carousel-wrap {
    padding: 48px 0 56px;
    min-height: auto;
  }

  .testimonial-card .testimonials__name {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .testimonial-card .testimonials__quote {
    font-size: 15px;
    line-height: 1.5;
    -webkit-line-clamp: 7;
  }

  .testimonial-card {
    padding: 32px 28px;
    border-radius: 24px;
  }

  /* Legacy row/track (if used elsewhere) */
  .testimonials__row {
    padding-top: 48px;
    padding-bottom: 60px;
    min-height: 380px;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
  }

  .testimonials__track {
    padding: 0 32px;
    gap: 10px;
    box-sizing: border-box;
  }

  .testimonials__card {
    width: 331px;
    height: auto;
    min-height: 280px;
    padding: 28px 40px;
    border-radius: 32px;
    filter: blur(0);
    opacity: 1;
  }

  .testimonials__card.is-active {
    width: 339px;
    transform: none;
  }

  .testimonials__avatar {
    width: 76px;
    height: 76px;
  }

  .testimonials__name {
    font-size: 36px;
    line-height: 60px;
    letter-spacing: -0.36px;
    margin-bottom: 0;
  }

  .testimonials__quote {
    font-size: 16px;
    line-height: 24px;
    opacity: 0.6;
  }

  .testimonials__card.is-active .testimonials__name {
    font-size: 36px;
    line-height: 60px;
  }

  .testimonials__card.is-active .testimonials__quote {
    font-size: 16px;
    line-height: 24px;
  }

  .testimonials__featured-card {
    width: calc(100% - 3rem);
    padding: 36px 24px;
  }

  .testimonials__name--lg {
    font-size: 40px;
    line-height: 40px;
  }

  .testimonials__quote--lg {
    font-size: 16px;
    line-height: 24px;
  }

  /* Final CTA */
  .final-cta {
    padding: 80px 1.5rem;
    min-height: 80vh;
  }

  .final-cta__bg-shape {
    width: 150vw;
    max-width: 100%;
    top: 30% !important;
  }

  .final-cta__note {
    font-size: 14px;
    line-height: 24px;
  }

  .hero__note {
    font-size: 14px;
    line-height: 24px;
  }

  /* Button */
  .btn-pill {
    padding: 20px 24px;
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  /* Pricing */
  .pricing {
    padding: 64px 0;
  }

  .pricing__subtitle {
    margin-bottom: 40px;
  }

  .pricing__tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 4px;
    margin: 0 auto 32px;
    max-width: 320px;
  }

  .pricing__tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-40);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .pricing__tab.is-active {
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 20px;
    overflow: visible;
  }

  .pricing__card {
    padding: 36px 28px;
    overflow: visible;
    height: auto;
    max-height: none;
  }

  .pricing__card[data-plan] {
    display: none;
  }

  .pricing__card[data-plan].is-visible {
    display: flex;
  }

  .pricing__amount {
    font-size: 44px;
  }

  .pricing__desc {
    font-size: 14px;
  }

  .pricing__features li {
    font-size: 14px;
  }
}

/* Mobile Large (480px - 600px) */
@media (max-width: 600px) {
  .understanding__container {
    padding: 40px 20px;
    margin: 0 0.75rem;
  }

  .meals__card {
    width: 150px;
    height: 216px;
  }

  .final-cta {
    padding: 60px 1rem;
    min-height: 70vh;
  }
}

/* Mobile Small (< 480px) - layout-only tweaks, typography stays from 768px */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 8px;
  }

  .navbar {
    padding-top: 24px;
  }

  .navbar__inner {
    padding: 0 8px 8px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .hero {
    padding-top: 0px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .hero__eyebrow {
    padding: 16px 0.5rem 12px;
  }

  .hero__main {
    padding: 0;
    gap: 0 6px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero__photo {
    width: 110%;
    margin-left: -24px;
  }

  .hero__product {
    margin-top: 20px;
    width: 110%;
    margin-right: 0;
  }

  .hero__card {
    width: calc(100% - 32px);
    margin: -32px 16px 0;
    padding: 32px 24px 24px;
  }

  .hero__card-copy {
    gap: 28px;
  }

  .hero__card-actions {
    gap: 12px;
  }

  .problem {
    padding: 48px 0 40px;
  }

  .problem__cards,
  .process__cards {
    padding: 0 8px;
    gap: 8px;
  }

  .understanding__container {
    padding-bottom: 56px !important;
    padding: 32px 16px;
    margin: 0 3px;
  }

  .understanding__wordmark-img {
    width: 180px;
    height: auto;
  }

  .process {
    padding: 40px 0;
    margin-top:-72px;
  }

  .process__heading {
    margin-bottom: 32px;
  }

  .meals {
    padding: 40px 0 0;
  }

  .meals__heading {
    margin-bottom: 16px;
  }

  .meals__track {
    padding: 0 8px;
    gap: 8px;
  }

  .meals__card {
    width: 136px;
    height: 200px;
    border-radius: 19px;
  }

  .testimonials {
    padding: 40px 0;
  }

  .testimonials__carousel-wrap {
    padding: 36px 0 48px;
    min-height: auto;
  }

  .testimonial-card .testimonials__name {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .testimonial-card .testimonials__quote {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 7;
  }

  .testimonial-card {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .testimonials__row {
    padding-top: 32px;
    padding-bottom: 50px;
    min-height: 320px;
    padding-left: 28px;
    padding-right: 28px;
    box-sizing: border-box;
  }

  .testimonials__track {
    padding: 0 8px;
    gap: 8px;
    box-sizing: border-box;
  }

  .final-cta {
    padding: 48px 1rem;
    min-height: 60vh;
  }

  .final-cta__heading {
    margin-bottom: 32px;
  }

  .navbar__mobile-links {
    gap: 20px;
  }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}
