/* WEB7B-1 · Premium Web Foundation
   Marketing-only visual authority for www.neatcore.es.
   Functional form/analytics behavior remains in styles.css, lead.js and acquisition.js. */

:root {
  --web-ink: #0d1728;
  --web-ink-soft: #425169;
  --web-ink-faint: #617087;
  --web-blue: #3264c0;
  --web-blue-deep: #244f99;
  --web-blue-soft: #e9f1fb;
  --web-ice: #c9e5f3;
  --web-canvas: #f7fafc;
  --web-canvas-alt: #eef4f8;
  --web-surface: #ffffff;
  --web-line: rgba(18, 29, 50, 0.14);
  --web-line-dark: rgba(255, 255, 255, 0.14);
  --web-shell: 1240px;
  --web-reading: 760px;
  --web-section: clamp(104px, 10vw, 168px);
  --web-section-compact: clamp(76px, 7vw, 116px);
  --web-gap-1: 8px;
  --web-gap-2: 16px;
  --web-gap-3: 24px;
  --web-gap-4: 36px;
  --web-gap-5: 56px;
  --web-gap-6: 80px;
  --web-radius-control: 14px;
  --web-radius-focus: 28px;
  --web-shadow-focus: 0 28px 90px rgba(18, 29, 50, 0.12);

  --web-motion-fast: 180ms;
  --web-motion-reveal: 560ms;
  --web-motion-draw: 880ms;
  --web-motion-stagger: 70ms;
  --web-motion-distance: 24px;
  --web-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background:
    radial-gradient(circle at 76% 3%, rgba(196, 226, 241, 0.18), transparent 30rem),
    var(--web-canvas);
  color: var(--web-ink);
}

main {
  overflow: clip;
}

.shell {
  width: min(calc(100% - 56px), var(--web-shell));
}

.narrow {
  max-width: var(--web-reading);
}

.section {
  position: relative;
  padding: var(--web-section) 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 7.7vw, 7.15rem);
  line-height: 0.91;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.55rem, 5.3vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
}

p {
  color: var(--web-ink-soft);
}

.eyebrow {
  margin-bottom: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.section-lead {
  max-width: var(--web-reading);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.site-header {
  border-bottom-color: rgba(18, 29, 50, 0.09);
  background: rgba(247, 250, 252, 0.82);
  backdrop-filter: blur(22px) saturate(145%);
}

.header-inner {
  min-height: 82px;
}

.brand {
  letter-spacing: -0.04em;
}

.button {
  border-radius: var(--web-radius-control);
  transition:
    transform var(--web-motion-fast) var(--web-motion-ease),
    box-shadow var(--web-motion-fast) var(--web-motion-ease),
    background var(--web-motion-fast) var(--web-motion-ease),
    border-color var(--web-motion-fast) var(--web-motion-ease);
}

.button-primary {
  background: linear-gradient(135deg, var(--web-blue), var(--web-blue-deep));
  box-shadow: 0 14px 34px rgba(50, 100, 192, 0.24);
}

.hero {
  padding-top: clamp(68px, 8vw, 118px);
  padding-bottom: clamp(110px, 11vw, 176px);
}

.hero::before {
  content: "";
  position: absolute;
  width: min(56vw, 760px);
  aspect-ratio: 1;
  right: -14vw;
  top: -18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 226, 241, 0.42), rgba(196, 226, 241, 0));
  pointer-events: none;
}

.hero-grid {
  min-height: min(760px, calc(100vh - 82px));
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
  gap: clamp(48px, 5vw, 76px);
}

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

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.62;
}

.hero-note {
  margin-top: 22px;
  max-width: 560px;
}

/* WEB7B-2 · Hero Product Stage */
.hero-product-stage {
  --nc-delay: 120ms;
  position: relative;
  width: min(100%, 640px);
  min-width: 0;
  margin-inline: auto;
}

.hero-product-stage::before {
  content: "";
  position: absolute;
  inset: 10% -6% -6% 12%;
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 70% 20%, rgba(67, 116, 200, 0.2), transparent 44%),
    rgba(196, 226, 241, 0.16);
  filter: blur(18px);
}

.product-stage-shell {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 38px 100px rgba(18, 29, 50, 0.14),
    0 2px 10px rgba(18, 29, 50, 0.04);
  backdrop-filter: blur(18px);
}

.product-stage-meta {
  min-height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stage-dashboard-header {
  padding: 24px 26px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.stage-dashboard-copy {
  min-width: 0;
}

.stage-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--web-blue);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-dashboard-title {
  display: block;
  max-width: 19ch;
  overflow-wrap: anywhere;
  color: var(--web-ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.stage-confidence,
.stage-tdee-pill,
.stage-routine-pill,
.stage-pane-meta {
  flex: 0 0 auto;
  border: 1px solid rgba(50, 100, 192, 0.18);
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.76);
  color: var(--web-blue-deep);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}

.stage-confidence {
  padding: 8px 10px;
}

.stage-dashboard-main,
.stage-dashboard-bottom {
  display: grid;
  border-top: 1px solid var(--web-line);
}

.stage-dashboard-main {
  grid-template-columns: minmax(0, 1.12fr) minmax(180px, 0.88fr);
}

.stage-dashboard-bottom {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
}

.stage-pane {
  min-width: 0;
  padding: 22px 24px 24px;
}

.stage-dashboard-main > .stage-pane + .stage-pane,
.stage-dashboard-bottom > .stage-pane + .stage-pane {
  border-left: 1px solid var(--web-line);
}

.stage-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stage-pane-title {
  display: block;
  overflow-wrap: anywhere;
  color: var(--web-ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.stage-pane-meta {
  padding: 7px 9px;
  border-color: var(--web-line);
  background: var(--web-canvas-alt);
  color: var(--web-ink-soft);
}

.stage-rings {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stage-ring {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
}

.stage-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.stage-ring-track,
.stage-ring-value {
  fill: none;
  stroke-width: 7;
}

.stage-ring-track {
  stroke: rgba(50, 100, 192, 0.12);
}

.stage-ring-value {
  stroke-linecap: round;
}

.stage-ring-energy {
  stroke: var(--web-blue);
}

.stage-ring-protein {
  stroke: #5f8297;
}

.stage-ring-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.stage-ring-copy strong {
  color: var(--web-ink);
  font-size: 0.78rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stage-ring-copy span {
  margin-top: 4px;
  color: var(--web-ink-faint);
  font-size: 0.56rem;
  font-weight: 750;
}

.stage-nutrition-copy {
  margin: 15px 0 0;
  max-width: 28ch;
  color: var(--web-ink-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.stage-tdee {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stage-tdee-value {
  margin-top: 22px;
}

.stage-tdee-value strong {
  display: block;
  color: var(--web-ink);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stage-tdee-value span {
  display: block;
  margin-top: 6px;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 750;
}

.stage-tdee-summary {
  margin: 18px 0 8px;
  color: var(--web-ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.stage-tdee-pill,
.stage-routine-pill {
  padding: 8px 10px;
}

.stage-progress-chart {
  width: 100%;
  height: auto;
  margin: 18px 0 8px;
  display: block;
  overflow: visible;
}

.stage-chart-axis {
  fill: none;
  stroke: rgba(18, 29, 50, 0.09);
  stroke-width: 1;
}

.stage-chart-line {
  fill: none;
  stroke: var(--web-blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-chart-dot {
  fill: var(--web-blue);
}

.stage-progress-copy {
  display: grid;
  gap: 4px;
}

.stage-progress-copy strong {
  color: var(--web-ink);
  font-size: 0.84rem;
}

.stage-progress-copy span {
  max-width: 34ch;
  color: var(--web-ink-faint);
  font-size: 0.67rem;
  line-height: 1.45;
}

.stage-routine {
  display: flex;
  flex-direction: column;
}

.stage-routine-row {
  margin: 22px 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stage-routine-row > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stage-routine-count {
  color: var(--web-ink);
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stage-routine-row > div > span {
  color: var(--web-ink-faint);
  font-size: 0.65rem;
  font-weight: 750;
}

.stage-routine p {
  margin: auto 0 0;
  color: var(--web-ink-faint);
  font-size: 0.67rem;
  line-height: 1.45;
}

.stage-data-1 {
  --nc-delay: 260ms;
}

.stage-data-2 {
  --nc-delay: 330ms;
}

.stage-data-3 {
  --nc-delay: 400ms;
}

.hero-product-stage [data-nc-ring],
.hero-product-stage [data-nc-path] {
  --nc-draw-delay: 430ms;
}

.problem-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(67, 116, 200, 0.22), transparent 34rem),
    #111d31;
}

.problem-section .narrow {
  max-width: 980px;
}

.problem-section h2 {
  max-width: 900px;
}

.change-grid {
  margin: 54px 0 42px;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.change-grid span {
  min-height: 104px;
  padding: 24px 28px 24px 0;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--web-line-dark);
  background: transparent;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.change-grid span:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--web-line-dark);
}

.section-heading {
  margin-bottom: clamp(50px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(46px, 7vw, 92px);
}

.section-heading > p {
  max-width: 520px;
  line-height: 1.7;
}

/* WEB7B-3 · Connected Core Scrollytelling */
.core-story-section {
  background:
    linear-gradient(180deg, var(--web-canvas) 0%, rgba(238, 244, 248, 0.72) 100%);
}

.core-story-heading {
  margin-bottom: clamp(54px, 7vw, 92px);
}

.core-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(58px, 8vw, 118px);
  align-items: start;
}

.core-story-visual {
  position: sticky;
  top: 122px;
  min-width: 0;
  align-self: start;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 42%, rgba(196, 226, 241, 0.28), transparent 36%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 86px rgba(18, 29, 50, 0.1);
  backdrop-filter: blur(18px);
}

.core-story-visual-meta {
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.core-story-chapter {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.core-story-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(50, 100, 192, 0.1);
}

.core-story-progress::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--web-blue);
  transform: scaleX(var(--nc-story-progress, 1));
  transform-origin: left center;
  transition: transform var(--web-motion-fast) var(--web-motion-ease);
}

.core-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.core-map::before {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 100, 192, 0.11), transparent 68%);
  transform: translate(-50%, -50%);
}

.core-map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.core-map-path {
  fill: none;
  stroke: rgba(50, 100, 192, 0.13);
  stroke-width: 2;
  stroke-linecap: round;
  transition:
    stroke var(--web-motion-fast) var(--web-motion-ease),
    stroke-width var(--web-motion-fast) var(--web-motion-ease),
    opacity var(--web-motion-fast) var(--web-motion-ease);
}

.core-map-node,
.core-map-output,
.core-map-hub {
  position: absolute;
  z-index: 2;
}

.core-map-node {
  width: 164px;
  padding: 15px 16px 16px;
  border: 1px solid var(--web-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(18, 29, 50, 0.05);
  opacity: 0.48;
  transform: scale(0.97);
  transition:
    opacity var(--web-motion-fast) var(--web-motion-ease),
    transform var(--web-motion-fast) var(--web-motion-ease),
    border-color var(--web-motion-fast) var(--web-motion-ease),
    box-shadow var(--web-motion-fast) var(--web-motion-ease);
}

.core-map-node span,
.core-map-output span,
.core-map-hub span {
  display: block;
  margin-bottom: 5px;
  color: var(--web-blue);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.core-map-node strong,
.core-map-output strong,
.core-map-hub strong {
  display: block;
  color: var(--web-ink);
  line-height: 1.16;
}

.core-map-node small,
.core-map-hub small {
  display: block;
  margin-top: 6px;
  color: var(--web-ink-faint);
  font-size: 0.65rem;
  line-height: 1.35;
}

.core-node-nutrition {
  left: 24px;
  top: 42px;
}

.core-node-training {
  left: 24px;
  bottom: 40px;
}

.core-node-progress {
  right: 24px;
  bottom: 54px;
}

.core-map-hub {
  width: 190px;
  min-height: 156px;
  left: 50%;
  top: 50%;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 34% 24%, rgba(82, 127, 210, 0.88), rgba(18, 29, 50, 0.98) 72%);
  box-shadow: 0 26px 70px rgba(18, 29, 50, 0.2);
  transform: translate(-50%, -50%);
}

.core-map-hub span {
  color: var(--web-ice);
}

.core-map-hub strong {
  color: #fff;
  font-size: 1.05rem;
}

.core-map-hub small {
  color: rgba(255, 255, 255, 0.7);
}

.core-map-output {
  width: 138px;
  padding: 12px 13px;
  border-left: 2px solid rgba(50, 100, 192, 0.22);
  opacity: 0.44;
  transition:
    opacity var(--web-motion-fast) var(--web-motion-ease),
    border-color var(--web-motion-fast) var(--web-motion-ease);
}

.core-output-dashboard {
  right: 22px;
  top: 72px;
}

.core-output-tdee {
  right: 20px;
  top: 228px;
}

.core-map-output strong {
  font-size: 0.76rem;
}

.core-story-signal {
  min-height: 92px;
  padding: 20px 22px;
  border-top: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.9);
}

.core-story-signal p {
  display: none;
  margin: 0;
}

.core-story-signal strong,
.core-story-signal span {
  display: block;
}

.core-story-signal strong {
  margin-bottom: 5px;
  color: var(--web-ink);
  font-size: 0.84rem;
}

.core-story-signal span {
  color: var(--web-ink-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

[data-core-active="nutrition"] [data-core-signal="nutrition"],
[data-core-active="training"] [data-core-signal="training"],
[data-core-active="progress"] [data-core-signal="progress"],
[data-core-active="connected"] [data-core-signal="connected"] {
  display: block;
}

[data-core-active="nutrition"] [data-core-node="nutrition"],
[data-core-active="training"] [data-core-node="training"],
[data-core-active="progress"] [data-core-node="progress"],
[data-core-active="connected"] .core-map-node {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(50, 100, 192, 0.34);
  box-shadow: 0 18px 42px rgba(18, 29, 50, 0.09);
}

[data-core-active="nutrition"] .path-nutrition,
[data-core-active="training"] .path-training,
[data-core-active="progress"] .path-progress,
[data-core-active="connected"] .core-map-path {
  stroke: rgba(50, 100, 192, 0.78);
  stroke-width: 3;
  opacity: 1;
}

[data-core-active="nutrition"] .path-dashboard,
[data-core-active="nutrition"] .path-tdee,
[data-core-active="training"] .path-dashboard,
[data-core-active="training"] .path-tdee,
[data-core-active="progress"] .path-dashboard,
[data-core-active="progress"] .path-tdee,
[data-core-active="connected"] .core-map-output {
  opacity: 1;
  border-color: rgba(50, 100, 192, 0.64);
}

.core-story-steps {
  min-width: 0;
}

.core-story-step {
  min-height: 62vh;
  padding: 7vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--web-line);
  /* Keep all chapters readable without JS and with reduced motion. */
  opacity: 1;
  transition: opacity var(--web-motion-fast) var(--web-motion-ease);
}

.core-story-step:first-child {
  border-top: 0;
}

.core-story-step.is-active {
  opacity: 1;
}

.core-story-index {
  margin-bottom: 20px;
  color: var(--web-blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.core-story-step h3 {
  max-width: 18ch;
  margin-bottom: 18px;
  color: var(--web-ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.core-story-step > p {
  max-width: 44ch;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.core-story-note {
  margin-top: 16px;
  color: var(--web-ink-faint) !important;
  font-size: 0.86rem !important;
}

.core-mobile-story-visual {
  display: none;
}

.core-step-flow {
  margin-top: 26px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--web-line);
  color: var(--web-ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.core-step-flow > span:nth-child(even) {
  color: var(--web-blue);
}

.core-step-flow-connected {
  max-width: 100%;
}

.core-story-product-link {
  align-self: flex-start;
  margin-top: 26px;
  color: var(--web-blue-deep);
  font-weight: 800;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.confidence-section {
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.9), rgba(247, 250, 252, 0.9));
}

.confidence-grid {
  gap: clamp(60px, 9vw, 124px);
}

.confidence-proof {
  min-width: 0;
}

.confidence-visual {
  width: 100%;
  height: auto;
  margin: 0 0 34px;
  display: block;
  overflow: visible;
}

.confidence-visual .confidence-axis {
  stroke: rgba(18, 29, 50, 0.12);
  stroke-width: 1;
}

.confidence-visual .confidence-path {
  fill: none;
  stroke: var(--web-blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confidence-visual .confidence-ring {
  fill: none;
  stroke: rgba(50, 100, 192, 0.5);
  stroke-width: 5;
}

.confidence-visual .confidence-dot {
  fill: var(--web-blue);
}

.confidence-steps {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.confidence-steps li {
  min-height: 94px;
  padding: 22px 0;
  border-bottom: 1px solid var(--web-line);
}

.confidence-steps li:first-child {
  border-top: 1px solid var(--web-line);
}

.confidence-steps > li > span {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  background: transparent;
  border: 1px solid rgba(50, 100, 192, 0.28);
}

.product-section {
  background: var(--web-surface);
}

.product-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--web-line);
}

.product-card {
  grid-column: span 6;
  min-height: 300px;
  padding: 42px 44px 48px 0;
  border: 0;
  border-bottom: 1px solid var(--web-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-card:nth-child(even) {
  padding-left: 44px;
  border-left: 1px solid var(--web-line);
}

.product-card-wide {
  grid-column: 1 / -1;
  min-height: 240px;
  padding-right: min(38vw, 460px);
  background:
    radial-gradient(circle at 78% 50%, rgba(196, 226, 241, 0.42), transparent 18rem),
    transparent;
}

.product-card .product-tag {
  margin-bottom: 76px;
}

.section-action {
  margin-top: 38px;
}

/* WEB7B-9 · FREE -> PRO Storytelling */
.plans-section,
.pro-story-section {
  color: #fff;
  background:
    radial-gradient(circle at 84% 8%, rgba(67, 116, 200, 0.24), transparent 32rem),
    radial-gradient(circle at 12% 76%, rgba(196, 226, 241, 0.08), transparent 28rem),
    #111d31;
}

.pro-story-heading {
  max-width: 1040px;
  margin-bottom: clamp(52px, 7vw, 86px);
}

.pro-story-heading .eyebrow {
  color: var(--web-ice);
}

.pro-story-heading h2 {
  max-width: 16ch;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.pro-story-heading > p:last-child {
  max-width: 66ch;
  margin: 0;
  color: rgba(231, 238, 247, 0.76);
  font-size: 1rem;
  line-height: 1.66;
}

.pro-story-track {
  border-top: 1px solid var(--web-line-dark);
  border-bottom: 1px solid var(--web-line-dark);
}

.pro-story-stage {
  min-width: 0;
  padding: clamp(38px, 5vw, 62px) 0;
}

.pro-story-stage-head {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1.66fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.pro-story-index {
  color: var(--web-ice);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pro-story-stage-head > strong {
  max-width: 20ch;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pro-free-core {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--web-line-dark);
  border-bottom: 1px solid var(--web-line-dark);
}

.pro-free-signal {
  min-width: 0;
  min-height: 178px;
  padding: 24px 20px;
}

.pro-free-signal + .pro-free-signal {
  border-left: 1px solid var(--web-line-dark);
}

.pro-free-signal span,
.pro-depth-item span,
.pro-reference-head span {
  display: block;
  margin-bottom: 12px;
  color: var(--web-ice);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pro-free-signal strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pro-story-stage-note {
  max-width: 70ch;
  margin: 22px 0 0;
  color: rgba(231, 238, 247, 0.62);
  font-size: 0.76rem;
  line-height: 1.5;
}

.pro-story-bridge {
  position: relative;
  min-height: 360px;
  padding: clamp(46px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
  border-top: 1px solid var(--web-line-dark);
  border-bottom: 1px solid var(--web-line-dark);
  background:
    radial-gradient(circle at 68% 50%, rgba(50, 100, 192, 0.22), transparent 24rem);
}

.pro-story-bridge-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(196, 226, 241, 0.12), rgba(67, 116, 200, 0.72), rgba(196, 226, 241, 0.12));
}

.pro-story-bridge-copy span {
  display: block;
  margin-bottom: 16px;
  color: var(--web-ice);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pro-story-bridge-copy strong {
  display: block;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pro-story-bridge-copy p {
  max-width: 48ch;
  margin: 16px 0 0;
  color: rgba(231, 238, 247, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pro-story-signal-stack {
  display: grid;
  gap: 10px;
}

.pro-story-signal-stack span {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(196, 226, 241, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 800;
}

.pro-story-signal-stack span:nth-child(2) {
  margin-left: 6%;
}

.pro-story-signal-stack span:nth-child(3) {
  margin-left: 12%;
}

.pro-story-signal-stack span:nth-child(4) {
  margin-left: 18%;
  border-color: rgba(67, 116, 200, 0.36);
  background: rgba(50, 100, 192, 0.14);
}

.pro-story-stage-pro {
  background:
    linear-gradient(120deg, rgba(50, 100, 192, 0.1), transparent 62%);
}

.pro-depth-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--web-line-dark);
}

.pro-depth-item {
  min-width: 0;
  min-height: 200px;
  padding: 28px 28px 30px 0;
  border-bottom: 1px solid var(--web-line-dark);
}

.pro-depth-item:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--web-line-dark);
}

.pro-depth-item strong {
  display: block;
  max-width: 34ch;
  color: #fff;
  font-size: 1rem;
  line-height: 1.38;
}

.pro-depth-item small {
  display: block;
  max-width: 46ch;
  margin-top: 12px;
  color: rgba(231, 238, 247, 0.58);
  font-size: 0.7rem;
  line-height: 1.5;
}

.pro-reference {
  margin-top: clamp(42px, 6vw, 74px);
  border: 1px solid var(--web-line-dark);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.pro-reference-head {
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--web-line-dark);
}

.pro-reference-head strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
}

.pro-reference-grid {
  display: grid;
}

.pro-reference-row {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(90px, 0.4fr) minmax(90px, 0.4fr);
  align-items: center;
  border-bottom: 1px solid var(--web-line-dark);
}

.pro-reference-row > span,
.pro-reference-row > strong {
  min-width: 0;
  padding: 14px 20px;
}

.pro-reference-row > span {
  color: rgba(231, 238, 247, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.pro-reference-row > strong {
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
}

.pro-reference-row > :nth-child(2),
.pro-reference-row > :nth-child(3) {
  border-left: 1px solid var(--web-line-dark);
}

.pro-reference-labels {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.035);
}

.pro-reference-labels > span {
  color: var(--web-ice);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-reference-note {
  margin: 0;
  padding: 16px 22px;
  color: rgba(231, 238, 247, 0.54);
  font-size: 0.68rem;
  line-height: 1.5;
}

.physiology-grid {
  gap: clamp(54px, 9vw, 126px);
}

.context-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--web-line);
}

.context-chips span {
  min-height: 78px;
  padding: 20px 18px 20px 0;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--web-line);
  border-radius: 0;
  background: transparent;
}

.context-chips span:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--web-line);
}

/* WEB7B-4 · Nutrition Showcase */
.nutrition-showcase-section {
  background:
    radial-gradient(circle at 16% 14%, rgba(196, 226, 241, 0.34), transparent 32rem),
    var(--web-canvas-alt);
}

.nutrition-showcase-heading {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.nutrition-showcase {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 32px 90px rgba(18, 29, 50, 0.1);
  backdrop-filter: blur(18px);
}

.nutrition-showcase-meta {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nutrition-density-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
}

.nutrition-density-panel + .nutrition-density-panel {
  border-left: 1px solid var(--web-line);
}

.nutrition-density-visual {
  background:
    radial-gradient(circle at 24% 24%, rgba(196, 226, 241, 0.2), transparent 20rem);
}

.nutrition-density-control {
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.56), rgba(255, 255, 255, 0));
}

.nutrition-density-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.nutrition-density-label {
  display: block;
  margin-bottom: 9px;
  color: var(--web-blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nutrition-density-head h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--web-ink);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.nutrition-density-chip {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(50, 100, 192, 0.18);
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.74);
  color: var(--web-blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.nutrition-density-copy {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--web-ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nutrition-demo-rings {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nutrition-demo-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 120px;
  margin-inline: auto;
}

.nutrition-demo-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.nutrition-demo-track,
.nutrition-demo-value {
  fill: none;
  stroke-width: 8;
}

.nutrition-demo-track {
  stroke: rgba(18, 29, 50, 0.1);
}

.nutrition-demo-value {
  stroke: var(--web-blue);
  stroke-linecap: round;
}

.ring-protein .nutrition-demo-value {
  stroke: #4d738f;
}

.ring-carbs .nutrition-demo-value {
  stroke: #6e8fbf;
}

.ring-fat .nutrition-demo-value {
  stroke: #7d92a2;
}

.nutrition-demo-ring-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.nutrition-demo-ring-copy strong {
  color: var(--web-ink);
  font-size: clamp(0.76rem, 1.2vw, 1rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.nutrition-demo-ring-copy span {
  margin-top: 5px;
  color: var(--web-ink-faint);
  font-size: clamp(0.5rem, 0.76vw, 0.62rem);
  font-weight: 800;
}

.nutrition-demo-ring-copy small {
  margin-top: 4px;
  color: var(--web-ink-faint);
  font-size: clamp(0.44rem, 0.62vw, 0.54rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.nutrition-density-priority {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--web-line);
}

.nutrition-density-priority span {
  display: block;
  margin-bottom: 6px;
  color: var(--web-blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nutrition-density-priority strong {
  display: block;
  color: var(--web-ink);
  font-size: 0.98rem;
}

.nutrition-density-priority p {
  margin: 5px 0 0;
  color: var(--web-ink-faint);
  font-size: 0.78rem;
}

.nutrition-control-detail {
  margin-top: 34px;
  border-top: 1px solid var(--web-line);
}

.nutrition-control-detail > div {
  min-height: 54px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--web-line);
}

.nutrition-control-detail span {
  color: var(--web-ink-faint);
  font-size: 0.72rem;
  font-weight: 750;
}

.nutrition-control-detail strong {
  color: var(--web-ink);
  font-size: 0.8rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.nutrition-showcase-note {
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.9);
  color: var(--web-ink-faint);
  font-size: 0.72rem;
  line-height: 1.45;
}

.nutrition-showcase [data-nc-ring] {
  --nc-draw-delay: 120ms;
}

/* WEB7B-4.1 · Nutrition authority modes */
.authority-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.68);
}

.authority-mode {
  min-width: 0;
  padding: 24px 26px 26px;
}

.authority-mode + .authority-mode {
  border-left: 1px solid var(--web-line);
}

.authority-index {
  display: block;
  margin-bottom: 14px;
  color: var(--web-blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.authority-mode strong {
  display: block;
  color: var(--web-ink);
  font-size: 0.94rem;
  line-height: 1.25;
}

.authority-mode p {
  margin: 7px 0 16px;
  color: var(--web-ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.authority-mode small {
  color: var(--web-ink-faint);
  font-size: 0.63rem;
  font-weight: 800;
}

.authority-mode-active {
  background:
    linear-gradient(180deg, rgba(233, 241, 251, 0.72), rgba(255, 255, 255, 0));
}

/* WEB7B-5 · Training Showcase */
.training-showcase-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(196, 226, 241, 0.3), transparent 30rem),
    var(--web-canvas);
}

.training-showcase-heading {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.training-showcase {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 32px 90px rgba(18, 29, 50, 0.1);
}

.training-showcase-meta {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-week-block {
  padding: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--web-line);
}

.training-week-head,
.training-panel-head,
.training-volume-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.training-label {
  display: block;
  margin-bottom: 8px;
  color: var(--web-blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-week-head h3,
.training-panel-head h3 {
  margin: 0;
  color: var(--web-ink);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.training-week-head h3 {
  max-width: 25ch;
}

.training-chip {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(50, 100, 192, 0.18);
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.72);
  color: var(--web-blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.training-week {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
}

.training-day {
  min-width: 0;
  min-height: 126px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.training-day + .training-day {
  border-left: 1px solid var(--web-line);
}

.training-day > span {
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.training-day strong {
  color: var(--web-ink);
  font-size: 0.82rem;
  line-height: 1.25;
}

.training-day small {
  color: var(--web-ink-faint);
  font-size: 0.62rem;
  font-weight: 750;
}

.training-day.is-complete {
  background: rgba(238, 244, 248, 0.5);
}

.training-day.is-complete small {
  color: var(--web-blue-deep);
}

.training-day.is-next {
  background:
    linear-gradient(180deg, rgba(50, 100, 192, 0.11), rgba(233, 241, 251, 0.58));
  box-shadow: inset 0 3px 0 var(--web-blue);
}

.training-day.is-next strong {
  color: var(--web-blue-deep);
}

.training-day.is-next small {
  color: var(--web-blue);
}

.training-day.is-rest {
  background: rgba(247, 250, 252, 0.46);
}

.training-execution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.training-execution-panel,
.training-context-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
}

.training-context-panel {
  border-left: 1px solid var(--web-line);
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.48), rgba(255, 255, 255, 0));
}

.training-session-meta {
  margin: 12px 0 0;
  color: var(--web-ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.training-exercise-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--web-line);
}

.training-exercise-title span {
  display: block;
  margin-bottom: 7px;
  color: var(--web-ink-faint);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-exercise-title strong {
  display: block;
  color: var(--web-ink);
  font-size: 1.05rem;
}

.training-exercise-signals {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.training-exercise-signals p {
  margin: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  color: var(--web-ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.training-exercise-signals p span {
  color: var(--web-blue);
  font-size: 0.58rem;
  font-weight: 900;
}

.training-execution-foot {
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--web-line);
}

.training-execution-foot span {
  color: var(--web-blue);
  font-size: 0.66rem;
  font-weight: 850;
}

.training-execution-foot strong {
  max-width: 29ch;
  color: var(--web-ink);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: right;
}

.training-muscle-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(130px, 1.22fr);
  gap: 18px;
  align-items: center;
}

.training-muscle-copy strong,
.training-muscle-copy small {
  display: block;
}

.training-muscle-copy strong {
  color: var(--web-ink);
  font-size: 1.12rem;
}

.training-muscle-copy small {
  margin-top: 6px;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  line-height: 1.4;
}

.training-muscle-visual img {
  width: 100%;
  max-height: 190px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 18px;
  border: 1px solid var(--web-line);
  background: var(--web-canvas-alt);
}

.training-volume {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--web-line);
}

.training-volume-head strong {
  display: block;
  max-width: 25ch;
  color: var(--web-ink);
  font-size: 0.84rem;
  line-height: 1.3;
}

.training-volume-row {
  position: relative;
  margin-top: 18px;
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  border-bottom: 1px solid var(--web-line);
}

.training-volume-row > div:first-child strong,
.training-volume-row > div:first-child span {
  display: block;
}

.training-volume-row > div:first-child strong {
  color: var(--web-ink);
  font-size: 0.78rem;
}

.training-volume-row > div:first-child span {
  margin-top: 3px;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 700;
}

.training-volume-status {
  color: var(--web-blue-deep);
  font-size: 0.64rem;
  font-weight: 850;
  white-space: nowrap;
}

.training-volume-track {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 29, 50, 0.08);
}

.training-volume-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--web-blue);
}

.training-volume-note {
  margin: 18px 0 0;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  line-height: 1.5;
}

.training-showcase-note {
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.88);
  color: var(--web-ink-faint);
  font-size: 0.72rem;
  line-height: 1.45;
}

/* WEB7B-6 · Progress Showcase */
.progress-showcase-section {
  background:
    radial-gradient(circle at 50% 22%, rgba(196, 226, 241, 0.24), transparent 34rem),
    var(--web-canvas-alt);
}

.progress-showcase-heading {
  max-width: 1040px;
  margin-bottom: clamp(46px, 6vw, 72px);
}

.progress-showcase-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.progress-showcase {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 8%, rgba(233, 241, 251, 0.58), transparent 30rem),
    rgba(255, 255, 255, 0.95);
  box-shadow: 0 34px 96px rgba(18, 29, 50, 0.1);
}

.progress-showcase-meta {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-showcase-summary {
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px) 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.progress-showcase-summary > div:first-child {
  min-width: 0;
}

.progress-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--web-blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.progress-showcase-summary > div:first-child > strong {
  display: block;
  max-width: 20ch;
  color: var(--web-ink);
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.progress-showcase-summary > div:first-child > small {
  display: block;
  margin-top: 10px;
  color: var(--web-ink-faint);
  font-size: 0.76rem;
  font-weight: 750;
}

.progress-summary-delta {
  flex: 0 0 auto;
  text-align: right;
}

.progress-summary-delta span,
.progress-metric span,
.progress-context-signal > span {
  display: block;
  margin-bottom: 6px;
  color: var(--web-ink-faint);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-summary-delta strong {
  color: var(--web-ink);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.progress-chart-wrap {
  padding: 10px clamp(22px, 3.5vw, 44px) 28px;
}

.progress-hero-chart {
  width: 100%;
  height: auto;
  min-height: 320px;
  display: block;
  overflow: visible;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.74), rgba(247, 250, 252, 0.2));
}

.progress-chart-grid {
  stroke: rgba(18, 29, 50, 0.08);
  stroke-width: 1;
}

.progress-chart-area {
  fill: url(#progress-area-fill);
  stroke: none;
}

#progress-area-fill stop {
  stop-color: var(--web-blue);
}

.progress-observed-line,
.progress-trend-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-observed-line {
  stroke: rgba(50, 100, 192, 0.62);
  stroke-width: 3;
}

.progress-trend-line {
  stroke: var(--web-ink);
  stroke-width: 5;
  filter: drop-shadow(0 6px 12px rgba(18, 29, 50, 0.12));
}

.progress-observed-points circle {
  fill: #fff;
  stroke: rgba(50, 100, 192, 0.72);
  stroke-width: 2;
}

.progress-observed-points circle:last-child {
  fill: var(--web-blue);
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 4px 8px rgba(50, 100, 192, 0.26));
}

.progress-trend-points circle {
  fill: var(--web-ink);
  opacity: 0.72;
}

.progress-chart-callout line {
  stroke: rgba(18, 29, 50, 0.26);
  stroke-width: 1.5;
}

.progress-chart-callout rect {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(18, 29, 50, 0.1);
}

.progress-chart-callout text {
  fill: var(--web-ink-faint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.progress-chart-timeline {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 750;
}

.progress-chart-legend {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.progress-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--web-ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.progress-legend-item::before {
  content: "";
  width: 20px;
  height: 3px;
  display: inline-block;
  border-radius: 999px;
}

.progress-legend-observed::before {
  background: rgba(50, 100, 192, 0.62);
}

.progress-legend-trend::before {
  height: 4px;
  background: var(--web-ink);
}

.progress-showcase-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 0.75fr)) minmax(250px, 1.75fr);
  border-top: 1px solid var(--web-line);
}

.progress-metric,
.progress-context-signal {
  min-width: 0;
  padding: 24px 26px 26px;
}

.progress-metric + .progress-metric,
.progress-context-signal {
  border-left: 1px solid var(--web-line);
}

.progress-metric strong,
.progress-context-signal strong {
  display: block;
  color: var(--web-ink);
  font-size: 1rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.progress-metric-emphasis {
  background: rgba(233, 241, 251, 0.52);
}

.progress-context-signal {
  background: rgba(247, 250, 252, 0.7);
}

.progress-context-signal small {
  display: block;
  margin-top: 6px;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 750;
}

.progress-showcase-note {
  margin: 0;
  padding: 16px 22px;
  border-top: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.68rem;
  line-height: 1.45;
}

.progress-observed-line {
  --nc-draw-delay: 120ms;
}

.progress-trend-line {
  --nc-draw-delay: 260ms;
}

/* WEB7B-7 · TDEE / Confidence Story */
.tdee-story-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(196, 226, 241, 0.3), transparent 36rem),
    var(--web-canvas);
}

.tdee-story-heading {
  max-width: 980px;
  margin-bottom: clamp(48px, 6vw, 78px);
}

.tdee-story-heading h2 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.tdee-story-heading > p:last-child {
  max-width: 64ch;
  margin: 0;
  color: var(--web-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.tdee-confidence-story {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 14%, rgba(233, 241, 251, 0.64), transparent 34rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 96px rgba(18, 29, 50, 0.1);
}

.tdee-story-meta {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tdee-confidence-visual {
  padding: clamp(24px, 3.5vw, 42px) clamp(20px, 3.5vw, 42px) 18px;
}

.tdee-confidence-chart {
  width: 100%;
  height: auto;
  min-height: 340px;
  display: block;
  overflow: visible;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.74), rgba(247, 250, 252, 0.16));
}

#tdee-band-fill stop {
  stop-color: var(--web-blue);
}

.tdee-grid-line {
  stroke: rgba(18, 29, 50, 0.075);
  stroke-width: 1;
}

.tdee-confidence-band {
  fill: url(#tdee-band-fill);
  stroke: none;
}

.tdee-estimate-line {
  fill: none;
  stroke: var(--web-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 10px rgba(18, 29, 50, 0.11));
  --nc-draw-delay: 150ms;
}

.tdee-estimate-points circle {
  fill: #fff;
  stroke: var(--web-ink);
  stroke-width: 2;
}

.tdee-estimate-points circle:last-child {
  fill: var(--web-ink);
  stroke: #fff;
  stroke-width: 3;
}

.tdee-stage-marker line {
  stroke: rgba(50, 100, 192, 0.14);
  stroke-width: 1.25;
  stroke-dasharray: 5 8;
}

.tdee-stage-marker circle {
  fill: rgba(50, 100, 192, 0.06);
  stroke: rgba(50, 100, 192, 0.34);
  stroke-width: 2;
}

.tdee-stage-confidence circle {
  fill: rgba(50, 100, 192, 0.11);
  stroke: rgba(50, 100, 192, 0.6);
}

.tdee-chart-axis {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 750;
}

.tdee-confidence-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
}

.tdee-confidence-stage {
  min-width: 0;
  padding: 26px 28px 30px;
}

.tdee-confidence-stage + .tdee-confidence-stage {
  border-left: 1px solid var(--web-line);
}

.tdee-confidence-stage-strong {
  background:
    linear-gradient(180deg, rgba(233, 241, 251, 0.66), rgba(255, 255, 255, 0));
}

.tdee-stage-index {
  display: block;
  margin-bottom: 14px;
  color: var(--web-blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tdee-confidence-stage strong {
  display: block;
  color: var(--web-ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.tdee-confidence-stage p {
  margin: 8px 0 18px;
  color: var(--web-ink-soft);
  font-size: 0.78rem;
  line-height: 1.52;
}

.tdee-confidence-stage small {
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.4;
}

.tdee-signal-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 32px clamp(24px, 4vw, 46px);
  border-bottom: 1px solid var(--web-line);
}

.tdee-signal-source span,
.tdee-signal-review span,
.tdee-signal-output span,
.tdee-mature-note > span {
  display: block;
  margin-bottom: 7px;
  color: var(--web-blue);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tdee-signal-source strong,
.tdee-signal-review strong,
.tdee-signal-output strong {
  display: block;
  color: var(--web-ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.tdee-signal-arrow {
  color: var(--web-blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.tdee-mature-note {
  padding: 28px clamp(24px, 4vw, 46px);
  border-bottom: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.66);
}

.tdee-mature-note p {
  max-width: 78ch;
  margin: 0;
  color: var(--web-ink-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tdee-story-note {
  margin: 0;
  padding: 16px 22px;
  color: var(--web-ink-faint);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* WEB7B-8 · Visual vs Control Total interactive demo */
.density-demo-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(196, 226, 241, 0.3), transparent 32rem),
    var(--web-canvas-alt);
}

.density-demo-heading {
  max-width: 980px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.density-demo-heading h2 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.density-demo-heading > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--web-ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.density-demo {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 8%, rgba(233, 241, 251, 0.58), transparent 34rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 96px rgba(18, 29, 50, 0.1);
}

.density-demo-toolbar {
  min-height: 82px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--web-line);
}

.density-demo-toolbar > div:first-child {
  min-width: 0;
}

.density-demo-kicker,
.density-panel-label,
.density-card-label,
.density-visual-conclusion > span,
.density-control-conclusion > span {
  display: block;
  color: var(--web-blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.density-demo-toolbar > div:first-child > strong {
  display: block;
  margin-top: 4px;
  color: var(--web-ink-faint);
  font-size: 0.7rem;
}

.density-switch {
  flex: 0 0 auto;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(18, 29, 50, 0.1);
  border-radius: 16px;
  background: rgba(238, 244, 248, 0.72);
}

.density-switch-button {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--web-ink-soft);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    background var(--web-motion-fast) var(--web-motion-ease),
    color var(--web-motion-fast) var(--web-motion-ease),
    box-shadow var(--web-motion-fast) var(--web-motion-ease);
}

.density-switch-button:hover {
  color: var(--web-ink);
}

.density-switch-button:focus-visible {
  outline: 3px solid var(--web-blue);
  outline-offset: 3px;
}

.density-switch-button.is-active {
  background: #fff;
  color: var(--web-blue-deep);
  box-shadow: 0 4px 14px rgba(18, 29, 50, 0.08);
}

.density-demo-invariant {
  min-height: 52px;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  border-bottom: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.64);
}

.density-demo-invariant span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.8);
  color: var(--web-ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
}

.density-demo-panel {
  min-height: 560px;
}

.density-demo-panel[hidden] {
  display: none;
}

.density-dashboard-head {
  min-height: 124px;
  padding: clamp(28px, 4vw, 42px) clamp(24px, 4vw, 46px) 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.density-dashboard-head h3 {
  max-width: 22ch;
  margin: 8px 0 0;
  color: var(--web-ink);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.density-state-chip {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(50, 100, 192, 0.18);
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.74);
  color: var(--web-blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.density-visual-grid,
.density-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
}

.density-visual-grid > section,
.density-control-block {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 38px);
  border-bottom: 1px solid var(--web-line);
}

.density-visual-grid > section:nth-child(even),
.density-control-block:nth-child(even) {
  border-left: 1px solid var(--web-line);
}

.density-visual-nutrition {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 226, 241, 0.26), transparent 22rem);
}

.density-mini-rings {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 108px));
  gap: 18px;
}

.density-mini-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 108px;
}

.density-mini-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.density-ring-track,
.density-ring-value {
  fill: none;
  stroke-width: 8;
}

.density-ring-track {
  stroke: rgba(18, 29, 50, 0.1);
}

.density-ring-value {
  stroke: var(--web-blue);
  stroke-linecap: round;
}

.density-mini-ring > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.density-mini-ring strong,
.density-mini-ring span {
  display: block;
}

.density-mini-ring strong {
  color: var(--web-ink);
  font-size: 0.82rem;
}

.density-mini-ring span {
  margin-top: 4px;
  color: var(--web-ink-faint);
  font-size: 0.55rem;
  font-weight: 800;
}

.density-visual-signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.density-visual-signal > strong {
  display: block;
  max-width: 24ch;
  margin-top: 14px;
  color: var(--web-ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.density-visual-signal > small {
  display: block;
  margin-top: 8px;
  color: var(--web-ink-faint);
  font-size: 0.7rem;
  line-height: 1.42;
}

.density-visual-conclusion,
.density-control-conclusion {
  padding: 26px clamp(24px, 4vw, 46px) 30px;
  background: rgba(247, 250, 252, 0.72);
}

.density-visual-conclusion strong,
.density-control-conclusion strong {
  display: block;
  margin-top: 7px;
  color: var(--web-ink);
  font-size: 1.05rem;
}

.density-visual-conclusion p,
.density-control-conclusion p {
  max-width: 68ch;
  margin: 6px 0 0;
  color: var(--web-ink-soft);
  font-size: 0.76rem;
  line-height: 1.48;
}

.density-control-block > strong {
  display: block;
  margin-top: 12px;
  color: var(--web-ink);
  font-size: clamp(1.28rem, 2.3vw, 2rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.density-exact-rows {
  margin-top: 22px;
  border-top: 1px solid var(--web-line);
}

.density-exact-rows p {
  min-height: 46px;
  margin: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--web-line);
}

.density-exact-rows span {
  color: var(--web-ink-faint);
  font-size: 0.68rem;
  font-weight: 750;
}

.density-exact-rows strong {
  color: var(--web-ink);
  font-size: 0.72rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.density-demo-footer {
  min-height: 58px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--web-line);
  background: rgba(255, 255, 255, 0.86);
}

.density-demo-footer p {
  margin: 0;
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  line-height: 1.42;
}

.density-demo-footer [data-density-status] {
  color: var(--web-blue-deep);
  font-weight: 850;
  white-space: nowrap;
}

.access-section {
  background: var(--web-surface);
}

.access-card {
  padding: clamp(38px, 5vw, 68px);
  border-radius: var(--web-radius-focus);
  background:
    radial-gradient(circle at 82% 18%, rgba(67, 116, 200, 0.28), transparent 24rem),
    #111d31;
  box-shadow: var(--web-shadow-focus);
}

.site-footer {
  padding-top: 54px;
  background: var(--web-canvas);
}

/* Product education: editorial rhythm instead of nested cards. */
.product-hero {
  padding-top: clamp(82px, 9vw, 132px);
  padding-bottom: clamp(86px, 9vw, 136px);
}

.product-hero-copy {
  max-width: 1040px;
}

.product-anchor-nav {
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(22px) saturate(145%);
}

.product-close-card {
  padding: clamp(34px, 5vw, 58px) 0;
  border: 0;
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
  border-radius: 0;
  background: transparent;
}

/* Single bounded motion authority. Content remains visible when JS is absent. */
.nc-motion-enabled .nc-reveal-pending {
  opacity: 0;
  transform: translate3d(0, var(--web-motion-distance), 0);
  transition:
    opacity var(--web-motion-reveal) var(--web-motion-ease) var(--nc-delay, 0ms),
    transform var(--web-motion-reveal) var(--web-motion-ease) var(--nc-delay, 0ms);
  will-change: opacity, transform;
}

.nc-motion-enabled .nc-reveal-pending[data-nc-reveal="text"] {
  --web-motion-distance: 16px;
}

.nc-motion-enabled .nc-reveal-pending.nc-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.nc-motion-enabled [data-nc-ring],
.nc-motion-enabled [data-nc-path] {
  transition:
    stroke-dashoffset var(--web-motion-draw) var(--web-motion-ease)
      var(--nc-draw-delay, 0ms);
}

@media (max-width: 1220px) {
  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-product-stage {
    max-width: 760px;
    width: 100%;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .confidence-grid,
  .physiology-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-product-stage {
    max-width: 720px;
    width: 100%;
  }

}

@media (max-width: 720px) {
  .physiology-section {
    padding-bottom: 44px;
  }

  .nutrition-showcase-section {
    padding-top: 52px;
  }

  :root {
    --web-section: 86px;
    --web-section-compact: 68px;
    --web-motion-distance: 16px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--web-shell));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    line-height: 0.94;
  }

  .hero h1 {
    max-width: 100%;
    /* Spanish long words must fit a 320px phone without clipping. */
    font-size: clamp(2.2rem, 10.2vw, 4.7rem);
    line-height: 0.94;
    text-wrap: wrap;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.65rem);
    line-height: 1;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 54px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .section-heading > p {
    max-width: var(--web-reading);
    margin-bottom: 0;
  }

  .hero-product-stage {
    --nc-delay: 100ms;
    width: 100%;
  }

  .hero-product-stage::before {
    inset: 8% -3% -3% 8%;
    border-radius: 28px;
    filter: blur(12px);
  }

  .product-stage-shell {
    border-radius: 22px;
  }

  .product-stage-meta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.58rem;
  }

  .stage-dashboard-header {
    padding: 19px 18px 18px;
    gap: 14px;
  }

  .stage-dashboard-title {
    font-size: 1.05rem;
  }

  .stage-confidence {
    padding: 7px 8px;
    font-size: 0.58rem;
  }

  .stage-dashboard-main {
    grid-template-columns: minmax(0, 1.08fr) minmax(128px, 0.92fr);
  }

  .stage-dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .stage-dashboard-bottom > .stage-pane + .stage-pane {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .stage-pane {
    padding: 18px;
  }

  .stage-rings {
    margin-top: 14px;
    gap: 8px;
  }

  .stage-ring {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .stage-ring-track,
  .stage-ring-value {
    stroke-width: 6;
  }

  .stage-ring-copy strong {
    font-size: 0.69rem;
  }

  .stage-ring-copy span {
    font-size: 0.5rem;
  }

  .stage-nutrition-copy {
    margin-top: 12px;
    font-size: 0.66rem;
  }

  .stage-tdee-value {
    margin-top: 18px;
  }

  .stage-tdee-value strong {
    font-size: 1.48rem;
  }

  .stage-tdee-pill,
  .stage-routine-pill,
  .stage-pane-meta {
    font-size: 0.58rem;
  }

  .stage-progress-chart {
    margin-top: 14px;
  }

  .stage-routine-row {
    margin: 18px 0 14px;
  }

  .stage-routine p {
    max-width: 36ch;
  }

  .change-grid,
  .product-grid,
  .context-chips {
    grid-template-columns: 1fr;
  }

  .change-grid span,
  .change-grid span:nth-child(even),
  .product-card,
  .product-card:nth-child(even),
  .context-chips span,
  .context-chips span:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .product-card,
  .product-card:nth-child(even),
  .product-card-wide {
    grid-column: 1;
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 38px;
    background: transparent;
  }

  .product-card-wide {
    padding-right: 0;
  }

  .product-tag,
  .product-card .product-tag {
    margin-bottom: 32px;
  }

  .context-chips span:nth-child(even) {
    border-left: 0;
  }

  .confidence-visual {
    margin-top: 16px;
  }

  .product-close-card {
    padding-inline: 0;
  }
}

@media (max-width: 1040px) {
  .pro-free-core {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-free-signal:nth-child(odd) {
    border-left: 0;
  }

  .pro-free-signal:nth-child(n + 3) {
    border-top: 1px solid var(--web-line-dark);
  }

  .pro-story-bridge {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pro-story-signal-stack span:nth-child(n) {
    margin-left: 0;
  }

  .density-demo-panel {
    min-height: 0;
  }

  .tdee-confidence-stages {
    grid-template-columns: 1fr;
  }

  .tdee-confidence-stage + .tdee-confidence-stage {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .tdee-signal-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tdee-signal-arrow {
    transform: rotate(90deg);
    transform-origin: center;
    width: fit-content;
  }

  .progress-showcase-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .progress-context-signal {
    grid-column: 1 / -1;
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .authority-rail {
    grid-template-columns: 1fr;
  }

  .authority-mode + .authority-mode {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .training-week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .training-day:nth-child(5) {
    border-left: 0;
  }

  .training-day:nth-child(n + 5) {
    border-top: 1px solid var(--web-line);
  }

  .training-execution-grid {
    grid-template-columns: 1fr;
  }

  .training-context-panel {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .nutrition-showcase-grid {
    grid-template-columns: 1fr;
  }

  .nutrition-density-panel + .nutrition-density-panel {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .nutrition-demo-ring {
    max-width: 110px;
  }
}

@media (max-width: 720px) {
  .pro-story-heading {
    margin-bottom: 38px;
  }

  .pro-story-heading h2 {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .pro-story-heading > p:last-child {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .pro-story-stage {
    padding-block: 34px;
  }

  .pro-story-stage-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pro-story-stage-head > strong {
    max-width: 18ch;
    font-size: 1.8rem;
  }

  .pro-free-core,
  .pro-depth-grid {
    grid-template-columns: 1fr;
  }

  .pro-free-signal,
  .pro-depth-item {
    min-height: 0;
    padding: 20px 0 22px;
    border-left: 0 !important;
    border-top: 0;
    border-bottom: 1px solid var(--web-line-dark);
  }

  .pro-free-signal + .pro-free-signal {
    border-left: 0;
  }

  .pro-free-signal:nth-child(n + 3) {
    border-top: 0;
  }

  .pro-depth-item:nth-child(even) {
    padding-left: 0;
  }

  .pro-story-bridge {
    min-height: 0;
    padding: 38px 0;
  }

  .pro-story-bridge-copy strong {
    max-width: 16ch;
    font-size: 1.9rem;
  }

  .pro-story-signal-stack span {
    min-height: 48px;
  }

  .pro-reference {
    border-radius: 18px;
  }

  .pro-reference-row {
    grid-template-columns: minmax(0, 1.35fr) 64px 64px;
  }

  .pro-reference-row > span,
  .pro-reference-row > strong {
    padding: 12px 10px;
  }

  .pro-reference-row > span {
    font-size: 0.68rem;
  }

  .pro-reference-row > strong {
    font-size: 0.66rem;
  }

  .pro-reference-note {
    padding: 14px 16px;
  }

  .density-demo-section {
    padding-top: 68px;
  }

  .density-demo-heading {
    margin-bottom: 34px;
  }

  .density-demo-heading h2 {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .density-demo-heading > p:last-child {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .density-demo {
    border-radius: 22px;
  }

  .density-demo-toolbar {
    padding: 14px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .density-switch {
    width: 100%;
  }

  .density-switch-button {
    flex: 1 1 50%;
    padding-inline: 10px;
  }

  .density-demo-invariant {
    padding: 10px 14px;
  }

  .density-dashboard-head {
    min-height: 0;
    padding: 22px 18px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .density-dashboard-head h3 {
    max-width: 18ch;
    font-size: 1.8rem;
  }

  .density-visual-grid,
  .density-control-grid {
    grid-template-columns: 1fr;
  }

  .density-visual-grid > section:nth-child(even),
  .density-control-block:nth-child(even) {
    border-left: 0;
  }

  .density-visual-nutrition {
    grid-row: auto;
  }

  .density-visual-grid > section,
  .density-control-block {
    padding: 22px 18px 24px;
  }

  .density-mini-rings {
    grid-template-columns: repeat(2, minmax(0, 96px));
    gap: 14px;
  }

  .density-visual-conclusion,
  .density-control-conclusion {
    padding: 22px 18px 24px;
  }

  .density-exact-rows p {
    align-items: flex-start;
  }

  .density-demo-footer {
    padding: 14px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .density-demo-footer [data-density-status] {
    white-space: normal;
  }

  .tdee-story-section {
    padding-top: 68px;
  }

  .tdee-story-heading {
    margin-bottom: 34px;
  }

  .tdee-story-heading h2 {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .tdee-story-heading > p:last-child {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .tdee-confidence-story {
    border-radius: 22px;
  }

  .tdee-story-meta {
    min-height: 40px;
    padding: 10px 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: 0.56rem;
  }

  .tdee-confidence-visual {
    padding: 16px 10px 14px;
  }

  .tdee-confidence-chart {
    min-height: 0;
    border-radius: 18px;
  }

  .tdee-confidence-stage {
    padding: 22px 18px 24px;
  }

  .tdee-signal-flow {
    padding: 24px 18px;
  }

  .tdee-mature-note {
    padding: 22px 18px;
  }

  .tdee-story-note {
    padding: 14px 18px;
  }

  .progress-showcase-section {
    padding-top: 68px;
  }

  .progress-showcase-heading {
    margin-bottom: 34px;
  }

  .progress-showcase-heading h2 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 0.96;
    text-wrap: balance;
  }

  .progress-showcase {
    border-radius: 22px;
  }

  .progress-showcase-meta {
    min-height: 40px;
    padding: 10px 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: 0.56rem;
  }

  .progress-showcase-summary {
    padding: 22px 18px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .progress-showcase-summary > div:first-child > strong {
    max-width: 17ch;
    font-size: 1.85rem;
  }

  .progress-summary-delta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
  }

  .progress-summary-delta span {
    margin-bottom: 0;
  }

  .progress-summary-delta strong {
    font-size: 1.35rem;
  }

  .progress-chart-wrap {
    padding: 8px 12px 22px;
  }

  .progress-hero-chart {
    min-height: 0;
    border-radius: 18px;
  }

  .progress-chart-callout {
    display: none;
  }

  .progress-chart-legend {
    margin: 14px 6px 0;
    gap: 10px 16px;
  }

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

  .progress-metric,
  .progress-context-signal {
    padding: 18px;
  }

  .progress-metric:nth-child(3) {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .progress-context-signal {
    grid-column: auto;
    border-top: 1px solid var(--web-line);
    border-left: 1px solid var(--web-line);
  }

  .progress-showcase-note {
    padding: 14px 18px;
  }

  .authority-mode {
    padding: 20px 18px 22px;
  }

  .authority-index {
    margin-bottom: 10px;
  }

  .training-showcase {
    border-radius: 22px;
  }

  .training-showcase-meta {
    min-height: 40px;
    padding: 10px 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: 0.56rem;
  }

  .training-week-block,
  .training-execution-panel,
  .training-context-panel {
    padding: 22px 18px 24px;
  }

  .training-week-head,
  .training-panel-head,
  .training-volume-head {
    display: grid;
    gap: 12px;
  }

  .training-chip {
    width: fit-content;
  }

  .training-week-head h3,
  .training-panel-head h3 {
    font-size: 1.55rem;
  }

  .training-week {
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-day {
    min-height: 108px;
    padding: 14px 12px;
  }

  .training-day:nth-child(n) {
    border-top: 0;
    border-left: 0;
  }

  .training-day:nth-child(even) {
    border-left: 1px solid var(--web-line);
  }

  .training-day:nth-child(n + 3) {
    border-top: 1px solid var(--web-line);
  }

  .training-muscle-visual {
    grid-template-columns: minmax(0, 0.85fr) minmax(118px, 1.15fr);
  }

  .training-muscle-visual img {
    max-height: 160px;
  }

  .training-execution-foot {
    display: grid;
    gap: 8px;
  }

  .training-execution-foot strong {
    max-width: none;
    text-align: left;
  }

  .training-showcase-note {
    padding: 16px 18px;
  }

  .nutrition-showcase {
    border-radius: 22px;
  }

  .nutrition-showcase-meta {
    min-height: 40px;
    padding-inline: 14px;
    gap: 10px;
    font-size: 0.56rem;
  }

  .nutrition-density-panel {
    padding: 22px 18px 24px;
  }

  .nutrition-density-head {
    display: grid;
    gap: 12px;
  }

  .nutrition-density-chip {
    width: fit-content;
  }

  .nutrition-density-head h3 {
    max-width: 20ch;
    font-size: 1.55rem;
  }

  .nutrition-density-copy {
    font-size: 0.84rem;
  }

  .nutrition-demo-rings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .nutrition-demo-ring {
    width: 100px;
    max-width: 100px;
  }

  .nutrition-demo-ring-copy strong {
    font-size: 0.82rem;
  }

  .nutrition-demo-ring-copy span {
    font-size: 0.56rem;
  }

  .nutrition-demo-ring-copy small {
    font-size: 0.5rem;
  }

  .nutrition-density-priority,
  .nutrition-control-detail {
    margin-top: 26px;
  }

  .nutrition-showcase-note {
    padding: 16px 18px;
  }
}

@media (max-width: 360px) {
  .pro-reference-row {
    grid-template-columns: 1fr;
  }

  .pro-reference-labels {
    display: none;
  }

  .pro-reference-row > :nth-child(2),
  .pro-reference-row > :nth-child(3) {
    border-top: 1px solid var(--web-line-dark);
    border-left: 0;
    text-align: left;
  }

  .pro-reference-row > strong:nth-child(2)::before {
    content: "FREE · ";
    color: var(--web-ice);
  }

  .pro-reference-row > strong:nth-child(3)::before {
    content: "PRO · ";
    color: var(--web-ice);
  }

  .density-switch {
    flex-direction: column;
  }

  .density-demo-invariant span {
    width: 100%;
    text-align: center;
  }

  .density-mini-rings {
    grid-template-columns: repeat(2, minmax(0, 84px));
  }

  .density-exact-rows p {
    display: grid;
    gap: 4px;
  }

  .density-exact-rows strong {
    text-align: left;
  }

  .tdee-story-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .tdee-confidence-stage p,
  .tdee-mature-note p {
    font-size: 0.75rem;
  }

  .progress-showcase-footer {
    grid-template-columns: 1fr;
  }

  .progress-metric + .progress-metric,
  .progress-metric:nth-child(3),
  .progress-context-signal {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .progress-context-signal {
    grid-column: 1;
  }

  .training-week {
    grid-template-columns: 1fr;
  }

  .training-day:nth-child(n) {
    border-left: 0;
  }

  .training-day + .training-day {
    border-top: 1px solid var(--web-line);
  }

  .training-muscle-visual {
    grid-template-columns: 1fr;
  }

  .training-muscle-visual img {
    max-height: 190px;
  }

  .nutrition-showcase-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 10px;
  }

  .nutrition-demo-ring {
    width: 88px;
    max-width: 88px;
  }

  .product-stage-meta {
    gap: 10px;
    font-size: 0.54rem;
  }

  .stage-dashboard-main {
    grid-template-columns: 1fr;
  }

  .stage-dashboard-main > .stage-pane + .stage-pane {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .stage-rings {
    gap: 12px;
  }

  .stage-ring {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }
}

@media (min-width: 1240px) and (min-height: 800px) {
  .core-story-section {
    padding-bottom: clamp(82px, 6vw, 108px);
  }

  .nc-motion-enabled .core-story-step:not(.is-active) {
    opacity: 0.72;
  }

  .core-story-step-final {
    min-height: 58vh;
    padding-bottom: 4vh;
  }
}

@media (max-width: 1239px), (max-height: 799px) {
  .core-mobile-story-visual {
    margin: 24px 0 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(86px, auto) minmax(24px, 1fr) minmax(92px, auto) minmax(24px, 1fr) minmax(160px, 1.5fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(18, 29, 50, 0.1);
    border-radius: 20px;
    background:
      radial-gradient(circle at 50% 50%, rgba(196, 226, 241, 0.34), transparent 56%),
      rgba(255, 255, 255, 0.82);
  }

  .core-mobile-source,
  .core-mobile-hub,
  .core-mobile-targets,
  .core-mobile-sources span,
  .core-mobile-target-grid span {
    min-height: 44px;
    padding: 10px 12px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 14px;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .core-mobile-source {
    border: 1px solid rgba(50, 100, 192, 0.22);
    background: rgba(233, 241, 251, 0.8);
    color: var(--web-blue-deep);
  }

  .core-mobile-hub {
    background: var(--web-ink);
    color: #fff;
  }

  .core-mobile-targets,
  .core-mobile-target-grid span {
    border: 1px solid var(--web-line);
    background: rgba(247, 250, 252, 0.92);
    color: var(--web-ink-soft);
  }

  .core-mobile-link {
    height: 2px;
    min-width: 22px;
    background: linear-gradient(90deg, rgba(50, 100, 192, 0.24), rgba(50, 100, 192, 0.76));
    position: relative;
  }

  .core-mobile-link::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--web-blue);
    border-right: 2px solid var(--web-blue);
    transform: translateY(-50%) rotate(45deg);
  }

  .core-mobile-story-visual-connected {
    grid-template-columns: minmax(120px, 1fr) minmax(24px, 0.35fr) minmax(116px, 0.8fr) minmax(24px, 0.35fr) minmax(140px, 1fr);
  }

  .core-mobile-sources,
  .core-mobile-target-grid {
    display: grid;
    gap: 7px;
  }

  .core-mobile-sources span {
    min-height: 34px;
    padding-block: 7px;
    border: 1px solid rgba(50, 100, 192, 0.16);
    background: rgba(233, 241, 251, 0.66);
    color: var(--web-blue-deep);
    font-size: 0.63rem;
  }

  .core-mobile-target-grid span {
    min-height: 34px;
    padding-block: 7px;
    font-size: 0.63rem;
  }

  .core-story-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .core-story-visual {
    display: none;
  }

  .core-story-step {
    min-height: 0;
    padding: 38px 0 42px;
    opacity: 1;
  }

  .core-story-step:first-child {
    border-top: 1px solid var(--web-line);
  }

  .core-story-step h3 {
    max-width: 22ch;
    font-size: clamp(1.55rem, 4.5vw, 2.35rem);
  }

  .core-story-step > p {
    max-width: 62ch;
  }
}

@media (max-width: 720px) {
  .core-mobile-story-visual,
  .core-mobile-story-visual-connected {
    margin: 20px 0 20px;
    padding: 15px;
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 18px;
  }

  .core-mobile-link {
    width: 2px;
    height: 22px;
    min-width: 0;
    margin-inline: auto;
    background: linear-gradient(180deg, rgba(50, 100, 192, 0.24), rgba(50, 100, 192, 0.76));
  }

  .core-mobile-link::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }

  .core-mobile-source,
  .core-mobile-hub,
  .core-mobile-targets {
    min-height: 42px;
  }

  .core-mobile-sources,
  .core-mobile-target-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .core-mobile-sources span,
  .core-mobile-target-grid span {
    min-height: 40px;
  }

  .core-story-heading {
    margin-bottom: 34px;
  }

  .core-story-step {
    padding: 32px 0 36px;
  }

  .core-story-index {
    margin-bottom: 14px;
  }

  .core-story-step h3 {
    max-width: 18ch;
    margin-bottom: 14px;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.05;
  }

  .core-story-step > p {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .core-step-flow {
    align-items: flex-start;
    gap: 7px;
    font-size: 0.69rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-story-progress::before {
    transition: none;
  }

  .core-story-layout {
    grid-template-columns: 1fr;
  }

  .core-story-visual {
    position: static;
    top: auto;
    max-width: 760px;
    margin-bottom: 40px;
  }

  .core-story-step {
    min-height: 0;
    padding: 34px 0 38px;
    opacity: 1;
  }

  .nc-motion-enabled .nc-reveal-pending,
  .nc-motion-enabled .nc-reveal-pending.nc-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .nc-motion-enabled [data-nc-ring],
  .nc-motion-enabled [data-nc-path] {
    transition: none !important;
  }
}


/* WEB7B-10 · Product page showcase */
.product-showcase-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(196, 226, 241, 0.38), transparent 32rem),
    var(--web-canvas);
}

.product-showcase-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.product-showcase-hero .product-hero-copy { max-width: 720px; }
.product-showcase-hero h1 { max-width: 12ch; }

.product-showcase-disclaimer {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--web-ink-faint);
  font-size: 0.72rem;
  line-height: 1.5;
}

.product-system-map,
.product-demo-shell {
  overflow: hidden;
  border: 1px solid rgba(18, 29, 50, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(18, 29, 50, 0.1);
}

.product-system-map-head,
.product-system-map-foot,
.product-demo-meta,
.connected-product-meta {
  min-height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-system-map-head,
.product-demo-meta { border-bottom: 1px solid var(--web-line); }
.product-system-map-head small { color: inherit; font: inherit; }

.product-system-map-core { padding: clamp(30px, 4.5vw, 50px); }

.product-system-node {
  padding: 24px 26px;
  border: 1px solid var(--web-line);
  border-radius: 20px;
  background: var(--web-canvas-alt);
}

.product-system-node > span,
.product-demo-headline > div > span,
.product-demo-decision > span,
.nutrition-product-energy span:first-child,
.training-product-exercise > span,
.tdee-product-value > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: var(--web-blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-system-node strong {
  display: block;
  color: var(--web-ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.product-system-node small {
  display: block;
  margin-top: 7px;
  color: var(--web-ink-faint);
  font-size: 0.7rem;
  line-height: 1.45;
}

.product-system-links {
  height: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: 7%;
}

.product-system-links span { position: relative; }

.product-system-links span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  border-left: 1px solid rgba(50, 100, 192, 0.25);
}

.product-system-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--web-line);
  border-radius: 20px;
  overflow: hidden;
}

.product-system-modules > div {
  min-width: 0;
  padding: 20px 16px;
  background: #fff;
}

.product-system-modules > div + div { border-left: 1px solid var(--web-line); }

.product-system-modules span {
  display: block;
  margin-bottom: 16px;
  color: var(--web-blue);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-system-modules strong {
  display: block;
  color: var(--web-ink);
  font-size: 0.76rem;
  line-height: 1.25;
}

.product-system-map-foot {
  border-top: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.76);
  letter-spacing: 0;
  text-transform: none;
}

.product-showcase-module {
  scroll-margin-top: 152px;
  background: var(--web-canvas);
}

.product-showcase-module-soft {
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 226, 241, 0.22), transparent 30rem),
    var(--web-canvas-alt);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: center;
}

.product-showcase-grid-reverse .product-showcase-copy {
  grid-column: 2;
  grid-row: 1;
}

.product-showcase-grid-reverse .product-demo-shell {
  grid-column: 1;
  grid-row: 1;
}

.product-showcase-copy { max-width: 600px; }

.product-showcase-copy h2 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.product-showcase-copy .section-lead {
  max-width: 56ch;
  margin-bottom: 0;
}

.product-proof-lines {
  margin-top: 34px;
  border-top: 1px solid var(--web-line);
}

.product-proof-lines > span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--web-line);
  color: var(--web-ink-soft);
  font-size: 0.78rem;
  font-weight: 760;
}

.product-proof-lines > span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--web-blue);
}

.product-deep-dive {
  margin-top: 24px;
  border-bottom: 1px solid var(--web-line);
}

.product-deep-dive summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--web-ink);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.product-deep-dive summary::-webkit-details-marker { display: none; }

.product-deep-dive summary::after {
  content: "+";
  color: var(--web-blue);
  font-size: 1.2rem;
  font-weight: 500;
}

.product-deep-dive[open] summary::after { content: "−"; }
.product-deep-dive-body { padding: 0 0 26px; }

.product-deep-dive-body p {
  margin: 14px 0 0;
  color: var(--web-ink-soft);
  font-size: 0.76rem;
  line-height: 1.58;
}

.product-deep-dive-body strong { color: var(--web-ink); }

.product-demo-body { padding: clamp(28px, 4vw, 44px); }

.product-demo-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.product-demo-headline strong {
  display: block;
  max-width: 24ch;
  color: var(--web-ink);
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.product-demo-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(50, 100, 192, 0.16);
  border-radius: 999px;
  background: rgba(233, 241, 251, 0.76);
  color: var(--web-blue-deep);
  font-size: 0.62rem;
  font-weight: 850;
  white-space: nowrap;
}

.product-demo-note {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--web-line);
  background: rgba(247, 250, 252, 0.76);
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  line-height: 1.48;
}

.product-demo-decision {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid rgba(50, 100, 192, 0.13);
  border-radius: 18px;
  background: rgba(233, 241, 251, 0.48);
}

.product-demo-decision strong {
  display: block;
  color: var(--web-ink);
  font-size: 0.88rem;
  line-height: 1.42;
}

.product-demo-decision small {
  display: block;
  margin-top: 7px;
  color: var(--web-ink-faint);
  font-size: 0.68rem;
  line-height: 1.45;
}

.product-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 29, 50, 0.08);
}

.product-progress-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--web-blue);
}

.nutrition-product-energy {
  margin-top: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.nutrition-product-energy strong {
  display: block;
  color: var(--web-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.nutrition-product-energy strong small {
  color: var(--web-ink-faint);
  font-size: 0.72rem;
  font-weight: 750;
}

.nutrition-product-energy > span {
  color: var(--web-blue-deep);
  font-size: 0.78rem;
  font-weight: 850;
}

.nutrition-product-energy + .product-progress-track { margin-top: 14px; }

.nutrition-product-macros {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nutrition-product-macros > div { min-width: 0; }
.nutrition-product-macros span,
.nutrition-product-macros strong { display: block; }

.nutrition-product-macros span {
  color: var(--web-ink-faint);
  font-size: 0.64rem;
  font-weight: 800;
}

.nutrition-product-macros strong {
  margin: 6px 0 10px;
  color: var(--web-ink);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.training-product-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--web-line);
  border-radius: 18px;
}

.training-product-week > div {
  min-width: 0;
  min-height: 100px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.training-product-week > div + div { border-left: 1px solid var(--web-line); }

.training-product-week span,
.training-product-week small {
  color: var(--web-ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
}

.training-product-week strong {
  color: var(--web-ink);
  font-size: 0.7rem;
  line-height: 1.2;
}

.training-product-week .is-done { background: rgba(238, 244, 248, 0.5); }

.training-product-week .is-next {
  background: rgba(233, 241, 251, 0.8);
  box-shadow: inset 0 3px 0 var(--web-blue);
}

.training-product-week .is-next strong,
.training-product-week .is-next small { color: var(--web-blue-deep); }

.training-product-session {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--web-line);
}

.training-product-exercise { margin-top: 26px; }

.training-product-exercise > strong {
  display: block;
  color: var(--web-ink);
  font-size: 1rem;
}

.training-product-prescription {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
}

.training-product-prescription p {
  min-width: 0;
  margin: 0;
  padding: 14px 12px;
}

.training-product-prescription p + p { border-left: 1px solid var(--web-line); }

.training-product-prescription span,
.training-product-prescription strong { display: block; }

.training-product-prescription span {
  color: var(--web-ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
}

.training-product-prescription strong {
  margin-top: 5px;
  color: var(--web-ink);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.progress-product-delta {
  flex: 0 0 auto;
  text-align: right;
}

.progress-product-delta span {
  display: block;
  color: var(--web-ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-product-delta strong {
  display: block;
  margin-top: 6px;
  color: var(--web-ink);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}

.progress-product-chart { margin-top: 26px; }

.progress-product-chart svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(238, 244, 248, 0.74), rgba(247, 250, 252, 0.18));
}

.progress-product-chart line {
  stroke: rgba(18, 29, 50, 0.08);
  stroke-width: 1;
}

.progress-product-chart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-product-chart path.observed {
  stroke: rgba(50, 100, 192, 0.58);
  stroke-width: 3;
}

.progress-product-chart path.trend {
  stroke: var(--web-ink);
  stroke-width: 5;
}

.progress-product-chart .points circle {
  fill: #fff;
  stroke: rgba(50, 100, 192, 0.75);
  stroke-width: 2;
}

.progress-product-chart .points circle:last-child {
  fill: var(--web-blue);
  stroke: #fff;
  stroke-width: 3;
}

.progress-product-legend {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.progress-product-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--web-ink-faint);
  font-size: 0.62rem;
  font-weight: 800;
}

.progress-product-legend span::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.progress-product-legend .observed::before { background: rgba(50, 100, 192, 0.58); }
.progress-product-legend .trend::before { height: 4px; background: var(--web-ink); }

.progress-product-metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
}

.progress-product-metrics p {
  min-width: 0;
  margin: 0;
  padding: 16px 14px;
}

.progress-product-metrics p + p { border-left: 1px solid var(--web-line); }

.progress-product-metrics span,
.progress-product-metrics strong { display: block; }

.progress-product-metrics span {
  color: var(--web-ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
}

.progress-product-metrics strong {
  margin-top: 6px;
  color: var(--web-ink);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.tdee-product-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 20px;
}

.tdee-product-value > span:first-child {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.tdee-product-value > strong {
  color: var(--web-ink);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.tdee-product-value > strong small {
  color: var(--web-ink-faint);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0;
}

.tdee-product-confidence {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--web-line);
  border-radius: 18px;
}

.tdee-product-confidence > div {
  min-width: 0;
  padding: 18px 16px;
}

.tdee-product-confidence > div + div { border-left: 1px solid var(--web-line); }

.tdee-product-confidence .is-current {
  background: rgba(233, 241, 251, 0.76);
  box-shadow: inset 0 3px 0 var(--web-blue);
}

.tdee-product-confidence span,
.tdee-product-confidence strong,
.tdee-product-confidence small { display: block; }

.tdee-product-confidence span {
  color: var(--web-blue);
  font-size: 0.58rem;
  font-weight: 900;
}

.tdee-product-confidence strong {
  margin-top: 14px;
  color: var(--web-ink);
  font-size: 0.76rem;
}

.tdee-product-confidence small {
  margin-top: 5px;
  color: var(--web-ink-faint);
  font-size: 0.6rem;
  line-height: 1.35;
}

.tdee-product-signals {
  margin-top: 26px;
  border-top: 1px solid var(--web-line);
}

.tdee-product-signals > div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--web-line);
}

.tdee-product-signals span {
  color: var(--web-ink-faint);
  font-size: 0.66rem;
  font-weight: 800;
}

.tdee-product-signals strong {
  color: var(--web-ink);
  font-size: 0.7rem;
  text-align: right;
}

.product-showcase-connected {
  background:
    radial-gradient(circle at 82% 16%, rgba(67, 116, 200, 0.24), transparent 34rem),
    #111d31;
  color: #fff;
}

.product-showcase-connected-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: center;
}

.product-showcase-connected .product-showcase-copy h2 { color: #fff; }
.product-showcase-connected .section-lead { color: #c7d1df; }
.product-showcase-connected .eyebrow { color: var(--web-ice); }
.product-proof-lines-dark { border-color: var(--web-line-dark); }

.product-proof-lines-dark > span {
  border-color: var(--web-line-dark);
  color: #c7d1df;
}

.product-proof-lines-dark > span::before { background: var(--web-ice); }
.product-deep-dive-dark { border-color: var(--web-line-dark); }

.product-deep-dive-dark summary,
.product-deep-dive-dark .product-deep-dive-body strong { color: #fff; }

.product-deep-dive-dark summary::after { color: var(--web-ice); }
.product-deep-dive-dark .product-deep-dive-body p { color: #c7d1df; }

.connected-product-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(23, 36, 59, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.connected-product-meta {
  border-bottom: 1px solid var(--web-line-dark);
  color: #9eb2c9;
}

.connected-product-flow {
  padding: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.connected-product-flow > div {
  min-width: 0;
  min-height: 132px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--web-line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.connected-product-flow span {
  color: var(--web-ice);
  font-size: 0.58rem;
  font-weight: 900;
}

.connected-product-flow strong {
  margin-top: auto;
  color: #fff;
  font-size: 0.76rem;
}

.connected-product-flow small {
  margin-top: 6px;
  color: #9eb2c9;
  font-size: 0.6rem;
  line-height: 1.35;
}

.connected-product-flow i {
  color: var(--web-ice);
  font-size: 1rem;
  font-style: normal;
}

.connected-product-output {
  padding: 26px clamp(30px, 4vw, 46px) 30px;
  border-top: 1px solid var(--web-line-dark);
  background: rgba(255, 255, 255, 0.035);
}

.connected-product-output span,
.connected-product-output strong,
.connected-product-output small { display: block; }

.connected-product-output span {
  color: var(--web-ice);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connected-product-output strong {
  margin-top: 8px;
  color: #fff;
  font-size: 1.2rem;
}

.connected-product-output small {
  margin-top: 7px;
  color: #9eb2c9;
  font-size: 0.68rem;
  line-height: 1.45;
}

.product-showcase-close { background: var(--web-canvas); }

@media (max-width: 1120px) {
  .product-showcase-hero-grid,
  .product-showcase-grid,
  .product-showcase-connected-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase-hero .product-hero-copy,
  .product-showcase-copy { max-width: 760px; }

  .product-system-map,
  .product-demo-shell,
  .connected-product-visual {
    width: 100%;
    max-width: 860px;
  }

  .product-showcase-grid-reverse .product-showcase-copy,
  .product-showcase-grid-reverse .product-demo-shell {
    grid-column: 1;
    grid-row: auto;
  }

  .product-showcase-grid-reverse .product-showcase-copy { order: 0; }
  .product-showcase-grid-reverse .product-demo-shell { order: 1; }
}

@media (max-width: 720px) {
  .product-showcase-hero {
    padding-top: 58px;
    padding-bottom: 76px;
  }

  .product-showcase-hero-grid,
  .product-showcase-grid,
  .product-showcase-connected-grid { gap: 44px; }

  .product-showcase-hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13.5vw, 4.3rem);
  }

  .product-showcase-copy h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3.5rem);
  }

  .product-system-map,
  .product-demo-shell,
  .connected-product-visual { border-radius: 22px; }

  .product-system-map-head,
  .product-system-map-foot,
  .product-demo-meta,
  .connected-product-meta {
    min-height: 40px;
    padding-inline: 14px;
    gap: 10px;
    font-size: 0.56rem;
  }

  .product-system-map-head small { display: none; }
  .product-system-map-core { padding: 22px 18px; }

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

  .product-system-modules > div {
    min-height: 76px;
    padding: 14px 12px;
  }

  .product-system-modules > div:nth-child(3) { border-left: 0; }

  .product-system-modules > div:nth-child(n + 3) {
    border-top: 1px solid var(--web-line);
  }

  .product-system-links {
    grid-template-columns: repeat(2, 1fr);
    height: 28px;
  }

  .product-system-links span:nth-child(n + 3) { display: none; }

  .product-system-map-foot {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 10px;
  }

  .product-showcase-module { scroll-margin-top: 128px; }
  .product-proof-lines { margin-top: 26px; }
  .product-demo-body { padding: 24px 18px; }
  .product-demo-headline { gap: 14px; }
  .product-demo-headline strong { font-size: 1.42rem; }

  .nutrition-product-macros {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .training-product-week {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .training-product-week > div { min-height: 92px; }

  .training-product-prescription,
  .progress-product-metrics { grid-template-columns: 1fr; }

  .training-product-prescription p + p,
  .progress-product-metrics p + p {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .progress-product-chart svg { min-height: 210px; }
  .tdee-product-confidence { grid-template-columns: 1fr; }

  .tdee-product-confidence > div + div {
    border-top: 1px solid var(--web-line);
    border-left: 0;
  }

  .connected-product-flow {
    padding: 24px 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .connected-product-flow > div { min-height: 92px; }

  .connected-product-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .connected-product-output { padding: 22px 18px 24px; }
  .product-showcase-close .product-close-card { gap: 28px; }
}


/* WEB7B-12 · Responsive hardening */
@media (max-width: 360px) {
  .product-showcase-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.2rem);
  }

  .product-showcase-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.95rem);
  }

  .product-demo-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-demo-chip {
    white-space: normal;
  }

  .nutrition-product-energy {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .training-product-week > div:nth-child(n) {
    border-top: 0;
    border-left: 0;
  }

  .training-product-week > div:nth-child(even) {
    border-left: 1px solid var(--web-line);
  }

  .training-product-week > div:nth-child(n + 3) {
    border-top: 1px solid var(--web-line);
  }

  .training-product-week > div:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .tdee-product-value {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tdee-product-value > .product-demo-chip {
    justify-self: start;
  }
}

@media (max-width: 960px) and (max-height: 540px) {
  :root {
    --web-section: 72px;
    --web-section-compact: 58px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 72px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero h1,
  .product-showcase-hero h1 {
    font-size: clamp(2.7rem, 7vw, 3.5rem);
  }

  .product-hero,
  .product-showcase-hero {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .product-showcase-hero-grid,
  .product-showcase-grid,
  .product-showcase-connected-grid {
    gap: 36px;
  }

  .product-showcase-module {
    scroll-margin-top: 116px;
  }
}
