/* PoopScout: Sunny Yard. Cream pages, warm cocoa ink, cornflower blue and honey
   amber accents, and the four verdict colors the app uses (All clear green,
   Keep an eye amber, Call your vet today orange, Call a vet now red).
   Fredoka for display, Nunito for body. Light only, on purpose. */
:root {
  --bg: #FBF5EC;
  --bg-2: #F4EADB;
  --bg-3: #ECDFC9;
  --panel: #FFFDF8;
  --ink: #3A2A1E;
  --ink-2: #5E4B3C;
  --muted: #8C7A6B;
  --line: #EBDDC8;
  --line-2: #DCCBB0;
  --blue: #3E63F2;
  --blue-deep: #2A47C9;
  --blue-soft: #E7EDFF;
  --amber: #FFC93C;
  --amber-deep: #8F6100;
  --amber-soft: #FDF1D3;
  --ok: #1D7A4D;
  --ok-soft: #DDF3E6;
  --watch: #8F6100;
  --watch-soft: #FDF1D3;
  --vet: #B4501A;
  --vet-soft: #FDE7D7;
  --urgent: #A42626;
  --urgent-soft: #FADADA;
  --shadow-sm: 0 1px 2px rgba(58, 42, 30, .06), 0 2px 8px -2px rgba(58, 42, 30, .08);
  --shadow: 0 1px 2px rgba(58, 42, 30, .05), 0 14px 34px -14px rgba(58, 42, 30, .28);
  --shadow-lg: 0 2px 4px rgba(58, 42, 30, .05), 0 30px 60px -26px rgba(58, 42, 30, .38);
  --radius: 20px;
  --radius-sm: 14px;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 700; }
a:hover { color: var(--ink); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* ---------- verdict pills (the house motif) ---------- */
.verdict { display: inline-flex; align-items: center; gap: 8px; font: 800 .8rem/1 var(--body); letter-spacing: .02em; padding: 7px 12px 7px 9px; border-radius: 999px; white-space: nowrap; }
.verdict::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.verdict-ok { background: var(--ok-soft); color: var(--ok); }
.verdict-watch { background: var(--watch-soft); color: var(--watch); }
.verdict-vet { background: var(--vet-soft); color: var(--vet); }
.verdict-urgent { background: var(--urgent-soft); color: var(--urgent); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(251, 245, 236, .88); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.brand b { font-weight: 600; color: var(--blue-deep); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .93rem; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--bg-2); color: var(--ink); }
.site-nav a.nav-cta { background: var(--ink); color: #fff; margin-left: 8px; padding: 8px 16px; }
.site-nav a.nav-cta:hover { background: var(--blue-deep); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; gap: 4px; width: 44px; height: 40px; place-content: center; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
  .nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 800; font-size: 1rem; color: var(--ink); text-decoration: none; padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; background: var(--panel); line-height: 1.2; box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:disabled { cursor: default; transform: none; }
.btn-lg { font-size: 1.05rem; padding: 15px 26px; border-radius: 16px; }
.btn-sm { font-size: .88rem; padding: 7px 12px; border-radius: 10px; }
.btn-ink, .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover, .btn-primary:hover { background: #4D3A2A; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-paper { background: var(--panel); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); box-shadow: none; }

/* ---------- layout ---------- */
main { overflow-x: clip; }
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 40px); }
.section-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.kicker, .kicker-pill, .eyebrow { font-family: var(--body); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 10px; }
.kicker::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.kicker a { color: var(--blue-deep); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px 5px 8px; box-shadow: var(--shadow-sm); }
.kicker-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; letter-spacing: -.015em; }
.lede { font-size: 1.13rem; color: var(--ink-2); }
.title { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: -.02em; }
.band { max-width: none; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.band-in { max-width: var(--wrap); margin: 0 auto; }

/* ---------- hero ---------- */
.hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(900px 520px at 88% 10%, rgba(62, 99, 242, .12), transparent 70%), radial-gradient(760px 460px at 8% 95%, rgba(255, 201, 60, .22), transparent 70%); }
.hero { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 40px) clamp(38px, 5vw, 60px); display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-h { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin: 18px 0 18px; }
.hero-h em { font-style: normal; color: var(--blue-deep); }
.hero-sub { font-size: 1.17rem; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-weight: 600; }
.hero-note span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: 1px; }
.hero-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-tools a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .9rem; box-shadow: var(--shadow-sm); }
.hero-tools a:hover { border-color: var(--ink); }
.hero-tools i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 .66rem var(--body); color: #fff; font-style: normal; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-art { order: 2; } }

/* the hero card: Scout reads a check */
.hero-art { display: grid; justify-items: center; }
.check-card { position: relative; width: min(400px, 88vw); background: var(--panel); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 20px 20px 18px; display: grid; gap: 14px; }
.check-card .cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check-card .cc-pet { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.check-card .cc-pet i { width: 36px; height: 36px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; overflow: hidden; }
.check-card .cc-pet i img { width: 34px; height: 34px; object-fit: contain; }
.check-card .cc-pet small { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); }
.cc-scale { display: grid; gap: 6px; }
.cc-scale-label { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.cc-scale-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cc-scale-track i { height: 12px; border-radius: 6px; background: var(--bg-3); position: relative; }
.cc-scale-track i.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.cc-scale-track i.on::after { content: '2'; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font: 800 .7rem var(--body); color: var(--ok); }
.cc-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cc-rows li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; font-size: .92rem; padding: 8px 0; border-top: 1px dashed var(--line-2); }
.cc-rows b { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cc-rows .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 1px solid rgba(58, 42, 30, .15); }
.cc-verdict { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .95rem; }
.cc-verdict .verdict { background: var(--ok); color: #fff; }
.cc-verdict .verdict::before { box-shadow: none; background: #fff; }
.cc-scout { position: absolute; right: -34px; bottom: -26px; width: 150px; filter: drop-shadow(0 12px 18px rgba(58, 42, 30, .25)); }
@media (max-width: 480px) { .cc-scout { width: 110px; right: -16px; bottom: -18px; } .cc-rows li { grid-template-columns: 76px 1fr; } }

/* ---------- verdict strip ---------- */
.verdicts { max-width: var(--wrap); margin: -26px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; z-index: 2; }
.vcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; align-content: start; border-top: 4px solid var(--ok); }
.vcard-watch { border-top-color: var(--amber); } .vcard-vet { border-top-color: var(--vet); } .vcard-urgent { border-top-color: var(--urgent); }
.vcard p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .verdicts { grid-template-columns: 1fr 1fr; margin-top: 18px; } }
@media (max-width: 520px) { .verdicts { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tool-card { position: relative; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; font-weight: 400; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tool-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.tool-card h3 { font-size: 1.4rem; margin: 18px 22px 6px; }
.tool-card p { margin: 0 22px 14px; color: var(--ink-2); font-size: .97rem; }
.tool-go { margin: auto 22px 22px; font-weight: 800; color: var(--blue-deep); }
.tool-go::after { content: ' \2192'; }
.tool-badge { position: absolute; top: 14px; left: 14px; background: var(--amber); border-radius: 999px; padding: 4px 10px; font: 800 .68rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tool-blue .tool-badge { background: var(--blue); color: #fff; } .tool-ok .tool-badge { background: var(--ok); color: #fff; } .tool-vet .tool-badge { background: var(--vet); color: #fff; }

/* ---------- steps and checks ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; position: relative; }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; font: 800 1rem var(--body); color: #fff; background: var(--blue); border-radius: 50%; }
.step-2 .num { background: var(--ok); } .step-3 .num { background: var(--amber); color: var(--ink); } .step-4 .num { background: var(--vet); }
.step h3 { font-size: 1.22rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.steps-art { margin: 0 auto 30px; max-width: 920px; }
.steps-art img { border-radius: 22px; box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split-art img { border-radius: 24px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 14px 18px; background: var(--panel); position: relative; }
.check::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--blue); }
.check-amber::before { background: var(--amber); } .check-vet::before { background: var(--vet); } .check-ok::before { background: var(--ok); } .check-ink::before { background: var(--ink); }
.check h3 { font-size: 1.08rem; margin: 0 0 4px; }
.check h3 small { font: 800 .66rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.check p { margin: 0; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------- guide cards ---------- */
.guide-grid { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.guide-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card > div { padding: 14px 18px 18px; }
.guide-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.25; }
.guide-card h3 a, .guide-card h3 .link-pending { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; }
.guide-card h3 a:hover { color: var(--blue-deep); }
.tag { align-self: flex-start; display: inline-block; font: 800 .66rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); border-radius: 999px; padding: 3px 9px; margin: 0 0 8px; }
.link-pending { color: inherit; font-weight: 700; }
.empty-guides { text-align: center; color: var(--muted); padding: 10px 0 20px; }

/* ---------- honesty, faq ---------- */
.honest-wrap { padding-top: 10px; }
.honesty { max-width: 880px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px clamp(20px, 4vw, 38px) 14px; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.honesty::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--ok), var(--amber), var(--vet), var(--urgent)); }
.honesty img { width: 84px; height: auto; }
@media (max-width: 560px) { .honesty { grid-template-columns: 1fr; } .honesty img { width: 64px; } }
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 18px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 600 1.1rem/1 var(--body); color: var(--ink); }
.faq-item[open] summary::after { content: '\2212'; background: var(--blue-soft); color: var(--blue-deep); }
.faq-a { padding: 0 18px 8px; color: var(--ink-2); }

/* ---------- CTA / app box ---------- */
.cta { width: calc(100% - 32px); max-width: 1000px; margin: clamp(30px, 5vw, 64px) auto; padding: clamp(22px, 4vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 34px); align-items: center; border-radius: 26px; position: relative; overflow: hidden; background: var(--ink); color: #EFE6DA; box-shadow: var(--shadow-lg); }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(62, 99, 242, .35), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(255, 201, 60, .22), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta-art img { width: 160px; height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.cta-kicker { font: 800 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0; }
.cta-h { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -.015em; margin: 6px 0 10px; color: #fff; }
.cta-sub { color: #D9CCBC; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.waitlist input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-weight: 600; padding: 13px 16px; border: 1px solid #6A5343; border-radius: 12px; background: #4A382A; color: #fff; }
.waitlist input[type=email]::placeholder { color: #B5A08E; }
.waitlist input[type=email]:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 201, 60, .25); }
.cta .btn-ink { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.cta .btn-ink:hover { background: #FFD766; color: var(--ink); }
.waitlist-msg { flex-basis: 100%; margin: 4px 0 0; font-weight: 700; min-height: 1.4em; }
.waitlist-msg.ok { color: #8FE3B6; }
.waitlist-msg.err { color: #FFB4A3; }
.cta-fine { font-size: .88rem; color: #B5A08E; margin: 6px 0 0; }
.cta-fine a { color: #fff; }
.cta-store { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 6px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 18px; text-decoration: none; font-weight: 800; }
.cta-store:hover { background: var(--amber); color: var(--ink); }
@media (max-width: 640px) { .cta { grid-template-columns: 1fr; } .cta-art img { width: 100px; } .waitlist .btn { width: 100%; } }

/* ---------- prose (posts and pages) ---------- */
.prose { max-width: 820px; }
.prose > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose .title { margin-top: 6px; }
.byline { font: 600 .82rem var(--body); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.byline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.species-pill { display: inline-block; font: 800 .66rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-deep); }
.post-hero, .page-hero { margin: 24px auto 32px; max-width: 820px !important; }
.post-hero img, .page-hero img { border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--panel); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); font-weight: 600; letter-spacing: -.015em; margin: 1.9em auto .55em; }
.prose h2::before { content: ''; display: block; width: 34px; height: 5px; border-radius: 3px; margin-bottom: 12px; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.prose h3 { font-size: 1.26rem; margin: 1.5em auto .45em; }
.prose p, .prose li { font-size: 1.08rem; color: #4A382A; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue-deep); font-weight: 800; }
.prose strong { font-weight: 800; color: var(--ink); }
.prose hr { border: none; border-top: 1px solid var(--line-2); margin: 2em auto; }
.prose img { border-radius: 16px; }
.prose code { background: var(--bg-2); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.story-fig { margin: 32px auto; max-width: 820px !important; }
.story-fig img { border-radius: 20px; box-shadow: var(--shadow); background: var(--panel); }
.story-fig figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.45; font-weight: 600; }
.takeaways { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 22px 26px 12px; margin: 28px auto 34px; overflow: hidden; }
.takeaways::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.takeaways h2 { margin: 2px 0 10px !important; font-size: .76rem !important; font-family: var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); font-weight: 800; }
.takeaways h2::before { display: none !important; }
.takeaways ul { list-style: none; padding-left: 0; }
.takeaways li { position: relative; padding-left: 32px; }
.takeaways li::before { content: ''; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%231D7A4D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.callout { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px 4px 22px; margin: 26px auto; background: var(--panel); position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); }
.callout-label { display: inline-block; font: 800 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 6px; }
.callout-quick { background: var(--blue-soft); border-color: #CBD6FF; }
.callout-tip::before { background: var(--ok); } .callout-tip .callout-label { color: var(--ok); }
.callout-warn::before { background: var(--urgent); } .callout-warn { background: #FFF6F4; } .callout-warn .callout-label { color: var(--urgent); }
.callout-fact::before { background: var(--amber); } .callout-fact { background: #FFFBEE; } .callout-fact .callout-label { color: var(--amber-deep); }
.callout-try::before { background: var(--ink); } .callout-try .callout-label { color: var(--ink); }
/* Scout's read: the verdict card */
.callout-read { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px 6px 18px; border-width: 1.5px; }
.callout-read::before { display: none; }
.callout-read .verdict { margin-top: 2px; }
.callout-read .callout-label { display: block; font-size: .66rem; color: var(--muted); margin: 0 0 2px; }
.callout-read p { margin-bottom: 10px; }
.callout-read.read-ok { background: var(--ok-soft); border-color: #B6E2C8; } .callout-read.read-ok .verdict { background: var(--ok); color: #fff; }
.callout-read.read-watch { background: var(--watch-soft); border-color: #F2DBA0; } .callout-read.read-watch .verdict { background: var(--watch); color: #fff; }
.callout-read.read-vet { background: var(--vet-soft); border-color: #F3C3A6; } .callout-read.read-vet .verdict { background: var(--vet); color: #fff; }
.callout-read.read-urgent { background: var(--urgent-soft); border-color: #F0B3B3; } .callout-read.read-urgent .verdict { background: var(--urgent); color: #fff; }
.callout-read .verdict::before { background: #fff; box-shadow: none; }
@media (max-width: 480px) { .callout-read { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 24px auto; background: var(--panel); box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap th { background: var(--bg-2); text-align: left; font: 800 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:first-child td { border-top: 0; }
.disclaimer { margin-top: 36px; }
.section-sub { margin-top: 48px; }
.section-sub .h2 { font-size: 1.6rem; }
.sources a { word-break: break-word; font-weight: 600; }
.plainlist { padding-left: 1.2em; }
.four04 { text-align: left; }
.four04-art { max-width: 220px; margin: 0 0 16px; }

/* ---------- blog index and hubs ---------- */
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; height: 100%; font-weight: 400; }
.post-card-link:hover { color: var(--ink); }
.post-card-link img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.22rem; margin: 0 0 8px; line-height: 1.25; }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; }
.post-card time { margin-top: auto; font: 700 .76rem var(--body); color: var(--muted); letter-spacing: .03em; }
.blog-empty { text-align: center; }
.blog-empty img { margin: 0 auto 10px; width: 120px; }
.hub-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hub-grid a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.hub-grid a:hover { border-color: var(--blue); color: var(--ink); }
.hub-grid b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.08rem; margin-bottom: 2px; }
.hub-grid span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; }
.filter-row a { font-weight: 800; font-size: .9rem; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.filter-row a.on, .filter-row a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- tool pages ---------- */
.tool-page { padding-bottom: 20px; }
.tool-head { text-align: center; max-width: 820px; margin: 0 auto 26px; }
.tool-mount { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(14px, 3vw, 28px); }
.tool-copy { padding-top: 10px; }
.t-note { font-size: .88rem; color: var(--muted); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg-2); border-radius: 14px; padding: 3px; gap: 2px; }
.seg button { font: inherit; font-weight: 800; font-size: .9rem; border: 0; background: transparent; padding: 8px 14px; cursor: pointer; color: var(--ink-2); border-radius: 11px; }
.seg button[aria-pressed=true] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-sm); }
.t-honest { font-size: .88rem; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; margin-top: 16px; }

/* color chart */
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; }
.chart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.swatch { display: grid; gap: 8px; padding: 10px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); text-align: left; transition: transform .12s, border-color .12s, box-shadow .12s; }
.swatch:hover { transform: translateY(-2px); border-color: var(--ink); }
.swatch[aria-pressed=true] { border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--blue-soft); background: var(--panel); }
.swatch i { display: block; height: 58px; border-radius: 11px; border: 1px solid rgba(58, 42, 30, .12); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .08); }
.swatch b { font-weight: 800; font-size: .95rem; line-height: 1.2; }
.swatch .verdict { font-size: .66rem; padding: 4px 8px 4px 7px; justify-self: start; }
.chart-detail { margin-top: 18px; border-radius: 20px; padding: 18px 20px 8px; border: 1.5px solid var(--line); background: var(--bg); display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: start; }
.chart-detail .big-sw { height: 110px; border-radius: 18px; border: 1px solid rgba(58, 42, 30, .12); box-shadow: inset 0 -10px 16px rgba(0, 0, 0, .08); }
.chart-detail h2 { font-size: 1.5rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chart-detail p { font-size: 1rem; color: var(--ink-2); }
.chart-detail .cd-action { background: var(--panel); border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); }
.chart-detail .cd-action b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.chart-detail.cd-ok { border-color: #B6E2C8; } .chart-detail.cd-watch { border-color: #F2DBA0; } .chart-detail.cd-vet { border-color: #F3C3A6; } .chart-detail.cd-urgent { border-color: #F0B3B3; }
@media (max-width: 560px) { .chart-detail { grid-template-columns: 1fr; } .chart-detail .big-sw { height: 60px; } }

/* stool score */
.score-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 6px 0 16px; }
.score-btn { display: grid; gap: 6px; justify-items: center; padding: 10px 6px 8px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); transition: transform .12s, border-color .12s; }
.score-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.score-btn[aria-pressed=true] { border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--blue-soft); background: var(--panel); }
.score-btn b { font: 600 1.4rem var(--display); }
.score-btn svg { width: 100%; max-width: 64px; height: auto; }
.score-btn small { font-size: .72rem; font-weight: 800; color: var(--muted); text-align: center; line-height: 1.15; }
@media (max-width: 640px) { .score-rail { grid-template-columns: repeat(4, 1fr); } }
.score-detail { border-radius: 20px; padding: 18px 20px 8px; border: 1.5px solid var(--line); background: var(--bg); }
.score-detail h2 { font-size: 1.5rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.score-detail p { font-size: 1rem; color: var(--ink-2); }
.score-detail.sd-ok { border-color: #B6E2C8; } .score-detail.sd-watch { border-color: #F2DBA0; } .score-detail.sd-vet { border-color: #F3C3A6; }

/* triage */
.tri { max-width: 780px; margin: 0 auto; }
.tri-progress { display: flex; gap: 5px; margin: 0 0 12px; }
.tri-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.tri-progress i.done { background: var(--blue); } .tri-progress i.now { background: var(--amber); }
.tri-count { font: 800 .74rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.tri-q { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 16px; outline: none; }
.tri-opts { display: grid; gap: 10px; margin: 0 0 16px; }
.tri-opt { text-align: left; font: 800 1.02rem var(--body); color: var(--ink); padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); cursor: pointer; transition: border-color .12s, transform .12s; }
.tri-opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.tri-opt[aria-pressed=true] { border-color: var(--blue-deep); background: var(--blue-soft); }
.tri-opt small { display: block; font-weight: 600; color: var(--muted); font-size: .86rem; }
.tri-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tri-verdict { border-radius: 20px; padding: 18px 18px 8px; border: 1.5px solid var(--line); background: var(--bg); outline: none; }
.tri-verdict h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.6rem; margin: 0 0 10px; }
.tri-verdict.tv-ok { background: var(--ok-soft); border-color: #B6E2C8; } .tri-verdict.tv-watch { background: var(--watch-soft); border-color: #F2DBA0; } .tri-verdict.tv-vet { background: var(--vet-soft); border-color: #F3C3A6; } .tri-verdict.tv-urgent { background: var(--urgent-soft); border-color: #F0B3B3; }
.tri-why { padding-left: 1.2em; }
.tri-why li { margin: 0 0 8px; font-size: .97rem; color: var(--ink-2); }
.tri-scout { width: 120px; margin: 0 auto 10px; }

/* ---------- sticky app bar (phones) ---------- */
.app-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--ink); box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 700; }
.app-bar img { width: 34px; height: auto; }
@media (max-width: 760px) { .app-bar:not([hidden]) { display: flex; } body.has-app-bar { padding-bottom: 80px; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #D9CCBC; margin-top: 40px; position: relative; overflow: hidden; }
.site-foot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 95% 0%, rgba(62, 99, 242, .22), transparent 70%); pointer-events: none; }
.site-foot > * { position: relative; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 48px clamp(16px, 4vw, 40px) 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img { width: 64px; height: auto; }
.foot-brand p { margin: 0; color: #C2B2A0; font-size: .95rem; }
.foot-brand strong { color: #fff; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.site-foot a { color: #fff; font-weight: 600; }
.foot-links { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.foot-links a { text-decoration: none; color: #D9CCBC; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-h { font: 800 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 0 0 4px; }
.foot-safety { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 16px; }
.foot-safety p { margin: 0; font-size: .86rem; color: #D9CCBC; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; }
.foot-safety b { color: #fff; }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px) 36px; font-size: .8rem; color: #A08E7C; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

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