/* Content hub styles (guides, gift lists, recipes). Same tokens as the app: src/styles/base.css */
:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-2: #4f4f58;
  --ink-3: #8b8b96;
  --line: #ececf1;
  --soft: #f5f5f8;
  --cream: #fff8ef;
  --red: #e63946;
  --green: #0b6b3a;
  --yellow: #ffc83d;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Buttons (match the app: black, squishy pills) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 900; font-size: 17px; text-decoration: none; white-space: nowrap; transition: transform 0.18s var(--spring), background 0.2s; }
.btn:hover { background: #000; }
.btn:active { transform: scale(0.95); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.white { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--line) inset; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-head-in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; flex: none; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; gap: 4px; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--soft); color: var(--ink); }
@media (max-width: 760px) {
  .site-head-in { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
  .site-head .btn { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0 -4px; }
  .site-nav a { padding: 6px 10px; font-size: 14px; }
}

/* Layout */
.wrap { max-width: 760px; margin: 0 auto; padding: 18px 20px 40px; }
@media (max-width: 480px) { .wrap { padding: 14px 16px 32px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.kicker { display: inline-block; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin: 0 0 10px; }
.post-head h1 { font-size: clamp(32px, 6.4vw, 50px); line-height: 1.06; font-weight: 900; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.dek { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.45; color: var(--ink-2); font-weight: 600; margin: 14px 0 0; text-wrap: pretty; }
.byline { font-size: 14px; color: var(--ink-3); font-weight: 700; margin: 16px 0 0; }
.byline a { color: var(--ink-2); }
.landing-head { text-align: center; padding: 18px 0 6px; }
.landing-head h1 { font-size: clamp(36px, 7.4vw, 60px); }
.landing-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
.landing-cta span { font-size: 14px; color: var(--ink-3); font-weight: 800; }
.landing-hero { margin: 28px -20px 8px; }
.landing-hero img { width: 100%; border-radius: var(--r-lg); display: block; }
@media (min-width: 800px) { .landing-hero { margin: 32px -60px 8px; } }

/* Answer / takeaways / TOC boxes */
.answer, .takeaways, .toc { border-radius: var(--r-md); padding: 18px 20px; margin: 26px 0 0; }
.answer { background: var(--cream); box-shadow: 0 0 0 2px #f6e6cf inset; }
.answer p:last-child { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 600; }
.answer a { font-weight: 800; }
.takeaways { background: var(--soft); }
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin: 6px 0; font-size: 17px; line-height: 1.5; font-weight: 600; }
.toc { box-shadow: 0 0 0 2px var(--line) inset; }
.toc ol { margin: 0; padding-left: 22px; columns: 2 260px; column-gap: 28px; }
.toc li { margin: 4px 0; font-weight: 700; font-size: 15px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.answer-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-3); margin: 0 0 8px; }

/* Prose */
.prose { font-size: 18.5px; line-height: 1.7; color: #26262c; margin-top: 8px; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 1em 0 0; text-wrap: pretty; }
.prose h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.15; font-weight: 900; letter-spacing: -0.02em; margin: 1.9em 0 0.2em; color: var(--ink); text-wrap: balance; }
.prose h3 { font-size: 21px; line-height: 1.25; font-weight: 900; margin: 1.5em 0 0.1em; color: var(--ink); }
.prose a { color: var(--ink); font-weight: 800; text-decoration-color: rgba(230, 57, 70, 0.55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--red); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1em 0 0; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--red); font-weight: 900; }
.prose strong { font-weight: 900; color: var(--ink); }
.prose blockquote { position: relative; margin: 1.4em 0; padding: 0 0 0 34px; font-family: "Caveat", cursive; font-size: 27px; line-height: 1.3; color: var(--ink); }
.prose blockquote::before { content: "\201C"; position: absolute; left: 0; top: -6px; font-family: Georgia, serif; font-size: 52px; line-height: 1; color: var(--red); }
.prose blockquote p { margin: 0.3em 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: var(--r-sm); box-shadow: 0 0 0 2px var(--line) inset; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.45; min-width: 520px; }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.prose tr:last-child td { border-bottom: 0; }

/* Picks (ranked lists) */
.pick { margin: 1.2em 0 0; padding: 18px 20px 20px; border-radius: var(--r-md); box-shadow: 0 0 0 2px var(--line) inset; }
.pick h3 { margin: 0; font-size: 21px; }
.pick-meta, .prose .pick-meta { margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-weight: 800; color: var(--ink-3); }
.pick p:not(.pick-meta) { margin-top: 0.6em; }
.callout { padding: 16px 20px; border-radius: var(--r-md); background: #eef8f2; box-shadow: 0 0 0 2px #d4eedd inset; }
.callout p { margin: 0; font-size: 17px; }

/* CTA */
.cta { display: flex; gap: 20px; align-items: center; margin: 2em 0; padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.cta img { width: 96px; height: 96px; flex: none; }
.cta .cta-h { font-size: 23px; line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; margin: 0; color: #fff; }
.cta p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); font-weight: 600; }
.cta .btn { margin-top: 16px; background: #fff; color: var(--ink); }
.cta.cta-alt { background: #b3202a; }
.prose .cta a { text-decoration: none; }
@media (max-width: 560px) { .cta { flex-direction: column; text-align: center; padding: 22px 18px; } .cta img { width: 84px; height: 84px; } }

/* Recipe card */
.recipe { margin: 2.2em 0 0; padding: 22px 22px 24px; border-radius: var(--r-lg); background: var(--cream); box-shadow: 0 0 0 2px #f6e6cf inset; }
.prose .recipe h2 { margin-top: 0; font-size: 26px; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; }
.recipe-facts div { background: #fff; border-radius: var(--r-sm); padding: 8px 14px; }
.recipe-facts dt { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.recipe-facts dd { margin: 0; font-weight: 900; font-size: 16px; }
.recipe-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 26px; margin-top: 6px; }
@media (max-width: 680px) { .recipe-cols { grid-template-columns: 1fr; gap: 0; } }
.ingredients { font-size: 17px; }
.ing-group { font-weight: 900; margin: 1em 0 0 !important; }
.steps li { margin: 0.7em 0; }
.recipe-note { font-size: 16px; color: var(--ink-2); }

/* FAQ, sources, disclosure */
.faq, .sources, .hub-list { margin-top: 2.6em; }
.faq h2, .sources h2, .hub-list h2, .related h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 6px; }
.hub-list h2 a { text-decoration: none; }
.qa { padding: 16px 0; border-bottom: 2px solid var(--line); }
.qa h3 { font-size: 19px; font-weight: 900; margin: 0; line-height: 1.3; }
.qa p { margin: 8px 0 0; font-size: 17px; line-height: 1.6; color: #2c2c33; }
.qa a { font-weight: 800; }
.sources ul { padding-left: 20px; margin: 8px 0 0; }
.sources li { margin: 6px 0; font-size: 16px; font-weight: 700; }
.sources a { color: var(--ink-2); }
.disclosure { margin-top: 28px; font-size: 14px; line-height: 1.5; color: var(--ink-3); font-weight: 600; }

/* Cards */
.related { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: 14px; }
.card-link { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r-md); box-shadow: 0 0 0 2px var(--line) inset; text-decoration: none; transition: transform 0.18s var(--spring), box-shadow 0.2s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink) inset; }
.card-link .kicker { margin: 0; font-size: 11px; }
.card-link b { font-size: 17px; line-height: 1.25; font-weight: 900; }
.card-link span:last-child { font-size: 14px; line-height: 1.45; color: var(--ink-2); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.is-hub .wrap { max-width: 980px; }
.is-hub .post, .is-hub .prose { max-width: 760px; }

/* Footer */
.site-foot { background: var(--soft); margin-top: 56px; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-brand p { font-size: 15px; line-height: 1.55; color: var(--ink-2); font-weight: 600; margin: 12px 0 16px; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 2px; }
.foot-col a { font-size: 15px; font-weight: 700; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { max-width: 1120px; margin: 0 auto; padding: 18px 20px 32px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; color: var(--ink-3); border-top: 1px solid #e4e4ea; }
.foot-legal a { color: var(--ink-3); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-in { grid-template-columns: 1fr; } }

@media print { .site-head, .site-foot, .cta, .related, .toc { display: none; } }
