/* ============================================================
   PetCalcly — shared stylesheet
   PALETTE: change the whole site's colors by editing ONLY the
   variables in :root below. FINAL palette (approved 2026-11-18):
   fresh leaf green + cream + soft peach.
   ============================================================ */
:root{
  --brand:#1e74b4;          /* fresh leaf green — buttons, headings, links */
  --brand-dark:#12507e;     /* darker leaf green — header, footer, hover states */
  --brand-soft:#e1eef7;     /* pale green tint — result panels, chips */
  --accent:#ef9f5f;         /* soft peach — small highlights only */
  --bg:#f5f8fa;             /* cream / ivory page background */
  --card:#ffffff;           /* warm white card background */
  --ink:#1f2d38;            /* main text — deep green-charcoal */
  --ink-soft:#50626e;       /* secondary text */
  --line:#d5dee3;           /* borders on cream */
  --warn-bg:#fdf3e3;        /* soft amber notice background */
  --warn-line:#e3c98f;
  --radius:14px;
  --shadow:0 2px 10px rgba(20,53,29,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.6;
}
img,svg{max-width:100%}
a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--brand-dark)}
h1,h2,h3{color:var(--brand-dark);line-height:1.25;margin:0 0 .5em}
h1{font-size:1.9rem}
h2{font-size:1.4rem;margin-top:1.6em}
h3{font-size:1.12rem;margin-top:1.2em}
p{margin:0 0 1em}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px 48px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:var(--brand-dark);
  box-shadow:0 1px 6px rgba(0,0,0,.25);
}
.site-header .bar{
  max-width:1080px;margin:0 auto;padding:10px 16px;
  display:flex;align-items:center;gap:14px;flex-wrap:nowrap;
}
.logo{
  color:#f5efdd;font-weight:800;font-size:1.25rem;text-decoration:none;letter-spacing:.2px;
}
.logo span{color:var(--accent)}
.logo-img{height:40px;width:auto;display:block}
.main-nav{display:flex;gap:4px;flex-wrap:nowrap;margin-left:auto}
.main-nav a{
  color:#e9e4d2;text-decoration:none;font-size:.92rem;font-weight:600;
  padding:9px 10px;border-radius:9px;min-height:44px;display:flex;align-items:center;white-space:nowrap;
}
.main-nav a:hover{background:rgba(255,255,255,.12);color:#fff}

/* ---------- Breadcrumb ---------- */
.crumbs{font-size:.88rem;color:var(--ink-soft);padding:14px 0 4px}
.crumbs a{color:var(--ink-soft)}

/* ---------- Hero (homepage) ---------- */
.hero{padding:28px 0 6px}
.hero h1{font-size:2.15rem;margin-bottom:.35em}
.hero .lede{font-size:1.13rem;color:var(--ink-soft);max-width:34em}
.chiprow{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}
.chip{
  background:var(--brand-soft);color:var(--brand-dark);border:1px solid var(--line);
  border-radius:999px;padding:5px 12px;font-size:.85rem;font-weight:600;
}

/* ---------- Cards & tool grid ---------- */
.grid{display:grid;gap:14px;margin:16px 0}
@media(min-width:640px){.grid{grid-template-columns:1fr 1fr}}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px;box-shadow:var(--shadow);display:block;text-decoration:none;color:var(--ink);
}
a.card:hover{border-color:var(--brand);color:var(--ink)}
.card h3{margin:0 0 .3em;color:var(--brand-dark)}
.card p{margin:0;color:var(--ink-soft);font-size:.96rem}
.card .go{color:var(--brand);font-weight:700;font-size:.92rem}
.soon{opacity:.75}
.soon .go{color:var(--ink-soft);font-weight:600}

/* ---------- Calculator ---------- */
.tool{
  background:var(--card);border:1.5px solid var(--brand);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);margin:18px 0;
}
.tool h2{margin-top:0;font-size:1.25rem}
.field{margin-bottom:14px}
.field label{display:block;font-weight:700;margin-bottom:6px;font-size:.98rem}
.field .hint{font-weight:400;color:var(--ink-soft);font-size:.87rem}
.field input,.field select{
  width:100%;min-height:50px;font-size:16px;padding:10px 12px;
  border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);
}
.field input:focus,.field select:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.field-row{display:grid;gap:12px}
@media(min-width:560px){.field-row{grid-template-columns:1fr 1fr}}
.unit-toggle{display:inline-flex;border:1.5px solid var(--brand);border-radius:10px;overflow:hidden;margin-bottom:6px}
.unit-toggle button{
  border:0;background:#fff;color:var(--brand-dark);font-size:.95rem;font-weight:700;
  padding:10px 18px;min-height:48px;cursor:pointer;
}
.unit-toggle button[aria-pressed="true"]{background:var(--brand);color:#fff}
.result{
  background:var(--brand-soft);border:1px solid var(--brand);border-radius:12px;
  padding:16px 18px;margin-top:16px;
}
.result .big{font-size:1.65rem;font-weight:800;color:var(--brand-dark);line-height:1.25}
.result p{margin:.35em 0}
.result .sub{color:var(--ink-soft);font-size:.95rem}
.result ul{margin:.4em 0 .2em;padding-left:1.2em}
.calc-btn{
  width:100%;min-height:52px;border:0;border-radius:10px;cursor:pointer;
  background:var(--brand);color:#fff;font-size:1.05rem;font-weight:800;padding:12px;
}
.calc-btn:hover{background:var(--brand-dark)}
.err{color:#9c2b2b;font-weight:600}

/* ---------- Tables ---------- */
.table-scroll{overflow-x:auto;margin:14px 0;border:1px solid var(--line);border-radius:10px}
table{border-collapse:collapse;width:100%;background:var(--card);font-size:.96rem}
th,td{padding:9px 12px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
th{background:var(--brand-dark);color:#f5efdd;font-weight:700}
tr:last-child td{border-bottom:0}
tr.hl td{background:var(--brand-soft);font-weight:700}

/* ---------- Notices, FAQ, misc blocks ---------- */
.notice{
  background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:12px;
  padding:14px 16px;margin:16px 0;font-size:.96rem;
}
.notice strong{color:#7a5410}
.disclaimer{
  border:1px dashed var(--ink-soft);border-radius:12px;padding:14px 16px;
  margin:22px 0;font-size:.92rem;color:var(--ink-soft);background:var(--card);
}
.disclaimer strong{color:var(--ink)}
details.faq{
  background:var(--card);border:1px solid var(--line);border-radius:12px;
  padding:4px 16px;margin:10px 0;
}
details.faq summary{
  cursor:pointer;font-weight:700;color:var(--brand-dark);
  padding:12px 0;min-height:48px;display:flex;align-items:center;
}
details.faq p{padding-bottom:12px;margin:0}
.formula{
  background:var(--brand-soft);border-radius:10px;padding:12px 16px;
  font-weight:600;color:var(--brand-dark);margin:12px 0;
}
.qa{
  background:var(--brand-soft);border-left:4px solid var(--brand);border-radius:10px;
  padding:12px 16px;margin:14px 0;
}
.qa p{margin:0}

.related{margin-top:8px}
footer.site-footer{
  background:var(--brand-dark);color:#d9d2ba;margin-top:40px;
}
footer.site-footer .bar{max-width:780px;margin:0 auto;padding:26px 16px}
footer.site-footer a{color:#f0e9d2}
footer.site-footer nav{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px}
footer.site-footer nav a{font-weight:600;text-decoration:none}
footer.site-footer nav a:hover{text-decoration:underline}
footer.site-footer p{font-size:.88rem;margin:0 0 .6em;color:#c9c2a8}
.hub{scroll-margin-top:90px}
.small{font-size:.9rem;color:var(--ink-soft)}

/* ---------- Icons — one hand-drawn line set (see BUILD-NOTES "Icons") ----------
   Inline SVG, viewBox 0 0 24 24. Stroke style comes from this class and is
   inherited by the shapes inside; solid details (paw pads, eyes) use .fill.
   Single color only (currentColor) — one flat stroke, no fills, no emoji. */
.icon{
  width:1.25em;height:1.25em;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
  vertical-align:-.28em;
}
.icon .fill{fill:currentColor;stroke:none}
h1 .icon{width:1.05em;height:1.05em;vertical-align:-.13em;margin-right:.32em}
h3 .icon{margin-right:.35em}
.logo .icon{margin-right:.32em;vertical-align:-.24em}
.crumbs .icon{width:1.05em;height:1.05em;margin-right:.22em;vertical-align:-.16em}
.go .icon{width:1.05em;height:1.05em;margin-left:.28em;vertical-align:-.16em}
.notice .icon{margin-right:.3em}

/* ---------- Images (finishing pass) ---------- */
.hero-img{margin:20px 0 4px}
.hero-img img{width:100%;height:auto;max-height:340px;object-fit:cover;border-radius:var(--radius);display:block}
figure.article-img{margin:24px 0}
figure.article-img img{width:100%;height:auto;border-radius:var(--radius);display:block}
figure.article-img figcaption{font-size:.88rem;color:var(--ink-soft);margin-top:7px;text-align:center}

/* ---- Category themes (Set A, owner-chosen 2026-11-18) ----
   Header and footer stay brand blue on every page; the category
   colour drives buttons, headings, result panels and accents. */
.theme-age{--brand:#7c5cbf;--brand-dark:#5b3f99;--brand-soft:#eee8f9}
.theme-feeding{--brand:#e07b39;--brand-dark:#b25a1f;--brand-soft:#fcefe3}
.theme-pregnancy{--brand:#d96c8a;--brand-dark:#b04a68;--brand-soft:#fcebf1}
.theme-health{--brand:#2a9d8f;--brand-dark:#1e7a6e;--brand-soft:#e3f4f1}
.theme-fish{--brand:#0f97b5;--brand-dark:#0a6b80;--brand-soft:#e2f4f8}
.site-header,.site-footer{--brand:#1e74b4;--brand-dark:#12507e;--brand-soft:#e1eef7}

.ask-strip { margin-top: 24px; text-align: left; }
.ask-title { font-weight: 700; color: #12507e; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.ask-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.ask-card { display: block; background: #fff; border: 1px solid #d7e6f2; border-radius: 12px; padding: 12px 14px; text-decoration: none; }
.ask-card:hover { border-color: #1e74b4; }
.ask-card strong { display: block; color: #12507e; font-size: 15px; margin-bottom: 4px; }
.ask-card span { color: #4a5a68; font-size: 14px; line-height: 1.45; }

.site-search { position: relative; flex: 0 1 190px; max-width: 190px; min-width: 130px; }
.site-search input { width: 100%; padding: 8px 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-size: .9rem; min-height: 40px; }
.site-search input::placeholder { color: #c8d6de; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.28); overflow: hidden; z-index: 60; text-align: left; }
.search-results a { display: block; padding: 10px 12px; color: #1f2d38; text-decoration: none; font-size: .92rem; border-bottom: 1px solid #d5dee3; }
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: #e1eef7; }
.sr-none { padding: 10px 12px; color: #50626e; font-size: .9rem; margin: 0; }
.footer-links { display: grid; grid-template-columns: 2fr 1fr; gap: 6px 30px; margin-bottom: 16px; }
.foot-title { font-weight: 700; color: #f0e9d2; margin: 0 0 8px; font-size: .95rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 22px; }
.footer-links ul.one-col { columns: 1; }
.footer-links li { margin: 0 0 6px; break-inside: avoid; }
.footer-links a { font-weight: 400; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.foot-mail a { font-weight: 600; }
@media (max-width: 560px) { .footer-links { grid-template-columns: 1fr; } .site-search { flex: 1 1 150px; max-width: 180px; } }

/* Header layout: logo + compact search on row 1, nav on its own row */
/* Header: ONE line — logo, nav links, compact search on the right */
.site-header .site-search { flex: 0 1 165px; max-width: 165px; min-width: 120px; }
@media (max-width: 820px) {
  .site-header .bar { flex-wrap: wrap; row-gap: 4px; }
  .site-header .site-search { order: 2; margin-left: auto; flex: 0 1 150px; max-width: 150px; }
  .site-header .main-nav { order: 3; flex-basis: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .site-header .main-nav::-webkit-scrollbar { display: none; }
}

/* === Homepage v5 (PDF content, premium layout) === */
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand,#1e74b4);margin-bottom:.6rem}
.hero2{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;align-items:center;padding:2.2rem 0 1.4rem}
.hero2 h1{font-size:2.3rem;line-height:1.15;margin:.2rem 0 .8rem}
.hero2 p{margin:.55rem 0;color:#33475c}
.hero2-cta{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.1rem}
.btn.ghost{background:#fff;color:var(--brand,#1e74b4);border:2px solid var(--brand,#1e74b4)}
.hero2-img{margin:0;position:relative}
.hero2-img img{width:100%;height:auto;border-radius:18px;box-shadow:0 18px 40px rgba(18,80,126,.25);display:block}
.hero2-chip{position:absolute;left:14px;bottom:14px;background:rgba(18,80,126,.92);color:#fff;font-size:.85rem;font-weight:600;padding:.45rem .8rem;border-radius:999px}
.feat{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;background:#fdf1e7;border:1px solid #f3d9c2;border-radius:20px;padding:1.8rem;margin:1.6rem 0}
.feat h2{margin:.1rem 0 .6rem}
.feat-text p{color:#4a3a2c}
.ticks{list-style:none;padding:0;margin:1rem 0}
.ticks li{padding:.32rem 0 .32rem 1.7rem;position:relative}
.ticks li::before{content:"✓";position:absolute;left:0;top:.3rem;width:1.15rem;height:1.15rem;border-radius:50%;background:#e07b39;color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.feat-card{background:#fff;border-radius:16px;box-shadow:0 14px 34px rgba(90,50,10,.16);padding:1.3rem 1.3rem 1rem}
.feat-card h3{margin:.1rem 0 1rem;font-size:1.15rem}
.feat-card .field{margin-bottom:.85rem}
.feat-card .field-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.feat-card label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.35rem}
.feat-card input,.feat-card select{width:100%;padding:.6rem .7rem;border:1.5px solid #d8dee6;border-radius:10px;font-size:1rem;background:#fff}
.feat-card .result{background:#fdf6ee;border:1px solid #f0ddc8;border-radius:12px;padding:.9rem 1rem;margin-top:.4rem}
.feat-card .result .big{font-size:1.5rem;font-weight:800;color:#b45a1b}
.feat-card .result ul{margin:.5rem 0;padding-left:1.1rem}
.feat-card .result .sub{font-size:.85rem;color:#6b5a49;margin:.4rem 0 0}
.strip{overflow:hidden;border-top:1px solid #e3e9f0;border-bottom:1px solid #e3e9f0;padding:.9rem 0;margin:1.4rem 0;background:#fbfdff}
.strip-track{display:flex;gap:.9rem;width:max-content;animation:stripmove 46s linear infinite}
.strip img{height:150px;width:auto;border-radius:14px;display:block}
@keyframes stripmove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.scen-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.scen{background:#f4f9fd;border:1px solid #dbe9f5;border-radius:14px;padding:1.1rem 1.2rem}
.scen h3{margin:.1rem 0 .5rem;font-size:1.02rem}
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.split{background:#fff;border:1.5px solid #dbe9f5;border-radius:14px;padding:1.1rem 1.2rem}
.split h3{margin:.1rem 0 .5rem}
.hub-list{display:grid;gap:1rem}
.hub{background:#fff;border:1px solid #e3e9f0;border-left:6px solid var(--brand,#1e74b4);border-radius:12px;padding:1.1rem 1.2rem}
.hub h3{margin:.1rem 0 .5rem}
.tbl-wrap{overflow-x:auto;margin:.8rem 0}
.tbl{width:100%;border-collapse:collapse;font-size:.94rem;background:#fff}
.tbl th{background:var(--brand,#1e74b4);color:#fff;text-align:left;padding:.6rem .7rem}
.tbl td{padding:.55rem .7rem;border-bottom:1px solid #e3e9f0;vertical-align:top}
.tbl tbody tr:nth-child(even){background:#f4f9fd}
.card.soon{position:relative;padding-bottom:2.4rem}
.soon-chip{position:absolute;left:1.1rem;bottom:1rem;background:#eef4fa;color:#12507e;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .6rem;border-radius:999px}
.final{background:#f4f9fd;border:1px solid #dbe9f5;border-radius:16px;padding:1.4rem 1.5rem}
.updated-line{font-size:.85rem;color:#5a6b7d;border-top:1px solid #dbe9f5;padding-top:.8rem;margin-top:1rem}
@media (max-width:860px){.hero2,.feat{grid-template-columns:1fr}.scen-grid,.split-grid{grid-template-columns:1fr}.hero2 h1{font-size:1.8rem}.strip img{height:110px}}

/* === Homepage v5 fixes (buttons, cost theme, sections) === */
.btn{display:inline-block;background:var(--brand,#1e74b4);color:#fff;font-weight:700;padding:.75rem 1.4rem;border-radius:999px;text-decoration:none;box-shadow:0 8px 20px rgba(18,80,126,.25);border:2px solid var(--brand,#1e74b4)}
.btn:hover{background:var(--brand-dark,#12507e);border-color:var(--brand-dark,#12507e)}
.btn.ghost{background:#fff;color:var(--brand,#1e74b4)}
.btn.ghost:hover{background:#eef5fb}
.theme-cost{--brand:#1e74b4;--brand-dark:#12507e;--brand-soft:#e8f1f8}
.section{margin:2.4rem 0}

/* === Homepage v5 mobile polish === */
@media (max-width:560px){
  .feat-card .field-row{grid-template-columns:1fr}
  .feat{padding:1.1rem;gap:1.1rem}
  .hero2{padding-top:1.3rem;gap:1.1rem}
  .hero2-chip{font-size:.78rem;left:10px;bottom:10px}
  .tbl{font-size:.85rem}
  .strip img{height:96px}
  .scen,.split,.hub{padding:.95rem 1rem}
  .final{padding:1.1rem 1rem}
  .btn{padding:.7rem 1.1rem}
  .hero2-cta .btn{width:100%;text-align:center}
}

/* === Homepage v5 container fit (site wrap is 780px: hero + featured stack) === */
.hero2{grid-template-columns:1fr}
.feat{grid-template-columns:1fr}

/* === Premium redesign v6 (Eva's 2026-11-20 brief) === */
.phero{padding:2.2rem 0 .6rem}
.phero .eyebrow{display:inline-block;background:var(--brand-soft,#e8f1f8);color:var(--brand-dark,#12507e);border:1px solid #cfe2f0;padding:.35rem .9rem;border-radius:999px;font-weight:700;font-size:.85rem}
.phero h1{font-size:clamp(2.3rem,6.5vw,3.5rem);line-height:1.08;margin:.7rem 0 .8rem;letter-spacing:-.01em}
.phero h1 .accent{color:var(--brand,#1e74b4)}
.phero-img{position:relative;margin:1.4rem 0 0}
.phero-img img{width:100%;height:auto;border-radius:22px;display:block}
.result-card{position:absolute;left:14px;bottom:14px;background:#fff;border-radius:14px;box-shadow:0 12px 30px rgba(18,50,80,.22);padding:.65rem .95rem;display:flex;gap:.6rem;align-items:center;font-size:.92rem;line-height:1.3;margin:0}
.result-card .rc-check{background:#e5f3ea;color:#1d7a3a;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 26px}
.hero-search{position:relative;display:flex;background:#fff;border:2px solid var(--brand,#1e74b4);border-radius:999px;padding:5px;box-shadow:0 14px 34px rgba(18,80,126,.16);margin:1.6rem 0 .55rem}
.hero-search input{flex:1;border:none;outline:none;background:transparent;padding:.7rem 1.1rem;font-size:1.02rem;min-width:0;color:var(--ink)}
.hs-btn{background:var(--brand,#1e74b4);color:#fff;border:none;font-weight:700;font-size:1rem;padding:.7rem 1.5rem;border-radius:999px;cursor:pointer}
.hs-btn:hover{background:var(--brand-dark,#12507e)}
.hs-results{left:10px;right:10px;top:calc(100% + 8px)}
.hs-links{font-size:.95rem;color:var(--ink-soft);margin:.2rem 0 0}
.card.photo{padding:0;overflow:hidden}
.card.photo .pcard-img{width:100%;height:170px;object-fit:cover;display:block}
.pcard-body{padding:16px 18px 18px}
.explore{display:inline-block;margin-top:.65rem;background:var(--brand,#1e74b4);color:#fff;font-weight:700;padding:.55rem 1.25rem;border-radius:999px;text-decoration:none}
.explore:hover{background:var(--brand-dark,#12507e);color:#fff}
.hub .pcard-img{width:100%;height:180px;object-fit:cover;border-radius:12px;display:block;margin-bottom:.7rem}
.strip img{height:170px;border-radius:18px}
.site-search input{border-radius:999px}
.footer-links.wide{grid-template-columns:repeat(2,1fr);gap:10px 26px}
.footer-links.wide ul{columns:1}
@media(min-width:760px){.footer-links.wide{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.footer-links.wide{grid-template-columns:repeat(5,1fr)}}
@media(max-width:560px){.result-card{font-size:.85rem;left:10px;bottom:10px}.hero-search input{font-size:1rem}.hs-btn{padding:.65rem 1.1rem}.strip img{height:110px}}

/* === Wide homepage v7 (Eva: full-screen width, 2026-11-20) === */
.wrap.wide2{max-width:1200px}
@media(min-width:900px){
  .phero{display:grid;grid-template-columns:1.05fr .95fr;gap:2.2rem;align-items:start}
  .phero-img{margin-top:.4rem}
  .wrap.wide2 .grid{grid-template-columns:repeat(3,1fr)}
  .wrap.wide2 .hubs{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
  .wrap.wide2 .strip img{height:190px}
}

.phero-text{min-width:0}

/* === Hero cleanup v9 (example-style: light hero, short text) === */
.phero{background:linear-gradient(180deg,#eaf3fa,#f7fafc);border-radius:24px;padding:2.4rem 2rem;margin-top:1.2rem}
.phero .lede{font-size:1.13rem;color:var(--ink-soft);max-width:52ch;line-height:1.55}
.intro-text{padding:1.8rem 0 .2rem;max-width:840px}
@media(min-width:900px){.result-card{left:-12px}}
@media(max-width:560px){.phero{padding:1.5rem 1.1rem;border-radius:18px}}

/* === Featured section premium card (v9, example-style) === */
.feat-text h2{font-size:clamp(1.9rem,4vw,2.5rem);line-height:1.15}
.feat-card{background:#fff;border:1px solid #e3ecf3;border-radius:20px;box-shadow:0 24px 50px rgba(18,80,126,.14);padding:1.5rem}
.feat-card-title{font-weight:800;font-size:1.12rem;margin:0 0 1rem;color:var(--ink)}
.feat-card label{font-weight:600}
.feat-card input[type="number"],.feat-card select{padding:.8rem .9rem;border-radius:12px;font-size:1rem}
.calc-btn{display:block;width:100%;margin-top:1rem;background:var(--brand);color:#fff;font-weight:800;font-size:1.05rem;padding:.95rem 1rem;border:none;border-radius:999px;cursor:pointer}
.calc-btn:hover{background:var(--brand-dark)}

/* === Premium pass v12: menu, H2, FAQ, tables (Kamran feedback) === */
.main-nav a{padding:.5rem .85rem;border-radius:999px;font-weight:600;letter-spacing:.01em;transition:background .18s ease,color .18s ease}
.main-nav a:hover{background:rgba(255,255,255,.2);color:#fff}
main h2{font-size:1.55rem;line-height:1.25;text-align:center;margin-top:2em}
main h2::after{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--brand,#1e74b4);margin:.5rem auto 0}
.qa h2,.feat-text h2,.card h2,.hub-body h2{text-align:left}
.qa h2::after,.feat-text h2::after,.card h2::after,.hub-body h2::after{display:none}
details.faq{background:#fff;border:1px solid #e0eaf2;border-radius:16px;padding:6px 18px;margin:12px 0;box-shadow:0 6px 18px rgba(18,80,126,.07)}
details.faq summary{padding:14px 0;font-size:1.02rem}
details.faq summary::after{content:"+";margin-left:auto;flex:none;width:26px;height:26px;border-radius:50%;background:var(--brand-soft,#eaf3fa);color:var(--brand-dark,#12507e);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.05rem;line-height:1}
details.faq[open ]{border-color:var(--brand,#1e74b4)}
details.faq[open ] summary::after{content:"−"}
.tbl{border-collapse:separate;border-spacing:0;border:1px solid #dfe9f1;border-radius:14px;overflow:hidden;box-shadow:0 10px 26px rgba(18,80,126,.09)}
.tbl th{padding:.75rem .85rem;font-size:.98rem}
.tbl td{padding:.65rem .85rem}
.tbl tbody tr:last-child td{border-bottom:none}

/* === Mobile fixes v14 (Eva): menu shows all options, strip keeps moving === */
@media (max-width:820px){
  .site-header .main-nav{flex-wrap:wrap;overflow-x:visible;row-gap:2px}
  .site-header .main-nav a{padding:.42rem .45rem;font-size:.92rem}
  .strip-track{animation-duration:26s;-webkit-animation:stripmove 26s linear infinite;will-change:transform}
  .strip img{flex:0 0 auto}
}

/* === Search results width fix v16: tool names show in full === */
.search-results{left:auto;right:0;width:280px;max-width:86vw}
.search-results a{white-space:normal;line-height:1.35}
.hero-search .search-results{left:0;right:auto;width:100%}

/* === Header search pill v17 (example-style: icon + Search button) === */
.site-header .site-search{flex:0 1 300px;max-width:300px}
.site-search.pill{display:flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:4px 4px 4px 12px;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.site-search.pill .s-icon{display:flex;flex:none}
.site-search.pill input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-size:1rem;color:var(--ink);padding:.3rem 0}
.search-go{background:#1e74b4;color:#fff;border:none;font-weight:800;font-size:.92rem;padding:.52rem .95rem;border-radius:999px;cursor:pointer;white-space:nowrap;flex:none}
.search-go:hover{background:#12507e}
@media (max-width:820px){
  .site-header .site-search{flex:1 1 180px;max-width:230px}
  .search-go{padding:.46rem .75rem;font-size:.88rem}
}

/* === Image structure v18: uniform frames everywhere === */
.strip img{width:260px;height:170px;object-fit:cover}
.wrap.wide2 .strip img{width:270px;height:190px}
/* hero figure wraps the image exactly — no reserved empty space (fix 2026-11-21) */
@media (max-width:560px){.strip img{width:160px;height:110px}.wrap.wide2 .strip img{width:160px;height:110px}}

/* === Hub boxes v19: two per row, clear images === */
.hub-list{grid-template-columns:1fr 1fr;gap:1.2rem}
.hub-list .hub .pcard-img{height:auto;aspect-ratio:16/10}
@media (max-width:700px){.hub-list{grid-template-columns:1fr}}

/* === Header search button v20: solid pill, exact example style === */
.site-header .site-search{flex:0 0 auto;max-width:none}
.search-open{display:flex;align-items:center;gap:.5rem;background:#1e74b4;color:#fff;border:none;font-weight:800;font-size:1rem;padding:.62rem 1.3rem;border-radius:999px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18);white-space:nowrap}
.search-open:hover{background:#0f5a90}
.search-box{position:absolute;top:calc(100% + 8px);right:0;width:300px;max-width:86vw;background:#fff;border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.30);padding:10px;z-index:70}
.search-box input{width:100%;border:1.5px solid #c9d6e2;border-radius:10px;padding:.6rem .8rem;font-size:1rem;outline:none;color:var(--ink);box-sizing:border-box}
.search-box input:focus{border-color:#1e74b4}
.search-box .search-results{position:static;width:auto;max-width:none;box-shadow:none;margin-top:6px}

/* === Author byline v21 === */
.byline{color:var(--muted);font-size:.92rem;margin:.2rem 0 1rem}

/* Footer guides row + smaller footer text (Eva, 2026-11-21) */
.foot-guides{margin-top:16px;padding-top:13px;border-top:1px solid rgba(255,255,255,.18);font-size:.8rem;line-height:2;color:#cfe3f2}
.foot-guides .fg-label{font-weight:700;color:#fff;margin-right:10px;letter-spacing:.05em;text-transform:uppercase;font-size:.7rem}
.foot-guides a{color:#cfe3f2;text-decoration:none}
.foot-guides a:hover{color:#fff;text-decoration:underline}
.foot-guides a:not(:last-child)::after{content:"\00B7";margin:0 9px;opacity:.55}
footer p,.foot-col a{font-size:.88rem}

/* Premium footer (v37, 2026-11-22) */
footer.site-footer.pf{background:linear-gradient(180deg,#12507e 0%,#0c3a5e 100%);color:#d7e7f3}
footer.site-footer.pf .pf-bar{max-width:1200px;margin:0 auto;padding:46px 24px 0}
.pf-top{display:grid;grid-template-columns:290px 1fr;gap:44px}
.pf-brand .pf-logo{display:inline-block;margin-bottom:14px}
.pf-brand .pf-logo img{display:block;height:50px;width:auto}
.pf-brand p{color:#bcd6ea;font-size:.92rem;line-height:1.55;margin:0 0 12px}
.pf-brand .pf-mail a{color:#fff;font-weight:600;text-decoration:none}
.pf-brand .pf-mail a:hover{text-decoration:underline}
.pf-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.pf-cols .foot-title{color:#fff;font-size:.95rem;margin:2px 0 10px}
.pf-cols ul{list-style:none;margin:0;padding:0}
.pf-cols li{margin:0 0 7px}
.pf-cols a{color:#cfe2f0;text-decoration:none;font-size:.9rem;font-weight:400}
.pf-cols a:hover{color:#fff;text-decoration:underline}
footer.site-footer.pf .foot-guides{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.16);display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline}
footer.site-footer.pf .foot-guides .fg-label{color:#fff;font-weight:700;font-size:.9rem;margin-right:2px}
footer.site-footer.pf .foot-guides a{color:#cfe2f0;font-size:.88rem;text-decoration:none}
footer.site-footer.pf .foot-guides a:hover{color:#fff;text-decoration:underline}
.pf-bottom{margin-top:22px;border-top:1px solid rgba(255,255,255,.16);padding:16px 0 20px;display:flex;justify-content:space-between;gap:10px 30px;flex-wrap:wrap}
.pf-bottom p{margin:0;color:#a9c8de;font-size:.88rem}
@media (max-width:1020px){.pf-top{grid-template-columns:1fr;gap:30px}.pf-cols{grid-template-columns:repeat(3,1fr)}}
@media (max-width:620px){.pf-cols{grid-template-columns:repeat(2,1fr)}.pf-bottom{flex-direction:column}}
