/* =============================================================================
   WaterMythGuide.one — Core stylesheet
   Loaded after Bootstrap 5 so these rules win. Design language: clean,
   trustworthy, water-science editorial. Palette keyed to the brand.
   ========================================================================== */

:root{
  --brand:#1273c9; --brand-600:#0f5fb0; --brand-700:#0c4d90;
  --brand-050:#eaf5ff; --brand-100:#d6ebfc; --brand-200:#bfe0fb;
  --aqua:#12b5a6; --aqua-050:#e6faf7; --aqua-600:#0e9488;
  --ink:#0f2436; --ink-soft:#3b566b; --muted:#6c8196;
  --bg:#ffffff; --bg-soft:#f4f9fd; --bg-softer:#eef6fc;
  --line:#e2ebf3; --line-soft:#eef3f8;
  --myth:#d94a3d; --myth-050:#fdeeec; --fact:#159d78; --fact-050:#e9f8f1;
  --warn:#c98a00; --warn-050:#fdf6e3;
  --shadow-sm:0 1px 2px rgba(15,36,54,.06), 0 2px 6px rgba(15,36,54,.05);
  --shadow:0 8px 24px rgba(15,54,92,.08), 0 2px 6px rgba(15,54,92,.05);
  --shadow-lg:0 24px 60px rgba(12,63,120,.14);
  --radius-sm:10px; --radius:16px; --radius-lg:24px; --radius-pill:999px;
  --font-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --font-display:'Fraunces','Iowan Old Style',Georgia,'Times New Roman',serif;
  --container:1180px;
}

*{ -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *{ animation:none!important; transition:none!important; } }

body.wmg{
  font-family:var(--font-sans);
  color:var(--ink);
  background:var(--bg);
  font-size:1.02rem;
  line-height:1.7;
}
.container{ max-width:var(--container); }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); font-weight:600; line-height:1.18; letter-spacing:-.01em; }
h1{ font-weight:640; }
p{ margin:0 0 1rem; }
a{ color:var(--brand-600); text-decoration:none; }
a:hover{ color:var(--brand-700); text-decoration:underline; }
strong{ color:var(--ink); font-weight:650; }
main{ display:block; }
img{ max-width:100%; height:auto; }
hr{ border-color:var(--line); opacity:1; }

/* ---- helpers ---------------------------------------------------------- */
.text-brand{ color:var(--brand)!important; }
.text-aqua{ color:var(--aqua-600)!important; }
.text-muted-2{ color:var(--muted)!important; }
.bg-soft{ background:var(--bg-soft); }
.wmg-ico{ vertical-align:-.18em; }
.ico-xs{ width:15px;height:15px; } .ico-sm{ width:18px;height:18px; }
.ico-lg{ width:30px;height:30px; } .ico-xl{ width:40px;height:40px; }
.lead-2{ font-size:1.16rem; color:var(--ink-soft); line-height:1.65; }
.wmg-skip{ position:absolute; z-index:2000; left:12px; top:10px; background:#fff; padding:.5rem .9rem; border-radius:8px; box-shadow:var(--shadow); }

/* section rhythm */
.section{ padding:clamp(3rem,6vw,5.5rem) 0; }
.section--tight{ padding:clamp(2.2rem,4vw,3.4rem) 0; }
.section--soft{ background:var(--bg-soft); }
.section--softer{ background:linear-gradient(180deg,var(--bg-softer),var(--bg-soft)); }
.section--brand{ background:radial-gradient(1200px 500px at 15% -10%,#123c66,#0a2a43 60%); color:#dff0ff; }
.section--brand h2,.section--brand h3{ color:#fff; }
.section--brand p{ color:#bcd7ee; }

.section__head{ max-width:760px; margin:0 auto clamp(2rem,4vw,3rem); text-align:center; }
.section__head--left{ margin-left:0; text-align:left; }
.eyebrow{ display:inline-flex; align-items:center; gap:.45rem; font-family:var(--font-sans); font-weight:650;
  font-size:.78rem; letter-spacing:.13em; text-transform:uppercase; color:var(--brand-600);
  background:var(--brand-050); border:1px solid var(--brand-100); padding:.34rem .7rem; border-radius:var(--radius-pill); margin-bottom:1rem; }
.section--brand .eyebrow{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.16); color:#bfe0fb; }
.section__title{ font-size:clamp(1.7rem,3.4vw,2.5rem); margin:0 0 .8rem; }
.section__lead{ font-size:1.12rem; color:var(--ink-soft); margin:0; }
.section--brand .section__lead{ color:#bcd7ee; }

/* =============================================================================
   Buttons
   ========================================================================== */
.btn{ font-family:var(--font-sans); font-weight:600; border-radius:var(--radius-pill); padding:.66rem 1.25rem; display:inline-flex; align-items:center; gap:.4rem; transition:transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:active{ transform:translateY(1px); }
.btn-brand{ background:var(--brand); border:1px solid var(--brand); color:#fff; box-shadow:0 6px 16px rgba(18,115,201,.28); }
.btn-brand:hover{ background:var(--brand-600); border-color:var(--brand-600); color:#fff; box-shadow:0 10px 24px rgba(18,115,201,.34); text-decoration:none; }
.btn-outline-brand{ background:#fff; border:1.5px solid var(--brand-200); color:var(--brand-700); }
.btn-outline-brand:hover{ border-color:var(--brand); background:var(--brand-050); color:var(--brand-700); text-decoration:none; }
.btn-ghost{ background:transparent; border:1.5px solid rgba(255,255,255,.4); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.12); color:#fff; text-decoration:none; }
.btn-lg{ padding:.85rem 1.6rem; font-size:1.05rem; }

/* =============================================================================
   Header / navigation
   ========================================================================== */
.wmg-topbar{ background:var(--ink); color:#c8ddf0; font-size:.82rem; }
.wmg-topbar .container{ min-height:38px; }
.wmg-topbar__note{ padding:.35rem 0; color:#bcd3e8; }
.wmg-topbar__links{ display:flex; gap:1.1rem; }
.wmg-topbar__links a{ color:#bcd3e8; font-weight:500; }
.wmg-topbar__links a:hover{ color:#fff; text-decoration:none; }
@media (max-width:575px){ .wmg-topbar__links{ display:none; } }

.wmg-header{ position:sticky; top:0; z-index:1030; }
.wmg-navbar{ background:rgba(255,255,255,.92); backdrop-filter:saturate(140%) blur(8px); border-bottom:1px solid var(--line); padding:.5rem 0; }
.wmg-navbar.is-stuck{ box-shadow:var(--shadow); }

.wmg-brand{ display:inline-flex; align-items:center; gap:.6rem; }
.wmg-brand__text{ font-family:var(--font-display); font-weight:640; font-size:1.32rem; color:var(--ink); letter-spacing:-.02em; line-height:1; }
.wmg-brand__text span{ color:var(--brand); }
.wmg-brand__text em{ font-style:normal; color:var(--aqua-600); font-weight:600; }
.wmg-brand:hover{ text-decoration:none; }

.wmg-nav .nav-link{ font-weight:550; color:var(--ink-soft); padding:.55rem .85rem; border-radius:8px; }
.wmg-nav .nav-link:hover{ color:var(--brand-700); background:var(--brand-050); }
.wmg-nav .nav-link.active{ color:var(--brand-700); }
.wmg-nav .nav-link.active::after{ content:""; display:block; height:2px; background:var(--brand); border-radius:2px; margin-top:.15rem; }

.wmg-search{ position:relative; }
.wmg-search__ico{ position:absolute; left:.7rem; top:50%; transform:translateY(-50%); color:var(--muted); pointer-events:none; }
.wmg-search .form-control{ border-radius:var(--radius-pill); border:1px solid var(--line); background:var(--bg-soft); padding-left:2.2rem; min-width:210px; }
.wmg-search .form-control:focus{ border-color:var(--brand-200); box-shadow:0 0 0 .2rem rgba(18,115,201,.14); background:#fff; }
.wmg-nav__cta{ white-space:nowrap; }
@media (max-width:991px){
  .wmg-search{ margin:.6rem 0; } .wmg-search .form-control{ min-width:100%; }
  .wmg-nav__cta{ margin:.4rem 0 0; }
  .wmg-nav .nav-link.active::after{ display:none; }
}

/* Mega menu */
.wmg-mega{ border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:1.25rem; margin-top:.5rem; }
@media (min-width:992px){ .wmg-mega{ min-width:640px; } }
.wmg-mega__grid{ display:grid; grid-template-columns:1.15fr 1fr; gap:1.5rem; }
@media (max-width:991px){ .wmg-mega{ min-width:auto; } .wmg-mega__grid{ grid-template-columns:1fr; gap:1rem; } }
.wmg-mega__title{ font-family:var(--font-sans); font-weight:700; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:0 0 .6rem; }
.wmg-mega__list{ list-style:none; padding:0; margin:0; }
.wmg-mega__list li{ margin-bottom:.15rem; }
.wmg-mega__list a{ display:flex; align-items:center; padding:.4rem .5rem; border-radius:8px; color:var(--ink-soft); font-weight:500; font-size:.95rem; }
.wmg-mega__list a:hover{ background:var(--brand-050); color:var(--brand-700); text-decoration:none; }
.wmg-mega__featured{ background:var(--bg-soft); border-radius:var(--radius); padding:1rem; }

/* =============================================================================
   Breadcrumb
   ========================================================================== */
.wmg-breadcrumb{ background:var(--bg-soft); border-bottom:1px solid var(--line); }
.wmg-breadcrumb .breadcrumb{ padding:.7rem 0; font-size:.9rem; }
.wmg-breadcrumb .breadcrumb-item a{ color:var(--muted); display:inline-flex; align-items:center; }
.wmg-breadcrumb .breadcrumb-item a:hover{ color:var(--brand-700); }
.wmg-breadcrumb .breadcrumb-item.active{ color:var(--ink); font-weight:550; }
.wmg-breadcrumb .breadcrumb-item+.breadcrumb-item::before{ content:"/"; color:var(--line); }

/* =============================================================================
   Hero
   ========================================================================== */
.wmg-hero{ position:relative; background:linear-gradient(180deg,#f2f9ff 0%, #eaf4fd 55%, #ffffff 100%); overflow:hidden; padding:clamp(2.6rem,5vw,4.6rem) 0 clamp(3rem,6vw,5rem); }
.wmg-hero::before{ content:""; position:absolute; inset:0; background:radial-gradient(760px 380px at 88% 8%, rgba(18,181,166,.14), transparent 60%); pointer-events:none; }
.wmg-hero__grid{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(1.5rem,4vw,3rem); align-items:center; position:relative; z-index:1; }
@media (max-width:900px){ .wmg-hero__grid{ grid-template-columns:1fr; text-align:center; } }
.wmg-hero__title{ font-size:clamp(2.1rem,5.2vw,3.5rem); line-height:1.06; margin:0 0 1.1rem; }
.wmg-hero__title span{ color:var(--brand); }
.wmg-hero__lead{ font-size:1.2rem; color:var(--ink-soft); max-width:36ch; margin:0 0 1.6rem; }
@media (max-width:900px){ .wmg-hero__lead{ margin-inline:auto; } }
.wmg-hero__cta{ display:flex; flex-wrap:wrap; gap:.7rem; margin-bottom:1.7rem; }
@media (max-width:900px){ .wmg-hero__cta{ justify-content:center; } }
.wmg-hero__trust{ display:flex; flex-wrap:wrap; gap:1.25rem; color:var(--ink-soft); font-size:.92rem; font-weight:500; }
@media (max-width:900px){ .wmg-hero__trust{ justify-content:center; } }
.wmg-hero__trust span{ display:inline-flex; align-items:center; gap:.4rem; }
.wmg-hero__trust .wmg-ico{ color:var(--aqua-600); }
.wmg-hero__visual{ position:relative; }
.wmg-hero__visual img{ width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); border:1px solid #fff; }
.wmg-hero__badge{ position:absolute; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:.6rem .8rem; display:flex; align-items:center; gap:.55rem; font-weight:600; font-size:.86rem; }
.wmg-hero__badge .wmg-ico{ color:var(--brand); }
.wmg-hero__badge--tl{ top:14px; left:-10px; } .wmg-hero__badge--br{ bottom:16px; right:-8px; }
@media (max-width:900px){ .wmg-hero__badge{ display:none; } }

.wmg-hero__stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:2.4rem; position:relative; z-index:1; }
@media (max-width:700px){ .wmg-hero__stats{ grid-template-columns:repeat(2,1fr); } }
.wmg-stat{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.1rem 1.2rem; box-shadow:var(--shadow-sm); }
.wmg-stat__num{ font-family:var(--font-display); font-size:1.9rem; font-weight:640; color:var(--brand-700); line-height:1; }
.wmg-stat__label{ font-size:.86rem; color:var(--muted); margin-top:.3rem; }

/* =============================================================================
   Cards
   ========================================================================== */
.card-grid{ display:grid; gap:1.4rem; }
.cols-2{ grid-template-columns:repeat(2,1fr); }
.cols-3{ grid-template-columns:repeat(3,1fr); }
.cols-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .cols-3,.cols-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .cols-2,.cols-3,.cols-4{ grid-template-columns:1fr; } }

.u-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .22s ease, border-color .2s ease; display:flex; flex-direction:column; height:100%; }
.u-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--brand-200); }
.u-card__ico{ width:52px; height:52px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(140deg,var(--brand-050),var(--aqua-050)); color:var(--brand); margin-bottom:1rem; }
.u-card__ico .wmg-ico{ width:26px; height:26px; }
.u-card h3{ font-size:1.16rem; margin:0 0 .5rem; }
.u-card p{ color:var(--ink-soft); font-size:.96rem; margin:0 0 1rem; }
.u-card__meta{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:.5rem; font-size:.82rem; color:var(--muted); padding-top:.6rem; border-top:1px solid var(--line-soft); }
.u-card__tag{ display:inline-flex; align-items:center; gap:.3rem; font-weight:600; color:var(--brand-700); background:var(--brand-050); padding:.2rem .6rem; border-radius:var(--radius-pill); font-size:.76rem; }
.u-card__link{ font-weight:650; color:var(--brand-700); display:inline-flex; align-items:center; gap:.3rem; }
.u-card__link:hover{ gap:.55rem; text-decoration:none; }
.u-card__stars{ display:inline-flex; align-items:center; gap:.25rem; color:#f5a524; font-weight:600; color:var(--ink-soft); }
.u-card__stars .wmg-ico{ color:#f5a524; }

.cat-card{ text-align:left; }
.post-card__date{ font-size:.8rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.05em; }

/* =============================================================================
   Myth vs Fact
   ========================================================================== */
.mvf{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
@media (max-width:700px){ .mvf{ grid-template-columns:1fr; } }
.mvf__col{ border-radius:var(--radius); padding:1.3rem 1.4rem; border:1px solid; }
.mvf__myth{ background:var(--myth-050); border-color:#f4cfc9; }
.mvf__fact{ background:var(--fact-050); border-color:#c3ead9; }
.mvf__badge{ display:inline-flex; align-items:center; gap:.4rem; font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; padding:.28rem .7rem; border-radius:var(--radius-pill); margin-bottom:.7rem; }
.mvf__myth .mvf__badge{ background:var(--myth); color:#fff; }
.mvf__fact .mvf__badge{ background:var(--fact); color:#fff; }
.mvf__col p{ margin:0; color:var(--ink-soft); }
.mvf__col p strong{ color:var(--ink); }

/* comparison table */
.wmg-table-wrap{ overflow-x:auto; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-sm); }
table.wmg-table{ width:100%; border-collapse:collapse; background:#fff; min-width:560px; margin:0; }
table.wmg-table caption{ caption-side:top; text-align:left; padding:.9rem 1.1rem; font-weight:600; color:var(--ink-soft); background:var(--bg-soft); }
table.wmg-table th, table.wmg-table td{ padding:.85rem 1.1rem; border-bottom:1px solid var(--line-soft); text-align:left; vertical-align:top; font-size:.96rem; }
table.wmg-table thead th{ background:var(--ink); color:#eaf4ff; font-family:var(--font-sans); font-weight:600; font-size:.86rem; letter-spacing:.02em; }
table.wmg-table thead th:first-child{ border-top-left-radius:0; }
table.wmg-table tbody tr:nth-child(even){ background:var(--bg-soft); }
table.wmg-table tbody tr:hover{ background:var(--brand-050); }
table.wmg-table td:first-child{ font-weight:600; color:var(--ink); }
.cell-yes{ color:var(--fact); font-weight:650; } .cell-no{ color:var(--myth); font-weight:650; } .cell-mid{ color:var(--warn); font-weight:650; }

/* =============================================================================
   Infoboxes / callouts
   ========================================================================== */
.infobox{ border:1px solid var(--line); border-left:4px solid var(--brand); background:var(--bg-soft); border-radius:12px; padding:1.1rem 1.25rem; margin:1.4rem 0; display:flex; gap:.9rem; }
.infobox__ico{ flex:0 0 auto; width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background:#fff; color:var(--brand); border:1px solid var(--line); }
.infobox h4{ font-family:var(--font-sans); font-size:1rem; font-weight:700; margin:0 0 .3rem; }
.infobox p{ margin:0; color:var(--ink-soft); font-size:.96rem; }
.infobox--fact{ border-left-color:var(--fact); } .infobox--fact .infobox__ico{ color:var(--fact); }
.infobox--tip{ border-left-color:var(--aqua-600); } .infobox--tip .infobox__ico{ color:var(--aqua-600); }
.infobox--warn{ border-left-color:var(--warn); background:var(--warn-050); } .infobox--warn .infobox__ico{ color:var(--warn); }
.infobox--key{ border-left-color:var(--brand); background:var(--brand-050); }

/* =============================================================================
   Timeline
   ========================================================================== */
.wmg-timeline{ list-style:none; margin:1.5rem 0 0; padding:0; position:relative; }
.wmg-timeline::before{ content:""; position:absolute; left:15px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--brand-200),var(--aqua)); }
.wmg-timeline li{ position:relative; padding:0 0 1.5rem 3rem; }
.wmg-timeline li:last-child{ padding-bottom:0; }
.wmg-timeline__dot{ position:absolute; left:6px; top:2px; width:20px; height:20px; border-radius:50%; background:#fff; border:3px solid var(--brand); }
.wmg-timeline__year{ font-family:var(--font-display); font-weight:640; color:var(--brand-700); font-size:1.05rem; }
.wmg-timeline p{ margin:.2rem 0 0; color:var(--ink-soft); font-size:.97rem; }

/* =============================================================================
   Bar chart (pure CSS)
   ========================================================================== */
.wmg-bars{ display:flex; flex-direction:column; gap:.85rem; margin:1.4rem 0 0; }
.wmg-bar{ display:grid; grid-template-columns:180px 1fr; gap:1rem; align-items:center; }
@media (max-width:600px){ .wmg-bar{ grid-template-columns:120px 1fr; } }
.wmg-bar__label{ font-size:.9rem; color:var(--ink-soft); font-weight:550; }
.wmg-bar__track{ background:var(--bg-softer); border-radius:var(--radius-pill); height:26px; position:relative; overflow:hidden; }
.wmg-bar__fill{ height:100%; border-radius:var(--radius-pill); background:linear-gradient(90deg,var(--brand),var(--aqua)); display:flex; align-items:center; justify-content:flex-end; padding-right:.6rem; color:#fff; font-size:.78rem; font-weight:700; min-width:2.4rem; transition:width 1s cubic-bezier(.2,.7,.2,1); }
.wmg-js .wmg-bar__fill{ width:0!important; }
.wmg-js .wmg-bar.is-in .wmg-bar__fill{ width:var(--w)!important; }

/* =============================================================================
   Roadmap
   ========================================================================== */
.wmg-roadmap{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.1rem; counter-reset:step; }
@media (max-width:900px){ .wmg-roadmap{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .wmg-roadmap{ grid-template-columns:1fr; } }
.wmg-step{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem; position:relative; box-shadow:var(--shadow-sm); }
.wmg-step__n{ font-family:var(--font-display); font-weight:640; font-size:1.1rem; width:40px; height:40px; border-radius:50%; background:var(--brand-050); color:var(--brand-700); display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--brand-100); margin-bottom:.7rem; }
.wmg-step h3{ font-size:1.05rem; margin:0 0 .35rem; }
.wmg-step p{ font-size:.92rem; color:var(--ink-soft); margin:0; }

/* =============================================================================
   Testimonials
   ========================================================================== */
.quote-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem; box-shadow:var(--shadow-sm); height:100%; display:flex; flex-direction:column; }
.quote-card__mark{ color:var(--brand-200); margin-bottom:.4rem; }
.quote-card blockquote{ margin:0 0 1rem; font-size:1.02rem; color:var(--ink); line-height:1.6; }
.quote-card__who{ margin-top:auto; display:flex; align-items:center; gap:.75rem; }
.quote-card__avatar{ width:42px; height:42px; border-radius:50%; background:linear-gradient(140deg,var(--brand),var(--aqua)); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-display); }
.quote-card__name{ font-weight:650; color:var(--ink); font-size:.95rem; }
.quote-card__role{ font-size:.82rem; color:var(--muted); }

/* =============================================================================
   Newsletter / CTA band
   ========================================================================== */
.wmg-newsletter{ background:linear-gradient(135deg,#0f5fb0,#0a2a43); border-radius:var(--radius-lg); padding:clamp(1.8rem,4vw,3rem); color:#eaf4ff; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.wmg-newsletter::after{ content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle,rgba(18,181,166,.35),transparent 65%); }
.wmg-newsletter h2{ color:#fff; }
.wmg-newsletter .form-control{ border-radius:var(--radius-pill); border:none; padding:.85rem 1.2rem; }
.wmg-newsletter .form-note{ font-size:.82rem; color:#a9cdec; margin-top:.6rem; }
.wmg-newsletter__ok{ background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); border-radius:12px; padding:.8rem 1rem; }

.cta-band{ background:linear-gradient(135deg,var(--brand-050),var(--aqua-050)); border:1px solid var(--brand-100); border-radius:var(--radius-lg); padding:clamp(1.6rem,4vw,2.6rem); text-align:center; }
.cta-band h2{ margin-bottom:.6rem; }

/* =============================================================================
   FAQ accordion
   ========================================================================== */
.wmg-faq .accordion-item{ border:1px solid var(--line); border-radius:12px!important; margin-bottom:.7rem; overflow:hidden; box-shadow:var(--shadow-sm); }
.wmg-faq .accordion-button{ font-weight:600; color:var(--ink); font-size:1.03rem; padding:1.05rem 1.2rem; }
.wmg-faq .accordion-button:not(.collapsed){ background:var(--brand-050); color:var(--brand-700); box-shadow:none; }
.wmg-faq .accordion-button:focus{ box-shadow:0 0 0 .2rem rgba(18,115,201,.18); }
.wmg-faq .accordion-button::after{ background-size:1.05rem; }
.wmg-faq .accordion-body{ color:var(--ink-soft); padding:0 1.2rem 1.2rem; }

/* =============================================================================
   Rating widget
   ========================================================================== */
.wmg-rating{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.6rem; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1rem 1.25rem; box-shadow:var(--shadow-sm); }
.wmg-rating__agg{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
.wmg-stars{ position:relative; display:inline-block; line-height:0; }
.wmg-stars__bg{ color:#d6e2ee; display:inline-flex; }
.wmg-stars__fg{ color:#f5a524; position:absolute; left:0; top:0; overflow:hidden; white-space:nowrap; display:inline-flex; }
.wmg-rating__num{ font-size:1.05rem; color:var(--ink); }
.wmg-rating__num strong{ font-family:var(--font-display); font-size:1.25rem; color:var(--ink); }
.wmg-rating__count{ font-size:.86rem; color:var(--muted); }
.wmg-rating__cast{ display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; padding-left:1rem; border-left:1px solid var(--line); }
@media (max-width:560px){ .wmg-rating__cast{ border-left:none; padding-left:0; } }
.wmg-rating__prompt{ font-size:.9rem; color:var(--ink-soft); font-weight:550; }
.wmg-rating__star{ background:none; border:none; padding:.1rem; color:#d6e2ee; cursor:pointer; line-height:0; transition:color .12s ease, transform .12s ease; }
.wmg-rating__star:hover{ transform:scale(1.12); }
.wmg-rating__star.is-active{ color:#f5a524; }
.wmg-rating__thanks{ font-size:.9rem; color:var(--fact); font-weight:650; }

/* =============================================================================
   Footer
   ========================================================================== */
.wmg-footer{ background:#08202f; color:#a9c3d8; padding:clamp(2.6rem,5vw,3.6rem) 0 1.6rem; margin-top:2rem; }
.wmg-footer__top{ padding-bottom:1.6rem; border-bottom:1px solid rgba(255,255,255,.08); }
.wmg-brand--footer .wmg-brand__text{ color:#fff; font-size:1.2rem; }
.wmg-brand--footer .wmg-brand__text span{ color:#43b6f0; } .wmg-brand--footer .wmg-brand__text em{ color:#3fd3c4; }
.wmg-footer__about{ margin-top:.9rem; font-size:.92rem; color:#93b0c8; line-height:1.65; }
.wmg-footer__contact{ font-size:.9rem; } .wmg-footer__contact a{ color:#bcd7ee; }
.wmg-footer__h{ font-family:var(--font-sans); font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:#6e8fa8; margin:0 0 .9rem; font-weight:700; }
.wmg-footer__list{ list-style:none; padding:0; margin:0; }
.wmg-footer__list li{ margin-bottom:.5rem; }
.wmg-footer__list a{ color:#a9c3d8; font-size:.93rem; }
.wmg-footer__list a:hover{ color:#fff; text-decoration:none; }
.wmg-footer__list--2col{ columns:2; column-gap:1.2rem; }
.wmg-footer__disclaimer{ display:flex; gap:.7rem; align-items:flex-start; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:1rem 1.15rem; margin:1.6rem 0 1.2rem; }
.wmg-footer__disclaimer .wmg-ico{ color:#3fd3c4; flex:0 0 auto; margin-top:2px; }
.wmg-footer__disclaimer p{ font-size:.86rem; color:#9fbdd4; }
.wmg-footer__bottom{ display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content:space-between; font-size:.84rem; color:#6e8fa8; padding-top:.6rem; }

/* back to top */
.wmg-totop{ position:fixed; right:20px; bottom:20px; z-index:1040; width:46px; height:46px; border-radius:50%; border:none; background:var(--brand); color:#fff; box-shadow:var(--shadow); transform:rotate(-90deg); display:inline-flex; align-items:center; justify-content:center; opacity:0; transition:opacity .25s ease; }
.wmg-totop.is-show{ opacity:1; }

/* reveal on scroll */
.wmg-js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.wmg-js .reveal.is-in{ opacity:1; transform:none; }

/* prose helper for long-form content */
.prose h2{ font-size:1.6rem; margin:2.2rem 0 .8rem; }
.prose h3{ font-size:1.28rem; margin:1.8rem 0 .6rem; }
.prose ul,.prose ol{ margin:0 0 1.1rem; padding-left:1.3rem; }
.prose li{ margin-bottom:.4rem; }
.prose a{ text-decoration:underline; text-underline-offset:2px; }
.anchor-offset{ scroll-margin-top:120px; }

/* =============================================================================
   PHASE 2 — listings, guide detail, category, resources, legal, search
   ========================================================================== */
.page-hero{ background:linear-gradient(180deg,#f2f9ff,#eaf4fd 72%,#fff); border-bottom:1px solid var(--line); padding:clamp(2rem,4vw,3.4rem) 0; }
.page-hero__title{ font-size:clamp(1.9rem,4vw,2.9rem); margin:.3rem 0 .7rem; }
.page-hero__lead{ font-size:1.14rem; color:var(--ink-soft); max-width:72ch; margin:0; }

/* Guide detail */
.wmg-guide__hero{ background:linear-gradient(180deg,#f2f9ff,#eaf4fd 72%,#fff); border-bottom:1px solid var(--line); padding:clamp(2rem,4vw,3.2rem) 0 clamp(1.4rem,3vw,2.2rem); }
.wmg-guide__title{ font-size:clamp(1.9rem,4.4vw,3rem); margin:.3rem 0 .7rem; max-width:20ch; }
.wmg-guide__lede{ font-size:1.2rem; color:var(--ink-soft); max-width:60ch; margin:0; }
.wmg-guide__meta{ display:flex; flex-wrap:wrap; gap:.45rem 1.15rem; color:var(--muted); font-size:.9rem; font-weight:500; margin-top:1.1rem; }
.wmg-guide__meta span{ display:inline-flex; align-items:center; gap:.35rem; }
.wmg-guide__meta-stars .wmg-stars__bg{ color:#d6e2ee; } .wmg-guide__meta-stars .wmg-stars__fg{ color:#f5a524; }
.wmg-guide__grid{ margin-top:2.2rem; }
.prose > section > h2, .prose > h2{ font-size:1.55rem; margin:2.2rem 0 .8rem; scroll-margin-top:110px; }
.prose p{ margin:0 0 1rem; }
.wmg-side{ position:sticky; top:96px; display:flex; flex-direction:column; gap:1rem; }
@media (max-width:991px){ .wmg-side{ position:static; } }
.wmg-side__box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.1rem 1.2rem; box-shadow:var(--shadow-sm); }
.wmg-side__box--brand{ background:var(--brand-050); border-color:var(--brand-100); }
.wmg-side__h{ font-family:var(--font-sans); font-weight:700; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 .7rem; display:flex; align-items:center; gap:.4rem; }
.wmg-toc{ list-style:none; margin:0; padding:0; }
.wmg-toc a{ display:block; padding:.35rem .6rem; border-left:2px solid var(--line); color:var(--ink-soft); font-size:.92rem; }
.wmg-toc a:hover,.wmg-toc a.active{ border-left-color:var(--brand); color:var(--brand-700); background:var(--brand-050); text-decoration:none; }
.wmg-side__links{ list-style:none; margin:0; padding:0; }
.wmg-side__links li{ margin-bottom:.4rem; }
.wmg-side__links a{ display:flex; gap:.4rem; align-items:flex-start; color:var(--ink-soft); font-size:.93rem; font-weight:500; }
.wmg-side__links a:hover{ color:var(--brand-700); text-decoration:none; }
.wmg-guide__related{ margin:2.6rem 0 1rem; border-top:1px solid var(--line); padding-top:2rem; }
.wmg-guide__disclaimer{ margin-top:1.6rem; font-size:.85rem; color:var(--muted); background:var(--bg-soft); border:1px solid var(--line); border-radius:10px; padding:.7rem .9rem; display:flex; gap:.5rem; align-items:flex-start; }
.wmg-guide__disclaimer .wmg-ico{ color:var(--aqua-600); flex:0 0 auto; margin-top:2px; }

/* Filters */
.wmg-filters{ display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-bottom:1.8rem; }
.wmg-filter{ border:1px solid var(--line); background:#fff; color:var(--ink-soft); border-radius:var(--radius-pill); padding:.42rem .95rem; font-weight:600; font-size:.86rem; cursor:pointer; transition:all .15s ease; }
.wmg-filter:hover{ border-color:var(--brand-200); color:var(--brand-700); }
.wmg-filter.is-active{ background:var(--brand); border-color:var(--brand); color:#fff; }
.js-hidden{ display:none!important; }
.wmg-noresults{ text-align:center; color:var(--muted); padding:2rem 0; }

/* Legal / prose pages */
.prose-page{ max-width:820px; margin:0 auto; }
.prose-page h2{ font-size:1.5rem; margin:2rem 0 .7rem; }
.prose-page h3{ font-size:1.2rem; margin:1.4rem 0 .5rem; }
.prose-page p,.prose-page li{ color:var(--ink-soft); }
.prose-page ul,.prose-page ol{ padding-left:1.2rem; margin-bottom:1.1rem; }
.prose-page li{ margin-bottom:.4rem; }
.legal-meta{ color:var(--muted); font-size:.9rem; margin-bottom:1.6rem; padding-bottom:1rem; border-bottom:1px solid var(--line); }

/* Forms (contact/search) */
.wmg-form .form-control,.wmg-form .form-select{ border-radius:12px; border:1px solid var(--line); padding:.72rem .9rem; }
.wmg-form .form-control:focus,.wmg-form .form-select:focus{ border-color:var(--brand-200); box-shadow:0 0 0 .2rem rgba(18,115,201,.14); }
.wmg-form label{ font-weight:600; font-size:.9rem; margin-bottom:.3rem; color:var(--ink); }
.wmg-form__ok{ background:var(--fact-050); border:1px solid #c3ead9; color:#0d6b4f; border-radius:12px; padding:.9rem 1.1rem; }

/* Search */
.wmg-searchbig{ position:relative; max-width:640px; margin:0 auto; }
.wmg-searchbig input{ border-radius:var(--radius-pill); padding:.9rem 1.2rem .9rem 2.9rem; border:1px solid var(--line); width:100%; font-size:1.05rem; }
.wmg-searchbig input:focus{ outline:none; border-color:var(--brand-200); box-shadow:0 0 0 .2rem rgba(18,115,201,.14); }
.wmg-searchbig .wmg-ico{ position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--muted); }
.wmg-result{ padding:1.1rem 0; border-bottom:1px solid var(--line); }
.wmg-result__type{ font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:var(--brand-700); background:var(--brand-050); padding:.15rem .55rem; border-radius:999px; }
.wmg-result h3{ font-size:1.1rem; margin:.4rem 0 .25rem; }
.wmg-result p{ color:var(--ink-soft); font-size:.95rem; margin:0; }

/* Glossary */
.wmg-gloss dt{ font-weight:700; color:var(--ink); margin-top:1rem; font-size:1.02rem; }
.wmg-gloss dd{ margin:.15rem 0 .5rem; color:var(--ink-soft); }

/* Category hero */
.cat-hero__stats{ display:flex; gap:1.6rem; margin-top:1.1rem; flex-wrap:wrap; }
.cat-hero__stats span{ color:var(--muted); font-size:.9rem; }
.cat-hero__stats b{ font-family:var(--font-display); font-size:1.4rem; color:var(--brand-700); display:block; }

/* =============================================================================
   PHASE 2B — interactive tools
   ========================================================================== */
.wmg-toolcard{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:clamp(1.2rem,3vw,2rem); }
.wmg-tool__layout{ display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; align-items:start; }
@media (max-width:820px){ .wmg-tool__layout{ grid-template-columns:1fr; } }
.wmg-tool__inputs{ display:flex; flex-direction:column; gap:.9rem; }
.wmg-field{ display:flex; flex-direction:column; gap:.35rem; }
.wmg-field label{ font-weight:600; font-size:.9rem; color:var(--ink); }
.wmg-field .hint{ font-size:.8rem; color:var(--muted); }
.wmg-tool input[type=number],.wmg-tool input[type=text],.wmg-tool input[type=search],.wmg-tool select,.wmg-tool textarea{
  border:1px solid var(--line); border-radius:12px; padding:.6rem .8rem; font:inherit; color:var(--ink); background:#fff; width:100%; }
.wmg-tool input:focus,.wmg-tool select:focus,.wmg-tool textarea:focus{ outline:none; border-color:var(--brand-200); box-shadow:0 0 0 .2rem rgba(18,115,201,.14); }
.wmg-tool__radios{ display:flex; flex-wrap:wrap; gap:.5rem; }
.wmg-chip{ border:1px solid var(--line); border-radius:var(--radius-pill); padding:.4rem .85rem; cursor:pointer; font-size:.88rem; font-weight:600; color:var(--ink-soft); background:#fff; user-select:none; }
.wmg-chip input{ position:absolute; opacity:0; width:0; height:0; }
.wmg-chip.is-on{ background:var(--brand-050); border-color:var(--brand); color:var(--brand-700); }
.wmg-range{ width:100%; }
.wmg-tool__output{ display:flex; flex-direction:column; gap:.8rem; }
.wmg-tool__result{ background:linear-gradient(160deg,var(--brand-050),var(--aqua-050)); border:1px solid var(--brand-100); border-radius:var(--radius); padding:1.2rem; min-height:120px; }
.wmg-result-num{ font-family:var(--font-display); font-size:2.4rem; font-weight:680; color:var(--brand-700); line-height:1; }
.wmg-result-sub{ color:var(--ink-soft); font-size:.95rem; margin-top:.3rem; }
.wmg-result-line{ display:flex; justify-content:space-between; gap:1rem; padding:.35rem 0; border-bottom:1px dashed var(--line); font-size:.95rem; }
.wmg-result-line:last-child{ border-bottom:none; }
.wmg-result-line b{ color:var(--ink); }
.wmg-tool__actions{ display:flex; flex-wrap:wrap; gap:.5rem; }
.wmg-actionbtn{ display:inline-flex; align-items:center; gap:.35rem; border:1px solid var(--line); background:#fff; color:var(--ink-soft);
  border-radius:var(--radius-pill); padding:.4rem .8rem; font-size:.82rem; font-weight:600; cursor:pointer; text-transform:capitalize; }
.wmg-actionbtn:hover{ border-color:var(--brand-200); color:var(--brand-700); background:var(--brand-050); }
.wmg-tool__note{ font-size:.82rem; color:var(--muted); margin-top:.4rem; }

/* toast */
.wmg-toast{ position:fixed; left:50%; bottom:26px; transform:translate(-50%,14px); background:var(--ink); color:#eaf4ff; padding:.6rem 1.05rem;
  border-radius:var(--radius-pill); box-shadow:var(--shadow-lg); font-size:.9rem; font-weight:600; opacity:0; transition:all .28s ease; z-index:2000; pointer-events:none; }
.wmg-toast.is-show{ opacity:1; transform:translate(-50%,0); }

/* quiz */
.wmg-quiz__q{ font-weight:600; font-size:1.1rem; margin:0 0 .9rem; }
.wmg-quiz__opts{ display:flex; flex-direction:column; gap:.55rem; }
.wmg-quiz__opt{ text-align:left; border:1px solid var(--line); background:#fff; border-radius:12px; padding:.7rem .9rem; cursor:pointer; font:inherit; color:var(--ink); transition:all .12s ease; }
.wmg-quiz__opt:hover{ border-color:var(--brand-200); background:var(--brand-050); }
.wmg-quiz__opt.is-correct{ border-color:var(--fact); background:var(--fact-050); color:#0d6b4f; font-weight:600; }
.wmg-quiz__opt.is-wrong{ border-color:var(--myth); background:var(--myth-050); color:#9a2b22; }
.wmg-quiz__fb{ margin-top:.8rem; padding:.7rem .9rem; border-radius:10px; background:var(--bg-soft); font-size:.95rem; color:var(--ink-soft); }
.wmg-quiz__bar{ height:6px; background:var(--bg-softer); border-radius:99px; overflow:hidden; margin-bottom:1rem; }
.wmg-quiz__bar span{ display:block; height:100%; background:linear-gradient(90deg,var(--brand),var(--aqua)); transition:width .3s ease; }

/* flashcards */
.wmg-flash{ perspective:1200px; }
.wmg-flash__card{ position:relative; min-height:180px; cursor:pointer; }
.wmg-flash__inner{ position:relative; transition:transform .5s; transform-style:preserve-3d; min-height:180px; }
.wmg-flash.is-flipped .wmg-flash__inner{ transform:rotateY(180deg); }
.wmg-flash__face{ position:absolute; inset:0; backface-visibility:hidden; border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem; display:flex; align-items:center; justify-content:center; text-align:center; background:#fff; }
.wmg-flash__face--back{ transform:rotateY(180deg); background:var(--brand-050); }

/* checklist */
.wmg-check{ list-style:none; margin:0; padding:0; }
.wmg-check li{ display:flex; gap:.6rem; align-items:flex-start; padding:.6rem 0; border-bottom:1px solid var(--line-soft); }
.wmg-check input{ margin-top:.25rem; width:18px; height:18px; flex:0 0 auto; accent-color:var(--brand); }
.wmg-check label{ font-size:.96rem; color:var(--ink); }

/* entries (tracker / log / journal) */
.wmg-entries{ list-style:none; margin:.8rem 0 0; padding:0; }
.wmg-entries li{ display:flex; justify-content:space-between; gap:.8rem; padding:.5rem .7rem; border:1px solid var(--line-soft); border-radius:10px; margin-bottom:.4rem; font-size:.92rem; background:#fff; }
.wmg-entries button{ border:none; background:none; color:var(--myth); cursor:pointer; font-weight:700; }

/* progress ring / big stat reused via .wmg-result-num */
.wmg-tool__hero-meta{ display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; color:var(--muted); font-size:.9rem; font-weight:500; margin-top:1rem; }
.wmg-tool__hero-meta span{ display:inline-flex; align-items:center; gap:.35rem; }

/* =============================================================================
   PHASE 3 — blog
   ========================================================================== */
.wmg-post__banner img{ display:block; width:100%; height:auto; max-height:360px; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow); border:1px solid var(--line); margin-top:1.4rem; background:linear-gradient(140deg,var(--brand-050),var(--aqua-050)); }
.wmg-post__hero{ padding:1.3rem 0 .4rem; }
.wmg-post__title{ font-size:clamp(1.9rem,4.2vw,2.9rem); margin:.4rem 0 .6rem; max-width:24ch; }
.wmg-post__lede{ font-size:1.2rem; color:var(--ink-soft); max-width:62ch; margin:0; }
.wmg-post__meta{ display:flex; flex-wrap:wrap; gap:.4rem 1.1rem; color:var(--muted); font-size:.9rem; font-weight:500; margin-top:1rem; }
.wmg-post__meta span{ display:inline-flex; align-items:center; gap:.35rem; }
.wmg-post__meta .wmg-stars__bg{ color:#d6e2ee; } .wmg-post__meta .wmg-stars__fg{ color:#f5a524; }
.wmg-authorbox{ display:flex; gap:1rem; align-items:flex-start; background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem; margin:1.8rem 0; }
.wmg-authorbox__avatar img{ border-radius:12px; display:block; }
.wmg-authorbox__name{ font-family:var(--font-display); font-weight:640; margin:0 0 .2rem; color:var(--ink); }
.wmg-authorbox__bio{ font-size:.92rem; color:var(--ink-soft); }
.wmg-share{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:1.8rem 0 0; padding-top:1.2rem; border-top:1px solid var(--line); }
.wmg-share__label{ font-weight:600; color:var(--ink-soft); font-size:.9rem; display:inline-flex; align-items:center; gap:.35rem; }
.wmg-prevnext{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:2rem 0 0; }
@media (max-width:600px){ .wmg-prevnext{ grid-template-columns:1fr; } }
.wmg-prevnext__item{ border:1px solid var(--line); border-radius:var(--radius); padding:1rem 1.1rem; display:flex; flex-direction:column; gap:.25rem; background:#fff; }
.wmg-prevnext__item:hover{ border-color:var(--brand-200); background:var(--brand-050); text-decoration:none; }
.wmg-prevnext__item span{ font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700; display:inline-flex; align-items:center; gap:.3rem; }
.wmg-prevnext__item b{ color:var(--ink); font-weight:600; }
.wmg-prevnext__item--next{ text-align:right; align-items:flex-end; }
.post-card__thumb{ width:100%; height:150px; object-fit:cover; border-radius:12px; background:linear-gradient(140deg,var(--brand-050),var(--aqua-050)); border:1px solid var(--line); }
