/* EatSense — shared site styles
   Ported from the Voice Tune landing template (flat, borderless surfaces lifted
   by soft shadows; one accent used sparingly) and re-tokened to the EatSense
   app's warm palette: cream field, white cards, coral accent, Bella peach.
   Colour values mirror AppTheme in Shared/SharedTheme.swift. */

:root {
  /* Field */
  --bg:          #FFF8F5;   /* backgroundCream */
  --bg-top:      #FFEFE6;   /* warm lift at the top of the page */

  /* Surfaces (flat, borderless) */
  --surface:     #FFFFFF;   /* cardBackground */
  --surface-hi:  #FFFBF9;
  --surface-2:   #FFF3EC;   /* sectionBackground-ish */
  --inset:       #FBEDE4;

  /* Hairlines — used rarely */
  --hairline:    rgba(45,45,45,0.06);
  --hairline-2:  rgba(45,45,45,0.10);

  /* Type colours */
  --text:        #2D2D2D;   /* textPrimary */
  --muted:       #5A5A5A;   /* textSecondary */
  --dim:         #8A8A8A;   /* textMuted */

  /* Coral accent (buttons, links, highlights) */
  --accent:      #D97B5C;
  --accent-hi:   #E08870;
  --accent-deep: #C4674A;
  --on-accent:   #FFFFFF;
  --accent-glow: rgba(217,123,92,0.30);
  --acc-08:      rgba(217,123,92,0.08);
  --acc-16:      rgba(217,123,92,0.14);
  --acc-30:      rgba(217,123,92,0.30);
  --acc-45:      rgba(217,123,92,0.45);

  /* Supporting hues from the app */
  --peach:       #FBCEB1;   /* Bella body */
  --peach-soft:  #FFE4D6;
  --lavender:    #9A85B8;
  --lavender-soft: #ECE6F4;
  --mint:        #6BA377;
  --mint-soft:   #E3F1E6;
  --gold:        #D4A855;
  --rose:        #C96B6B;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-ui:      'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Plush surface = flat fill + soft warm drop shadow (no border, no gradient) */
  --card-shadow:    0 10px 28px rgba(208,128,96,0.13);
  --card-shadow-hi: 0 16px 44px rgba(208,128,96,0.20);

  --radius:      24px;
  --radius-sm:   16px;
  --radius-pill: 14px;
  --maxw:        1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* The warm lift at the top of the field (the app's cream → peach background). */
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
  background: radial-gradient(1240px 620px at 50% -12%, var(--bg-top), transparent 72%);
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "opsz" 72;
}
h3, h4 { font-variation-settings: "SOFT" 100, "opsz" 24; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Uppercase micro-label */
.label {
  font-weight: 800; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 245, 0.82);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  color: var(--text); letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "opsz" 24;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand .sense { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: var(--on-accent) !important; font-weight: 800;
  padding: 9px 18px; border-radius: 999px; font-size: 0.88rem;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--accent-hi); transform: translateY(-1px); text-decoration: none; }
@media (max-width: 820px) { .nav-links li:not(.nav-cta-li) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 800;
  border-radius: 999px; padding: 15px 28px; font-size: 1rem;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(208,128,96,0.26), 0 0 26px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: var(--card-shadow); }
.btn-ghost:hover { background: var(--surface-hi); }
.btn svg { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 760px;
  background: radial-gradient(680px 420px at 26% 26%, var(--acc-08), transparent 66%);
  pointer-events: none;
}
.hero .container {
  position: relative; display: grid;
  grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: end;
}
.hero-copy { padding-bottom: 72px; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 0; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; padding-bottom: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.04; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 33rem; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.hero-proof { display: flex; gap: 30px; flex-wrap: wrap; color: var(--muted); font-size: 0.84rem; }
.hero-proof strong {
  color: var(--text); font-weight: 800;
  font-size: 1.02rem; display: block; letter-spacing: -0.02em;
}
.hero-proof .stars { color: var(--gold); letter-spacing: 1px; }

/* Hero device — an App Store frame cropped by CSS to the phone card, rising
   out of the bottom edge of the hero. */
.hero-media { position: relative; display: flex; justify-content: center; align-self: end; }
.device-wrap { position: relative; width: min(360px, 78vw); }
.device {
  position: relative; width: 100%; aspect-ratio: 1242 / 1760;
  overflow: hidden; border-radius: 42px 42px 0 0;
  box-shadow: 0 -4px 0 rgba(255,255,255,0.6), 0 30px 70px rgba(208,128,96,0.30);
  background: var(--peach-soft);
}
.device img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.device::after {
  content: ""; position: absolute; inset: auto 0 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none;
}
/* Callout pill + leader line (hero only; articles use .callout for tip boxes) */
.device-wrap .hero-callout {
  position: absolute; left: -84px; top: 58%; display: flex; align-items: center; z-index: 3;
}
.device-wrap .hero-callout .pill {
  background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 0.82rem; letter-spacing: -0.01em;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(217,123,92,0.35);
}
.device-wrap .hero-callout .leader {
  width: 64px; height: 2px; position: relative;
  background: linear-gradient(90deg, var(--accent), rgba(217,123,92,0.12));
}
.device-wrap .hero-callout .leader::after {
  content: ""; position: absolute; right: -4px; top: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
@media (max-width: 560px) { .device-wrap .hero-callout { left: -22px; } .device-wrap .hero-callout .leader { width: 46px; } }
@media (max-width: 420px) { .device-wrap .hero-callout { left: -10px; } .device-wrap .hero-callout .pill { font-size: 0.74rem; padding: 7px 12px; } .device-wrap .hero-callout .leader { width: 30px; } }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: rgba(217,123,92,0.035); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { max-width: 44rem; margin: 0 auto 52px; text-align: center; }
.kicker, .section-head p.kicker {
  color: var(--accent); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; margin-bottom: 14px; }
.section-head h2 .accent { color: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.04rem; }

/* ---------- Pattern before / after ---------- */
.pitch-grid { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 720px; margin: 0 auto; }
.ba-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 22px 24px 18px;
}
.ba-card .label { margin-bottom: 2px; }
.ba-card .label span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 10px; font-size: 0.82rem; }
.ba-card svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.ba-card.after { background: linear-gradient(180deg, rgba(217,123,92,0.06), rgba(217,123,92,0.02)); box-shadow: var(--card-shadow), inset 0 0 0 1px var(--acc-16); }
.ba-card.after .label { color: var(--accent); }
.ba-arrow {
  width: 40px; height: 40px; margin: 16px auto; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px var(--accent-glow);
}
.ba-note { text-align: center; color: var(--dim); font-size: 0.82rem; margin-top: 18px; }
.pitch-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }

/* Bella's speech bubble (the app's insight card) */
.bubble {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 14px;
}
.bubble img { width: 56px; height: 56px; flex-shrink: 0; }
.bubble p {
  background: var(--surface); border-radius: 18px 18px 18px 4px;
  padding: 12px 16px; font-size: 0.95rem; color: var(--text);
  box-shadow: var(--card-shadow);
}
.bubble p strong { color: var(--accent-deep); }

/* ---------- Chips ---------- */
.chip {
  padding: 9px 16px; border-radius: 999px; font-family: var(--font-ui);
  font-weight: 700; font-size: 0.82rem; letter-spacing: -0.005em;
  background: rgba(217,123,92,0.08); color: var(--muted);
}
.chip.on { background: var(--accent); color: var(--on-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }

/* ---------- Conditions ("built for") grid ---------- */
.looks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .looks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .looks-grid { grid-template-columns: 1fr; } }
.look {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 26px 22px 22px;
  display: flex; flex-direction: column; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.look:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hi); text-decoration: none; }
.look.selected {
  box-shadow: var(--card-shadow), inset 0 0 0 1px var(--acc-45);
  background: linear-gradient(180deg, rgba(217,123,92,0.07), rgba(217,123,92,0.015));
}
.look h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.look p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; flex: 1; }
.look .more { color: var(--accent-deep); font-weight: 700; font-size: 0.86rem; margin-top: 14px; }
.look .icon { color: var(--text); margin-bottom: 22px; }
.look .icon .amber { color: var(--accent); }
.studio {
  font-family: var(--font-ui); font-weight: 800;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
  padding: 3px 9px; border-radius: 999px; background: var(--acc-16);
}
.looks-rest { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 34px; }
.looks-rest a, .looks-rest span {
  background: rgba(217,123,92,0.08); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600;
}
.looks-rest a:hover { background: var(--acc-16); color: var(--text); text-decoration: none; }
.looks-rest span.more { background: none; color: var(--dim); padding-left: 4px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 26px 22px;
}
.step .num {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 24px 22px;
}
.feature .glyph {
  width: 40px; height: 40px; border-radius: 13px; margin-bottom: 15px;
  background: var(--acc-16); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature .glyph.mint { background: var(--mint-soft); color: var(--mint); }
.feature .glyph.lav { background: var(--lavender-soft); color: var(--lavender); }
.feature h3 { font-size: 1.06rem; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Screenshots (App Store frames, scroll-snap row) ---------- */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px;
  scrollbar-width: thin; scrollbar-color: var(--acc-30) transparent;
}
.shot { text-align: center; scroll-snap-align: start; }
.shot img {
  border-radius: 22px; box-shadow: 0 18px 40px rgba(208,128,96,0.22);
  transition: transform .25s ease;
}
.shot:hover img { transform: translateY(-6px); }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.shot figcaption strong { display: block; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 2px; font-variation-settings: "SOFT" 100, "opsz" 24; }
.shots-hint { text-align: center; color: var(--dim); font-size: 0.8rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
@media (max-width: 700px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; font-variation-settings: "SOFT" 100, "opsz" 24; font-weight: 600; }
.quote cite { color: var(--dim); font-style: normal; font-size: 0.84rem; }

/* ---------- Comparison table ---------- */
.compare { max-width: 860px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.compare th { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); background: var(--surface-2); }
.compare th.es { color: var(--accent-deep); }
.compare td:first-child { font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare td .yes { color: var(--mint); font-weight: 800; }
.compare td .no { color: var(--dim); }
@media (max-width: 640px) { .compare table { font-size: 0.84rem; } .compare th, .compare td { padding: 11px 12px; } }

/* ---------- About (plain-language entity block) ---------- */
.about { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 30px 32px; }
.about h2 { font-size: 1.4rem; margin-bottom: 12px; }
.about p { color: var(--muted); font-size: 0.98rem; margin-bottom: 12px; }
.about p:last-child { margin-bottom: 0; }
.about dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 0.9rem; margin-top: 16px; }
.about dt { color: var(--dim); font-weight: 700; }
.about dd { color: var(--text); }
@media (max-width: 520px) { .about dl { grid-template-columns: 1fr; gap: 2px; } .about dd { margin-bottom: 8px; } }

/* ---------- Guides / article cards ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 24px; display: flex; flex-direction: column; gap: 9px; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--card-shadow-hi), inset 0 0 0 1px var(--acc-30); }
.guide-card .tag {
  color: var(--accent-deep); font-size: 0.68rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
}
.guide-card h3 { font-size: 1.08rem; line-height: 1.3; }
.guide-card p { color: var(--muted); font-size: 0.89rem; flex: 1; }
.guide-card .more { color: var(--accent-deep); font-weight: 700; font-size: 0.88rem; }
.guide-card.with-art { padding: 0; overflow: hidden; }
.guide-card.with-art .art { background: var(--surface-2); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.guide-card.with-art .art img { height: 100%; width: auto; max-height: 100%; object-fit: contain; }
.guide-card.with-art .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card .meta { color: var(--dim); font-size: 0.78rem; font-weight: 600; }
.section-foot { text-align: center; margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq details {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 20px 24px; margin-bottom: 12px;
}
.faq details[open] { box-shadow: var(--card-shadow), inset 0 0 0 1px var(--acc-30); }
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  font-size: 1.06rem; list-style: none; position: relative; padding-right: 34px;
  font-variation-settings: "SOFT" 100, "opsz" 24;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.faq .answer a { font-weight: 700; }

/* ---------- Big CTA ---------- */
.cta-band { position: relative; text-align: center; padding: 92px 0; overflow: hidden; border-top: 1px solid var(--hairline); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 55%, var(--acc-08), transparent 72%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band img.icon { width: 84px; height: 84px; border-radius: 21px; margin: 0 auto 26px; box-shadow: 0 18px 44px rgba(208,128,96,0.3); }
.cta-band img.bella { width: 120px; height: auto; margin: 0 auto 18px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 1.05rem; max-width: 32rem; margin: 0 auto 32px; }
.cta-band .fine { font-size: 0.8rem; color: var(--dim); margin: 18px auto 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 54px 0 40px; background: rgba(217,123,92,0.04); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--dim); margin-bottom: 14px; font-weight: 800;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-about p { color: var(--muted); font-size: 0.89rem; margin-top: 12px; max-width: 24rem; }
.footer-bottom {
  border-top: 1px solid var(--hairline); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--dim); font-size: 0.82rem;
}
.disclaimer {
  max-width: 760px; margin: 0 auto 28px; text-align: center;
  color: var(--dim); font-size: 0.82rem; line-height: 1.55;
}

/* ---------- Article pages (learn / solutions) ---------- */
.article { max-width: 740px; margin: 0 auto; padding: 48px 24px 40px; }
.breadcrumbs { font-size: 0.8rem; color: var(--dim); margin-bottom: 26px; font-weight: 600; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.article .eyebrow { color: var(--accent-deep); font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.1; margin-bottom: 14px; }
.article .lede { font-size: 1.12rem; color: var(--muted); margin-bottom: 18px; }
.article .byline { display: flex; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: 0.82rem; font-weight: 600; margin-bottom: 30px; }
.article .hero-art {
  width: min(300px, 100%); margin: 0 auto 36px; border-radius: var(--radius);
  background: var(--surface-2); padding: 18px;
}
.article h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.article h3 { font-size: 1.16rem; margin: 30px 0 10px; }
.article p { margin-bottom: 16px; color: #3f3f3f; }
.article ul, .article ol { margin: 0 0 18px 22px; color: #3f3f3f; }
.article li { margin-bottom: 10px; }
.article strong { color: var(--text); }
.article blockquote {
  margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.14rem; color: var(--text); font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 24;
}
.article blockquote p { margin: 0; color: var(--text); }
.article img.inline-shot {
  width: min(290px, 100%); margin: 28px auto; border-radius: 22px;
  box-shadow: 0 18px 40px rgba(208,128,96,0.22);
}
.callout, .tip {
  background: var(--acc-08); box-shadow: inset 0 0 0 1px var(--acc-30);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; font-size: 0.95rem;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout .callout-icon { font-size: 1.4rem; line-height: 1.2; flex-shrink: 0; }
.callout p, .tip p { margin: 0; }
.tip strong { color: var(--accent-deep); }
.article-cta {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--card-shadow);
  padding: 32px; text-align: center; margin: 48px 0 12px;
}
.article-cta img { width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 16px; }
.article-cta h2 { margin: 0 0 10px; font-size: 1.4rem; }
.article-cta p { color: var(--muted); margin-bottom: 22px; }
.article-cta .fine { font-size: 0.78rem; color: var(--dim); margin: 14px 0 0; }
.related { margin-top: 44px; border-top: 1px solid var(--hairline); padding-top: 30px; }
.related h2 { margin-top: 0; font-size: 1.3rem; }
.related ul { list-style: none; margin-left: 0; }
.related li { margin-bottom: 12px; }
.related li span { color: var(--dim); font-size: 0.82rem; margin-left: 8px; }
.article .faq { margin-top: 10px; }
.article .faq h2 { margin-bottom: 18px; }
.article .faq details { padding: 18px 22px; }
.article .faq summary { font-size: 1.02rem; }
.article .medical-note {
  margin-top: 28px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--dim); font-size: 0.82rem;
}

/* ---------- Index pages (learn / solutions listings) ---------- */
.index-hero { padding: 56px 0 10px; text-align: center; }
.index-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; margin-bottom: 14px; }
.index-hero p { color: var(--muted); font-size: 1.08rem; max-width: 40rem; margin: 0 auto; }
.index-hero .breadcrumbs { text-align: left; }
.index-section { padding: 36px 0; }
.index-section h2 { font-size: 1.5rem; margin-bottom: 8px; }
.index-section .sub { color: var(--muted); margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
