/* ============================================================
   MEDIJOURNAL Daily — design tokens.
   The ONLY stylesheet that may contain colour literals.
   Decided 2026-09-14: turquoise nav, white top strip, light hero,
   logo variant N (journal-cross + two-line Outfit wordmark).
   ============================================================ */
:root {
  color-scheme: light;

  /* --- Colour ------------------------------------------------ */
  --paper:      #f7f9f8;   /* page ground                          */
  --white:      #ffffff;   /* cards, hero, article column          */
  --ink:        #1c2a28;   /* headlines, body text, JOURNAL        */
  --ink-2:      #4b5a57;   /* deks, secondary text                 */
  --ink-3:      #8a9693;   /* bylines, captions, meta              */
  --night:      #101816;   /* footer, dark bands                   */
  --line:       #e3e8e6;   /* hairlines, card borders              */
  --line-2:     #cfd9d6;   /* stronger dividers                    */

  --teal:       #41af9b;   /* brand: nav, MEDI, links              */
  --teal-deep:  #2f8576;   /* kicker text on light, hover          */
  --teal-ink:   #1f6b5e;   /* rubric text next to the teal nav     */
  --teal-wash:  #e6f4f1;   /* takeaway boxes, tags                 */
  --teal-light: #4fc0ab;   /* MEDI on dark                         */
  --teal-pale:  #7fd4c3;   /* secondary on dark                    */
  --teal-nav-text: #ffffff;
  --sun:        #ffbc49;   /* sparingly: "New", warnings           */
  --error:      #b23a3a;
  --ok:         #1e7a5a;

  /* --- Type -------------------------------------------------- */
  --font-display: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs: 0.75rem;    /* 12   captions, meta                    */
  --fs-sm: 0.8125rem;  /* 13   kickers, bylines                  */
  --fs-base: 1rem;     /* 16   UI                                */
  --fs-body: 1.0625rem;/* 17   article body                      */
  --fs-lg: 1.25rem;    /* 20   deks                              */
  --fs-h4: 1.0625rem;  /* 17   list item titles                  */
  --fs-h3: 1.375rem;   /* 22   card titles                       */
  --fs-h2: 1.75rem;    /* 28   section titles                    */
  --fs-h1: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);   /* article */
  --fs-hero: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem); /* home hero */

  --lh-tight: 1.1;
  --lh-snug:  1.25;
  --lh-body:  1.6;

  /* --- Shape, elevation, rhythm ------------------------------ */
  --radius:    8px;
  --radius-sm: 5px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(28, 42, 40, .05), 0 2px 8px rgba(28, 42, 40, .05);
  --shadow-md: 0 2px 4px rgba(28, 42, 40, .05), 0 12px 28px -12px rgba(28, 42, 40, .16);

  --container: 1180px;
  --measure: 68ch;
  --gutter: clamp(16px, 3vw, 32px);
  --nav-h: 64px;
  --top-h: 32px;
}

/* Base: reset, type, layout primitives. No colour literals here. */
*, *::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 { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-snug); letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.25em; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.kicker { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.kicker a { color: inherit; }
.meta { font-size: var(--fs-sm); color: var(--ink-3); }
.meta b { color: var(--ink); font-weight: 600; }
.meta a { color: var(--ink); }
.dek { font-size: var(--fs-lg); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header: white top strip + turquoise nav ---------- */
.top { height: var(--top-h); background: var(--white); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .01em; }
.top .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .claim { display: none; }
@media (min-width: 720px) { .top .claim { display: block; } }

.nav { background: var(--teal); color: var(--teal-nav-text); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav .container { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 40px; width: auto; overflow: visible; }
.nav-links { display: none; gap: 24px; margin-left: auto; font-size: 0.875rem; font-weight: 500; }
.nav-links a { color: var(--teal-nav-text); opacity: .92; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { opacity: 1; text-decoration: none; border-bottom-color: rgba(255,255,255,.7); }
.nav-links a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }
.nav-right { margin-left: 8px; display: flex; align-items: center; gap: 14px; font-size: 0.8125rem; }
.nav-right a { color: var(--teal-nav-text); border: 1.5px solid rgba(255,255,255,.75); border-radius: var(--radius-sm); padding: 6px 12px; font-weight: 600; }
.nav-right a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.nav-toggle { display: inline-flex; margin-left: auto; background: transparent; border: 1.5px solid rgba(255,255,255,.75); color: var(--teal-nav-text); border-radius: var(--radius-sm); padding: 6px 10px; font-size: .8125rem; font-weight: 600; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-toggle { display: none; } }
@media (max-width: 899px) { .nav-right { display: none; } }
.nav-drawer { display: none; background: var(--teal); border-top: 1px solid rgba(255,255,255,.2); }
.nav-drawer[data-open="true"] { display: block; }
.nav-drawer a { display: block; padding: 12px var(--gutter); color: var(--teal-nav-text); border-bottom: 1px solid rgba(255,255,255,.14); font-weight: 500; }

/* ---------- Home: hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; gap: 28px; padding-block: 28px 34px; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.55fr 1fr; gap: 36px; } }
.hero-main .img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--teal-wash); }
.hero-main .img img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .kicker { margin: 18px 0 8px; }
.hero-main h2 { font-size: var(--fs-hero); line-height: var(--lh-tight); }
.hero-main h2 a { color: var(--ink); }
.hero-main h2 a:hover { text-decoration: none; color: var(--teal-deep); }
.hero-main .dek { margin: 12px 0 12px; max-width: 58ch; }
.hero-side { display: flex; flex-direction: column; }
@media (min-width: 900px) { .hero-side { border-left: 1px solid var(--line); padding-left: 32px; } }
.hero-side .side-title { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-item:last-child { border-bottom: 0; }
.side-item .thumb { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--teal-wash); }
.side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-item .kicker { font-size: 0.6875rem; margin-bottom: 4px; }
.side-item h4 { font-size: 1rem; }
.side-item h4 a { color: var(--ink); }
.side-item h4 a:hover { color: var(--teal-deep); text-decoration: none; }
.side-item .meta { margin-top: 6px; font-size: var(--fs-xs); }

/* ---------- Placeholder art (until real images exist) ---------- */
.ph { width: 100%; height: 100%; display: grid; place-items: end start; padding: 10px 12px; background:
  linear-gradient(135deg, var(--teal-wash) 0%, var(--line) 50%, var(--line-2) 100%); color: var(--ink-3);
  font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Home: sections ---------- */
.section { padding-block: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 22px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head h2 a { color: var(--ink); }
.section-head .more { font-size: var(--fs-sm); font-weight: 600; color: var(--teal-deep); white-space: nowrap; }
.section-head p { font-size: var(--fs-sm); color: var(--ink-3); display: none; }
@media (min-width: 900px) { .section-head p { display: block; margin-left: auto; margin-right: 18px; } }
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.card .img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--teal-wash); }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .kicker { font-size: 0.6875rem; }
.card h3 { font-size: 1.1875rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--teal-deep); text-decoration: none; }
.card p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.card .meta { margin-top: auto; padding-top: 6px; font-size: var(--fs-xs); }

/* Band: dark "rhythm change" strip under the hero */
.band { background: var(--night); color: var(--paper); }
.band .container { display: grid; gap: 24px; padding-block: 30px; }
@media (min-width: 900px) { .band .container { grid-template-columns: 1fr 2fr; align-items: center; } }
.band .lead { display: flex; gap: 16px; align-items: center; }
.band .lead img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.band .lead .who { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.band .lead .what { font-size: var(--fs-sm); color: var(--teal-pale); }
.band .quote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.band .quote a { color: var(--teal-light); }
.band ol { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .band ol { grid-template-columns: repeat(2, 1fr); } }
.band li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; font-size: 0.9375rem; }
.band li b { font-family: var(--font-display); color: var(--teal-light); font-size: 1.25rem; font-weight: 700; }
.band li a { color: var(--paper); }

/* ---------- Article ---------- */
.article-head { background: var(--white); border-bottom: 1px solid var(--line); }
.article-head .container { max-width: 820px; padding-block: 30px 26px; }
.article-head .kicker { margin-bottom: 10px; }
.article-head h1 { margin-bottom: 14px; }
.article-head .dek { margin-bottom: 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ink-3); flex-wrap: wrap; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline .name { color: var(--ink); font-weight: 600; }
.byline .sep { opacity: .5; }
.article-hero { max-width: 1000px; margin: 26px auto 0; padding-inline: var(--gutter); }
.article-hero figure { margin: 0; }
.article-hero .img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--teal-wash); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 8px; }
.article { max-width: 820px; margin-inline: auto; padding: 28px var(--gutter) 40px; display: grid; gap: 28px; }
@media (min-width: 1000px) { .article { max-width: var(--container); grid-template-columns: minmax(0, 680px) 280px; column-gap: 56px; justify-content: center; } }
.prose { font-size: var(--fs-body); line-height: 1.7; max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--teal); color: var(--ink-2); font-style: normal; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.takeaways { background: var(--teal-wash); border-radius: var(--radius); padding: 18px 20px; }
.takeaways .kicker { margin-bottom: 8px; }
.takeaways ul { padding-left: 1.1em; }
.takeaways li + li { margin-top: .4em; }
.product { display: grid; grid-template-columns: 1fr; gap: 6px 16px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product.has-img { grid-template-columns: 88px 1fr; }
.product .pname a { color: var(--ink); }
.product .pname a:hover { color: var(--teal-deep); }
.products { display: grid; gap: 12px; }
.product .pimg { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; }
.product .pname { font-family: var(--font-display); font-weight: 600; }
.product .pprice { font-size: var(--fs-sm); color: var(--ink-3); }
.product p { font-size: .9375rem; margin-top: 4px; }
.sources { font-size: .875rem; color: var(--ink-2); }
.sources ol { padding-left: 1.2em; }
.sources li + li { margin-top: .5em; }
.sources .note { color: var(--ink-3); }
.aside { display: grid; gap: 22px; align-content: start; }
.aside .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.aside .box .kicker { font-size: 0.6875rem; margin-bottom: 10px; }
.aside .author { display: flex; gap: 12px; align-items: center; }
.aside .author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.aside .author b { font-family: var(--font-display); font-weight: 600; display: block; }
.aside .author span { font-size: var(--fs-sm); color: var(--ink-3); }
.aside p { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.aside .list { list-style: none; padding: 0; display: grid; gap: 10px; }
.aside .list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: .9375rem; line-height: 1.35; }
.aside .list b { font-family: var(--font-display); color: var(--teal-deep); }
.aside .list a { color: var(--ink); }
.related { border-top: 1px solid var(--line); padding-block: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: var(--fs-xs); background: var(--teal-wash); color: var(--teal-ink); border-radius: var(--radius-pill); padding: 4px 10px; font-weight: 600; }
.disclaimer-box { font-size: var(--fs-sm); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Category / index / author / page ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); }
.page-head .container { padding-block: 30px 26px; max-width: 820px; }
.page-head .dek { margin-top: 10px; }
.page-body { max-width: 820px; margin-inline: auto; padding: 28px var(--gutter) 48px; }
.author-card { display: grid; gap: 22px; align-items: start; }
@media (min-width: 720px) { .author-card { grid-template-columns: 200px 1fr; } }
.author-card img { width: 100%; border-radius: var(--radius); }
.list-page { padding-block: 32px 48px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 600; }
.form input, .form textarea, .form select { font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .consent input { margin-top: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--teal); color: var(--white); border: 0; border-radius: var(--radius-sm); padding: 11px 18px; font-weight: 600; }
.btn:hover { background: var(--teal-deep); text-decoration: none; }
.form .status { font-size: var(--fs-sm); color: var(--ink-3); min-height: 1.2em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--paper); margin-top: 20px; }
.footer .container { padding-block: 40px 28px; display: grid; gap: 30px; }
@media (min-width: 900px) { .footer .container { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer .brand svg { height: 44px; }
.footer .note { font-size: var(--fs-sm); color: var(--teal-pale); margin-top: 16px; max-width: 46ch; line-height: 1.55; }
.footer h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--paper); font-size: .9375rem; }
.footer .pub { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.6; margin: 0; }
.footer .bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: var(--fs-xs); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* ---------- 404 ---------- */
.nf { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }

/* ---------- Tools / calculators ---------- */
.tool-head .container { max-width: 900px; }
.tool-wrap { max-width: 900px; padding-block: 22px 8px; }
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.calc-form { padding: 16px 16px 6px; }
@media (min-width: 640px) { .calc-form { padding: 20px 22px 8px; } }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; gap: 3px; max-width: 100%; }
.seg-btn { border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .9375rem; padding: 9px 14px; border-radius: 4px; min-height: 42px; flex: 1; white-space: nowrap; }
.seg-btn.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(28,42,40,.12); }
.unit-seg { margin-bottom: 14px; }
.unit-seg .seg-btn { font-size: .8125rem; min-height: 36px; padding: 6px 12px; }
.calc-grid { display: grid; gap: 14px 18px; }
@media (min-width: 640px) { .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.flabel { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.fhint { font-size: var(--fs-xs); color: var(--ink-3); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inbox { position: relative; display: flex; align-items: center; }
.finput { width: 100%; font: inherit; font-size: 1.125rem; padding: 12px 14px; min-height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); -moz-appearance: textfield; }
.finput:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-wash); }
.finput::-webkit-outer-spin-button, .finput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select.finput { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.funit { position: absolute; right: 14px; font-size: var(--fs-sm); color: var(--ink-3); pointer-events: none; }
.inbox .finput { padding-right: 44px; }
.calc-result { background: var(--teal-wash); border-top: 1px solid var(--line); padding: 20px 16px 18px; }
@media (min-width: 640px) { .calc-result { padding: 22px 22px 20px; } }
.res-empty { color: var(--ink-3); font-size: .9375rem; }
.res-empty.err { color: var(--error); }
.res-label { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.res-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 8vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.res-big small { font-size: .4em; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.res-badge { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .875rem; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.res-badge.ok { border-color: var(--ok); color: var(--ok); }
.res-badge.over { border-color: var(--sun); color: var(--ink); }
.res-badge.ob, .res-badge.under { border-color: var(--error); color: var(--error); }
.gauge { margin: 14px 0 6px; }
.gauge-bar { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--teal-pale), var(--teal) 30%, var(--sun) 65%, var(--error)); }
.gauge-bar i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--white); opacity: .9; }
.gauge-bar b { position: absolute; top: -6px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.res-lines { margin: 14px 0 0; display: grid; gap: 8px; }
.res-lines div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: .9375rem; }
@media (min-width: 640px) { .res-lines div { grid-template-columns: 220px 1fr; gap: 12px; } }
.res-lines dt { color: var(--ink-3); margin: 0; }
.res-lines dd { margin: 0; color: var(--ink); font-weight: 500; }
.res-actions { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--ok); }
.btn-ghost { background: var(--white); border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; font-size: var(--fs-sm); font-weight: 600; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.result-note { max-width: 900px; margin: 12px auto 0; font-size: .9375rem; color: var(--ink-2); }
.tool-meta { margin-top: 8px; }
.tool-article { padding-top: 20px; }
.faq h2 { font-size: 1.5rem; margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-deep); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 8px; color: var(--ink-2); max-width: var(--measure); }
.tool-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.tool-card .img { display: block; aspect-ratio: 4/3; background: var(--paper); border-bottom: 1px solid var(--line); }
.tool-card .img img { width: 100%; height: 100%; object-fit: cover; }
.tool-card .body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.tool-card .ico { margin: 18px 20px 0; }
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.tool-card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.tool-card h3 { font-size: 1.125rem; }
.tool-card h3 a { color: var(--ink); }
.tool-card h3 a:hover { color: var(--teal-deep); text-decoration: none; }
.tool-card p { font-size: .9375rem; color: var(--ink-2); }
/* home strip */
.tools-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.tools-strip .container { display: flex; align-items: center; gap: 10px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.tools-strip .container::-webkit-scrollbar { display: none; }
.tools-strip .lbl { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; margin-right: 4px; }
.tools-strip a { white-space: nowrap; font-size: .875rem; font-weight: 600; color: var(--teal-ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 14px; }
.tools-strip a:hover { border-color: var(--teal); text-decoration: none; }
.tools-strip a.all { color: var(--teal-deep); background: transparent; border-color: transparent; }
/* rating scale (Menopause Rating Scale) + screening lists */
.field-wide { grid-column: 1 / -1; }
.rating { display: grid; gap: 10px; }
.rrow { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rrow:last-child { border-bottom: 0; }
.rlabel { font-size: .9375rem; font-weight: 500; }
.rseg { width: 100%; }
.rseg .seg-btn { font-size: .8125rem; padding: 8px 6px; min-height: 40px; }
@media (min-width: 720px) { .rrow { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.res-lines dt:empty { display: none; }
.res-lines div:has(> dd:empty) dt { font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); margin-top: 8px; }
.res-lines div:has(> dd:empty) dd { display: none; }

/* product lists: not rankings; publisher's brand is labeled */
.products-note { font-size: .9375rem; color: var(--ink-2); }
.ours { display: inline-block; margin-left: 8px; font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-wash); border-radius: var(--radius-pill); padding: 2px 8px; vertical-align: middle; }
.product.is-ours { border-color: var(--teal); }
