/* postdoseapp.com, the app's own look (Carter 10-11: "use that look").
   Ink, white, greys, Liquid Glass, real food. No gradients of brand color,
   no cream. The type is the system face, which on an iPhone is the app's. */

:root {
  --ink: #171717;
  --ink-2: #525252;
  --muted: #8a8a8a;
  --line: #ebebeb;
  --soft: #f5f5f5;
  --canvas: #ffffff;
  --protein: #2f7bf6;
  --calories: #ef4135;
  --weight: #e9a800;
  --radius: 28px;
  --wrap: 1120px;
  --gutter: 20px;
  --shadow-card: 0 1px 2px rgba(23, 23, 23, .05), 0 12px 32px -12px rgba(23, 23, 23, .14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Nunito", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--display); margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; }
:focus-visible { outline: 2px solid var(--protein); outline-offset: 3px; border-radius: 6px; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(23, 23, 23, .04),
    0 12px 32px -10px rgba(23, 23, 23, .22);
}

/* ---------- Logo ---------- */
.mark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); }
.mark svg { height: 24px; width: auto; transform: translateY(5px); }
.mark span { font: 400 19px/1 var(--rounded); letter-spacing: -0.01em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { height: 58px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 600 17px/1 var(--font); letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -10px rgba(23, 23, 23, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(23, 23, 23, .6); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: var(--canvas); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: var(--shadow-card); }
.cta-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.badge-store img { height: 54px; width: auto; }

/* ---------- Type helpers ---------- */
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lede { text-wrap: pretty; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); }
.under { text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; }
.dot.blue { background: var(--protein); }
.dot.red { background: var(--calories); }
.dot.yellow { background: var(--weight); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); letter-spacing: -0.04em; line-height: 1.0; margin: 22px 0 22px; }
.hero .lede { max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.proof-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.proof-pill .stars { color: var(--ink); letter-spacing: 1px; font-size: 13px; }
.proof-pill b { color: var(--ink); }

.plate-stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 540px; margin: 0 auto; }
.plate-stage .plate { position: absolute; inset: 2% 4% 8% 4%; border-radius: 50%; filter: drop-shadow(0 30px 40px rgba(23, 23, 23, .16)); }
.plate-stage .plate img { width: 100%; height: 100%; object-fit: contain; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 18px; border-radius: 999px; font: 600 clamp(15px, 1.6vw, 19px)/1 var(--font); letter-spacing: -0.01em; white-space: nowrap; color: var(--ink); }
.chip.c1 { left: 0; top: 14%; }
.chip.c2 { right: -2%; top: 44%; }
.chip.c3 { left: 2%; top: 66%; }
.seal { position: absolute; left: 50%; bottom: 0; width: 26%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; display: grid; place-items: center; }
.seal svg { width: 52%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: float 6s ease-in-out infinite; }
  .chip.c2 { animation-delay: -2s; }
  .chip.c3 { animation-delay: -4s; }
  .plate-stage .plate { animation: turn 60s linear infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes turn { to { transform: rotate(360deg); } }

.laurels { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.laurel { display: flex; align-items: center; gap: 8px; }
.laurel svg { width: 26px; height: 52px; color: var(--ink); flex: none; }
.laurel svg.flip { transform: scaleX(-1); }
.laurel-body { text-align: center; line-height: 1.2; }
.laurel-body .stars { font-size: 12px; letter-spacing: 2px; }
.laurel-body b { display: block; font-size: 17px; font-weight: 600; }
.laurel-body small { display: block; font-size: 13px; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero { padding: 28px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero-actions, .laurels { justify-content: center; }
  .plate-stage { max-width: 340px; order: -1; }
  .chip { padding: 10px 14px 10px 12px; gap: 8px; font-size: 14px; }
  .chip.c2 { right: -4%; }
  .hero h1 { margin-top: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .laurels { gap: 12px; flex-wrap: nowrap; margin-top: 32px; }
  .laurel { gap: 4px; }
  .laurel svg { width: 20px; height: 42px; }
  .laurel-body b { font-size: 15px; }
  .laurel-body small { font-size: 12px; }
  .chip .dot { width: 8px; height: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.035em; margin: 14px 0 16px; }
.section-head.left { margin-left: 0; text-align: left; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Plates strip ---------- */
.plates { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.plate-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.plate-card .ph { aspect-ratio: 1; border-radius: 50%; background: var(--soft); padding: 6%; transition: transform .25s ease; }
.plate-card:hover .ph { transform: translateY(-4px) rotate(-4deg); }
.plate-card .ph img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(23, 23, 23, .14)); }
.plate-card h3 { font-size: 16px; letter-spacing: -0.01em; line-height: 1.25; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.meta-row .p { color: var(--protein); font-weight: 600; }
.meta-row .c { color: var(--calories); font-weight: 600; }
@media (max-width: 900px) {
  .plates { grid-template-columns: repeat(6, 160px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; scroll-padding-left: var(--gutter); }
  .plates::-webkit-scrollbar { display: none; }
  .plate-card { scroll-snap-align: start; }
}

/* ---------- Phones + tools ---------- */
.phones { display: flex; justify-content: center; gap: 28px; position: relative; }
.phone { width: 270px; border-radius: 44px; padding: 10px; background: #0f0f0f; box-shadow: 0 40px 70px -30px rgba(23, 23, 23, .45), inset 0 0 0 2px #2a2a2a; }
.phone img { border-radius: 35px; width: 100%; }
.phone.tilt-l { transform: rotate(-4deg) translateY(24px); }
.phone.tilt-r { transform: rotate(4deg); }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.tool { border-radius: var(--radius); padding: 26px; background: var(--canvas); border: 1px solid var(--line); }
.tool .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); margin-bottom: 18px; }
.tool .ic svg { width: 22px; height: 22px; }
.tool h3 { font-size: 20px; margin-bottom: 8px; }
.tool p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) {
  .phones .phone { width: 46%; max-width: 230px; border-radius: 34px; padding: 7px; }
  .phones .phone img { border-radius: 28px; }
  .phones { gap: 14px; }
  .tools { grid-template-columns: 1fr; margin-top: 48px; }
}

/* ---------- Proof (studies) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof { border-radius: var(--radius); padding: 30px; background: var(--canvas); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.proof .big { font: 600 clamp(30px, 3.4vw, 40px)/1.05 var(--display); letter-spacing: -0.035em; }
.proof p { color: var(--ink-2); font-size: 16px; }
.proof .src { margin-top: auto; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.proof:hover .src { color: var(--ink); }
.proof-foot { text-align: center; margin-top: 36px; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; background: var(--canvas); transition: box-shadow .2s, transform .2s; }
.acard:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.acard .ph { background: var(--soft); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.acard .ph img { width: 62%; filter: drop-shadow(0 14px 16px rgba(23, 23, 23, .16)); }
.acard .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.acard .kicker { font-size: 13px; color: var(--muted); font-weight: 500; }
.acard h3 { font-size: 21px; line-height: 1.2; }
.acard p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { border-radius: 36px; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.founder h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.035em; margin-bottom: 18px; }
.founder p { color: #d4d4d4; font-size: 18px; max-width: 560px; }
.founder .sig { margin-top: 20px; font: 400 22px/1 var(--rounded); color: #fff; }
.founder-actions { display: flex; flex-direction: column; gap: 12px; }
.founder .btn { background: #fff; color: var(--ink); box-shadow: none; }
.founder .btn-ghost { background: transparent; color: #fff; border-color: #3a3a3a; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 600 19px/1.35 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .a { padding: 0 0 26px; color: var(--ink-2); font-size: 17px; }
.faq .a p + p { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 120px 0 128px; }
.final h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; line-height: 1; margin: 0 auto 28px; max-width: 900px; }
.final .plate-mini { width: 180px; margin: 0 auto 36px; filter: drop-shadow(0 24px 30px rgba(23, 23, 23, .18)); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 600 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot .blurb { color: var(--ink-2); margin-top: 14px; max-width: 320px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Page heads ---------- */
.page-head { padding: 64px 0 40px; max-width: 760px; }
.page-head.center { margin: 0 auto; text-align: center; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.04em; line-height: 1.02; margin: 14px 0 18px; }
.crumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--ink); }

/* ---------- Article (Learn) ---------- */
.article { max-width: 720px; margin: 0 auto; padding-bottom: 40px; }
.article .page-head { padding-bottom: 28px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.byline .av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.byline .av svg { width: 20px; }
.byline b { color: var(--ink); font-weight: 600; }
.byline .sep { color: var(--line); }
.answer { border-radius: 24px; padding: 24px 26px; margin: 8px 0 36px; background: var(--soft); border: 1px solid var(--line); }
.answer .eyebrow { margin-bottom: 10px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.answer p { font-size: 18px; line-height: 1.55; color: var(--ink); }
.prose { font-size: 18px; line-height: 1.7; color: #262626; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.15; margin-top: 52px; scroll-margin-top: 90px; }
.prose h3 { font-size: 21px; letter-spacing: -0.02em; margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--muted); }
.prose a { text-decoration-color: rgba(23, 23, 23, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ink); font-size: 20px; color: var(--ink); }
.prose sup a { text-decoration: none; font-size: 12px; font-weight: 600; color: var(--protein); padding: 0 1px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--soft); }
.prose tr:last-child td { border-bottom: 0; }

/* The in-article ad (Blinkist's pattern, labeled as ours). */
.ad { margin: 44px 0; border-radius: 30px; border: 1px solid var(--line); padding: 26px; display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; background: var(--canvas); box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.ad .ad-label { position: absolute; top: 14px; right: 18px; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ad .ph { aspect-ratio: 1; border-radius: 50%; background: var(--soft); padding: 8%; }
.ad .ph img { filter: drop-shadow(0 12px 14px rgba(23, 23, 23, .16)); }
.ad h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.ad ul { list-style: none; display: grid; gap: 7px; margin-bottom: 20px; font-size: 16px; color: var(--ink-2); }
.ad li { display: flex; gap: 10px; align-items: baseline; }
.ad li .dot { transform: translateY(-1px); width: 8px; height: 8px; }
.ad .btn { height: 50px; padding: 0 22px; font-size: 16px; }
@media (max-width: 640px) { .ad { grid-template-columns: 1fr; text-align: left; } .ad .ph { width: 150px; } }

.recipe-embed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.recipe-embed .plate-card h3 { font-size: 15px; }
@media (max-width: 640px) { .recipe-embed { grid-template-columns: repeat(3, 1fr); gap: 10px; } .recipe-embed .meta-row { display: none; } }

.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 22px; margin-bottom: 16px; }
.sources ol { padding-left: 1.4em; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.sources a { color: var(--ink-2); word-break: break-word; }
.disclaimer { margin-top: 28px; font-size: 14px; color: var(--muted); }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; border-radius: 22px; padding: 10px 10px 10px 18px; display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.on { transform: none; }
.sticky-cta b { font-size: 15px; line-height: 1.25; }
.sticky-cta .btn { height: 44px; padding: 0 18px; font-size: 15px; flex: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* ---------- Learn hub ---------- */
.hub-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; margin-bottom: 28px; }
.hub-feature .ph { background: var(--soft); display: grid; place-items: center; padding: 40px; }
.hub-feature .ph img { width: 72%; filter: drop-shadow(0 20px 24px rgba(23, 23, 23, .18)); }
.hub-feature .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hub-feature h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; }
.hub-feature p { color: var(--ink-2); }
@media (max-width: 900px) { .hub-feature { grid-template-columns: 1fr; } }

/* ---------- Recipes ---------- */
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.rgroup + .rgroup { margin-top: 72px; }
.rgroup h2 { font-size: 30px; margin-bottom: 8px; }
.rgroup > p { color: var(--ink-2); margin-bottom: 28px; }
@media (max-width: 900px) { .rgrid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

.recipe-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0 24px; }
.recipe-hero .ph { aspect-ratio: 1; border-radius: 50%; background: var(--soft); padding: 7%; position: relative; }
.recipe-hero .ph img { filter: drop-shadow(0 26px 30px rgba(23, 23, 23, .18)); }
.recipe-hero .ph .chip { font-size: 15px; padding: 11px 16px 11px 13px; }
.recipe-hero h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.04em; margin: 14px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.fact { border-radius: 18px; background: var(--soft); padding: 14px 14px 12px; }
.fact b { display: block; font: 600 24px/1.1 var(--display); letter-spacing: -0.02em; }
.fact span { font-size: 13px; color: var(--ink-2); }
.fact.p b { color: var(--protein); }
.fact.c b { color: var(--calories); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.recipe-cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 40px 0 0; }
.recipe-cols h2 { font-size: 26px; margin-bottom: 18px; }
.ing { list-style: none; display: grid; }
.ing li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ing li span:last-child { color: var(--ink-2); text-align: right; }
.steps { list-style: none; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.steps .phase { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps h3 { font-size: 18px; letter-spacing: -0.015em; margin: 2px 0 4px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps .cue { margin-top: 6px; font-size: 14px; color: var(--ink); }
.note-card { margin-top: 32px; border-radius: 22px; background: var(--soft); padding: 22px 24px; }
.note-card h3 { font-size: 17px; margin-bottom: 6px; }
.note-card p, .note-card li { color: var(--ink-2); font-size: 16px; }
.note-card ul { list-style: none; display: grid; gap: 6px; }
@media (max-width: 900px) {
  .recipe-hero, .recipe-cols { grid-template-columns: 1fr; gap: 28px; }
  .recipe-hero .ph { max-width: 380px; margin: 0 auto; width: 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 96px; }
.contact-card { border-radius: 32px; border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.contact-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card.dark p { color: #d4d4d4; }
.contact-card h2 { font-size: 30px; letter-spacing: -0.03em; }
.contact-card p { color: var(--ink-2); }
.contact-card .mail { font: 600 20px/1.2 var(--display); text-decoration: none; }
.form { display: grid; gap: 12px; margin-top: 8px; }
.form label { font-size: 14px; font-weight: 500; color: #d4d4d4; }
.form input, .form textarea { width: 100%; border-radius: 16px; border: 1px solid #3a3a3a; background: #222; color: #fff; padding: 14px 16px; font: 16px/1.4 var(--font); }
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #8a8a8a; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { background: #fff; color: var(--ink); box-shadow: none; justify-self: start; }
.form .status { font-size: 15px; color: #d4d4d4; min-height: 1.4em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Creators ---------- */
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; }
.step-card .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; margin-bottom: 18px; }
.step-card h3 { font-size: 21px; margin-bottom: 8px; }
.step-card p { color: var(--ink-2); font-size: 16px; }
.big-number { font: 600 clamp(64px, 10vw, 128px)/0.9 var(--display); letter-spacing: -0.06em; }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { border-radius: 32px; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); margin: 8px 0 40px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.calc input, .calc select { width: 100%; height: 54px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); padding: 0 16px; font: 500 18px var(--font); color: var(--ink); }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23, 23, 23, .12); }
.calc-out { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: end; }
.calc-out .big { font: 600 clamp(48px, 7vw, 72px)/1 var(--display); letter-spacing: -0.05em; color: var(--protein); }
.calc-out .big small { font-size: .38em; letter-spacing: -0.01em; color: var(--ink-2); font-weight: 500; }
.calc-out p { color: var(--ink-2); font-size: 15px; }
.split { display: grid; gap: 8px; font-size: 15px; }
.split div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.split b { color: var(--protein); }
@media (max-width: 640px) { .calc-row, .calc-out { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding-bottom: 96px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 10px; }

/* ---------- Return pages ---------- */
.return { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.return h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; margin-bottom: 16px; }
.return p { color: var(--ink-2); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Legacy bodies (privacy, terms, paid, notyet) ---------- */
.page { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.04em; margin-bottom: 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal-rule { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.legal-callout { border-radius: 18px; background: var(--soft); padding: 18px 20px; margin: 20px 0; }
.legal a { color: var(--ink); }
.return-wrap { text-align: center; }
.return-line { color: var(--ink-2); font-size: 19px; margin: 0 auto 28px; }
.btn-ink { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.return-fallback, .return-note { color: var(--muted); font-size: 15px; margin-top: 18px; }

.nw { white-space: nowrap; }
