/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-50:  #e8f4fd;
  --blue-100: #d6ebfa;
  --blue-200: #bbdefb;
  --blue-300: #4FC3F7;
  --blue-400: #29B6F6;
  --blue-500: #1E88E5;
  --blue-600: #1976D2;
  --blue-700: #0d47a1;
  --bg:       #ffffff;
  --bg-soft:  #f5faff;
  --bg-card:  #ffffff;
  --border:   #dde8f3;
  --border-strong: #bcd4ea;
  --text:     #0b1a2a;
  --text-muted: #4f6176;
  --white:    #ffffff;
  --radius:   18px;
  --radius-sm: 12px;
  --grad-blue: linear-gradient(165deg, #4FC3F7 0%, #32acef 52%, #1E88E5 100%);
  --grad-tab:  linear-gradient(155deg, #53c8f8 0%, #2b9deb 56%, #1E88E5 100%);
  --workflow-header-gradient: linear-gradient(95deg, #5fbef0 0%, #2f9de7 55%, #1e88e5 100%);
  --summary-header-gradient: linear-gradient(90deg, #5ebce9 0%, #1e88e5 100%);
  --module-step-row-gap: 18px;
  --shadow-sm: 0 6px 14px rgba(30, 136, 229, 0.10);
  --shadow-md: 0 14px 34px rgba(30, 136, 229, 0.16);
  --shadow-card: 0 8px 24px rgba(15, 30, 46, 0.055);
  --shadow-card-hover: 0 14px 36px rgba(15, 30, 46, 0.085);
  --shadow-soft: 0 16px 40px rgba(13, 71, 161, 0.10);
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --how-summary-shell-height: clamp(198px, 18.5vw, 260px);
  --site-container-max: 1680px;
  --site-gutter: clamp(16px, 2vw, 28px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--site-container-max);
  margin: 0 auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}
.section { padding: 96px 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; }

a, button {
  transition:
    color 0.24s var(--ease-standard),
    background-color 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard),
    transform 0.24s var(--ease-standard),
    opacity 0.24s var(--ease-standard);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--grad-tab); color: #fff; border-color: rgba(255, 255, 255, 0.22); box-shadow: var(--shadow-sm);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px 1px 50% 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 14px 30px rgba(13, 71, 161, 0.20); filter: brightness(1.03); }

.btn-outline { background: #fff; color: var(--blue-600); border-color: var(--border-strong); box-shadow: 0 2px 8px rgba(15, 30, 46, 0.04); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }

.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: 0 2px 8px rgba(15, 30, 46, 0.035); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); background: var(--blue-50); }

/* BRAND HEADER */
.brand-header { padding: 56px 0 28px; text-align: center; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); }
.brand-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.brand-logo-img { width: min(100%, 520px); height: auto; }

.brand-mark {
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 900; letter-spacing: -3px; line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand-tagline {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600; color: #607080; letter-spacing: 2px;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 30, 46, 0.04);
}
.nav-inner { display: flex; align-items: center; justify-content: center; height: 64px; }
.logo { font-size: 20px; font-weight: 800; color: var(--blue-700); letter-spacing: -0.5px; }
.logo span { color: var(--blue-400); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-600); }

/* HERO */
.hero {
  position: relative; padding: 30px 0 32px; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}
.hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(40px, 6vw, 68px); font-weight: 900; letter-spacing: -2px;
  color: var(--text); margin-bottom: 18px; line-height: 1.05;
}
.hero-title .headline-line { display: block; }
.hero-title .headline-line--tight { white-space: nowrap; }

.hero-title .gradient-text {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 580px; margin: 0 auto 30px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 64px; }

.section-label {
  display: inline-block; background: var(--blue-50); color: var(--blue-600);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
  border: 1px solid var(--blue-100);
}

.section-header h2 { font-size: clamp(28px, 4vw, 42px); color: var(--text); letter-spacing: -1.1px; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.62; }

/* HOW IT WORKS */
.how-it-works {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.how-it-works.section {
  padding-top: 20px;
  padding-bottom: 40px;
}

.how-it-works .container {
  width: 100%;
  max-width: var(--site-container-max);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}

.how-it-works .section-header {
  position: relative;
  width: 100%;
  margin: 0 auto 18px;
  padding: 22px 24px 76px;
  border-radius: 22px;
  border: 1px solid rgba(30, 136, 229, 0.17);
  background: #ffffff;
  box-shadow:
    0 10px 28px rgba(15, 30, 46, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.how-it-works .section-header > :not(.how-mode-guides) {
  position: relative;
  z-index: 1;
}

.how-it-works .section-header h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 3.4vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.15px;
  color: var(--text);
}

.how-it-works .section-sub {
  font-size: 16px;
  max-width: 680px;
}

.how-mode-intro {
  position: relative;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

.how-mode-title-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 0;
  isolation: isolate;
}

.how-mode-title-row::before {
  content: none;
}

.how-mode-title-row::after {
  content: none;
}

.how-mode-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(66px, 6vw, 96px);
  line-height: 0.97;
  font-weight: 900;
  letter-spacing: -2.35px;
  color: #082347;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 28px rgba(13, 71, 161, 0.18);
}

.how-mode-title span {
  color: var(--blue-500);
  -webkit-text-fill-color: var(--blue-500);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(30, 136, 229, 0.18);
}

.how-mode-accent {
  display: none;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-5px);
}

.how-mode-accent span {
  display: block;
  height: 3.2px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.9);
  box-shadow: 0 0 0 1px rgba(30, 136, 229, 0.09);
}

.how-mode-accent--left span:nth-child(1) {
  width: 26px;
  transform: rotate(4deg);
}

.how-mode-accent--left span:nth-child(2) {
  width: 14px;
  transform: translateX(8px) rotate(-24deg);
}

.how-mode-accent--right span:nth-child(1) {
  width: 26px;
  transform: rotate(-4deg);
}

.how-mode-accent--right span:nth-child(2) {
  width: 14px;
  transform: translateX(-8px) rotate(24deg);
}

.how-mode-sub {
  margin: 8px auto 0;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.58;
  color: var(--text-muted);
  max-width: 760px;
}

.how-mode-guides {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: min(calc(100% - 36px), 1030px);
  height: 174px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.how-mode-guide-svg {
  position: absolute;
  bottom: 0;
  display: block;
  width: clamp(198px, 22vw, 286px);
  height: 100%;
  overflow: visible;
  opacity: 0.88;
}

.how-mode-guide-svg--left {
  left: 12%;
}

.how-mode-guide-svg--right {
  right: 12%;
}

.how-mode-guide-path,
.how-mode-guide-head {
  fill: none;
  stroke: rgba(71, 85, 105, 0.94);
  stroke-width: 5.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-mode-guide-svg--right .how-mode-guide-path,
.how-mode-guide-svg--right .how-mode-guide-head {
  stroke: rgba(30, 136, 229, 0.96);
}

.how-explainer-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 auto;
}

.how-explainer-scroll::-webkit-scrollbar {
  height: 8px;
}

.how-explainer-scroll::-webkit-scrollbar-track {
  background: rgba(191, 216, 243, 0.34);
  border-radius: 999px;
}

.how-explainer-scroll::-webkit-scrollbar-thumb {
  background: rgba(54, 140, 224, 0.42);
  border-radius: 999px;
}

.how-explainer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 24px 24px;
  border-radius: 22px;
  border: 1px solid rgba(30, 136, 229, 0.17);
  background: #FFFFFF;
  box-shadow:
    0 10px 28px rgba(15, 30, 46, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.how-explainer::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
}

.how-explainer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 830px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  text-align: center;
}

.how-explainer-heading {
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0;
}

.how-explainer-panel--manual .how-explainer-heading {
  color: #1f3148;
}

.how-explainer-panel--targets .how-explainer-heading {
  color: #2f7ec8;
}

.how-flow-panel {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(129, 153, 182, 0.25);
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  box-shadow:
    0 10px 22px rgba(20, 37, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.how-shot-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(30, 136, 229, 0.24);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  box-shadow:
    0 10px 22px rgba(20, 37, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1039 / 911;
}

.how-shot-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: none;
  border-radius: 0;
  border: 0;
  background: transparent;
  filter: contrast(1.14) saturate(1.08);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.how-summary-wrap {
  width: 100%;
  margin: 0;
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(25, 118, 210, 0.48);
  background: linear-gradient(180deg, rgba(232, 244, 253, 0.98) 0%, rgba(214, 235, 250, 0.94) 100%);
  box-shadow:
    0 10px 22px rgba(25, 118, 210, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-summary-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(25, 118, 210, 0.3);
  background: #ffffff;
  filter: hue-rotate(28deg) saturate(1.24) contrast(1.05);
}

.how-summary-wrap--targets-structured,
.how-summary-wrap--manual-structured {
  padding: 0;
  height: var(--how-summary-shell-height);
  border-radius: 20px;
  border: 1px solid rgba(25, 118, 210, 0.46);
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.98) 0%, rgba(227, 240, 252, 0.96) 100%);
  box-shadow:
    0 10px 22px rgba(25, 118, 210, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.how-summary-headbar {
  position: relative;
  width: 100%;
  min-height: 40px;
  padding: 9px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e88e5;
  background-image: var(--summary-header-gradient);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-summary-headbar-help {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1e88e5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 2px 6px rgba(6, 34, 67, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.how-summary-media {
  position: relative;
  padding: 8px 3px 3px;
  overflow: hidden;
}

.how-summary-wrap--targets-structured .how-summary-media,
.how-summary-wrap--manual-structured .how-summary-media {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
}

.how-summary-media--targets {
  width: 100%;
  padding: clamp(14px, 1.2vw, 18px) 6px clamp(8px, 0.7vw, 12px);
  flex-direction: column;
  justify-content: center;
  gap: clamp(5px, 0.7vw, 10px);
  background: #ffffff;
}

.how-summary-media--manual {
  padding: 8px 3px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-summary-wrap--targets-structured img {
  filter: none;
}

.how-summary-target-group {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3px, 0.36vw, 5px);
  flex: 0 0 auto;
}

.how-summary-target-row {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 118, 210, 0.28);
  border-radius: 9px;
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(25, 118, 210, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.how-summary-target-row--targets {
  aspect-ratio: 1382 / 150;
}

.how-summary-target-row--actual {
  aspect-ratio: 1382 / 159;
}

.how-summary-target-row img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.how-summary-target-row--targets img {
  top: 0;
}

.how-summary-target-row--actual img {
  top: -94.34%;
}

.how-summary-wrap--targets-structured .how-summary-media::after {
  content: none;
  position: absolute;
  inset: 0;
  background-image: url("comparison-targets-top.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  clip-path: inset(0 0 52% 0);
  filter: hue-rotate(16deg) saturate(1.42) contrast(1.02);
  pointer-events: none;
  z-index: 3;
}

.how-summary-wrap--manual-structured img {
  filter: none;
  margin-top: 0;
  transform: none;
  height: auto;
}

.how-summary-media--manual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  transform: none;
}

.how-summary-inline-label {
  color: #8b9cb2;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

.how-explainer-panel--manual .how-summary-wrap {
  margin-bottom: 0;
}

.how-explainer-panel--manual .how-summary-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}

.how-direction-arrows {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: -2px 0 -2px;
}

.how-explainer-panel--manual .how-direction-arrows {
  --arrow-color: #54657d;
}

.how-direction-arrows span {
  position: relative;
  width: 2.5px;
  height: 24px;
  border-radius: 999px;
  background: var(--arrow-color, var(--blue-500));
  opacity: 1;
  will-change: transform, opacity;
}

.how-direction-arrows--up {
  --arrow-color: var(--blue-500);
}

.how-direction-arrows--down {
  --arrow-color: var(--blue-500);
}

.how-direction-arrows--up span {
  animation: howArrowUpFlow 1.9s ease-in-out infinite;
}

.how-direction-arrows--down span {
  animation: howArrowDownFlow 1.9s ease-in-out infinite;
}

.how-direction-arrows span:nth-child(2) {
  animation-delay: 0.16s;
}

.how-direction-arrows span:nth-child(3) {
  animation-delay: 0.32s;
}

.how-direction-arrows--up span::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--arrow-color, var(--blue-500));
}

.how-direction-arrows--down span::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--arrow-color, var(--blue-500));
}

@keyframes howArrowUpFlow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.62;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes howArrowDownFlow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.66;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-direction-arrows span {
    animation: none;
    opacity: 1;
  }
}

.how-explainer-panel--manual .how-flow-panel {
  border-color: rgba(136, 151, 173, 0.32);
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
}

.how-explainer-panel--targets .how-flow-panel {
  border-color: rgba(77, 154, 230, 0.34);
  background: linear-gradient(180deg, #eaf5ff 0%, #dfefff 100%);
}

.how-flow-image-frame {
  margin: 0;
  padding: 12px;
  overflow: hidden;
}

.how-flow-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(122, 147, 177, 0.26);
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(18, 35, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.how-flow-image-frame--top {
  padding: 12px;
  height: 152px;
}

.how-flow-image-frame--top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-flow-image-frame--manual-top img {
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.9) contrast(0.98);
}

.how-flow-image-frame--targets-top img {
  object-position: center center;
  filter: saturate(1.06) contrast(1.02);
  border-color: rgba(77, 154, 230, 0.3);
}

.how-flow-image-frame--meals {
  height: 412px;
}

.how-flow-image-frame--manual-top {
  height: auto;
  padding-top: 16px;
  padding-bottom: 16px;
}

.how-flow-image-frame--meals img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.how-flow-image-frame--manual-meals img {
  filter: saturate(0.9) contrast(0.99);
}

.how-flow-image-frame--targets-meals img {
  filter: saturate(1.06) contrast(1.03);
}

.how-flow-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 19px 19px 0 0;
  color: #f1f7ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: linear-gradient(100deg, #5fb9f4 0%, #2f8ddb 50%, #1f76cb 100%);
}

.how-flow-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.how-flow-subhead {
  padding: 10px 12px 6px;
  text-align: center;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: rgba(126, 143, 166, 0.95);
}

.how-flow-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 14px 14px;
  border: 1px solid rgba(122, 147, 177, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.how-explainer-panel--targets .how-flow-metrics-row {
  border-color: rgba(77, 154, 230, 0.32);
}

.how-flow-metric {
  min-width: 0;
  text-align: center;
  padding: 12px 8px 10px;
}

.how-flow-metric + .how-flow-metric {
  border-left: 1px solid rgba(122, 147, 177, 0.24);
}

.how-explainer-panel--targets .how-flow-metric + .how-flow-metric {
  border-left-color: rgba(77, 154, 230, 0.28);
}

.how-flow-value {
  display: block;
  font-size: clamp(26px, 2.55vw, 42px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.9px;
}

.how-explainer-panel--manual .how-flow-value {
  color: #54657d;
}

.how-explainer-panel--targets .how-flow-value {
  color: #2f8ddb;
}

.how-flow-delta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1;
  color: rgba(128, 142, 161, 0.92);
}

.how-flow-delta--pos {
  color: #16a34a;
  font-weight: 700;
}

.how-flow-name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 700;
}

.how-explainer-panel--manual .how-flow-name {
  color: rgba(83, 101, 125, 0.92);
}

.how-explainer-panel--targets .how-flow-name {
  color: #2f7ec8;
}

.how-flow-panel--targets-top .how-flow-subhead:first-of-type {
  padding-top: 12px;
}

.how-flow-panel--meals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.how-meal-preview {
  border-radius: 14px;
  border: 1px solid rgba(129, 153, 182, 0.32);
  overflow: hidden;
  background: #f7fafe;
  box-shadow:
    0 5px 13px rgba(20, 37, 58, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.how-explainer-panel--manual .how-meal-preview {
  border-color: rgba(136, 151, 173, 0.34);
  background: linear-gradient(180deg, #f7f9fd 0%, #f1f4fa 100%);
}

.how-explainer-panel--targets .how-meal-preview {
  border-color: rgba(77, 154, 230, 0.34);
  background: linear-gradient(180deg, #f1f8ff 0%, #e7f2ff 100%);
}

.how-meal-preview-head {
  padding: 9px 12px 8px;
  text-align: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  color: #f6fbff;
  background: linear-gradient(100deg, #76b9e9 0%, #56a5dc 50%, #3f92d1 100%);
}

.how-explainer-panel--targets .how-meal-preview-head {
  background: linear-gradient(100deg, #5fb9f4 0%, #2f8ddb 50%, #1f76cb 100%);
}

.how-meal-preview-actions {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(129, 153, 182, 0.22);
}

.how-explainer-panel--targets .how-meal-preview-actions {
  border-bottom-color: rgba(77, 154, 230, 0.26);
}

.how-meal-preview-actions span {
  border-radius: 7px;
  border: 1px solid rgba(73, 153, 225, 0.35);
  padding: 3px 7px;
  background: linear-gradient(100deg, #58b3ef 0%, #2f8ddb 100%);
  color: #eef7ff;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.how-meal-preview-macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(129, 153, 182, 0.2);
}

.how-explainer-panel--targets .how-meal-preview-macros {
  border-bottom-color: rgba(77, 154, 230, 0.24);
}

.how-meal-preview-macros > div {
  min-width: 0;
  text-align: center;
  padding: 9px 6px 8px;
}

.how-meal-preview-macros > div + div {
  border-left: 1px solid rgba(129, 153, 182, 0.18);
}

.how-explainer-panel--targets .how-meal-preview-macros > div + div {
  border-left-color: rgba(77, 154, 230, 0.22);
}

.how-meal-preview-macros strong {
  display: block;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.15px;
}

.how-explainer-panel--manual .how-meal-preview-macros strong {
  color: #576a83;
}

.how-explainer-panel--targets .how-meal-preview-macros strong {
  color: #2f7ec8;
}

.how-meal-preview-macros span {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: rgba(90, 110, 134, 0.82);
}

.how-meal-preview-foods {
  list-style: none;
  padding: 7px 10px 8px;
}

.how-meal-preview-foods li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  line-height: 1.35;
  color: #526279;
  padding: 2px 0;
}

.how-meal-preview-foods li span:last-child {
  color: #889ab2;
  white-space: nowrap;
}

.how-explainer-summary {
  width: 100%;
  border-radius: 24px;
  padding: 18px 18px 16px;
}

.how-explainer-panel--manual .how-explainer-summary {
  background: linear-gradient(180deg, #f4f6fa 0%, #ebeff6 100%);
  border: 1px solid rgba(78, 94, 117, 0.18);
  box-shadow:
    0 10px 22px rgba(23, 35, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.how-explainer-panel--targets .how-explainer-summary {
  background: linear-gradient(180deg, #e9f3ff 0%, #dcedff 100%);
  border: 1px solid rgba(54, 140, 224, 0.3);
  box-shadow:
    0 12px 24px rgba(30, 136, 229, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.how-explainer-summary-title {
  text-align: center;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.how-explainer-panel--manual .how-explainer-summary-title {
  color: #2f3e50;
}

.how-explainer-panel--targets .how-explainer-summary-title {
  color: #2f7ec8;
}

.how-explainer-macro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.how-explainer-macro {
  min-width: 0;
  padding: 15px 10px 13px;
  text-align: center;
  border-radius: 14px;
}

.how-explainer-panel--manual .how-explainer-macro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 255, 0.9) 100%);
  border: 1px solid rgba(78, 94, 117, 0.2);
}

.how-explainer-panel--targets .how-explainer-macro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 251, 255, 0.92) 100%);
  border: 1px solid rgba(54, 140, 224, 0.24);
}

.how-explainer-macro-value {
  display: block;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.how-explainer-panel--manual .how-explainer-macro-value {
  color: #324156;
}

.how-explainer-panel--targets .how-explainer-macro-value {
  color: #2f7ec8;
}

.how-explainer-macro-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.how-explainer-panel--manual .how-explainer-macro-label {
  color: rgba(59, 74, 93, 0.82);
}

.how-explainer-panel--targets .how-explainer-macro-label {
  color: rgba(44, 116, 190, 0.92);
}

.how-explainer-arrows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 92%;
  margin: 4px 0 8px;
}

.how-explainer-arrow {
  position: relative;
  width: 8px;
  height: 48px;
  margin: 0 auto;
  border-radius: 99px;
  background: currentColor;
}

.how-explainer-panel--manual .how-explainer-arrow {
  color: rgba(131, 146, 168, 0.98);
}

.how-explainer-panel--manual .how-explainer-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 14px solid currentColor;
}

.how-explainer-panel--targets .how-explainer-arrow {
  color: rgba(52, 138, 223, 0.98);
}

.how-explainer-panel--targets .how-explainer-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid currentColor;
}

.how-explainer-meals {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
}

.how-explainer-panel--manual .how-explainer-meals {
  background: linear-gradient(180deg, #f3f6fb 0%, #eaeff8 100%);
  border: 1px solid rgba(78, 94, 117, 0.18);
}

.how-explainer-panel--targets .how-explainer-meals {
  background: linear-gradient(180deg, #ebf5ff 0%, #e0efff 100%);
  border: 1px solid rgba(54, 140, 224, 0.25);
}

.how-explainer-meal {
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow:
    0 5px 12px rgba(14, 31, 48, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.how-explainer-panel--manual .how-explainer-meal {
  border: 1px solid rgba(78, 94, 117, 0.2);
  background: #f2f4f8;
}

.how-explainer-panel--targets .how-explainer-meal {
  border: 1px solid rgba(54, 140, 224, 0.25);
  background: #edf6ff;
}

.how-explainer-meal-title {
  display: block;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.how-explainer-panel--manual .how-explainer-meal-title {
  color: #f6f8fb;
  background: linear-gradient(180deg, #adb6c4 0%, #9aa4b6 100%);
}

.how-explainer-panel--targets .how-explainer-meal-title {
  color: #ffffff;
  background: linear-gradient(100deg, #5fb9f4 0%, #2f8ddb 50%, #1f76cb 100%);
}

.how-explainer-meal-macros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 9px 7px 8px;
}

.how-explainer-meal-metric {
  border-radius: 8px;
  padding: 6px 4px;
}

.how-explainer-panel--manual .how-explainer-meal-metric {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(127, 142, 164, 0.28);
}

.how-explainer-panel--targets .how-explainer-meal-metric {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(54, 140, 224, 0.28);
}

.how-explainer-meal-metric-value {
  display: block;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.how-explainer-panel--manual .how-explainer-meal-metric-value {
  color: #4c5d74;
}

.how-explainer-panel--targets .how-explainer-meal-metric-value {
  color: #2f7ec8;
}

.how-explainer-meal-metric-label {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.how-explainer-panel--manual .how-explainer-meal-metric-label {
  color: rgba(76, 93, 116, 0.78);
}

.how-explainer-panel--targets .how-explainer-meal-metric-label {
  color: rgba(47, 126, 200, 0.84);
}

.how-explainer-caption {
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.25px;
  margin: 2px 0 2px;
}

.how-explainer-panel--manual .how-explainer-caption {
  color: rgba(68, 82, 102, 0.92);
}

.how-explainer-panel--targets .how-explainer-caption {
  color: rgba(42, 114, 188, 0.94);
}

.how-explainer-detail {
  max-width: 52ch;
  margin: 0 auto 4px;
  font-size: clamp(14px, 1.06vw, 16px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.how-step-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow:
    0 10px 26px rgba(30, 136, 229, 0.11),
    0 0 0 1px rgba(79, 195, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 0.24s var(--ease-standard), box-shadow 0.24s var(--ease-standard), border-color 0.24s var(--ease-standard);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-step-card:hover {
  border-color: var(--blue-300);
  transform: translateY(-4px);
  box-shadow:
    0 14px 34px rgba(30, 136, 229, 0.16),
    0 0 0 1px rgba(79, 195, 247, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.how-step-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.how-step-visual {
  display: none;
  width: 100%;
  max-width: 280px;
  margin: 8px auto 18px;
  border-radius: 14px;
  border: 1px solid var(--blue-100);
  background: #fff;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.how-step-card--targets-visual {
  padding-left: 16px;
  padding-right: 16px;
}

.how-step-card--targets-visual .how-step-icon {
  margin-bottom: 8px;
}

.how-step-card--targets-empty-visual,
.how-step-card--targets-filled-visual {
  padding-left: 16px;
  padding-right: 16px;
}

.how-step-card--targets-empty-visual .how-step-icon,
.how-step-card--targets-filled-visual .how-step-icon {
  margin-bottom: 8px;
}

.how-step-card--targets-visual .how-step-visual,
.how-step-card--targets-empty-visual .how-step-visual,
.how-step-card--targets-filled-visual .how-step-visual {
  max-width: 340px;
  margin: 0 auto 12px;
}

.how-step-card--targets-empty-visual .how-step-visual,
.how-step-card--targets-filled-visual .how-step-visual {
  border-radius: 14px;
  border: 1px solid var(--blue-100);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  aspect-ratio: 715 / 724;
}

.how-step-visual--mockup {
  padding: 8px;
}

.how-step-visual-stage {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.how-step-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.how-step-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  touch-action: pan-y;
  cursor: grab;
}

.how-step-card--targets-visual .how-step-carousel-stage {
  aspect-ratio: 715 / 724;
}

.how-step-carousel-stage.is-dragging {
  cursor: grabbing;
}

.how-step-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.how-step-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  pointer-events: none;
}

.how-step-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.16);
  z-index: 4;
}

.how-step-carousel-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 136, 229, 0.35);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.how-step-carousel-dot:hover {
  background: rgba(30, 136, 229, 0.62);
}

.how-step-carousel-dot.is-active {
  background: var(--blue-600);
  transform: scale(1.16);
}

.how-step-carousel-dot:focus-visible {
  outline: 2px solid rgba(30, 136, 229, 0.38);
  outline-offset: 2px;
}

.how-step-carousel[data-carousel-enabled="false"] .how-step-carousel-dots {
  display: none;
}

.how-step-carousel[data-carousel-enabled="false"] .how-step-carousel-stage {
  cursor: default;
}

.how-step-card--targets-empty-visual .how-step-visual-stage img,
.how-step-card--targets-filled-visual .how-step-visual-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.how-step-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.how-step-visual .how-step-carousel-slide {
  width: 100%;
  height: 100%;
}

.how-it-works[data-how-mode="targets"] .how-step-card--targets-visual .how-step-visual { display: block; }
.how-it-works[data-how-mode="targets"] .how-step-card--targets-empty-visual .how-step-visual { display: block; }
.how-it-works[data-how-mode="targets"] .how-step-card--targets-filled-visual .how-step-visual { display: block; }

.how-it-works[data-how-mode="targets"] .how-step-card--targets-empty-visual .how-step-carousel-slide,
.how-it-works[data-how-mode="targets"] .how-step-card--targets-filled-visual .how-step-carousel-slide {
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.how-it-works[data-how-mode="manual"] .how-step-card--targets-visual .how-step-visual { display: block; }
.how-it-works[data-how-mode="manual"] .how-step-card--targets-empty-visual .how-step-visual { display: block; }
.how-it-works[data-how-mode="manual"] .how-step-card--targets-filled-visual .how-step-visual { display: block; }

.how-it-works[data-how-mode="manual"] .how-step-card--targets-empty-visual .how-step-carousel-slide {
  object-fit: contain;
  object-position: center center;
}

.how-it-works[data-how-mode="manual"] .how-step-card--targets-filled-visual .how-step-carousel-slide {
  object-fit: cover;
  object-position: center 64%;
  transform: scale(1.22);
  transform-origin: center 64%;
}

@media (prefers-reduced-motion: reduce) {
  .how-step-carousel-track {
    transition: none;
  }
}

.how-step-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.how-step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.how-reinforcement {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--blue-700);
}

/* FEATURES */
.features {
  background: linear-gradient(180deg, #f6fbff 0%, #f2f8ff 100%);
}

.features.section {
  padding-top: 24px;
}
.features .container {
  width: 100%;
  max-width: var(--site-container-max);
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  box-sizing: border-box;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.feature-block + .feature-block {
  margin-top: 96px;
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(30, 136, 229, 0.17);
  border-radius: 22px;
  padding: 24px 24px;
  box-shadow:
    0 10px 28px rgba(15, 30, 46, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.feature-block:nth-child(even) {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
}

.feature-block:nth-child(even) .feature-copy {
  order: 2;
}

.feature-block:nth-child(even) .feature-visual-frame {
  order: 1;
}

.feature-block--macro-adjust,
.feature-block--macro-adjust:nth-child(even) {
  display: flex;
  flex-direction: column;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  padding: 22px 8px 24px;
}

.feature-block.feature-block--macro-adjust .macro-adjust-header {
  order: 1;
  width: min(100%, 1160px);
  max-width: 1160px;
  gap: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 41px;
  margin-left: auto;
  margin-right: auto;
}

.feature-block--macro-adjust .macro-adjust-header p {
  margin: 14px auto 0;
  max-width: 760px;
}

.feature-block--macro-adjust .macro-adjust-benefits li {
  min-height: 40px;
}

.feature-block--macro-adjust .macro-adjust-copy h3 {
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 0.99;
  letter-spacing: -1.8px;
  font-weight: 900;
  color: #082347;
  text-shadow: 0 1px 2px rgba(8, 35, 71, 0.08);
}

.feature-block--macro-adjust .macro-adjust-copy .macro-adjust-title-accent {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(8, 35, 71, 0.08);
}

.feature-block--macro-adjust .macro-adjust-copy p {
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.58;
  margin-top: 0;
}

.feature-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-copy h3 {
  font-size: clamp(27px, 2.9vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.6px;
  color: var(--text);
}

.feature-copy p {
  font-size: 17px;
  line-height: 1.58;
  color: var(--text-muted);
  max-width: 44ch;
}

.feature-block--client-access {
  gap: 28px;
}

.feature-block.feature-block--client-access .smart-swap-intro {
  margin-top: 16px;
  max-width: min(100%, 1040px);
  line-height: 1.44;
}

.feature-block.feature-block--client-access .smart-swap-title-row {
  margin-top: 44px;
}

.feature-block.feature-block--client-access .client-access-subline {
  margin: 8px auto 0;
  max-width: min(100%, 980px);
  font-size: clamp(13px, 0.9vw, 14px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue-700);
}

.client-access-unified {
  width: 100%;
  max-width: 1650px;
  display: flex;
  justify-content: center;
  margin-top: -18px;
  margin-left: auto;
  margin-right: auto;
}

.client-access-unified img {
  width: min(100%, 1550px);
  max-width: 1550px;
  height: auto;
  display: block;
}

.client-access-showcase {
  --client-phone-height: clamp(500px, 36vw, 640px);
  width: min(100%, 1440px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
  align-items: start;
}

.client-access-card {
  min-width: 0;
  padding: clamp(12px, 1.2vw, 16px);
  border-radius: 18px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  background: linear-gradient(180deg, rgba(249, 252, 255, 0.98) 0%, rgba(242, 248, 255, 0.94) 100%);
  box-shadow:
    0 10px 20px rgba(14, 39, 67, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.client-access-card-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.client-access-card-badge {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-600);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 7px 12px rgba(30, 136, 229, 0.3);
}

.client-access-card h4 {
  margin: 0;
  line-height: 1.16;
  color: var(--text);
  font-size: clamp(19px, 1.15vw, 24px);
  letter-spacing: -0.4px;
}

.client-access-card p {
  margin: 0 0 2px;
  color: var(--text-muted);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.36;
  max-width: 25ch;
  align-self: center;
}

.client-phone {
  position: relative;
  width: min(100%, 270px);
  height: var(--client-phone-height);
  margin: 6px auto 0;
  padding: 8px;
  border-radius: 34px;
  border: 1.5px solid rgba(22, 32, 53, 0.78);
  background: linear-gradient(180deg, #141f34 0%, #050a16 100%);
  box-shadow:
    0 16px 34px rgba(10, 27, 51, 0.3),
    0 4px 10px rgba(10, 27, 51, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.client-phone::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 38%;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 11px 11px;
  background: #02060f;
  z-index: 3;
}

.client-phone::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 24%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(90, 104, 126, 0.7);
  z-index: 4;
}

.client-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background: #f4f7fc;
}

.client-phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: var(--img-fit, cover);
  object-position: var(--img-focus-x, 50%) var(--img-focus-y, 50%);
  transform: translate3d(0, var(--img-shift-y, 0), 0) scale(var(--img-scale, 1));
  transform-origin: var(--img-focus-x, 50%) var(--img-focus-y, 50%);
  image-rendering: auto;
}

.client-phone--home .client-phone-screen img {
  --img-fit: contain;
  --img-focus-x: 50%;
  --img-focus-y: 50%;
  --img-scale: 1;
  --img-shift-y: 8px;
}

.client-phone--meal-plan .client-phone-screen img {
  --img-fit: contain;
  --img-focus-x: 50%;
  --img-focus-y: 50%;
  --img-scale: 1;
  --img-shift-y: 10px;
}

.client-phone--meal-alternatives .client-phone-screen img {
  --img-fit: contain;
  --img-focus-x: 50%;
  --img-focus-y: 47%;
  --img-scale: 1;
  --img-shift-y: 0;
}

.client-phone--checkins .client-phone-screen img {
  --img-fit: contain;
  --img-focus-x: 50%;
  --img-focus-y: 50%;
  --img-scale: 1;
  --img-shift-y: 16px;
}

.client-phone--meal-alternatives .client-phone-screen {
  background: #5b6673;
}

.client-phone--meal-alternatives .client-phone-screen::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: url("client-meal-alternatives-fit.png");
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.12);
  filter: blur(16px) saturate(0.9) brightness(0.82);
  z-index: 0;
}

.client-phone--meal-alternatives .client-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 30, 44, 0.34) 0%,
    rgba(21, 30, 44, 0.18) 38%,
    rgba(21, 30, 44, 0.24) 100%
  );
  z-index: 1;
}

.feature-visual-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: linear-gradient(180deg, #f4f9ff 0%, #eef6ff 100%);
  box-shadow:
    0 10px 24px rgba(30, 136, 229, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  padding: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.feature-visual-frame img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(30, 136, 229, 0.16);
  object-fit: contain;
  object-position: center center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-visual-frame--cover img {
  object-fit: cover;
}

.feature-visual-frame--contain img {
  background: #f6f9fe;
}

.feature-block--auto-split {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 24px 6px 18px;
}

.feature-block--auto-split .feature-copy {
  max-width: 74ch;
  gap: 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.feature-block--auto-split .feature-copy h3 {
  margin: 0;
}

.feature-block--auto-split .feature-copy p {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.58;
}

.feature-block--auto-split .auto-split-workflow-image-block {
  width: 100%;
  margin: 6px 0 0;
}

.feature-block--auto-split .auto-split-workflow-image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.auto-split-mode-switcher {
  width: min(100%, 69ch);
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.auto-split-mode-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 3px;
  border-radius: 13px;
  border: 1px solid rgba(30, 136, 229, 0.34);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(30, 136, 229, 0.09),
    0 6px 14px rgba(30, 136, 229, 0.12);
}

.auto-split-mode-button {
  appearance: none;
  border: 1px solid rgba(30, 136, 229, 0.34);
  border-radius: 10px;
  background: #ffffff;
  color: var(--blue-600);
  font-size: clamp(22px, 2.15vw, 25px);
  line-height: 1;
  font-weight: 700;
  padding: 12px 24px;
  min-height: 50px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auto-split-mode-button:hover:not(.is-active) {
  background: #f7fbff;
  border-color: rgba(30, 136, 229, 0.46);
}

.auto-split-mode-button:focus-visible {
  outline: 2px solid rgba(30, 136, 229, 0.38);
  outline-offset: 2px;
}

.auto-split-mode-button.is-active {
  border-color: rgba(25, 118, 210, 0.92);
  background: linear-gradient(180deg, #63c4f2 0%, #3095de 58%, #1f79d1 100%);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 12px rgba(30, 136, 229, 0.26);
}

.auto-split-mode-helper {
  max-width: 50ch;
  color: #8194a9;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.auto-split-mode-description,
.feature-block--auto-split [data-auto-split-image] {
  transition: opacity 180ms ease;
}

.auto-split-mode-description.is-swapping,
.feature-block--auto-split [data-auto-split-image].is-swapping {
  opacity: 0.42;
}

.feature-steps-row {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.feature-block--auto-split .feature-steps-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.feature-block--auto-split .feature-steps-row--auto-split-sequence {
  position: relative;
}

.feature-block--auto-split .feature-step-card--auto-split-sequence {
  position: relative;
  height: auto;
  padding: 12px 10px 16px;
  opacity: 0.72;
  transform: translateY(6px);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.feature-block--auto-split .feature-step-card--auto-split-sequence h4 {
  margin-bottom: 6px;
  font-size: 20px;
}

.feature-block--auto-split .feature-step-card--auto-split-sequence p {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.34;
  min-height: calc(4.2 * 1.34em);
}

.feature-block--auto-split .feature-step-card--auto-split-sequence.is-demo-active,
.feature-block--auto-split .feature-step-card--auto-split-sequence.is-demo-complete {
  opacity: 1;
  transform: translateY(0);
}

.feature-block--auto-split .feature-step-card--auto-split-sequence.is-demo-active {
  border-color: rgba(30, 136, 229, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow:
    0 14px 30px rgba(30, 136, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.feature-block--auto-split .feature-step-card--auto-split-sequence.is-demo-complete:not(.is-demo-active) {
  border-color: rgba(30, 136, 229, 0.24);
  box-shadow:
    0 10px 22px rgba(30, 136, 229, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.feature-block--auto-split .feature-step-visual--auto-split-sequence {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
}

.auto-split-demo-stage {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.auto-split-demo-stage img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.feature-step-card--auto-split-sequence-step1 .auto-split-demo-stage {
  width: min(100%, 308px);
}

.feature-step-card--auto-split-sequence-step2 .auto-split-demo-stage {
  width: min(100%, 308px);
}

.feature-step-card--auto-split-sequence-step3 .auto-split-demo-stage {
  width: 100%;
}

.auto-split-inline-accent {
  color: #1976d2;
  font-weight: 700;
}

.auto-split-demo-hotspot {
  position: absolute;
  z-index: 2;
  border: 1px solid transparent;
  background: rgba(47, 147, 230, 0);
  box-shadow: 0 0 0 0 rgba(47, 147, 230, 0);
  pointer-events: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.auto-split-demo-hotspot--meals,
.auto-split-demo-input {
  left: 15.4%;
  top: 64.9%;
  width: 8.9%;
  min-width: 44px;
  max-width: 58px;
  height: 6.3%;
  min-height: 30px;
  max-height: 38px;
  border-radius: 10px;
}

.auto-split-demo-hotspot--redistribute {
  left: 5.7%;
  top: 67%;
  width: 88.6%;
  height: 14.2%;
  border-radius: 14px;
}

.auto-split-demo-hotspot.is-demo-hover {
  border-color: rgba(30, 136, 229, 0.45);
  background: rgba(30, 136, 229, 0.08);
  box-shadow: 0 0 0 8px rgba(30, 136, 229, 0.08);
}

.auto-split-demo-hotspot.is-demo-clicking {
  transform: scale(0.98);
  background: rgba(30, 136, 229, 0.16);
}

.auto-split-demo-hotspot.is-demo-selected {
  border-color: rgba(30, 136, 229, 0.62);
  background: linear-gradient(180deg, rgba(110, 198, 245, 0.16) 0%, rgba(30, 136, 229, 0.24) 100%);
  box-shadow:
    0 0 0 10px rgba(30, 136, 229, 0.08),
    0 14px 24px rgba(30, 136, 229, 0.16);
}

.auto-split-demo-input {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 136, 229, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 12px 22px rgba(30, 136, 229, 0.16);
  color: #33465f;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
  pointer-events: none;
}

.auto-split-demo-input span {
  font-size: clamp(18px, 1.55vw, 24px);
}

.auto-split-demo-input.is-demo-visible {
  opacity: 1;
  transform: scale(1);
}

.auto-split-demo-stage--step3::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  opacity: 0;
  transform: scale(0.986);
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(30, 136, 229, 0.34),
    0 0 0 14px rgba(30, 136, 229, 0.05),
    0 22px 44px rgba(30, 136, 229, 0.16);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.auto-split-demo-stage--step3.is-demo-complete::after {
  opacity: 1;
  transform: scale(1);
}

.feature-step-card {
  min-width: 0;
  height: 100%;
  padding: 8px 5px 8px;
  border-radius: 16px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow:
    0 8px 18px rgba(30, 136, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.feature-step-card:nth-child(2),
.feature-step-card:nth-child(3) {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 2px;
  padding-right: 2px;
}

.feature-step-card:nth-child(2) p,
.feature-step-card:nth-child(3) p {
  margin-bottom: 4px;
}

.feature-step-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 6px;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, 0.22);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-step-visual {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: center;
}

.feature-step-card:nth-child(1) .feature-step-visual {
  max-width: min(72%, 370px);
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 540 / 511;
}

.feature-step-card:nth-child(2) .feature-step-visual,
.feature-step-card:nth-child(3) .feature-step-visual {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: auto;
}

.feature-step-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.feature-step-card:nth-child(1) .feature-step-visual img {
  transform: none;
}

.feature-block--auto-split .feature-step-visual--auto-split-sequence img {
  height: auto;
  object-fit: contain;
  object-position: center top;
  transform: none;
  filter: saturate(1.04) contrast(1.03) brightness(1.01);
}

.feature-step-card h4 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
}

.feature-step-card p {
  margin: 0 auto 6px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-muted);
  min-height: calc(4 * 1.35em);
}

.feature-block--auto-split .feature-step-card--auto-split-sequence {
  padding: 12px 10px 16px;
}

.feature-block--auto-split .feature-step-card--auto-split-sequence p {
  margin-bottom: 10px;
}

.feature-block--auto-split .feature-steps-row--auto-split-walkthrough {
  gap: 12px;
  align-items: stretch;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough {
  padding: 10px 10px 12px;
  min-height: 628px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 {
  padding: 8px 0 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 {
  padding: 8px 0 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough h4 {
  margin-bottom: 6px;
  font-size: 20px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 h4 {
  margin-bottom: 8px;
  padding-inline: 18px;
  font-size: clamp(34px, 2.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 h4 {
  margin-bottom: 8px;
  padding-inline: 16px;
  font-size: clamp(28px, 2.25vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough p {
  margin: 0 auto 8px;
  max-width: 33ch;
  font-size: 13.5px;
  line-height: 1.34;
  min-height: calc(3.7 * 1.34em);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 p {
  margin-bottom: 14px;
  max-width: 31ch;
  padding-inline: 20px;
  font-size: clamp(18px, 1.32vw, 24px);
  line-height: 1.26;
  color: #243b63;
  min-height: 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 p {
  margin-bottom: 14px;
  max-width: 32ch;
  padding-inline: 18px;
  font-size: clamp(17px, 1.18vw, 21px);
  line-height: 1.26;
  color: #243b63;
  min-height: 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual {
  width: 100%;
  max-width: 100%;
  height: clamp(392px, 33vw, 482px);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-visual {
  height: auto;
  width: calc(100% + 2px);
  margin-left: -1px;
  margin-right: -1px;
  align-items: stretch;
  justify-content: stretch;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-visual {
  height: auto;
  width: calc(100% + 2px);
  margin-left: -1px;
  margin-right: -1px;
  align-items: stretch;
  justify-content: stretch;
}

.feature-block--auto-split .feature-step-preview-shell--auto-split {
  width: 100%;
  height: 100%;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    0 8px 18px rgba(30, 136, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell--auto-split {
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 18px 18px 14px 14px;
  box-shadow: none;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 18px 18px 14px 14px;
  box-shadow: none;
}

.feature-block--auto-split .feature-step-preview-shell--modal {
  padding: 8px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.12);
  background: #ffffff;
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell img {
  width: 100%;
  height: auto;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell img {
  width: 100%;
  height: auto;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

/* Auto Split walkthrough compact pass */
.feature-block--auto-split .feature-step-card--auto-split-walkthrough,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 {
  min-height: 560px;
  padding: 8px 8px 10px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-icon,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-icon,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  font-size: 16px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough h4,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 h4,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 h4 {
  margin-bottom: 4px;
  padding-inline: 10px;
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.35px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough p,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 p,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 p {
  margin: 0 auto 8px;
  max-width: 31ch;
  min-height: 0;
  padding-inline: 10px;
  font-size: clamp(12.5px, 0.9vw, 14px);
  line-height: 1.26;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-visual,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-visual {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
  justify-content: center;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
  padding: 4px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    0 6px 14px rgba(30, 136, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell--auto-split {
  width: min(100%, 362px);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split {
  width: min(100%, 324px);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
  width: min(100%, 372px);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell img,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
}

/* Auto Split walkthrough module rebuild */
.feature-block--auto-split .feature-steps-row--auto-split-walkthrough {
  gap: 14px;
  align-items: stretch;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough {
  min-height: 444px;
  padding: 5px 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--workflow-header-gradient);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 5px 10px rgba(30, 136, 229, 0.18);
  flex-shrink: 0;
}

.feature-block--auto-split .auto-split-step-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #ffffff;
  color: #1e88e5;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-head h4 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-weight: 800;
  color: #ffffff;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 2px 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-caption {
  margin: 0 auto;
  max-width: 29ch;
  min-height: 0;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1.24;
  text-align: center;
  color: var(--text-muted);
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-inline-accent {
  color: #1e88e5;
  font-weight: 700;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--modal {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  border: 1px solid rgba(30, 136, 229, 0.14);
  border-radius: 10px;
  background: #ffffff;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-visual {
  padding-inline: 16px;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--modal {
  border-radius: 0;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
  position: relative;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell img {
  border: 1px solid rgba(30, 136, 229, 0.14);
  border-radius: 10px;
  background: #ffffff;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 26%,
    rgba(255, 255, 255, 0.8) 62%,
    #ffffff 100%
  );
  pointer-events: none;
}

.feature-block.feature-block--macro-adjust .macro-adjust-flow {
  order: 3;
  position: relative;
  width: min(100%, 2060px);
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.feature-block.feature-block--macro-adjust .macro-adjust-flow::-webkit-scrollbar {
  display: none;
}

.macro-adjust-flow-label {
  order: 2;
  margin: 2px auto 3px;
  padding: 0 12px;
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #1d75cd;
  text-align: center;
}

.macro-adjust-step {
  --macro-step-pad-x: 8px;
  --macro-step-pad-y: 8px;
  --macro-step-gap: 8px;
  --macro-caption-pad-bottom: 0px;
  --macro-caption-min-height: calc(4 * 1.32em);
  --macro-visual-min-height: clamp(500px, 31vw, 620px);
  --macro-visual-inset-x: 0px;
  --macro-visual-inset-y: 0px;
  min-width: 0;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--module-step-row-gap) - 9px);
}

.macro-adjust-step--initial,
.macro-adjust-step--updated {
  --macro-step-pad-x: 1px;
}

.macro-adjust-step--preview,
.macro-adjust-step--distribution {
  --macro-step-pad-y: 8px;
  --macro-step-gap: 8px;
  --macro-caption-pad-bottom: 0px;
  --macro-visual-min-height: clamp(500px, 31vw, 620px);
  --macro-visual-inset-x: 0px;
}

.macro-adjust-step-card {
  width: 100%;
  min-width: 0;
  position: relative;
  padding: var(--macro-step-pad-y) var(--macro-step-pad-x);
  border-radius: 16px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    0 10px 22px rgba(30, 136, 229, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--macro-step-gap);
  transition:
    border-color 170ms ease,
    box-shadow 200ms ease;
}

.macro-adjust-step.is-demo-active .macro-adjust-step-card {
  border-color: rgba(74, 176, 238, 0.84);
  box-shadow:
    0 0 0 2px rgba(191, 236, 255, 0.7),
    0 0 16px rgba(102, 193, 248, 0.34),
    0 12px 24px rgba(80, 178, 239, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.macro-adjust-step:not(:last-child) .macro-adjust-step-card::after {
  content: "";
  position: absolute;
  top: 55%;
  right: -16px;
  display: block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 212, 250, 0.18) 0%, rgba(90, 186, 244, 0.76) 34%, rgba(31, 132, 217, 1) 100%);
  background-size: 200% 100%;
  box-shadow:
    0 0 0 1px rgba(84, 176, 239, 0.18),
    0 6px 14px rgba(31, 132, 217, 0.18);
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowFlow 1.8s ease-in-out infinite;
}

.macro-adjust-step:not(:last-child) .macro-adjust-step-card::before {
  content: "";
  position: absolute;
  top: 55%;
  right: -17px;
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid rgba(31, 132, 217, 0.98);
  border-right: 3px solid rgba(31, 132, 217, 0.98);
  border-radius: 1px;
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowHead 1.8s ease-in-out infinite;
}

.macro-adjust-step[data-macro-adjust-step-four] .macro-adjust-step-card::before,
.macro-adjust-step[data-macro-adjust-step-four] .macro-adjust-step-card::after {
  content: none;
  display: none;
}

.macro-adjust-step-head {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--workflow-header-gradient);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 5px 10px rgba(30, 136, 229, 0.18);
}

.macro-adjust-step-badge {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #ffffff;
  color: #1e88e5;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macro-adjust-step h4 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.macro-adjust-step-visual {
  order: 3;
  margin: var(--macro-visual-inset-y) var(--macro-visual-inset-x);
  width: calc(100% - (2 * var(--macro-visual-inset-x)));
  min-height: var(--macro-visual-min-height);
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.16);
  background: linear-gradient(180deg, #edf7ff 0%, #ffffff 100%);
  overflow: hidden;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
  justify-content: stretch;
  padding: 8px;
}

.macro-adjust-step-visual img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  display: block;
  transform: none;
  transform-origin: center center;
}

.macro-adjust-step-caption {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  box-sizing: border-box;
  min-height: var(--macro-caption-min-height);
  border-radius: 16px;
  border: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(18, 35, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.32;
  color: #4f5663;
}

.macro-adjust-step-caption-title {
  display: block;
  font-size: 1.24em;
  line-height: 1.12;
  font-weight: 700;
  color: #172033;
}

.macro-adjust-step-caption-body {
  display: block;
  font-size: 1em;
  line-height: 1.42;
  font-weight: 400;
  color: #4f5663;
}

.macro-adjust-step--initial .macro-adjust-step-visual img,
.macro-adjust-step--preview .macro-adjust-step-visual img,
.macro-adjust-step--distribution .macro-adjust-step-visual img,
.macro-adjust-step--updated .macro-adjust-step-visual img {
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.macro-adjust-step--preview .macro-adjust-step-visual img,
.macro-adjust-step--distribution .macro-adjust-step-visual img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-position: center top;
}

.macro-adjust-step--initial .macro-adjust-step-visual,
.macro-adjust-step--preview .macro-adjust-step-visual,
.macro-adjust-step--distribution .macro-adjust-step-visual,
.macro-adjust-step--updated .macro-adjust-step-visual {
  padding: 8px;
  align-items: stretch;
  justify-content: stretch;
}

.macro-adjust-step--distribution .macro-adjust-step-visual {
  padding-bottom: 0;
}

.macro-adjust-meal-state,
.macro-adjust-preview-panel {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.macro-adjust-meal-state {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.macro-adjust-meal-state--initial {
  gap: 8px;
}

.macro-adjust-actuals-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.macro-adjust-actuals-card__head {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--workflow-header-gradient);
}

.macro-adjust-actuals-card__head h5 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(13px, 0.85vw, 15px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-adjust-actuals-card__help {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #1e88e5;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macro-adjust-actuals-card__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #ffffff;
}

.macro-adjust-actuals-card__metric {
  min-width: 0;
  padding: 16px 10px 14px;
  text-align: center;
}

.macro-adjust-actuals-card__metric + .macro-adjust-actuals-card__metric {
  border-left: 1px solid rgba(220, 232, 244, 0.96);
}

.macro-adjust-actuals-card__metric strong {
  display: block;
  color: #4d5b76;
  font-size: clamp(18px, 1.45vw, 28px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.45px;
}

.macro-adjust-actuals-card__delta {
  display: block;
  margin-top: 8px;
  color: #94a0b1;
  font-size: clamp(11px, 0.74vw, 13px);
  line-height: 1.15;
  font-weight: 700;
}

.macro-adjust-actuals-card__delta--positive {
  color: #18a957;
}

.macro-adjust-actuals-card__delta--negative {
  color: #ff4d4f;
}

.macro-adjust-actuals-card__metric small {
  display: block;
  margin-top: 7px;
  color: #a0a8b8;
  font-size: clamp(10px, 0.7vw, 12px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card {
  border-radius: 16px;
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__head {
  min-height: 38px;
  padding: 0 12px;
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__head h5 {
  font-size: clamp(12px, 0.78vw, 13px);
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__metric {
  padding: 12px 6px 10px;
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__metric strong {
  font-size: clamp(15px, 1.18vw, 20px);
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__delta {
  margin-top: 6px;
  font-size: clamp(9px, 0.64vw, 11px);
}

.macro-adjust-meal-state--initial .macro-adjust-actuals-card__metric small {
  margin-top: 5px;
  font-size: clamp(8.5px, 0.58vw, 10px);
}

.macro-adjust-meal-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card {
  border-radius: 16px;
}

.macro-adjust-meal-card__titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(18, 96, 165, 0.34);
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__titlebar {
  padding: 10px 14px;
}

.macro-adjust-meal-card__drag {
  width: 14px;
  height: 18px;
  justify-self: start;
  align-self: center;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.96) 1.4px, transparent 1.5px);
  background-position: 0 0;
  background-repeat: repeat-y;
  background-size: 6px 6px;
  opacity: 0.95;
}

.macro-adjust-meal-card__titlebar h5 {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__titlebar h5 {
  font-size: clamp(15px, 1.05vw, 18px);
}

.macro-adjust-meal-card__link {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.macro-adjust-meal-card__link::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
}

.macro-adjust-meal-card__dismiss {
  grid-column: 3;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 135, 220, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #1f87dc;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__dismiss {
  width: 28px;
  height: 28px;
  font-size: 20px;
}

.macro-adjust-meal-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__actions {
  gap: 6px;
  padding: 8px 12px;
}

.macro-adjust-meal-card__actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(31, 135, 220, 0.26);
  padding: 0 10px;
  background: linear-gradient(180deg, #58b8f6 0%, #2b96ea 100%);
  color: #ffffff;
  font-size: clamp(10px, 0.72vw, 12px);
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__actions span {
  min-height: 24px;
  padding: 0 8px;
  font-size: clamp(9px, 0.62vw, 10.5px);
}

.macro-adjust-meal-card__macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(205, 222, 238, 0.9);
  background: #ffffff;
}

.macro-adjust-meal-card__macros > div {
  min-width: 0;
  text-align: center;
  padding: 15px 8px 13px;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__macros > div {
  padding: 11px 6px 10px;
}

.macro-adjust-meal-card__macros > div + div {
  border-left: 1px solid rgba(220, 232, 244, 0.96);
}

.macro-adjust-meal-card__macros strong {
  display: block;
  color: #4d5b76;
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1;
  font-weight: 800;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__macros strong {
  font-size: clamp(15px, 1.06vw, 17px);
}

.macro-adjust-meal-card__macros small {
  display: block;
  margin-top: 6px;
  color: #a0a8b8;
  font-size: clamp(10px, 0.7vw, 12px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__macros small {
  margin-top: 4px;
  font-size: clamp(8.5px, 0.58vw, 10px);
}

.macro-adjust-meal-card__foods {
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.macro-adjust-meal-card__foods li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(228, 237, 246, 0.96);
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__foods li {
  column-gap: 10px;
  padding: 10px 14px;
}

.macro-adjust-meal-card__foods li span:first-child {
  position: relative;
  min-width: 0;
  padding-left: 14px;
  color: #344054;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.3;
  font-weight: 500;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__foods li span:first-child {
  padding-left: 12px;
  font-size: clamp(11.5px, 0.82vw, 13.5px);
}

.macro-adjust-meal-card__foods li span:first-child::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #1f84d9;
  font-size: 18px;
  line-height: 1;
}

.macro-adjust-meal-card__foods li span:last-child {
  color: #8b95a7;
  font-size: clamp(12px, 0.8vw, 14px);
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__foods li span:last-child {
  font-size: clamp(10.5px, 0.72vw, 12px);
}

.macro-adjust-meal-card__fill {
  flex: 1 1 auto;
  min-height: 56px;
  background: #ffffff;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__fill {
  min-height: 18px;
}

.macro-adjust-meal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(228, 237, 246, 0.96);
  background: #ffffff;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__footer {
  gap: 6px;
  padding: 10px 14px 12px;
}

.macro-adjust-meal-card__footer strong {
  color: #151b24;
  font-size: clamp(11px, 0.76vw, 13px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__footer strong {
  font-size: clamp(9.5px, 0.64vw, 11px);
}

.macro-adjust-meal-card__footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(31, 135, 220, 0.44);
  padding: 0 10px;
  background: #1f87dc;
  color: #ffffff;
  font-size: clamp(10px, 0.68vw, 12px);
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.macro-adjust-meal-state--initial .macro-adjust-meal-card__footer span {
  min-height: 30px;
  padding: 0 8px;
  font-size: clamp(9px, 0.62vw, 10.5px);
}

.macro-adjust-preview-panel {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.macro-adjust-preview-panel--compact {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  border-radius: 16px;
  box-shadow:
    0 8px 18px rgba(23, 72, 118, 0.1),
    0 0 0 1px rgba(237, 247, 255, 0.76);
}

.macro-adjust-preview-panel__head {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--workflow-header-gradient);
}

.macro-adjust-preview-panel__head--compact {
  min-height: 28px;
  padding: 0 10px;
  gap: 6px;
}

.macro-adjust-preview-panel__head h5 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(12px, 0.76vw, 14px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-adjust-preview-panel__head--compact h5 {
  font-size: clamp(10px, 0.64vw, 11px);
}

.macro-adjust-preview-panel__help {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #1e88e5;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macro-adjust-preview-panel__head--compact .macro-adjust-preview-panel__help {
  width: 14px;
  height: 14px;
  font-size: 9px;
}

.macro-adjust-preview-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  background: #ffffff;
}

.macro-adjust-preview-panel__body--compact {
  gap: 6px;
  padding: 8px 10px 9px;
}

.macro-adjust-preview-panel__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.macro-adjust-preview-panel__controls--compact {
  gap: 6px;
}

.macro-adjust-preview-panel__amount-row,
.macro-adjust-preview-panel__chips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.macro-adjust-preview-panel__amount-row--compact,
.macro-adjust-preview-panel__chips--compact {
  gap: 6px;
}

.macro-adjust-preview-panel__stepper,
.macro-adjust-preview-panel__amount,
.macro-adjust-preview-panel__apply,
.macro-adjust-preview-panel__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 222, 241, 0.96);
  background: #ffffff;
  color: #4f5a6d;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 180ms ease,
    color 170ms ease;
}

.macro-adjust-preview-panel__stepper {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
}

.macro-adjust-preview-panel__stepper--compact {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
}

.macro-adjust-preview-panel__stepper--active,
.macro-adjust-preview-panel__chip--selected {
  border-color: rgba(31, 135, 220, 0.48);
  background: linear-gradient(180deg, #58b8f6 0%, #2b96ea 100%);
  color: #ffffff;
}

.macro-adjust-preview-panel__amount {
  min-width: 74px;
  height: 30px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
}

.macro-adjust-preview-panel__amount--compact {
  min-width: 54px;
  height: 24px;
  font-size: 12px;
}

.macro-adjust-preview-panel__apply {
  min-width: 58px;
  height: 30px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}

.macro-adjust-preview-panel__apply--compact {
  min-width: 46px;
  height: 24px;
  font-size: 10px;
}

.macro-adjust-preview-panel__allocate-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #7b8798;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.macro-adjust-preview-panel__allocate-row--compact {
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.macro-adjust-preview-panel__chip {
  min-width: 28px;
  height: 22px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.macro-adjust-preview-panel__chip--compact {
  min-width: 22px;
  height: 18px;
  font-size: 9px;
}

.macro-adjust-preview-panel__chip.is-demo-hover {
  border-color: rgba(121, 190, 245, 0.96);
  background: #eff8ff;
  box-shadow:
    inset 0 0 0 1px rgba(124, 191, 245, 0.32),
    0 0 0 1px rgba(124, 191, 245, 0.18);
}

.macro-adjust-preview-panel__chip.is-demo-clicking {
  border-color: rgba(76, 171, 240, 0.98);
  background: #e7f4ff;
  box-shadow: inset 0 0 0 1px rgba(76, 171, 240, 0.48);
}

.macro-adjust-preview-panel__chip.is-demo-selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #edf7ff;
  color: #1f84d9;
  box-shadow:
    inset 0 0 0 1px rgba(66, 163, 235, 0.54),
    0 0 12px rgba(102, 193, 248, 0.22);
}

.macro-adjust-preview-panel__amount.is-demo-hover,
.macro-adjust-preview-panel__apply.is-demo-hover {
  border-color: rgba(121, 190, 245, 0.96);
  background: #eff8ff;
  box-shadow:
    inset 0 0 0 1px rgba(124, 191, 245, 0.32),
    0 0 0 1px rgba(124, 191, 245, 0.18);
}

.macro-adjust-preview-panel__amount.is-demo-clicking,
.macro-adjust-preview-panel__apply.is-demo-clicking {
  border-color: rgba(76, 171, 240, 0.98);
  background: #e7f4ff;
  box-shadow: inset 0 0 0 1px rgba(76, 171, 240, 0.48);
}

.macro-adjust-preview-panel__amount.is-demo-selected,
.macro-adjust-preview-panel__apply.is-demo-selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #edf7ff;
  color: #1f84d9;
  box-shadow:
    inset 0 0 0 1px rgba(66, 163, 235, 0.54),
    0 0 12px rgba(102, 193, 248, 0.22);
}

.macro-adjust-preview-panel__apply.is-demo-active {
  border-color: rgba(66, 163, 235, 0.98);
  background: #edf7ff;
  color: #1f84d9;
  box-shadow:
    inset 0 0 0 1px rgba(66, 163, 235, 0.54),
    0 0 0 2px rgba(191, 236, 255, 0.54),
    0 0 14px rgba(102, 193, 248, 0.28);
}

.macro-adjust-preview-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
  color: #ffffff;
}

.macro-adjust-preview-panel__summary-values {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.macro-adjust-preview-panel__summary-values strong {
  font-weight: 800;
}

.macro-adjust-preview-panel__undo {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.macro-adjust-preview-panel__rows {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.macro-adjust-preview-panel__row {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(220, 232, 244, 0.96);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.macro-adjust-preview-panel__row strong,
.macro-adjust-preview-panel__row-values {
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.84, 0.28, 1);
}

.macro-adjust-step--preview:not(.is-demo-result) .macro-adjust-preview-panel__row strong,
.macro-adjust-step--preview:not(.is-demo-result) .macro-adjust-preview-panel__row-values {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(1) strong,
.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(1) .macro-adjust-preview-panel__row-values {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(2) strong,
.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(2) .macro-adjust-preview-panel__row-values {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 40ms;
}

.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(3) strong,
.macro-adjust-step--preview.is-demo-result .macro-adjust-preview-panel__row:nth-child(3) .macro-adjust-preview-panel__row-values {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.macro-adjust-preview-panel__row strong {
  color: #1f2937;
  font-size: clamp(13px, 0.88vw, 14px);
  line-height: 1.2;
  font-weight: 800;
}

.macro-adjust-preview-panel__row-values {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  color: #667085;
  font-size: clamp(12px, 0.8vw, 13px);
  line-height: 1.25;
  font-weight: 500;
}

.macro-adjust-preview-panel__row-change {
  color: #ff5b57;
}

.macro-adjust-preview-panel__row-final {
  color: #475467;
  font-weight: 800;
}

.macro-adjust-distribution-module {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: #ffffff;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.macro-adjust-distribution-module__head {
  min-height: 56px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--workflow-header-gradient);
}

.macro-adjust-distribution-module__head h5 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.macro-adjust-distribution-module__help {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  color: #1e88e5;
  font-size: clamp(17px, 1.05vw, 20px);
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.macro-adjust-distribution-module__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.macro-adjust-step--distribution .macro-adjust-distribution-module__body {
  padding-bottom: 10px;
}

.macro-adjust-distribution-module__prompt {
  margin: 0;
  text-align: center;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.4;
  color: #95a1b1;
  font-weight: 600;
}

.macro-adjust-distribution-module__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 86px;
  border-radius: 18px;
  border: 1px solid rgba(170, 178, 191, 0.6);
  background: #ffffff;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 200ms ease,
    transform 180ms ease;
}

.macro-adjust-distribution-module__option-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.macro-adjust-distribution-module__radio {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  border: 2px solid #9ea7b6;
  background: #ffffff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.macro-adjust-distribution-module__option strong {
  display: block;
  margin: 0;
  color: #2f3643;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.25;
}

.macro-adjust-distribution-module__option p {
  margin: 2px 0 0;
  color: #919dad;
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.35;
}

.macro-adjust-distribution-module__option.is-demo-hover {
  border-color: rgba(131, 191, 244, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(131, 191, 244, 0.2),
    0 0 0 1px rgba(131, 191, 244, 0.12);
}

.macro-adjust-distribution-module__option.is-demo-clicking {
  transform: translateY(1px);
}

.macro-adjust-distribution-module__option.is-demo-selected,
.macro-adjust-distribution-module__option--selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #edf7ff;
  box-shadow: inset 0 0 0 1px rgba(66, 163, 235, 0.44);
}

.macro-adjust-distribution-module__option.is-demo-selected .macro-adjust-distribution-module__radio,
.macro-adjust-distribution-module__option--selected .macro-adjust-distribution-module__radio {
  border-color: #2996eb;
  box-shadow: 0 0 0 3px rgba(41, 150, 235, 0.12);
}

.macro-adjust-distribution-module__option.is-demo-selected .macro-adjust-distribution-module__radio::after,
.macro-adjust-distribution-module__option--selected .macro-adjust-distribution-module__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #2996eb;
}

.macro-adjust-distribution-module__btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--workflow-header-gradient);
  color: #ffffff;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: default;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 4px 10px rgba(30, 136, 229, 0.2);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.macro-adjust-distribution-module__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.macro-adjust-distribution-module__btn:last-child {
  margin-top: 0;
}

.macro-adjust-distribution-module__btn--secondary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 16px rgba(30, 136, 229, 0.16);
}

.macro-adjust-distribution-module__btn.is-demo-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 2px rgba(191, 236, 255, 0.74),
    0 0 16px rgba(102, 193, 248, 0.34),
    0 12px 20px rgba(30, 136, 229, 0.22);
}

.macro-adjust-distribution-module__btn.is-demo-hover {
  filter: saturate(1.05) brightness(1.03);
}

.macro-adjust-distribution-module__btn.is-demo-clicking {
  transform: translateY(1px);
}

.macro-adjust-distribution-module__btn.is-demo-selected {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 1px rgba(133, 206, 255, 0.6),
    0 10px 18px rgba(30, 136, 229, 0.24);
}

.feature-block--smart-swap {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
  padding: 24px 10px 18px;
}

.feature-block--smart-swap .feature-copy {
  align-self: stretch;
  align-items: center;
  text-align: center;
  gap: 0;
}

.smart-swap-copy {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.feature-block.feature-block--smart-swap:not(.feature-block--client-access) {
  padding-top: 22px;
  padding-bottom: 24px;
}

.feature-block.feature-block--smart-swap:not(.feature-block--client-access) .smart-swap-copy {
  padding-top: 41px;
}

.feature-block--smart-swap .smart-swap-step-pill {
  display: inline-flex;
  margin: 0 auto 14px;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, 0.24);
  background: linear-gradient(180deg, rgba(226, 241, 255, 0.98) 0%, rgba(214, 234, 253, 0.95) 100%);
  color: var(--blue-600);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow:
    0 7px 15px rgba(30, 136, 229, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.smart-swap-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.smart-swap-copy h3 {
  margin: 0;
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 0.99;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: #082347;
}

.smart-swap-title-primary {
  color: #082347;
}

.smart-swap-title-gradient {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.smart-swap-title-accent {
  display: inline-flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-4px);
}

.smart-swap-title-accent span {
  display: block;
  height: 3.2px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.9);
  box-shadow: 0 0 0 1px rgba(30, 136, 229, 0.09);
}

.smart-swap-title-accent--left span:nth-child(1) {
  width: 28px;
  transform: rotate(4deg);
}

.smart-swap-title-accent--left span:nth-child(2) {
  width: 14px;
  transform: translateX(8px) rotate(-24deg);
}

.smart-swap-title-accent--right span:nth-child(1) {
  width: 28px;
  transform: rotate(-4deg);
}

.smart-swap-title-accent--right span:nth-child(2) {
  width: 14px;
  transform: translateX(-8px) rotate(24deg);
}

.feature-block--smart-swap .smart-swap-intro {
  margin: 14px auto 0;
  max-width: 760px;
  font-size: clamp(18px, 1.32vw, 25px);
  line-height: 1.56;
  color: var(--text-muted);
}

.smart-swap-benefits {
  list-style: none;
  width: min(100%, 1080px);
  margin: 18px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: start;
}

.smart-swap-benefits li {
  position: relative;
  min-width: 0;
  max-width: 260px;
  margin: 0 auto;
  padding-left: 58px;
  color: #2f455d;
  text-align: left;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.34;
  font-weight: 700;
}

.smart-swap-benefits li::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(30, 136, 229, 0.22);
  background:
    linear-gradient(150deg, rgba(240, 248, 255, 0.98) 0%, rgba(218, 236, 253, 0.98) 100%);
  box-shadow:
    0 6px 12px rgba(30, 136, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.smart-swap-benefits li::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 17px;
  width: 10px;
  height: 16px;
  border-right: 3px solid #1e88e5;
  border-bottom: 3px solid #1e88e5;
  transform: rotate(40deg);
}

.smart-swap-flow {
  min-width: 0;
  position: relative;
  overflow: visible;
  padding: 0;
}

.smart-swap-flow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.smart-swap-step {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 6px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(30, 136, 229, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 170ms ease,
    box-shadow 200ms ease;
}

.smart-swap-step:last-child {
  border-right: 0;
}

.smart-swap-step.is-demo-complete {
  border-color: rgba(74, 176, 238, 0.84);
  box-shadow:
    0 0 0 2px rgba(191, 236, 255, 0.78),
    0 0 18px rgba(102, 193, 248, 0.42),
    0 14px 28px rgba(80, 178, 239, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.smart-swap-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 55%;
  right: -16px;
  display: block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 212, 250, 0.18) 0%, rgba(90, 186, 244, 0.76) 34%, rgba(31, 132, 217, 1) 100%);
  background-size: 200% 100%;
  box-shadow:
    0 0 0 1px rgba(84, 176, 239, 0.18),
    0 6px 14px rgba(31, 132, 217, 0.18);
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowFlow 1.8s ease-in-out infinite;
}

.smart-swap-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 55%;
  right: -17px;
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid rgba(31, 132, 217, 0.98);
  border-right: 3px solid rgba(31, 132, 217, 0.98);
  border-radius: 1px;
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowHead 1.8s ease-in-out infinite;
}

.smart-swap-step:nth-child(1):not(:last-child)::before,
.smart-swap-step:nth-child(1):not(:last-child)::after,
.dynamic-alt-step:nth-child(1):not(:last-child)::before,
.dynamic-alt-step:nth-child(1):not(:last-child)::after,
.macro-adjust-step:nth-child(1):not(:last-child) .macro-adjust-step-card::before,
.macro-adjust-step:nth-child(1):not(:last-child) .macro-adjust-step-card::after {
  animation-delay: 0s;
}

.smart-swap-step:nth-child(2):not(:last-child)::before,
.smart-swap-step:nth-child(2):not(:last-child)::after,
.dynamic-alt-step:nth-child(2):not(:last-child)::before,
.dynamic-alt-step:nth-child(2):not(:last-child)::after,
.macro-adjust-step:nth-child(2):not(:last-child) .macro-adjust-step-card::before,
.macro-adjust-step:nth-child(2):not(:last-child) .macro-adjust-step-card::after {
  animation-delay: 0.2s;
}

.smart-swap-step:nth-child(3):not(:last-child)::before,
.smart-swap-step:nth-child(3):not(:last-child)::after,
.dynamic-alt-step:nth-child(3):not(:last-child)::before,
.dynamic-alt-step:nth-child(3):not(:last-child)::after,
.macro-adjust-step:nth-child(3):not(:last-child) .macro-adjust-step-card::before,
.macro-adjust-step:nth-child(3):not(:last-child) .macro-adjust-step-card::after {
  animation-delay: 0.4s;
}

.dynamic-alt-step:nth-child(4):not(:last-child)::before,
.dynamic-alt-step:nth-child(4):not(:last-child)::after {
  animation-delay: 0.6s;
}

@keyframes smartSwapArrowFlow {
  0%,
  100% {
    opacity: 0.9;
    background-position: 0% 50%;
    transform: translateY(-50%) translateX(0) scale(1.28);
  }
  50% {
    opacity: 1;
    background-position: 100% 50%;
    transform: translateY(-50%) translateX(4px) scale(1.28);
  }
}

@keyframes smartSwapArrowHead {
  0%,
  100% {
    opacity: 0.92;
    transform: translateY(-50%) translateX(0) rotate(45deg) scale(1.28);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(4px) rotate(45deg) scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .smart-swap-step:not(:last-child)::before,
  .smart-swap-step:not(:last-child)::after,
  .dynamic-alt-step:not(:last-child)::before,
  .dynamic-alt-step:not(:last-child)::after,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::before,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::after {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .smart-swap-step:not(:last-child)::before,
  .dynamic-alt-step:not(:last-child)::before,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::after {
    background: linear-gradient(90deg, rgba(127, 203, 252, 0.64) 0%, rgba(109, 189, 252, 1) 58%, rgba(109, 189, 252, 0.92) 100%);
    box-shadow:
      0 0 0 1px rgba(116, 194, 252, 0.42),
      0 0 14px rgba(109, 189, 252, 0.42);
  }

  .smart-swap-step:not(:last-child)::after,
  .dynamic-alt-step:not(:last-child)::after,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::before {
    border-top-color: rgba(116, 194, 252, 1);
    border-right-color: rgba(116, 194, 252, 1);
  }
}

.smart-swap-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--workflow-header-gradient);
  color: #ffffff;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 5px 10px rgba(30, 136, 229, 0.18);
}

.smart-swap-step-badge {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #ffffff;
  color: #1e88e5;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smart-swap-step-head h4 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-weight: 800;
  color: #ffffff;
}

.smart-swap-step-visual {
  margin: 0;
  display: block;
  height: 100%;
  line-height: 0;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  background: #ffffff;
  padding: 0;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.smart-swap-step-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 0;
  background: #ffffff;
  object-fit: contain;
  object-position: center top;
  transform: none;
}

.smart-swap-step:nth-child(1) .smart-swap-step-visual img,
.smart-swap-step:nth-child(4) .smart-swap-step-visual img {
  transform: none;
}

.smart-swap-step:nth-child(2) .smart-swap-step-visual,
.smart-swap-step:nth-child(3) .smart-swap-step-visual {
  background: #ffffff;
}

.smart-swap-step-visual--modal {
  position: relative;
  padding: 0;
  border: 1px solid rgba(30, 136, 229, 0.18);
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.smart-swap-step-visual--modal img {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: none;
  background: #ffffff;
  margin: 0;
  -webkit-clip-path: none;
  clip-path: none;
}

.smart-swap-step:nth-child(2) .smart-swap-step-visual--modal,
.smart-swap-step:nth-child(3) .smart-swap-step-visual--modal {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: #ffffff;
  isolation: isolate;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08);
}

.smart-swap-choice-target {
  position: absolute;
  z-index: 4;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  overflow: hidden;
  transition:
    background-color 160ms ease,
    box-shadow 180ms ease;
  pointer-events: none;
}

.smart-swap-choice-target--step1 {
  left: 46%;
  width: 18%;
  top: 18.2%;
  height: 8.2%;
  border-radius: 6px;
}

.smart-swap-choice-target--step2 {
  left: 5.8%;
  width: 87.7%;
  top: 67.4%;
  height: 16.8%;
  border-radius: 12px;
}

.smart-swap-choice-target--step3 {
  left: 8.8%;
  width: 82.3%;
  top: 63.7%;
  height: 15.2%;
  border-radius: 12px;
}

.smart-swap-choice-target.is-demo-hover {
  background: rgba(90, 183, 240, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(78, 174, 236, 0.62);
}

.smart-swap-choice-target.is-demo-clicking {
  background: rgba(78, 173, 236, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(58, 161, 230, 0.76);
}

.smart-swap-choice-target.is-demo-selected {
  background: rgba(84, 179, 239, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(55, 153, 222, 0.86);
}

.smart-swap-step-visual--meal {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  padding: 8px;
  border-color: rgba(30, 136, 229, 0.16);
  background: linear-gradient(180deg, #edf7ff 0%, #ffffff 100%);
  min-height: 500px;
}

.smart-swap-step-visual--swap-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  padding: 8px;
  border-color: rgba(30, 136, 229, 0.16);
  background: linear-gradient(180deg, #edf7ff 0%, #ffffff 100%);
  min-height: 500px;
}

.smart-swap-step-visual--portion-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  padding: 8px;
  border-color: rgba(30, 136, 229, 0.16);
  background: linear-gradient(180deg, #edf7ff 0%, #ffffff 100%);
  min-height: 500px;
}

.smart-swap-meal-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.smart-swap-meal-card--current {
  min-height: 100%;
}

.smart-swap-meal-card--complete {
  background: #ffffff;
}

.smart-swap-meal-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 13px 16px 14px;
  border-bottom: 1px solid rgba(18, 96, 165, 0.34);
  background: linear-gradient(96deg, #2e99e8 0%, #1f84d9 100%);
}

.smart-swap-meal-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.smart-swap-meal-drag {
  width: 14px;
  height: 18px;
  justify-self: start;
  align-self: center;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.96) 1.4px, transparent 1.5px);
  background-position: 0 0;
  background-repeat: repeat-y;
  background-size: 6px 6px;
  opacity: 0.95;
}

.smart-swap-meal-header-top h5 {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
}

.smart-swap-meal-link {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.smart-swap-meal-link::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
}

.smart-swap-meal-dismiss {
  grid-column: 3;
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 135, 220, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #1f87dc;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smart-swap-meal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.smart-swap-meal-actions span,
.smart-swap-meal-actions .smart-swap-meal-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 11px;
  background: #1f81d5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.smart-swap-meal-action-button {
  margin: 0;
  appearance: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    background-color 170ms ease,
    border-color 170ms ease,
    box-shadow 190ms ease;
  will-change: background-color, border-color, box-shadow;
}

.smart-swap-meal-action-button.is-demo-hover {
  background: linear-gradient(180deg, #62c1fd 0%, #33a5ec 100%);
  border-color: rgba(232, 248, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 1px rgba(180, 231, 255, 0.64),
    0 0 12px rgba(100, 192, 247, 0.62);
}

.smart-swap-meal-action-button.is-demo-clicking {
  background: #1b75ca;
  border-color: rgba(199, 236, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(17, 71, 123, 0.34),
    0 0 12px rgba(67, 171, 240, 0.7);
}

.smart-swap-meal-action-button.is-demo-selected {
  background: linear-gradient(180deg, #65c5ff 0%, #35a6ed 100%);
  border-color: rgba(236, 250, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 0 1px rgba(180, 231, 255, 0.78),
    0 0 14px rgba(104, 194, 247, 0.74);
}

.smart-swap-meal-action-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 1px;
}

.smart-swap-meal-macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.64);
  border-bottom: 1px solid rgba(205, 222, 238, 0.9);
  background: #ffffff;
}

.smart-swap-meal-macros > div {
  min-width: 0;
  text-align: center;
  padding: 16px 8px 14px;
}

.smart-swap-meal-macros > div + div {
  border-left: 1px solid rgba(220, 232, 244, 0.96);
}

.smart-swap-meal-macros strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.35px;
  color: #4d5b76;
}

.smart-swap-meal-macros span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.78px;
  text-transform: uppercase;
  color: #a0a8b8;
}

.smart-swap-meal-foods {
  flex: 0 0 auto;
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.smart-swap-meal-foods li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(228, 237, 246, 0.96);
}

.smart-swap-meal-foods li span:first-child {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 500;
  color: #344054;
}

.smart-swap-meal-foods li span:first-child::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 2px;
  color: #1f84d9;
  font-size: 18px;
  line-height: 1;
}

.smart-swap-meal-foods li span:last-child {
  text-align: right;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 500;
  color: #8b95a7;
}

.smart-swap-meal-fill {
  flex: 1 1 auto;
  min-height: 96px;
  background: #ffffff;
}

.smart-swap-meal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 12px 18px;
  border-top: 1px solid rgba(228, 237, 246, 0.96);
  background: #ffffff;
}

.smart-swap-meal-footer strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #151b24;
  white-space: nowrap;
}

.smart-swap-meal-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(31, 135, 220, 0.44);
  flex: 0 0 auto;
  padding: 10px 10px;
  background: #1f87dc;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.smart-swap-swap-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.smart-swap-swap-panel__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 18px;
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
}

.smart-swap-swap-panel__header h5 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.45px;
  color: #ffffff;
}

.smart-swap-swap-panel__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.96);
  color: #1f87dc;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smart-swap-swap-panel__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px 16px 14px;
  gap: 10px;
  background: #ffffff;
}

.smart-swap-swap-panel__copy {
  margin: 0;
  color: #4f5a6d;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 500;
}

.smart-swap-swap-panel__search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(214, 228, 240, 0.95);
  border-radius: 16px;
  background: #ffffff;
  color: #a0a8b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.smart-swap-swap-panel__search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #ccd4df;
  border-radius: 999px;
  flex-shrink: 0;
}

.smart-swap-swap-panel__search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #ccd4df;
  transform: rotate(45deg);
  transform-origin: center;
}

.smart-swap-swap-panel__search span:last-child {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.smart-swap-swap-panel__list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding-right: 4px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 132, 145, 0.64) transparent;
}

.smart-swap-swap-panel__list::-webkit-scrollbar {
  width: 8px;
}

.smart-swap-swap-panel__list::-webkit-scrollbar-track {
  background: transparent;
}

.smart-swap-swap-panel__list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(122, 132, 145, 0.62);
  background-clip: content-box;
}

.smart-swap-saved-meal-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 14px 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(198, 222, 241, 0.96);
  background: #f6fbff;
  color: inherit;
  text-align: left;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 180ms ease;
  overflow: hidden;
}

.smart-swap-saved-meal-card__title {
  display: block;
  width: 100%;
  color: #171d27;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.smart-swap-saved-meal-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #58b8f6 0%, #2b96ea 100%);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.smart-swap-saved-meal-card__description {
  display: block;
  width: 100%;
  color: #8b95a7;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  white-space: normal;
}

.smart-swap-saved-meal-card.is-demo-hover {
  border-color: rgba(121, 190, 245, 0.96);
  background: #eff8ff;
  box-shadow: inset 0 0 0 1px rgba(124, 191, 245, 0.42);
}

.smart-swap-saved-meal-card.is-demo-clicking {
  border-color: rgba(76, 171, 240, 0.98);
  background: #e7f4ff;
  box-shadow: inset 0 0 0 1px rgba(76, 171, 240, 0.54);
}

.smart-swap-saved-meal-card.is-demo-selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #dff1ff;
  box-shadow: inset 0 0 0 1px rgba(66, 163, 235, 0.64);
}

.smart-swap-swap-panel__cancel {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.3px;
  box-shadow:
    0 10px 18px rgba(31, 132, 217, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.smart-swap-portion-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(23, 72, 118, 0.12),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.smart-swap-portion-panel__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px 20px;
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
}

.smart-swap-portion-panel__header h5 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.45px;
}

.smart-swap-portion-panel__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 18px 18px;
  background: #ffffff;
}

.smart-swap-portion-panel__copy {
  margin: 0;
  color: #4f5a6d;
  text-align: center;
  font-size: 16px;
  line-height: 1.42;
  font-weight: 500;
}

.smart-swap-portion-panel__copy strong {
  font-weight: 800;
  color: #475467;
}

.smart-swap-portion-panel__target {
  margin: 10px 0 0;
  color: #98a2b3;
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.smart-swap-portion-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 18px 0 0;
  padding: 18px 16px;
  border: 1px solid rgba(167, 213, 244, 0.96);
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-align: left;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 180ms ease;
}

.smart-swap-portion-option__radio {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 2px solid #c8d4e2;
  border-radius: 999px;
  background: #ffffff;
}

.smart-swap-portion-option__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.smart-swap-portion-option__title {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.smart-swap-portion-option__title span {
  color: #98a2b3;
  font-weight: 600;
}

.smart-swap-portion-option__meta {
  display: block;
  color: #667085;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 500;
}

.smart-swap-portion-option--selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #edf7ff;
}

.smart-swap-portion-option--selected .smart-swap-portion-option__radio {
  border-color: #2996eb;
}

.smart-swap-portion-option--selected .smart-swap-portion-option__radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #2996eb;
}

.smart-swap-portion-option--selected .smart-swap-portion-option__title span {
  color: #3da2ef;
}

.smart-swap-portion-option.is-demo-hover {
  border-color: rgba(121, 190, 245, 0.96);
  background: #f4faff;
  box-shadow: inset 0 0 0 1px rgba(124, 191, 245, 0.42);
}

.smart-swap-portion-option.is-demo-clicking {
  border-color: rgba(76, 171, 240, 0.98);
  background: #eaf6ff;
  box-shadow: inset 0 0 0 1px rgba(76, 171, 240, 0.54);
}

.smart-swap-portion-option.is-demo-selected {
  border-color: rgba(66, 163, 235, 0.98);
  background: #e3f2ff;
  box-shadow: inset 0 0 0 1px rgba(66, 163, 235, 0.64);
}

.smart-swap-portion-panel__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
  color: #ffffff;
  font: inherit;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.2px;
  box-shadow:
    0 10px 18px rgba(31, 132, 217, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.smart-swap-meal-fill--complete {
  min-height: 96px;
}

.smart-swap-meal-confirm {
  margin: 8px;
  border-radius: 7px;
  border: 1px solid #659f77;
  padding: 8px 10px;
  background: linear-gradient(180deg, #7bb98c 0%, #6aa77b 100%);
  color: #f4fff8;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.smart-swap-step p {
  margin: 0;
  min-height: calc(2 * 1.36em);
  padding: 0 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.36;
}

.smart-swap-description-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: calc(var(--module-step-row-gap) - 30px);
}

.smart-swap-description-slot {
  min-width: 0;
  padding: 0 8px;
  display: flex;
}

.smart-swap-description-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 16px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(18, 35, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.smart-swap-description-card h4 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.smart-swap-description-card p {
  margin: 10px 0 0;
  min-height: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 500;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

.smart-swap-description-grid .smart-swap-description-card {
  height: 100%;
  justify-content: center;
  position: relative;
}

.smart-swap-description-grid .smart-swap-description-card h4,
.smart-swap-description-grid .smart-swap-description-card p {
  width: 100%;
}

.smart-swap-description-grid .smart-swap-description-card::before {
  content: none;
  display: none;
}

.smart-swap-description-grid .smart-swap-description-title,
.dynamic-alt-description-grid .smart-swap-description-title,
.macro-adjust-step-caption .smart-swap-description-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.smart-swap-description-grid .smart-swap-description-badge,
.dynamic-alt-description-grid .smart-swap-description-badge,
.macro-adjust-step-caption .smart-swap-description-badge {
  position: static;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 12px rgba(30, 136, 229, 0.3);
}

.smart-swap-description-grid .smart-swap-description-label,
.dynamic-alt-description-grid .smart-swap-description-label,
.macro-adjust-step-caption .smart-swap-description-label {
  display: inline-block;
}

.macro-adjust-step-caption .smart-swap-description-label {
  font-weight: 800;
}

.dynamic-alt-description-grid .smart-swap-description-card {
  height: 100%;
  justify-content: center;
}

.dynamic-alt-description-grid .smart-swap-description-card h4,
.dynamic-alt-description-grid .smart-swap-description-card p {
  width: 100%;
}

.smart-swap-step-visual--guided {
  position: relative;
}

.smart-swap-demo-cursor,
.dynamic-alt-demo-cursor,
.auto-split-demo-cursor,
.macro-adjust-demo-cursor {
  --cursor-x: 14px;
  --cursor-y: 14px;
  --cursor-scale: 1;
  --cursor-move-duration: 720ms;
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 30px;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) scale(var(--cursor-scale));
  transform-origin: 0 0;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition:
    transform 0ms linear,
    opacity 140ms ease-out;
  will-change: transform;
  filter:
    drop-shadow(0 1px 1px rgba(15, 43, 67, 0.5))
    drop-shadow(0 4px 7px rgba(15, 43, 67, 0.22));
}

.smart-swap-demo-cursor::before,
.dynamic-alt-demo-cursor::before,
.auto-split-demo-cursor::before,
.macro-adjust-demo-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111827;
  clip-path: polygon(0 0, 0 100%, 30% 74%, 44% 100%, 62% 91%, 47% 67%, 86% 67%);
}

.smart-swap-demo-cursor::after,
.dynamic-alt-demo-cursor::after,
.auto-split-demo-cursor::after,
.macro-adjust-demo-cursor::after {
  content: "";
  position: absolute;
  inset: 1.5px 1.5px 2.5px 1.5px;
  background: #ffffff;
  clip-path: polygon(0 0, 0 100%, 30% 74%, 44% 100%, 62% 91%, 47% 67%, 86% 67%);
}

.smart-swap-demo-cursor.is-visible,
.dynamic-alt-demo-cursor.is-visible,
.auto-split-demo-cursor.is-visible,
.macro-adjust-demo-cursor.is-visible {
  opacity: 1;
}

.smart-swap-demo-cursor.is-moving,
.dynamic-alt-demo-cursor.is-moving,
.auto-split-demo-cursor.is-moving,
.macro-adjust-demo-cursor.is-moving {
  transition: transform var(--cursor-move-duration) cubic-bezier(0.2, 0.84, 0.28, 1);
}

.smart-swap-demo-cursor.is-hover,
.dynamic-alt-demo-cursor.is-hover,
.auto-split-demo-cursor.is-hover,
.macro-adjust-demo-cursor.is-hover {
  --cursor-scale: 1.03;
}

.smart-swap-demo-cursor.is-fading,
.dynamic-alt-demo-cursor.is-fading,
.auto-split-demo-cursor.is-fading,
.macro-adjust-demo-cursor.is-fading {
  opacity: 0;
}

.smart-swap-demo-cursor.is-clicking,
.dynamic-alt-demo-cursor.is-clicking,
.auto-split-demo-cursor.is-clicking,
.macro-adjust-demo-cursor.is-clicking {
  --cursor-scale: 0.86;
}

.feature-block--dynamic-alternatives {
  --dynamic-alt-visual-height: clamp(320px, 21.5vw, 430px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  padding: 22px 16px 24px;
  overflow: hidden;
}

.feature-block.feature-block--dynamic-alternatives .feature-copy {
  order: 0;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-top: 41px;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.feature-block.feature-block--dynamic-alternatives .dynamic-alt-walkthrough {
  order: 1;
}

.feature-block--dynamic-alternatives .dynamic-alt-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  padding: 7px 19px;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, 0.24);
  background: linear-gradient(180deg, rgba(226, 241, 255, 0.98) 0%, rgba(214, 234, 253, 0.95) 100%);
  color: var(--blue-600);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  box-shadow:
    0 7px 15px rgba(30, 136, 229, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.feature-block--dynamic-alternatives .dynamic-alt-title {
  margin: 0;
  max-width: none;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 0.99;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: #082347;
  white-space: nowrap;
  text-wrap: normal;
}

.dynamic-alt-title-primary {
  color: #082347;
}

.dynamic-alt-title-gradient {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feature-block--dynamic-alternatives .dynamic-alt-description {
  margin: 2px auto 0;
  max-width: 42ch;
  color: #355070;
  font-size: clamp(20px, 1.6vw, 27px);
  line-height: 1.5;
}

.feature-block--dynamic-alternatives .dynamic-alt-benefits {
  margin-top: 10px;
}

.dynamic-alt-walkthrough {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: visible;
  padding: 0 0 2px;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}

.dynamic-alt-description-grid {
  order: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  margin-top: calc(var(--module-step-row-gap) - 24px);
}

.dynamic-alt-description-slot {
  min-width: 0;
  display: flex;
}

.dynamic-alt-walkthrough::-webkit-scrollbar {
  height: 8px;
}

.dynamic-alt-walkthrough::-webkit-scrollbar-track {
  background: rgba(191, 216, 243, 0.32);
  border-radius: 999px;
}

.dynamic-alt-walkthrough::-webkit-scrollbar-thumb {
  background: rgba(54, 140, 224, 0.44);
  border-radius: 999px;
}

.dynamic-alt-track {
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding: 0;
}

.dynamic-alt-step {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: none;
}

.dynamic-alt-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.24);
  background: var(--grad-tab);
  box-shadow:
    0 6px 14px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dynamic-alt-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-600);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 22px;
}

.dynamic-alt-step-label {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.dynamic-alt-step-visual {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex: 0 0 var(--dynamic-alt-visual-height);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(18, 35, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  padding: 4px;
  overflow: hidden;
}

.dynamic-alt-step--wide .dynamic-alt-step-visual {
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex-basis: var(--dynamic-alt-visual-height);
}

.dynamic-alt-step--step4 .dynamic-alt-step-visual {
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex-basis: var(--dynamic-alt-visual-height);
}

.dynamic-alt-step.dynamic-alt-step--step1 {
  align-self: stretch;
  height: 100%;
}

.dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual {
  position: relative;
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex: 0 0 var(--dynamic-alt-visual-height);
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  border: 1px solid rgba(30, 136, 229, 0.2);
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08);
  overflow: hidden;
}

.dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual img {
  display: block;
  width: 102%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0 -1%;
  border-radius: 0;
  background: #ffffff;
  transform: translateY(-8.5%);
}

.dynamic-alt-demo-hotspot {
  position: absolute;
  z-index: 3;
  border-radius: 12px;
  background: rgba(86, 183, 244, 0);
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
  transition:
    background-color 160ms ease,
    box-shadow 180ms ease,
    transform 160ms ease,
    opacity 180ms ease;
}

.dynamic-alt-demo-hotspot--step1-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.08px;
  white-space: nowrap;
}

.dynamic-alt-demo-hotspot--step5-breakfast {
  border-radius: 16px;
}

.dynamic-alt-demo-hotspot.is-demo-hover {
  background: rgba(90, 183, 240, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(78, 174, 236, 0.64);
}

.dynamic-alt-demo-hotspot.is-demo-clicking {
  background: rgba(78, 173, 236, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(58, 161, 230, 0.78);
}

.dynamic-alt-demo-hotspot.is-demo-selected {
  background: rgba(84, 179, 239, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(55, 153, 222, 0.86);
}

.dynamic-alt-demo-hotspot.is-demo-complete {
  background: rgba(84, 179, 239, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(55, 153, 222, 0.88),
    0 0 0 1px rgba(181, 230, 255, 0.72),
    0 0 14px rgba(104, 194, 247, 0.2);
}

.dynamic-alt-demo-hotspot--step1-alt.is-demo-hover {
  background: rgba(98, 193, 253, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(180, 231, 255, 0.76),
    0 0 0 1px rgba(51, 165, 236, 0.18);
}

.dynamic-alt-demo-hotspot--step1-alt.is-demo-clicking {
  background: rgba(27, 117, 202, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(17, 71, 123, 0.34);
}

.dynamic-alt-demo-hotspot--step1-alt.is-demo-selected {
  background: rgba(101, 197, 255, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(180, 231, 255, 0.82),
    0 0 10px rgba(104, 194, 247, 0.28);
}

.dynamic-alt-step1-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  width: 100%;
  min-height: 0;
  border-radius: 14px;
  border: 1px solid rgba(164, 208, 243, 0.76);
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 8px 18px rgba(23, 72, 118, 0.1),
    0 0 0 1px rgba(237, 247, 255, 0.8);
}

.dynamic-alt-step1-card__titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 8px;
  border-bottom: 1px solid rgba(18, 96, 165, 0.34);
  background: linear-gradient(96deg, #54b4f2 0%, #1f84d9 100%);
}

.dynamic-alt-step1-card__drag {
  width: 8px;
  height: 12px;
  justify-self: start;
  align-self: center;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.96) 1px, transparent 1.1px);
  background-position: 0 0;
  background-repeat: repeat-y;
  background-size: 4px 4px;
  opacity: 0.95;
}

.dynamic-alt-step1-card__titlebar h5 {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.12px;
}

.dynamic-alt-step1-card__link {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.dynamic-alt-step1-card__link::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 5px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
}

.dynamic-alt-step1-card__dismiss {
  grid-column: 3;
  justify-self: end;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(31, 135, 220, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #1f87dc;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dynamic-alt-step1-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
}

.dynamic-alt-step1-card__actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  border-radius: 5px;
  padding: 0 7px;
  background: linear-gradient(180deg, #58b8f6 0%, #2b96ea 100%);
  color: #ffffff;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 6px rgba(38, 129, 207, 0.12);
}

.dynamic-alt-step1-card__macros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
}

.dynamic-alt-step1-card__macros > div {
  min-width: 0;
  padding: 7px 4px 8px;
  text-align: center;
}

.dynamic-alt-step1-card__macros > div + div {
  border-left: 1px solid rgba(220, 232, 244, 0.96);
}

.dynamic-alt-step1-card__macros strong {
  display: block;
  color: #485366;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step1-card__macros small {
  display: block;
  margin-top: 3px;
  color: #9ca6b6;
  font-size: 6px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dynamic-alt-step1-card__foods {
  list-style: none;
  margin: 0;
  padding: 5px 0 0;
  background: #ffffff;
}

.dynamic-alt-step1-card__foods li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 4px 11px 5px 16px;
  border-bottom: 1px solid rgba(237, 243, 249, 0.96);
}

.dynamic-alt-step1-card__foods li span {
  min-width: 0;
}

.dynamic-alt-step1-card__foods li span:first-child {
  position: relative;
  color: #404a5c;
  font-size: 7px;
  line-height: 1.2;
  font-weight: 500;
}

.dynamic-alt-step1-card__foods li span:first-child::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -9px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #2f84d8;
}

.dynamic-alt-step1-card__foods li span:last-child {
  flex-shrink: 0;
  color: #9aa5b6;
  font-size: 7px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.dynamic-alt-step1-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 9px;
  border-top: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
}

.dynamic-alt-step1-card__footer strong {
  color: #151b24;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dynamic-alt-step1-card__footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(31, 135, 220, 0.44);
  padding: 0 8px;
  background: #1f87dc;
  color: #ffffff;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.dynamic-alt-step.dynamic-alt-step--step3 {
  align-self: stretch;
  height: 100%;
}

.dynamic-alt-step.dynamic-alt-step--step3 .dynamic-alt-step-visual {
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex: 0 0 var(--dynamic-alt-visual-height);
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dynamic-alt-step3-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 1px solid rgba(165, 210, 245, 0.78);
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(20, 67, 111, 0.06);
  overflow: hidden;
}

.dynamic-alt-step3-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
  padding: 10px 16px 11px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
}

.dynamic-alt-step3-card__header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.12px;
}

.dynamic-alt-step3-card__close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step3-card__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 8px;
  padding: 10px 11px 12px;
  overflow-y: auto;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #247fd1 #eef6ff;
}

.dynamic-alt-step3-card__body::-webkit-scrollbar {
  width: 10px;
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-track {
  background: #eef6ff;
  border-radius: 999px;
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #56b7f4 0%, #247fd1 100%);
  border: 2px solid #eef6ff;
  border-radius: 999px;
  background-clip: padding-box;
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3f9fea 0%, #1f6fc0 100%);
  border: 2px solid #eef6ff;
  background-clip: padding-box;
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-button {
  height: 10px;
  background: linear-gradient(180deg, #56b7f4 0%, #247fd1 100%);
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-button:hover {
  background: linear-gradient(180deg, #3f9fea 0%, #1f6fc0 100%);
}

.dynamic-alt-step3-card__body::-webkit-scrollbar-corner {
  background: #eef6ff;
}

.dynamic-alt-step3-card__actuals {
  border: 1px solid rgba(225, 235, 245, 0.96);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 9px 9px;
}

.dynamic-alt-step3-card__actuals-label {
  margin: 0 0 6px;
  color: #b1bccd;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.62px;
  text-align: center;
  text-transform: uppercase;
}

.dynamic-alt-step3-card__actuals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.dynamic-alt-step3-card__actuals-grid div {
  text-align: center;
}

.dynamic-alt-step3-card__actuals-grid div + div {
  border-left: 1px solid rgba(224, 234, 245, 0.96);
}

.dynamic-alt-step3-card__actuals-grid strong {
  display: block;
  color: #242a36;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 800;
}

.dynamic-alt-step3-card__actuals-grid span {
  display: block;
  margin-top: 3px;
  color: #7d8798;
  font-size: 6px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.28px;
}

.dynamic-alt-step3-card__back {
  margin: 0;
  color: #687385;
  font-size: 8px;
  line-height: 1.1;
  font-weight: 600;
}

.dynamic-alt-step3-card__intro {
  margin: 0;
  color: #7a8393;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 500;
}

.dynamic-alt-step3-card__templates {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dynamic-alt-step3-card__template {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 8px;
  border: 1px solid rgba(223, 230, 240, 0.96);
  border-radius: 9px;
  background: #ffffff;
  padding: 8px 8px 8px 10px;
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 190ms ease,
    transform 170ms ease;
}

.dynamic-alt-step3-card__template-copy {
  min-width: 0;
}

.dynamic-alt-step3-card__template-copy strong,
.dynamic-alt-step3-card__template-copy span,
.dynamic-alt-step3-card__template-copy small {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dynamic-alt-step3-card__template-copy strong {
  color: #232833;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;
}

.dynamic-alt-step3-card__template-copy span {
  margin-top: 3px;
  color: #7b8796;
  font-size: 7px;
  line-height: 1.1;
  font-weight: 500;
}

.dynamic-alt-step3-card__template-copy small {
  margin-top: 2px;
  color: #858d99;
  font-size: 6px;
  line-height: 1.15;
  font-weight: 500;
}

.dynamic-alt-step3-card__use {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 7px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  overflow: hidden;
  box-shadow:
    0 6px 12px rgba(31, 132, 217, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    background-color 160ms ease,
    box-shadow 180ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.dynamic-alt-step.dynamic-alt-step--step2 {
  align-self: stretch;
  height: 100%;
}

.dynamic-alt-step.dynamic-alt-step--step2 .dynamic-alt-step-visual {
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex: 0 0 var(--dynamic-alt-visual-height);
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(195, 221, 244, 0.98);
  border-radius: 14px;
  background: linear-gradient(180deg, #edf7ff 0%, #f8fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 6px 14px rgba(18, 35, 53, 0.05);
  overflow: hidden;
}

.dynamic-alt-step.dynamic-alt-step--step2 .dynamic-alt-step-visual img {
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.dynamic-alt-step2-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-self: stretch;
  border-radius: 15px;
  border: 1px solid rgba(165, 210, 245, 0.78);
  background: #ffffff;
  box-shadow:
    0 8px 16px rgba(20, 67, 111, 0.06),
    0 0 0 1px rgba(236, 245, 255, 0.94);
  overflow: hidden;
}

.dynamic-alt-step2-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
  padding: 10px 16px 11px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
}

.dynamic-alt-step2-card__header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.12px;
}

.dynamic-alt-step2-card__close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step2-card__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  padding: 10px 12px 12px;
  background: #ffffff;
}

.dynamic-alt-step2-card__main {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.dynamic-alt-step2-card__meal {
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(231, 239, 247, 0.95);
  text-align: center;
}

.dynamic-alt-step2-card__meal-label {
  margin: 0;
  color: #9eabc0;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.72px;
}

.dynamic-alt-step2-card__meal-label span {
  color: #3ea9f5;
}

.dynamic-alt-step2-card__meal-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 6px auto 0;
  width: min(100%, 270px);
  border: 1px solid rgba(195, 220, 244, 0.96);
  border-radius: 8px;
  background: #ffffff;
  color: #707783;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step2-card__actuals {
  padding: 0 2px;
}

.dynamic-alt-step2-card__actuals-label {
  margin: 0 0 6px;
  color: #b1bccd;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.62px;
  text-transform: uppercase;
}

.dynamic-alt-step2-card__actuals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dynamic-alt-step2-card__actuals-grid div {
  padding: 0 9px;
  text-align: center;
}

.dynamic-alt-step2-card__actuals-grid div + div {
  border-left: 1px solid rgba(231, 239, 247, 0.98);
}

.dynamic-alt-step2-card__actuals-key {
  display: block;
  color: #7d8898;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.dynamic-alt-step2-card__actuals-grid strong {
  display: block;
  margin-top: 4px;
  color: #252d3d;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.dynamic-alt-step2-card__actuals-grid small {
  display: block;
  margin-top: 2px;
  color: #b4bcc9;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
}

.dynamic-alt-step2-card__helper {
  margin: 6px auto 0;
  max-width: 29ch;
  color: #848c99;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.dynamic-alt-step2-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.dynamic-alt-step2-card__add-food {
  border: 1px solid rgba(160, 209, 243, 0.76);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.dynamic-alt-step2-card__add-food-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  background: linear-gradient(96deg, #53b6f4 0%, #2786d7 100%);
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step2-card__search {
  margin: 8px 9px 7px;
  min-height: 22px;
  border: 1px solid rgba(221, 231, 241, 0.96);
  border-radius: 7px;
  background: #ffffff;
  color: #b0b8c5;
  font-size: 7px;
  line-height: 1;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.dynamic-alt-step2-card__macro-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0 9px 9px;
}

.dynamic-alt-step2-card__macro-targets button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(96deg, #53b6f4 0%, #2786d7 100%);
  color: #ffffff;
  font: inherit;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step2-card__macro-targets span {
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step2-card__macro-targets small {
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
}

.dynamic-alt-step2-card__swap-link {
  margin: 0;
  align-self: center;
  position: relative;
  border: 0;
  background: transparent;
  color: #8f98a9;
  font: inherit;
  padding: 0;
  font-size: 7px;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: underline;
  cursor: default;
  transition:
    color 160ms ease,
    text-shadow 180ms ease;
}

.dynamic-alt-step2-card__swap-link::before {
  content: "";
  position: absolute;
  inset: -3px -8px;
  border-radius: 999px;
  background: rgba(84, 179, 239, 0);
  box-shadow: none;
  z-index: -1;
  transition:
    background-color 160ms ease,
    box-shadow 180ms ease;
}

.dynamic-alt-step2-card__swap-link.is-demo-hover {
  color: #1f84d9;
  text-shadow: 0 0 8px rgba(104, 194, 247, 0.24);
}

.dynamic-alt-step2-card__swap-link.is-demo-hover::before {
  background: rgba(90, 183, 240, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(78, 174, 236, 0.58);
}

.dynamic-alt-step2-card__swap-link.is-demo-clicking {
  color: #1c79c9;
}

.dynamic-alt-step2-card__swap-link.is-demo-clicking::before {
  background: rgba(78, 173, 236, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(58, 161, 230, 0.74);
}

.dynamic-alt-step2-card__swap-link.is-demo-selected {
  color: #1f84d9;
  text-shadow: 0 0 10px rgba(104, 194, 247, 0.3);
}

.dynamic-alt-step2-card__swap-link.is-demo-selected::before {
  background: rgba(84, 179, 239, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(55, 153, 222, 0.82),
    0 0 10px rgba(104, 194, 247, 0.16);
}

.dynamic-alt-step2-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.dynamic-alt-step2-card__action {
  min-height: 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
  color: #ffffff;
  font: inherit;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 12px rgba(31, 132, 217, 0.12);
  transition:
    box-shadow 180ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.dynamic-alt-step3-card__use.is-demo-hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(124, 191, 245, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.dynamic-alt-step3-card__use.is-demo-clicking {
  transform: translateY(1px);
  filter: brightness(0.98);
  box-shadow:
    inset 0 0 0 1px rgba(76, 171, 240, 0.7),
    inset 0 2px 6px rgba(18, 95, 160, 0.16);
}

.dynamic-alt-step3-card__use.is-demo-selected {
  filter: brightness(1.02);
  box-shadow:
    inset 0 0 0 1px rgba(66, 163, 235, 0.82),
    inset 0 0 0 999px rgba(255, 255, 255, 0.06);
}

.dynamic-alt-step.dynamic-alt-step--step4 {
  align-self: stretch;
  height: 100%;
}

.dynamic-alt-step.dynamic-alt-step--step4 .dynamic-alt-step-visual {
  min-height: var(--dynamic-alt-visual-height);
  height: var(--dynamic-alt-visual-height);
  flex: 0 0 var(--dynamic-alt-visual-height);
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dynamic-alt-step4-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 1px solid rgba(108, 182, 236, 0.6);
  background: #ffffff;
  box-shadow:
    0 10px 20px rgba(20, 67, 111, 0.08),
    0 0 0 1px rgba(235, 245, 255, 0.92);
  overflow: hidden;
}

.dynamic-alt-step4-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 42px;
  padding: 10px 16px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
}

.dynamic-alt-step4-card__header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.12px;
}

.dynamic-alt-step4-card__close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step4-card__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px 8px;
  background: #ffffff;
}

.dynamic-alt-step4-card__meal {
  padding: 1px 0 6px;
  border-bottom: 1px solid rgba(231, 239, 247, 0.95);
  text-align: center;
}

.dynamic-alt-step4-card__meal-label {
  display: block;
  color: #9eabc0;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.dynamic-alt-step4-card__meal strong {
  display: block;
  margin-top: 3px;
  color: #1d1d1f;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.dynamic-alt-step4-card__actuals {
  border: 1px solid rgba(231, 239, 247, 0.96);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 8px 8px 7px;
}

.dynamic-alt-step4-card__actuals-label {
  margin: 0 0 5px;
  color: #b1bccd;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.62px;
  text-transform: uppercase;
}

.dynamic-alt-step4-card__actuals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.dynamic-alt-step4-card__actuals-grid div {
  text-align: center;
}

.dynamic-alt-step4-card__actuals-grid strong {
  display: block;
  color: #3d4658;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step4-card__actuals-grid span {
  display: block;
  margin-top: 3px;
  color: #b4bcc9;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
}

.dynamic-alt-step4-card__helper {
  margin: 0;
  color: #b0b7c3;
  font-size: 7px;
  line-height: 1.2;
  font-weight: 700;
}

.dynamic-alt-step4-card__foods {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dynamic-alt-step4-card__food-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(228, 236, 245, 0.96);
  border-radius: 10px;
  background: #ffffff;
  padding: 4px 6px;
}

.dynamic-alt-step4-card__food-copy {
  min-width: 0;
}

.dynamic-alt-step4-card__food-copy strong {
  display: block;
  color: #454d5c;
  font-size: 7px;
  line-height: 1.18;
  font-weight: 700;
}

.dynamic-alt-step4-card__food-copy span {
  display: block;
  margin-top: 1px;
  color: #818b9a;
  font-size: 6px;
  line-height: 1.18;
  font-weight: 600;
}

.dynamic-alt-step4-card__food-controls {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.dynamic-alt-step4-card__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-top: 1px solid rgba(210, 225, 239, 0.95);
  border-bottom: 1px solid rgba(210, 225, 239, 0.95);
  background: #ffffff;
  color: #6e7686;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
}

.dynamic-alt-step4-card__control:first-child {
  border-left: 1px solid rgba(210, 225, 239, 0.95);
  border-radius: 6px 0 0 6px;
}

.dynamic-alt-step4-card__control:nth-last-child(2) {
  border-right: 1px solid rgba(210, 225, 239, 0.95);
}

.dynamic-alt-step4-card__control--blue {
  background: linear-gradient(96deg, #53b6f4 0%, #2786d7 100%);
  border-color: rgba(54, 148, 222, 0.95);
  color: #ffffff;
  min-width: 18px;
  font-size: 8px;
}

.dynamic-alt-step4-card__control--value {
  min-width: 24px;
  color: #3e485b;
}

.dynamic-alt-step4-card__control--unit {
  min-width: 24px;
  color: #b0bbc9;
  border-right: 1px solid rgba(210, 225, 239, 0.95);
  border-radius: 0 6px 6px 0;
}

.dynamic-alt-step4-card__control--remove {
  min-width: 12px;
  height: auto;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c5ccd6;
  font-size: 9px;
  font-weight: 700;
}

.dynamic-alt-step4-card__add-food {
  margin-top: 0;
  border: 1px solid rgba(160, 209, 243, 0.76);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 7px 14px rgba(20, 67, 111, 0.06),
    0 0 0 1px rgba(241, 248, 255, 0.9);
}

.dynamic-alt-step4-card__add-food-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  padding: 0 8px;
  background: linear-gradient(96deg, #53b6f4 0%, #2786d7 100%);
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step4-card__search {
  margin: 6px 8px 5px;
  min-height: 21px;
  border: 1px solid rgba(221, 231, 241, 0.96);
  border-radius: 7px;
  background: #ffffff;
  color: #b0b8c5;
  font-size: 7px;
  line-height: 1;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.dynamic-alt-step4-card__macro-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 0 8px 8px;
}

.dynamic-alt-step4-card__macro-targets span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(96deg, #53b6f4 0%, #2786d7 100%);
  color: #ffffff;
  font-size: 7px;
  line-height: 1;
  font-weight: 800;
}

.dynamic-alt-step4-card__swap-link {
  margin: 0;
  border: 0;
  background: transparent;
  color: #8f98a9;
  font: inherit;
  font-size: 7px;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: underline;
  cursor: default;
}

.dynamic-alt-step4-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: auto;
}

.dynamic-alt-step4-card__action {
  min-height: 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(96deg, #56b7f4 0%, #247fd1 100%);
  color: #ffffff;
  font: inherit;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  box-shadow:
    0 6px 12px rgba(31, 132, 217, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    box-shadow 180ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.dynamic-alt-step4-card__action--secondary {
  background: linear-gradient(96deg, #62c0f9 0%, #2e93e1 100%);
}

.dynamic-alt-step4-card__action.is-demo-hover {
  filter: saturate(1.05) brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(180, 231, 255, 0.64),
    0 0 12px rgba(100, 192, 247, 0.2),
    0 6px 12px rgba(31, 132, 217, 0.12);
}

.dynamic-alt-step4-card__action.is-demo-clicking {
  transform: translateY(1px);
}

.dynamic-alt-step4-card__action.is-demo-selected {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(180, 231, 255, 0.78),
    0 0 14px rgba(104, 194, 247, 0.24),
    0 8px 14px rgba(31, 132, 217, 0.16);
}

.dynamic-alt-step--modal .dynamic-alt-step-visual,
.dynamic-alt-step--template .dynamic-alt-step-visual {
  border: 1px solid rgba(30, 136, 229, 0.2);
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    0 7px 16px rgba(18, 35, 53, 0.08);
  padding: 0;
}

.dynamic-alt-step-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
  border-radius: 9px;
  border: none;
  object-fit: contain;
  object-position: center top;
  background: #ffffff;
  transform: none;
}

.dynamic-alt-step-visual--step4-card .dynamic-alt-step4-fallback-image {
  display: none;
}

.dynamic-alt-step--modal .dynamic-alt-step-visual img,
.dynamic-alt-step--template .dynamic-alt-step-visual img {
  border: none;
  border-radius: 0;
}

.dynamic-alt-step--template .dynamic-alt-step-visual,
.dynamic-alt-step--step4 .dynamic-alt-step-visual {
  box-shadow: none;
}

.dynamic-alt-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 55%;
  right: -16px;
  display: block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 212, 250, 0.18) 0%, rgba(90, 186, 244, 0.76) 34%, rgba(31, 132, 217, 1) 100%);
  background-size: 200% 100%;
  box-shadow:
    0 0 0 1px rgba(84, 176, 239, 0.18),
    0 6px 14px rgba(31, 132, 217, 0.18);
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowFlow 1.8s ease-in-out infinite;
}

.dynamic-alt-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 55%;
  right: -17px;
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid rgba(31, 132, 217, 0.98);
  border-right: 3px solid rgba(31, 132, 217, 0.98);
  border-radius: 1px;
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  animation: smartSwapArrowHead 1.8s ease-in-out infinite;
}

/* STATS */
.stats { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card {
  background: linear-gradient(180deg, #fafdff 0%, #f3f9ff 100%); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 24px; text-align: center;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.stat-number {
  font-size: 52px; font-weight: 900;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -2px; line-height: 1; margin-bottom: 10px;
}
.stat-number span { font-size: 32px; font-weight: 800; }
.stat-label { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* PRICING */
.pricing { background: linear-gradient(180deg, #f6fbff 0%, #f2f8ff 100%); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 24px;
  position: relative; box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  display: flex; flex-direction: column;
  transition: transform 0.24s var(--ease-standard), box-shadow 0.24s var(--ease-standard), border-color 0.24s var(--ease-standard);
}
.pricing-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.9); transform: translateY(-3px); }
.pricing-card--featured { border-color: var(--blue-400); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.92); transform: translateY(-6px); }

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-tab); color: #fff;
  font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.5px;
}

.pricing-top h3 { font-size: 22px; font-weight: 800; color: var(--blue-700); margin-bottom: 12px; letter-spacing: -0.4px; }
.price { font-size: 44px; font-weight: 900; color: var(--text); letter-spacing: -1.6px; line-height: 1; margin-bottom: 8px; }
.price span { font-size: 20px; font-weight: 500; color: var(--text-muted); }
.pricing-top p { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; min-height: 44px; }

.pricing-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-features li { font-size: 15px; color: var(--text); }
.pricing-features li::first-letter { color: var(--blue-500); font-weight: 800; }
.pricing-card .btn { margin-top: auto; }
.pricing-note { text-align: center; font-size: 15px; color: var(--text-muted); margin-top: 28px; }

/* CTA */
.cta { background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%); }
.cta-card {
  background: var(--grad-tab); border-radius: 24px; padding: 72px 48px;
  text-align: center; box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.28); color: #fff;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); color: #fff; letter-spacing: -1px; margin-bottom: 14px; }
.cta-card p { font-size: 18px; color: rgba(255, 255, 255, 0.9); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.cta-card .btn-primary { background: #fff; color: var(--blue-600); }
.cta-card .btn-primary:hover { background: #fff; color: var(--blue-700); filter: brightness(1.0); }

/* FOOTER */
.footer { background: linear-gradient(180deg, #f4f9ff 0%, #eff6ff 100%); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 40px; }
.footer-left { max-width: 260px; }
.footer-left .logo { margin-bottom: 14px; }
.footer-left p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 800; color: var(--blue-700); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-600); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 24px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); text-align: center; }

/* RESPONSIVE */
@media (max-width: 1199px) {
  .how-explainer {
    padding: 20px 20px;
  }
  .how-explainer::before {
    top: 20px;
    bottom: 20px;
  }
  .feature-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 26px;
    padding: 20px 20px;
  }
  .feature-block--macro-adjust,
  .feature-block--macro-adjust:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 12px 16px;
  }
  .feature-block.feature-block--macro-adjust .macro-adjust-header {
    padding-top: 38px;
  }
  .macro-adjust-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }
  .macro-adjust-step:not(:last-child)::before,
  .macro-adjust-step:not(:last-child)::after,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::before,
  .macro-adjust-step:not(:last-child) .macro-adjust-step-card::after {
    display: none;
  }
  .macro-adjust-flow-label {
    font-size: clamp(12px, 1.6vw, 16px);
    letter-spacing: 0.1em;
  }
  .macro-adjust-step {
    --macro-step-pad-x: 2px;
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 2px;
    --macro-visual-min-height: clamp(408px, 42vw, 536px);
    gap: calc(var(--module-step-row-gap) - 7px);
  }
  .macro-adjust-step--preview,
  .macro-adjust-step--distribution {
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 1px;
    --macro-visual-min-height: clamp(388px, 38vw, 502px);
    --macro-visual-inset-x: 0px;
  }
  .macro-adjust-step-visual {
    min-height: var(--macro-visual-min-height);
  }
  .macro-adjust-step-caption {
    min-height: 0;
    padding: 12px 16px;
    font-size: clamp(12.5px, 1.25vw, 15px);
    line-height: 1.34;
  }
  .feature-copy h3 {
    font-size: clamp(24px, 3vw, 32px);
  }
  .feature-block--macro-adjust .macro-adjust-copy h3 {
    font-size: clamp(40px, 5.1vw, 58px);
    letter-spacing: -1.45px;
  }
  .feature-block--macro-adjust .macro-adjust-copy p {
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.56;
  }
  .feature-copy p {
    font-size: 16px;
  }
  .feature-block--client-access {
    gap: 18px;
  }
  .feature-block.feature-block--client-access .smart-swap-title-row {
    margin-top: 38px;
  }
  .client-access-showcase {
    --client-phone-height: clamp(340px, 34vw, 500px);
    gap: clamp(10px, 1.2vw, 16px);
  }
  .feature-block--dynamic-alternatives {
    gap: 18px;
    padding: 20px 12px 16px;
  }
  .feature-block--dynamic-alternatives .feature-copy {
    width: min(100%, 1120px);
    padding-top: 38px;
  }
  .feature-block.feature-block--smart-swap:not(.feature-block--client-access) .smart-swap-copy {
    padding-top: 38px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-step-pill {
    font-size: 12px;
    letter-spacing: 1.25px;
    padding: 6px 16px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-title {
    font-size: clamp(42px, 5.6vw, 60px);
    letter-spacing: -1.45px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-description {
    max-width: 40ch;
    font-size: clamp(18px, 2vw, 23px);
  }
  .feature-block--dynamic-alternatives .dynamic-alt-benefits {
    margin-top: 8px;
  }
  .dynamic-alt-track {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    padding: 0;
  }
  .dynamic-alt-description-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: calc(var(--module-step-row-gap) - 20px);
  }
  .dynamic-alt-description-grid > .dynamic-alt-description-slot:last-child {
    grid-column: 1 / -1;
    width: min(100%, calc((100% - 18px) / 2));
    justify-self: center;
  }
  .dynamic-alt-walkthrough {
    overflow: visible;
    scroll-snap-type: none;
  }
  .dynamic-alt-step {
    min-width: 0;
    height: 100%;
    flex: none;
    scroll-snap-align: none;
  }
  .dynamic-alt-step.dynamic-alt-step--step1 {
    align-self: stretch;
    height: 100%;
  }
  .dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual {
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
  }
  .dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual img {
    width: 102%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 -1%;
    transform: translateY(-8.5%);
  }
  .dynamic-alt-step.dynamic-alt-step--step2 {
    height: auto;
  }
  .dynamic-alt-step.dynamic-alt-step--step2 .dynamic-alt-step-visual {
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
  }
  .dynamic-alt-track > .dynamic-alt-step:last-child {
    grid-column: 1 / -1;
    width: min(100%, calc((100% - 18px) / 2));
    justify-self: center;
  }
  .dynamic-alt-step-head {
    min-height: 36px;
    padding: 6px 9px;
  }
  .dynamic-alt-step-badge {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 13px;
  }
  .feature-block--smart-swap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 12px 16px;
  }
  .feature-block--smart-swap .smart-swap-step-pill {
    margin-bottom: 12px;
    padding: 6px 16px;
    font-size: 12px;
    letter-spacing: 1.3px;
  }
  .smart-swap-title-row {
    gap: 14px;
  }
  .smart-swap-copy h3 {
    font-size: clamp(40px, 5.1vw, 58px);
    letter-spacing: -1.45px;
  }
  .smart-swap-title-accent {
    gap: 7px;
    transform: translateY(-2px);
  }
  .smart-swap-title-accent span {
    height: 2.5px;
  }
  .smart-swap-title-accent--left span:nth-child(1),
  .smart-swap-title-accent--right span:nth-child(1) {
    width: 22px;
  }
  .smart-swap-title-accent--left span:nth-child(2),
  .smart-swap-title-accent--right span:nth-child(2) {
    width: 11px;
  }
  .feature-block--smart-swap .smart-swap-intro {
    margin-top: 12px;
    max-width: 660px;
    font-size: clamp(17px, 1.6vw, 20px);
  }
  .smart-swap-benefits {
    margin-top: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
  }
  .smart-swap-flow-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .smart-swap-description-grid {
    margin-top: calc(var(--module-step-row-gap) - 24px);
  }
  .smart-swap-description-slot {
    padding: 0 6px;
  }
  .smart-swap-step {
    padding: 6px;
    gap: 6px;
    border-right: 1px solid rgba(30, 136, 229, 0.16);
  }
  .smart-swap-step-head {
    min-height: 62px;
    padding: 0 10px;
  }
  .smart-swap-step-head h4 {
    font-size: 13.5px;
  }
  .smart-swap-step-visual--meal {
    padding: 8px;
    min-height: 540px;
  }
  .smart-swap-step-visual--swap-panel {
    padding: 8px;
    min-height: 540px;
  }
  .smart-swap-step-visual--portion-panel {
    padding: 8px;
    min-height: 540px;
  }
  .smart-swap-meal-header {
    gap: 10px;
    padding: 12px 14px 14px;
  }
  .smart-swap-meal-drag {
    width: 12px;
    height: 16px;
    background-size: 5px 5px;
  }
  .smart-swap-meal-header-top h5 {
    font-size: 17px;
  }
  .smart-swap-meal-link {
    width: 16px;
    height: 16px;
  }
  .smart-swap-meal-dismiss {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .smart-swap-meal-actions {
    gap: 8px;
  }
  .smart-swap-meal-actions span,
  .smart-swap-meal-actions .smart-swap-meal-action-button {
    padding: 8px 14px;
    font-size: 11.5px;
  }
  .smart-swap-meal-macros > div {
    padding: 16px 6px 14px;
  }
  .smart-swap-meal-macros strong {
    font-size: 17px;
  }
  .smart-swap-meal-macros span {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 0.62px;
  }
  .smart-swap-meal-foods li {
    column-gap: 12px;
    padding: 14px 18px;
  }
  .smart-swap-meal-foods li span:first-child {
    padding-left: 16px;
    font-size: 13px;
  }
  .smart-swap-meal-foods li span:last-child {
    font-size: 12px;
  }
  .smart-swap-meal-fill {
    min-height: 140px;
  }
  .smart-swap-meal-footer {
    padding: 16px 18px 18px;
  }
  .smart-swap-meal-footer strong {
    font-size: 12px;
  }
  .smart-swap-meal-footer span {
    padding: 9px 14px;
    font-size: 11.5px;
  }
  .smart-swap-swap-panel__header {
    padding: 16px 18px 18px;
  }
  .smart-swap-swap-panel__header h5 {
    font-size: 19px;
  }
  .smart-swap-swap-panel__close {
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .smart-swap-swap-panel__body {
    padding: 18px 18px 16px;
    gap: 14px;
  }
  .smart-swap-swap-panel__copy {
    font-size: 15px;
  }
  .smart-swap-swap-panel__search {
    min-height: 46px;
    padding: 0 14px;
    gap: 10px;
  }
  .smart-swap-swap-panel__search span:last-child {
    font-size: 14px;
  }
  .smart-swap-swap-panel__list {
    gap: 9px;
    padding-right: 6px;
  }
  .smart-swap-saved-meal-card {
    gap: 9px;
    padding: 16px 16px 14px;
  }
  .smart-swap-saved-meal-card__title {
    font-size: 15px;
  }
  .smart-swap-saved-meal-card__badge {
    min-height: 21px;
    padding: 0 10px;
    font-size: 10.5px;
  }
  .smart-swap-saved-meal-card__description {
    font-size: 12.8px;
  }
  .smart-swap-swap-panel__cancel {
    min-height: 60px;
    font-size: 17px;
  }
  .smart-swap-portion-panel__header {
    padding: 18px 22px 20px;
  }
  .smart-swap-portion-panel__header h5 {
    font-size: 20px;
  }
  .smart-swap-portion-panel__body {
    padding: 24px 22px 20px;
  }
  .smart-swap-portion-panel__copy {
    font-size: 15px;
  }
  .smart-swap-portion-panel__target {
    margin-top: 10px;
    font-size: 15px;
  }
  .smart-swap-portion-option {
    gap: 14px;
    margin-top: 18px;
    padding: 18px 16px;
  }
  .smart-swap-portion-option__radio {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }
  .smart-swap-portion-option--selected .smart-swap-portion-option__radio::after {
    inset: 4px;
  }
  .smart-swap-portion-option__title {
    font-size: 14px;
  }
  .smart-swap-portion-option__meta {
    font-size: 13px;
  }
  .smart-swap-portion-panel__cancel {
    min-height: 60px;
    font-size: 17px;
  }
  .smart-swap-meal-fill--complete {
    min-height: 110px;
  }
  .smart-swap-meal-confirm {
    margin: 7px;
    padding: 6px 8px;
    font-size: 10.5px;
  }
  .smart-swap-step p {
    font-size: 13px;
  }
  .feature-block--auto-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px 12px;
  }
  .feature-steps-row { gap: 12px; }
  .feature-step-card {
    padding: 8px 5px 8px;
  }
  .feature-step-card:nth-child(2),
  .feature-step-card:nth-child(3) {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .feature-step-card:nth-child(1) .feature-step-visual {
    max-width: min(74%, 340px);
  }
.feature-step-card:nth-child(2) .feature-step-visual,
.feature-step-card:nth-child(3) .feature-step-visual {
    max-width: 100%;
    aspect-ratio: auto;
  }
  .feature-step-card h4 {
    font-size: 18px;
  }
  .feature-step-card p {
    font-size: 13px;
    line-height: 1.32;
    max-width: 37ch;
  }
  .auto-split-mode-button {
    font-size: clamp(20px, 2.55vw, 23px);
    min-height: 47px;
    padding: 11px 20px;
  }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 900px) {
  .how-it-works.section {
    padding-top: 18px;
    padding-bottom: 40px;
  }
  .how-it-works .section-header {
    width: 100%;
    margin-bottom: 16px;
    padding: 20px 20px 62px;
    border-radius: 22px;
  }
  .how-it-works .section-header h2 {
    font-size: clamp(34px, 5.2vw, 48px);
    letter-spacing: -1px;
  }
  .how-mode-intro {
    margin-top: 14px;
    max-width: 92vw;
  }
  .how-mode-title-row {
    gap: 15px;
  }
  .how-mode-title-row::before {
    width: min(840px, 98vw);
    height: 214px;
    filter: blur(50px);
  }
  .how-mode-title-row::after {
    width: min(520px, 80vw);
    height: 116px;
    filter: blur(24px);
  }
  .how-mode-title {
    font-size: clamp(52px, 9.6vw, 78px);
    letter-spacing: -1.9px;
  }
  .how-mode-accent {
    gap: 7px;
    transform: translateY(-3px);
  }
  .how-mode-accent span {
    height: 2.5px;
  }
  .how-mode-accent--left span:nth-child(1),
  .how-mode-accent--right span:nth-child(1) {
    width: 20px;
  }
  .how-mode-accent--left span:nth-child(2),
  .how-mode-accent--right span:nth-child(2) {
    width: 11px;
  }
  .how-mode-sub {
    margin-top: 7px;
    font-size: 16px;
    max-width: 88vw;
  }
  .how-mode-guides {
    bottom: -24px;
    width: min(calc(100% - 26px), 840px);
    height: 138px;
  }
  .how-mode-guide-svg {
    width: clamp(152px, 26vw, 216px);
  }
  .how-mode-guide-svg--left {
    left: 12%;
  }
  .how-mode-guide-svg--right {
    right: 12%;
  }
  .how-mode-guide-path,
  .how-mode-guide-head {
    stroke-width: 5.2;
  }
  .hero-title .headline-line { white-space: normal; }
  .feature-stack {
    gap: 0;
  }
  .feature-block,
  .feature-block:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-block:nth-child(even) .feature-copy,
  .feature-block:nth-child(even) .feature-visual-frame {
    order: initial;
  }
  .feature-copy p {
    max-width: 100%;
  }
  .feature-block--dynamic-alternatives {
    gap: 18px;
    padding: 18px 10px 14px;
  }
  .feature-block--dynamic-alternatives .feature-copy {
    width: min(100%, 1120px);
    padding-top: 35px;
    gap: 8px;
  }
  .feature-block.feature-block--macro-adjust,
  .feature-block.feature-block--macro-adjust:nth-child(even) {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .feature-block.feature-block--macro-adjust .macro-adjust-header {
    padding-top: 35px;
  }
  .feature-block.feature-block--smart-swap:not(.feature-block--client-access) {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  .feature-block.feature-block--smart-swap:not(.feature-block--client-access) .smart-swap-copy {
    padding-top: 35px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-step-pill {
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 1.15px;
    padding: 6px 14px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-title {
    font-size: clamp(34px, 8.2vw, 50px);
    letter-spacing: -1.1px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-description {
    max-width: 34ch;
    font-size: clamp(17px, 3.9vw, 20px);
    line-height: 1.5;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-benefits {
    margin-top: 4px;
  }
  .dynamic-alt-track {
    gap: 10px;
  }
  .dynamic-alt-description-grid {
    gap: 10px;
  }
  .dynamic-alt-step {
    flex: 0 0 min(84vw, 360px);
    gap: 7px;
  }
  .dynamic-alt-step-head {
    min-height: 34px;
    padding: 6px 8px;
  }
  .dynamic-alt-step-badge {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
    font-size: 12px;
  }
  .dynamic-alt-step-label {
    font-size: 13px;
    line-height: 1.16;
  }
  .dynamic-alt-step-visual img {
    max-height: 390px;
  }
  .dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual img {
    width: 102%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 -1%;
    transform: translateY(-8.5%);
  }
  .dynamic-alt-step:not(:last-child)::after {
    content: none;
    display: none;
  }
  .dynamic-alt-step:not(:last-child)::before {
    content: none;
    display: none;
  }
  .feature-block--client-access {
    gap: 18px;
  }
  .feature-block.feature-block--client-access .smart-swap-title-row {
    margin-top: 50px;
  }
  .client-access-showcase {
    --client-phone-height: clamp(360px, 54vw, 500px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .client-access-card {
    padding: 12px 10px;
  }
  .client-access-card p {
    max-width: 26ch;
  }
  .client-phone {
    width: min(100%, 245px);
  }
  .feature-block--macro-adjust .macro-adjust-copy h3 {
    font-size: clamp(34px, 8.4vw, 50px);
    letter-spacing: -1.15px;
  }
  .feature-block--macro-adjust .macro-adjust-copy p {
    font-size: clamp(16px, 2.4vw, 20px);
    line-height: 1.54;
  }
  .feature-block--macro-adjust,
  .feature-block--macro-adjust:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .macro-adjust-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .macro-adjust-flow-label {
    margin-bottom: 2px;
    font-size: 12px;
    letter-spacing: 0.09em;
  }
  .macro-adjust-step {
    --macro-step-pad-x: 2px;
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 2px;
    --macro-visual-min-height: clamp(376px, 82vw, 528px);
  }
  .macro-adjust-step--initial,
  .macro-adjust-step--updated {
    --macro-step-pad-x: 1px;
  }
  .macro-adjust-step--preview,
  .macro-adjust-step--distribution {
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 1px;
    --macro-visual-min-height: clamp(356px, 74vw, 496px);
    --macro-visual-inset-x: 0px;
  }
  .macro-adjust-step:not(:last-child)::after {
    right: auto;
    top: auto;
    left: 50%;
    bottom: -10px;
    width: 2px;
    height: 13px;
    transform: translateX(-50%);
  }
  .macro-adjust-step:not(:last-child)::before {
    right: auto;
    top: auto;
    left: 50%;
    bottom: -16px;
    border-top: 7px solid rgba(30, 136, 229, 0.65);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 0;
    transform: translateX(-50%);
  }
  .macro-adjust-step h4 {
    font-size: 16px;
  }
  .macro-adjust-step-visual {
    min-height: var(--macro-visual-min-height);
  }
  .macro-adjust-step-caption {
    min-height: 0;
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.35;
  }
  .feature-block--smart-swap .feature-copy {
    align-self: stretch;
  }
  .feature-block--smart-swap .smart-swap-copy {
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .smart-swap-title-row {
    gap: 12px;
  }
  .smart-swap-copy h3 {
    font-size: clamp(34px, 8.4vw, 50px);
    letter-spacing: -1.15px;
  }
  .smart-swap-title-accent {
    gap: 6px;
  }
  .smart-swap-title-accent span {
    height: 2.2px;
  }
  .smart-swap-title-accent--left span:nth-child(1),
  .smart-swap-title-accent--right span:nth-child(1) {
    width: 18px;
  }
  .smart-swap-title-accent--left span:nth-child(2),
  .smart-swap-title-accent--right span:nth-child(2) {
    width: 10px;
  }
  .feature-block--smart-swap .smart-swap-intro {
    margin-top: 8px;
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.52;
  }
  .smart-swap-benefits {
    width: min(100%, 580px);
    margin-top: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
  .smart-swap-benefits li {
    max-width: none;
    padding-left: 52px;
    font-size: 15px;
  }
  .smart-swap-flow {
    overflow: visible;
    padding: 0;
  }
  .smart-swap-flow-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .smart-swap-description-grid {
    grid-template-columns: 1fr;
    margin-top: calc(var(--module-step-row-gap) - 28px);
    gap: 12px;
  }
  .smart-swap-description-slot {
    padding: 0;
  }
  .smart-swap-step:not(:last-child)::before,
  .smart-swap-step:not(:last-child)::after {
    display: none;
  }
  .smart-swap-step {
    padding: 10px;
    gap: 10px;
  }
  .smart-swap-step-head h4 {
    font-size: 15px;
  }
  .smart-swap-step-visual--meal {
    padding: 10px;
    min-height: 0;
  }
  .smart-swap-step-visual--swap-panel {
    padding: 10px;
    min-height: 0;
  }
  .smart-swap-step-visual--portion-panel {
    padding: 10px;
    min-height: 0;
  }
  .smart-swap-meal-header {
    padding: 14px 16px 16px;
    gap: 12px;
  }
  .smart-swap-meal-drag {
    width: 13px;
    height: 17px;
  }
  .smart-swap-meal-header-top h5 {
    font-size: 18px;
  }
  .smart-swap-meal-link {
    width: 17px;
    height: 17px;
  }
  .smart-swap-meal-dismiss {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  .smart-swap-meal-actions span,
  .smart-swap-meal-actions .smart-swap-meal-action-button {
    padding: 9px 14px;
    font-size: 12px;
  }
  .smart-swap-meal-macros > div {
    padding: 18px 8px 16px;
  }
  .smart-swap-meal-macros strong {
    font-size: 18px;
  }
  .smart-swap-meal-macros span {
    font-size: 10px;
  }
  .smart-swap-meal-foods li {
    padding: 15px 18px;
  }
  .smart-swap-meal-foods li span:first-child {
    font-size: 13px;
    padding-left: 16px;
  }
  .smart-swap-meal-foods li span:last-child {
    font-size: 12px;
  }
  .smart-swap-meal-fill {
    min-height: 110px;
  }
  .smart-swap-meal-footer {
    padding: 16px 18px 18px;
  }
  .smart-swap-meal-footer strong,
  .smart-swap-meal-footer span {
    font-size: 11.5px;
  }
  .smart-swap-swap-panel__header {
    padding: 16px 18px 18px;
  }
  .smart-swap-swap-panel__header h5 {
    font-size: 21px;
  }
  .smart-swap-swap-panel__close {
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  .smart-swap-swap-panel__body {
    padding: 18px;
    gap: 15px;
  }
  .smart-swap-swap-panel__copy {
    font-size: 15px;
  }
  .smart-swap-swap-panel__search {
    min-height: 48px;
  }
  .smart-swap-swap-panel__search span:last-child {
    font-size: 14px;
  }
  .smart-swap-swap-panel__list {
  }
  .smart-swap-saved-meal-card {
    padding: 18px 16px 14px;
  }
  .smart-swap-saved-meal-card__title {
    font-size: 16px;
  }
  .smart-swap-saved-meal-card__description {
    font-size: 13px;
  }
  .smart-swap-swap-panel__cancel {
    min-height: 62px;
    font-size: 18px;
  }
  .smart-swap-portion-panel__header {
    padding: 18px 20px 20px;
  }
  .smart-swap-portion-panel__header h5 {
    font-size: 21px;
  }
  .smart-swap-portion-panel__body {
    padding: 24px 22px 22px;
  }
  .smart-swap-portion-panel__copy {
    font-size: 15px;
  }
  .smart-swap-portion-panel__target {
    margin-top: 12px;
    font-size: 15px;
  }
  .smart-swap-portion-option {
    gap: 14px;
    margin-top: 20px;
    padding: 18px 16px;
  }
  .smart-swap-portion-option__radio {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }
  .smart-swap-portion-option--selected .smart-swap-portion-option__radio::after {
    inset: 4px;
  }
  .smart-swap-portion-option__title {
    font-size: 14px;
  }
  .smart-swap-portion-option__meta {
    font-size: 13px;
  }
  .smart-swap-portion-panel__cancel {
    min-height: 62px;
    font-size: 18px;
  }
  .smart-swap-meal-fill--complete {
    min-height: 96px;
  }
  .smart-swap-meal-confirm {
    margin: 9px;
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .smart-swap-step p {
    min-height: 0;
    font-size: 13px;
  }
  .feature-block--auto-split .feature-steps-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .feature-block--auto-split .feature-step-card {
    flex: 0 0 min(92vw, 620px);
    scroll-snap-align: start;
  }
  .feature-block--auto-split .feature-step-card .feature-step-visual {
    max-width: 100%;
    min-height: 0;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough {
    min-height: 0;
    padding: 12px 10px 14px;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 {
    padding: 10px 0 0;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 {
    padding: 10px 0 0;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    font-size: 18px;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    font-size: 18px;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 h4 {
    padding-inline: 14px;
    font-size: clamp(26px, 7vw, 36px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 h4 {
    padding-inline: 14px;
    font-size: clamp(24px, 6.1vw, 32px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 p {
    padding-inline: 16px;
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.28;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 p {
    padding-inline: 16px;
    font-size: clamp(15px, 3.8vw, 19px);
    line-height: 1.28;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual {
    height: clamp(340px, 88vw, 442px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-visual,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-visual {
    height: auto;
    width: calc(100% + 2px);
    margin-left: -1px;
    margin-right: -1px;
    align-items: stretch;
    justify-content: stretch;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 {
    padding: 10px 8px 12px;
    min-height: 0;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-icon,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-icon,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    font-size: 16px;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough h4,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 h4,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 h4 {
    padding-inline: 10px;
    font-size: clamp(22px, 5.1vw, 28px);
    line-height: 1.08;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough p,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 p,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 p {
    margin-bottom: 8px;
    padding-inline: 10px;
    min-height: 0;
    font-size: clamp(13px, 3.3vw, 15px);
    line-height: 1.28;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-visual,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-visual {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
    justify-content: center;
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell--auto-split,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
    padding: 4px;
    border: 1px solid rgba(30, 136, 229, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow:
      0 6px 14px rgba(30, 136, 229, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell--auto-split {
    width: min(100%, 360px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split {
    width: min(100%, 316px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split {
    width: min(100%, 364px);
  }
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step1 .feature-step-preview-shell img,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell img {
    border: 0;
    border-radius: 10px;
  }
  .feature-block--auto-split .feature-step-card--auto-split-sequence {
    opacity: 1;
    transform: none;
  }
  .feature-block--auto-split .feature-step-card--auto-split-sequence-step1 .auto-split-demo-stage,
  .feature-block--auto-split .feature-step-card--auto-split-sequence-step3 .auto-split-demo-stage {
    width: 100%;
  }
  .feature-block--auto-split .feature-step-card--auto-split-sequence-step2 .auto-split-demo-stage {
    width: min(100%, 320px);
  }
  .auto-split-demo-cursor {
    display: none;
  }
  .feature-visual-frame {
    aspect-ratio: 4 / 3;
  }
  .how-explainer {
    min-width: 920px;
    gap: 22px;
    padding: 20px 20px;
    border-radius: 22px;
  }
  .how-explainer::before {
    top: 20px;
    bottom: 20px;
  }
  .how-explainer-heading {
    font-size: clamp(34px, 4vw, 44px);
  }
  .how-direction-arrows {
    gap: 22px;
  }
  .how-direction-arrows span {
    height: 20px;
  }
  .how-direction-arrows--up span::before {
    top: -7px;
    border-left-width: 4.5px;
    border-right-width: 4.5px;
    border-bottom-width: 7px;
  }
  .how-direction-arrows--down span::after {
    bottom: -7px;
    border-left-width: 4.5px;
    border-right-width: 4.5px;
    border-top-width: 7px;
  }
  .how-flow-image-frame--meals {
    height: 364px;
  }
  .how-flow-image-frame--top {
    height: 138px;
  }
  .how-explainer-summary-title {
    font-size: 20px;
  }
  .how-explainer-macro-value {
    font-size: clamp(20px, 2.4vw, 28px);
  }
  .how-explainer-macro-label {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.7px;
  }
  .how-explainer-arrows {
    max-width: 90%;
  }
  .how-explainer-arrow {
    width: 7px;
    height: 38px;
  }
  .how-explainer-panel--manual .how-explainer-arrow::after,
  .how-explainer-panel--targets .how-explainer-arrow::after {
    border-left-width: 10px;
    border-right-width: 10px;
  }
  .how-explainer-meals {
    gap: 8px;
    padding: 10px;
  }
  .how-explainer-meal-title {
    padding: 9px 4px;
    font-size: 12px;
  }
  .how-explainer-meal-macros {
    gap: 5px;
    padding: 8px 6px 7px;
  }
  .how-explainer-meal-metric {
    padding: 5px 3px;
  }
  .how-explainer-meal-metric-value {
    font-size: 11px;
  }
  .how-explainer-meal-metric-label {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .how-explainer-caption {
    font-size: clamp(18px, 2.3vw, 24px);
  }
  .how-explainer-detail {
    max-width: 50ch;
    font-size: 14px;
    line-height: 1.52;
  }
  .how-summary-headbar {
    min-height: 36px;
    padding: 8px 44px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .how-summary-headbar-help {
    width: 20px;
    height: 20px;
    right: 12px;
    font-size: 13px;
  }
  .how-summary-media--manual {
    padding: 8px 3px 3px;
  }
  .how-summary-inline-label {
    font-size: 10px;
    letter-spacing: 0.13em;
  }
  .how-steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .how-step-visual { max-width: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: translateY(-4px); }
  .nav-links { gap: clamp(14px, 4vw, 32px); }
}
@media (max-width: 640px) {
  .how-it-works.section {
    padding-top: 14px;
    padding-bottom: 36px;
  }
  .how-it-works .section-header {
    margin-bottom: 12px;
    padding: 16px 14px 48px;
    border-radius: 16px;
  }
  .how-it-works .section-header h2 {
    font-size: clamp(30px, 8.2vw, 42px);
    letter-spacing: -0.8px;
  }
  .how-mode-intro {
    margin-top: 10px;
  }
  .how-mode-title-row {
    gap: 10px;
  }
  .how-mode-title-row::before {
    width: min(660px, 100vw);
    height: 186px;
    filter: blur(42px);
  }
  .how-mode-title-row::after {
    width: min(430px, 90vw);
    height: 102px;
    filter: blur(20px);
  }
  .how-mode-title {
    font-size: clamp(44px, 13.5vw, 62px);
    letter-spacing: -1.35px;
  }
  .how-mode-accent {
    gap: 6px;
    transform: translateY(-1px);
  }
  .how-mode-accent span {
    height: 2px;
  }
  .how-mode-accent--left span:nth-child(1),
  .how-mode-accent--right span:nth-child(1) {
    width: 15px;
  }
  .how-mode-accent--left span:nth-child(2),
  .how-mode-accent--right span:nth-child(2) {
    width: 9px;
  }
  .how-mode-sub {
    margin-top: 7px;
    font-size: 15px;
    line-height: 1.55;
    max-width: 92vw;
  }
  .how-mode-guides {
    bottom: -24px;
    width: min(calc(100% - 18px), 620px);
    height: 100px;
  }
  .how-mode-guide-svg {
    width: 114px;
  }
  .how-mode-guide-svg--left {
    left: 12%;
  }
  .how-mode-guide-svg--right {
    right: 12%;
  }
  .how-mode-guide-path,
  .how-mode-guide-head {
    stroke-width: 5.4;
  }

  .feature-block--auto-split .auto-split-description-strip {
    width: calc(100% - 2px);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .how-explainer {
    min-width: 840px;
    padding: 16px 14px;
    gap: 18px;
    border-radius: 16px;
  }
  .how-explainer::before {
    top: 16px;
    bottom: 16px;
  }
  .how-explainer-heading {
    font-size: clamp(30px, 5vw, 38px);
  }
  .how-direction-arrows {
    gap: 18px;
  }
  .how-direction-arrows span {
    height: 17px;
  }
  .how-direction-arrows--up span::before {
    top: -6px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-bottom-width: 6px;
  }
  .how-direction-arrows--down span::after {
    bottom: -6px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }
  .how-flow-image-frame--meals {
    height: 326px;
  }
  .how-flow-image-frame--top {
    height: 126px;
  }
  .how-explainer-summary {
    border-radius: 18px;
    padding: 14px 12px 12px;
  }
  .how-explainer-summary-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .how-explainer-macro {
    padding: 11px 5px 10px;
  }
  .how-explainer-macro-value {
    font-size: clamp(17px, 3.4vw, 22px);
  }
  .how-explainer-macro-label {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0.55px;
  }
  .how-explainer-arrows {
    max-width: 90%;
  }
  .how-explainer-arrow {
    width: 6px;
    height: 30px;
  }
  .how-explainer-panel--manual .how-explainer-arrow::after,
  .how-explainer-panel--targets .how-explainer-arrow::after {
    border-left-width: 9px;
    border-right-width: 9px;
  }
  .how-explainer-panel--manual .how-explainer-arrow::after {
    border-bottom-width: 11px;
  }
  .how-explainer-panel--targets .how-explainer-arrow::after {
    border-top-width: 11px;
  }
  .how-explainer-meals {
    padding: 8px;
    gap: 6px;
    border-radius: 14px;
  }
  .how-explainer-meal {
    border-radius: 10px;
  }
  .how-explainer-meal-title {
    padding: 8px 3px;
    font-size: 11px;
  }
  .how-explainer-meal-macros {
    gap: 4px;
    padding: 7px 5px 6px;
  }
  .how-explainer-meal-metric {
    padding: 4px 2px;
  }
  .how-explainer-meal-metric-value {
    font-size: 10px;
  }
  .how-explainer-meal-metric-label {
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .how-explainer-caption {
    font-size: clamp(16px, 4vw, 20px);
  }
  .how-explainer-detail {
    max-width: 46ch;
    font-size: 13px;
    line-height: 1.5;
  }
  .how-summary-headbar {
    min-height: 34px;
    padding: 7px 40px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .how-summary-headbar-help {
    width: 18px;
    height: 18px;
    right: 10px;
    font-size: 12px;
  }
  .how-summary-media--manual {
    padding: 8px 3px 3px;
  }
  .how-summary-inline-label {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .how-step-visual { max-width: 260px; }
  .feature-block {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .feature-copy h3 {
    font-size: clamp(22px, 6.2vw, 30px);
  }
  .feature-block--macro-adjust .macro-adjust-copy h3 {
    font-size: clamp(30px, 10.4vw, 42px);
    letter-spacing: -0.9px;
    line-height: 1.02;
    text-shadow: 0 1px 2px rgba(8, 35, 71, 0.08);
  }
  .feature-block--macro-adjust .macro-adjust-copy p {
    font-size: 16px;
    line-height: 1.52;
  }
  .feature-copy p {
    font-size: 15px;
    line-height: 1.55;
  }
  .feature-block--dynamic-alternatives {
    gap: 18px;
    padding: 16px 8px 12px;
  }
  .feature-block--dynamic-alternatives .feature-copy {
    width: min(100%, 1120px);
    padding-top: 31px;
  }
  .feature-block.feature-block--macro-adjust,
  .feature-block.feature-block--macro-adjust:nth-child(even) {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .feature-block.feature-block--macro-adjust .macro-adjust-header {
    padding-top: 31px;
  }
  .feature-block.feature-block--smart-swap:not(.feature-block--client-access) {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .feature-block.feature-block--smart-swap:not(.feature-block--client-access) .smart-swap-copy {
    padding-top: 31px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-step-pill {
    margin-bottom: 1px;
    font-size: 10px;
    letter-spacing: 1.05px;
    padding: 5px 12px;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-title {
    font-size: clamp(28px, 10.2vw, 40px);
    letter-spacing: -0.86px;
    line-height: 1.02;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-description {
    max-width: 31ch;
    font-size: 16px;
    line-height: 1.5;
  }
  .feature-block--dynamic-alternatives .dynamic-alt-benefits {
    margin-top: 2px;
  }
  .dynamic-alt-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .dynamic-alt-description-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: calc(var(--module-step-row-gap) - 20px);
  }
  .dynamic-alt-description-grid > .dynamic-alt-description-slot:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
  .dynamic-alt-track > .dynamic-alt-step:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
  .dynamic-alt-step {
    height: auto;
    flex-basis: auto;
  }
  .dynamic-alt-step.dynamic-alt-step--step2 .dynamic-alt-step-visual {
    height: auto;
    flex: 0 0 auto;
  }
  .dynamic-alt-step-head {
    min-height: 33px;
    padding: 5px 8px;
  }
  .dynamic-alt-step-badge {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    font-size: 11px;
  }
  .dynamic-alt-step-label {
    font-size: 12px;
    line-height: 1.12;
  }
  .dynamic-alt-step-visual img {
    max-height: 340px;
  }
  .dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual img {
    width: 102%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 -1%;
    transform: translateY(-8.5%);
  }
  .dynamic-alt-step-visual {
    padding: 5px;
    border-radius: 10px;
  }
  .dynamic-alt-step-visual img {
    border-radius: 7px;
  }
  .dynamic-alt-step:not(:last-child)::after {
    content: none;
    display: none;
  }
  .dynamic-alt-step:not(:last-child)::before {
    content: none;
    display: none;
  }
  .client-access-showcase {
    --client-phone-height: clamp(390px, 108vw, 520px);
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .client-access-card {
    padding: 12px 11px;
  }
  .client-phone {
    width: min(100%, 275px);
  }
  .macro-adjust-step {
    --macro-step-pad-x: 2px;
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 2px;
    --macro-visual-min-height: clamp(336px, 88vw, 472px);
  }
  .macro-adjust-step--initial,
  .macro-adjust-step--updated {
    --macro-step-pad-x: 1px;
  }
  .macro-adjust-step--preview,
  .macro-adjust-step--distribution {
    --macro-step-pad-y: 2px;
    --macro-step-gap: 4px;
    --macro-caption-pad-bottom: 1px;
    --macro-visual-min-height: clamp(320px, 80vw, 442px);
    --macro-visual-inset-x: 0px;
  }
  .macro-adjust-step h4 {
    font-size: 15px;
  }
  .macro-adjust-flow-label {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .macro-adjust-step-visual {
    min-height: var(--macro-visual-min-height);
  }
  .macro-adjust-step-caption {
    padding: 10px 12px;
    font-size: 12.5px;
    line-height: 1.32;
  }
  .feature-block--smart-swap .smart-swap-step-pill {
    margin-bottom: 10px;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.1px;
  }
  .feature-block.feature-block--client-access .smart-swap-title-row {
    margin-top: 47px;
  }
  .smart-swap-title-row {
    gap: 8px;
  }
  .smart-swap-copy h3 {
    font-size: clamp(30px, 10.4vw, 42px);
    letter-spacing: -0.9px;
  }
  .smart-swap-title-accent {
    gap: 5px;
    transform: translateY(-1px);
  }
  .smart-swap-title-accent span {
    height: 2px;
  }
  .smart-swap-title-accent--left span:nth-child(1),
  .smart-swap-title-accent--right span:nth-child(1) {
    width: 14px;
  }
  .smart-swap-title-accent--left span:nth-child(2),
  .smart-swap-title-accent--right span:nth-child(2) {
    width: 8px;
  }
  .feature-block--smart-swap .smart-swap-intro {
    margin-top: 8px;
    max-width: 31ch;
    font-size: 15px;
    line-height: 1.48;
  }
  .smart-swap-benefits {
    width: min(100%, 400px);
    margin-top: 10px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .smart-swap-benefits li {
    font-size: 14px;
    padding-left: 46px;
  }
  .smart-swap-benefits li::before {
    width: 38px;
    height: 38px;
    top: -2px;
  }
  .smart-swap-benefits li::after {
    top: 9px;
    left: 14px;
    width: 8px;
    height: 13px;
  }
  .smart-swap-step {
    padding: 9px;
  }
  .smart-swap-description-grid {
    margin-top: calc(var(--module-step-row-gap) - 27px);
    gap: 10px;
  }
  .smart-swap-description-card {
    padding: 14px 15px 16px;
    border-radius: 14px;
  }
  .smart-swap-description-card h4 {
    font-size: 14px;
  }
  .smart-swap-description-card p {
    font-size: 13px;
    line-height: 1.38;
  }
  .smart-swap-step-head {
    padding: 7px 8px;
  }
  .smart-swap-step-head h4 {
    font-size: 14px;
  }
  .smart-swap-step-visual--meal {
    padding: 8px;
    min-height: 0;
  }
  .smart-swap-step-visual--swap-panel {
    padding: 8px;
    min-height: 0;
  }
  .smart-swap-step-visual--portion-panel {
    padding: 8px;
    min-height: 0;
  }
  .smart-swap-meal-header {
    padding: 11px 12px 13px;
    gap: 10px;
  }
  .smart-swap-meal-drag {
    width: 11px;
    height: 15px;
  }
  .smart-swap-meal-header-top h5 {
    font-size: 16px;
  }
  .smart-swap-meal-actions {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .smart-swap-meal-actions span,
  .smart-swap-meal-actions .smart-swap-meal-action-button {
    padding: 7px 11px;
    font-size: 10.5px;
  }
  .smart-swap-meal-dismiss {
    width: 28px;
    height: 28px;
    font-size: 21px;
  }
  .smart-swap-meal-macros strong {
    font-size: 16px;
  }
  .smart-swap-meal-macros span {
    margin-top: 4px;
    font-size: 9px;
  }
  .smart-swap-meal-foods li {
    padding: 12px 14px;
  }
  .smart-swap-meal-foods li span:first-child {
    padding-left: 14px;
    font-size: 11.5px;
  }
  .smart-swap-meal-foods li span:last-child {
    font-size: 10.6px;
  }
  .smart-swap-meal-fill {
    min-height: 84px;
  }
  .smart-swap-meal-footer {
    flex-wrap: wrap;
    padding: 14px 14px 16px;
  }
  .smart-swap-meal-footer strong {
    font-size: 10px;
  }
  .smart-swap-meal-footer span {
    padding: 10px 14px;
    font-size: 10px;
  }
  .smart-swap-swap-panel__header {
    padding: 14px 16px 16px;
  }
  .smart-swap-swap-panel__header h5 {
    font-size: 18px;
  }
  .smart-swap-swap-panel__close {
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 21px;
  }
  .smart-swap-swap-panel__body {
    padding: 14px;
    gap: 12px;
  }
  .smart-swap-swap-panel__copy {
    font-size: 13.5px;
  }
  .smart-swap-swap-panel__search {
    min-height: 44px;
    gap: 9px;
    padding: 0 13px;
  }
  .smart-swap-swap-panel__search span:last-child {
    font-size: 13px;
  }
  .smart-swap-swap-panel__search-icon {
    width: 15px;
    height: 15px;
  }
  .smart-swap-swap-panel__search-icon::after {
    right: -4px;
    width: 7px;
  }
  .smart-swap-swap-panel__list {
    padding-right: 4px;
  }
  .smart-swap-saved-meal-card {
    gap: 8px;
    padding: 14px 13px 12px;
    border-radius: 15px;
  }
  .smart-swap-saved-meal-card__title {
    font-size: 14px;
  }
  .smart-swap-saved-meal-card__badge {
    min-height: 20px;
    padding: 0 9px;
    font-size: 10px;
  }
  .smart-swap-saved-meal-card__description {
    font-size: 11.5px;
  }
  .smart-swap-swap-panel__cancel {
    min-height: 56px;
    font-size: 16px;
  }
  .smart-swap-portion-panel__header {
    padding: 16px 16px 18px;
  }
  .smart-swap-portion-panel__header h5 {
    font-size: 18px;
  }
  .smart-swap-portion-panel__body {
    padding: 18px 16px 16px;
  }
  .smart-swap-portion-panel__copy {
    font-size: 13px;
  }
  .smart-swap-portion-panel__target {
    margin-top: 10px;
    font-size: 13px;
  }
  .smart-swap-portion-option {
    gap: 12px;
    margin-top: 14px;
    padding: 14px 12px;
    border-radius: 15px;
  }
  .smart-swap-portion-option__radio {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
  .smart-swap-portion-option--selected .smart-swap-portion-option__radio::after {
    inset: 3px;
  }
  .smart-swap-portion-option__title {
    font-size: 12.5px;
  }
  .smart-swap-portion-option__meta {
    font-size: 11.5px;
  }
  .smart-swap-portion-panel__cancel {
    min-height: 56px;
    font-size: 16px;
  }
  .smart-swap-meal-fill--complete {
    min-height: 72px;
  }
  .smart-swap-meal-confirm {
    font-size: 11.5px;
  }
  .smart-swap-step p {
    font-size: 12px;
    line-height: 1.34;
  }
  .feature-step-card {
    padding: 8px 7px 8px;
  }
  .feature-step-card h4 {
    font-size: 17px;
  }
  .feature-step-card p {
    font-size: 12px;
    line-height: 1.3;
  }
  .auto-split-mode-switcher {
    margin-top: 16px;
    gap: 8px;
    width: min(100%, 69ch);
  }
  .auto-split-mode-button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: clamp(16px, 4.8vw, 19px);
  }
  .auto-split-mode-helper {
    font-size: 11px;
    line-height: 1.35;
    max-width: 34ch;
  }
  .feature-visual-frame {
    padding: 8px;
    border-radius: 14px;
  }
  .feature-visual-frame img {
    border-radius: 10px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 18px; }
  .pricing-card--featured { transform: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .cta-card { padding: 48px 24px; }
  .section { padding: 72px 0; }
  .brand-header { padding: 40px 0 16px; }
}

body,
.brand-header,
.hero,
.how-it-works,
.features,
.stats,
.pricing,
.cta,
.footer {
  background: #ffffff;
}

.hero-glow {
  background: none;
}

.how-explainer,
.how-flow-panel,
.how-shot-wrap,
.how-summary-wrap,
.how-summary-wrap--targets-structured,
.how-summary-wrap--manual-structured,
.how-explainer-summary,
.how-explainer-meals,
.how-explainer-panel--manual .how-flow-panel,
.how-explainer-panel--targets .how-flow-panel,
.how-explainer-panel--manual .how-explainer-summary,
.how-explainer-panel--targets .how-explainer-summary,
.how-explainer-panel--manual .how-explainer-meals,
.how-explainer-panel--targets .how-explainer-meals,
.how-meal-preview,
.how-explainer-panel--manual .how-meal-preview,
.how-explainer-panel--targets .how-meal-preview,
.feature-block,
.feature-step-card,
.feature-visual-frame,
.stat-card,
.pricing-card {
  background: #ffffff;
}

/* Visual hierarchy upgrade: features intro, auto split, and mode explainer */
.features .section-header {
  width: min(100%, 1040px);
  margin: 0 auto 64px;
  padding: 16px 20px 14px;
  border-radius: 24px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow:
    0 12px 26px rgba(15, 53, 97, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.features .section-header h2 {
  display: inline-block;
  margin-bottom: 8px;
  padding-bottom: 8px;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #082347;
  opacity: 1;
  filter: none;
}

.features .section-header h2::after {
  content: "";
  display: block;
  width: min(58%, 250px);
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--grad-blue);
  box-shadow: 0 6px 14px rgba(30, 136, 229, 0.24);
}

.features .section-header .section-sub {
  max-width: 35ch;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.44;
  font-weight: 600;
  color: #3e5572;
  opacity: 1;
}

.feature-block--auto-split .feature-copy h3 {
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 0.99;
  letter-spacing: -1.8px;
  font-weight: 900;
  margin-bottom: 0;
  color: #082347;
  opacity: 1;
  filter: none;
}

.features .section-header h2 .heading-word-highlight,
.feature-block--auto-split .feature-copy h3 .heading-word-highlight {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feature-block--auto-split .auto-split-mode-description {
  max-width: 56ch;
  margin-top: 2px;
  font-size: clamp(17px, 1.22vw, 21px);
  line-height: 1.46;
  color: #3f5875;
  opacity: 1;
}

.auto-split-mode-switcher {
  margin-top: 14px;
  gap: 8px;
}

.auto-split-mode-toggle {
  border-color: rgba(22, 105, 194, 0.42);
  background: linear-gradient(180deg, #f6fbff 0%, #e9f4ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(30, 136, 229, 0.14);
}

.auto-split-mode-button {
  border-color: rgba(30, 136, 229, 0.3);
  background: rgba(255, 255, 255, 0.94);
  color: #1f578f;
  font-weight: 800;
  letter-spacing: -0.22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 2px 4px rgba(30, 136, 229, 0.05);
}

.auto-split-mode-button:hover:not(.is-active) {
  background: #f1f8ff;
  border-color: rgba(30, 136, 229, 0.5);
  color: #134578;
}

.auto-split-mode-button.is-active {
  background: linear-gradient(155deg, #67caf5 0%, #2f9ce7 58%, #1f79d1 100%);
  border-color: rgba(25, 118, 210, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 8px 16px rgba(20, 89, 160, 0.28);
}

.auto-split-mode-helper {
  color: #5f7894;
  line-height: 1.32;
  opacity: 1;
}

.how-explainer {
  border-color: rgba(30, 136, 229, 0.17);
  background: #FFFFFF;
  box-shadow:
    0 10px 28px rgba(15, 30, 46, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.how-explainer::before {
  background: rgba(0, 0, 0, 0.08);
}

.how-explainer-panel {
  gap: 12px;
}

.how-explainer-heading {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  font-size: clamp(34px, 4.3vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -1.55px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 20px rgba(13, 71, 161, 0.14);
}

.how-explainer-panel--manual .how-explainer-heading {
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #57677a;
  -webkit-text-fill-color: #57677a;
}

.how-explainer-panel--targets .how-explainer-heading {
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--blue-600);
  -webkit-text-fill-color: var(--blue-600);
  text-shadow: none;
}

.how-explainer-heading::after {
  content: "";
  display: block;
  height: 3px;
  width: min(58%, 154px);
  margin: 9px auto 0;
  border-radius: 999px;
}

.how-explainer-panel--manual .how-explainer-heading::after {
  background: linear-gradient(90deg, rgba(158, 175, 198, 0.95) 0%, rgba(46, 139, 223, 0.9) 100%);
}

.how-explainer-panel--targets .how-explainer-heading::after {
  background: linear-gradient(90deg, rgba(95, 190, 236, 0.96) 0%, rgba(30, 126, 212, 0.92) 100%);
}

.how-explainer-caption {
  margin: 0;
  font-size: clamp(22px, 1.95vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.how-explainer-panel--manual .how-explainer-caption {
  color: #57677a;
  opacity: 1;
}

.how-explainer-panel--targets .how-explainer-caption {
  color: var(--blue-600);
  opacity: 1;
}

.how-explainer-detail {
  max-width: 49ch;
  margin: 0 auto 2px;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.47;
  color: #4a607a;
}

.how-explainer-panel--manual .how-explainer-detail {
  color: #57677a;
  opacity: 1;
}

.how-explainer-panel--targets .how-explainer-detail {
  color: var(--blue-600);
  opacity: 1;
}

.how-summary-wrap {
  background: linear-gradient(180deg, rgba(232, 244, 253, 0.98) 0%, rgba(214, 235, 250, 0.94) 100%);
}

.how-shot-wrap {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

/* Targeted module fix: manual summary fill + side-by-side meal stack alignment */
.how-explainer-panel--manual .how-summary-wrap--manual-structured,
.how-explainer-panel--manual .how-summary-wrap--manual-structured .how-summary-media,
.how-explainer-panel--manual .how-summary-wrap--manual-structured .how-summary-media--manual {
  background: #ffffff;
}

.how-explainer {
  align-items: stretch;
}

.how-explainer-panel {
  height: 100%;
}

.how-explainer-panel .how-explainer-detail {
  min-height: 6em;
}

.how-explainer-panel .how-direction-arrows {
  margin: 0;
}

.how-explainer-panel .how-shot-wrap img {
  object-position: center top;
}

@media (max-width: 640px) {
  .dynamic-alt-step-visual--step4-card {
    justify-content: center;
  }

  .dynamic-alt-step-visual--step4-card .dynamic-alt-step4-card {
    display: none;
  }

  .dynamic-alt-step-visual--step4-card .dynamic-alt-step4-fallback-image {
    display: block;
  }
}

@media (max-width: 1280px) {
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough {
    min-height: 418px;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-caption {
    font-size: 10.5px;
  }

  .macro-adjust-step {
    --macro-step-pad-x: 6px;
    --macro-step-pad-y: 6px;
    --macro-step-gap: 8px;
  }

  .macro-adjust-step-visual {
    padding: 7px;
  }

  .macro-adjust-actuals-card__metric {
    padding: 14px 8px 12px;
  }

  .macro-adjust-meal-card__titlebar,
  .macro-adjust-meal-card__footer,
  .macro-adjust-preview-panel__body,
  .macro-adjust-distribution-module__body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .macro-adjust-meal-card__foods li,
  .macro-adjust-preview-panel__row {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 767px) {
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough {
    min-height: 0;
    padding: 5px 5px 6px;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-head {
    min-height: 42px;
    padding: 0 8px;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-head h4 {
    font-size: 13.5px;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-body {
    gap: 5px;
    padding: 6px 2px 0;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .auto-split-step-caption {
    padding: 0 6px;
    min-height: 0;
    font-size: 10.5px;
    line-height: 1.22;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual {
    min-height: clamp(260px, 66vw, 340px);
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--auto-split,
  .feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--modal {
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-visual {
    padding-inline: 10px;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split::after {
    height: 72px;
  }

  .macro-adjust-step-visual {
    padding: 6px;
  }

  .macro-adjust-actuals-card__metrics,
  .macro-adjust-meal-card__macros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .macro-adjust-actuals-card__metric:nth-child(3),
  .macro-adjust-meal-card__macros > div:nth-child(3) {
    border-left: 0;
  }

  .macro-adjust-actuals-card__metric:nth-child(n + 3),
  .macro-adjust-meal-card__macros > div:nth-child(n + 3) {
    border-top: 1px solid rgba(220, 232, 244, 0.96);
  }

  .macro-adjust-meal-card__actions {
    flex-wrap: wrap;
  }

  .macro-adjust-meal-card__foods li,
  .macro-adjust-preview-panel__row {
    padding-left: 12px;
    padding-right: 12px;
  }

  .macro-adjust-preview-panel__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .macro-adjust-preview-panel__summary-values,
  .macro-adjust-preview-panel__row-values {
    justify-content: flex-start;
  }

  .macro-adjust-distribution-module__option {
    min-height: 74px;
  }
}

/* Auto Split Step 2: show the provided Add Meal reference asset directly */
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-visual {
  padding-inline: 0;
  overflow: visible;
  align-items: flex-start;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell--modal {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step2 .feature-step-preview-shell img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: initial;
  object-position: center top;
}

/* Auto Split walkthrough: final clean three-visual layout */
.feature-block--auto-split .feature-steps-row--auto-split-walkthrough {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough {
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: block;
  overflow: visible;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-visual {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: block;
  overflow: visible;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--auto-split,
.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell--modal {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough .feature-step-preview-shell img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center top;
}

.feature-block--auto-split .feature-step-card--auto-split-walkthrough-step3 .feature-step-preview-shell--auto-split::after {
  content: none;
}

/* Auto Split walkthrough overlay on the combined workflow image */
.feature-block--auto-split .auto-split-workflow-image-block--demo {
  position: relative;
  overflow: visible;
}

.feature-block--auto-split .auto-split-demo-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.feature-block--auto-split .auto-split-demo-arrow,
.feature-block--auto-split .auto-split-demo-macro-pair,
.feature-block--auto-split .auto-split-demo-panel3-header-fix,
.feature-block--auto-split .auto-split-demo-panel3-content-replacement,
.feature-block--auto-split .auto-split-demo-target,
.feature-block--auto-split .auto-split-demo-glow,
.feature-block--auto-split .auto-split-demo-ripple {
  position: absolute;
}

.feature-block--auto-split .auto-split-demo-macro-pair {
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
  padding: 0 2px;
  border-radius: 4px;
  background: transparent;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: calc(var(--hotspot-height, 24px) * 0.77);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  isolation: isolate;
  text-shadow: 0 0 0.01px currentColor, 0 0 0.45px currentColor;
}

.feature-block--auto-split .auto-split-demo-macro-pair::before {
  content: "";
  position: absolute;
  inset: -2px -14px -1px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.98);
  z-index: -1;
}

.feature-block--auto-split .auto-split-demo-macro-pair[data-auto-split-demo-macro-pair^="add-"]::before {
  inset: -3px -16px -2px;
}

.feature-block--auto-split .auto-split-demo-macro-pair[data-auto-split-demo-macro-pair^="current-"],
.feature-block--auto-split .auto-split-demo-macro-pair[data-auto-split-demo-macro-pair^="updated-"] {
  min-height: calc(var(--hotspot-height, 24px) + 1px);
  align-items: center;
  line-height: 1.04;
  padding-top: 2px;
  padding-bottom: 1px;
}

.feature-block--auto-split .auto-split-demo-macro-pair[data-auto-split-demo-macro-pair^="current-"]::before,
.feature-block--auto-split .auto-split-demo-macro-pair[data-auto-split-demo-macro-pair^="updated-"]::before {
  inset: -3px -14px -3px;
}

.feature-block--auto-split .auto-split-demo-macro-pair__left {
  color: #64748B;
}

.feature-block--auto-split .auto-split-demo-macro-pair__slash {
  color: #B8C4D1;
}

.feature-block--auto-split .auto-split-demo-macro-pair__right {
  color: var(--blue-600);
}

.feature-block--auto-split .auto-split-demo-arrow {
  z-index: 2;
  overflow: visible;
}

.feature-block--auto-split .auto-split-demo-arrow::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 0;
  display: block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 212, 250, 0.18) 0%, rgba(90, 186, 244, 0.76) 34%, rgba(31, 132, 217, 1) 100%);
  background-size: 200% 100%;
  box-shadow:
    0 0 0 1px rgba(84, 176, 239, 0.18),
    0 6px 14px rgba(31, 132, 217, 0.18);
  pointer-events: none;
  transform-origin: center center;
  animation: smartSwapArrowFlow 1.8s ease-in-out infinite;
}

.feature-block--auto-split .auto-split-demo-arrow::before {
  content: "";
  position: absolute;
  top: 55%;
  right: 0;
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid rgba(31, 132, 217, 0.98);
  border-right: 3px solid rgba(31, 132, 217, 0.98);
  border-radius: 1px;
  pointer-events: none;
  transform-origin: center center;
  animation: smartSwapArrowHead 1.8s ease-in-out infinite;
}

.feature-block--auto-split .auto-split-demo-arrow[data-auto-split-demo-arrow="arrow-right"]::before,
.feature-block--auto-split .auto-split-demo-arrow[data-auto-split-demo-arrow="arrow-right"]::after {
  animation-delay: 0.2s;
}

.feature-block--auto-split .auto-split-demo-panel3-header-fix {
  --panel3-shell-radius: calc(var(--hotspot-height, 104px) * 0.18);
  --panel3-bar-height: calc(var(--hotspot-height, 104px) * 0.58);
  --panel3-title-size: calc(var(--hotspot-height, 104px) * 0.19);
  --panel3-badge-size: calc(var(--hotspot-height, 104px) * 0.31);
  --panel3-title-gap: calc(var(--hotspot-height, 104px) * 0.06);
  z-index: 1;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: var(--panel3-shell-radius) var(--panel3-shell-radius) 0 0;
}

.feature-block--auto-split .auto-split-demo-panel3-header-fix__bar {
  position: absolute;
  inset: 0 0 auto;
  height: var(--panel3-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 calc(var(--hotspot-width, 566px) * 0.03);
  border-radius: var(--panel3-shell-radius) var(--panel3-shell-radius) 0 0;
  background: var(--workflow-header-gradient);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.feature-block--auto-split .auto-split-demo-panel3-header-fix__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--panel3-title-gap);
  max-width: 100%;
  white-space: nowrap;
}

.feature-block--auto-split .auto-split-demo-panel3-header-fix__badge {
  width: var(--panel3-badge-size);
  height: var(--panel3-badge-size);
  flex: 0 0 var(--panel3-badge-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  background: #ffffff;
  color: #2f90e4;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: calc(var(--panel3-badge-size) * 0.52);
  line-height: 1;
  font-weight: 800;
}

.feature-block--auto-split .auto-split-demo-panel3-header-fix__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: var(--panel3-title-size);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-align: center;
}

.feature-block--auto-split .auto-split-demo-panel3-content-replacement {
  z-index: 1;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
}

.feature-block--auto-split .auto-split-demo-target {
  z-index: 3;
  border-radius: 10px;
  background: rgba(56, 160, 236, 0);
  box-shadow: inset 0 0 0 0 rgba(56, 160, 236, 0);
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.feature-block--auto-split .auto-split-demo-target--meals {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: 9px;
  color: #485261;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(12px, 0.82vw, 16px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.feature-block--auto-split .auto-split-demo-target--redistribute {
  border-radius: 999px;
}

.feature-block--auto-split .auto-split-demo-target.is-demo-hover {
  background: rgba(61, 165, 239, 0.08);
  box-shadow: inset 0 0 0 1px rgba(61, 165, 239, 0.42);
}

.feature-block--auto-split .auto-split-demo-target.is-demo-clicking {
  transform: scale(0.985);
  background: rgba(30, 136, 229, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(30, 136, 229, 0.5),
    inset 0 2px 4px rgba(15, 43, 67, 0.16);
}

.feature-block--auto-split .auto-split-demo-target.is-demo-selected {
  background: rgba(98, 190, 244, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(30, 136, 229, 0.56),
    inset 0 0 0 4px rgba(98, 190, 244, 0.08);
}

.feature-block--auto-split .auto-split-demo-target.auto-split-demo-target--meals.is-demo-hover,
.feature-block--auto-split .auto-split-demo-target.auto-split-demo-target--meals.is-demo-clicking,
.feature-block--auto-split .auto-split-demo-target.auto-split-demo-target--meals.is-demo-selected {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.feature-block--auto-split .auto-split-demo-meals-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  color: #2f4560;
  font-size: calc(var(--hotspot-height, 22px) * 0.82);
  font-weight: 700;
  transition: opacity 120ms ease;
}

.feature-block--auto-split .auto-split-demo-target--meals.is-demo-value-visible .auto-split-demo-meals-glyph {
  opacity: 1;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 0 4px #ffffff;
}

.feature-block--auto-split .auto-split-demo-target--redistribute {
  border-radius: 8px;
}

.feature-block--auto-split .auto-split-demo-target--redistribute.is-demo-hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.feature-block--auto-split .auto-split-demo-target--redistribute.is-demo-clicking {
  transform: none;
  background: rgba(17, 86, 152, 0.24);
  box-shadow:
    inset 0 2px 8px rgba(10, 35, 56, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.feature-block--auto-split .auto-split-demo-target--redistribute.is-demo-selected {
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 4px rgba(10, 35, 56, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.feature-block--auto-split .auto-split-demo-ripple {
  --ripple-x: 0px;
  --ripple-y: 0px;
  z-index: 5;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 999px;
  border: 1.5px solid rgba(73, 172, 241, 0.55);
  box-shadow: inset 0 0 0 1px rgba(73, 172, 241, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--ripple-x), var(--ripple-y), 0) scale(0.3);
}

.feature-block--auto-split .auto-split-demo-ripple.is-active {
  animation: auto-split-ripple 340ms cubic-bezier(0.18, 0.8, 0.34, 1);
}

.feature-block--auto-split .auto-split-demo-glow {
  z-index: 2;
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.995);
  transform-origin: center;
  background: linear-gradient(180deg, rgba(100, 190, 244, 0) 0%, rgba(100, 190, 244, 0.015) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(73, 172, 241, 0),
    inset 0 0 0 14px rgba(73, 172, 241, 0),
    inset 0 0 28px rgba(73, 172, 241, 0);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.feature-block--auto-split .auto-split-demo-glow--meal-one {
  border-radius: 14px;
}

.feature-block--auto-split .auto-split-demo-glow.is-active {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(180deg, rgba(100, 190, 244, 0.095) 0%, rgba(100, 190, 244, 0.03) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(73, 172, 241, 0.74),
    inset 0 0 0 14px rgba(73, 172, 241, 0.1),
    inset 0 0 44px rgba(73, 172, 241, 0.34);
}

.feature-block--auto-split .auto-split-demo-cursor {
  z-index: 6;
}

.feature-block--auto-split .auto-split-demo-cursor.is-spawning {
  --cursor-scale: 0.78;
  transition:
    transform 220ms cubic-bezier(0.22, 0.88, 0.3, 1),
    opacity 180ms ease-out;
}

@keyframes auto-split-caret-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes auto-split-ripple {
  0% {
    opacity: 0.36;
    transform: translate3d(var(--ripple-x), var(--ripple-y), 0) scale(0.36);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--ripple-x), var(--ripple-y), 0) scale(1.26);
  }
}

/* Auto Split section: render the supplied mock at its native pixel size with no scaling. */
.feature-block.feature-block--auto-split.feature-block--auto-split-static {
  --auto-split-card-outline: #C9D1DB;
  display: block;
  overflow-x: visible;
  overflow-y: visible;
}

.feature-block.feature-block--auto-split.feature-block--auto-split-static .feature-copy {
  width: min(100%, 1120px);
  max-width: 1120px;
  padding: 24px 6px 0;
  position: relative;
  z-index: 3;
}

.feature-block--auto-split .auto-split-benefits {
  width: min(100%, 1080px);
  margin: 18px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  position: relative;
  z-index: 2;
}

.feature-block--auto-split .auto-split-mode-switcher {
  margin-top: 14px;
}

.feature-block--auto-split .auto-split-mobile-flow {
  display: none;
}

.feature-block--auto-split .auto-split-workflow-scroll,
.feature-block--auto-split .auto-split-description-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.feature-block--auto-split .auto-split-workflow-scroll {
  margin: -75px auto 0;
  padding-bottom: 0;
  scrollbar-width: none;
}

.feature-block--auto-split .auto-split-description-scroll {
  overflow-x: visible;
  padding-bottom: 0;
  margin: calc(var(--module-step-row-gap) - 34px) auto 0;
}

.feature-block--auto-split .auto-split-workflow-scroll::-webkit-scrollbar,
.feature-block--auto-split .auto-split-description-scroll::-webkit-scrollbar {
  height: 8px;
}

.feature-block--auto-split .auto-split-workflow-scroll::-webkit-scrollbar {
  display: none;
}

.feature-block--auto-split .auto-split-workflow-scroll::-webkit-scrollbar-track,
.feature-block--auto-split .auto-split-description-scroll::-webkit-scrollbar-track {
  background: rgba(191, 216, 243, 0.32);
  border-radius: 999px;
}

.feature-block--auto-split .auto-split-workflow-scroll::-webkit-scrollbar-thumb,
.feature-block--auto-split .auto-split-description-scroll::-webkit-scrollbar-thumb {
  background: rgba(54, 140, 224, 0.44);
  border-radius: 999px;
}

.feature-block.feature-block--auto-split.feature-block--auto-split-static .auto-split-workflow-image-block--native {
  width: 1590px !important;
  height: 989px !important;
  margin: 0 auto;
}

.feature-block.feature-block--auto-split.feature-block--auto-split-static .auto-split-workflow-image-block--native img {
  width: 1590px !important;
  height: 989px !important;
  max-width: none !important;
  display: block !important;
}

.feature-block--auto-split .auto-split-description-strip {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.feature-block--auto-split .auto-split-description-step {
  position: relative;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(220, 232, 244, 0.96);
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(18, 35, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-align: center;
  overflow-wrap: break-word;
}

.feature-block--auto-split .auto-split-description-step:not(:last-child)::after {
  content: none;
  display: none;
}

.feature-block--auto-split .auto-split-description-step .smart-swap-description-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  text-align: center;
}

.feature-block--auto-split .auto-split-description-step .smart-swap-description-badge {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 12px rgba(30, 136, 229, 0.3);
}

.feature-block--auto-split .auto-split-description-step .smart-swap-description-label {
  display: inline-block;
  color: #172033;
  white-space: nowrap;
}

.feature-block--auto-split .auto-split-description-step p {
  width: 100%;
  max-width: 392px;
  margin: 12px auto 0;
  color: #4f5663;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 500;
  text-align: center;
}

.feature-block--auto-split .auto-split-description-step strong {
  color: #172033;
  font-weight: 800;
}

.feature-block--auto-split .auto-split-description-list {
  width: min(100%, 432px);
  max-width: 100%;
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4f5663;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 500;
  text-align: left;
}

.feature-block--auto-split .auto-split-description-step--step2 .auto-split-description-list {
  text-align: center;
}

.feature-block--auto-split .auto-split-description-list li {
  position: relative;
  padding-left: 14px;
}

.feature-block--auto-split .auto-split-description-step--step2 .auto-split-description-list li {
  padding-left: 0;
}

.feature-block--auto-split .auto-split-description-list li::before {
  content: "\2013";
  position: absolute;
  top: 0;
  left: 0;
  color: #172033;
  font-weight: 700;
}

.feature-block--auto-split .auto-split-description-step--step2 .auto-split-description-list li::before {
  position: static;
  margin-right: 4px;
}

.feature-block--auto-split + .feature-block {
  margin-top: 96px;
}

@media (max-width: 640px) {
  .feature-block--auto-split .auto-split-benefits {
    width: min(100%, 400px);
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-block--auto-split .auto-split-description-strip {
    width: calc(100% - 2px);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .feature-block--dynamic-alternatives .dynamic-alt-title {
    max-width: 100%;
    white-space: normal;
  }
}

/* Mobile-only responsive pass: keep desktop rules untouched above 768px. */
@media (max-width: 768px) {
  :root {
    --site-gutter: 16px;
    --how-summary-shell-height: clamp(164px, 46vw, 218px);
    --feature-mobile-section-gap: 52px;
    --feature-mobile-card-gap: 16px;
    --feature-mobile-module-gap: 14px;
    --feature-mobile-step-pad: 18px 16px 20px;
    --feature-mobile-step-radius: 16px;
    --feature-mobile-step-border: rgba(199, 225, 246, 0.95);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
    line-height: 1.56;
  }

  img,
  svg {
    max-width: 100%;
    height: auto;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  a,
  button {
    overflow-wrap: break-word;
  }

  .container,
  .how-it-works .container,
  .features .container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
  }

  .section {
    padding: 56px 0;
  }

  .brand-header {
    padding: 28px 0 12px;
  }

  .brand-logo-img {
    width: min(78vw, 360px);
  }

  .nav-inner {
    height: auto;
    min-height: 56px;
    justify-content: flex-start;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    min-height: 38px;
    padding: 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(30, 136, 229, 0.14);
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .hero {
    padding: 26px 0 34px;
  }

  .hero-glow {
    display: none;
  }

  .hero-title {
    max-width: 11.5em;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(31px, 8.8vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.9px;
  }

  .hero-title .headline-line,
  .hero-title .headline-line--tight {
    white-space: normal;
  }

  .hero-sub {
    max-width: 34ch;
    margin-bottom: 22px;
    font-size: 15.5px;
    line-height: 1.62;
  }

  .hero-actions {
    width: 100%;
    max-width: 370px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    gap: 10px;
  }

  .btn,
  .hero-actions .btn,
  .pricing-card .btn,
  .cta-card .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    white-space: normal;
    text-align: center;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .section-header h2 {
    font-size: clamp(27px, 7.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.75px;
  }

  .section-sub {
    max-width: 34ch;
    font-size: 15.5px;
    line-height: 1.56;
  }

  .how-it-works.section {
    padding-top: 14px;
    padding-bottom: 42px;
  }

  .how-it-works .section-header {
    margin-bottom: 14px;
    padding: 16px 14px 18px;
    border-radius: 16px;
  }

  .how-mode-title {
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -1.2px;
  }

  .how-mode-sub {
    max-width: 31ch;
    font-size: 14.5px;
  }

  .how-mode-guides {
    display: none;
  }

  .how-explainer-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .how-explainer {
    width: 100%;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 16px;
  }

  .how-explainer::before {
    display: none;
  }

  .how-explainer-panel {
    max-width: 100%;
    gap: 11px;
  }

  .how-explainer-heading {
    font-size: clamp(29px, 7.6vw, 38px);
    letter-spacing: -0.85px;
  }

  .how-explainer-caption {
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .how-explainer-detail {
    max-width: 100%;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .how-summary-wrap--targets-structured,
  .how-summary-wrap--manual-structured {
    height: var(--how-summary-shell-height);
    border-radius: 16px;
  }

  .how-summary-headbar {
    min-height: 34px;
    padding: 7px 40px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .how-summary-headbar-help {
    width: 18px;
    height: 18px;
    right: 10px;
    font-size: 12px;
  }

  .how-shot-wrap {
    border-radius: 16px;
  }

  .features.section {
    padding-top: 38px;
  }

  .features .section-header {
    margin-bottom: 36px;
    padding: 16px 14px 15px;
    border-radius: 16px;
  }

  .features .section-header h2 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.9px;
  }

  .features .section-header .section-sub {
    max-width: 33ch;
    font-size: 16px;
    line-height: 1.48;
  }

  .feature-block + .feature-block,
  .feature-block--auto-split + .feature-block {
    margin-top: var(--feature-mobile-section-gap);
  }

  .feature-block,
  .feature-block:nth-child(even) {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 14px 22px;
    border-radius: 16px;
  }

  .feature-block:nth-child(even) .feature-copy,
  .feature-block:nth-child(even) .feature-visual-frame {
    order: initial;
  }

  .feature-copy {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .feature-copy h3,
  .feature-block--macro-adjust .macro-adjust-copy h3,
  .smart-swap-copy h3,
  .feature-block--dynamic-alternatives .dynamic-alt-title {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.95px;
    white-space: normal;
  }

  .feature-block--auto-split .feature-copy h3 {
    max-width: 100%;
    font-size: clamp(32px, 8.8vw, 43px);
    line-height: 1.03;
    letter-spacing: -0.95px;
    white-space: normal;
  }

  .feature-copy p,
  .feature-block--auto-split .feature-copy p,
  .feature-block--auto-split .auto-split-mode-description,
  .feature-block--macro-adjust .macro-adjust-copy p,
  .feature-block--smart-swap .smart-swap-intro,
  .feature-block--dynamic-alternatives .dynamic-alt-description {
    max-width: 33ch;
    font-size: 15.5px;
    line-height: 1.52;
  }

  .feature-block--auto-split .feature-copy p {
    margin-top: 14px;
    max-width: 31ch;
    line-height: 1.55;
  }

  .smart-swap-benefits,
  .feature-block--auto-split .auto-split-benefits {
    width: min(100%, 520px);
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }

  .smart-swap-benefits li {
    min-height: 44px;
    padding-left: 52px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.3;
  }

  .smart-swap-benefits li::before {
    top: 50%;
    transform: translateY(-50%);
  }

  .smart-swap-benefits li::after {
    top: 50%;
    transform: translateY(-50%) rotate(40deg);
  }

  .feature-block.feature-block--auto-split.feature-block--auto-split-static {
    padding: 20px 10px 22px;
    overflow: hidden;
  }

  .feature-block.feature-block--auto-split.feature-block--auto-split-static .feature-copy {
    width: 100%;
    padding: 18px 6px 0;
  }

  .feature-block--auto-split .auto-split-workflow-scroll {
    overflow-x: visible;
    margin: 30px auto 0;
  }

  .feature-block.feature-block--auto-split.feature-block--auto-split-static .auto-split-workflow-image-block--native {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1590 / 989;
    margin: 0 auto;
  }

  .feature-block.feature-block--auto-split.feature-block--auto-split-static .auto-split-workflow-image-block--native img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .feature-block--auto-split .auto-split-demo-layer {
    display: none;
  }

  .feature-block--auto-split .auto-split-description-scroll {
    overflow-x: visible;
    margin-top: var(--feature-mobile-module-gap);
  }

  .feature-block--auto-split .auto-split-description-strip {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .feature-block--auto-split .auto-split-description-step {
    padding: var(--feature-mobile-step-pad);
    border-radius: var(--feature-mobile-step-radius);
    border-color: var(--feature-mobile-step-border);
  }

  .macro-adjust-flow,
  .smart-swap-flow-track,
  .dynamic-alt-track,
  .dynamic-alt-description-grid,
  .smart-swap-description-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--feature-mobile-card-gap);
  }

  .feature-block.feature-block--macro-adjust .macro-adjust-flow,
  .feature-block.feature-block--smart-swap .smart-swap-flow-track,
  .feature-block.feature-block--dynamic-alternatives .dynamic-alt-track,
  .feature-block.feature-block--dynamic-alternatives .dynamic-alt-description-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--feature-mobile-card-gap);
  }

  .macro-adjust-step-card {
    gap: var(--feature-mobile-module-gap);
  }

  .macro-adjust-step-caption,
  .smart-swap-description-card,
  .feature-block--auto-split .auto-split-description-step {
    padding: var(--feature-mobile-step-pad);
    border-radius: var(--feature-mobile-step-radius);
    border-color: var(--feature-mobile-step-border);
  }

  .macro-adjust-step-caption {
    min-height: 0;
    line-height: 1.42;
  }

  .smart-swap-description-card p,
  .feature-block--auto-split .auto-split-description-step p,
  .macro-adjust-step-caption-body {
    line-height: 1.44;
  }

  .smart-swap-description-grid,
  .dynamic-alt-description-grid {
    margin-top: var(--feature-mobile-module-gap);
  }

  .feature-block.is-mobile-step-flow-active .auto-split-description-scroll,
  .feature-block.is-mobile-step-flow-active .smart-swap-description-grid,
  .feature-block.is-mobile-step-flow-active .dynamic-alt-description-grid {
    display: none;
    margin-top: 0;
  }

  .feature-block.is-mobile-step-flow-active .auto-split-workflow-scroll {
    display: flex;
    flex-direction: column;
    gap: var(--feature-mobile-module-gap);
  }

  .feature-block.is-mobile-step-flow-active .auto-split-workflow-image-block--native {
    display: none;
  }

  .feature-block.is-mobile-step-flow-active .auto-split-mobile-flow {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: calc(var(--feature-mobile-module-gap) + 2px);
  }

  .feature-block--auto-split .auto-split-mobile-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--feature-mobile-module-gap);
  }

  .feature-block--auto-split .auto-split-mobile-head {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #55c0ed 0%, #1e88e5 100%);
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .feature-block--auto-split .auto-split-mobile-head-badge {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--blue-600);
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .feature-block--auto-split .auto-split-mobile-step-slot {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .feature-block--auto-split .auto-split-mobile-panel {
    width: min(100%, 420px);
    max-width: 100%;
    aspect-ratio: 530 / 989;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(199, 225, 246, 0.95);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(18, 35, 53, 0.05);
    overflow: hidden;
  }

  .feature-block--auto-split .auto-split-mobile-panel img {
    width: 300%;
    max-width: none;
    height: 100%;
    display: block;
    object-fit: fill;
  }

  .feature-block--auto-split .auto-split-mobile-block--current .auto-split-mobile-panel img {
    transform: translateX(0);
  }

  .feature-block--auto-split .auto-split-mobile-block--add .auto-split-mobile-panel img {
    transform: translateX(-33.333333%);
  }

  .feature-block--auto-split .auto-split-mobile-block--updated .auto-split-mobile-panel img {
    transform: translateX(-66.666667%);
  }

  .feature-block.is-mobile-step-flow-active .auto-split-workflow-scroll > .auto-split-description-step,
  .feature-block.is-mobile-step-flow-active .auto-split-mobile-step-slot > .auto-split-description-step,
  .feature-block.is-mobile-step-flow-active .macro-adjust-step-card > .macro-adjust-step-caption,
  .feature-block.is-mobile-step-flow-active .smart-swap-step > .smart-swap-description-slot,
  .feature-block.is-mobile-step-flow-active .dynamic-alt-step > .dynamic-alt-description-slot {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .feature-block.is-mobile-step-flow-active .macro-adjust-step-card > .macro-adjust-step-caption {
    order: 2;
  }

  .feature-block.is-mobile-step-flow-active .smart-swap-step > .smart-swap-description-slot,
  .feature-block.is-mobile-step-flow-active .dynamic-alt-step > .dynamic-alt-description-slot {
    display: flex;
  }

  .feature-block.is-mobile-step-flow-active .smart-swap-step > .smart-swap-description-slot .smart-swap-description-card,
  .feature-block.is-mobile-step-flow-active .dynamic-alt-step > .dynamic-alt-description-slot .smart-swap-description-card {
    width: 100%;
  }

  .feature-block.is-mobile-step-flow-active .smart-swap-description-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  .feature-block.is-mobile-step-flow-active .smart-swap-description-badge {
    position: static;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 999px;
    background: var(--blue-600);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 7px 12px rgba(30, 136, 229, 0.3);
  }

  .feature-block.is-mobile-step-flow-active .smart-swap-description-label {
    display: inline-block;
  }

  .dynamic-alt-track > .dynamic-alt-step:last-child,
  .dynamic-alt-description-grid > .dynamic-alt-description-slot:last-child {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .dynamic-alt-walkthrough,
  .smart-swap-flow {
    overflow-x: visible;
  }

  .dynamic-alt-step {
    flex: 0 1 auto;
    width: 100%;
  }

  .dynamic-alt-step-visual,
  .dynamic-alt-step--wide .dynamic-alt-step-visual,
  .dynamic-alt-step--step4 .dynamic-alt-step-visual,
  .dynamic-alt-step.dynamic-alt-step--step1 .dynamic-alt-step-visual {
    height: auto;
    min-height: 0;
    flex-basis: auto;
  }

  .dynamic-alt-step-visual img {
    max-height: none;
  }

  .feature-block--dynamic-alternatives .dynamic-alt-step.dynamic-alt-step--step4 .dynamic-alt-step-visual--step4-card {
    height: auto;
    min-height: 0;
    flex-basis: auto;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(30, 136, 229, 0.2);
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
      0 7px 16px rgba(18, 35, 53, 0.08),
      0 0 0 1px rgba(235, 245, 255, 0.92);
    overflow: hidden;
  }

  .feature-block--dynamic-alternatives .dynamic-alt-step.dynamic-alt-step--step4 .dynamic-alt-step-visual--step4-card .dynamic-alt-step4-fallback-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    clip-path: inset(0 3px 3px 0 round 10px);
    border-radius: 10px;
    object-fit: contain;
    object-position: center top;
    background: #ffffff;
  }

  .feature-block--client-access {
    padding-bottom: 16px;
  }

  .feature-block.feature-block--client-access .smart-swap-title-row {
    margin-top: 24px;
  }

  .feature-block.feature-block--client-access .smart-swap-intro {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.48;
  }

  .client-access-unified {
    margin-top: 4px;
  }

  .client-access-unified img {
    width: 100%;
    max-width: 100%;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-card,
  .pricing-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .stat-number {
    font-size: 40px;
  }

  .pricing-grid {
    width: 100%;
    max-width: 430px;
  }

  .pricing-top p {
    min-height: 0;
  }

  .cta-card {
    padding: 42px 18px;
    border-radius: 18px;
  }

  .cta-card p {
    max-width: 32ch;
    font-size: 15.5px;
    line-height: 1.6;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-inner {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --site-gutter: 14px;
    --how-summary-shell-height: clamp(152px, 48vw, 196px);
    --feature-mobile-section-gap: 46px;
    --feature-mobile-card-gap: 14px;
    --feature-mobile-module-gap: 12px;
    --feature-mobile-step-pad: 16px 14px 18px;
  }

  .section {
    padding: 48px 0;
  }

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

  .nav-links a {
    min-height: 40px;
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(29px, 9vw, 38px);
  }

  .hero-actions {
    max-width: 100%;
  }

  .how-mode-title-row {
    gap: 8px;
  }

  .how-mode-title {
    font-size: clamp(38px, 12vw, 50px);
  }

  .how-mode-accent {
    display: none;
  }

  .how-explainer,
  .feature-block,
  .feature-block:nth-child(even) {
    padding: 16px 12px 18px;
  }

  .smart-swap-benefits,
  .feature-block--auto-split .auto-split-benefits,
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-copy h3,
  .feature-block--macro-adjust .macro-adjust-copy h3,
  .smart-swap-copy h3,
  .feature-block--dynamic-alternatives .dynamic-alt-title {
    font-size: clamp(28px, 9.6vw, 38px);
  }

  .feature-block--auto-split .feature-copy h3 {
    font-size: clamp(31px, 9.8vw, 39px);
  }

  .feature-copy p,
  .feature-block--auto-split .feature-copy p,
  .feature-block--auto-split .auto-split-mode-description,
  .feature-block--macro-adjust .macro-adjust-copy p,
  .feature-block--smart-swap .smart-swap-intro,
  .feature-block--dynamic-alternatives .dynamic-alt-description {
    max-width: 31ch;
  }

  .auto-split-mode-toggle {
    grid-template-columns: minmax(0, 1fr);
  }

  .auto-split-mode-button {
    min-height: 46px;
  }

  .feature-block--auto-split .auto-split-workflow-scroll {
    margin-top: 28px;
  }

  .feature-block--dynamic-alternatives .dynamic-alt-step.dynamic-alt-step--step4 .dynamic-alt-step-visual--step4-card {
    padding: 6px;
    border-radius: 12px;
  }

  .feature-block--dynamic-alternatives .dynamic-alt-step.dynamic-alt-step--step4 .dynamic-alt-step-visual--step4-card .dynamic-alt-step4-fallback-image {
    clip-path: inset(0 3px 3px 0 round 8px);
    border-radius: 8px;
  }

  .smart-swap-benefits li {
    padding-left: 48px;
  }

  .macro-adjust-meal-card__footer,
  .macro-adjust-meal-state--initial .macro-adjust-meal-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .macro-adjust-meal-card__footer span,
  .macro-adjust-meal-state--initial .macro-adjust-meal-card__footer span {
    width: 100%;
    min-height: 34px;
    white-space: normal;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}
