/* Mounjaro Info. ASCII only. */
/* Fonts: Newsreader and Hanken Grotesk, both SIL Open Font License, self-hosted */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --ink: #191919;
  --ink-2: #333333;
  --ink-3: #545454;
  --ink-4: #757575;
  --stone-100: #0f1b21;
  --stone-090: #1e2a30;
  --stone-080: #303b42;
  --stone-070: #465158;
  --stone-050: #818c94;
  --stone-040: #a5b1b9;
  --stone-020: #d8e4ec;
  --stone-010: #ebf2f7;
  --stone-005: #f3f7fa;
  --red: #d31710;
  --red-2: #9f180f;
  --red-3: #6e1911;
  --blush: #fbf5f4;
  --blush-2: #f9eeed;
  --teal: #00758a;
  --teal-2: #0a5969;
  --teal-soft: #e5f3f9;
  --teal-020: #c3e9f6;
  --green: #007a55;
  --green-soft: #e7f4ea;
  --green-line: #beeed3;
  --amber: #a15c00;
  --amber-soft: #fff6e5;
  --amber-line: #f2d49b;
  --red-soft: #fdf0ef;
  --red-line: #f3c2bd;
  --line: #dde3e8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --wide: 1360px;
  --measure: 68ch;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 720px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.45em; color: inherit; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem); line-height: 1.15; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 700; }
small { font-size: 0.85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--pill); z-index: 200; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; font-weight: 500; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1; padding: 16px 26px; border-radius: var(--pill); text-decoration: none; border: 0; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); white-space: nowrap; }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-2); color: #fff; }
.pill-glass { background: rgba(255, 255, 255, 0.12); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.pill-glass:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.pill-light { background: var(--stone-010); color: var(--ink); }
.pill-light:hover { background: var(--stone-020); color: var(--ink); }
.pill-ink { background: var(--ink); color: #fff; }
.pill-ink:hover { background: var(--stone-080); color: #fff; }
.pill-arrow { width: 16px; height: 16px; flex: 0 0 auto; }
.more-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: inherit; }
.more-link .ic { width: 34px; height: 34px; border-radius: var(--pill); background: var(--stone-010); display: inline-grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.more-link .ic svg { width: 14px; height: 14px; }
.more-link:hover .ic { transform: translateX(4px); background: var(--red); color: #fff; }
.on-dark .more-link .ic { background: rgba(255, 255, 255, 0.12); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease); color: #fff; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.page-light-top .site-header { color: var(--ink); }
.header-bar { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 40px; height: 26px; flex: 0 0 auto; }
.brand-name { font-family: var(--body); font-weight: 700; font-size: 0.86rem; line-height: 1; letter-spacing: 0.02em; text-transform: none; display: grid; gap: 3px; }
.brand-name span { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { display: none; color: inherit; text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 12px 18px; border-radius: var(--pill); transition: background 0.25s var(--ease); }
.header-link:hover { background: rgba(127, 127, 127, 0.14); color: inherit; }
@media (min-width: 900px) { .header-link { display: inline-block; } }
.menu-btn { width: 74px; height: 44px; border-radius: var(--pill); background: var(--red); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.25s var(--ease); }
.menu-btn:hover { background: var(--red-2); }
.menu-btn-lines { width: 22px; height: 10px; position: relative; display: block; }
.menu-btn-lines::before, .menu-btn-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-btn-lines::before { top: 0; }
.menu-btn-lines::after { top: 8px; }
.menu-open .menu-btn-lines::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn-lines::after { top: 4px; transform: rotate(-45deg); }

/* full screen menu */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--stone-100); color: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.menu::before { content: ""; position: absolute; right: -20vmax; top: -30vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle at 30% 70%, rgba(211, 23, 16, 0.22), transparent 60%); pointer-events: none; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-inner { position: relative; max-width: var(--wide); margin: 0 auto; padding: 110px var(--gutter) 60px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .menu-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 72px; padding-top: 140px; } }
.menu-primary { list-style: none; margin: 0; padding: 0; }
.menu-primary li { margin: 0; border-bottom: 1px solid var(--line-dark); }
.menu-primary a, .menu-primary button { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; color: #fff; font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.1; padding: 16px 0; text-decoration: none; cursor: pointer; text-align: left; transform: translateY(16px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.2s; }
.menu-open .menu-primary a, .menu-open .menu-primary button { transform: none; opacity: 1; }
.menu-primary li:nth-child(2) a, .menu-primary li:nth-child(2) button { transition-delay: 0.04s; }
.menu-primary li:nth-child(3) a, .menu-primary li:nth-child(3) button { transition-delay: 0.08s; }
.menu-primary li:nth-child(4) a, .menu-primary li:nth-child(4) button { transition-delay: 0.12s; }
.menu-primary li:nth-child(5) a, .menu-primary li:nth-child(5) button { transition-delay: 0.16s; }
.menu-primary a:hover, .menu-primary button:hover, .menu-primary [aria-selected="true"] { color: #f5a29e; }
.menu-primary .count { font-family: var(--body); font-size: 0.9rem; color: var(--stone-040); letter-spacing: 0; }
.menu-panels { min-width: 0; }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: menuFade 0.45s var(--ease); }
@keyframes menuFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-panel-title { font-family: var(--display); font-size: 1.6rem; margin: 0 0 18px; color: #fff; }
.menu-cols { display: grid; gap: 26px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .menu-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .menu-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.menu-group-title { font-weight: 600; color: var(--stone-040); font-size: 0.88rem; margin: 0 0 8px; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li { margin: 0; }
.menu-group a { display: block; color: #fff; text-decoration: none; padding: 5px 0; font-size: 0.98rem; opacity: 0.86; }
.menu-group a:hover { opacity: 1; color: #f5a29e; }
.menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* floating help pill */
.help-fab { position: fixed; right: 16px; bottom: 16px; z-index: 70; }
@media (min-width: 720px) { .help-fab { right: 28px; bottom: 28px; } }
.help-fab-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--pill); border: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px -12px rgba(15, 27, 33, 0.45), inset 0 0 0 1px rgba(15, 27, 33, 0.08); }
.help-fab-dots { width: 12px; height: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.help-fab-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); display: block; }
.help-fab-dots i:nth-child(2), .help-fab-dots i:nth-child(3) { background: var(--stone-040); }
.help-fab-card { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(360px, calc(100vw - 32px)); background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 24px 60px -20px rgba(15, 27, 33, 0.5); display: none; }
.help-fab.is-open .help-fab-card { display: block; animation: menuFade 0.35s var(--ease); }
.help-fab-card h2 { font-size: 1.6rem; margin: 0 0 10px; }
.help-fab-card ul { list-style: none; margin: 0 0 12px; padding: 0; }
.help-fab-card li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; font-size: 0.95rem; }
.help-fab-card li strong { display: block; }
.help-fab-card .lvl-red strong { color: var(--red); }
.help-fab-card .lvl-amber strong { color: var(--amber); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden; background: linear-gradient(180deg, #0a1419 0%, var(--stone-100) 10%, var(--stone-080) 38%, var(--stone-050) 58%, var(--stone-020) 80%, var(--stone-005) 100%); isolation: isolate; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.hero-orb-a { width: 120vmax; height: 120vmax; right: -78vmax; top: -40vmax; background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%); box-shadow: inset 30px 0 60px -30px rgba(0, 0, 0, 0.6), -2px 0 0 rgba(255, 255, 255, 0.18); }
.hero-orb-b { width: 90vmax; height: 90vmax; right: -60vmax; bottom: -66vmax; background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%); box-shadow: -3px -3px 0 rgba(255, 255, 255, 0.85), inset 20px 20px 60px -20px rgba(255, 255, 255, 0.6); }
.hero-orb-c { width: 28vmax; height: 28vmax; left: -10vmax; bottom: 6vh; background: radial-gradient(circle at 70% 30%, rgba(211, 23, 16, 0.28), rgba(211, 23, 16, 0) 65%); filter: blur(6px); }
.hero-inner { max-width: var(--wide); margin: 0 auto; padding: 150px var(--gutter) 120px; min-height: inherit; display: grid; grid-template-rows: auto 1fr auto; gap: 30px; }
.hero h1 { max-width: 13ch; color: #fff; }
.hero-sub { max-width: 46ch; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); font-weight: 500; color: rgba(235, 242, 247, 0.9); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-bottom { display: grid; gap: 20px; align-items: end; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-bottom { grid-template-columns: auto minmax(0, 460px); justify-content: space-between; } }
.scroll-btn { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; transition: transform 0.3s var(--ease); }
.scroll-btn:hover { transform: translateY(4px); color: var(--ink); }
.scroll-btn svg { width: 18px; height: 18px; }
.glass-card { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-radius: var(--radius); padding: 22px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 30px 60px -30px rgba(15, 27, 33, 0.35); }

/* symptom search */
.symptom-search label { display: block; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.15; }
.symptom-search input { width: 100%; font: inherit; font-size: 1.05rem; padding: 16px 20px; border: 0; border-radius: var(--pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.symptom-search input:focus { box-shadow: inset 0 0 0 2px var(--teal); outline: none; }
.symptom-help { font-size: 0.86rem; color: var(--ink-3); margin: 8px 4px 0; }
.symptom-results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: 300px; overflow-y: auto; }
.symptom-results:empty { display: none; }
.symptom-results li { margin: 0; }
.symptom-results a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.symptom-results a:hover { background: var(--stone-010); }
.symptom-results .sr-group { color: var(--ink-4); font-size: 0.82rem; font-weight: 500; white-space: nowrap; }
.symptom-results .sr-none { padding: 10px 14px; color: var(--ink-3); background: var(--white); border-radius: var(--radius-sm); }
.sr-level { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 10px; vertical-align: 1px; }
.sr-level.red { background: var(--red); } .sr-level.amber { background: var(--amber); } .sr-level.green { background: var(--green); }

/* ---------- home sections ---------- */
.sec { position: relative; }
.sec-pad { padding: clamp(80px, 9vw, 150px) 0; }
.sec-dark { background: var(--stone-100); color: #fff; }
.sec-dark-2 { background: var(--stone-090); color: #fff; }
.sec-blush { background: var(--blush); }
.sec-stone { background: var(--stone-005); }
.sec-fade { background: linear-gradient(180deg, var(--stone-010) 0%, var(--stone-005) 35%, var(--white) 60%); }
.sec-dark a:not(.pill), .sec-dark-2 a:not(.pill) { color: #fff; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; } }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { margin: 0; max-width: 44ch; font-weight: 500; color: var(--ink-3); }
.sec-dark .sec-head p, .sec-dark-2 .sec-head p { color: rgba(255, 255, 255, 0.6); }

.stats { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .stat { border-bottom: 0; border-right: 1px solid var(--line-dark); padding-left: 24px; } .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; } }
.stat-value { font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; display: block; margin-bottom: 10px; }
.stat-label { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }

.paths { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(48px, 6vw, 90px); }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.path { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-dark); color: #fff; text-decoration: none; overflow: hidden; transition: background 0.35s var(--ease); }
.path:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }
.path::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 65%); box-shadow: -1px -1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.6s var(--ease); }
.path:hover::after { transform: scale(1.1) translate(-10px, -10px); }
.path-safety::after { background: radial-gradient(circle at 35% 35%, rgba(211, 23, 16, 0.55), rgba(211, 23, 16, 0) 65%); }
.path-title { font-family: var(--display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 12px; display: block; }
.path-desc { display: block; color: rgba(255, 255, 255, 0.66); max-width: 32ch; }
.path .more-link { margin-top: auto; padding-top: 30px; }

.know { padding: clamp(80px, 9vw, 150px) 0 clamp(60px, 7vw, 110px); }
.know-big { font-family: var(--display); font-size: clamp(4.4rem, 2rem + 11vw, 12rem); line-height: 0.92; letter-spacing: -0.05em; margin: 0 0 clamp(30px, 4vw, 60px); color: var(--stone-100); }
.know-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .know-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; } }
.know-intro { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--stone-090); }
.row-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row-list li { margin: 0; border-bottom: 1px solid var(--line); }
.row-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 26px 0; text-decoration: none; color: var(--ink); }
.row-title { font-family: var(--display); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; transition: color 0.2s; }
.row-desc { grid-column: 1; color: var(--ink-3); font-size: 0.98rem; max-width: 60ch; }
.row-list .ic { grid-row: 1 / span 2; grid-column: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--stone-010); display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.row-list .ic svg { width: 16px; height: 16px; }
.row-list a:hover .row-title { color: var(--red); }
.row-list a:hover .ic { background: var(--red); color: #fff; transform: translateX(4px); }

.pillars { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pillars { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } .pillars-head { position: sticky; top: 120px; align-self: start; } }
.pillars-head h2 { max-width: 12ch; }
.pillars-head p { max-width: 40ch; color: var(--ink-3); font-weight: 500; }
.pillar { padding: 30px 0; border-top: 1px solid var(--line); display: grid; gap: 10px 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pillar { grid-template-columns: 210px minmax(0, 1fr); } }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar h3 { margin: 0; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.8rem); }
.pillar p { margin: 0; color: var(--ink-3); }

/* dose explorer (tabs) */
.doses { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .doses { grid-template-columns: 340px minmax(0, 1fr); gap: 60px; } }
.dose-tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.dose-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .dose-tabs { flex-direction: column; gap: 0; border-top: 1px solid var(--line-dark); } }
.dose-tabs li { margin: 0; flex: 0 0 auto; }
.dose-tab { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; background: rgba(255, 255, 255, 0.06); border: 0; color: rgba(255, 255, 255, 0.6); font: inherit; cursor: pointer; padding: 12px 18px; border-radius: var(--pill); text-align: left; transition: color 0.2s, background 0.2s; }
@media (min-width: 1000px) { .dose-tab { background: none; border-radius: 0; padding: 20px 0; border-bottom: 1px solid var(--line-dark); } }
.dose-tab-mg { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; color: inherit; }
.dose-tab-step { font-size: 0.86rem; white-space: nowrap; }
.dose-tab:hover { color: #fff; }
.dose-tab[aria-selected="true"] { color: #fff; background: var(--red); }
@media (min-width: 1000px) { .dose-tab[aria-selected="true"] { background: none; } .dose-tab[aria-selected="true"] .dose-tab-mg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 14px; vertical-align: middle; } }
.dose-panel { display: none; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-dark); padding: clamp(24px, 3vw, 44px); }
.dose-panel.is-active { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); animation: menuFade 0.45s var(--ease); }
@media (min-width: 800px) { .dose-panel.is-active { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.dose-panel h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem); margin: 0 0 14px; }
.dose-panel p { color: rgba(255, 255, 255, 0.72); }
.dose-figure { border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.dose-figure-price { font-family: var(--display); font-size: clamp(3rem, 2.4rem + 2vw, 4.4rem); letter-spacing: -0.04em; line-height: 1; }
.dose-figure-label { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }
.dose-figure dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.92rem; }
.dose-figure dt { color: rgba(255, 255, 255, 0.55); }
.dose-figure dd { margin: 0; text-align: right; font-weight: 600; }
.dose-figure .pill { margin-top: 18px; align-self: flex-start; }

/* body-system rows (pipeline style) */
.system-list { border-top: 1px solid var(--line); }
.system { display: grid; gap: 14px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .system { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto; } }
.system h3 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); }
.system-meta { display: block; font-family: var(--body); font-size: 0.86rem; color: var(--ink-4); letter-spacing: 0; margin-top: 8px; }
.system-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.system-links li { margin: 0; }
.system-links a { display: inline-block; padding: 9px 16px; border-radius: var(--pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500; transition: box-shadow 0.2s, color 0.2s; }
.system-links a:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.system-links a.is-red { box-shadow: inset 0 0 0 1px var(--red-line); background: var(--red-soft); }

/* insight cards */
.insights { display: grid; gap: 18px; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
@media (min-width: 720px) { .insights { grid-auto-columns: minmax(300px, 44%); } }
@media (min-width: 1100px) { .insights { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }
.insight { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 320px; padding: 28px; border-radius: var(--radius); background: var(--stone-005); text-decoration: none; color: var(--ink); transition: background 0.3s var(--ease); }
.insight:hover { background: var(--stone-010); color: var(--ink); }
.insight-date { font-size: 0.88rem; color: var(--ink-4); font-weight: 500; letter-spacing: 0.04em; }
.insight-group { font-size: 0.88rem; color: var(--teal); font-weight: 600; margin-top: 4px; }
.insight-title { font-family: var(--display); font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.15; margin: 22px 0 14px; display: block; }
.insight-desc { color: var(--ink-3); font-size: 0.95rem; }
.insight .more-link { margin-top: auto; padding-top: 22px; }

/* help levels */
.levels { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.level { border-radius: var(--radius); padding: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.level h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.8rem); margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.level h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.level-red h3::before { background: var(--red); }
.level-amber h3::before { background: var(--amber); }
.level-green h3::before { background: var(--green); }
.level p { margin: 0; color: var(--ink-3); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--stone-100); color: #fff; padding: clamp(100px, 12vw, 190px) 0; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 80vmax; height: 80vmax; left: 50%; top: 105%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(211, 23, 16, 0.42), rgba(211, 23, 16, 0) 60%); box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.16); }
.cta h2 { max-width: 15ch; margin: 0 auto 20px; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); line-height: 1.02; }
.cta p { max-width: 50ch; margin: 0 auto 34px; color: rgba(255, 255, 255, 0.66); font-weight: 500; }

/* ---------- inner page heroes ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #0a1419 0%, var(--stone-100) 22%, var(--stone-080) 100%); isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -48vmax; top: -16vmax; border-radius: 50%; background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%); box-shadow: inset 24px 0 50px -24px rgba(0, 0, 0, 0.55), -2px 0 0 rgba(255, 255, 255, 0.16); }
.page-hero-red::after { background: radial-gradient(circle at 30% 50%, rgba(211, 23, 16, 0.32), rgba(211, 23, 16, 0) 55%); }
.page-hero-inner { max-width: var(--wide); margin: 0 auto; padding: 136px var(--gutter) clamp(54px, 6vw, 90px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem); color: #fff; }
.page-hero-sum { max-width: 62ch; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); font-weight: 500; color: rgba(235, 242, 247, 0.86); }
.page-hero .kicker { color: #f5a29e; font-weight: 600; font-size: 0.95rem; margin: 0 0 14px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 0.86rem; color: rgba(255, 255, 255, 0.86); }
.page-meta a { color: #fff; }
.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.urgency { display: inline-flex; align-items: center; gap: 8px; }
.urgency::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.urgency-red::before { background: #ff6b63; }
.urgency-amber::before { background: #f2b44c; }
.urgency-green::before { background: #4fd39a; }

/* ---------- article ---------- */
.article-layout { max-width: var(--wide); margin: 0 auto; padding: 44px var(--gutter) 70px; display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1040px) { .article-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 80px; padding-top: 70px; } .article-rail { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; } }
.article-body { max-width: var(--measure); font-size: 1.08rem; }
.article-body > p:first-of-type { font-size: 1.18rem; font-weight: 500; color: var(--ink-2); }
.article-body h2 { font-size: clamp(1.8rem, 1.45rem + 1.3vw, 2.6rem); margin-top: 1.7em; scroll-margin-top: 100px; }
.article-body h3 { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.6rem); margin-top: 1.5em; scroll-margin-top: 100px; }
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--blush); border-radius: var(--radius-sm); }
.toc { border-radius: var(--radius); background: var(--stone-005); padding: 22px 22px 14px; }
.toc-title { font-family: var(--display); font-size: 1.3rem; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; font-size: 0.94rem; }
.toc li { margin: 0; border-top: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-3); line-height: 1.35; }
.toc a:hover, .toc a.is-current { color: var(--red); }
.rail-help { margin-top: 14px; border-radius: var(--radius); padding: 20px 22px; background: var(--blush); font-size: 0.94rem; }
.rail-help-red { background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red-line); }
.rail-help-title { font-family: var(--display); font-size: 1.3rem; margin: 0 0 6px; }
.rail-help p { margin: 0 0 10px; color: var(--ink-2); }
.rail-help a { font-weight: 700; color: var(--red-2); }
.key-facts { border-radius: var(--radius); background: var(--stone-005); padding: 24px 26px 12px; margin: 0 0 2em; }
.key-facts-title { font-family: var(--display); font-size: 1.4rem; margin: 0 0 10px; }
.key-facts ul { margin: 0 0 0.8em; padding-left: 0; list-style: none; }
.key-facts li { position: relative; padding-left: 22px; }
.key-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.96rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--stone-005); font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
caption { caption-side: bottom; text-align: left; padding: 10px 16px; color: var(--ink-3); font-size: 0.88rem; }
.faq { margin-top: 2.4em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.25; padding: 20px 56px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--stone-010); display: grid; place-items: center; font-family: var(--body); font-size: 1.3rem; transition: background 0.2s, color 0.2s, transform 0.3s var(--ease); }
.faq details[open] summary::after { content: "-"; background: var(--red); color: #fff; }
.faq-answer { padding: 0 0 20px; color: var(--ink-3); }
.sources { margin-top: 2.4em; }
.sources ol { padding-left: 1.3em; font-size: 0.95rem; }
.sources-note { font-size: 0.92rem; color: var(--ink-3); }
.ai-summary details { margin-top: 1.8em; border-radius: var(--radius-sm); padding: 14px 18px; background: var(--stone-005); font-size: 0.92rem; color: var(--ink-3); }
.ai-summary summary { cursor: pointer; font-weight: 700; }
.ai-summary-body { padding-top: 10px; }
.related { background: var(--stone-005); }
.related-inner { max-width: var(--wide); margin: 0 auto; padding: clamp(50px, 6vw, 90px) var(--gutter); display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .related-inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.related h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); margin: 0 0 16px; }

/* ---------- hubs ---------- */
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.hub-jump li { margin: 0; }
.hub-jump a { display: inline-block; padding: 10px 18px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-dark); color: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.hub-jump a:hover { background: rgba(255, 255, 255, 0.18); }
.hub-group { padding: clamp(50px, 6vw, 90px) 0; border-bottom: 1px solid var(--line); }
.hub-group:nth-of-type(even) { background: var(--stone-005); }
.hub-group-head { display: grid; gap: 10px 40px; grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
@media (min-width: 900px) { .hub-group-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.hub-group h2 { margin: 0; scroll-margin-top: 100px; }
.hub-group-lead { color: var(--ink-3); max-width: 60ch; margin: 0; }
.hub-group-count { color: var(--ink-4); font-size: 0.92rem; }
.hub-group-urgent { background: var(--red-soft) !important; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-item { margin: 0; }
.card-item a { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 220px; padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow 0.25s var(--ease), transform 0.35s var(--ease); }
.card-item a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.card-title { font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
.card-desc { color: var(--ink-3); font-size: 0.94rem; line-height: 1.5; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.card-urgency { font-size: 0.84rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card-urgency::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.card-urgency.urgency-red { color: var(--red); } .card-urgency.urgency-red::before { background: var(--red); }
.card-urgency.urgency-amber { color: var(--amber); } .card-urgency.urgency-amber::before { background: var(--amber); }
.card-urgency.urgency-green { color: var(--green); } .card-urgency.urgency-green::before { background: var(--green); }
.card-arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--stone-010); display: grid; place-items: center; margin-left: auto; transition: background 0.25s, color 0.25s, transform 0.3s var(--ease); }
.card-arrow svg { width: 14px; height: 14px; }
.card-item a:hover .card-arrow { background: var(--red); color: #fff; transform: translateX(3px); }
.hub-search { margin-top: 30px; max-width: 640px; }
.hub-search label { color: #fff; }
.hub-search .symptom-help { color: rgba(255, 255, 255, 0.6); }
.help-strip { padding: clamp(40px, 5vw, 70px) 0; background: var(--blush); }

/* ---------- prices ---------- */
.prices-facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .prices-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prices-facts li { margin: 0; padding: 20px 16px 18px 0; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .prices-facts li { border-bottom: 0; border-right: 1px solid var(--line-dark); padding-left: 20px; } .prices-facts li:first-child { padding-left: 0; } .prices-facts li:last-child { border-right: 0; } }
.prices-facts span { display: block; font-family: var(--display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3.2rem); letter-spacing: -0.04em; color: #fff; line-height: 1; margin-bottom: 8px; }
.prices-wrap { max-width: var(--wide); margin: 0 auto; padding: clamp(40px, 5vw, 80px) var(--gutter); }
.prices-section { margin-top: clamp(60px, 7vw, 110px); }
.prices-section:first-child { margin-top: 0; }
.prices-section h2 { scroll-margin-top: 100px; }
.prices-text { max-width: var(--measure); }
.prices-section-note { color: var(--ink-3); font-size: 0.97rem; max-width: 70ch; }
.ladder { border-radius: var(--radius); background: var(--stone-005); padding: clamp(18px, 2.4vw, 34px); }
.ladder-title { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); letter-spacing: -0.03em; margin: 0 0 14px; }
.ladder-list { list-style: none; margin: 0; padding: 0; }
.ladder-row { display: grid; gap: 6px 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); grid-template-columns: 110px minmax(0, 1fr); grid-template-areas: "dose price" "bar bar" "stats stats"; margin: 0; }
.ladder-row.is-active .ladder-mg { color: var(--red); }
.ladder-dose { grid-area: dose; text-decoration: none; color: var(--ink); line-height: 1.05; }
.ladder-mg { display: block; font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; }
.ladder-step { display: block; font-size: 0.78rem; color: var(--ink-4); margin-top: 3px; }
.ladder-bar { grid-area: bar; height: 8px; background: var(--stone-020); border-radius: var(--pill); overflow: hidden; }
.ladder-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--stone-090), var(--red)); border-radius: var(--pill); }
.ladder-price { grid-area: price; text-align: right; line-height: 1.1; }
.ladder-cheapest { display: block; font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink); }
.ladder-at { display: block; font-size: 0.82rem; color: var(--ink-3); }
.ladder-stats { grid-area: stats; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.84rem; color: var(--ink-4); }
@media (min-width: 900px) { .ladder-row { grid-template-columns: 170px minmax(0, 1fr) 220px 320px; grid-template-areas: "dose bar price stats"; } .ladder-price { text-align: left; } .ladder-stats { justify-content: flex-end; } }
.ladder-note { font-size: 0.86rem; color: var(--ink-4); margin: 14px 0 0; }
.prices-controls { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.prices-controls h2 { flex: 1 1 100%; margin: 0; }
.dose-switch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dose-switch-label { font-size: 0.9rem; color: var(--ink-3); margin-right: 6px; }
.dose-btn { font: inherit; font-weight: 600; padding: 11px 18px; border: 0; background: var(--stone-010); border-radius: var(--pill); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s; }
.dose-btn:hover { background: var(--stone-020); }
.dose-btn.is-active { background: var(--ink); color: #fff; }
.prices-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.prices-filter span { display: block; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 6px; }
.prices-filter input { font: inherit; padding: 12px 18px; border: 0; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); min-width: 220px; }
.btn-fullscreen, .btn-more { font: inherit; font-weight: 600; padding: 12px 22px; border: 0; background: var(--ink); border-radius: var(--pill); color: #fff; cursor: pointer; }
.btn-fullscreen:hover, .btn-more:hover { background: var(--stone-080); }
.btn-more { margin-top: 18px; }

/* full-width pharmacy price cards */
.ph-grid { display: grid; gap: 14px; }
.ph-card { border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 2vw, 28px); display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); transition: box-shadow 0.25s; }
.ph-card:hover { box-shadow: inset 0 0 0 1px var(--stone-050); }
.ph-card.is-hidden { display: none; }
.ph-card.is-top { background: var(--stone-100); color: #fff; box-shadow: none; }
.ph-card.is-top .ph-dose { background: rgba(255, 255, 255, 0.07); }
.ph-card.is-top .ph-dose-mg, .ph-card.is-top .ph-dose-rank, .ph-card.is-top .ph-foot, .ph-card.is-top .ph-rank-l { color: rgba(255, 255, 255, 0.62); }
.ph-card.is-top .ph-foot a { color: #fff; }
.ph-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.ph-name { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; }
.ph-rank { margin: 0; text-align: right; line-height: 1.05; white-space: nowrap; }
.ph-rank-n { font-family: var(--display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.6rem); letter-spacing: -0.03em; display: block; }
.ph-rank-l { font-size: 0.8rem; color: var(--ink-4); }
.ph-doses { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 760px) { .ph-doses { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ph-dose { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--stone-005); line-height: 1.15; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.2s, background 0.2s; }
.ph-dose.is-active { box-shadow: inset 0 0 0 2px var(--red); }
.ph-dose.is-cheapest .ph-dose-price { color: var(--green); }
.ph-card.is-top .ph-dose.is-cheapest .ph-dose-price { color: #6fe3b3; }
.ph-dose-mg { display: block; font-size: 0.8rem; color: var(--ink-4); }
.ph-dose-price { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em; margin: 2px 0; }
.ph-dose.is-active .ph-dose-price { font-size: 1.6rem; }
.ph-dose-rank { display: block; font-size: 0.76rem; color: var(--ink-4); }
.ph-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--ink-3); align-items: center; }
.ph-flag { color: var(--green); font-weight: 700; }
.ph-card.is-top .ph-flag { color: #6fe3b3; }
.is-fullscreen { position: fixed; inset: 0; z-index: 95; background: var(--white); overflow-y: auto; padding: 20px var(--gutter) 60px; margin: 0 !important; }
.is-fullscreen .prices-controls { position: sticky; top: -20px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 18px 0 14px; z-index: 3; border-bottom: 1px solid var(--line); }
.is-fullscreen .ph-card { min-height: 46vh; align-content: center; }
.is-fullscreen .ph-name { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 4.2rem); }
.is-fullscreen .ph-dose-price { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); }
.is-fullscreen .ph-dose.is-active .ph-dose-price { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem); }
.table-wrap-prices { margin-top: 14px; }
.prices-table th[scope="row"] { font-weight: 700; white-space: nowrap; }
.prices-table th[scope="col"] { cursor: pointer; user-select: none; white-space: nowrap; }
.prices-table th[scope="col"]:hover { color: var(--red); }
.prices-table th.sorted::after { content: " \25BE"; font-size: 0.8em; }
.prices-table th.sorted.desc::after { content: " \25B4"; }
.prices-table td.is-cheapest { color: var(--green); font-weight: 700; background: var(--green-soft); }
.prices-table td { white-space: nowrap; }
.dose-links { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 8px; }
.dose-links li { margin: 0; }
.dose-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--stone-005); text-decoration: none; color: var(--ink); font-weight: 600; }
.dose-links a:hover { background: var(--stone-010); color: var(--red); }
.dose-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.dose-pager a { font-weight: 700; }
.rank-list { list-style: none; margin: 18px 0 0; padding: 0; }
.rank-row { display: grid; gap: 4px 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "n name price" "n meta diff"; }
.rank-row.is-folded { display: none; }
.rank-list.is-expanded .rank-row.is-folded { display: grid; }
.rank-row:first-child { background: var(--stone-100); color: #fff; box-shadow: none; }
.rank-row:first-child .rank-meta, .rank-row:first-child .rank-price small { color: rgba(255, 255, 255, 0.62); }
.rank-row:first-child .rank-meta a { color: #fff; }
.rank-n { grid-area: n; font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; color: var(--ink-4); }
.rank-row:first-child .rank-n { color: #f5a29e; }
.rank-name { grid-area: name; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.rank-price { grid-area: price; font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; text-align: right; line-height: 1; }
.rank-price small { display: block; font-family: var(--body); font-size: 0.76rem; color: var(--ink-4); letter-spacing: 0; margin-top: 4px; }
.rank-meta { grid-area: meta; font-size: 0.86rem; color: var(--ink-3); }
.rank-tp { margin-left: 12px; }
.rank-diff { grid-area: diff; font-size: 0.82rem; color: var(--ink-4); text-align: right; }
.rank-row:first-child .rank-diff { color: #6fe3b3; font-weight: 700; }
@media (min-width: 900px) { .rank-row { grid-template-columns: 56px minmax(0, 1fr) 340px 170px 150px; grid-template-areas: "n name meta diff price"; } }

/* ---------- static pages ---------- */
.notice { border-radius: var(--radius); padding: 22px 24px; margin: 1.6em 0; background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red-line); }
.notice p:last-child { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.66); }
.footer-top { max-width: var(--wide); margin: 0 auto; padding: clamp(60px, 7vw, 110px) var(--gutter) 40px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 50px; } }
.footer-brand { font-family: var(--display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.02; color: #fff; margin: 0 0 18px; }
.footer-about p { font-size: 0.94rem; max-width: 44ch; }
.footer-heading { color: #fff; font-weight: 700; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-legal { max-width: var(--wide); margin: 0 auto; padding: 26px var(--gutter) 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; display: grid; gap: 10px; }
.footer-legal p { margin: 0; max-width: 110ch; }
.footer-word { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); overflow: hidden; }
.footer-word span { display: block; font-family: var(--display); font-size: clamp(4rem, 1rem + 13vw, 15rem); line-height: 0.8; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.07); white-space: nowrap; transform: translateY(14%); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* help pill waits until the hero has scrolled past on the home page */
.help-fab { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.help-fab.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.menu-open .help-fab { opacity: 0; pointer-events: none; }
@media (max-width: 959px) { .hero .scroll-btn { display: none; } .hero-inner { padding-bottom: 40px; } }

/* whole card opens the pharmacy page on Monj; register link stays separately clickable */
.ph-card, .rank-row { position: relative; }
.ph-link, .rank-link { color: inherit; text-decoration: none; }
.ph-link::after, .rank-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.ph-link:focus-visible, .rank-link:focus-visible { outline: none; }
.ph-link:focus-visible::after, .rank-link:focus-visible::after { box-shadow: 0 0 0 3px var(--teal); }
.ph-foot a, .rank-meta a { position: relative; z-index: 2; }
.ph-card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ph-card.is-top:hover { box-shadow: 0 0 0 2px var(--red); }
.rank-row:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ph-go { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.ph-card.is-top .ph-go { color: #fff; }
.ph-go .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--stone-010); display: inline-grid; place-items: center; transition: background 0.25s, color 0.25s, transform 0.3s var(--ease); }
.ph-card.is-top .ph-go .ic { background: rgba(255, 255, 255, 0.12); }
.ph-go .ic svg { width: 14px; height: 14px; }
.ph-card:hover .ph-go .ic { background: var(--red); color: #fff; transform: translateX(3px); }
