/* =============================================================
   GetPracticeHelp -- Topic Hub System
   Extends the LIVE GPH identity (style.css :root). Reorganization,
   NOT a rebrand. Tokens lifted verbatim from Crindo2/getpracticehelp.
   This sheet adds the vendor-selection-AUTHORITY / editorial layer.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* --- LIVE GPH tokens (verbatim) --- */
  --primary: #2D7D6F;
  --primary-dark: #1F5C52;
  --primary-light: #4BA393;
  --bg: #FAF7F2;
  --bg-light: #EDF7F5;
  --sage: #6B9080;
  --gold: #D4A574;
  --gold-deep: #B8854F;
  --charcoal: #1E293B;
  --charcoal-mid: #334155;
  --charcoal-light: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;

  /* --- Authority-layer additions --- */
  --ink-soft: #475569;
  --rule: #E7E2D8;          /* warm hairline for editorial register */
  --paper: #FCFAF6;         /* a hair warmer than --bg for nesting */
  --sponsor-bg: #FBF7EF;    /* neutral wheat for sponsored, never teal */
  --sponsor-border: # E9DFC8;
  --sponsor-border: #E9DFC8;
  --teal-tint: rgba(45,125,111,.08);
  --gold-tint: rgba(212,165,116,.16);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }

h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { text-wrap: pretty; }

/* eyebrow / label register -- tracked DM Sans (faithful to live site) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.eyebrow.on-dark { color: var(--gold); }
.label-mono {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--charcoal-light);
}

/* =============================================================
   NAVBAR + TOPICS MEGA-MENU
   ============================================================= */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--charcoal); display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
}
.logo-accent { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-links > a, .nav-trigger {
  color: var(--charcoal-mid); font-size: .9rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav-links > a:hover, .nav-trigger:hover { color: var(--primary); background: rgba(45,125,111,.06); }
.nav-trigger .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.has-mega.open .chev { transform: rotate(-135deg) translateY(-2px); }

.nav-ctas { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem;
  transition: all .2s ease; white-space: nowrap; border: 1.5px solid transparent;
}
.btn-sm { padding: 8px 15px; font-size: .82rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(45,125,111,.22); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-ghost { color: var(--charcoal-mid); border-color: var(--border); background: var(--white); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-on-dark { background: var(--gold); color: #1a2e2a; }
.btn-on-dark:hover { background: #e3bd92; color: #1a2e2a; transform: translateY(-1px); }

.has-mega { position: relative; height: 100%; display: flex; align-items: center; }

/* Mega panel */
.mega {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: var(--paper); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { max-width: var(--max-w); margin: 0 auto; padding: 32px 24px 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.mega-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: 4px; }
.mega-head p { font-size: .86rem; color: var(--charcoal-light); max-width: 520px; }
.mega-verticals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mega-vert {
  display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--white); transition: all .2s;
}
.mega-vert:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.mega-vert.soon { opacity: .65; pointer-events: none; }
.mega-vert .vi { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #fff; }
.mega-vert h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 3px; }
.mega-vert p { font-size: .78rem; color: var(--charcoal-light); line-height: 1.45; }
.mega-vert .vmeta { font-size: .7rem; color: var(--primary); font-weight: 600; margin-top: 6px; letter-spacing: .02em; }
.mega-aside { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.mega-aside h5 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 14px; }
.mega-aside a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: .88rem; color: var(--charcoal-mid); font-weight: 500; }
.mega-aside a:hover { color: var(--primary); }
.mega-aside a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }

.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }
  .mega { display: none !important; }
  .mobile-nav {
    position: fixed; top: var(--nav-h); inset-inline: 0; bottom: 0; z-index: 998;
    background: var(--bg); padding: 20px 24px 40px; overflow-y: auto;
    display: none; flex-direction: column; gap: 4px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 13px 4px; font-size: 1rem; color: var(--charcoal-mid); border-bottom: 1px solid var(--rule); font-weight: 500; }
  .mobile-nav .mgroup { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-light); padding: 18px 4px 4px; font-weight: 700; }
  .mobile-nav .mctas { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .mobile-nav .mctas .btn { width: 100%; }
}

/* =============================================================
   PAGE SCAFFOLD / BREADCRUMB / MASTHEAD
   ============================================================= */
.page-top { padding-top: var(--nav-h); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--charcoal-light); flex-wrap: wrap; }
.breadcrumb a { color: var(--charcoal-light); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--charcoal); font-weight: 600; }

/* =============================================================
   INDEPENDENCE SYSTEM -- the differentiator
   ============================================================= */

/* Editorial seal (concentric stamp) */
.seal {
  --s: 92px;
  width: var(--s); height: var(--s); border-radius: 50%; flex-shrink: 0;
  position: relative; display: grid; place-items: center;
  border: 1.5px solid var(--primary); color: var(--primary-dark);
  background:
    radial-gradient(circle, transparent 60%, var(--teal-tint) 61%);
}
.seal::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--primary-light); }
.seal .seal-core { text-align: center; line-height: 1; }
.seal .seal-core .sc-big { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; display: block; }
.seal .seal-core .sc-sub { font-size: .5rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); display: block; margin-top: 3px; }
.seal.on-dark { border-color: var(--gold); color: #fff; background: radial-gradient(circle, transparent 60%, rgba(212,165,116,.2) 61%); }
.seal.on-dark::before { border-color: var(--gold); }
.seal.on-dark .seal-core .sc-sub { color: var(--gold); }

/* Independence line / pledge chip */
.indep-line {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px 9px 12px; border-radius: 50px;
  background: var(--white); border: 1px solid var(--border);
  font-size: .82rem; color: var(--charcoal-mid); font-weight: 500;
}
.indep-line .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .6rem; flex-shrink: 0; }
.indep-line a { font-weight: 600; }
.indep-line.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }
.indep-line.on-dark .tick { background: var(--gold); color: #1a2e2a; }
.indep-line.on-dark a { color: var(--gold); }

/* Dark-teal independence band (cross-property rhythm) */
.band-dark {
  background: var(--primary-dark); color: rgba(255,255,255,.92);
  position: relative; overflow: hidden;
}
.band-dark::before { content: ''; position: absolute; top: -30%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(212,165,116,.14) 0%, transparent 70%); }
.band-dark::after { content: ''; position: absolute; bottom: -40%; left: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(75,163,147,.16) 0%, transparent 70%); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .inner { position: relative; z-index: 1; }

/* "How we evaluate" module */
.evalbox {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.evalbox .eb-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.evalbox .eb-head h3 { font-size: 1.15rem; }
.evalbox > p.eb-lede { font-size: .9rem; color: var(--charcoal-light); margin-bottom: 22px; }
.criteria { display: flex; flex-direction: column; gap: 16px; }
.criterion { }
.criterion .cr-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; gap: 12px; }
.criterion .cr-name { font-weight: 600; font-size: .92rem; color: var(--charcoal); }
.criterion .cr-name small { display: block; font-weight: 400; font-size: .78rem; color: var(--charcoal-light); margin-top: 2px; }
.criterion .cr-weight { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.05rem; white-space: nowrap; }
.criterion .cr-bar { height: 7px; border-radius: 50px; background: var(--bg-light); overflow: hidden; }
.criterion .cr-bar i { display: block; height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.evalbox .eb-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.evalbox .eb-foot .rev { font-size: .78rem; color: var(--charcoal-light); }
.evalbox .eb-foot .rev strong { color: var(--charcoal-mid); }

/* Illustrative-values banner */
.illus-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--gold-tint); border: 1px dashed var(--gold-deep); border-radius: var(--radius-md);
  padding: 12px 16px; font-size: .82rem; color: var(--gold-deep); line-height: 1.5;
}
.illus-banner strong { color: #8a5f2e; }
.illus-chip {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-tint); border: 1px dashed var(--gold-deep);
  padding: 2px 7px; border-radius: 5px; vertical-align: middle;
}

/* =============================================================
   COMPARISON TABLE / SCORECARD ARTIFACT (+ embed/cite)
   ============================================================= */
.artifact {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.artifact-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 24px; border-bottom: 1px solid var(--rule); background: var(--paper);
}
.artifact-head .ah-title { display: flex; align-items: center; gap: 12px; }
.artifact-head h3 { font-size: 1.15rem; }
.artifact-head .ah-sub { font-size: .78rem; color: var(--charcoal-light); margin-top: 2px; }
.artifact-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white); color: var(--charcoal-mid);
  font-size: .78rem; font-weight: 600; transition: all .18s;
}
.tool-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-light); }
.tool-btn .ic { width: 13px; height: 13px; }

.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 680px; }
table.cmp thead th {
  text-align: left; padding: 13px 16px; background: var(--charcoal); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; position: sticky; top: 0;
}
table.cmp thead th:first-child { border-top-left-radius: 0; }
table.cmp tbody td { padding: 15px 16px; border-bottom: 1px solid var(--rule); vertical-align: middle; color: var(--charcoal-mid); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:nth-child(even) { background: var(--paper); }
table.cmp tbody tr.is-pick { background: var(--bg-light); }
table.cmp .vendor { display: flex; align-items: center; gap: 12px; }
table.cmp .vlogo { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: .9rem; }
table.cmp .vname { font-weight: 700; color: var(--charcoal); font-size: .92rem; }
table.cmp .vname small { display: block; font-weight: 400; color: var(--charcoal-light); font-size: .74rem; }
.bestfor-tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--primary-dark); background: var(--bg-light); border: 1px solid rgba(45,125,111,.18); padding: 3px 9px; border-radius: 50px; }
.pick-flag { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.pick-flag .star { color: var(--gold); }
.cell-na { color: var(--charcoal-light); }
.cell-link { font-weight: 600; white-space: nowrap; }

/* Embed / cite drawer */
.cite-drawer { display: none; padding: 20px 24px; background: var(--paper); border-top: 1px solid var(--rule); }
.cite-drawer.open { display: block; }
.cite-drawer h5 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal-light); margin-bottom: 8px; }
.cite-block {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .78rem; line-height: 1.6;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px;
  color: var(--charcoal-mid); margin-bottom: 16px; white-space: pre-wrap; word-break: break-word;
}
.cite-block .q { color: var(--charcoal); }
.embed-code {
  width: 100%; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .74rem;
  background: var(--charcoal); color: #cfe8e2; border: none; border-radius: 8px; padding: 14px 16px;
  resize: vertical; min-height: 74px; line-height: 1.5;
}
.copy-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }

/* =============================================================
   GUIDE CARDS (the ranking engine -- most visual weight)
   ============================================================= */
.guide-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.guide-feature .gf-body { padding: 36px; display: flex; flex-direction: column; }
.guide-feature .gf-art {
  background:
    repeating-linear-gradient(135deg, rgba(45,125,111,.05) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--bg-light), var(--paper));
  border-left: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 220px;
}
.guide-feature .gf-tag { margin-bottom: 14px; }
.guide-feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.guide-feature p { color: var(--charcoal-light); font-size: .95rem; margin-bottom: 20px; }
.guide-feature .gf-meta { margin-top: auto; display: flex; align-items: center; gap: 16px; font-size: .78rem; color: var(--charcoal-light); padding-top: 18px; border-top: 1px solid var(--rule); }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.guide-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm); transition: all .25s; display: flex; flex-direction: column;
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }
.gc-kind {
  display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 50px; margin-bottom: 14px; align-self: flex-start;
}
.gc-kind.k-best { color: var(--gold-deep); background: var(--gold-tint); }
.gc-kind.k-howto { color: var(--primary-dark); background: var(--bg-light); }
.gc-kind.k-pricing { color: #6B21A8; background: #F3E8FF; }
.gc-kind.k-explainer { color: var(--charcoal-mid); background: #EEF2F6; }
.guide-card h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 8px; }
.guide-card p { font-size: .85rem; color: var(--charcoal-light); flex: 1; margin-bottom: 16px; line-height: 1.5; }
.guide-card .gc-foot { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--charcoal-light); }
.guide-card .gc-read { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.guide-card:hover .gc-read { gap: 9px; }

.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-head.center .sh-lede { max-width: 600px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 10px 0 8px; }
.section-head .sh-lede { color: var(--charcoal-light); font-size: 1.02rem; }
.section-head .sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.viewall { font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* =============================================================
   DECISION TOOL CARDS
   ============================================================= */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tool-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: all .25s;
  position: relative; overflow: hidden;
}
.tool-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tool-card .tc-kind { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.tool-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tool-card p { font-size: .85rem; color: var(--charcoal-light); flex: 1; margin-bottom: 18px; line-height: 1.55; }
.tool-card .tc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--primary); }
.tool-card .free-pill { position: absolute; top: 20px; right: 22px; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }

/* =============================================================
   RESOURCES / DOWNLOADS
   ============================================================= */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.res-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: all .2s;
}
.res-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.res-card .ri { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; background: var(--bg-light); color: var(--primary); display: grid; place-items: center; }
.res-card h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.res-card p { font-size: .78rem; color: var(--charcoal-light); margin-bottom: 8px; line-height: 1.45; }
.res-card .dl { font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* =============================================================
   CURATED VENDOR SLICE -- editorial vs sponsored separation
   ============================================================= */
.slice-wrap { display: grid; gap: 22px; }
.vendor-list { display: grid; gap: 12px; }
.vendor-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px;
  transition: all .2s;
}
.vendor-row:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.vendor-row .vrank { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--charcoal-light); width: 22px; text-align: center; }
.vendor-row .vlogo { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.05rem; }
.vendor-row .vmain { min-width: 0; }
.vendor-row .vmain h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vendor-row .vmain p { font-size: .82rem; color: var(--charcoal-light); margin-top: 3px; line-height: 1.45; }
.vendor-row .vcell { display: flex; align-items: center; gap: 8px; }
.vendor-mid { display: flex; align-items: center; gap: 16px; }

.slice-block { border-radius: var(--radius-lg); padding: 24px; }
.slice-editorial { background: transparent; }
.slice-sponsored {
  background: var(--sponsor-bg); border: 1px solid var(--sponsor-border); border-radius: var(--radius-lg); padding: 24px;
}
.slice-label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.slice-label h3 { font-size: 1.1rem; }
.slice-label .sl-tag {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px;
}
.sl-tag.editorial { color: var(--primary-dark); background: var(--bg-light); border: 1px solid rgba(45,125,111,.2); }
.sl-tag.sponsored { color: var(--gold-deep); background: #fff; border: 1px solid var(--sponsor-border); }
.slice-sep {
  display: flex; align-items: center; gap: 14px; margin: 4px 0;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-light); font-weight: 700;
}
.slice-sep::before, .slice-sep::after { content: ''; height: 1px; background: var(--rule); flex: 1; }
.disclosure { font-size: .78rem; color: var(--charcoal-light); line-height: 1.5; margin-top: 14px; display: flex; gap: 9px; align-items: flex-start; }
.disclosure .di { color: var(--gold-deep); flex-shrink: 0; }
.sponsored-badge { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); background: #fff; border: 1px solid var(--sponsor-border); padding: 2px 8px; border-radius: 5px; }
.directory-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-light); border: 1px solid rgba(45,125,111,.16); border-radius: var(--radius-md); padding: 20px 24px;
}
.directory-cta p { font-size: .92rem; color: var(--charcoal-mid); }
.directory-cta p strong { color: var(--charcoal); }

/* =============================================================
   FAQ
   ============================================================= */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--charcoal); font-size: .98rem; }
.faq-q .pm { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s; }
.faq-q .pm::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq-q .pm::after { left: 8px; top: 0; bottom: 0; width: 2px; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a .faq-a-inner { padding: 0 22px 20px; color: var(--charcoal-light); font-size: .9rem; line-height: 1.65; }

/* =============================================================
   SIBLING HUB CROSS-LINKS
   ============================================================= */
.sibling-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sibling-card {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: all .2s;
}
.sibling-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.sibling-card .si { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.1rem; color: #fff; }
.sibling-card h4 { font-family: var(--font-body); color: #fff; font-size: .98rem; font-weight: 700; }
.sibling-card p { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.sibling-card .arr { margin-left: auto; color: var(--gold); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo .mark { background: var(--primary-light); }
.footer-brand .logo-accent { color: var(--primary-light); }
.footer-brand p { font-size: .86rem; line-height: 1.7; max-width: 300px; margin-bottom: 16px; }
.footer-brand .indep-line { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.82); }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .86rem; color: rgba(255,255,255,.62); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.5); }

@media (max-width: 860px) {
  .guide-feature { grid-template-columns: 1fr; }
  .guide-feature .gf-art { border-left: none; border-top: 1px solid var(--rule); min-height: 160px; order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mega-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .vendor-row { grid-template-columns: auto 1fr; }
  .vendor-row .vcell { grid-column: 1 / -1; justify-content: flex-start; padding-top: 8px; border-top: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr; }
  .artifact-tools { width: 100%; }
}

/* =============================================================
   DESIGN-REVIEW CONTROL (meta -- not shipped)
   ============================================================= */

/* fade-in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }
