*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #080a0b;
  --bg-soft: #0c0f10;
  --surface: #111416;
  --surface-2: #171b1d;
  --surface-3: #1d2224;
  --line: #2a3034;
  --line-soft: #1f2528;
  --text: #f5f6f2;
  --text-soft: #d9ddd7;
  --muted: #a9afb2;
  --muted-2: #747d80;
  --accent: #9ad83d;
  --accent-deep: #5f8f1c;
  --warm: #f2a13b;
  --danger: #ff806d;
  --max: 1280px;
}

/* Светлая v2: сохраняет геометрию первого экрана, меняет только цветовую систему. */
body.light-v2 {
  --bg: #fcfcf8;
  --bg-soft: #f7faf2;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #ddebcf;
  --line: #c9d8b7;
  --line-soft: #e1ead6;
  --text: #203426;
  --text-soft: #51634d;
  --muted: #667467;
  --muted-2: #899487;
  --accent: #7ebd37;
  --accent-deep: #426f28;
  --warm: #f0b639;
  --danger: #c84662;
  background: #fcfcf8;
  color: var(--text);
}

body.light-v2 .topbar {
  background: rgba(252, 252, 248, 0.94);
  border-bottom-color: rgba(32, 52, 38, 0.1);
}

body.light-v2 .account-login {
  color: var(--text-soft);
}

body.light-v2 .account-login:hover {
  border-color: rgba(83, 126, 36, 0.45);
  color: var(--text);
}

body.light-v2 .section-note {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .cta {
  color: #18331a;
}

body.light-v2 .cta:hover {
  background: #8ccc45;
}

body.light-v2 .benefit-list li {
  background: #ffffff;
  border: 1px solid #e1ead6;
  color: var(--text-soft);
}

body.light-v2 .benefit-list span {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .product-showcase {
  background: #ddebcf;
}

body.light-v2 .product-showcase::before {
  border-color: rgba(32, 52, 38, 0.18);
}

body.light-v2 .product-card {
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.1);
}

body.light-v2 .pill {
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .day-tabs span {
  background: #f1f5eb;
  color: var(--muted);
}

body.light-v2 .day-tabs .active {
  color: #18331a;
}

body.light-v2 .telegram-row {
  background: #eaf4dd;
  color: var(--text-soft);
}

body.light-v2 .recipe-card {
  background: #ffffff;
  color: #203426;
}

body.light-v2 .recipe-card .muted {
  color: #667467;
}

body.light-v2 .recipe-body h2 {
  color: #203426;
}

body.light-v2 .recipe-meta span {
  background: #f1f5eb;
  color: #51634d;
}

body.light-v2 .nutrition-row div {
  border: 1px solid #d4e0c5;
  background: #f1f5eb;
  color: #203426;
}

body.light-v2 .nutrition-row dt {
  color: #657765;
}

body.light-v2 .cookie-banner {
  border-color: #c9d8b7;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.12);
}

body.light-v2 .cookie-banner p {
  color: #51634d;
}

body.light-v2 .cookie-banner a,
body.light-v2 .cookie-text {
  color: #365f27;
}

body.light-v2 .cookie-button:hover {
  border-color: #7ebd37;
}

body.light-v2 .cookie-dialog {
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(56, 78, 46, 0.16);
}

body.light-v2 .cookie-modal-backdrop {
  background: rgba(32, 52, 38, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(154, 216, 61, 0.12), transparent 28rem),
    linear-gradient(180deg, #080a0b 0%, #090c0d 46%, #0a0d0e 100%);
  color: var(--text);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  background: rgba(8, 10, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand,
.account-actions {
  display: flex;
  align-items: center;
}

.brand {
  width: 66px;
  height: 66px;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.account-actions {
  gap: 10px;
}

.design-switch {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #365f27;
  font-size: 20px;
  font-weight: 760;
  text-decoration: none;
}

.design-switch:hover {
  border-color: #7ebd37;
  color: #203426;
}

.topbar > .legal-back + .design-switch {
  margin-left: auto;
}

.topbar > .legal-back {
  margin-left: auto;
  margin-right: 12px;
}

.account-actions a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.account-login {
  color: var(--text-soft);
}

.account-register {
  border-color: var(--accent) !important;
  background: var(--accent);
  color: #101410;
}

.account-login:hover {
  border-color: rgba(154, 216, 61, 0.55);
  color: var(--text);
}

.screen {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 24px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 86px);
}

.hero-copy,
.product-showcase,
.product-card,
.routine-column,
.menu-week,
.dish-card {
  min-width: 0;
  max-width: 100%;
}

.section-note {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
  font-size: 13px;
  font-weight: 760;
}

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

h1,
.section-heading h2,
.variety-copy h2 {
  text-wrap: balance;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.02;
}

.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 0 24px;
  gap: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #11150d;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.cta:hover {
  background: #abe85a;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  max-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
}

.benefit-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.14);
  color: #c9f27d;
  font-size: 13px;
  font-weight: 900;
}

.product-showcase {
  position: relative;
  min-height: 650px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(154, 216, 61, 0.1), transparent 34%),
    linear-gradient(180deg, #111517, #090c0d);
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  pointer-events: none;
}

.showcase-rail {
  position: absolute;
  top: 30px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.showcase-rail b {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.product-card,
.routine-column,
.menu-week {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-card {
  position: absolute;
  overflow: hidden;
}

.product-card header,
.week-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.product-card header > div,
.week-header > div,
.meal div,
.dish-card div {
  min-width: 0;
}

.product-card header {
  padding: 18px 18px 12px;
}

.muted {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.product-card h2,
.week-header h3 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 750;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-card {
  left: 34px;
  top: 110px;
  width: 318px;
}

.shopping-card {
  z-index: 2;
  right: 44px;
  top: 78px;
  width: 318px;
}

.recipe-card {
  z-index: 3;
  left: 184px;
  bottom: 42px;
  width: 380px;
  background: #f5f6f2;
  color: #121614;
}

.recipe-card .muted {
  color: #5d6664;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 18px 12px;
}

.day-tabs span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 10px;
  background: #0e1213;
  color: var(--muted);
  font-size: 12px;
}

.day-tabs .active {
  background: var(--accent);
  color: #11150d;
  font-weight: 850;
}

.meal-list {
  display: grid;
}

.meal {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
}

.meal img {
  width: 68px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.meal small,
.dish-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.meal strong,
.dish-card strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.shopping-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 8px 18px 16px;
  list-style: none;
}

.shopping-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 14px;
}

.shopping-list b {
  color: var(--text);
}

.telegram-row {
  margin: 0 18px 18px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #0c1011;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.recipe-card > img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.recipe-body {
  padding: 18px;
}

.recipe-body h2 {
  margin: 5px 0 10px;
  color: #11150d;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.recipe-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e8ebe4;
  color: #4c5652;
  font-size: 12px;
  font-weight: 760;
}

.nutrition-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0;
}

.nutrition-row div {
  min-width: 0;
  padding: 8px 7px;
  border-radius: 10px;
  background: #111614;
  color: #f5f6f2;
}

.nutrition-row dt {
  margin-bottom: 3px;
  color: #aeb6b0;
  font-size: 10px;
  font-weight: 760;
}

.nutrition-row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 880;
  line-height: 1.05;
}

.problem {
  padding-top: clamp(88px, 10vw, 132px);
}

.section-heading {
  display: grid;
  justify-items: center;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.variety-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.06;
}

.section-heading > p:last-child,
.variety-copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.routine-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 58px;
}

.routine-column {
  padding: 24px;
  animation: routine-column-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.routine-column.new {
  animation-delay: 220ms;
}

.routine-column h3 {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.routine-column ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.routine-column li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px 12px 46px;
  border-radius: 12px;
  background: #0d1112;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.3;
  animation: routine-step-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(90ms * var(--step, 1));
}

.routine-column li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.routine-column li:nth-child(1) { --step: 1; }
.routine-column li:nth-child(2) { --step: 2; }
.routine-column li:nth-child(3) { --step: 3; }
.routine-column li:nth-child(4) { --step: 4; }
.routine-column li:nth-child(5) { --step: 5; }
.routine-column li:nth-child(6) { --step: 6; }

.old h3 {
  color: #ffb1a6;
}

.old li::before {
  background: rgba(255, 128, 109, 0.14);
  color: #ffb1a6;
}

.new h3 {
  color: #d7f7a0;
}

.new li {
  background: rgba(154, 216, 61, 0.08);
  color: var(--text);
}

.new li::before {
  background: var(--accent);
  color: #11150d;
}

.routine-shift {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  color: var(--accent);
}

.routine-shift span {
  width: 1px;
  height: 100%;
  min-height: 72px;
  background: var(--line);
}

.routine-shift b {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #11150d;
  font-size: 22px;
  overflow: hidden;
  animation: pulse-shift 1800ms ease-in-out infinite;
}

.routine-shift b::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-100%);
  animation: shine-shift 2200ms ease-in-out infinite;
}

.routine-shift i {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.result-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 760px;
  min-height: 84px;
  margin: 48px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(154, 216, 61, 0.32);
  border-radius: 16px;
  background: rgba(154, 216, 61, 0.1);
}

.result-strip span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #11150d;
  font-weight: 900;
}

.result-strip p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.variety {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding-bottom: clamp(92px, 9vw, 132px);
}

.variety-copy h2 {
  margin-bottom: 18px;
}

.menu-week {
  padding: 22px;
  overflow: hidden;
}

.week-header {
  padding-bottom: 20px;
}

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

.dish-card {
  min-height: 208px;
  border-radius: 14px;
  overflow: hidden;
  background: #0e1213;
}

.dish-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.dish-card div {
  padding: 12px;
}

.dish-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 428px;
}

.dish-card.featured img {
  height: 316px;
}

.dish-card.featured strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.variety-caption {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.5;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
  padding-top: clamp(98px, 11vw, 156px);
  padding-bottom: clamp(98px, 11vw, 156px);
}

.process-copy {
  position: sticky;
  top: 124px;
}

.process-copy h2,
.shopping-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.process-copy > p:last-child,
.shopping-intro > p:last-child {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.process-flow {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  list-style: none;
  background: var(--line);
}

.process-flow li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  min-height: 154px;
  padding: 24px;
  background: var(--surface);
}

.process-flow li:hover {
  background: #161d19;
}

.process-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 216, 61, 0.35);
  border-radius: 50%;
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 850;
}

.process-flow small {
  display: block;
  margin-bottom: 7px;
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.process-flow h3 {
  margin-bottom: 7px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.process-flow p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.shopping {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: center;
  padding-top: clamp(96px, 10vw, 144px);
  padding-bottom: clamp(110px, 12vw, 170px);
}

.shopping-calculator {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.ingredient-heading {
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--line);
}

.ingredient-heading span,
.shopping-total span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ingredient-heading h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.recipe-amounts {
  display: grid;
  padding: 8px 26px;
}

.recipe-amounts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 15px;
}

.recipe-amounts b {
  color: var(--text);
}

.shopping-total {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 8px;
  background: var(--line);
}

.shopping-total > div {
  min-height: 112px;
  padding: 20px 24px;
  background: #0d1112;
}

.shopping-total strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.shopping-total .buy-total {
  background: var(--accent);
}

.shopping-total .buy-total span,
.shopping-total .buy-total strong,
.shopping-total .buy-total small {
  color: #11150d;
}

.shopping-total small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 760;
}

.shopping-benefits {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.shopping-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.shopping-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.personalization,
.result {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(400px, 1.18fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
  padding-top: clamp(98px, 11vw, 158px);
  padding-bottom: clamp(98px, 11vw, 158px);
}

.personalization-copy h2,
.result-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.personalization-copy > p:last-child,
.result-intro > p:last-child {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.preferences-form {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.survey-topline {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 22px;
  background: #0d1112;
}

.survey-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.question-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
}

.question-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.survey-title small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
}

.survey-title strong {
  display: block;
  font-size: 15px;
}

.survey-progress {
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 0;
  background: var(--surface);
}

.form-section.wide {
  grid-column: span 2;
}

.field-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
}

.field-title .question-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.field-title .question-icon svg {
  width: 14px;
  height: 14px;
}

.choice-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.choice-row label,
.tag-row label {
  position: relative;
  cursor: pointer;
}

.choice-row input,
.tag-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1112;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.choice-row.compact span {
  min-height: 34px;
  padding: 0 10px;
}

.choice-row input:checked + span,
.tag-row input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #11150d;
}

.exclusions input:checked + span {
  border-color: rgba(255, 128, 109, 0.6);
  background: rgba(255, 128, 109, 0.14);
  color: #ffb1a6;
}

.household-summary {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.household-summary strong {
  color: #d7f7a0;
  font-size: 15px;
}

.household-summary span {
  color: var(--muted);
  font-size: 13px;
}

.form-summary {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px 22px;
  background: #142015;
}

.form-summary span {
  color: #c9f27d;
  font-size: 14px;
}

.form-summary strong {
  color: var(--text);
  font-size: 17px;
}

.result-overview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.result-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.result-overview-head > div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.result-overview-head h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.result-list {
  display: grid;
}

.result-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.result-list article:last-child {
  border-bottom: 0;
}

.result-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.12);
  color: #d7f7a0;
  font-size: 12px;
  font-weight: 850;
}

.result-list h4 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.result-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.budget-saved {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 9px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
  font-size: 12px;
  font-weight: 760;
}

.benefits {
  padding-top: clamp(82px, 8vw, 112px);
  padding-bottom: clamp(82px, 8vw, 112px);
}

.benefits-heading {
  max-width: 840px;
  margin: 0 auto 34px;
  text-align: center;
}

.benefits-heading h2,
.proof-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.benefits-heading p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.benefit-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.benefit-summary li {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 178px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.benefit-summary li:last-child { border-right: 0; }

.benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(154, 216, 61, 0.44);
  border-radius: 50%;
  background: rgba(154, 216, 61, 0.12);
  color: #c9f27d;
}

.benefit-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.benefit-summary p,
.benefit-summary h3 {
  margin: 0;
}

.benefit-summary h3 {
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
}

.benefit-summary h3 + p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: clamp(84px, 9vw, 124px);
  padding-bottom: clamp(88px, 10vw, 136px);
}

.proof-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.proof-copy h2 {
  max-width: 740px;
}

.proof-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.proof-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
}

.proof-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.proof-brand img {
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.proof-people {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar {
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
}

.avatar:first-child { margin-left: 0; }

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-metrics article {
  min-height: 108px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.proof-metrics article:last-child {
  border-right: 0;
}

.proof-metrics strong {
  display: block;
  margin-bottom: 14px;
  color: #d7f7a0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.proof-metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.pricing {
  padding-top: clamp(100px, 11vw, 156px);
  padding-bottom: clamp(100px, 11vw, 156px);
}

.pricing-heading,
.faq-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.pricing-heading h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.price-card-featured {
  border-color: rgba(154, 216, 61, 0.55);
  background: linear-gradient(145deg, rgba(154, 216, 61, 0.12), var(--surface) 48%);
}

.price-card-top span,
.price-card-top p,
.price-card ul { margin: 0; }

.price-card-top span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.price-card-top em {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(154, 216, 61, 0.16);
  color: #c9f27d;
  font-size: 11px;
  font-style: normal;
}

.price-card-top strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-card-top p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.price-card ul {
  display: grid;
  gap: 13px;
  margin-top: 38px;
  padding: 0;
  list-style: none;
}

.price-card li { color: var(--text-soft); font-size: 15px; }
.price-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--accent); }

.price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(154, 216, 61, 0.5);
  border-radius: 10px;
  color: #c9f27d;
  font-size: 16px;
  font-weight: 800;
}

.price-action-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #101410;
}

.faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(400px, 1.25fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
  padding-top: clamp(100px, 11vw, 156px);
  padding-bottom: clamp(100px, 11vw, 156px);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; color: var(--text); font-size: 18px; font-weight: 720; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #c9f27d; font-size: 26px; font-weight: 400; transition: transform 220ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 620px; margin: -3px 42px 22px 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.final-cta {
  padding-top: clamp(106px, 12vw, 170px);
  padding-bottom: clamp(106px, 12vw, 170px);
}

.final-cta-inner {
  max-width: 940px;
  padding: clamp(38px, 7vw, 86px);
  border: 1px solid rgba(154, 216, 61, 0.45);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(154, 216, 61, 0.17), rgba(154, 216, 61, 0.04) 62%, var(--surface));
  text-align: center;
}

.final-cta-inner .section-note { margin-right: auto; margin-left: auto; }
.final-cta-inner > p:not(.section-note) { max-width: 520px; margin: 20px auto 30px; color: var(--muted); font-size: 18px; line-height: 1.5; }

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(24px, 4vw, 48px) 36px;
  border-top: 1px solid var(--line);
}

.not-found {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100vh;
  max-width: 760px;
}

.not-found h1 {
  margin: 16px 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.not-found > p:not(.section-note) {
  max-width: 480px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.footer-product { max-width: 260px; }
.footer-product b { display: block; color: var(--text); font-size: 16px; }
.footer-product p { margin: 7px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.footer-product small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.footer-column { display: grid; align-content: start; justify-items: start; gap: 9px; }
.footer-column > b { margin-bottom: 4px; color: var(--text); font-size: 12px; }
.site-footer a, .footer-meta { color: var(--muted); font-size: 13px; }
.site-footer a:hover, .footer-meta a:hover { color: var(--text); }
.footer-documents { justify-self: end; }

@media (prefers-reduced-motion: no-preference) {
  .proof.is-visible .proof-metrics article {
    animation: proof-metric-in 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .proof.is-visible .proof-metrics article:nth-child(2) {
    animation-delay: 90ms;
  }

  .proof.is-visible .proof-metrics article:nth-child(3) {
    animation-delay: 180ms;
  }
}

@keyframes proof-metric-in {
  from {
    opacity: 0.25;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routine-column-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routine-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-shift {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes shine-shift {
  0%,
  35% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1060px) {
  .hero,
  .variety,
  .process,
  .shopping,
  .personalization,
  .result,
  .proof,
  .faq {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    min-height: 610px;
  }

  .routine-map {
    grid-template-columns: 1fr;
  }

  .routine-shift {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    min-height: 52px;
  }

  .routine-shift span {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }

  .routine-shift b {
    transform: rotate(90deg);
  }

  .process-copy {
    position: static;
  }

  .shopping-benefits {
    grid-column: auto;
  }

  .form-section.wide,
  .form-summary,
  .survey-topline {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 64px;
    padding: 0 20px;
  }

  .brand {
    width: 58px;
    height: 58px;
  }

  .account-actions {
    gap: 7px;
  }

  .account-actions a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .screen {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy,
  .product-showcase,
  .section-heading,
  .variety-copy,
  .menu-week,
  .process-copy,
  .process-flow,
  .shopping-intro,
  .shopping-calculator,
  .shopping-benefits,
  .personalization-copy,
  .preferences-form,
  .result-intro,
  .result-overview,
  .proof-copy,
  .proof-panel {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: 1.06;
  }

  .cta {
    width: 100%;
  }

  .product-showcase {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .product-showcase::before,
  .showcase-rail {
    display: none;
  }

  .product-card {
    position: relative;
    inset: auto;
    width: auto;
  }

  .shopping-card {
    order: 2;
  }

  .menu-card {
    order: 1;
  }

  .recipe-card {
    order: 3;
  }

  .recipe-card > img {
    height: 160px;
  }

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

  .section-heading {
    justify-items: start;
    text-align: left;
  }

  .section-heading h2,
  .variety-copy h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .section-heading > p:last-child,
  .variety-copy > p:last-child {
    font-size: 16px;
  }

  .routine-column {
    padding: 18px;
  }

  .result-strip {
    justify-content: flex-start;
  }

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

  .dish-card,
  .dish-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 206px;
  }

  .dish-card img,
  .dish-card.featured img {
    height: 120px;
  }

  .dish-card.featured strong {
    font-size: 14px;
    letter-spacing: 0;
  }

  .process,
  .shopping,
  .personalization,
  .result,
  .proof {
    gap: 34px;
  }

  .process-copy h2,
  .shopping-intro h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .process-copy > p:last-child,
  .shopping-intro > p:last-child {
    font-size: 16px;
  }

  .process-flow li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .process-number {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .process-flow h3 {
    font-size: 21px;
  }

  .shopping-calculator {
    border-radius: 14px;
  }

  .ingredient-heading,
  .recipe-amounts {
    padding-right: 18px;
    padding-left: 18px;
  }

  .shopping-total > div {
    min-height: 96px;
    padding: 18px;
  }

  .preferences-form {
    grid-template-columns: 1fr;
  }

  .form-section,
  .form-section.wide,
  .form-summary,
  .survey-topline {
    grid-column: auto;
  }

  .form-summary {
    min-height: 64px;
  }

  .personalization-copy h2,
  .result-intro h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .personalization-copy > p:last-child,
  .result-intro > p:last-child {
    font-size: 16px;
  }

  .result-list article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .benefits-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .benefits-heading h2,
  .proof-copy h2,
  .pricing-heading h2,
  .faq-heading h2,
  .final-cta h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .proof-copy {
    display: block;
  }

  .benefits-heading p { margin-top: 14px; font-size: 16px; }
  .benefit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-summary li { min-height: 156px; padding: 20px; }
  .benefit-summary li:nth-child(2) { border-right: 0; }
  .benefit-summary li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .benefit-summary h3 { font-size: 17px; }

  .proof-people { margin-top: 20px; font-size: 14px; }

  .proof-metrics { grid-template-columns: 1fr; }
  .proof-metrics article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-metrics article:last-child { border-bottom: 0; }

  .proof-metrics article {
    min-height: 126px;
    padding: 18px 14px;
  }

  .proof-metrics strong {
    font-size: 36px;
  }

  .proof-metrics span {
    font-size: 12px;
  }

  .pricing-heading,
  .faq-heading { margin-bottom: 32px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; padding: 26px 22px; }
  .price-card ul { margin-top: 28px; }
  .price-action { margin-top: 30px; padding-top: 0; }
  .price-action-primary { padding: 15px 18px; }

  .faq { gap: 28px; }
  .faq-list summary { padding: 18px 0; font-size: 16px; }
  .faq-list p { margin-right: 18px; font-size: 14px; }

  .final-cta-inner { padding: 42px 24px; }
  .final-cta-inner > p:not(.section-note) { font-size: 16px; }

  .site-footer { grid-template-columns: 1fr; justify-items: start; gap: 24px; padding: 22px 20px 32px; }
  .footer-column { gap: 10px; }
  .footer-documents { justify-self: start; }
  .footer-meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; }

}

/* Account access */
.auth-page { min-height: 100vh; background: var(--bg); }
.auth-topbar { max-width: 1280px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 510px); gap: clamp(60px, 10vw, 150px); align-items: center; min-height: calc(100vh - 160px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.auth-intro { max-width: 520px; }
.auth-intro h1 { margin: 16px 0; font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; }
.auth-intro > p:not(.section-note) { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.52; }
.auth-intro ul { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 15px; }
.auth-intro li { display: flex; align-items: center; gap: 10px; }
.auth-intro li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ''; }
.auth-panel { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #0d1210; }
.auth-switch button { min-height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 780; cursor: pointer; }
.auth-switch button[aria-selected="true"] { background: var(--accent); color: #10150e; }
.auth-pane { padding-top: 32px; }
.auth-eyebrow { margin: 0 0 8px; color: #c9f27d; font-size: 13px; font-weight: 760; }
.auth-pane h2 { margin: 0; color: var(--text); font-size: clamp(31px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.03em; }
.auth-copy { margin: 10px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.48; }
.auth-form { display: grid; gap: 14px; }
.auth-form .cta { justify-content: center; width: 100%; margin-top: 8px; }
.auth-recovery { justify-self: start; color: #d7f7a0; font-size: 13px; font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.consent-optional { margin-top: 2px; }

@media (max-width: 820px) {
  .auth-layout { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .auth-intro { max-width: 620px; }
  .auth-panel { max-width: 540px; width: 100%; }
}

@media (max-width: 430px) {
  .auth-layout { padding-top: 58px; padding-bottom: 58px; }
  .auth-intro h1 { font-size: 42px; }
  .auth-intro > p:not(.section-note) { font-size: 16px; }
  .auth-intro ul { display: none; }
  .auth-panel { padding: 18px; }
  .auth-pane { padding-top: 24px; }
}

@media (max-width: 430px) {
  .screen {
    padding-top: 70px;
    padding-bottom: 82px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy,
  .product-showcase,
  .section-heading,
  .variety-copy,
  .menu-week,
  .process-copy,
  .process-flow,
  .shopping-intro,
  .shopping-calculator,
  .shopping-benefits,
  .personalization-copy,
  .preferences-form,
  .result-intro,
  .result-overview,
  .proof-copy,
  .proof-panel {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .section-note {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .benefit-list {
    gap: 8px;
  }

  .benefit-list li {
    min-height: 32px;
    font-size: 13px;
  }

  .product-showcase {
    padding: 14px;
  }

  .product-card header,
  .recipe-body {
    padding: 16px;
  }

  .shopping-list {
    padding: 4px 16px 14px;
  }

  .telegram-row {
    margin: 0 16px 16px;
  }

  .meal {
    grid-template-columns: 62px 1fr;
    padding: 10px 16px;
  }

  .meal img {
    width: 62px;
    height: 52px;
  }

  .day-tabs {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dish-grid {
    gap: 10px;
  }

  .menu-week {
    padding: 16px;
  }
}

/* Legal pages and consent UI */
.legal-page { min-height: 100vh; background: var(--bg); }
.legal-topbar { max-width: 1280px; }
.legal-back { color: var(--muted); font-size: 14px; font-weight: 720; }
.legal-back:hover { color: var(--text); }
.legal-content { max-width: 900px; padding-top: clamp(72px, 8vw, 112px); }
.legal-content h1 { max-width: 760px; margin: 16px 0 34px; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
.legal-content > p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.legal-content section { max-width: 760px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; color: var(--text); font-size: clamp(24px, 3vw, 32px); line-height: 1.16; letter-spacing: -0.02em; }
.legal-content h3 { margin: 24px 0 8px; color: var(--text); font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 16px; line-height: 1.62; }
.legal-content ul, .legal-content ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.legal-content a { color: #c9f27d; text-decoration: underline; text-underline-offset: 3px; }
.legal-placeholder { padding: 14px 16px; border-left: 2px solid #c9f27d; background: rgba(154, 216, 61, 0.07); color: #d7f7a0 !important; }
.legal-placeholder b { color: #efffcf; }
.legal-notice { padding: 0 18px 2px; border-left: 2px solid var(--accent); }
.legal-notice p { color: var(--text); }
.legal-requisites { padding-bottom: 10px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 12px 20px; max-width: 1280px; margin: 0 auto; padding: 28px clamp(24px, 4vw, 48px) 38px; border-top: 1px solid var(--line); }
.legal-footer a, .cookie-settings-link { color: var(--muted); font-size: 13px; }
.legal-footer a:hover, .cookie-settings-link:hover { color: var(--text); }
.cookie-settings-link { padding: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner { position: fixed; right: 24px; bottom: 24px; z-index: 20; width: min(560px, calc(100vw - 48px)); padding: 20px; border: 1px solid rgba(201, 242, 125, 0.35); border-radius: 14px; background: #141a17; box-shadow: 0 20px 64px rgba(0, 0, 0, 0.42); }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cookie-banner a { color: #d7f7a0; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions, .cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 13px; font-weight: 760; cursor: pointer; }
.cookie-button:hover { border-color: rgba(201, 242, 125, 0.5); }
.cookie-primary { border-color: var(--accent); background: var(--accent); color: #10150e; }
.cookie-text { border-color: transparent; color: #d7f7a0; }
.cookie-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.cookie-dialog { position: relative; width: min(620px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: clamp(24px, 5vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: #121715; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5); }
.cookie-dialog h2 { margin: 10px 0 8px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.03em; }
.cookie-dialog-copy { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.cookie-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.cookie-category { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-category input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.cookie-category b { display: block; color: var(--text); font-size: 16px; }
.cookie-category small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.42; }
.cookie-dialog-actions { margin-top: 18px; }
.has-cookie-modal { overflow: hidden; }

.mvp-states { max-width: 1180px; }
.states-heading { max-width: 720px; margin-bottom: 64px; }
.states-heading h1 { margin: 16px 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.035em; }
.states-heading > p:not(.section-note) { color: var(--muted); font-size: 17px; line-height: 1.55; }
.state-section { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.state-section-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.state-section-head > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(154, 216, 61, 0.13); color: #c9f27d; font-size: 12px; font-weight: 850; }
.state-section-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.consent-form { display: grid; max-width: 670px; gap: 14px; margin-top: 24px; }
.form-label { display: grid; gap: 8px; color: var(--text); font-size: 14px; font-weight: 720; }
.form-label input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #0c100f; color: var(--text); font: inherit; }
.consent-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent-check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); }
.consent-check a { color: #d7f7a0; text-decoration: underline; text-underline-offset: 2px; }
.consent-form .cta { justify-self: start; margin-top: 6px; }
.consent-form .cta:disabled { cursor: not-allowed; opacity: 0.42; filter: grayscale(1); }
.form-message { margin: 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: rgba(154, 216, 61, 0.08); color: #d7f7a0; font-size: 14px; line-height: 1.45; }
.checkout-grid { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-top: 24px; }
.checkout-summary { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #0e1311; }
.checkout-summary h3 { margin: 8px 0; font-size: 25px; }
.checkout-summary > b { color: #d7f7a0; font-size: 28px; }
.checkout-summary .legal-placeholder { margin: 18px 0 0; font-size: 13px; line-height: 1.45; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.status-card, .empty-state { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #0e1311; }
.status-card > span { color: var(--muted); font-size: 13px; }
.status-card h3, .empty-state h3 { margin: 9px 0 8px; font-size: 20px; letter-spacing: -0.015em; }
.status-card p, .empty-state p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.status-success { border-color: rgba(154, 216, 61, 0.45); }
.status-success h3 { color: #d7f7a0; }
.status-pending { border-color: rgba(240, 190, 91, 0.46); }
.status-pending h3 { color: #f2cc85; }
.status-error { border-color: rgba(226, 120, 114, 0.5); }
.status-error h3, .status-cancelled h3 { color: #f1b0aa; }
.status-cancelled { border-color: rgba(226, 120, 114, 0.3); }
.text-action { margin-top: 14px; padding: 0; border: 0; background: transparent; color: #d7f7a0; font: inherit; font-size: 14px; font-weight: 760; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.empty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.empty-state { display: grid; justify-items: start; min-height: 220px; }
.empty-state > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(154, 216, 61, 0.12); color: #c9f27d; }
.empty-state .cta { align-self: end; margin-top: 20px; }

@media (max-width: 720px) {
  .legal-content { padding-top: 64px; }
  .legal-content h1 { font-size: clamp(37px, 11vw, 52px); }
  .legal-content p, .legal-content li { font-size: 15px; }
  .legal-footer { padding: 24px 20px 32px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 16px; }
  .cookie-banner-actions, .cookie-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .checkout-grid, .status-grid, .empty-grid { grid-template-columns: 1fr; }
  .state-section { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .routine-column,
  .routine-column li,
  .routine-shift b,
  .routine-shift b::before {
    animation: none !important;
  }
}

/* Full light theme: color only, shared layout remains unchanged. */
body.light-v2 .routine-column,
body.light-v2 .menu-week,
body.light-v2 .shopping-calculator,
body.light-v2 .result-overview,
body.light-v2 .proof-panel,
body.light-v2 .price-card,
body.light-v2 .auth-panel,
body.light-v2 .state-section {
  background: #ffffff;
}

body.light-v2 .routine-column li,
body.light-v2 .dish-card,
body.light-v2 .shopping-total > div,
body.light-v2 .survey-topline,
body.light-v2 .choice-row span,
body.light-v2 .tag-row span,
body.light-v2 .form-summary,
body.light-v2 .auth-switch,
body.light-v2 .form-label input,
body.light-v2 .checkout-summary,
body.light-v2 .status-card,
body.light-v2 .empty-state {
  background: #f7faf2;
}

body.light-v2 .routine-column.old li {
  background: #fff3f5;
}

body.light-v2 .old h3,
body.light-v2 .old li::before,
body.light-v2 .exclusions input:checked + span,
body.light-v2 .status-error h3,
body.light-v2 .status-cancelled h3 {
  color: #a73550;
}

body.light-v2 .old li::before {
  background: #f8dce3;
}

body.light-v2 .new h3,
body.light-v2 .process-flow small,
body.light-v2 .price-card-top em,
body.light-v2 .budget-saved,
body.light-v2 .household-summary strong,
body.light-v2 .survey-progress {
  color: #365f27;
}

body.light-v2 .new li {
  background: #eef7e6;
}

body.light-v2 .new li::before,
body.light-v2 .routine-shift b,
body.light-v2 .result-strip span {
  color: #18331a;
}

body.light-v2 .process-flow li:hover {
  background: #f1f7e9;
}

body.light-v2 .process-number,
body.light-v2 .benefit-icon,
body.light-v2 .result-index,
body.light-v2 .question-icon,
body.light-v2 .state-section-head > span,
body.light-v2 .empty-state > span {
  border-color: #bcd49f;
  background: #eaf4dd;
  color: #365f27;
}

body.light-v2 .dish-card strong,
body.light-v2 .meal strong {
  color: #203426;
}

body.light-v2 .shopping-total .buy-total {
  background: #7ebd37;
}

body.light-v2 .shopping-total .buy-total span,
body.light-v2 .shopping-total .buy-total strong,
body.light-v2 .shopping-total .buy-total small,
body.light-v2 .choice-row input:checked + span,
body.light-v2 .tag-row input:checked + span {
  color: #18331a;
}

body.light-v2 .form-summary {
  border-top: 1px solid #c9d8b7;
}

body.light-v2 .form-summary span {
  color: #365f27;
}

body.light-v2 .exclusions input:checked + span {
  border-color: #d47b8d;
  background: #fff0f3;
}

body.light-v2 .proof-metrics strong {
  color: #365f27;
}

body.light-v2 .price-card-featured {
  border-color: #a9cb85;
  background: #f4faed;
}

body.light-v2 .price-action {
  border-color: #b8d69a;
  color: #365f27;
}

body.light-v2 .price-action-primary {
  border-color: #7ebd37;
  background: #7ebd37;
  color: #18331a;
}

body.light-v2 .faq-list summary span,
body.light-v2 .auth-eyebrow,
body.light-v2 .auth-recovery,
body.light-v2 .consent-check a,
body.light-v2 .text-action {
  color: #365f27;
}

body.light-v2 .legal-content a {
  color: #365f27;
}

body.light-v2 .legal-placeholder,
body.light-v2 .form-message {
  border-left-color: #f0b639;
  background: #fff7df;
  color: #69531c !important;
}

body.light-v2 .legal-placeholder b {
  color: #564214;
}

body.light-v2 .cookie-banner,
body.light-v2 .cookie-dialog {
  border-color: #c9d8b7;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(56, 78, 46, 0.12);
}

body.light-v2 .cookie-banner p,
body.light-v2 .cookie-dialog-copy {
  color: #51634d;
}

body.light-v2 .cookie-banner a,
body.light-v2 .cookie-text {
  color: #365f27;
}

body.light-v2 .cookie-modal-backdrop {
  background: rgba(32, 52, 38, 0.28);
}

body.light-v2 .status-success h3 {
  color: #365f27;
}

body.light-v2 .status-pending h3 {
  color: #8d6517;
}
