/* =====================
   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: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--text);
  border-color: var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 30, 46, 0.025),
    0 8px 18px rgba(15, 30, 46, 0.065),
    0 2px 7px rgba(30, 136, 229, 0.08);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 1px 1px 52% 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(15, 30, 46, 0.03),
    0 12px 24px rgba(15, 30, 46, 0.085),
    0 3px 10px rgba(30, 136, 229, 0.10);
}

/* 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);
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.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;
}

@media (min-width: 1024px) {
  .brand-logo-img {
    opacity: 1;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* 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,
.nav-links a[aria-current="page"] { color: var(--blue-600); }
.nav-links .nav-item-desktop-only { display: list-item; }

/* 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; }

.hero-feature-divider {
  display: none;
}

.how-mode-desktop-overview {
  display: none;
}

/* 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-mobile-manual-flow {
  display: none;
}

.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;
  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: 14px 10px 12px;
  overflow: hidden;
}

.how-summary-wrap--manual-structured {
  height: clamp(228px, 21vw, 286px);
}

.how-summary-wrap--targets-structured {
  height: auto;
}

.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-wrap--targets-structured .how-summary-media {
  flex: 0 0 auto;
}

.how-summary-media--targets {
  width: 100%;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #ffffff;
  overflow: hidden;
}

.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-summary-targets-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-summary-targets-stack--manual {
  height: 100%;
  justify-content: center;
  gap: 8px;
}

.how-summary-targets-stack .how-summary-inline-label {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0;
}

.how-summary-targets-row {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(25, 118, 210, 0.28);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.how-summary-targets-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 13px 12px;
  border-left: 1px solid rgba(25, 118, 210, 0.22);
}

.how-summary-targets-cell:first-child {
  border-left: 0;
}

.how-summary-targets-cell strong {
  margin: 0;
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.how-summary-targets-cell::after {
  content: "";
  width: 68%;
  height: 2px;
  border-radius: 999px;
  display: block;
}

.how-summary-targets-cell span {
  margin: 0;
  color: #5f728e;
  font-size: clamp(7px, 0.78vw, 10px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-summary-targets-row--targets .how-summary-targets-cell strong {
  color: #2e91df;
}

.how-summary-targets-row--targets .how-summary-targets-cell::after {
  background: #1f84d9;
}

.how-summary-targets-row--actual .how-summary-targets-cell strong {
  color: #435066;
}

.how-summary-targets-row--actual .how-summary-targets-cell::after {
  background: #435066;
}

.how-summary-media--manual {
  width: 100%;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-explainer-panel--manual .how-summary-wrap--manual-structured {
  height: clamp(228px, 21vw, 286px);
}

.how-explainer-panel--manual .how-summary-wrap--manual-structured .how-summary-media--manual {
  padding: 14px 10px 12px;
}

.how-summary-wrap--manual-structured img,
.how-summary-wrap--targets-structured img {
  filter: none;
  margin-top: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}

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

.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 8px 20px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04),
    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: 22px;
}

.feature-block.feature-block--client-access .smart-swap-intro {
  margin: 2px auto 0;
  max-width: 42ch;
  line-height: 1.44;
}

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

.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: 0;
  margin-left: auto;
  margin-right: auto;
}

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

.client-access-feature-row {
  width: min(100%, 1080px);
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 42px);
  align-items: center;
}

.client-access-feature-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #101d31;
  text-align: left;
}

.client-access-feature-item span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(30, 136, 229, 0.22);
  background: #eaf5ff;
  color: var(--blue-500);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  box-shadow:
    0 7px 15px rgba(30, 136, 229, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.client-access-feature-item strong {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.32;
  font-weight: 800;
  color: #101d31;
}

.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;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-tab);
  box-shadow: var(--shadow-sm);
}

.macro-adjust-preview-panel__head::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;
}

.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;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(30, 136, 229, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #0b315f;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 30, 46, 0.025),
    0 4px 10px rgba(15, 30, 46, 0.045);
  transition:
    border-color 170ms ease,
    background-color 170ms ease,
    box-shadow 180ms ease,
    color 170ms ease;
}

.macro-adjust-preview-panel__stepper::before,
.macro-adjust-preview-panel__amount::before,
.macro-adjust-preview-panel__apply::before,
.macro-adjust-preview-panel__chip::before {
  content: "";
  position: absolute;
  inset: 1px 1px 50% 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.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,
.macro-adjust-preview-panel__apply {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--grad-tab);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.macro-adjust-preview-panel__stepper--active::before,
.macro-adjust-preview-panel__chip--selected::before,
.macro-adjust-preview-panel__apply::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

.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__chip.is-demo-selected,
.macro-adjust-preview-panel__apply.is-demo-hover,
.macro-adjust-preview-panel__apply.is-demo-clicking,
.macro-adjust-preview-panel__apply.is-demo-selected,
.macro-adjust-preview-panel__apply.is-demo-active {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--grad-tab);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.macro-adjust-preview-panel__chip.is-demo-selected::before,
.macro-adjust-preview-panel__apply.is-demo-hover::before,
.macro-adjust-preview-panel__apply.is-demo-clicking::before,
.macro-adjust-preview-panel__apply.is-demo-selected::before,
.macro-adjust-preview-panel__apply.is-demo-active::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

.macro-adjust-preview-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-tab);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.macro-adjust-preview-panel__summary::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;
}

.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;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(30, 136, 229, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #0b315f;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 30, 46, 0.025),
    0 4px 10px rgba(15, 30, 46, 0.045);
}

.macro-adjust-preview-panel__undo::before {
  content: "";
  position: absolute;
  inset: 1px 1px 50% 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.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;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-tab);
  box-shadow: var(--shadow-sm);
}

.macro-adjust-distribution-module__head::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;
}

.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;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-tab);
  color: #ffffff;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.macro-adjust-distribution-module__btn::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;
}

.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 {
  border: 1px solid rgba(30, 136, 229, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #0b315f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 30, 46, 0.025),
    0 4px 10px rgba(15, 30, 46, 0.045);
}

.macro-adjust-distribution-module__btn--secondary::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
}

.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.section {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 48px;
  background:
    radial-gradient(circle at 50% 12%, rgba(79, 195, 247, 0.16) 0, rgba(79, 195, 247, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.pricing.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 136, 229, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 136, 229, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 58%);
  pointer-events: none;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing .section-header {
  width: min(100%, 720px);
  margin: 0 auto 48px;
}

.pricing .section-label {
  background: linear-gradient(180deg, #edf7ff 0%, #dcebfa 100%);
  border-color: rgba(30, 136, 229, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pricing .section-header h2 {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 900;
  letter-spacing: -1.8px;
}

.pricing .section-sub {
  max-width: 630px;
  font-size: 18px;
  line-height: 1.58;
}

.pricing-grid {
  width: min(100%, 1110px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing .pricing-card {
  min-height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  border: 1px solid rgba(178, 205, 231, 0.82);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 253, 255, 0.98) 100%);
  box-shadow:
    0 22px 54px rgba(8, 35, 71, 0.08),
    0 7px 16px rgba(8, 35, 71, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition:
    transform 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard);
}

.pricing .pricing-card:hover {
  border-color: rgba(30, 136, 229, 0.55);
  box-shadow:
    0 28px 66px rgba(8, 35, 71, 0.11),
    0 10px 24px rgba(30, 136, 229, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-6px) scale(1.012);
}

.pricing .pricing-card--featured {
  border-color: rgba(30, 136, 229, 0.92);
  box-shadow:
    0 30px 74px rgba(30, 136, 229, 0.18),
    0 0 0 1px rgba(30, 136, 229, 0.24),
    0 0 46px rgba(79, 195, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-10px);
}

.pricing .pricing-card--featured:hover {
  border-color: rgba(30, 136, 229, 1);
  box-shadow:
    0 36px 86px rgba(30, 136, 229, 0.22),
    0 0 0 1px rgba(30, 136, 229, 0.34),
    0 0 56px rgba(79, 195, 247, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-14px) scale(1.018);
}

.pricing .pricing-badge {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--grad-tab);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow:
    0 12px 24px rgba(30, 136, 229, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.pricing .pricing-plan-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin-bottom: 18px;
  text-align: center;
}

.pricing .pricing-plan-head h3 {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.45px;
}

.pricing .pricing-plan-head p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.pricing .pricing-plan-head strong {
  color: var(--blue-600);
  font-weight: 850;
}

.pricing .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(178, 205, 231, 0.76);
  color: var(--blue-600);
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1;
}

.pricing .price span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.pricing .pricing-features {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pricing .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
}

.pricing .pricing-features span {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 10px rgba(30, 136, 229, 0.16);
}

.pricing .pricing-card .btn {
  margin-top: auto;
  min-height: 48px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(30, 136, 229, 0.18);
}

.pricing .pricing-trial-note {
  margin: 10px 0 0;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.pricing .pricing-card .btn:hover {
  box-shadow:
    0 18px 34px rgba(30, 136, 229, 0.25),
    0 0 26px rgba(79, 195, 247, 0.22);
}

/* CTA */
.cta.section {
  padding-top: 36px;
  padding-bottom: 108px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.cta-card {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 42px 58px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0) 27%),
    var(--grad-tab);
  color: #fff;
  box-shadow:
    0 28px 58px rgba(30, 136, 229, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.9px;
  margin-bottom: 6px;
}

.cta-card p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.52;
}

.cta-card .btn-primary {
  min-width: 228px;
  background: #fff;
  color: var(--blue-600);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.18);
}

.cta-card .btn-primary:hover {
  background: #fff;
  color: var(--blue-700);
  filter: brightness(1.0);
  box-shadow:
    0 18px 36px rgba(13, 71, 161, 0.22),
    0 0 24px rgba(255, 255, 255, 0.26);
}

@media (max-width: 1180px) {
  .pricing-grid {
    width: min(100%, 920px);
    gap: 22px;
  }

  .pricing .pricing-card {
    padding: 32px 24px 28px;
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
  }

  .pricing .pricing-card--featured {
    transform: none;
  }

  .pricing .pricing-card--featured:hover {
    transform: translateY(-6px) scale(1.012);
  }

  .pricing .pricing-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 369px);
    justify-self: center;
  }

  .cta-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 44px 34px;
  }

  .cta-card p {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .pricing.section {
    padding-top: 78px;
    padding-bottom: 32px;
  }

  .pricing .section-header {
    margin-bottom: 36px;
  }

  .pricing .section-header h2 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -1.1px;
  }

  .pricing .section-sub {
    font-size: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 430px;
    gap: 18px;
  }

  .pricing .pricing-card,
  .pricing .pricing-card:nth-child(3) {
    width: 100%;
    grid-column: auto;
    padding: 28px 22px 24px;
    border-radius: 18px;
    transform: none;
  }

  .pricing .pricing-card:hover,
  .pricing .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .pricing .pricing-plan-head {
    min-height: 66px;
  }

  .pricing .price {
    font-size: clamp(36px, 11vw, 42px);
  }

  .pricing .pricing-features li {
    font-size: 14px;
  }

  .cta.section {
    padding-top: 24px;
    padding-bottom: 78px;
  }

  .cta-card {
    padding: 38px 22px;
    border-radius: 20px;
    gap: 20px;
  }

  .cta-card h2 {
    font-size: clamp(24px, 7vw, 29px);
    line-height: 1.14;
    letter-spacing: -0.55px;
  }

  .cta-card p {
    max-width: 30ch;
    font-size: 15.5px;
    line-height: 1.55;
  }
}

/* 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(auto-fit, minmax(132px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
  }

  .nav-links .nav-item-desktop-only {
    display: none;
  }

  .nav-links a.mobile-primary-pill-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--grad-tab);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-sm);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    transition:
      transform 0.18s ease,
      filter 0.18s ease,
      box-shadow 0.18s ease;
  }

  .nav-links a.mobile-primary-pill-btn::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;
  }

  .nav-links a.mobile-primary-pill-btn:hover {
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 30px rgba(13, 71, 161, 0.20);
    filter: brightness(1.03);
  }

  .nav-links a.mobile-primary-pill-btn:active {
    transform: scale(0.98);
    filter: brightness(0.95);
    box-shadow: var(--shadow-sm);
  }

  .how-explainer-scroll {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .how-explainer {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 14px 10px;
  }

  .how-explainer::before {
    display: none;
  }

  .how-explainer-panel {
    max-width: 100%;
    gap: 10px;
  }

  .how-explainer-panel--manual .how-summary-wrap--manual-structured,
  .how-explainer-panel--manual > .how-direction-arrows,
  .how-explainer-panel--manual > .how-shot-wrap {
    display: none;
  }

  .how-mobile-manual-flow {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .how-mobile-actuals-card,
  .how-mobile-meal-card {
    width: 100%;
    min-width: 0;
    border-radius: 18px;
    border: 1px solid rgba(25, 118, 210, 0.34);
    background: #ffffff;
    box-shadow:
      0 8px 18px rgba(20, 37, 58, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
  }

  .how-mobile-actuals-card .how-summary-headbar {
    min-height: 40px;
  }

  .how-mobile-actuals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .how-mobile-actuals-metric {
    min-width: 0;
    padding: 8px 8px 7px;
    border-radius: 14px;
    border: 1px solid rgba(25, 118, 210, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: center;
  }

  .how-mobile-actuals-metric strong {
    display: block;
    color: #15243a;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.4px;
  }

  .how-mobile-actuals-metric span {
    display: block;
    margin-top: 3px;
    color: #26364d;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 600;
  }

  .how-mobile-actuals-metric::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin: 7px auto 0;
    border-radius: 999px;
    background: var(--summary-header-gradient);
  }

  .how-mobile-actuals-metric small {
    display: block;
    color: #02964f;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
  }

  .how-mobile-actuals-metric em {
    display: block;
    margin-top: 4px;
    color: #6a7280;
    font-size: 11px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 600;
  }

  .how-mobile-actuals-metric small + em {
    margin-bottom: 7px;
  }

  .how-mobile-feed-arrows {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #6e7a8d;
  }

  .how-mobile-feed-arrows span {
    position: relative;
    width: 5px;
    height: 14px;
    border-radius: 999px;
    background: currentColor;
  }

  .how-mobile-feed-arrows span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid currentColor;
  }

  .how-mobile-meal-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .how-mobile-meal-card {
    border-radius: 18px;
  }

  .how-mobile-meal-head {
    min-height: 44px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: minmax(78px, auto) 1fr;
    align-items: center;
    gap: 8px;
    background: var(--summary-header-gradient);
    color: #ffffff;
  }

  .how-mobile-meal-head > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
  }

  .how-mobile-meal-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .how-mobile-meal-actions {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }

  .how-mobile-meal-actions button {
    min-width: 0;
    min-height: 32px;
    padding: 5px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(30, 136, 229, 0.22);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
  }

  .how-mobile-meal-actions button:first-child {
    flex: 0 0 106px;
  }

  .how-mobile-meal-actions button:nth-child(2) {
    flex: 0 0 82px;
  }

  .how-mobile-meal-actions button:last-child {
    flex: 0 0 38px;
  }

  .how-mobile-meal-macros {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid rgba(221, 232, 243, 0.95);
  }

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

  .how-mobile-meal-macros div + div {
    border-left: 1px solid rgba(221, 232, 243, 0.95);
  }

  .how-mobile-meal-macros strong {
    display: block;
    color: #192940;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }

  .how-mobile-meal-macros span {
    display: block;
    margin-top: 5px;
    color: #7a8496;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .how-mobile-food-list {
    margin: 0;
    padding: 11px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-bottom: 1px solid rgba(221, 232, 243, 0.95);
    color: #23334d;
    text-align: left;
    list-style: none;
  }

  .how-mobile-food-list li {
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding-left: 13px;
    font-size: 14px;
    line-height: 1.25;
  }

  .how-mobile-food-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
    color: #0c2442;
    font-size: 14px;
    line-height: 1.25;
  }

  .how-mobile-food-list span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .how-mobile-food-list em {
    color: #778397;
    font-style: normal;
    white-space: nowrap;
    text-align: right;
  }

  .how-mobile-meal-alternatives {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: left;
  }

  .how-mobile-meal-alternatives strong {
    color: #13233b;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
  }

  .how-mobile-alt-box {
    width: 100%;
    min-height: 46px;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid var(--blue-600);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .how-mobile-meal-alternatives button {
    width: 86px;
    min-height: 34px;
    border-radius: 7px;
    border: 1px solid var(--blue-600);
    background: var(--summary-header-gradient);
    color: var(--blue-600);
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.16);
  }

  .hero {
    padding: 26px 0 14px;
  }

  .hero-feature-divider {
    display: block;
  }

  .hero-feature-divider .container {
    height: 1px;
    background: var(--border);
  }

  .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: 44px;
  }

  .feature-block.feature-block--client-access .smart-swap-intro {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.48;
    margin: 2px auto 0;
  }

  .client-access-unified {
    margin-top: 0;
  }

  .client-access-unified img {
    width: 100%;
    max-width: 100%;
  }

  .client-access-feature-row {
    width: min(100%, 640px);
    margin: 10px auto 0;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
  }

  .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));
    gap: 12px;
  }

  .nav-links a.mobile-primary-pill-btn {
    min-height: 50px;
    font-size: 16px;
  }

  .how-mobile-actuals-grid {
    gap: 7px;
    padding: 9px;
  }

  .how-mobile-actuals-metric {
    padding: 8px 6px 7px;
  }

  .how-mobile-actuals-metric strong {
    font-size: 19px;
  }

  .how-mobile-meal-head {
    grid-template-columns: minmax(60px, auto) 1fr;
    gap: 5px;
    padding: 8px;
  }

  .how-mobile-meal-head > span {
    gap: 3px;
    font-size: 14px;
  }

  .how-mobile-meal-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    border-width: 1px;
  }

  .how-mobile-meal-actions {
    gap: 3px;
  }

  .how-mobile-meal-actions button {
    min-height: 30px;
    padding: 5px 3px;
    font-size: 8px;
  }

  .how-mobile-meal-actions button:first-child {
    flex-basis: 86px;
  }

  .how-mobile-meal-actions button:nth-child(2) {
    flex-basis: 56px;
  }

  .how-mobile-meal-actions button:last-child {
    flex-basis: 26px;
  }

  .how-mobile-food-list li {
    font-size: 12.5px;
    column-gap: 6px;
  }

  .how-mobile-food-list em {
    font-size: 12px;
  }

  .how-mobile-meal-macros strong {
    font-size: 15px;
  }

  .how-mobile-meal-macros span {
    font-size: 9px;
  }

  .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;
  }
}

/* Mobile homepage feature overview */
.how-it-works .feature-overview {
  max-width: 1160px;
  margin: 0 auto 22px;
  padding: 18px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.how-it-works .feature-overview h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.9px;
}

.feature-overview-brand {
  background: var(--grad-blue);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-accent-blue {
  color: var(--blue-500);
  -webkit-text-fill-color: currentColor;
}

.macro-heading-nowrap {
  white-space: nowrap;
}

.feature-overview-card h3 .macro-heading-nowrap,
.feature-overview-card .feature-mobile-section-title .macro-heading-nowrap {
  margin: 0;
  color: var(--blue-500);
  font: inherit;
  line-height: inherit;
  -webkit-text-fill-color: currentColor;
}

.feature-overview-card h3 .macro-heading-nowrap.text-accent-blue,
.feature-overview-card .feature-mobile-section-title .macro-heading-nowrap.text-accent-blue {
  color: var(--blue-500);
  -webkit-text-fill-color: var(--blue-500);
}

.feature-overview-brand.text-accent-blue {
  -webkit-text-fill-color: transparent;
}

.feature-overview-card h3 .text-accent-blue,
.feature-overview-card .feature-mobile-section-title .text-accent-blue {
  margin: 0;
  color: var(--blue-500);
  font: inherit;
  line-height: inherit;
}

.how-it-works .feature-overview .section-sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.58;
  color: var(--text-muted);
}

.feature-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 24px;
  text-align: left;
}

.feature-overview-card {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px 18px;
  border: 1px solid rgba(30, 136, 229, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

.feature-overview-card:hover,
.feature-overview-card:focus-visible {
  border-color: rgba(30, 136, 229, 0.42);
  box-shadow: 0 14px 30px rgba(30, 136, 229, 0.12);
  transform: translateY(-2px);
}

.feature-overview-card:focus-visible {
  outline: 3px solid rgba(79, 195, 247, 0.34);
  outline-offset: 3px;
}

.feature-overview-card h3 {
  margin: 0;
  color: #082347;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.feature-overview-card p {
  margin: 9px 0 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.48;
}

.feature-overview-card span {
  margin-top: auto;
  color: var(--blue-600);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.feature-overview-card h3 .macro-adjust-title-black,
.feature-overview-card .feature-mobile-section-title .macro-adjust-title-black,
.feature-block--macro-adjust .macro-adjust-copy .macro-adjust-title-black {
  margin: 0;
  color: #000000;
  font: inherit;
  line-height: inherit;
  font-weight: inherit;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #000000;
}

.feature-mobile-section-title {
  display: none;
}

.smart-swap-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.smart-swap-video-modal[hidden] {
  display: none;
}

.smart-swap-video-modal-open {
  overflow: hidden;
}

.smart-swap-video-dialog {
  position: relative;
  width: min(95vw, 720px);
  max-height: 90vh;
  padding: 14px;
  border-radius: 18px;
  background: #05070a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.smart-swap-video-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.smart-swap-video-close:focus-visible {
  outline: 3px solid rgba(79, 195, 247, 0.55);
  outline-offset: 2px;
}

.smart-swap-video-player {
  display: block;
  width: 100%;
  max-height: calc(90vh - 28px);
  border-radius: 12px;
  background: #000000;
  object-fit: contain;
}

.feature-card-visual--targets-manual,
.feature-card-visual--auto-split,
.feature-card-visual--macro-adjust,
.feature-card-visual--smart-swap,
.feature-card-visual--meal-alternatives,
.feature-card-visual--client-access {
  display: none;
}

#targets-vs-manual-mode,
#auto-split,
#macro-adjustments,
#smart-meal-swapping,
#smart-meal-alternatives,
#client-access {
  scroll-margin-top: 24px;
}

@media (max-width: 1100px) {
  .feature-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 769px) {
  .how-mode-desktop-overview {
    display: block;
  }

  .feature-overview-mobile-only {
    display: none;
  }
}

/* ABOUT PAGE */
.about-page {
  background: #ffffff;
}

.about-page main {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(30, 136, 229, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 136, 229, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  background-size: 58px 58px, 58px 58px, auto;
}

.about-page .brand-header {
  background: #ffffff;
}

.about-hero {
  padding: 68px 0 58px;
  background:
    radial-gradient(circle at 16% 10%, rgba(79, 195, 247, 0.12) 0%, rgba(79, 195, 247, 0) 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid rgba(188, 212, 234, 0.48);
}

.about-hero .container,
.about-section .container {
  max-width: 1200px;
}

.about-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1160px;
  margin: 0 auto;
}

.about-hero-copy {
  min-width: 0;
}

.about-hero .section-label,
.about-section .section-label {
  margin-bottom: 14px;
}

.about-hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

.about-hero-sub {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.62;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 26px;
}

.about-hero-actions .btn {
  box-shadow:
    0 12px 28px rgba(13, 71, 161, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.about-hero-preview {
  position: relative;
  min-height: clamp(360px, 36vw, 490px);
  isolation: isolate;
}

.about-product-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(188, 212, 234, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
  box-shadow:
    0 22px 54px rgba(15, 30, 46, 0.09),
    0 7px 18px rgba(30, 136, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    transform 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard);
}

.about-product-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 136, 229, 0.36);
  box-shadow:
    0 28px 66px rgba(15, 30, 46, 0.12),
    0 10px 24px rgba(30, 136, 229, 0.10);
}

.about-product-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-shot-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(188, 212, 234, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-700);
  box-shadow: 0 8px 18px rgba(15, 30, 46, 0.08);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.about-hero-shot--main {
  position: absolute;
  inset: 18px 0 52px 0;
  padding: 14px;
}

.about-hero-shot--main img {
  border-radius: 15px;
}

.about-hero-shot--float {
  position: absolute;
  right: clamp(8px, 2vw, 26px);
  bottom: 0;
  z-index: 2;
  width: min(34%, 190px);
  min-width: 150px;
  padding: 12px;
  border-radius: 20px;
}

.about-hero-shot--float img {
  border-radius: 14px;
}

.about-hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2px;
}

.about-hero-metrics div {
  position: relative;
  min-height: 150px;
  padding: 25px 24px 24px;
  border: 1px solid rgba(188, 212, 234, 0.82);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 16px 38px rgba(15, 30, 46, 0.075),
    0 4px 12px rgba(30, 136, 229, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard);
}

.about-hero-metrics div:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 136, 229, 0.36);
  box-shadow:
    0 24px 52px rgba(15, 30, 46, 0.105),
    0 8px 22px rgba(30, 136, 229, 0.08);
}

.about-metric-mark {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  margin-bottom: 15px;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.09);
  color: var(--blue-700);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.about-hero-metrics strong {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.about-hero-metrics div > span:not(.about-metric-mark) {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.48;
  font-weight: 650;
}

.about-section {
  position: relative;
  padding: 78px 0;
}

.about-section--problem,
.about-section--workflow,
.about-section--why {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.82) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-top: 1px solid rgba(188, 212, 234, 0.34);
  border-bottom: 1px solid rgba(188, 212, 234, 0.34);
}

.about-narrow {
  max-width: 900px;
  text-align: center;
}

.about-narrow h2,
.about-section-heading h2,
.about-closing-panel h2,
.about-split-copy h2 {
  margin: 0 auto 16px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.about-narrow p:not(.section-label),
.about-section-heading p:not(.section-label),
.about-split-copy p:not(.section-label),
.about-client-card p:not(.section-label),
.about-closing-panel p:not(.section-label) {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.66;
}

.about-section-heading p + p,
.about-split-copy p + p {
  margin-top: 12px;
}

.about-section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.about-section-heading--left {
  margin: 0;
  text-align: left;
}

.about-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.about-friction-list {
  display: grid;
  gap: 14px;
}

.about-friction-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 16px;
  padding: 20px;
  border: 1px solid rgba(188, 212, 234, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 30, 46, 0.055);
}

.about-friction-list span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(30, 136, 229, 0.09);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
}

.about-friction-list strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 900;
}

.about-friction-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

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

.about-mode-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(188, 212, 234, 0.78);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow:
    0 18px 44px rgba(15, 30, 46, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard);
}

.about-mode-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad-tab);
}

.about-mode-card--manual::before {
  background: linear-gradient(90deg, #1f3148 0%, #1E88E5 100%);
}

.about-mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 136, 229, 0.38);
  box-shadow:
    0 24px 54px rgba(15, 30, 46, 0.11),
    0 8px 20px rgba(30, 136, 229, 0.08);
}

.about-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.about-card-head > span {
  flex: 0 0 auto;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.about-card-head p {
  margin: 0 0 6px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-card-head h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.15vw, 27px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.about-mode-shot {
  height: clamp(220px, 24vw, 318px);
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 18px;
}

.about-mode-shot img {
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
}

.about-mode-card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.62;
}

.about-check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #22344a;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 650;
}

.about-check-list span,
.about-feature-list span,
.about-why-grid span {
  flex: 0 0 auto;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(22, 163, 106, 0.13);
  color: #08784c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.about-flow-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(188, 212, 234, 0.62);
  background: linear-gradient(180deg, rgba(232, 244, 253, 0.62) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.about-flow-note span,
.about-flow-note strong {
  min-width: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.about-flow-note span {
  padding: 12px 10px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 6px 14px rgba(15, 30, 46, 0.06);
}

.about-flow-note strong {
  color: var(--blue-600);
}

.about-workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 58px);
}

.about-split-copy h2 {
  margin: 0 0 16px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.about-feature-list article,
.about-client-grid article,
.about-why-grid article {
  border: 1px solid rgba(188, 212, 234, 0.74);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 30, 46, 0.06);
  transition:
    transform 0.22s var(--ease-standard),
    border-color 0.22s var(--ease-standard),
    box-shadow 0.22s var(--ease-standard);
}

.about-feature-list article {
  min-height: 176px;
  padding: 22px;
}

.about-feature-list article:hover,
.about-client-grid article:hover,
.about-why-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 136, 229, 0.38);
  box-shadow:
    0 18px 42px rgba(15, 30, 46, 0.09),
    0 8px 18px rgba(30, 136, 229, 0.07);
}

.about-feature-list strong {
  display: block;
  margin: 15px 0 7px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.24;
  font-weight: 900;
}

.about-feature-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.about-workflow-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 16px;
  align-items: stretch;
}

.about-workflow-shot {
  min-height: 230px;
  padding: 12px;
}

.about-workflow-shot img {
  border-radius: 14px;
}

.about-workflow-shot--wide {
  grid-row: span 2;
  min-height: 480px;
}

.about-workflow-shot--wide img {
  object-fit: contain;
}

.about-client-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(188, 212, 234, 0.62);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow:
    0 20px 52px rgba(15, 30, 46, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-client-shot {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-height: 350px;
  padding: 12px;
}

.about-client-shot img {
  border-radius: 15px;
  object-fit: contain;
}

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

.about-client-grid article {
  min-height: 132px;
  padding: 20px;
}

.about-client-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 900;
}

.about-client-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
}

.about-section--closing {
  padding-top: 34px;
  padding-bottom: 58px;
}

.about-closing-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 56px);
  border: 1px solid rgba(30, 136, 229, 0.22);
  border-radius: 28px;
  background: linear-gradient(135deg, #07192b 0%, #0d47a1 54%, #1E88E5 100%);
  color: #ffffff;
  text-align: center;
  box-shadow:
    0 30px 78px rgba(13, 71, 161, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.about-closing-panel::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.about-closing-panel > * {
  position: relative;
  z-index: 1;
}

.about-closing-panel .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.about-closing-panel h2 {
  color: #ffffff;
}

.about-closing-panel p:not(.section-label) {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.58;
}

.about-section--why {
  padding-top: 62px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-why-grid article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 142px;
  padding: 23px;
}

.about-why-grid p {
  margin: 0;
  color: #22344a;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 700;
}

@media (max-width: 980px) {
  .about-hero {
    padding: 62px 0 54px;
  }

  .about-hero-panel,
  .about-problem-grid,
  .about-mode-grid,
  .about-workflow-layout,
  .about-client-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-copy,
  .about-section-heading--left {
    max-width: 820px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
  }

  .about-hero h1,
  .about-hero-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .about-hero-actions {
    justify-content: center;
  }

  .about-hero-preview {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .about-client-shot {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

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

@media (max-width: 768px) {
  .about-page main {
    background-size: 42px 42px, 42px 42px, auto;
  }

  .about-hero {
    padding: 48px 0 48px;
  }

  .about-hero h1 {
    max-width: 11em;
    font-size: 40px;
    line-height: 1.08;
  }

  .about-hero-sub {
    font-size: 17px;
  }

  .about-hero-actions {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-actions .btn {
    width: 100%;
  }

  .about-hero-preview {
    min-height: 420px;
  }

  .about-hero-shot--main {
    inset: 0 0 84px 0;
  }

  .about-hero-shot--float {
    right: 50%;
    width: min(48%, 180px);
    min-width: 142px;
    transform: translateX(50%);
  }

  .about-hero-metrics,
  .about-feature-list,
  .about-client-grid,
  .about-workflow-visuals,
  .about-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-metrics div {
    min-height: auto;
    padding: 20px;
  }

  .about-section {
    padding: 56px 0;
  }

  .about-narrow h2,
  .about-section-heading h2,
  .about-split-copy h2,
  .about-closing-panel h2 {
    font-size: 34px;
    line-height: 1.14;
  }

  .about-narrow p:not(.section-label),
  .about-section-heading p:not(.section-label),
  .about-split-copy p:not(.section-label),
  .about-client-card p:not(.section-label),
  .about-closing-panel p:not(.section-label) {
    font-size: 16px;
    line-height: 1.66;
  }

  .about-mode-card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .about-card-head {
    gap: 13px;
  }

  .about-card-head > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .about-card-head h3 {
    font-size: 22px;
  }

  .about-mode-shot {
    height: 250px;
  }

  .about-flow-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-feature-list article,
  .about-client-grid article,
  .about-why-grid article {
    min-height: auto;
    padding: 20px;
  }

  .about-workflow-shot,
  .about-workflow-shot--wide {
    min-height: 280px;
  }

  .about-client-card {
    padding: 20px;
    border-radius: 22px;
  }

  .about-client-shot {
    min-height: 260px;
  }

  .about-closing-panel {
    padding: 34px 22px;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .about-hero-preview {
    min-height: 360px;
  }

  .about-hero-shot--main {
    padding: 8px;
  }

  .about-shot-tag {
    top: 10px;
    left: 10px;
    min-height: 28px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .about-mode-shot {
    height: 210px;
  }

  .about-workflow-shot,
  .about-workflow-shot--wide {
    min-height: 240px;
  }

  .about-client-shot {
    min-height: 220px;
  }
}

/* ABOUT STORY REDESIGN */
.about-story-hero {
  padding: clamp(64px, 8vw, 90px) 0 clamp(62px, 7vw, 82px);
  background:
    radial-gradient(circle at 18% 12%, rgba(79, 195, 247, 0.14) 0%, rgba(79, 195, 247, 0) 34%),
    radial-gradient(circle at 88% 18%, rgba(30, 136, 229, 0.12) 0%, rgba(30, 136, 229, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid rgba(188, 212, 234, 0.46);
}

.about-story-hero-panel,
.about-story-split,
.about-experience-layout,
.about-mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.about-story-hero-panel {
  max-width: 1200px;
}

.about-story-hero-copy {
  max-width: 650px;
}

.about-story-hero-copy h1,
.about-story-copy h2,
.about-story-section-head h2,
.about-story-cta-panel h2 {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0;
}

.about-story-hero-copy h1 {
  max-width: 660px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.03;
}

.about-story-hero-copy p:not(.section-label) {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.66;
}

.about-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-story-actions .btn {
  box-shadow:
    0 12px 24px rgba(30, 136, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.about-story-actions--center {
  justify-content: center;
}

.about-story-preview {
  position: relative;
  min-height: clamp(420px, 39vw, 535px);
  isolation: isolate;
}

.about-story-preview-main {
  position: absolute;
  inset: 12px 0 88px;
  padding: 14px;
}

.about-story-preview-main img,
.about-story-preview-float img,
.about-showcase-shot img {
  border-radius: 15px;
}

.about-story-preview-main img {
  object-fit: contain;
  object-position: center;
}

.about-story-preview-float {
  position: absolute;
  right: clamp(10px, 2.4vw, 30px);
  bottom: 0;
  z-index: 2;
  width: min(34%, 190px);
  min-width: 154px;
  padding: 12px;
  border-radius: 20px;
}

.about-story-preview-float img {
  object-fit: contain;
}

.about-story-note {
  position: absolute;
  left: 0;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 6px;
  max-width: 315px;
  padding: 18px 20px;
  border: 1px solid rgba(188, 212, 234, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 42px rgba(15, 30, 46, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.about-story-note strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.about-story-note span {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.about-story-section {
  position: relative;
  padding: clamp(64px, 7vw, 88px) 0;
}

.about-story-section--soft,
.about-story-section--mission {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.86) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-top: 1px solid rgba(188, 212, 234, 0.36);
  border-bottom: 1px solid rgba(188, 212, 234, 0.36);
}

.about-story-section--cta {
  padding-top: clamp(42px, 5vw, 64px);
  padding-bottom: clamp(70px, 8vw, 96px);
}

.about-story-copy,
.about-story-section-head {
  min-width: 0;
}

.about-story-copy h2,
.about-story-section-head h2,
.about-story-cta-panel h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
}

.about-story-copy p:not(.section-label),
.about-story-section-head p:not(.section-label),
.about-story-cta-panel p:not(.section-label) {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.72;
}

.about-story-copy p:not(.section-label) {
  margin: 18px 0 0;
}

.about-story-section-head {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.about-story-section-head p:not(.section-label) {
  max-width: 720px;
  margin: 16px auto 0;
}

.about-friction-stack,
.about-principle-list,
.about-mission-points {
  display: grid;
  gap: 16px;
}

.about-friction-stack article,
.about-principle-list article,
.about-mission-points article,
.about-philosophy-grid article {
  border: 1px solid rgba(188, 212, 234, 0.76);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 14px 34px rgba(15, 30, 46, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.about-friction-stack article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 18px;
  padding: 22px;
  border-radius: 20px;
}

.about-friction-stack span {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(30, 136, 229, 0.09);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
}

.about-friction-stack h3,
.about-philosophy-grid h3,
.about-showcase-grid h3 {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0;
}

.about-friction-stack h3 {
  font-size: 19px;
  line-height: 1.25;
}

.about-friction-stack p,
.about-principle-list p,
.about-philosophy-grid p,
.about-showcase-grid p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-friction-stack p {
  font-size: 14.5px;
}

.about-experience-layout {
  align-items: start;
}

.about-principle-list article {
  padding: 24px;
  border-radius: 20px;
}

.about-principle-list strong,
.about-mission-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.about-principle-list p {
  font-size: 15px;
}

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

.about-philosophy-grid article {
  min-height: 222px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
}

.about-philosophy-grid article > span {
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--grad-tab);
}

.about-philosophy-grid h3 {
  max-width: 22ch;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.18;
}

.about-philosophy-grid p {
  margin-top: 14px;
  font-size: 15.5px;
}

.about-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-showcase-grid article {
  min-width: 0;
}

.about-showcase-shot {
  height: clamp(235px, 22vw, 310px);
  margin: 0 0 20px;
  padding: 10px;
  border-radius: 20px;
}

.about-showcase-shot img {
  object-fit: contain;
  object-position: center;
}

.about-showcase-grid h3 {
  font-size: 22px;
  line-height: 1.2;
}

.about-showcase-grid p {
  margin-top: 9px;
  font-size: 15px;
}

.about-mission-layout {
  align-items: center;
}

.about-mission-points article {
  position: relative;
  padding: 24px 24px 24px 28px;
  border-radius: 20px;
}

.about-mission-points article::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--grad-tab);
}

.about-mission-points span {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.58;
}

.about-story-cta-panel {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 64px);
  border: 1px solid rgba(30, 136, 229, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #07192b 0%, #0d47a1 54%, #1E88E5 100%);
  color: #ffffff;
  text-align: center;
  box-shadow:
    0 30px 78px rgba(13, 71, 161, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.about-story-cta-panel .section-label,
.about-story-cta-panel h2,
.about-story-cta-panel p {
  position: relative;
  z-index: 1;
}

.about-story-cta-panel .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.about-story-cta-panel h2 {
  max-width: 820px;
  margin: 0 auto;
  color: #ffffff;
}

.about-story-cta-panel p:not(.section-label) {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.6;
}

.about-story-cta-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.about-story-cta-panel .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1080px) {
  .about-story-hero-panel,
  .about-story-split,
  .about-experience-layout,
  .about-mission-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-story-hero-copy,
  .about-story-copy {
    max-width: 820px;
  }

  .about-story-preview {
    width: min(100%, 780px);
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .about-story-hero {
    padding-top: 52px;
  }

  .about-story-hero-copy,
  .about-story-copy,
  .about-story-section-head {
    text-align: center;
  }

  .about-story-hero-copy h1,
  .about-story-hero-copy p:not(.section-label),
  .about-story-copy p:not(.section-label) {
    margin-right: auto;
    margin-left: auto;
  }

  .about-story-actions {
    justify-content: center;
  }

  .about-story-preview {
    display: grid;
    gap: 16px;
    min-height: auto;
  }

  .about-story-preview-main,
  .about-story-preview-float,
  .about-story-note {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .about-story-preview-main {
    min-height: 340px;
  }

  .about-story-preview-float {
    justify-self: center;
    width: min(230px, 64vw);
    min-width: 0;
  }

  .about-story-note {
    justify-self: center;
    max-width: 520px;
  }

  .about-philosophy-grid,
  .about-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-philosophy-grid article {
    min-height: auto;
  }

  .about-showcase-shot {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .about-story-hero-copy h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .about-story-copy h2,
  .about-story-section-head h2,
  .about-story-cta-panel h2 {
    font-size: 31px;
  }

  .about-story-actions .btn {
    width: 100%;
  }

  .about-story-section {
    padding: 54px 0;
  }

  .about-story-preview-main {
    min-height: 260px;
    padding: 8px;
  }

  .about-story-preview-float {
    width: min(210px, 72vw);
  }

  .about-friction-stack article {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .about-friction-stack span {
    grid-row: auto;
  }

  .about-showcase-shot {
    height: 250px;
  }

  .about-story-cta-panel {
    padding: 34px 22px;
    border-radius: 22px;
  }
}

/* FOOTER POLISH */
.footer {
  padding-top: 58px;
  border-top: 1px solid rgba(188, 212, 234, 0.62);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.footer-inner {
  align-items: flex-start;
  gap: clamp(36px, 6vw, 88px);
  padding-bottom: 42px;
}

.footer-left {
  max-width: 330px;
}

.footer-left .logo {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 22px;
}

.footer-left p {
  color: #526274;
  font-size: 14.5px;
  line-height: 1.68;
}

.footer-links {
  gap: clamp(34px, 5vw, 76px);
}

.footer-col {
  gap: 10px;
  min-width: 112px;
}

.footer-col h4 {
  margin-bottom: 6px;
  color: #0b315f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.footer-col a {
  position: relative;
  width: fit-content;
  color: #526274;
  font-size: 14px;
  font-weight: 650;
}

.footer-col a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.34);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left center;
  transition:
    opacity 0.2s var(--ease-standard),
    transform 0.2s var(--ease-standard);
}

.footer-col a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer-bottom {
  border-top: 1px solid rgba(188, 212, 234, 0.62);
  padding: 20px var(--site-gutter) 24px;
}

.footer-bottom p {
  color: #627389;
}

@media (max-width: 760px) {
  .footer {
    padding-top: 44px;
  }

  .footer-inner,
  .footer-links {
    gap: 28px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 520px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .how-mode-desktop-overview .prepcoach-highlight {
    margin-left: 0.25em;
    display: inline-block;
    background: var(--grad-tab);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.5px;
    transform: scale(1.08);
  }
}

@media (max-width: 640px) {
  .how-it-works .feature-overview {
    margin-bottom: 18px;
    padding-top: 8px;
  }

  .how-it-works .feature-overview h2 {
    max-width: 11em;
    margin-bottom: 10px;
    font-size: clamp(29px, 8vw, 36px);
    letter-spacing: -0.65px;
  }

  .how-it-works .feature-overview .section-sub {
    max-width: 35ch;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .feature-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin-top: 18px;
  }

  .feature-overview-card {
    min-height: 0;
    padding: 16px 16px 15px;
    border-radius: 14px;
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.08),
      0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .feature-overview-card h3 {
    font-size: 16.5px;
  }

  .feature-overview-card p {
    margin: 7px 0 14px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .feature-overview-card span {
    font-size: 13.5px;
  }
}

@media (max-width: 768px) {
  .how-it-works .how-explainer-scroll,
  .features.section {
    display: none;
  }

  .feature-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 768px) {
  .feature-overview-card {
    margin-bottom: 20px;
    border: 1px solid #E3EAF2;
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.08),
      0 2px 6px rgba(0, 0, 0, 0.04);
    gap: 10px;
    text-align: left;
  }

  .feature-overview-card:last-child {
    margin-bottom: 0;
  }

  .feature-overview-card + .feature-overview-card {
    margin-top: 0;
  }

  .feature-overview-card h3 {
    display: none;
  }

  .feature-overview-card .feature-mobile-section-title {
    display: block;
    margin: 0 auto 2px;
    color: #082347;
    font-size: clamp(26px, 8.4vw, 34px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
  }

  .feature-overview-card[href="#smart-meal-swapping"] .feature-mobile-section-title {
    line-height: 1.18;
  }

  .feature-overview-card p {
    margin: 0;
  }

  .feature-overview-card > span:last-child {
    margin-top: 4px;
  }

  .feature-overview-card:first-child {
    gap: 10px;
  }

  .feature-overview-card:first-child p,
  .feature-overview-card--auto-split p {
    margin-top: 0;
  }

  .feature-overview-card--auto-split {
    gap: 10px;
  }

  .feature-card-visual--targets-manual,
  .feature-card-visual--auto-split {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    overflow: hidden;
    border-radius: 14px;
  }

  .feature-card-visual--macro-adjust {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }

  .feature-card-visual--smart-swap,
  .feature-card-visual--meal-alternatives {
    display: block;
    width: 100%;
    margin: 2px 0 2px;
  }

  .feature-card-visual--macro-adjust,
  .feature-card-visual--smart-swap,
  .feature-card-visual--meal-alternatives {
    box-sizing: border-box;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .feature-card-visual--smart-swap {
    margin: 16px 0 16px;
  }

  .feature-card-visual--macro-adjust img,
  .feature-card-visual--smart-swap img,
  .feature-card-visual--meal-alternatives img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    transform: none;
    image-rendering: auto;
  }

  .feature-card-visual--client-access {
    display: block;
    width: 100%;
    margin: 2px 0 2px;
  }

  .feature-card-visual--client-access img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .feature-overview-card--client-access {
    gap: 0;
  }

  .feature-overview-card--client-access .feature-mobile-section-title {
    margin-bottom: 32px;
    font-size: clamp(28px, 7.7vw, 38px);
    line-height: 1.08;
  }

  .feature-overview-card--client-access .feature-card-visual--client-access {
    margin: 0 0 12px;
  }

  .feature-overview-card--client-access p {
    margin-bottom: 9px;
  }

  .feature-overview-card--client-access > span:last-child {
    margin-top: 0;
  }

  .targets-manual-mini {
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid rgba(30, 136, 229, 0.14);
    background: #ffffff;
    box-shadow: 0 5px 13px rgba(15, 30, 46, 0.055);
  }

  .targets-manual-mini__header {
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    color: #ffffff;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
  }

  .targets-manual-mini--targets .targets-manual-mini__header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--grad-tab);
  }

  .targets-manual-mini--targets .targets-manual-mini__header::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;
  }

  .targets-manual-mini--manual .targets-manual-mini__header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(155deg, #96a1ad 0%, #6f7a86 56%, #4f5964 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.26),
      inset 0 -1px 0 rgba(15, 30, 46, 0.18),
      0 6px 14px rgba(15, 30, 46, 0.10);
  }

  .targets-manual-mini--manual .targets-manual-mini__header::before {
    content: "";
    position: absolute;
    inset: 1px 1px 50% 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: -1;
  }

  .targets-manual-mini__header span {
    width: 14px;
    height: 14px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #2f6fc9;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
  }

  .targets-manual-mini--manual .targets-manual-mini__header span {
    color: #68717c;
  }

  .targets-manual-mini__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 62px;
  }

  .targets-manual-mini__metrics div {
    min-width: 0;
    padding: 14px 3px 10px;
    text-align: center;
  }

  .targets-manual-mini__metrics div + div {
    border-left: 1px solid rgba(221, 232, 243, 0.92);
  }

  .targets-manual-mini__metrics strong {
    display: block;
    color: #101d31;
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }

  .targets-manual-mini__metrics em {
    color: #1687ef;
    font-style: normal;
  }

  .targets-manual-mini__metrics span {
    display: block;
    margin: 6px 0 0;
    color: #66748a;
    font-size: clamp(7px, 2.15vw, 9px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .targets-manual-mini__vs {
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .targets-manual-mini__vs::before,
  .targets-manual-mini__vs::after {
    content: "";
    width: min(34%, 96px);
    height: 1px;
    background: rgba(30, 136, 229, 0.58);
  }

  .targets-manual-mini__vs span {
    width: 34px;
    height: 34px;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #174e92;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    box-shadow:
      0 5px 12px rgba(15, 30, 46, 0.12),
      inset 0 0 0 1px rgba(221, 232, 243, 0.9);
  }

  .feature-card-visual--auto-split {
    padding: 0;
  }

  .auto-split-mini {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(30, 136, 229, 0.22);
    background: #ffffff;
    box-shadow: 0 5px 13px rgba(15, 30, 46, 0.055);
  }

  .auto-split-mini__header {
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--grad-tab);
    box-shadow: var(--shadow-sm);
    color: #ffffff;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
  }

  .auto-split-mini__header::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;
  }

  .auto-split-mini__header span {
    width: 14px;
    height: 14px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1e88e5;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
  }

  .auto-split-mini__body {
    padding: 12px 13px 11px;
  }

  .auto-split-mini__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 25px;
    color: #34445c;
    font-size: clamp(10px, 2.9vw, 12px);
    line-height: 1.1;
  }

  .auto-split-mini__row--top {
    margin-bottom: 8px;
  }

  .auto-split-mini__row span {
    min-width: 0;
    margin: 0;
    color: #34445c;
    font-size: inherit;
    line-height: inherit;
    font-weight: 500;
  }

  .auto-split-mini__row strong {
    min-width: 46px;
    min-height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 9px;
    border: 1px solid rgba(30, 136, 229, 0.28);
    border-radius: 7px;
    background: #ffffff;
    color: #101d31;
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
  }

  .auto-split-mini__row em {
    color: #7c8797;
    font-style: normal;
    font-weight: 700;
  }

  .auto-split-mini__body p {
    margin: 0 0 6px;
    color: #7f8da0;
    font-size: clamp(8px, 2.3vw, 10px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
  }

  .auto-split-mini__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
  }

  .auto-split-mini__actions span {
    min-width: 0;
    min-height: 24px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--grad-tab);
    color: #ffffff;
    font-size: clamp(8px, 2.25vw, 10px);
    line-height: 1;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
  }

  .auto-split-mini__actions span::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;
  }

  .auto-split-mini__actions span:first-child {
    background: var(--grad-tab);
  }

  .auto-split-mini__actions span:last-child {
    border-color: rgba(30, 136, 229, 0.34);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    color: #0b315f;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(15, 30, 46, 0.025),
      0 4px 10px rgba(15, 30, 46, 0.045);
  }

  .auto-split-mini__actions span:last-child::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
  }
}

/* TESTIMONIALS PAGE */
.testimonials-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 34%, #ffffff 100%);
}

.testimonials-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 54px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(15, 30, 46, 0.04);
}

.testimonials-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-hero h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.03;
  letter-spacing: -2px;
}

.testimonials-heading-accent {
  color: var(--blue-500);
}

.testimonials-hero .section-sub {
  max-width: 760px;
  font-size: clamp(17px, 1.45vw, 21px);
}

.testimonials-showcase {
  padding: 74px 0 82px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f7fbff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.testimonial-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(188, 212, 234, 0.72);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(15, 30, 46, 0.075),
    0 4px 14px rgba(30, 136, 229, 0.07);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 136, 229, 0.34);
  box-shadow:
    0 24px 54px rgba(15, 30, 46, 0.095),
    0 8px 22px rgba(30, 136, 229, 0.10);
}

.testimonial-photo-shell {
  position: relative;
  height: clamp(220px, 16vw, 286px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(79, 195, 247, 0.18), rgba(30, 136, 229, 0.08)),
    #edf7ff;
}

.testimonial-photo-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 100%);
  pointer-events: none;
}

.testimonial-photo-shell img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center 28%;
}

.testimonial-photo-shell img.testimonial-photo-img--chris {
  object-position: center 14%;
}

.testimonial-photo-shell img.testimonial-photo-img--evan {
  object-position: center 12%;
}

.testimonial-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
}

.testimonial-quote {
  position: relative;
  flex: 1;
  margin: 0;
  color: #22344a;
  font-size: 16px;
  line-height: 1.72;
}

.testimonial-quote::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--grad-tab);
}

.testimonial-person {
  padding-top: 18px;
  border-top: 1px solid rgba(221, 232, 243, 0.9);
}

.testimonial-person h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.3px;
}

.testimonial-person p {
  margin: 0;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 800;
}

.testimonials-cta {
  padding: 76px 0;
  background:
    linear-gradient(135deg, #0b315f 0%, #0d47a1 52%, #1e88e5 100%);
  color: #ffffff;
}

.testimonials-cta-panel {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-cta-panel h2 {
  margin: 0 auto 28px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: -1.2px;
}

.testimonials-cta .btn-primary {
  min-width: min(100%, 300px);
  background: #ffffff;
  color: var(--blue-700);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 36px rgba(2, 18, 38, 0.22);
}

/* SUPPORT PAGE */
.support-page {
  background: #ffffff;
}

.support-hero {
  padding: 72px 0 42px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.support-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 30px;
  align-items: stretch;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(188, 212, 234, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.96) 100%);
  box-shadow:
    0 22px 58px rgba(15, 30, 46, 0.09),
    0 6px 18px rgba(30, 136, 229, 0.08);
}

.support-hero-copy {
  min-width: 0;
  max-width: 760px;
}

.support-hero-copy h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(42px, 5.4vw, 76px);
  letter-spacing: -1.8px;
}

.support-hero-copy p:not(.section-label) {
  max-width: 700px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.66;
}

.support-email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: center;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(30, 136, 229, 0.22);
  border-radius: 18px;
  background: #ffffff;
  cursor: pointer;
  box-shadow:
    0 16px 38px rgba(15, 30, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.support-email-card:hover,
.support-email-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 136, 229, 0.42);
  box-shadow:
    0 20px 46px rgba(15, 30, 46, 0.10),
    0 8px 18px rgba(30, 136, 229, 0.10);
}

.support-email-card:focus-visible {
  outline: 3px solid rgba(79, 195, 247, 0.32);
  outline-offset: 3px;
}

.support-email-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-tab);
  box-shadow: 0 10px 22px rgba(30, 136, 229, 0.20);
}

.support-email-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-email-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.support-email-copy span {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.support-email-copy strong {
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 19px);
  overflow-wrap: anywhere;
}

.support-topics {
  padding: 48px 0 82px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.support-section-heading {
  min-width: 0;
  max-width: 720px;
  margin: 0 0 26px;
}

.support-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -1px;
}

.support-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.support-topic-card {
  position: relative;
  min-width: 0;
  padding: 26px 24px 28px;
  border: 1px solid rgba(188, 212, 234, 0.72);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 16px 36px rgba(15, 30, 46, 0.07),
    0 4px 12px rgba(30, 136, 229, 0.06);
}

.support-topic-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--grad-tab);
}

.support-topic-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.3px;
}

.support-topic-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.66;
}

.support-callout {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(188, 212, 234, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(232, 244, 253, 0.74) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 12px 28px rgba(15, 30, 46, 0.055);
}

.support-callout p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 940px) {
  .support-hero-grid {
    grid-template-columns: 1fr;
  }

  .support-email-card {
    width: 100%;
  }

  .support-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .support-hero {
    padding: 54px 0 32px;
  }

  .support-hero-grid {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .support-hero-copy h1 {
    font-size: 39px;
    letter-spacing: -1px;
  }

  .support-email-card {
    align-items: flex-start;
    padding: 18px;
  }

  .support-email-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .support-topics {
    padding: 38px 0 62px;
  }

  .support-section-heading,
  .support-topic-grid,
  .support-callout {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .support-section-heading h2 {
    font-size: 29px;
    letter-spacing: -0.6px;
  }

  .support-topic-card,
  .support-callout {
    border-radius: 16px;
  }
}

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

@media (max-width: 760px) {
  .testimonials-hero {
    padding: 56px 0 42px;
  }

  .testimonials-showcase {
    padding: 52px 0 60px;
  }

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

  .testimonial-card {
    border-radius: 16px;
  }

  .testimonial-card:hover {
    transform: none;
  }

  .testimonial-photo-shell {
    height: clamp(218px, 64vw, 300px);
  }

  .testimonial-card-body {
    padding: 24px 22px;
  }

  .testimonial-quote {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .testimonials-cta {
    padding: 58px 0;
  }
}

@media (max-width: 480px) {
  .testimonials-hero h1 {
    letter-spacing: -1.3px;
  }

  .testimonial-card-body {
    padding: 22px 18px;
  }

  .testimonials-cta .btn-primary {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .brand-logo-img {
    width: min(74vw, 320px);
  }

  .nav-inner {
    overflow: hidden;
  }

  .nav-links {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links li {
    min-width: 0;
  }

  .nav-links a.mobile-primary-pill-btn {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 640px) {
  .about-page .brand-logo-img {
    width: min(68vw, 280px);
  }

  .about-page .container,
  .about-hero .container,
  .about-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .about-hero-panel,
  .about-hero-copy,
  .about-hero-preview,
  .about-section-heading,
  .about-narrow,
  .about-problem-grid,
  .about-friction-list,
  .about-split-copy,
  .about-client-card,
  .about-mode-grid,
  .about-feature-list,
  .about-client-grid,
  .about-workflow-layout,
  .about-workflow-visuals,
  .about-why-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: 36px;
  }

  .about-narrow h2,
  .about-section-heading h2,
  .about-split-copy h2,
  .about-closing-panel h2 {
    width: 100%;
    max-width: 100%;
    font-size: 30px;
  }

  .about-card-head h3 {
    font-size: 21px;
  }

  .about-mode-card,
  .about-feature-list article,
  .about-client-grid article,
  .about-why-grid article,
  .about-closing-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-mode-card *,
  .about-feature-list *,
  .about-client-grid *,
  .about-why-grid *,
  .about-closing-panel * {
    min-width: 0;
  }

  .about-mode-card p,
  .about-feature-list p,
  .about-client-grid span,
  .about-why-grid p,
  .about-narrow p:not(.section-label),
  .about-section-heading p:not(.section-label),
  .about-split-copy p:not(.section-label),
  .about-client-card p:not(.section-label),
  .about-closing-panel p:not(.section-label) {
    overflow-wrap: anywhere;
  }
}

/* =====================
   PRICING + COMPARISON PAGE
   ===================== */
.pricing-comparison-page {
  --pc-page-bg: #f6f9fc;
  --pc-surface: #ffffff;
  --pc-surface-soft: #f8fbff;
  --pc-ink: #081827;
  --pc-muted: #526274;
  --pc-border: rgba(155, 179, 204, 0.42);
  --pc-border-strong: rgba(30, 136, 229, 0.42);
  --pc-blue: #1E88E5;
  --pc-blue-dark: #0d47a1;
  --pc-green: #16a36a;
  --pc-warm: #f59e0b;
  --pc-shadow: 0 24px 70px rgba(8, 35, 71, 0.10);
  --pc-shadow-soft: 0 16px 42px rgba(8, 35, 71, 0.075);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--pc-page-bg) 38%, #ffffff 100%);
  color: var(--pc-ink);
}

.pricing-comparison-page .brand-header {
  padding: 56px 0 28px;
  text-align: center;
  background: #ffffff;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.pricing-comparison-page .brand-logo-img {
  width: min(100%, 520px);
  min-width: 0;
}

.pricing-comparison-page .section-label {
  background: rgba(232, 244, 253, 0.86);
  color: var(--pc-blue-dark);
  border-color: rgba(30, 136, 229, 0.14);
}

.pc-page-anchor {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pc-compare-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  background:
    linear-gradient(90deg, rgba(30, 136, 229, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 136, 229, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.pc-compare-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.22), transparent);
}

.pc-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  max-width: 1240px;
}

.pc-hero-copy {
  max-width: 730px;
}

.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 13px;
  border: 1px solid rgba(30, 136, 229, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--pc-blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(8, 35, 71, 0.045);
}

.pc-hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  color: var(--pc-ink);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -2.4px;
  line-height: 0.98;
}

.pc-hero-sub {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--pc-muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.68;
}

.pc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.pc-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pc-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(155, 179, 204, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #415267;
  font-size: 13px;
  font-weight: 750;
}

.pc-hero-visual {
  position: relative;
  min-height: 520px;
}

.pc-dashboard-shell {
  position: relative;
  width: min(100%, 540px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(155, 179, 204, 0.42);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.98) 100%);
  box-shadow:
    var(--pc-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  animation: pcDashboardFloat 7s ease-in-out infinite;
}

.pc-dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(155, 179, 204, 0.32);
  border-radius: 18px;
  background: #fff;
}

.pc-window-dots {
  display: inline-flex;
  gap: 5px;
}

.pc-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd8e5;
}

.pc-dashboard-topbar strong {
  flex: 1;
  color: var(--pc-ink);
  font-size: 14px;
  font-weight: 850;
}

.pc-dashboard-topbar em {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(22, 163, 106, 0.10);
  color: #08784c;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.pc-calorie-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin: 16px 0;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.96) 0%, rgba(13, 71, 161, 0.94) 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(13, 71, 161, 0.18);
}

.pc-calorie-shift span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
}

.pc-calorie-shift strong {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1;
}

.pc-macro-meters {
  display: grid;
  gap: 11px;
  margin-bottom: 16px;
}

.pc-macro-meters div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(155, 179, 204, 0.32);
  border-radius: 15px;
  background: #fff;
}

.pc-macro-meters span,
.pc-mini-meals span,
.pc-floating-card span {
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 750;
}

.pc-macro-meters i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef6;
}

.pc-macro-meters i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--meter);
  border-radius: inherit;
  background: linear-gradient(90deg, #16a36a 0%, #4FC3F7 48%, #1E88E5 100%);
  animation: pcMeterPulse 3s ease-in-out infinite;
}

.pc-macro-meters strong {
  color: var(--pc-ink);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.pc-mini-meals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pc-mini-meals article {
  padding: 15px;
  border: 1px solid rgba(155, 179, 204, 0.34);
  border-radius: 17px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pc-mini-meals strong {
  display: block;
  margin: 4px 0 12px;
  color: var(--pc-ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.pc-mini-meals i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7f4e7 0%, #9be6c2 42%, #4FC3F7 100%);
}

.pc-floating-card {
  position: absolute;
  width: min(235px, 42vw);
  padding: 16px 18px;
  border: 1px solid rgba(155, 179, 204, 0.36);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--pc-shadow-soft);
  backdrop-filter: blur(14px);
}

.pc-floating-card strong {
  display: block;
  margin-top: 3px;
  color: var(--pc-ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.2px;
}

.pc-floating-card--left {
  left: 0;
  bottom: 72px;
  animation: pcSmallFloat 6s ease-in-out infinite;
}

.pc-floating-card--right {
  right: -10px;
  top: 70px;
  animation: pcSmallFloat 6.4s ease-in-out infinite reverse;
}

.pc-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.pc-section-heading--wide {
  max-width: 860px;
}

.pc-section-heading h1,
.pc-section-heading h2 {
  margin-bottom: 14px;
  color: var(--pc-ink);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  letter-spacing: -1.7px;
  line-height: 1.02;
}

.pc-section-heading p:not(.section-label) {
  color: var(--pc-muted);
  font-size: 17px;
  line-height: 1.65;
}

.pc-pricing-section {
  background: #fff;
  padding-bottom: clamp(82px, 8vw, 126px);
}

.pc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1120px);
  margin: 0 auto;
  align-items: stretch;
}

.pc-plan-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 31px;
  border: 1px solid var(--pc-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow:
    0 20px 58px rgba(8, 35, 71, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 0.26s var(--ease-standard),
    border-color 0.26s var(--ease-standard),
    box-shadow 0.26s var(--ease-standard);
}

.pc-plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 136, 229, 0.52);
  box-shadow:
    0 28px 70px rgba(8, 35, 71, 0.12),
    0 12px 26px rgba(30, 136, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.pc-plan-card--featured {
  border-color: rgba(30, 136, 229, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 250, 255, 1) 100%);
  box-shadow:
    0 30px 78px rgba(30, 136, 229, 0.17),
    0 0 0 1px rgba(30, 136, 229, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transform: translateY(-10px);
}

.pc-plan-card--featured:hover {
  transform: translateY(-14px);
}

.pc-plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d47a1 0%, #1E88E5 54%, #4FC3F7 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(30, 136, 229, 0.24);
}

.pc-plan-head {
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(155, 179, 204, 0.38);
}

.pc-plan-head p {
  margin-bottom: 5px;
  color: var(--pc-ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.55px;
}

.pc-plan-head span {
  color: var(--pc-muted);
  font-size: 14px;
  font-weight: 750;
}

.pc-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 22px;
  color: var(--pc-blue);
  font-size: clamp(39px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.9px;
  line-height: 1;
}

.pc-plan-price span {
  color: var(--pc-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.pc-plan-features {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pc-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--pc-ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.pc-plan-features span {
  flex: 0 0 auto;
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 163, 106, 0.13);
  color: #08784c;
  font-size: 12px;
  font-weight: 900;
}

.pc-plan-card .btn {
  min-height: 50px;
  font-weight: 850;
}

.pc-difference-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(30, 136, 229, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  background-size: 80px 80px, auto;
}

.pc-difference-section--top {
  padding-top: clamp(58px, 6.4vw, 96px);
  padding-bottom: clamp(72px, 7vw, 108px);
  background: #ffffff;
}

.pc-difference-section--top .pc-section-heading {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.pc-vs-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(155, 179, 204, 0.32);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 255, 0.96) 100%);
  box-shadow:
    0 30px 84px rgba(8, 35, 71, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pc-vs-card--matrix {
  display: block;
  padding: clamp(14px, 2vw, 20px);
}

.pc-vs-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  margin-bottom: 18px;
}

.pc-vs-summary {
  position: relative;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 26px;
}

.pc-vs-summary--prepcoach {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(79, 195, 247, 0.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 195, 247, 0.34) 0, rgba(79, 195, 247, 0) 34%),
    radial-gradient(circle at 92% 12%, rgba(22, 163, 106, 0.22) 0, rgba(22, 163, 106, 0) 28%),
    linear-gradient(135deg, #061b30 0%, #0d47a1 54%, #1E88E5 100%);
  box-shadow:
    0 28px 70px rgba(13, 71, 161, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pc-vs-summary--prepcoach::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.65), transparent 74%);
  pointer-events: none;
}

.pc-vs-summary--competitors {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.30);
  background:
    radial-gradient(circle at 88% 0%, rgba(148, 163, 184, 0.13) 0, rgba(148, 163, 184, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 252, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.pc-vs-summary > * {
  position: relative;
  z-index: 1;
}

.pc-vs-summary--prepcoach .pc-vs-logo-shell {
  width: clamp(124px, 18vw, 156px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin: 0 auto 22px;
  padding: 16px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 248, 255, 0.96) 100%);
  box-shadow:
    0 22px 48px rgba(2, 18, 38, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.86),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.pc-vs-summary--prepcoach .pc-vs-logo-shell img {
  width: 112%;
  max-width: none;
  max-height: none;
  transform: translateY(-1px);
}

.pc-vs-summary .pc-vs-kicker {
  margin-bottom: 9px;
}

.pc-vs-summary--competitors .pc-vs-kicker {
  color: #66758a;
  text-align: center;
}

.pc-vs-summary h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -1.1px;
  line-height: 1.02;
}

.pc-vs-summary--competitors h2 {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  color: var(--pc-ink);
  text-align: center;
}

.pc-vs-summary p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.pc-vs-summary--competitors p {
  max-width: 540px;
  margin-right: auto;
  margin-left: auto;
  color: var(--pc-muted);
  text-align: center;
}

.pc-vs-summary--prepcoach .pc-vs-chip-row {
  justify-content: center;
  margin: 20px 0 0;
}

.pc-vs-divider {
  align-self: center;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(30, 136, 229, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--pc-blue-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.8px;
  box-shadow:
    0 16px 32px rgba(8, 35, 71, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.pc-vs-side {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 26px;
}

.pc-vs-side--prepcoach {
  color: #fff;
  border: 1px solid rgba(79, 195, 247, 0.40);
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 195, 247, 0.32) 0, rgba(79, 195, 247, 0) 34%),
    radial-gradient(circle at 95% 12%, rgba(22, 163, 106, 0.24) 0, rgba(22, 163, 106, 0) 30%),
    linear-gradient(135deg, #061b30 0%, #0d47a1 56%, #1E88E5 100%);
  box-shadow:
    0 26px 62px rgba(13, 71, 161, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pc-vs-side--prepcoach::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.65), transparent 74%);
  pointer-events: none;
}

.pc-vs-side--competitors {
  border: 1px solid rgba(148, 163, 184, 0.30);
  background:
    radial-gradient(circle at 88% 0%, rgba(148, 163, 184, 0.16) 0, rgba(148, 163, 184, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 249, 252, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.pc-vs-brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(118px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.pc-vs-brand--competitors {
  grid-template-columns: 1fr;
  gap: 20px;
}

.pc-vs-logo-shell {
  display: grid;
  min-height: 122px;
  place-items: center;
  padding: 13px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 38px rgba(2, 18, 38, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pc-vs-logo-shell img {
  width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.pc-vs-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pc-vs-side--competitors .pc-vs-kicker {
  color: #66758a;
}

.pc-vs-brand h2,
.pc-vs-brand h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 0.98;
}

.pc-vs-side--competitors .pc-vs-brand h2,
.pc-vs-side--competitors .pc-vs-brand h3 {
  color: var(--pc-ink);
}

.pc-vs-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.pc-vs-side--competitors .pc-vs-brand p {
  color: var(--pc-muted);
}

.pc-competitor-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow:
    0 16px 32px rgba(8, 35, 71, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pc-competitor-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 15px;
  background: #fff;
  color: #36465b;
  box-shadow: 0 8px 18px rgba(8, 35, 71, 0.045);
}

.pc-competitor-logo img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

.pc-competitor-logo span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
}

.pc-vs-summary--competitors .pc-competitor-cloud {
  width: min(100%, 520px);
  margin-right: auto;
  gap: 8px;
  margin-bottom: 22px;
  margin-left: auto;
  padding: 14px;
  opacity: 0.9;
  filter: saturate(0.9);
}

.pc-vs-summary--competitors .pc-competitor-logo {
  min-height: 47px;
  padding: 8px 9px;
  border-radius: 14px;
}

.pc-vs-summary--competitors .pc-competitor-logo img {
  width: 28px;
  height: 28px;
}

.pc-vs-summary--competitors .pc-competitor-logo span {
  font-size: 11.5px;
}

.pc-vs-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pc-vs-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.pc-vs-chip-row--neutral span {
  border-color: rgba(148, 163, 184, 0.25);
  background: #fff;
  color: #4f6074;
  box-shadow: 0 8px 18px rgba(8, 35, 71, 0.04);
}

.pc-vs-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.pc-vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 52px;
  padding: 14px;
  border-radius: 16px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
}

.pc-vs-list li span {
  flex: 0 0 auto;
  display: inline-grid;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.pc-vs-list--positive li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.pc-vs-list--positive li span {
  background: rgba(167, 243, 208, 0.20);
  color: #a7f3d0;
  box-shadow: 0 0 0 5px rgba(22, 163, 106, 0.10);
}

.pc-vs-list--neutral li {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--pc-ink);
  box-shadow: 0 9px 20px rgba(8, 35, 71, 0.04);
}

.pc-vs-list--neutral li span {
  background: #edf2f7;
  color: #8391a3;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
}

.pc-comparison-matrix {
  display: grid;
  gap: 22px;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(155, 179, 204, 0.26);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pc-matrix-columns,
.pc-comparison-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.18fr) minmax(190px, 0.82fr) minmax(190px, 0.82fr);
  gap: 12px;
  align-items: stretch;
}

.pc-matrix-columns {
  padding: 0 4px;
}

.pc-matrix-columns span {
  color: #65758a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.95px;
  text-transform: uppercase;
}

.pc-matrix-columns span:nth-child(2) {
  color: var(--pc-blue-dark);
}

.pc-comparison-group {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 229, 0.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 32px rgba(8, 35, 71, 0.05);
}

.pc-comparison-group-head {
  display: grid;
  grid-template-columns: minmax(260px, 1.18fr) minmax(190px, 0.82fr) minmax(190px, 0.82fr);
  align-items: center;
  min-height: 58px;
  background: linear-gradient(135deg, #0d47a1 0%, #0f5eca 62%, #1E88E5 100%);
  color: #fff;
}

.pc-comparison-group-head > span,
.pc-group-title {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 15px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.pc-group-title {
  border-left: 0;
  gap: 10px;
}

.pc-group-title::before {
  content: "*";
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.pc-comparison-group--difference .pc-group-title::before {
  content: "!";
  border-radius: 50%;
}

.pc-group-label {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 179, 204, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.pc-group-label span {
  color: var(--pc-ink);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 900;
  letter-spacing: -0.45px;
}

.pc-group-label p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.pc-comparison-group--difference .pc-group-label {
  border-color: rgba(30, 136, 229, 0.18);
  background: linear-gradient(180deg, rgba(232, 244, 253, 0.72) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.pc-comparison-row {
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(155, 179, 204, 0.26);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.pc-feature-name,
.pc-status {
  min-height: 70px;
  padding: 14px 22px;
  border-radius: 0;
}

.pc-feature-name {
  display: grid;
  align-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
}

.pc-feature-name strong {
  color: var(--pc-ink);
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.pc-feature-name span {
  color: var(--pc-muted);
  font-size: 13.5px;
  line-height: 1.38;
}

.pc-status {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-left: 1px solid rgba(155, 179, 204, 0.26);
  background: #fff;
  color: #050b14;
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.35;
}

.pc-status > span {
  flex: 0 0 auto;
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.pc-status strong {
  min-width: 0;
}

.pc-status--yes > span,
.pc-status--prepcoach > span {
  background: rgba(22, 163, 106, 0.14);
  color: #08784c;
  box-shadow: 0 0 0 5px rgba(22, 163, 106, 0.07);
}

.pc-status--prepcoach {
  background: #fff;
  color: #050b14;
}

.pc-status--manual,
.pc-status--partial {
  color: #050b14;
  background: #fff;
}

.pc-status--manual > span {
  background: #edf2f7;
  color: #8391a3;
}

.pc-status--partial > span {
  background: rgba(245, 158, 11, 0.13);
  color: #9a5b00;
}

.pc-status--no {
  color: #050b14;
  background: #fff;
}

.pc-status--no > span {
  background: #e11d1d;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(225, 29, 29, 0.09);
}

.pc-workflow-section {
  background: #fff;
}

.pc-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.pc-demo-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--pc-border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--pc-shadow-soft);
  transition:
    transform 0.24s var(--ease-standard),
    border-color 0.24s var(--ease-standard),
    box-shadow 0.24s var(--ease-standard);
}

.pc-demo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 136, 229, 0.40);
  box-shadow:
    0 24px 56px rgba(8, 35, 71, 0.11),
    0 10px 24px rgba(30, 136, 229, 0.08);
}

.pc-demo-header {
  margin-bottom: 18px;
}

.pc-demo-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--pc-ink);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.45px;
}

.pc-demo-header strong {
  color: var(--pc-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pc-demo-mock {
  min-height: 178px;
  margin-bottom: 17px;
  padding: 16px;
  border: 1px solid rgba(155, 179, 204, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.pc-demo-card p {
  margin-top: auto;
  color: var(--pc-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.pc-demo-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pc-demo-total span {
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pc-demo-total strong {
  color: var(--pc-ink);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1;
}

.pc-demo-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf6;
}

.pc-demo-bar i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a36a 0%, #4FC3F7 54%, #1E88E5 100%);
}

.pc-demo-macros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.pc-demo-macros span,
.pc-meal-chip-grid b {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 12px;
  background: rgba(30, 136, 229, 0.08);
  color: var(--pc-blue-dark);
  font-size: 12px;
  font-weight: 850;
}

.pc-meal-count-row {
  display: grid;
  grid-template-columns: auto minmax(34px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.pc-meal-count-row span {
  color: var(--pc-ink);
  font-size: 14px;
  font-weight: 900;
}

.pc-meal-count-row i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd8e5 0%, var(--pc-blue) 100%);
}

.pc-meal-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.pc-meal-chip-grid b {
  min-height: 88px;
  background: linear-gradient(180deg, rgba(22, 163, 106, 0.12) 0%, rgba(30, 136, 229, 0.10) 100%);
  color: var(--pc-ink);
}

.pc-demo-mock--swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.pc-swap-card {
  min-height: 124px;
  padding: 15px;
  border: 1px solid rgba(155, 179, 204, 0.36);
  border-radius: 16px;
  background: #fff;
}

.pc-swap-card span {
  display: block;
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.pc-swap-card strong {
  display: block;
  margin-top: 12px;
  color: var(--pc-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.pc-swap-card--active {
  border-color: rgba(22, 163, 106, 0.34);
  background: rgba(22, 163, 106, 0.08);
}

.pc-swap-arrow {
  color: var(--pc-blue);
  font-weight: 900;
}

.pc-demo-mock--alternatives {
  display: grid;
  align-content: center;
  gap: 10px;
}

.pc-demo-mock--alternatives div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(155, 179, 204, 0.30);
  border-radius: 14px;
  background: #fff;
}

.pc-demo-mock--alternatives span {
  color: var(--pc-ink);
  font-size: 13px;
  font-weight: 850;
}

.pc-demo-mock--alternatives strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 106, 0.11);
  color: #08784c;
  font-size: 11px;
  font-weight: 900;
}

.pc-final-cta {
  padding-top: 46px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.pc-final-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(30, 136, 229, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, #07192b 0%, #0d47a1 50%, #1E88E5 100%);
  color: #fff;
  box-shadow: 0 30px 78px rgba(13, 71, 161, 0.20);
}

.pc-final-panel .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.pc-final-panel h2 {
  max-width: 740px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.6px;
}

.pc-final-panel p:not(.section-label) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
}

.pc-final-actions {
  display: grid;
  gap: 12px;
  min-width: 230px;
}

.pc-final-panel .btn-primary {
  background: #fff;
  color: var(--pc-blue-dark);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 30px rgba(2, 20, 38, 0.22);
}

.pc-final-panel .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

@keyframes pcDashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pcMeterPulse {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

@media (max-width: 1120px) {
  .pc-hero-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
  }

  .pc-hero-copy {
    max-width: 780px;
    text-align: center;
    margin: 0 auto;
  }

  .pc-hero-copy h1,
  .pc-hero-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .pc-hero-actions,
  .pc-trust-strip {
    justify-content: center;
  }

  .pc-hero-visual {
    min-height: 500px;
  }

  .pc-dashboard-shell {
    margin: 0 auto;
  }

  .pc-floating-card--left {
    left: clamp(0px, 8vw, 86px);
  }

  .pc-floating-card--right {
    right: clamp(0px, 8vw, 86px);
  }

  .pc-pricing-grid,
  .pc-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .pc-plan-card--featured {
    transform: none;
  }

  .pc-plan-card--featured:hover {
    transform: translateY(-6px);
  }

  .pc-pricing-grid .pc-plan-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 368px);
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .pc-vs-card,
  .pc-final-panel {
    grid-template-columns: 1fr;
  }

  .pc-vs-summary-grid {
    grid-template-columns: 1fr;
  }

  .pc-vs-divider {
    width: 48px;
    height: 48px;
    margin: -2px auto;
  }

  .pc-matrix-columns {
    display: none;
  }

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

  .pc-feature-name {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .pc-vs-side--prepcoach {
    order: 0;
  }

  .pc-vs-side--competitors {
    order: 1;
  }

  .pc-final-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  .pc-vs-summary-grid {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  }

  .pc-comparison-group-head,
  .pc-comparison-row {
    grid-template-columns: minmax(220px, 1.1fr) minmax(150px, 0.82fr) minmax(150px, 0.82fr);
  }

  .pc-feature-name {
    grid-column: auto;
  }

  .pc-vs-summary--prepcoach .pc-vs-logo-shell {
    width: clamp(116px, 18vw, 142px);
  }

  .pc-vs-summary--competitors .pc-competitor-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 420px);
  }

  .pc-vs-summary--competitors .pc-competitor-logo span {
    font-size: 11px;
    overflow-wrap: normal;
  }
}

@media (max-width: 680px) {
  .pricing-comparison-page .brand-header {
    padding: 28px 0 12px;
  }

  .pricing-comparison-page .brand-logo-img {
    width: min(78vw, 360px);
  }

  .pc-compare-hero {
    padding: 58px 0 68px;
    background-size: 48px 48px, 48px 48px, auto;
  }

  .pc-hero-copy h1 {
    max-width: min(100%, 360px);
    font-size: clamp(38px, 9vw, 46px);
    letter-spacing: -1.45px;
  }

  .pc-hero-sub,
  .pc-section-heading p:not(.section-label),
  .pc-final-panel p:not(.section-label) {
    font-size: 15.8px;
  }

  .pc-hero-actions .btn,
  .pc-final-actions .btn {
    width: 100%;
  }

  .pc-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .pc-trust-strip span {
    justify-content: center;
  }

  .pc-hero-visual {
    min-height: auto;
    padding-bottom: 88px;
  }

  .pc-dashboard-shell {
    width: 100%;
    max-width: 360px;
    padding: 13px;
    border-radius: 22px;
  }

  .pc-calorie-shift,
  .pc-macro-meters div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pc-calorie-shift strong {
    font-size: 35px;
  }

  .pc-macro-meters strong {
    text-align: left;
  }

  .pc-mini-meals {
    grid-template-columns: 1fr;
  }

  .pc-floating-card {
    width: calc(50% - 10px);
    min-width: 0;
    padding: 13px;
  }

  .pc-floating-card--left {
    left: 0;
    bottom: 0;
  }

  .pc-floating-card--right {
    top: auto;
    right: 0;
    bottom: 0;
  }

  .pc-pricing-section,
  .pc-difference-section,
  .pc-workflow-section,
  .pc-final-cta {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .pc-section-heading {
    margin-bottom: 34px;
  }

  .pc-section-heading h1,
  .pc-section-heading h2,
  .pc-final-panel h2 {
    font-size: clamp(31px, 9vw, 42px);
    letter-spacing: -1.1px;
  }

  .pc-pricing-grid,
  .pc-demo-grid {
    grid-template-columns: 1fr;
  }

  .pc-pricing-grid .pc-plan-card:nth-child(3) {
    width: 100%;
    grid-column: auto;
  }

  .pc-plan-card,
  .pc-demo-card,
  .pc-vs-side {
    border-radius: 20px;
  }

  .pc-plan-card,
  .pc-demo-card {
    padding: 24px;
  }

  .pc-vs-card {
    gap: 12px;
    padding: 12px;
    border-radius: 25px;
  }

  .pc-vs-summary,
  .pc-comparison-matrix {
    border-radius: 20px;
  }

  .pc-vs-summary--prepcoach .pc-vs-logo-shell {
    width: 136px;
    min-height: 0;
  }

  .pc-comparison-row {
    padding: 8px;
  }

  .pc-comparison-group-head,
  .pc-comparison-row {
    grid-template-columns: 1fr;
  }

  .pc-comparison-group-head > span {
    display: none;
  }

  .pc-feature-name,
  .pc-status {
    min-height: auto;
    padding: 13px;
  }

  .pc-vs-side {
    padding: 20px;
  }

  .pc-vs-brand {
    grid-template-columns: 1fr;
  }

  .pc-vs-logo-shell {
    width: min(100%, 220px);
    min-height: 118px;
  }

  .pc-vs-summary--prepcoach .pc-vs-logo-shell {
    min-height: 0;
  }

  .pc-competitor-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 8px;
  }

  .pc-competitor-logo {
    min-height: 50px;
    padding: 8px;
  }

  .pc-competitor-logo img {
    width: 28px;
    height: 28px;
  }

  .pc-competitor-logo span {
    font-size: 11.5px;
  }

  .pc-vs-list li {
    min-height: auto;
  }

  .pc-demo-mock--swap {
    grid-template-columns: 1fr;
  }

  .pc-swap-arrow {
    text-align: center;
  }

  .pc-final-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .pricing-comparison-page .nav-links {
    width: 100%;
    gap: 10px;
  }

  .pc-eyebrow {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.45px;
  }

  .pc-hero-copy h1 {
    max-width: 9.8ch;
    font-size: 36px;
    letter-spacing: -1.25px;
  }

  .pc-plan-price {
    font-size: 38px;
  }

  .pc-floating-card strong {
    font-size: 13px;
  }

  .pc-demo-macros {
    grid-template-columns: 1fr;
  }

  .pc-meal-chip-grid {
    grid-template-columns: repeat(5, minmax(46px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pc-competitor-cloud {
    grid-template-columns: 1fr;
  }

  .pc-vs-summary--competitors .pc-competitor-cloud {
    width: min(100%, 300px);
  }

  .pc-comparison-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-dashboard-shell,
  .pc-floating-card,
  .pc-macro-meters i::after {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .pricing-comparison-page {
    --pc-page-bg: #07111d;
    --pc-surface: #0d1a28;
    --pc-surface-soft: #111f30;
    --pc-ink: #edf6ff;
    --pc-muted: #a9bad0;
    --pc-border: rgba(150, 176, 205, 0.22);
    --pc-border-strong: rgba(79, 195, 247, 0.40);
    --pc-blue-dark: #8ed4ff;
    background: #07111d;
    color: var(--pc-ink);
  }

  .pricing-comparison-page .brand-header,
  .pricing-comparison-page .nav,
  .pc-pricing-section,
  .pc-workflow-section,
  .pc-final-cta {
    background: #07111d;
  }

  .pricing-comparison-page .nav {
    border-bottom-color: rgba(150, 176, 205, 0.20);
  }

  .pricing-comparison-page .section-label,
  .pc-eyebrow {
    background: rgba(79, 195, 247, 0.10);
    color: #b7e6ff;
    border-color: rgba(79, 195, 247, 0.22);
  }

  .pricing-comparison-page .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #edf6ff;
    border-color: rgba(185, 207, 230, 0.22);
    box-shadow: none;
  }

  .pc-compare-hero,
  .pc-difference-section {
    background:
      linear-gradient(90deg, rgba(79, 195, 247, 0.06) 1px, transparent 1px),
      linear-gradient(180deg, rgba(79, 195, 247, 0.045) 1px, transparent 1px),
      linear-gradient(180deg, #07111d 0%, #0b1724 100%);
    background-size: 72px 72px, 72px 72px, auto;
  }

  .pc-trust-strip span,
  .pc-dashboard-shell,
  .pc-dashboard-topbar,
  .pc-macro-meters div,
  .pc-mini-meals article,
  .pc-floating-card,
  .pc-plan-card,
  .pc-vs-card,
  .pc-vs-summary--competitors,
  .pc-comparison-matrix,
  .pc-group-label,
  .pc-comparison-row,
  .pc-feature-name,
  .pc-status,
  .pc-vs-side--competitors,
  .pc-competitor-cloud,
  .pc-competitor-logo,
  .pc-vs-chip-row--neutral span,
  .pc-demo-card,
  .pc-demo-mock,
  .pc-swap-card,
  .pc-demo-mock--alternatives div {
    background: linear-gradient(180deg, rgba(17, 31, 48, 0.98) 0%, rgba(11, 23, 36, 0.98) 100%);
    border-color: rgba(150, 176, 205, 0.22);
  }

  .pc-competitor-logo span {
    color: #d6e3f2;
  }

  .pc-competitor-logo img {
    background: rgba(255, 255, 255, 0.92);
  }

  .pc-plan-card--featured,
  .pc-vs-summary--prepcoach,
  .pc-vs-side--prepcoach {
    background: linear-gradient(180deg, rgba(12, 31, 52, 1) 0%, rgba(9, 22, 35, 1) 100%);
    border-color: rgba(79, 195, 247, 0.40);
  }

  .pc-vs-summary--competitors h2,
  .pc-group-label span,
  .pc-feature-name strong {
    color: #edf6ff;
  }

  .pc-vs-summary--competitors p,
  .pc-group-label p,
  .pc-feature-name span,
  .pc-status {
    color: #a9bad0;
  }

  .pc-status--prepcoach {
    background: #fff;
    border-color: rgba(22, 163, 106, 0.24);
    color: #050b14;
  }

  .pc-comparison-matrix,
  .pc-comparison-group,
  .pc-comparison-row,
  .pc-feature-name,
  .pc-status,
  .pc-status--no {
    background: #fff;
    color: #050b14;
  }

  .pc-feature-name strong,
  .pc-status strong {
    color: #050b14;
  }

  .pc-feature-name span {
    color: #526274;
  }

  .pc-calorie-shift,
  .pc-final-panel {
    background: linear-gradient(135deg, #07111d 0%, #0d47a1 56%, #1E88E5 100%);
  }

  .pc-macro-meters i,
  .pc-demo-bar {
    background: rgba(210, 226, 242, 0.14);
  }

  .pc-demo-macros span,
  .pc-meal-chip-grid b {
    background: rgba(79, 195, 247, 0.12);
    color: #d8f1ff;
  }

  .pc-vs-list--neutral li {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(150, 176, 205, 0.18);
  }

  .pc-vs-list--neutral li span {
    background: rgba(210, 226, 242, 0.12);
    color: #a9bad0;
  }
}

.pricing-comparison-page .brand-header {
  background: #ffffff;
}

.pricing-comparison-page .nav {
  background: rgba(255, 255, 255, 0.92);
}

.pricing-comparison-page .pc-difference-section--top {
  background: #ffffff;
}
