:root {
  --paper: #F7F6F1;
  --paper-raised: #FFFFFF;
  --ink: #1D1A14;
  --ink-muted: #6E685C;
  --ink-faint: #A39C8E;
  --accent: #C97B08;
  --accent-deep: #8F5606;
  --tint: #F1E7CF;
  --protein: #B93A4F;
  --carbs: #8E6A12;
  --fat: #2E7E9A;
  --wash-a: #F3D993;
  --wash-b: #FBF0DA;
  --hairline: rgba(29, 26, 20, 0.12);
  --shadow-ink: rgba(29, 26, 20, 0.18);
  --display: "Besley", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

.wash {
  position: fixed;
  inset: -20vh -20vw;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 18% 12%, var(--wash-a) 0%, rgba(243, 217, 147, 0) 68%),
    radial-gradient(60% 50% at 88% 34%, var(--wash-b) 0%, rgba(251, 240, 218, 0) 70%),
    radial-gradient(50% 40% at 50% 100%, var(--wash-b) 0%, rgba(251, 240, 218, 0) 70%);
  opacity: 0.85;
  animation: drift 48s var(--ease) infinite alternate;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3vw, -2vh, 0) scale(1.06); }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(88px, 11vw, 168px); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.display, .title, .num, .day-title, .step-num {
  font-family: var(--display);
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.display {
  font-size: clamp(2.6rem, 4.7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.title {
  font-size: clamp(2.05rem, 3.9vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-top: 14px;
}

.lede {
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: 36ch;
  margin-top: 24px;
}

.prose p { max-width: 52ch; }

.prose p + p { margin-top: 1.1em; }

.note {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.accent { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px var(--shadow-ink);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.button:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px var(--shadow-ink); background: #000; }

.button:active { transform: translateY(0) scale(0.985); }

.button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.button-small { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }

.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.wordmark { font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; }

.mark { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-linecap: round; }

.mark-small { width: 28px; height: 28px; }

.mark-plate, .mark-dome { stroke-width: 5; }

.mark-foot { stroke-width: 4; }

.mark-knob { fill: var(--accent); stroke: none; }

.top-nav { display: flex; align-items: center; gap: 22px; }

.top-link { font-weight: 500; font-size: 0.95rem; color: var(--ink-muted); }

.top-link:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 32px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 128px var(--gutter) 56px;
}

.hero-copy { position: relative; z-index: 2; max-width: 640px; }

.hero .display { margin-top: 18px; font-size: clamp(2.4rem, 3.9vw, 3.6rem); }

.break { display: block; }

.hero-actions { display: grid; gap: 14px; margin-top: 36px; max-width: 520px; }

.join {
  display: flex;
  gap: 8px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 26, 20, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px -18px var(--shadow-ink);
}

.join:focus-within { border-color: rgba(201, 123, 8, 0.6); }

.join-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

.join-input::placeholder { color: var(--ink-faint); }

.join .button { flex: 0 0 auto; min-height: 48px; padding-inline: 22px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.joined { padding: 18px 22px; border-radius: 22px; background: var(--paper-raised); box-shadow: 0 0 0 1px var(--hairline); }

.joined-title { font-family: var(--display); font-weight: 500; font-size: 1.5rem; }

.join-error { color: var(--accent-deep); }

.final-join { max-width: 520px; margin: 36px auto 0; text-align: left; }

.hero-film { position: relative; z-index: 1; margin-right: calc(-1 * var(--gutter)); }

.film-mask {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 26%, #000 84%, transparent 100%);
}

.film {
  width: 100%;
  mix-blend-mode: multiply;
  aspect-ratio: 1152 / 720;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
}

.bloom .w {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(6px);
  animation: bloom 900ms var(--ease) forwards;
}

.bloom .w:nth-child(1) { animation-delay: 80ms; }
.bloom .w:nth-child(2) { animation-delay: 140ms; }
.bloom .w:nth-child(3) { animation-delay: 200ms; }
.bloom .w:nth-child(4) { animation-delay: 260ms; }
.bloom .w:nth-child(5) { animation-delay: 320ms; }
.bloom .w:nth-child(7) { animation-delay: 460ms; }
.bloom .w:nth-child(8) { animation-delay: 520ms; }
.bloom .w:nth-child(9) { animation-delay: 580ms; }
.bloom .w:nth-child(10) { animation-delay: 640ms; }
.bloom .w:nth-child(11) { animation-delay: 700ms; }
.bloom .w:nth-child(12) { animation-delay: 760ms; }

@keyframes bloom {
  to { opacity: 1; filter: blur(0); transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

.develop {
  filter: blur(10px) saturate(0.6);
  transition: filter 1400ms var(--ease) 120ms;
}

.in .develop, .in.develop { filter: none; }

.setup-grid, .voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: end;
}

.setup-grid .prose, .voice-grid .prose { padding-bottom: 6px; }

.section-head { max-width: 640px; }

.section-head.wide { max-width: 760px; }

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px 72px;
  align-items: start;
  margin-top: 56px;
}

.phone {
  position: sticky;
  top: 56px;
  justify-self: center;
  width: min(100%, 360px);
}

.screen {
  background: var(--paper);
  border-radius: 44px;
  padding: 26px 20px 18px;
  box-shadow:
    0 0 0 1.5px rgba(29, 26, 20, 0.9),
    0 0 0 8px var(--paper-raised),
    0 0 0 9px var(--hairline),
    0 40px 70px -30px var(--shadow-ink);
  overflow: hidden;
}

.screen-film { padding: 0; aspect-ratio: 604 / 1314; }

.app-film { width: 100%; height: 100%; object-fit: cover; }

.screen-film { position: relative; cursor: default; }
.screen-film.idle { cursor: pointer; }
.screen-film.idle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--paper-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231D1A14'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: 0 10px 30px -12px var(--shadow-ink);
  opacity: 0.94;
}

.phone figcaption { margin-top: 22px; text-align: center; font-size: 0.8125rem; color: var(--ink-muted); }

.day { padding-bottom: 14px; }

.day-title { font-size: 2.1rem; line-height: 1; margin-top: 6px; }

.day-total { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }

.day-total .num { font-size: 2.4rem; line-height: 1; }

.day-target { font-size: 0.9rem; color: var(--ink-faint); }

.hairline { height: 1px; background: var(--hairline); margin-top: 12px; position: relative; }

.hairline-fill { position: absolute; left: 0; top: -0.5px; height: 2px; width: 26.5%; background: var(--accent); }

.macros { display: flex; gap: 14px; margin-top: 10px; font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted); }

.macros b { font-weight: 600; color: var(--ink); }

.bubble {
  align-self: flex-end;
  margin: 8px 0 8px auto;
  width: fit-content;
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--tint);
  font-size: 0.95rem;
  line-height: 1.35;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.entry-image { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(29, 26, 20, 0.12)); }

.entry-name { font-weight: 500; font-size: 1.05rem; line-height: 1.2; }

.entry-portion { font-size: 0.8125rem; color: var(--ink-muted); margin-top: 2px; }

.entry-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 0.8125rem; font-weight: 600; }

.pill {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--accent-deep);
  background: var(--tint);
  padding: 3px 9px;
  border-radius: 999px;
}

.macro-p { color: var(--protein); }
.macro-c { color: var(--carbs); }
.macro-f { color: var(--fat); }

.assistant { font-size: 0.95rem; line-height: 1.4; padding: 8px 0 4px; max-width: 92%; }

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 26, 20, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px -14px var(--shadow-ink);
}

.composer-placeholder { font-size: 0.95rem; color: var(--ink-faint); }

.send { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.12); }

.steps { display: grid; gap: 40px; padding-top: 8px; }

.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; }

.step-num { grid-row: 1 / 3; font-size: 2.6rem; line-height: 1; color: var(--accent); }

.step-title { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }

.step p { color: var(--ink); max-width: 44ch; }

.mini-thread { grid-column: 2; margin-top: 12px; }

.mini-thread .bubble { margin-left: 0; font-size: 0.9rem; }

.mini-thread .assistant { font-size: 0.9rem; }

.watched {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.watched-card {
  background: var(--paper-raised);
  border-radius: 20px;
  padding: 18px 16px 16px;
  box-shadow: 0 1px 0 var(--hairline), 0 22px 40px -30px var(--shadow-ink);
}

.watched-card img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(29, 26, 20, 0.12)); }

.watched-card.in img { filter: drop-shadow(0 8px 12px rgba(29, 26, 20, 0.12)); }

.watched-name { font-weight: 600; font-size: 1rem; margin-top: 12px; }

.watched-meta { font-size: 0.875rem; color: var(--ink-muted); margin-top: 2px; }

.watched-meta .num { color: var(--accent-deep); font-size: 1rem; }

.watched-food { font-size: 0.8125rem; color: var(--ink-faint); margin-top: 6px; }

.chips-note { margin-top: 44px; max-width: 60ch; }

.all-nutrients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.9rem;
  font-weight: 500;
}

.chip-value { font-size: 0.9rem; color: var(--ink-muted); }

.chip-watched::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); align-self: center; }

.chip-watched .chip-value { color: var(--accent-deep); }

.voice-line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink-muted);
}

.final { text-align: center; padding-bottom: clamp(120px, 14vw, 200px); }

.final .display { max-width: 16ch; margin-inline: auto; }

.final .note { margin-top: 18px; }

.foot { border-top: 1px solid var(--hairline); padding-block: 32px; }

.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; }

.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: var(--ink-muted); }

.foot-nav a:hover { color: var(--ink); }

.foot-copy { font-size: 0.8125rem; color: var(--ink-faint); }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 112px; gap: 32px; min-height: auto; }
  .hero-film { margin-inline: calc(-1 * var(--gutter)); }
  .film-mask { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%); }
  .how-grid { grid-template-columns: 1fr; }
  .phone { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .top { padding-block: 16px; }
  .top-link { display: none; }
  .setup-grid, .voice-grid { grid-template-columns: 1fr; gap: 24px; }
  .join { flex-direction: column; padding: 8px; border-radius: 28px; }
  .join-input { padding: 12px 14px; }
  .join .button { width: 100%; }
  .steps { gap: 32px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step-num { font-size: 2.1rem; }
  .watched { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wash { animation: none; }
  .bloom .w { animation: none; opacity: 1; filter: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .develop { filter: none; transition: none; }
  .button { transition: none; }
}

.pull {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 1.4em;
}

.read { position: absolute; inset: 0; pointer-events: none; }

.scan {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 30%;
  height: 22%;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 250, 235, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
}

.tag {
  position: absolute;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 26, 20, 0.08);
  box-shadow: 0 14px 28px -16px var(--shadow-ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}

.tag .num { font-size: 1rem; color: var(--accent-deep); }

.tag-title { font-weight: 600; font-size: 0.9rem; }

.tag-label { color: var(--ink-muted); }

.tag-portion { font-size: 0.75rem; color: var(--ink-muted); }

.tag .dv { font-size: 0.7rem; color: var(--ink-faint); }

.tag-macros { gap: 14px; }

.macro { display: inline-flex; align-items: baseline; gap: 5px; }

.macro .num { font-size: 0.9375rem; }

.macro-label { color: var(--ink-muted); }

.macro-dot { align-self: center; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.tag-name { left: 12%; top: 33%; }
.tag-macros { left: 12%; top: 46%; }
.tag-omega { right: 10%; top: 28%; }
.tag-d { right: 7%; top: 46%; }
.tag-se { left: 22%; top: 79%; }

@media (min-width: 1025px) and (max-width: 1280px) {
  .tag-macros { gap: 10px; font-size: 0.75rem; }
  .macro .num { font-size: 0.85rem; }
  .tag-d { top: 60%; }
  .tag-se { top: 84%; }
}

.read.on .scan { animation: scan 1500ms var(--ease) forwards; }

.read.on .tag { animation: tagIn 700ms var(--ease) forwards, float 6s ease-in-out 2.6s infinite; }

.tag-micro { flex-wrap: wrap; row-gap: 6px; }

.dv-bar { flex-basis: 100%; height: 1px; background: var(--hairline); position: relative; }

.dv-bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: var(--accent); }

.read.on .tag-d .dv-bar i { animation: fill 1200ms var(--ease) 2100ms forwards; --pct: 100%; }

.read.on .tag-se .dv-bar i { animation: fill 1200ms var(--ease) 2350ms forwards; --pct: 100%; }

.read.still .dv-bar i { width: 100%; }

@keyframes fill { to { width: var(--pct); } }

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

.read.on .tag-name { animation-delay: 900ms; }
.read.on .tag-macros { animation-delay: 1150ms; }
.read.on .tag-omega { animation-delay: 1450ms; }
.read.on .tag-d { animation-delay: 1700ms; }
.read.on .tag-se { animation-delay: 1950ms; }

.read.still .tag { opacity: 1; transform: none; }

@keyframes scan {
  0% { opacity: 0; transform: translateY(-40%); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(160%); }
}

@keyframes tagIn {
  to { opacity: 1; transform: none; }
}

.read-caption {
  margin-top: -12px;
  padding-right: var(--gutter);
  text-align: right;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.magazine-wrap { position: relative; margin-top: 48px; }

.magazine {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 24px var(--gutter) 32px;
  scrollbar-width: none;
  cursor: grab;
}

.magazine::-webkit-scrollbar { display: none; }

.magazine.dragging { cursor: grabbing; scroll-snap-type: none; }

.magazine.dragging .page { pointer-events: none; }

.magazine:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.page {
  position: relative;
  flex: 0 0 auto;
  width: min(84vw, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px 34px;
  background: rgba(255, 255, 255, 0.34);
  border-right: 1px solid var(--hairline);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26px;
  background: linear-gradient(to right, rgba(29, 26, 20, 0.07), rgba(29, 26, 20, 0));
  pointer-events: none;
}

.page:last-child { border-right: 0; border-radius: 0 24px 24px 0; }

.page-film { background: none; border: 0; padding: 0 32px 0 0; width: min(74vw, 320px); margin-right: 8px; }

.page-film::before { display: none; }

.page-film .screen { background: var(--paper); }

.page-film figcaption { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: var(--ink-muted); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }

.page-title { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; margin-top: 6px; }

.page-totals { text-align: right; }

.page-total .num { font-size: 1.5rem; }

.page-macros { display: flex; justify-content: flex-end; gap: 8px; font-size: 0.75rem; font-weight: 600; margin-top: 2px; }

.unit { font-size: 0.75rem; color: var(--ink-muted); }

.page-foods { display: grid; gap: 4px; margin-top: 8px; flex: 1 1 auto; align-content: start; }

.page-food { display: flex; align-items: center; gap: 12px; padding: 8px 0; }

.page-food img { width: 64px; height: 64px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(29, 26, 20, 0.14)); }

.page-food-name { font-size: 0.95rem; font-weight: 500; line-height: 1.2; }

.page-food-portion { font-size: 0.75rem; color: var(--ink-muted); margin-top: 1px; }

.page-food-meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: 0.75rem; font-weight: 600; }

.page-food-meta .pill { font-size: 0.8rem; padding: 2px 8px; }

.page-food-micro { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.75rem; color: var(--ink-muted); }

.page-food-micro .num { font-size: 0.85rem; color: var(--accent-deep); }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.page-watch { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hairline); }

.watch-lines { display: grid; gap: 7px; margin-top: 10px; }

.watch-line { display: grid; grid-template-columns: 74px 1fr 52px; align-items: center; gap: 10px; font-size: 0.75rem; }

.watch-name { font-weight: 500; color: var(--ink-muted); }

.watch-bar { position: relative; height: 1px; background: var(--hairline); }

.watch-bar i { position: absolute; left: 0; top: -0.5px; height: 2px; background: var(--accent); width: 0; transition: width 900ms var(--ease); }

.watch-low .watch-bar i { background: var(--ink-faint); }

.watch-value { text-align: right; font-size: 0.85rem; color: var(--accent-deep); }

.watch-low .watch-value { color: var(--ink-muted); }

.in .watch-fill-0 { width: 2%; }
.in .watch-fill-10 { width: 10%; }
.in .watch-fill-20 { width: 20%; }
.in .watch-fill-30 { width: 30%; }
.in .watch-fill-40 { width: 40%; }
.in .watch-fill-50 { width: 50%; }
.in .watch-fill-60 { width: 60%; }
.in .watch-fill-70 { width: 70%; }
.in .watch-fill-80 { width: 80%; }
.in .watch-fill-90 { width: 90%; }
.in .watch-fill-100 { width: 100%; }

.magazine-nav { display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); }

.magazine-caption { margin-right: auto; }

.page-turn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(29, 26, 20, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}

.page-turn:hover { background: var(--paper-raised); transform: translateY(-1px); }

.page-turn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 720px) {
  .tag { font-size: 0.7rem; padding: 6px 9px; gap: 6px; }
  .tag .num { font-size: 0.85rem; }
  .tag-macros { display: none; }
  .tag-name { left: 6%; top: 20%; }
  .tag-omega { right: 5%; top: 40%; }
  .tag-d { right: 5%; top: 57%; }
  .tag-se { left: 10%; top: 80%; }
  .read-caption { display: none; }
  .page { padding-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .read .tag { opacity: 1; transform: none; animation: none; }
  .read .scan { display: none; }
}
