/* Sahni website: onboarding's cinema stage (Sahni/Features/Onboarding/PremiumTrailerCinema.swift), on the web.
   - The set: a dark ground lit by one slow, breathing key light, vignetted at the edges; the same in light and dark
     appearance, as a film is. Colours are the app's cinema tokens (SahniPalette.cinema*).
   - Each section is one frame: a calm headline (sentence case, semibold), one picture standing on the set, one line.
   - No cards, no chips, no icon tiles, no tick lists: the pictures are the app's own renders and real screens.
   System fonts only. */

:root {
  color-scheme: dark;
  --ground: #070C0A;
  --ink: #F2F7F3;
  --ink-2: #B7C6BD;
  --ink-3: #8FA197;
  --accent: #6FC79B;
  --glass: rgba(22, 33, 27, .88);
  --hair: rgba(242, 247, 243, .14);
  --hair-strong: rgba(242, 247, 243, .26);
  --glow: 47, 156, 110;
  --glow-cool: 28, 95, 115;
  --protein: #F0AA66;
  --carbs: #86BCE6;
  --fat: #A8CC7E;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--ground); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--hair-strong); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.018em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.005em; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The set: key light behind each frame's picture, vignette at the edges ---------- */
.set { position: relative; isolation: isolate; }
.set::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 46% at var(--kx, 68%) var(--ky, 50%), rgba(var(--glow), .5), transparent 72%),
    radial-gradient(34% 40% at calc(var(--kx, 68%) + 18%) calc(var(--ky, 50%) - 30%), rgba(var(--glow-cool), .32), transparent 70%);
}
.set::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(7, 12, 10, .8));
}
@media (prefers-reduced-motion: no-preference) {
  .set::before { animation: breathe 9s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 12, 10, .82); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--hair); }
.bar { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--display); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.get { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: var(--ground); text-decoration: none; font: 600 .9rem/1 var(--font); white-space: nowrap; }
.get:hover { background: #fff; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu .panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); padding: 8px; background: #101814; border: 1px solid var(--hair); border-radius: 16px; display: grid; }
.menu .panel a { padding: 12px 14px; text-decoration: none; color: var(--ink); border-radius: 10px; }
.menu .panel a:hover { background: rgba(242, 247, 243, .06); }
.menu .panel .get { justify-content: center; margin-top: 6px; color: var(--ground); height: 44px; }
@media (max-width: 820px) { .nav, .bar > .get { display: none; } .menu { display: block; } }

/* ---------- Frames ---------- */
.frame { padding: clamp(72px, 11vw, 140px) 0; }
.frame .grid {
  display: grid; gap: 28px 64px; align-items: center;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  grid-template-areas: "head picture" "words picture";
}
.frame .grid.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); grid-template-areas: "picture head" "picture words"; }
.frame .head { grid-area: head; align-self: end; }
.frame .words { grid-area: words; align-self: start; }
.frame .picture { grid-area: picture; position: relative; display: flex; justify-content: center; }
.caption { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.words .caption { margin-top: 0; }
.more { display: inline-block; margin-top: 6px; color: var(--accent); text-decoration: none; font-weight: 600; }
.more:hover { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 899px) {
  .frame .grid, .frame .grid.flip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "picture" "words"; gap: 28px; }
}
.frame.centered { text-align: center; }
.frame.centered .caption { margin-inline: auto; }

/* The App Store badge and the requirements line */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 52px; width: auto; }
.requirements { color: var(--ink-3); font-size: .85rem; line-height: 1.5; margin: 14px 0 0; }
.centered .store { justify-content: center; }

/* ---------- Shot: the plate read, with its labels (CinemaScanShot) ---------- */
.scan-shot { position: relative; width: min(540px, 100%); aspect-ratio: 100 / 116; container-type: inline-size; }
.scan-shot .plate { position: absolute; left: 8%; top: 13.8%; width: 84%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.scan-shot svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scan-shot svg.lines line { stroke: rgba(242, 247, 243, .6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scan-shot svg.lines circle { fill: var(--ink); }
.food-label {
  position: absolute; width: 38%; height: 10.8%; display: flex; flex-direction: column; justify-content: center; padding: 0 3.2cqw;
  background: var(--glass); border: 1px solid rgba(242, 247, 243, .18); border-radius: 10px; line-height: 1.25; white-space: nowrap; overflow: hidden;
}
.food-label b { font: 600 clamp(12px, 2.9cqw, 16px)/1.25 var(--font); }
.food-label span { font: 600 clamp(11px, 2.6cqw, 14.5px)/1.25 var(--rounded); color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .scan-shot .beam { position: absolute; left: 6%; width: 88%; height: 3.5%; top: 13.8%; mix-blend-mode: screen;
      background: linear-gradient(transparent, rgba(var(--glow), .55), var(--ink), rgba(var(--glow), .55), transparent);
      animation: beam linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    @keyframes beam { from { transform: translateY(0); opacity: 1; } 90% { opacity: 1; } to { transform: translateY(2300%); opacity: 0; } }
  }
}

/* ---------- Shot: a day as light (CinemaDayShot) ---------- */
.day-shot { width: min(520px, 100%); }
.day-shot .kcal { font: 700 clamp(4rem, 9vw, 5.5rem)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 36px rgba(var(--glow), .9); }
.day-shot .of { font-size: 1.25rem; color: var(--ink-2); margin: 6px 0 36px; }
.day-shot .macro + .macro { margin-top: 26px; }
.day-shot .row { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: var(--ink-2); margin-bottom: 8px; }
.day-shot .row b { font: 600 .95rem/1 var(--rounded); color: var(--ink); font-variant-numeric: tabular-nums; }
.day-shot .track { height: 8px; border-radius: 99px; background: rgba(242, 247, 243, .08); }
.day-shot .fill { height: 100%; border-radius: 99px; background: var(--c); box-shadow: 0 0 16px var(--c); width: var(--share); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .day-shot .fill { animation: fill ease-out both; animation-timeline: view(); animation-range: entry 70% cover 40%; }
    @keyframes fill { from { width: 0; } to { width: var(--share); } }
  }
}

/* ---------- Shot: the padlock, its shackle dropping shut (CinemaLockShot) ---------- */
.lock-shot { position: relative; width: min(420px, 86%); aspect-ratio: 1; }
.lock-shot img { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .lock-shot .shackle { animation: shut ease-in both; animation-timeline: view(); animation-range: entry 60% cover 42%; }
    @keyframes shut { from { transform: translateY(-9%); } to { transform: none; } }
  }
}

/* ---------- Shot: Sahni with Coach's three values around it (PremiumTrailer) ---------- */
.orbit { position: relative; width: min(560px, 100%); aspect-ratio: 1 / .92; }
.orbit .sahni { position: absolute; left: 50%; top: 47%; width: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.orbit figure { position: absolute; margin: 0; width: 27%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.orbit figure img { width: 100%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .45)); }
.orbit figcaption { font-size: .85rem; font-weight: 500; color: var(--ink-2); text-shadow: 0 0 6px var(--ground); }
.orbit .coach { left: 17%; top: 20%; }
.orbit .recipes { left: 84%; top: 24%; }
.orbit .activity { left: 80%; top: 76%; width: 22%; }
.orbit .bubble { position: relative; width: 100%; aspect-ratio: 1 / 1.05; display: grid; place-items: center; }
.orbit .bubble svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .bubble svg path { fill: none; stroke: rgba(242, 247, 243, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orbit .bubble img { width: 66%; transform: translateY(-6%); }
@media (prefers-reduced-motion: no-preference) {
  .orbit .sahni { animation: bob 5.7s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
}

/* ---------- Real screens on the set ---------- */
.phone {
  --w: 240px; position: relative; width: var(--w); flex: none; container-type: inline-size;
  padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .165);
  background: linear-gradient(150deg, #3a4540, #0b100e 30%, #0b100e 70%, #2a332e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 40px 70px -30px rgba(0, 0, 0, .9);
}
.phone .screen { position: relative; border-radius: 13.4cqw; overflow: hidden; aspect-ratio: 1206 / 2622; background: #F2F7F3; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .screen::after { content: ""; position: absolute; top: 2.9cqw; left: 50%; width: 30.5cqw; height: 9cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 40px; margin-top: clamp(48px, 7vw, 80px); }
.screens figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.screens .phone { --w: 250px; }
.screens figcaption { margin-top: 22px; max-width: 250px; }
.screens figcaption b { display: block; font: 600 1.05rem/1.3 var(--display); }
.screens figcaption span { display: block; color: var(--ink-2); font-size: .95rem; line-height: 1.45; margin-top: 4px; }
@media (max-width: 960px) { .screens .phone { --w: 210px; } .screens figcaption { max-width: 210px; } }
@media (max-width: 760px) {
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 28px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens figure { scroll-snap-align: center; flex: 0 0 auto; }
  .screens .phone { --w: 220px; }
  .screens figcaption { max-width: 220px; }
}

/* ---------- Free and Premium: the paywall's table, ruled, no box ---------- */
.compare { width: 100%; max-width: 760px; margin: clamp(56px, 8vw, 88px) auto 0; border-collapse: collapse; text-align: left; }
.compare caption { caption-side: top; text-align: left; font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--display); letter-spacing: -.012em; padding-bottom: 28px; text-wrap: balance; }
.compare caption span { color: var(--ink-2); }
.compare th, .compare td { padding: 14px 8px; border-bottom: 1px solid var(--hair); font-weight: 400; vertical-align: middle; }
.compare thead th { font: 600 .95rem/1.2 var(--font); color: var(--ink-2); border-bottom-color: var(--hair-strong); }
.compare .col { width: 120px; text-align: center; }
.compare tbody th { color: var(--ink); }
.compare tr.group th { padding-top: 30px; font: 600 .82rem/1 var(--font); color: var(--ink-3); border-bottom-color: var(--hair-strong); }
.compare td.yes svg { width: 20px; height: 20px; color: var(--accent); margin: auto; display: block; }
.compare td.no { color: var(--ink-3); text-align: center; }
.plan-note { max-width: 760px; margin: 24px auto 0; color: var(--ink-3); font-size: .9rem; }
@media (max-width: 560px) { .compare .col { width: 72px; } .compare th, .compare td { padding: 12px 4px; } }

/* ---------- Questions ---------- */
.faq { max-width: 780px; margin: clamp(40px, 6vw, 64px) auto 0; border-top: 1px solid var(--hair-strong); text-align: left; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.12rem/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq .answer { padding: 0 40px 24px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq a, .prose a { color: var(--accent); text-decoration-color: rgba(111, 199, 155, .4); }

/* ---------- Closing ---------- */
.closing .sahni { width: clamp(200px, 24vw, 280px); margin: 0 auto 28px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.lost { width: 180px; margin: 0 auto 24px; }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); }
.page-head .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; align-items: center; }
.page-head .caption { margin-top: 22px; }
.page-head .picture { display: flex; justify-content: center; }
.page-head .picture > img { width: min(320px, 80%); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.page-head .kicker { color: var(--ink-3); font-size: .95rem; margin-bottom: 14px; }
.page-head .kicker a { color: var(--ink-2); }
@media (max-width: 860px) { .page-head .grid { grid-template-columns: 1fr; } .page-head .picture > img { width: min(240px, 70%); } }

.article { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 88px); align-items: start; padding-bottom: clamp(72px, 10vw, 128px); }
.toc { position: sticky; top: 92px; font-size: .9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.toc a { color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 700px; }
.prose h2 { font-size: clamp(1.55rem, 2.8vw, 2rem); margin: 2.4em 0 .7em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--ink-3); }
.prose figure { margin: 2.4em 0; display: flex; flex-direction: column; align-items: center; }
.prose figcaption { margin-top: 16px; color: var(--ink-3); font-size: .9rem; text-align: center; max-width: 30em; }
.prose .note { border-left: 2px solid var(--accent); padding: 2px 0 2px 18px; margin: 1.6em 0; }
.prose .note p:last-child { margin-bottom: 0; }

.steps-list { list-style: none; padding: 0; margin: 1.4em 0; counter-reset: s; border-top: 1px solid var(--hair); }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.steps-list li::before { content: counter(s); font: 600 1rem/1.6 var(--rounded); color: var(--accent); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 1.6em 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.numbers div { padding: 18px 12px 18px 0; }
.numbers b { display: block; font: 600 1.9rem/1.1 var(--rounded); letter-spacing: -.01em; }
.numbers span { font-size: .85rem; color: var(--ink-3); }
.numbers .p b { color: var(--protein); } .numbers .c b { color: var(--carbs); } .numbers .f b { color: var(--fat); }
@media (max-width: 600px) { .numbers { grid-template-columns: 1fr 1fr; } }

.sources { list-style: none; padding: 0; margin: 0 0 1.6em; border-top: 1px solid var(--hair); }
.sources li { padding: 14px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.sources a { font-weight: 600; color: var(--ink); text-decoration-color: var(--hair-strong); }
.sources .by { display: block; color: var(--ink-3); font-size: .87rem; margin-top: 2px; }

.guides { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.guides li { border-bottom: 1px solid var(--hair); }
.guides a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 0; text-decoration: none; }
.guides img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.guides h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.guides p { color: var(--ink-2); margin: 8px 0 0; }
.guides a:hover h2 { color: var(--accent); }
@media (max-width: 560px) { .guides a { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; } .guides img { width: 76px; height: 76px; } }

.next { margin-top: clamp(48px, 7vw, 72px); padding-top: 24px; border-top: 1px solid var(--hair); color: var(--ink-3); }
.next a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair); padding: clamp(48px, 7vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-grid p { color: var(--ink-2); font-size: .95rem; max-width: 24em; margin-top: 14px; }
.footer-grid h2 { font: 600 .85rem/1 var(--font); color: var(--ink-3); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer-grid ul a:hover { color: var(--ink); }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--ink-3); font-size: .8rem; line-height: 1.55; display: grid; gap: 6px; }
.legal p { margin: 0; max-width: 62em; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .about { grid-column: 1 / -1; } }

/* ---------- Motion: headlines rise softly out of a blur as their frame comes in ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise ease-out both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    @keyframes rise { from { opacity: 0; filter: blur(8px); transform: translateY(12px); } to { opacity: 1; filter: none; transform: none; } }
  }
}

/* Positions the app computes (CinemaScanShot labels; CinemaDayShot shares of the standard targets). */
.l-sweet { left: 0; top: .86%; }
.l-cod { left: 62%; top: .86%; }
.l-broccoli { left: 56.5%; top: 87.1%; }
.day-shot .protein { --c: var(--protein); --share: 71.7%; }
.day-shot .carbs { --c: var(--carbs); --share: 60%; }
.day-shot .fat { --c: var(--fat); --share: 58.6%; }
.tag { font: 500 .8rem/1 var(--font); color: var(--ink-3); margin-left: 4px; }
.after { margin-top: 28px; font-size: 1rem; }

/* Where each frame's key light stands: behind its picture. */
.hero-frame { --kx: 70%; --ky: 55%; }
.day-frame { --kx: 30%; --ky: 50%; }
.screens-frame { --kx: 50%; --ky: 45%; }
.premium-frame { --kx: 70%; --ky: 28%; }
.privacy-frame { --kx: 28%; --ky: 50%; }
.questions-frame { --kx: 50%; --ky: 22%; }
.closing { --kx: 50%; --ky: 35%; }
@media (max-width: 899px) { .set { --kx: 50%; } .hero-frame { --ky: 45%; } }
.page-head .phone { --w: clamp(220px, 20vw, 260px); }
.page-head .lock-shot { width: min(340px, 80%); }

/* ---------- Coach, in its own words: four real sentences, each with the foods it names ---------- */
.coach-lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 36px; margin-top: clamp(48px, 7vw, 80px); text-align: left; }
.coach-lines figure { margin: 0; display: flex; flex-direction: column; }
.coach-lines img { width: 78%; max-width: 220px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .5)); margin-bottom: 22px; }
.coach-lines figcaption { font: 600 clamp(1.05rem, 1.5vw, 1.2rem)/1.4 var(--display); color: var(--ink); text-wrap: pretty; }
.coach-lines figcaption small { display: block; font: 500 .8rem/1.3 var(--font); color: var(--ink-3); margin-bottom: 8px; }
.coach-frame { --kx: 50%; --ky: 60%; }
.coach-frame .caption { margin-top: 18px; }
@media (max-width: 960px) { .coach-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .coach-lines { grid-template-columns: 1fr; gap: 40px; } .coach-lines figure { flex-direction: row; gap: 18px; align-items: center; } .coach-lines img { width: 96px; margin: 0; flex: none; } }

/* ---------- Blog ---------- */
.byline { color: var(--ink-3); font-size: .9rem; margin-top: 18px; }
.blog-frame { --kx: 50%; --ky: 20%; }
.blog-frame .guides { margin-top: 36px; }
.post-cta { margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--hair); }
.post-cta p { color: var(--ink); font: 600 1.15rem/1.45 var(--display); margin-bottom: 18px; max-width: 32em; }

/* ---------- Analytics choice (assets/analytics.js): one calm bar, two equal buttons ---------- */
.analytics-settings { display: none; }
.js .analytics-settings { display: list-item; }
.analytics-settings button { font: inherit; font-size: .95rem; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.analytics-settings button:hover { color: var(--ink); }
.consent {
  position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 16px 24px; padding: 16px 18px; border-radius: 16px;
  background: rgba(16, 24, 20, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--hair-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.consent p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent button { font: 600 .9rem/1 var(--font); height: 40px; padding: 0 18px; border-radius: 99px; cursor: pointer; border: 1px solid var(--hair-strong); background: transparent; color: var(--ink); }
.consent button:hover { background: rgba(242, 247, 243, .08); }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions button { flex: 1; } }
