/* ==========================================================================
   lotus365today.com — Slate Utility Editorial System
   Factory V9 FSL11 — visual contract: utility-scoreboard / chaptered / dense-list
   Palette: LIGHT_COLOR_007_SLATE_UTILITY (locked)
   Typography: TYPOGRAPHY_012 (Spectral + Work Sans)
   ========================================================================== */

:root{
  --primary:#2457A7;
  --primary-600:#1B4380;
  --primary-100:#E5EDF8;
  --accent:#A044C5;
  --accent-100:#F2E5F8;
  --background:#F6F8FC;
  --surface:#FFFFFF;
  --surface-2:#E9EEF7;
  --text:#1B2638;
  --text-strong:#0F1726;
  --muted:#5A6B80;
  --border:#CDD8E8;
  --border-strong:#9CB0CB;
  --success:#1F8A57;
  --warning:#B26B1A;
  --danger:#B82F3A;
  --gold:#A37A2A;
  --shadow-sm: 0 1px 2px rgba(15,23,38,.04), 0 1px 3px rgba(15,23,38,.06);
  --shadow-md: 0 2px 4px rgba(15,23,38,.05), 0 8px 16px rgba(15,23,38,.06);
  --shadow-lg: 0 4px 10px rgba(15,23,38,.06), 0 18px 40px rgba(15,23,38,.10);
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 64px;
  --content-max: 70ch;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; text-rendering:optimizeLegibility; }
body{
  margin:0;
  font-family:'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  font-size:17px;
  line-height:1.65;
  color:var(--text);
  background:var(--background);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,svg,picture{ max-width:100%; height:auto; display:block; }
img{ border:0; }
a{ color:var(--primary); text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:2px; }
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:2px;
  border-radius:4px;
}
button{ font:inherit; cursor:pointer; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5{
  font-family:'Spectral', Georgia, 'Times New Roman', 'Noto Sans Devanagari', serif;
  color:var(--text-strong);
  margin:0 0 .4em;
  line-height:1.2;
  letter-spacing:-.005em;
  font-weight:700;
}
h1{ font-size:clamp(34px, 5vw, 56px); line-height:1.08; }
h2{ font-size:clamp(26px, 3.4vw, 36px); line-height:1.15; }
h3{ font-size:clamp(20px, 2.4vw, 26px); line-height:1.25; }
h4{ font-size:clamp(17px, 2vw, 20px); line-height:1.35; }
p{ margin:0 0 1em; max-width:var(--content-max); }
ul,ol{ padding-left:1.25rem; margin:0 0 1em; }
li{ margin:.35em 0; }
small,.small{ font-size:13px; color:var(--muted); }
strong{ color:var(--text-strong); }

/* ---------- Container ---------- */
.container{ width:min(100% - 32px, var(--container)); margin-inline:auto; }
.container-wide{ width:min(100% - 32px, var(--container-wide)); margin-inline:auto; }

/* ---------- Skip link & a11y ---------- */
.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--primary); color:#fff; padding:.5em .9em; z-index:9999; border-radius:0 0 6px 0;
}
.skip-link:focus{ left:0; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:250;
  /* No filter/transform here: either creates a containing block that
     traps position:fixed descendants (mobile drawer) inside the 64px bar. */
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--border);
}
.site-header__inner{
  display:flex; align-items:center; gap:16px;
  height:var(--header-h);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.brand-mark{
  display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:var(--text-strong);
  font-family:'Spectral', Georgia, serif; font-weight:700; font-size:21px; letter-spacing:-.01em;
}
.brand-mark:hover{ text-decoration:none; }
.brand-mark__logo{
  width:34px; height:34px; border-radius:8px;
  background:linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:15px; font-family:'Spectral', serif;
  box-shadow:var(--shadow-sm);
}
.brand-mark__sub{
  font-size:11px; font-family:'Work Sans', sans-serif; font-weight:500;
  color:var(--muted); text-transform:uppercase; letter-spacing:.12em; display:block; margin-top:-2px;
}

.main-nav{
  display:flex; align-items:center; gap:4px; margin-left:auto;
}
.main-nav a{
  display:inline-flex; align-items:center; height:38px; padding:0 12px;
  color:var(--text); border-radius:8px; font-size:14px; font-weight:500;
  white-space:nowrap;
}
.main-nav a:hover{ background:var(--surface-2); text-decoration:none; }
.main-nav a.is-active{ color:var(--primary); background:var(--primary-100); }

.header-cta{
  display:inline-flex; align-items:center; gap:8px;
  margin-left:8px;
  height:38px; padding:0 14px;
  background:var(--primary); color:#fff !important;
  border-radius:8px; font-weight:600; font-size:14px;
  white-space:nowrap;
  border:1px solid var(--primary-600);
}
.header-cta:hover{ background:var(--primary-600); text-decoration:none; }
.header-cta .dot{ width:6px; height:6px; border-radius:50%; background:#fff; opacity:.8; }

/* Mega menu trigger */
.mega-trigger{
  position:relative;
}
.mega-trigger > a::after{
  content:""; display:inline-block; margin-left:6px;
  width:6px; height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
.mega-panel{
  position:absolute; top:calc(100% + 8px); right:auto; left:0;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  padding:18px; min-width:520px;
  display:none; /* closed: fully removed from hit-testing + geometry audits */
  grid-template-columns:1fr 1fr; gap:6px 24px;
  opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-4px);
  transition:opacity .15s ease, transform .15s ease;
  z-index:260;
}
.mega-trigger:focus-within > .mega-panel,
.mega-trigger:hover > .mega-panel{
  display:grid;
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
.mega-panel h4{
  grid-column:1 / -1; font-family:'Work Sans', sans-serif;
  font-size:11px; text-transform:uppercase; letter-spacing:.14em;
  color:var(--muted); margin:6px 0 4px; font-weight:700;
}
.mega-panel a{
  height:auto; padding:6px 0; display:flex; gap:10px; align-items:flex-start;
  font-size:13px; line-height:1.4; color:var(--text); border-radius:0;
}
.mega-panel a:hover{ background:transparent; color:var(--primary); text-decoration:none; }
.mega-panel a small{ display:block; color:var(--muted); font-size:12px; font-weight:400; }

/* Hamburger (mobile only) */
.hamburger{
  display:none;
  margin-left:auto;
  width:40px; height:40px; padding:0;
  background:transparent; border:1px solid var(--border);
  border-radius:8px;
  position:relative; z-index:300;
}
.hamburger[aria-expanded="true"]{ background:var(--surface-2); border-color:var(--border-strong); }
.hamburger span{
  position:absolute; left:9px; right:9px; height:2px; background:var(--text-strong); border-radius:2px;
  transition:transform .18s ease, opacity .15s ease, top .18s ease;
}
.hamburger span:nth-child(1){ top:12px; }
.hamburger span:nth-child(2){ top:19px; }
.hamburger span:nth-child(3){ top:26px; }
.hamburger[aria-expanded="true"] span:nth-child(1){ top:19px; transform:rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ top:19px; transform:rotate(-45deg); }

/* Mobile drawer — viewport-fixed; must NOT sit inside a filtered/transformed ancestor */
.mobile-drawer{
  position:fixed;
  top:var(--header-h); right:0; bottom:0; left:0;
  width:100%;
  height:auto;
  max-height:calc(100dvh - var(--header-h));
  background:var(--surface);
  border-top:1px solid var(--border);
  padding:20px 20px 96px;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  transform:translate3d(0,-8px,0); opacity:0; visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index:200;
}
.mobile-drawer[data-open="true"]{
  transform:translate3d(0,0,0); opacity:1; visibility:visible;
  pointer-events:auto;
  transition:opacity .18s ease, transform .18s ease, visibility 0s;
}
.mobile-drawer nav{ display:flex; flex-direction:column; gap:4px; }
.mobile-drawer nav a{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 12px; font-size:16px; font-weight:500;
  border-bottom:1px solid var(--border);
  color:var(--text);
}
.mobile-drawer nav a:hover{ background:var(--surface-2); text-decoration:none; }
.mobile-drawer__cta{
  display:block; margin-top:18px;
  background:var(--primary); color:#fff; text-align:center;
  padding:14px; border-radius:var(--radius); font-weight:600; font-size:16px;
}
.mobile-drawer__cta:hover{ background:var(--primary-600); text-decoration:none; color:#fff; }
.mobile-drawer__meta{
  display:flex; gap:14px; flex-wrap:wrap; margin-top:18px;
  font-size:12px; color:var(--muted);
}
.mobile-drawer__meta a{ color:var(--muted); padding:6px 0; border:0; }
body[data-drawer-open="true"]{ overflow:hidden; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:var(--radius);
  font-weight:600; font-size:15px; line-height:1;
  border:1px solid transparent; white-space:nowrap;
  text-decoration:none;
}
.btn:hover{ text-decoration:none; }
.btn--primary{ background:var(--primary); color:#fff; border-color:var(--primary-600); }
.btn--primary:hover{ background:var(--primary-600); color:#fff; }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--border-strong); }
.btn--ghost:hover{ background:var(--surface-2); color:var(--text); }
.btn--accent{ background:var(--accent); color:#fff; border-color:#7E329C; }
.btn--accent:hover{ background:#7E329C; color:#fff; }
.btn--lg{ padding:16px 28px; font-size:16px; border-radius:var(--radius-lg); }
.btn--sm{ padding:9px 14px; font-size:13px; border-radius:8px; }
.btn[aria-disabled="true"]{ opacity:.55; pointer-events:none; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:260;
  background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-top:1px solid var(--border);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow:0 -4px 14px rgba(15,23,38,.06);
}
.mobile-cta__btn{
  display:flex; width:100%;
  background:var(--primary); color:#fff;
  padding:14px; border-radius:var(--radius);
  font-weight:700; font-size:16px;
  align-items:center; justify-content:center; gap:10px;
}
.mobile-cta__btn:hover{ background:var(--primary-600); color:#fff; text-decoration:none; }

/* ---------- Section shells ---------- */
.section{ padding:64px 0; border-top:1px solid var(--border); }
.section:first-of-type{ border-top:0; }
.section--tight{ padding:40px 0; }
.section--alt{ background:var(--surface); }
.section--ink{ background:var(--text-strong); color:#E5EDF8; }
.section--ink h1,.section--ink h2,.section--ink h3,.section--ink h4{ color:#fff; }
.section--ink p,.section--ink li,.section--ink small{ color:#C4D2E7; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Work Sans', sans-serif;
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.18em;
  color:var(--primary); margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:24px; height:2px; background:var(--primary);
}
.section--ink .eyebrow{ color:var(--accent-100); }
.section--ink .eyebrow::before{ background:var(--accent); }

.section-head{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px 32px; align-items:end;
  margin-bottom:32px;
}
.section-head h2{ margin-bottom:6px; }
.section-head__lede{ color:var(--muted); max-width:60ch; margin:0; }
.section-head__link{
  align-self:end; font-size:14px; font-weight:600; color:var(--primary);
  white-space:nowrap;
}
.section-head--center{
  grid-template-columns:1fr; text-align:center;
  justify-items:center;
}
.section-head--center .section-head__lede{ margin-inline:auto; }
.section-head--center .eyebrow::before{ display:none; }

/* ---------- Scoreboard cover (H1) ---------- */
.cover{
  padding:48px 0 56px;
  background:
    radial-gradient(1200px 380px at 80% -10%, rgba(160,68,197,.07), transparent 60%),
    radial-gradient(900px 320px at 0% 0%, rgba(36,87,167,.08), transparent 60%),
    linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
  border-bottom:1px solid var(--border);
}
.cover__grid{
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:48px;
  align-items:center;
}
.cover__copy{ min-width:0; }
.cover__chip{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border);
  padding:6px 12px; border-radius:999px;
  font-size:12px; font-weight:600; color:var(--text);
  box-shadow:var(--shadow-sm);
}
.cover__chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--accent); }
.cover h1{
  margin:14px 0 14px;
  font-size:clamp(36px, 5.2vw, 58px);
  letter-spacing:-.015em;
}
.cover h1 em{
  font-style:normal; color:var(--primary); position:relative; display:inline-block;
}
.cover h1 em::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:8px;
  background:linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity:.18; border-radius:4px;
}
.cover__lede{
  font-size:clamp(17px, 1.6vw, 19px); color:var(--muted);
  max-width:60ch; margin:0 0 24px;
}
.cover__cta{
  display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px;
}
.cover__meta{
  display:flex; gap:24px; flex-wrap:wrap; padding-top:18px;
  border-top:1px solid var(--border);
  font-size:13px; color:var(--muted);
}
.cover__meta strong{ color:var(--text-strong); font-weight:600; display:block; font-size:14px; }

.cover__media{
  position:relative;
  border-radius:var(--radius-xl);
  overflow:hidden;
  background:var(--surface);
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
}
.cover__media img{ aspect-ratio: 4 / 3; object-fit:cover; width:100%; }
.cover__media-caption{
  position:absolute; left:14px; bottom:14px;
  background:rgba(15,23,38,.86); color:#fff;
  padding:8px 12px; border-radius:8px;
  font-size:12px; line-height:1.35;
  max-width:80%;
  backdrop-filter:blur(4px);
}

/* Annotated image ledger (signature device) — appears above the fold on cover */
.ledger{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px; margin-top:32px;
  padding:18px; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
}
.ledger__item{
  display:flex; flex-direction:column; gap:4px;
  padding:14px; border-left:3px solid var(--accent);
  background:linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-radius:8px;
}
.ledger__item .num{
  font-family:'Spectral', serif; font-size:11px; font-weight:700;
  color:var(--accent); letter-spacing:.14em; text-transform:uppercase;
}
.ledger__item strong{
  color:var(--text-strong); font-size:14px; font-weight:600;
}
.ledger__item small{ font-size:12px; line-height:1.45; }

/* ---------- Story rail (H2) — horizontal-story-rail interaction ---------- */
.rail-wrap{
  position:relative;
  margin:0 -8px;
  padding:8px 8px 20px;
}
.rail{
  display:grid; grid-auto-flow:column;
  grid-auto-columns:minmax(260px, 320px);
  gap:16px;
  overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent;
  padding-bottom:8px;
}
.rail::-webkit-scrollbar{ height:8px; }
.rail::-webkit-scrollbar-thumb{ background:var(--border-strong); border-radius:4px; }
.rail::-webkit-scrollbar-track{ background:transparent; }
.rail__card{
  scroll-snap-align:start;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:18px;
  display:flex; flex-direction:column; gap:10px;
  text-align:left;
  min-height:220px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rail__card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--border-strong); }
.rail__card .ch{
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; font-weight:700; color:var(--accent);
  text-transform:uppercase; letter-spacing:.14em;
}
.rail__card .ch::before{
  content:attr(data-num); font-family:'Spectral', serif;
  background:var(--accent); color:#fff;
  width:22px; height:22px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; letter-spacing:0;
}
.rail__card h3{ font-size:18px; margin:0; }
.rail__card p{ font-size:14px; color:var(--muted); margin:0; }
.rail__card .more{
  margin-top:auto; font-size:13px; font-weight:600; color:var(--primary);
  display:inline-flex; align-items:center; gap:6px;
}
.rail__nav{
  position:absolute; top:-44px; right:0; display:flex; gap:6px;
}
.rail__nav button{
  width:36px; height:36px; border-radius:8px;
  background:var(--surface); border:1px solid var(--border);
  color:var(--text);
}
.rail__nav button:hover{ background:var(--surface-2); }
.rail__nav button:disabled{ opacity:.4; cursor:default; }

/* ---------- Key takeaways (H3) ---------- */
.takeaways{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
}
.takeaway{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px; display:flex; flex-direction:column; gap:8px;
  position:relative; overflow:hidden;
}
.takeaway::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px;
  background:linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}
.takeaway .num{
  font-family:'Spectral', serif; font-size:28px; font-weight:700;
  color:var(--primary); line-height:1;
}
.takeaway h4{ font-size:15px; margin:0; }
.takeaway p{ font-size:13px; color:var(--muted); margin:0; line-height:1.5; }

/* ---------- Alternating analysis (H4) ---------- */
.alt-row{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:48px; align-items:center;
  padding:32px 0;
  border-top:1px solid var(--border);
}
.alt-row:first-of-type{ border-top:0; }
.alt-row--reverse{ grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
.alt-row--reverse .alt-row__media{ order:2; }
.alt-row__copy h3{ margin-bottom:8px; }
.alt-row__copy .lede{ font-size:16px; color:var(--muted); margin-bottom:14px; }
.alt-row__copy ul{ margin:0 0 14px; padding-left:0; list-style:none; }
.alt-row__copy ul li{
  padding-left:24px; position:relative; font-size:14px; line-height:1.55; color:var(--text);
}
.alt-row__copy ul li::before{
  content:""; position:absolute; left:0; top:9px;
  width:12px; height:2px; background:var(--accent);
}
.alt-row__media{
  position:relative;
  border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border); background:var(--surface);
  box-shadow:var(--shadow-md);
}
.alt-row__media img{ aspect-ratio:4/3; object-fit:cover; width:100%; }
.alt-row__media-tag{
  position:absolute; left:14px; top:14px;
  background:var(--surface); border:1px solid var(--border);
  padding:5px 10px; border-radius:6px;
  font-size:11px; font-weight:700; color:var(--primary);
  text-transform:uppercase; letter-spacing:.12em;
}

/* ---------- Expert voices (H5) ---------- */
.voices{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;
}
.voice{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:22px; display:flex; flex-direction:column; gap:14px;
  position:relative;
}
.voice__quote{
  font-family:'Spectral', serif;
  font-size:16px; line-height:1.55; color:var(--text-strong);
  margin:0; padding-left:18px; border-left:3px solid var(--accent);
}
.voice__attr{
  display:flex; align-items:center; gap:12px;
  border-top:1px solid var(--border); padding-top:14px;
  margin-top:auto;
}
.voice__avatar{
  width:42px; height:42px; border-radius:50%;
  background:linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color:#fff; display:inline-flex; align-items:center; justify-content:center;
  font-family:'Spectral', serif; font-weight:700; font-size:16px;
  flex:0 0 auto;
}
.voice__attr small{ display:block; font-size:12px; color:var(--muted); }
.voice__attr strong{ font-size:14px; color:var(--text-strong); }

/* ---------- Toolkit shelf (H6) ---------- */
.toolkit{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px;
}
.tool{
  display:flex; flex-direction:column; gap:10px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px; min-height:170px;
  transition:border-color .15s ease, transform .15s ease;
}
.tool:hover{ border-color:var(--border-strong); transform:translateY(-2px); }
.tool .ico{
  width:36px; height:36px; border-radius:8px;
  background:var(--primary-100); color:var(--primary);
  display:inline-flex; align-items:center; justify-content:center;
}
.tool .ico svg{ width:20px; height:20px; }
.tool h4{ font-family:'Work Sans', sans-serif; font-size:14px; font-weight:700; margin:0; }
.tool p{ font-size:13px; color:var(--muted); margin:0; line-height:1.45; }
.tool a.more{ font-size:13px; color:var(--primary); font-weight:600; margin-top:auto; }

/* ---------- Fresh reporting (H7) ---------- */
.news-list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.news-card{
  display:flex; flex-direction:column; gap:12px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
}
.news-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.news-card__media{ aspect-ratio:16/9; overflow:hidden; background:var(--surface-2); }
.news-card__media img{ width:100%; height:100%; object-fit:cover; }
.news-card__body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.news-card__date{ font-size:12px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.1em; }
.news-card__date time{ display:inline-block; }
.news-card h3{ font-size:17px; margin:0; line-height:1.3; }
.news-card p{ font-size:13px; color:var(--muted); margin:0; line-height:1.5; }
.news-card a.more{ font-size:13px; font-weight:600; color:var(--primary); margin-top:auto; }

/* ---------- Transparent standards (H8) ---------- */
.standards{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
}
.standard{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius); padding:18px;
  display:flex; flex-direction:column; gap:8px;
}
.standard .num{
  font-family:'Spectral', serif; font-size:36px; font-weight:700;
  color:var(--accent); line-height:1;
}
.standard h4{ color:#fff; font-size:15px; margin:0; }
.standard p{ color:#C4D2E7; font-size:13px; margin:0; line-height:1.5; }

/* ---------- Trust strip / page header ---------- */
.page-head{
  padding:48px 0 28px;
  background:
    radial-gradient(900px 280px at 90% -20%, rgba(160,68,197,.08), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
  border-bottom:1px solid var(--border);
}
.page-head h1{ font-size:clamp(30px, 4vw, 46px); margin:8px 0 8px; }
.page-head__lede{ font-size:17px; color:var(--muted); max-width:62ch; margin:0; }
.breadcrumbs{
  font-size:13px; color:var(--muted); margin-bottom:12px;
  display:flex; flex-wrap:wrap; gap:6px;
}
.breadcrumbs a{ color:var(--muted); }
.breadcrumbs a:hover{ color:var(--primary); }
.breadcrumbs span.sep{ opacity:.5; }

/* ---------- Article typography ---------- */
.prose{ max-width:var(--content-max); }
.prose p, .prose ul, .prose ol{ font-size:17px; line-height:1.7; }
.prose h2{ margin-top:1.6em; margin-bottom:.4em; }
.prose h3{ margin-top:1.4em; margin-bottom:.4em; }
.prose blockquote{
  margin:1.4em 0; padding:14px 18px;
  border-left:3px solid var(--accent); background:var(--surface);
  border-radius:0 var(--radius) var(--radius) 0;
  font-family:'Spectral', serif; font-size:16px; color:var(--text);
}
.prose ul li, .prose ol li{ font-size:16px; }

/* ---------- Data table (for comparison / rules pages) ---------- */
.data-table{
  width:100%; border-collapse:collapse; background:var(--surface);
  border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden;
}
.data-table th, .data-table td{
  padding:12px 14px; text-align:left; border-bottom:1px solid var(--border);
  font-size:14px; vertical-align:top;
}
.data-table thead th{
  background:var(--surface-2); font-family:'Work Sans', sans-serif;
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color:var(--text-strong);
}
.data-table tbody tr:last-child td{ border-bottom:0; }
.data-table td code{ font-family:'JetBrains Mono', ui-monospace, monospace; font-size:13px; background:var(--surface-2); padding:1px 6px; border-radius:4px; }
.scroll-x{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* ---------- FAQ accordion (no-JS accessible) ---------- */
.faq{ display:flex; flex-direction:column; gap:10px; }
.faq details{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:0;
}
.faq summary{
  cursor:pointer; list-style:none;
  padding:16px 18px; font-weight:600; font-size:15px; color:var(--text-strong);
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; flex:0 0 auto; width:14px; height:14px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%231B2638' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  transition:transform .15s ease;
}
.faq details[open] summary::after{ transform:rotate(180deg); }
.faq details > div{
  padding:0 18px 18px; color:var(--text); font-size:14px; line-height:1.65;
}
.faq details > div p{ margin:0 0 .8em; font-size:14px; }

/* ---------- Inline image row (within prose) ---------- */
.inline-image{
  margin:1.6em 0; display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:24px;
  align-items:center;
}
.inline-image--reverse{ grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }
.inline-image--reverse .inline-image__media{ order:2; }
.inline-image__media{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border);
  box-shadow:var(--shadow-sm); background:var(--surface-2);
}
.inline-image__media img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.inline-image figcaption{ font-size:12px; color:var(--muted); margin-top:8px; line-height:1.45; }
.inline-image__copy h3{ margin-bottom:8px; }
.inline-image__copy p{ font-size:16px; line-height:1.6; margin:0 0 .8em; }

/* ---------- Cards used elsewhere ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.card-grid--2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.card-grid--3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.card-grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:20px;
  display:flex; flex-direction:column; gap:10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--border-strong); }
.card h3{ font-size:18px; margin:0; }
.card p{ font-size:14px; color:var(--muted); margin:0; line-height:1.55; }
.card .tag{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; color:var(--primary);
  text-transform:uppercase; letter-spacing:.1em;
  margin-bottom:4px;
}
.card .tag::before{
  content:""; width:8px; height:8px; border-radius:50%; background:var(--accent);
}

/* ---------- Compliance strip ---------- */
.compliance{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  padding:14px 18px; background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius); font-size:13px; color:var(--muted);
}
.compliance strong{ color:var(--text-strong); }
.compliance__icons{ display:flex; gap:12px; flex-wrap:wrap; }
.compliance__icons span{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--surface); border:1px solid var(--border);
  padding:6px 10px; border-radius:999px;
  font-size:12px; color:var(--text); font-weight:600;
}
.compliance__icons span::before{
  content:""; width:6px; height:6px; border-radius:50%; background:var(--success);
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--text-strong); color:#C4D2E7;
  padding:56px 0 24px; margin-top:64px;
}
.site-footer h4{
  color:#fff; font-family:'Work Sans', sans-serif;
  font-size:12px; text-transform:uppercase; letter-spacing:.14em;
  margin-bottom:14px; font-weight:700;
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr repeat(4,minmax(0,1fr)); gap:32px;
  padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand p{ font-size:13px; color:#A3B5CE; margin:8px 0 14px; max-width:36ch; }
.footer-brand .meta{ font-size:12px; color:#7C8FA9; line-height:1.55; }
.footer-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-col a{ color:#C4D2E7; font-size:14px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex; gap:16px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  padding-top:18px; font-size:12px; color:#7C8FA9;
}
.footer-bottom a{ color:#7C8FA9; }
.footer-bottom a:hover{ color:#fff; }
.footer-social{ display:flex; gap:8px; }
.footer-social a{
  width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.06); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background:var(--accent); }
.footer-social svg{ width:16px; height:16px; }

/* ---------- Article hero (inside child pages) ---------- */
.article-hero{
  position:relative;
  border-radius:var(--radius-xl); overflow:hidden;
  border:1px solid var(--border); background:var(--surface);
  margin:0 0 28px;
}
.article-hero img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.article-hero__caption{
  position:absolute; left:14px; bottom:14px;
  background:rgba(15,23,38,.86); color:#fff;
  padding:8px 12px; border-radius:8px; font-size:12px; line-height:1.35;
  backdrop-filter:blur(4px);
}
.article-hero__date{
  position:absolute; right:14px; top:14px;
  background:var(--surface); border:1px solid var(--border);
  padding:6px 12px; border-radius:999px;
  font-size:12px; font-weight:700; color:var(--text-strong);
  text-transform:uppercase; letter-spacing:.1em;
}

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; counter-reset:step; }
.step{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px; position:relative; min-height:170px;
}
.step .step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:8px;
  background:var(--primary); color:#fff;
  font-family:'Spectral', serif; font-weight:700; font-size:14px;
  margin-bottom:10px;
}
.step h4{ font-family:'Work Sans', sans-serif; font-size:15px; font-weight:700; margin:0 0 4px; }
.step p{ font-size:13px; color:var(--muted); margin:0; line-height:1.5; }

/* ---------- Banner / CTA strip ---------- */
.cta-strip{
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 60%, var(--accent) 130%);
  color:#fff; padding:32px; border-radius:var(--radius-lg);
  display:grid; grid-template-columns:minmax(0,1.4fr) auto; gap:24px; align-items:center;
}
.cta-strip h2{ color:#fff; margin:0 0 6px; }
.cta-strip p{ color:rgba(255,255,255,.85); margin:0; }
.cta-strip .btn--ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.cta-strip .btn--ghost:hover{ background:rgba(255,255,255,.1); color:#fff; }
.cta-strip .btn--accent{ background:#fff; color:var(--primary); border-color:#fff; }
.cta-strip .btn--accent:hover{ background:var(--surface-2); color:var(--primary); }

/* ---------- Article TOC ---------- */
.toc{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:18px; margin:0 0 28px;
}
.toc h2{
  font-family:'Work Sans', sans-serif; font-size:11px;
  text-transform:uppercase; letter-spacing:.14em; font-weight:700;
  color:var(--muted); margin-bottom:10px;
}
.toc ol{ list-style:none; padding:0; margin:0; counter-reset:toc; }
.toc ol li{
  counter-increment:toc; font-size:14px; line-height:1.5;
  padding:6px 0 6px 28px; position:relative;
  border-bottom:1px solid var(--border);
}
.toc ol li:last-child{ border-bottom:0; }
.toc ol li::before{
  content:counter(toc, decimal-leading-zero);
  position:absolute; left:0; top:7px;
  font-family:'Spectral', serif; font-weight:700; color:var(--accent);
  font-size:13px;
}
.toc a{ color:var(--text); }
.toc a:hover{ color:var(--primary); }

/* ---------- Sidebar (for money/support pages) ---------- */
.with-sidebar{
  display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:48px;
  align-items:flex-start;
}
.sidebar{ position:sticky; top:calc(var(--header-h) + 24px); }
.sidebar h3{
  font-family:'Work Sans', sans-serif; font-size:11px;
  text-transform:uppercase; letter-spacing:.14em; color:var(--muted);
  font-weight:700; margin:0 0 10px;
}
.sidebar ul{ list-style:none; padding:0; margin:0 0 24px; }
.sidebar ul li{ border-bottom:1px solid var(--border); }
.sidebar ul li:last-child{ border-bottom:0; }
.sidebar ul a{
  display:flex; align-items:center; gap:8px;
  padding:10px 0; font-size:14px; color:var(--text);
}
.sidebar ul a::before{
  content:"›"; color:var(--accent); font-weight:700;
}
.sidebar ul a:hover{ color:var(--primary); }
.sidebar .side-cta{
  background:var(--primary-100); border:1px solid var(--primary);
  border-radius:var(--radius); padding:16px;
}
.sidebar .side-cta h3{ color:var(--primary); }
.sidebar .side-cta p{ font-size:13px; margin:0 0 12px; color:var(--text); }
.sidebar .side-cta .btn{ width:100%; }

/* ---------- Image card (for article in-content visuals) ---------- */
.image-card{
  margin:1.6em 0;
  border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; background:var(--surface);
}
.image-card img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.image-card__caption{
  padding:12px 16px; font-size:13px; color:var(--muted);
  border-top:1px solid var(--border);
}

/* ---------- Two column list (e.g. checklist) ---------- */
.two-col{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 24px; }
.checklist{ list-style:none; padding:0; margin:0; }
.checklist li{
  position:relative; padding:6px 0 6px 28px; font-size:14px; line-height:1.55;
}
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:6px;
  color:var(--success); font-weight:700; font-size:15px;
}

/* ---------- Comparison cards (for reviews) ---------- */
.compare-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.compare-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:22px; display:flex; flex-direction:column; gap:14px;
  position:relative;
}
.compare-card.is-featured{ border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) inset; }
.compare-card .ribbon{
  position:absolute; right:-1px; top:-1px;
  background:var(--accent); color:#fff; font-size:11px; font-weight:700;
  padding:6px 12px; border-radius:0 var(--radius-lg) 0 var(--radius);
  text-transform:uppercase; letter-spacing:.1em;
}
.compare-card h3{ margin:0; }
.compare-card .lede{ font-size:14px; color:var(--muted); margin:0; }
.compare-card ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.compare-card ul li{
  font-size:13px; line-height:1.5; padding-left:18px; position:relative;
}
.compare-card ul li::before{
  content:"·"; position:absolute; left:6px; top:-2px; color:var(--accent); font-weight:700; font-size:18px;
}
.compare-card .score{
  display:flex; gap:14px; padding-top:14px; border-top:1px solid var(--border);
  font-size:12px; color:var(--muted);
}
.compare-card .score div strong{ display:block; color:var(--text-strong); font-family:'Spectral', serif; font-size:22px; font-weight:700; }

/* ---------- Editor's note (in money/support pages) ---------- */
.editors-note{
  background:linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border:1px solid var(--border); border-left:3px solid var(--accent);
  border-radius:var(--radius); padding:18px;
  font-size:14px; line-height:1.6;
}
.editors-note h3{
  font-family:'Work Sans', sans-serif; font-size:11px;
  text-transform:uppercase; letter-spacing:.14em; color:var(--accent);
  font-weight:700; margin:0 0 8px;
}

/* ---------- Mini-feed (in /news sidebar or related) ---------- */
.mini-feed{ display:flex; flex-direction:column; gap:14px; }
.mini-feed a{
  display:grid; grid-template-columns:80px 1fr; gap:12px; align-items:flex-start;
  padding:8px 0; border-bottom:1px solid var(--border);
}
.mini-feed a:last-child{ border-bottom:0; }
.mini-feed img{ width:80px; height:60px; object-fit:cover; border-radius:6px; }
.mini-feed h4{ font-size:13px; line-height:1.35; margin:0; color:var(--text); }
.mini-feed small{ font-size:11px; color:var(--muted); }

/* ---------- Pill / badge ---------- */
.pill{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--surface); border:1px solid var(--border);
  padding:4px 10px; border-radius:999px; font-size:12px; font-weight:600;
  color:var(--text);
}
.pill--accent{ background:var(--accent-100); border-color:var(--accent); color:var(--accent); }
.pill--primary{ background:var(--primary-100); border-color:var(--primary); color:var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .cover__grid{ grid-template-columns:1fr; gap:32px; }
  .cover__media{ order:-1; }
  .takeaways{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .voices{ grid-template-columns:1fr; }
  .toolkit{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .standards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .news-list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .card-grid, .card-grid--3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compare-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:24px; }
  .with-sidebar{ grid-template-columns:1fr; }
  .sidebar{ position:static; }
  .alt-row,.alt-row--reverse{ grid-template-columns:1fr; gap:24px; }
  .alt-row--reverse .alt-row__media{ order:0; }
  .inline-image,.inline-image--reverse{ grid-template-columns:1fr; }
  .inline-image--reverse .inline-image__media{ order:0; }
  .card-grid--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .two-col{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .main-nav, .mega-trigger{ display:none !important; }
  .hamburger{
    display:inline-flex !important;
    align-items:center; justify-content:center;
    position:relative; z-index:300 !important;
  }
  .header-cta{ display:none; }
  .mobile-drawer{ display:block; }
  .mobile-cta{ display:block; }
  .container, .container-wide{ width:min(100% - 24px, var(--container)); }
  .section{ padding:44px 0; }
  .cover{ padding:36px 0 40px; }
  .cover h1{ font-size:36px; }
  .cover__cta{ flex-direction:column; align-items:stretch; }
  .cover__cta .btn{ width:100%; }
  .cover__meta{ gap:14px; }
  .ledger{ grid-template-columns:1fr; }
  .rail{ grid-auto-columns:78%; }
  .takeaways{ grid-template-columns:1fr; }
  .news-list{ grid-template-columns:1fr; }
  .card-grid, .card-grid--3, .card-grid--4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta-strip{ grid-template-columns:1fr; padding:24px; text-align:center; }
  .cta-strip .actions{ display:flex; flex-direction:column; gap:10px; }
  .cta-strip .actions .btn{ width:100%; }
  .data-table{ font-size:13px; }
  .data-table th, .data-table td{ padding:9px 10px; }
  .step{ min-height:auto; }
  body{ padding-bottom:76px; } /* leave room for sticky CTA */
}

@media (max-width: 380px){
  h1{ font-size:32px; }
  .cover h1{ font-size:32px; }
  .cover h1 em::after{ height:6px; }
  .cover__meta{ flex-direction:column; gap:10px; }
  .compare-card{ padding:18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    transition-duration:0.01ms !important;
  }
}

/* Print */
@media print{
  .site-header, .site-footer, .mobile-cta, .hamburger, .rail__nav{ display:none; }
  body{ background:#fff; }
}
