/* #531: one mobile-first scan story. This replaces the former Homepage layer.
   Brand/type tokens remain in the existing shared stylesheets. Static product
   crops use current app classes; all numeric values are bound example fixtures. */
.vp-home {
  --vp-paper: #fafbf8;
  --vp-ink: var(--kk-text-primary);
  --vp-muted: var(--kk-text-secondary);
  --vp-green: var(--kk-green-500);
  --vp-line: var(--kk-border-subtle);
  margin: 0;
  min-width: 0;
  background: var(--vp-paper);
  color: var(--vp-ink);
  font-family: var(--kk-font-sans);
  font-size: 1.1875rem;
  line-height: 1.6;
}
.vp-home *, .vp-home *::before, .vp-home *::after { box-sizing: border-box; }
.vp-home :where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.vp-home img { display: block; max-width: 100%; }
.vp-home a { color: inherit; }
.vp-home :where(h1,h2,h3) { text-wrap: balance; color: var(--vp-ink); font-family: var(--kk-font-display); font-weight: 540; }
.vp-home :where(p,summary) { overflow-wrap: anywhere; }
.vp-home :where(a,summary):focus-visible { outline: 3px solid var(--kk-focus); outline-offset: 5px; }
.vp-home .vp-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.vp-home .vp-skip { position: absolute; top: -100%; left: 24px; z-index: 5; padding: 12px 18px; background: white; }
.vp-home .vp-skip:focus { top: 12px; }
.vp-home .vp-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.vp-home .vp-brand { display: flex; align-items: center; min-height: 52px; min-width: 0; }
.vp-home .vp-brand img { width: 168px; height: auto; }
.vp-home .vp-login { display: inline-flex; align-items: center; min-height: 52px; font-size: 1.125rem; text-decoration: none; }
.vp-home .vp-login:hover { text-decoration: underline; text-underline-offset: 5px; }
.vp-home .vp-hero { padding-top: 28px; }
.vp-home .vp-hero h1 { max-width: 14ch; font-size: 2.75rem; line-height: 1.13; letter-spacing: -.025em; }
.vp-home .vp-lead { max-width: 39ch; margin-top: 24px; color: var(--vp-muted); }
.vp-home .vp-cta { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 64px; margin-top: 28px; padding: 16px 20px; background: var(--vp-green); border: 1px solid var(--vp-green); border-radius: var(--kk-radius-sm); color: white; font-size: 1.125rem; font-weight: 550; text-align: center; text-decoration: none; line-height: 1.5; }
.vp-home .vp-cta:hover { background: var(--kk-green-600); border-color: var(--kk-green-600); }
.vp-home .vp-cta:active { background: var(--kk-green-700); }
.vp-home .vp-hero-media { margin-top: 44px; }
.vp-home .vp-hero-photo { width: 88%; height: auto; aspect-ratio: .8; object-fit: cover; object-position: 50% 50%; border-radius: var(--kk-radius-2xl); }
.vp-home .vp-hero-proof { position: relative; width: 96%; margin: -28px 0 0 auto; border: 1px solid var(--vp-line); border-radius: var(--kk-radius-lg); background: white; box-shadow: 0 20px 52px -30px #13392a38; }
.vp-home .vp-hero-proof .today-summary-card { padding: 16px 26px 26px; }
.vp-home .today-card-status { font-size: 1rem; color: var(--vp-muted); }
.vp-home .today-calorie-value { color: var(--vp-ink); font-size: 4rem; font-weight: 540; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vp-home .today-calorie-value small { font-size: 1.1875rem; font-weight: 500; letter-spacing: 0; }
.vp-home .today-calorie-label { margin-top: 4px; color: var(--vp-muted); font-size: 1.0625rem; }
.vp-home .vp-hero-proof .today-calorie-hero { margin-block: 14px 20px; }
.vp-home .vp-budget-track { height: 6px; overflow: hidden; border-radius: 6px; background: var(--kk-green-50); }
.vp-home .vp-budget-track span { display: block; width: 60%; height: 100%; background: var(--vp-green); border-radius: inherit; }
.vp-home .today-calorie-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.vp-home .today-calorie-meta span { display: grid; gap: 3px; }
.vp-home .today-calorie-meta small { font-size: .9375rem; color: var(--vp-muted); }
.vp-home .today-calorie-meta strong { font-size: 1.0625rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.vp-home .vp-proof > figcaption { margin: 0 0 20px; color: var(--vp-muted); font-size: .9375rem; line-height: 1.6; }
.vp-home .vp-hero-proof > figcaption { padding: 24px 26px 0; color: var(--vp-muted); font-size: .9375rem; line-height: 1.6; }
.vp-home .vp-chapter { margin-top: 120px; }
.vp-home .vp-chapter--canvas { margin-top: 80px; padding-block: 48px; background: white; }
.vp-home .vp-chapter--canvas + .vp-chapter { margin-top: 80px; }
.vp-home :where(.vp-chapter-copy,.vp-trust,.vp-faq,.vp-closing) h2 { max-width: 17ch; font-size: 2.625rem; letter-spacing: -.02em; line-height: 1.16; }
.vp-home .vp-chapter-copy > p { margin-top: 24px; max-width: 39ch; color: var(--vp-muted); }
.vp-home .vp-proof { min-width: 0; margin-top: 44px; }
.vp-home .vp-product-surface { min-width: 0; }
.vp-home .vp-proof-heading { margin-bottom: 24px; font-size: 1.625rem; font-weight: 540; line-height: 1.35; letter-spacing: -.01em; }
.vp-home .capture-card { padding: 0; }
.vp-home .camera-trigger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-height: 208px; padding: 24px 12px; border-radius: var(--kk-radius-lg); background: var(--kk-green-50); text-align: center; }
.vp-home .camera-orbit { display: grid; place-items: center; width: 76px; height: 76px; color: var(--vp-green); }
.vp-home .camera-orbit svg { width: 64px; height: 64px; }
.vp-home .camera-trigger strong { font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.vp-home .unified-search-field { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px; min-height: 64px; border: 1px solid var(--vp-line); border-radius: var(--kk-radius-sm); color: var(--vp-muted); font-size: 1.125rem; line-height: 1.5; }
.vp-home .unified-search-field svg { flex: 0 0 24px; }
.vp-home .capture-secondary-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-size: 1.125rem; }
.vp-home .capture-secondary-actions > span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.vp-home .vp-meal-photo { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: 50% 51%; border-radius: var(--kk-radius-md); }
.vp-home .vp-review-body { padding-top: 28px; }
.vp-home .vp-review-body h3 { font-size: 1.5rem; line-height: 1.35; letter-spacing: -.01em; }
.vp-home .vp-ingredients { margin-top: 20px; }
.vp-home .vp-ingredients > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--vp-line); font-size: 1.125rem; line-height: 1.5; }
.vp-home .vp-ingredients dd { flex-shrink: 0; color: var(--vp-muted); font-variant-numeric: tabular-nums; }
.vp-home .vp-meal-total { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 24px; }
.vp-home .vp-meal-total > span { font-size: 1rem; color: var(--vp-muted); }
.vp-home .vp-meal-total strong { min-width: 0; overflow-wrap: anywhere; font-size: 2.75rem; font-weight: 540; letter-spacing: -.025em; line-height: 1.2; }
.vp-home .vp-meal-total small { font-size: 1.125rem; letter-spacing: 0; }
.vp-home .vp-review-actions { display: grid; gap: 12px; margin-top: 28px; font-size: 1.125rem; line-height: 1.5; text-align: center; }
.vp-home .vp-ui-action { padding: 18px 12px; border-radius: var(--kk-radius-sm); background: var(--vp-green); color: white; font-weight: 550; }
.vp-home .vp-ui-adjust { padding: 10px 12px; color: var(--vp-green); }
.vp-home .vp-proof-source { font-size: 1rem; margin-top: 24px; color: var(--vp-muted); }
.vp-home .vp-proof-source summary { min-height: 48px; padding-block: 10px; cursor: pointer; }
.vp-home .vp-proof-source p { margin-block: 12px; }
.vp-home .today-budget-ring { display: grid; position: relative; width: min(100%, 320px); margin: 32px auto 24px; }
.vp-home .today-budget-ring-visual { grid-area: 1 / 1; align-self: center; display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.vp-home .today-budget-ring-track,.vp-home .today-budget-ring-progress { fill: none; stroke-width: 6; }
.vp-home .today-budget-ring-track { stroke: var(--kk-green-50); }
.vp-home .today-budget-ring-progress { stroke: var(--vp-green); stroke-dasharray: 60 100; stroke-linecap: round; }
.vp-home .today-budget-ring-copy { grid-area: 1 / 1; display: flex; justify-content: center; align-items: center; flex-direction: column; min-width: 0; padding: 32px 16px; text-align: center; }
.vp-home .vp-today-proof .today-calorie-value { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .12em; min-width: 0; font-size: 4.5rem; }
.vp-home .vp-today-proof .today-calorie-meta { margin-inline: 0; padding-top: 28px; border-top: 1px solid var(--vp-line); }
.vp-home .vp-today-proof .today-calorie-meta strong { font-size: 1.25rem; }
.vp-home .vp-journey-key { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 28px 0 0; color: var(--vp-muted); font-size: 1.125rem; }
.vp-home .vp-journey-key span { display: flex; align-items: center; gap: 8px; }
.vp-home .vp-journey-key span::before { content: ''; width: 22px; border-top: 2px solid var(--vp-green); }
.vp-home .vp-journey-key .vp-projected-key::before { border-top-style: dashed; }
.vp-home .native-weight-chart { display: block; width: 100%; height: auto; margin: 32px 0 24px; overflow: visible; }
.vp-home .weight-area { fill: var(--kk-green-50); }
.vp-home .weight-grid { fill: none; stroke: var(--vp-line); stroke-width: 1; }
.vp-home .weight-projection { fill: none; stroke: var(--vp-green); stroke-width: 2.75; stroke-dasharray: 5 6; }
.vp-home .weight-measured { stroke: var(--vp-green); stroke-width: 3; }
.vp-home .weight-current { fill: var(--vp-green); stroke: white; stroke-width: 2; }
.vp-home :where(.weight-milestone,.weight-target) { fill: white; stroke: var(--vp-green); stroke-width: 2; }
.vp-home .native-weight-labels { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 16px; }
.vp-home .native-weight-labels span { display: grid; gap: 8px; font-size: 1.125rem; color: var(--vp-muted); }
.vp-home .native-weight-labels strong { font-weight: 540; color: var(--vp-ink); font-size: 1.375rem; }
.vp-home .vp-trust { margin-top: 128px; }
.vp-home .vp-trust-intro { margin-bottom: 24px; color: var(--vp-green); font-size: 1.125rem; }
.vp-home .vp-trust-copy { margin-top: 24px; max-width: 43ch; color: var(--vp-muted); }
.vp-home .vp-trust .teaching-energy { min-width: 0; margin-top: 40px; padding: 24px 18px; }
.vp-home .vp-trust .energy-teaching-labels { font-size: 1.125rem; }
.vp-home .vp-trust .teaching-energy > .illustrative-label { display: block; margin-top: 18px; font-size: .9375rem; line-height: 1.6; color: var(--vp-muted); }
.vp-home .vp-science-evidence { min-width: 0; margin-top: 32px; }
.vp-home .vp-evidence-label { margin-bottom: 8px; font-size: 1rem; color: var(--vp-green); }
.vp-home .vp-evidence { max-width: 55ch; color: var(--vp-muted); font-size: .9375rem; line-height: 1.7; }
.vp-home .vp-sources { margin-top: 20px; }
.vp-home .vp-sources summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-block: 10px; font-size: 1.125rem; color: var(--vp-green); cursor: pointer; list-style: none; }
.vp-home .vp-sources summary::-webkit-details-marker { display: none; }
.vp-home .vp-sources summary span { display: inline-grid; place-items: center; flex: 0 0 1.5em; width: 1.5em; height: 1.5em; line-height: 1; }
.vp-home .vp-sources[open] summary span { transform: rotate(90deg); }
.vp-home .vp-sources > div { margin-top: 20px; color: var(--vp-muted); }
.vp-home .vp-sources ul { list-style: none; padding: 0; margin: 0; }
.vp-home .vp-sources li { margin-bottom: 24px; }
.vp-home .vp-sources a { display: inline-block; min-height: 44px; padding-block: 8px; color: var(--vp-ink); text-underline-offset: 5px; }
.vp-home .vp-sources li p { margin-top: 8px; }
.vp-home .vp-faq { margin-top: 128px; }
.vp-home .vp-faq-items { margin-top: 40px; }
.vp-home .vp-faq-items details { border-top: 1px solid var(--vp-line); }
.vp-home .vp-faq-items details:last-child { border-bottom: 1px solid var(--vp-line); }
.vp-home .vp-faq-items summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; min-height: 76px; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 400; line-height: 1.5; text-wrap: pretty; }
.vp-home .vp-faq-items summary::-webkit-details-marker { display: none; }
.vp-home .vp-faq-items summary::after { content: '+'; flex-shrink: 0; color: var(--vp-green); font-size: 1.25rem; font-weight: 400; line-height: 1; }
.vp-home .vp-faq-items details[open] summary::after { content: '−'; }
.vp-home .vp-faq-items details > p { padding-bottom: 28px; color: var(--vp-muted); max-width: 58ch; }
.vp-home .vp-closing { margin-top: 128px; padding-block: 96px; background: white; text-align: center; }
.vp-home .vp-closing h2 { width: calc(100% + 24px); max-width: 17ch; margin-inline: -12px; font-size: 2.75rem; }
.vp-home .vp-closing p { margin: 28px auto 0; max-width: 36ch; color: var(--vp-muted); }
.vp-home .vp-closing .vp-cta { max-width: 360px; margin-top: 36px; }
.vp-home .vp-footer { padding-block: 52px; font-size: 1.125rem; font-weight: 500; color: var(--vp-muted); }
@media (min-width: 600px) {
 .vp-home .vp-shell { width: min(1200px, calc(100% - 96px)); }
 .vp-home .vp-hero,.vp-home .vp-chapter-inner { max-width: 620px; }
 .vp-home .vp-hero h1 { font-size: 3.5rem; }
 .vp-home .vp-hero-media { max-width: 480px; margin-inline: auto; }
 .vp-home .vp-hero-photo { aspect-ratio: .8; }
 .vp-home .vp-hero-proof { width: 82%; }
 .vp-home .vp-proof { max-width: 480px; margin-inline: auto; }
 .vp-home .vp-trust,.vp-home .vp-faq { max-width: 680px; }
 .vp-home .vp-closing h2 { font-size: 3rem; }
 .vp-home .vp-closing h2 { width: auto; margin-inline: auto; }
}
@media (min-width: 900px) {
 .vp-home .vp-header { min-height: 104px; }
 .vp-home .vp-brand img { width: 172px; }
 .vp-home .vp-hero { max-width: 1200px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 96px; padding-top: 56px; }
 .vp-home .vp-hero h1 { max-width: 14ch; font-size: 4rem; }
 .vp-home .vp-hero-copy .vp-cta { width: auto; padding-inline: 28px; }
 .vp-home .vp-hero-media { width: 100%; margin-top: 0; }
 .vp-home .vp-hero-photo { width: min(88%, 360px); aspect-ratio: .8; }
 .vp-home .vp-hero-proof { width: 94%; max-width: 420px; margin-top: -28px; }
 .vp-home .vp-hero-proof .today-summary-card { padding: 16px 28px 28px; }
 .vp-home .vp-chapter { margin-top: 160px; }
 .vp-home .vp-chapter-inner { display: grid; grid-template-columns: .95fr 1.05fr; max-width: 1120px; align-items: center; gap: 120px; }
 .vp-home .vp-chapter-inner > * { min-width: 0; }
 .vp-home .vp-chapter--canvas { margin-top: 104px; padding-block: 72px; }
 .vp-home .vp-chapter--canvas + .vp-chapter { margin-top: 104px; }
 .vp-home .vp-chapter .vp-proof { width: 100%; margin-top: 0; }
 .vp-home .vp-chapter-copy h2 { font-size: 3.25rem; }
 .vp-home .vp-chapter-copy p { max-width: 35ch; }
 .vp-home .vp-today-proof .today-budget-ring { width: min(100%, 360px); }
 .vp-home .vp-trust { margin-top: 176px; max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 88px; align-items: center; }
 .vp-home .vp-science-copy,.vp-home .vp-science-evidence { grid-column: 1; }
 .vp-home .vp-trust .teaching-energy { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding: 32px 28px; }
 .vp-home .vp-trust h2 { font-size: 3.25rem; }
 .vp-home .vp-faq { margin-top: 160px; }
 .vp-home .vp-faq h2 { font-size: 3.25rem; }
 .vp-home .vp-closing { margin-top: 160px; padding-block: 112px; }
 .vp-home .vp-closing h2 { font-size: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
 .vp-home * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.vp-footer nav{display:flex;flex-wrap:wrap;gap:1rem;font-size:.9rem}.vp-footer nav a{color:inherit}
