/* ============================================================
   Leading Governance: design mockup styles
   Custom lightweight theme (no Elementor / page builders)
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0F4267;
  --navy-dark: #0A2F4A;
  --blue: #1477BA;
  --blue-dark: #0F5E96;
  --pink: #E90F8C;
  --lime: #B5C43E;
  --purple: #714190;
  --orange: #F05933;
  --cream: #FFF7F1;
  --cream-dark: #F5EBE3;
  --grey: #58585A;
  --grey-mid: #7A7A7A;
  --grey-light: #E8E8E8;
  --grey-bg: #F7F7F8;
  --white: #FFFFFF;
  --black: #1A1A1A;

  /* 4 P pillar accents */
  --p-people: var(--pink);
  --p-purpose: var(--lime);
  --p-processes: var(--purple);
  --p-performance: var(--orange);

  /* UI */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 66, 103, 0.08);
  --shadow: 0 4px 20px rgba(15, 66, 103, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 66, 103, 0.14);
  --header-h: 72px;
  --max: 1180px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
button, input, select { font: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p + p { margin-top: 0.85em; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 2.5rem, 1320px);
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(233, 15, 140, 0.28);
}
.btn-primary:hover { background: #C90C78; color: var(--white); }
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 0.5rem;
}
.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* ---- Skip / utility ---- */
.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
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-light);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 42px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--cream);
  color: var(--navy);
}
.nav a[aria-current="page"] { font-weight: 600; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.header-actions .login-link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0.65rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 55%, #155A8A 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(233, 15, 140, 0.22), transparent),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(181, 196, 62, 0.12), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.1rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(181, 196, 62, 0.25);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.15rem;
  max-width: 16ch;
}
.hero .lede {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  max-width: 42ch;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust svg { flex-shrink: 0; opacity: 0.9; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  color: var(--grey);
}
.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.hero-card .plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.hero-card .plan-price .amount {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.hero-card .plan-price .period {
  color: var(--grey-mid);
  font-size: 0.9rem;
}
.hero-card .plan-note {
  font-size: 0.8125rem;
  color: var(--grey-mid);
  margin-bottom: 1.15rem;
}
.hero-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}
.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--grey);
}
.hero-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--lime); }
.hero-card .btn { width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-grey { background: var(--grey-bg); }

.section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-header.centered {
  text-align: center;
  margin-inline: auto;
}
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.section-header p {
  margin-top: 0.85rem;
  color: var(--grey-mid);
  font-size: 1.05rem;
}


/* ============================================================
   4 P PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem 1.5rem;
  border: 1px solid var(--grey-light);
  border-top: 4px solid var(--pillar, var(--blue));
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pillar-card.people { --pillar: var(--p-people); }
.pillar-card.purpose { --pillar: var(--p-purpose); }
.pillar-card.processes { --pillar: var(--p-processes); }
.pillar-card.performance { --pillar: var(--p-performance); }
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pillar) 14%, white);
  color: var(--pillar);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.25rem;
  line-height: 1;
}
.pillar-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}
.pillar-card h3 span {
  color: var(--pillar);
}
.pillar-card p {
  font-size: 0.9rem;
  color: var(--grey-mid);
  flex: 1;
  margin-bottom: 1.1rem;
}
.pillar-card .pillar-link {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pillar-card .pillar-link:hover { color: var(--pillar); }

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.resource-card:hover {
  box-shadow: var(--shadow);
  border-color: #d0d0d0;
}
.resource-card.featured {
  grid-column: span 1;
  border-color: var(--blue);
  background: linear-gradient(180deg, #F3F9FD 0%, var(--white) 40%);
}
.resource-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.tag {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--grey-bg);
  color: var(--grey);
}
.tag.type-guide { background: #E8F2FA; color: var(--blue); }
.tag.type-template { background: #F3EAF8; color: var(--purple); }
.tag.type-tool { background: #FEF0EB; color: var(--orange); }
.tag.type-factsheet { background: #F4F7E0; color: #6B7A1A; }
.tag.topic-people { background: color-mix(in srgb, var(--pink) 12%, white); color: var(--pink); }
.tag.topic-purpose { background: color-mix(in srgb, var(--lime) 18%, white); color: #6B7A1A; }
.tag.topic-processes { background: color-mix(in srgb, var(--purple) 12%, white); color: var(--purple); }
.tag.topic-performance { background: color-mix(in srgb, var(--orange) 12%, white); color: var(--orange); }
.tag.members {
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.tag.free {
  background: var(--lime);
  color: var(--navy);
}
.resource-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}
.resource-card h3 a { color: var(--navy); }
.resource-card h3 a:hover { color: var(--blue); }
.resource-card .excerpt {
  font-size: 0.875rem;
  color: var(--grey-mid);
  flex: 1;
}

/* Featured banner card (resources hub) */
.featured-resource {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  align-items: center;
}
.featured-resource h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0.5rem 0 0.75rem;
}
.featured-resource p { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.featured-label {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.featured-resource .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

/* ============================================================
   FILTER / SEARCH BAR (resources)
   ============================================================ */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.filter-search {
  display: flex;
  gap: 0.65rem;
}
.filter-search input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  background: var(--grey-bg);
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 119, 186, 0.15);
  background: var(--white);
}
.filter-search input::placeholder { color: #9a9a9a; }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.filter-chips .chip-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey-mid);
  margin-right: 0.25rem;
}
.chip {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--grey-light);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover, .chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.chip.active-people { background: var(--pink); border-color: var(--pink); color: white; }
.chip.active-purpose { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.chip.active-processes { background: var(--purple); border-color: var(--purple); color: white; }
.chip.active-performance { background: var(--orange); border-color: var(--orange); color: white; }

.hub-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hub-tab {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.hub-tab:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.hub-tab .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.hub-tab h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.hub-tab p { font-size: 0.8rem; color: var(--grey-mid); }

.topic-hubs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.topic-hub {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}
.topic-hub:hover { transform: translateY(-2px); color: var(--white); }
.topic-hub.people { background: linear-gradient(145deg, #C90C78, var(--pink)); }
.topic-hub.purpose { background: linear-gradient(145deg, #8FA02A, var(--lime)); color: var(--navy); }
.topic-hub.purpose:hover { color: var(--navy); }
.topic-hub.processes { background: linear-gradient(145deg, #5A3474, var(--purple)); }
.topic-hub.performance { background: linear-gradient(145deg, #D04828, var(--orange)); }
.topic-hub h3 { color: inherit; font-size: 1.2rem; margin-bottom: 0.35rem; }
.topic-hub p { font-size: 0.85rem; opacity: 0.9; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.65rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border: 2px solid var(--pink);
  box-shadow: var(--shadow);
  z-index: 1;
  background: linear-gradient(180deg, #FFF9FC 0%, var(--white) 28%);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: white;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .plan-name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}
.price-card .price .amount {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-card .price .period { color: var(--grey-mid); font-size: 0.9rem; }
.price-card .plan-desc {
  font-size: 0.875rem;
  color: var(--grey-mid);
  margin-bottom: 1.35rem;
  min-height: 2.8em;
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.price-card li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.875rem;
  align-items: flex-start;
}
.price-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--lime); }
.price-card .btn { width: 100%; }

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.included-item {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--grey-light);
}
.included-item .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.included-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.included-item p { font-size: 0.875rem; color: var(--grey-mid); }

.reassurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
}
.reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 500;
}

/* ============================================================
   HERITAGE / ABOUT
   ============================================================ */
.heritage {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.heritage-visual {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  border: 1px solid var(--cream-dark);
}
.heritage-visual .quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--pink);
  opacity: 0.35;
  position: absolute;
  top: 1rem; left: 1.5rem;
}
.heritage-visual blockquote {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.heritage-visual .attribution {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.heritage-visual .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.heritage-visual .attr-text strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.heritage-visual .attr-text span {
  font-size: 0.8rem;
  color: var(--grey-mid);
}
.heritage-content .built-on {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}
.heritage-content p { margin-bottom: 1rem; color: var(--grey-mid); }
.heritage-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.5rem 0;
}
.cred {
  font-size: 0.8125rem;
  padding: 0.65rem 0.85rem;
  background: var(--grey-bg);
  border-radius: 8px;
  color: var(--navy);
  border-left: 3px solid var(--blue);
}
.cred strong { display: block; font-family: var(--font-head); font-size: 0.75rem; margin-bottom: 0.15rem; }
.maintainer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--cream);
  border-radius: var(--radius);
  margin-top: 0.5rem;
}
.maintainer .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
}
.maintainer strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 0.9rem;
}
.maintainer p { font-size: 0.8125rem; color: var(--grey-mid); margin: 0.2rem 0 0.45rem; }
.maintainer a { font-size: 0.8125rem; font-weight: 600; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.15rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--grey-mid); max-width: 28ch; margin-inline: auto; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
}
.blog-card:nth-child(2) .thumb { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.blog-card:nth-child(3) .thumb { background: linear-gradient(135deg, #8FA02A, var(--lime)); }
.blog-card .body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .date {
  font-size: 0.75rem;
  color: var(--grey-mid);
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p {
  font-size: 0.875rem;
  color: var(--grey-mid);
  flex: 1;
  margin-bottom: 0.85rem;
}
.blog-card .read-more {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  color: white;
}
.newsletter h2 { color: white; margin-bottom: 0.5rem; }
.newsletter p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 0;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(181, 196, 62, 0.4); }
.newsletter .note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.65rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.925rem;
  color: var(--grey-mid);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--cream);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.page-hero .breadcrumb {
  font-size: 0.8125rem;
  color: var(--grey-mid);
  margin-bottom: 0.85rem;
}
.page-hero .breadcrumb a { color: var(--blue); }
.page-hero h1 { margin-bottom: 0.65rem; }
.page-hero .lede {
  max-width: 58ch;
  color: var(--grey-mid);
  font-size: 1.05rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy);
  padding: 3.5rem 0;
  text-align: center;
  color: white;
}
.cta-band h2 { color: white; margin-bottom: 0.65rem; }
.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}
.cta-band .btns {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   PARTNER STRIP
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid,
  .pricing-grid,
  .hub-tabs,
  .topic-hubs { grid-template-columns: repeat(2, 1fr); }
  .resource-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .heritage,
  .newsletter,
  .featured-resource { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav, .header-actions .login-link { display: none; }
  .nav-toggle { display: flex; }
  .logo img { height: 34px; }
  .pillars-grid,
  .pricing-grid,
  .resource-grid,
  .blog-grid,
  .hub-tabs,
  .topic-hubs,
  .steps,
  .included-grid,
  .footer-grid,
  .heritage-creds { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .newsletter-form { flex-direction: column; }
  .filter-search { flex-direction: column; }
}

/* Lock icon helper */
.lock-icon {
  display: inline-block;
  width: 10px; height: 12px;
  vertical-align: -1px;
}

/* ============================================================
   SCORECARD PRODUCT PREVIEW (illustrative mock)
   ============================================================ */
.scorecard-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--grey);
  border: 1px solid rgba(255,255,255,0.2);
}
.scorecard-preview .sc-chrome {
  background: var(--grey-bg);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--grey-light);
}
.scorecard-preview .sc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D0D0D0;
}
.scorecard-preview .sc-dot:nth-child(1) { background: #FF5F57; }
.scorecard-preview .sc-dot:nth-child(2) { background: #FEBC2E; }
.scorecard-preview .sc-dot:nth-child(3) { background: #28C840; }
.scorecard-preview .sc-title-bar {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--grey-mid);
  margin-left: 0.5rem;
}
.scorecard-preview .sc-body { padding: 1.35rem 1.4rem 1.5rem; }
.scorecard-preview .sc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  gap: 0.75rem;
}
.scorecard-preview .sc-header h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.scorecard-preview .sc-header p {
  font-size: 0.75rem;
  color: var(--grey-mid);
}
.scorecard-preview .sc-badge {
  font-family: var(--font-head);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--navy);
  color: white;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}
.sc-rows { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.25rem; }
.sc-row { display: flex; flex-direction: column; gap: 0.35rem; }
.sc-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}
.sc-row-top .score-label { color: var(--grey-mid); font-weight: 500; font-size: 0.75rem; }
.sc-bar {
  height: 8px;
  background: var(--grey-light);
  border-radius: 999px;
  overflow: hidden;
}
.sc-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
}
.sc-bar-fill.lime { background: var(--lime); }
.sc-bar-fill.pink { background: var(--pink); }
.sc-bar-fill.orange { background: var(--orange); }
.sc-bar-fill.purple { background: var(--purple); }
.sc-rating-dots {
  display: flex;
  gap: 0.35rem;
}
.sc-rating-dots span {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--grey-light);
  background: var(--white);
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-mid);
  font-family: var(--font-head);
  font-weight: 600;
}
.sc-rating-dots span.on {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.sc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-light);
}
.sc-footer .illus-note {
  font-size: 0.6875rem;
  color: var(--grey-mid);
  font-style: italic;
  max-width: 18ch;
}
.sc-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pink);
  color: white;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.6rem 0.95rem;
  border-radius: 6px;
  border: 0;
  pointer-events: none;
}

/* ============================================================
   TOOLS GRID & TOOL CARDS
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tool-accent, var(--blue));
}
.tool-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.tool-card .tool-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tool-accent, var(--blue)) 14%, white);
  color: var(--tool-accent, var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.tool-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}
.tool-card .tool-desc {
  font-size: 0.875rem;
  color: var(--grey-mid);
  flex: 1;
}
.tool-card .tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-top: 0.65rem;
  border-top: 1px solid var(--grey-light);
}
.tool-card .pdf-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--grey-mid);
  font-family: var(--font-head);
  font-weight: 500;
}
.tool-card.accent-pink { --tool-accent: var(--pink); }
.tool-card.accent-blue { --tool-accent: var(--blue); }
.tool-card.accent-lime { --tool-accent: var(--lime); }
.tool-card.accent-purple { --tool-accent: var(--purple); }
.tool-card.accent-orange { --tool-accent: var(--orange); }
.tool-card.accent-navy { --tool-accent: var(--navy); }

.tools-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.tools-highlight .tool-card { min-height: 200px; }

.how-tools-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.how-tools-works .htw-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--grey-light);
  text-align: left;
}
.how-tools-works .htw-step .num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 0.65rem;
}
.how-tools-works .htw-step h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.how-tools-works .htw-step p { font-size: 0.875rem; color: var(--grey-mid); }

@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-highlight,
  .how-tools-works { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: 1fr; }
}

.tools-join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .tools-join-grid { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
  .hero-card, .scorecard-preview { margin-top: 0.5rem; }
  .price-card.featured { order: -1; }
  .pricing-grid { display: flex; flex-direction: column; gap: 1.25rem; }
  .header-actions .btn-sm { padding: 0.45rem 0.9rem; }
  .page-hero { padding: 2.25rem 0 2rem; }
  .featured-resource { padding: 1.5rem; }
  .cta-band { padding: 2.75rem 0; }
}

/* ============================================================
   WordPress / theme additions
   ============================================================ */
.alignwide { max-width: 1320px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { height: auto; }
.screen-reader-text, .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;
}

/* Content area (pages, posts, MemberPress) */
.entry-content,
.lg-content {
  max-width: 760px;
  margin: 0 auto;
}
.lg-content--wide,
.page-template-page-full .lg-content {
  max-width: 1100px;
}
.entry-content > *:first-child,
.lg-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3,
.lg-content h2, .lg-content h3 { margin: 1.5em 0 0.6em; }
.entry-content p, .lg-content p { margin: 0 0 1em; }
.entry-content ul, .entry-content ol,
.lg-content ul, .lg-content ol {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1em;
}
.entry-content ol, .lg-content ol { list-style: decimal; }
.entry-content a, .lg-content a { text-decoration: underline; text-underline-offset: 2px; }

.page-hero { padding: 2.75rem 0 2rem; background: var(--cream); border-bottom: 1px solid var(--cream-dark); }
.page-hero .breadcrumb { font-size: 0.8125rem; color: var(--grey-mid); margin-bottom: 0.85rem; }
.page-hero .breadcrumb a { color: var(--blue); }
.page-hero .lede { font-size: 1.125rem; color: var(--grey-mid); max-width: 60ch; margin-top: 0.85rem; }

.lg-page-wrap { padding: 2.5rem 0 4rem; }
.lg-page-wrap.full-bleed { padding-top: 0; }

/* Mobile nav open */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: var(--shadow);
    gap: 0.15rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0.85rem; }
  body.nav-open { overflow: hidden; }
}

/* Scorecard preview helpers already in mockup CSS */
.tools-join-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .tools-join-grid { grid-template-columns: 1fr; }
}

/* Blog cards without dates */
.blog-card .date { display: none; }

/* Pagination */
.lg-pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.lg-pagination a,
.lg-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--grey-light);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.lg-pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* 404 */
.lg-404 { text-align: center; padding: 4rem 0; }
.lg-404 h1 { margin-bottom: 1rem; }
.lg-404 p { color: var(--grey-mid); margin-bottom: 1.5rem; }

/* ============================================================
   MemberPress
   ============================================================ */
.mepr-form,
.mp_wrapper,
.mp-form-row,
.mepr-login-form-wrap,
.mepr-account-container,
.mepr-price-box,
.mepr_error,
.mepr-unauthorized-message,
#mepr-account-nav {
  font-family: var(--font-body);
  color: var(--grey);
}
.mepr-form input[type="text"],
.mepr-form input[type="email"],
.mepr-form input[type="password"],
.mepr-form input[type="tel"],
.mepr-form input[type="url"],
.mepr-form input[type="number"],
.mepr-form select,
.mepr-form textarea,
.mp-form-row input,
.mp-form-row select,
.mp-form-row textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  background: var(--grey-bg);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.mepr-form input:focus,
.mp-form-row input:focus,
.mp-form-row select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 119, 186, 0.15);
  background: var(--white);
}
.mepr-submit,
.mepr-form .mepr-submit,
.mp-form-submit input[type="submit"],
.mepr_signup_form input[type="submit"],
#mepr_loginform input[type="submit"],
.mepr-login-actions a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  background: var(--pink) !important;
  color: var(--white) !important;
  border: 0 !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(233, 15, 140, 0.28);
}
.mepr-submit:hover,
.mp-form-submit input[type="submit"]:hover {
  background: #C90C78 !important;
}
.mepr-price-boxes,
.mepr-price-box {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--grey-light) !important;
  box-shadow: var(--shadow-sm);
}
.mepr-price-box .mepr-price-box-price {
  color: var(--navy) !important;
  font-family: var(--font-head);
}
.mepr-unauthorized-message,
.mepr-no-active-subscriptions {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.mepr-unauthorized-message a {
  color: var(--blue);
  font-weight: 600;
}
#mepr-account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 0.75rem;
}
#mepr-account-nav .mepr-nav-item a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
}
#mepr-account-nav .mepr-active-nav-tab a,
#mepr-account-nav .mepr-nav-item a:hover {
  background: var(--cream);
}

/* ============================================================
   Gravity Forms + Formidable (legacy portals)
   ============================================================ */
.gform_wrapper,
.gform_wrapper.gravity-theme,
.frm_forms {
  font-family: var(--font-body);
}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea,
.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms select,
.frm_forms textarea {
  border: 1px solid var(--grey-light) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  background: var(--grey-bg) !important;
}
.gform_button,
.gform_wrapper .gform_button,
.frm_button_submit {
  background: var(--pink) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0.85rem 1.5rem !important;
  font-family: var(--font-head) !important;
  font-weight: 600 !important;
}

/* Resource single / tool full width */
.single-resources .lg-content {
  max-width: 900px;
}
.single-resources .page-hero { margin-bottom: 0; }

/* Hide WP dates globally in theme templates */
.lg-no-date,
.posted-on,
.entry-date,
.entry-meta .date { display: none !important; }

/* Custom logo from Customizer */
.logo .custom-logo-link { display: flex; align-items: center; }
.logo .custom-logo { height: 42px; width: auto; }

/* ============================================================
   v1.0.1: hardening against Elementor global kit CSS
   (.elementor-kit-N selectors are 0,1,1; these are >= 0,2,1)
   ============================================================ */
body.lg-theme .site-header,
body.lg-theme .site-footer,
body.lg-theme.lg-theme-owned main {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}
body.lg-theme.lg-theme-owned { color: var(--grey); font-family: var(--font-body); }

body.lg-theme h1, body.lg-theme h2, body.lg-theme h3, body.lg-theme h4, body.lg-theme h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  text-transform: none;
}
body.lg-theme main h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
body.lg-theme main h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
body.lg-theme main h3 { font-size: 1.25rem; }
body.lg-theme .hero h1 { color: var(--white); max-width: 16ch; margin-bottom: 1.15rem; }
body.lg-theme .hero .lede { color: rgba(255,255,255,0.88); }
body.lg-theme .cta-band h2,
body.lg-theme .newsletter h2,
body.lg-theme .featured-resource h2,
body.lg-theme .section-navy h2,
body.lg-theme .section-navy h3 { color: var(--white); }
body.lg-theme .featured-resource h2 { font-size: 1.5rem; }
body.lg-theme .footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
body.lg-theme .topic-hub h3 { color: inherit; font-size: 1.2rem; }
body.lg-theme .resource-card h3, body.lg-theme .blog-card h3 { font-size: 1.05rem; }
body.lg-theme .tool-card h3, body.lg-theme .pillar-card h3 { font-size: 1.15rem; }
body.lg-theme .sc-header h3 { font-size: 1rem; }

/* Links */
body.lg-theme main a { color: var(--blue); }
body.lg-theme main a:hover { color: var(--navy); }
body.lg-theme .resource-card h3 a,
body.lg-theme .blog-card h3 a { color: var(--navy); }
body.lg-theme .resource-card h3 a:hover,
body.lg-theme .blog-card h3 a:hover { color: var(--blue); }
body.lg-theme main a.tool-card,
body.lg-theme main a.hub-tab,
body.lg-theme .tool-card h3 a { color: inherit; }
body.lg-theme main a.topic-hub,
body.lg-theme main a.topic-hub:hover { color: var(--white); }
body.lg-theme main a.topic-hub.purpose,
body.lg-theme main a.topic-hub.purpose:hover { color: var(--navy); }
body.lg-theme .pillar-card .pillar-link { color: var(--navy); }
body.lg-theme .pillar-card .pillar-link:hover { color: var(--pillar); }
body.lg-theme .newsletter .note a { color: var(--lime); }

/* Header */
body.lg-theme .site-header .nav a,
body.lg-theme .site-header .login-link { color: var(--navy); font-family: var(--font-head); font-size: 0.875rem; font-weight: 500; text-transform: none; }
body.lg-theme .site-header .nav a:hover,
body.lg-theme .site-header .nav a[aria-current="page"] { color: var(--navy); background: var(--cream); }
body.lg-theme .site-header .nav-toggle,
body.lg-theme .site-header .nav-toggle:hover,
body.lg-theme .site-header .nav-toggle:focus { background: none; border: 0; padding: 0; box-shadow: none; }

/* Footer */
body.lg-theme .site-footer { color: rgba(255,255,255,0.75); }
body.lg-theme .site-footer .footer-col a { color: rgba(255,255,255,0.7); }
body.lg-theme .site-footer .footer-col a:hover { color: var(--white); }
body.lg-theme .site-footer .footer-bottom,
body.lg-theme .site-footer .footer-bottom p { color: rgba(255,255,255,0.5); }
body.lg-theme .site-footer .footer-bottom a { color: rgba(255,255,255,0.55); }

/* Buttons (all states, incl. :visited / :focus) */
body.lg-theme a.btn, body.lg-theme button.btn, body.lg-theme .btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 8px;
}
body.lg-theme .btn.btn-lg { font-size: 1rem; padding: 1rem 1.85rem; }
body.lg-theme .btn.btn-sm { font-size: 0.8125rem; padding: 0.5rem 1rem; }
body.lg-theme .btn.btn-primary,
body.lg-theme .btn.btn-primary:visited,
body.lg-theme .btn.btn-primary:focus { background: var(--pink); color: var(--white); border-color: transparent; }
body.lg-theme .btn.btn-primary:hover { background: #C90C78; color: var(--white); }
body.lg-theme .btn.btn-secondary,
body.lg-theme .btn.btn-secondary:visited,
body.lg-theme .btn.btn-secondary:focus { background: var(--navy); color: var(--white); border-color: transparent; }
body.lg-theme .btn.btn-secondary:hover { background: var(--navy-dark); color: var(--white); }
body.lg-theme .btn.btn-outline,
body.lg-theme .btn.btn-outline:visited,
body.lg-theme .btn.btn-outline:focus { background: transparent; color: var(--navy); border-color: var(--navy); }
body.lg-theme .btn.btn-outline:hover { background: var(--navy); color: var(--white); }
body.lg-theme .btn.btn-outline-white,
body.lg-theme .btn.btn-outline-white:visited,
body.lg-theme .btn.btn-outline-white:focus { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
body.lg-theme .btn.btn-outline-white:hover { background: var(--white); color: var(--navy); }
body.lg-theme .btn.btn-ghost { background: transparent; color: var(--blue); }
body.lg-theme .chip { color: var(--navy); background: var(--white); text-transform: none; }
body.lg-theme .chip:hover,
body.lg-theme .chip.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
body.lg-theme a.pdf-cue { color: inherit; }

/* v1.0.2: single public plan, what's included, discreet partner discount note */
body.lg-theme .pricing-single {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 440px);
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 920px;
  margin: 0 auto;
}
body.lg-theme .pricing-single .price-card { text-align: center; }
body.lg-theme .pricing-single .price-card.featured { transform: none; }
body.lg-theme .pricing-single .price-card .badge { position: absolute; }
body.lg-theme .pricing-single .price-card .price { justify-content: center; }
body.lg-theme .price-fineprint { margin: 0.85rem 0 0; font-size: 0.82rem; color: var(--grey-mid); }
body.lg-theme .included-list h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 1rem; }
body.lg-theme .included-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
body.lg-theme .included-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--grey); font-size: 1rem; line-height: 1.5; }
body.lg-theme .included-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--lime); }
body.lg-theme .partner-discount {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  background: transparent;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--grey-mid);
}
body.lg-theme .partner-discount p { margin: 0; color: inherit; font-size: inherit; }
body.lg-theme .partner-discount strong { color: var(--grey); font-weight: 600; }
body.lg-theme .partner-discount-links { margin-top: 0.4rem !important; }
body.lg-theme .partner-discount a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
body.lg-theme .partner-discount-links span { margin: 0 0.4rem; }
@media (max-width: 860px) {
  body.lg-theme .pricing-single { grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 460px; }
  body.lg-theme .partner-discount { margin-top: 2rem; }
}

/* v1.0.3: header account state, member badges, login page, tool containment, MemberPress fields */
body.lg-theme .site-header .nav-account { display: none; }
@media (max-width: 768px) {
  body.lg-theme .site-header .nav.is-open .nav-account {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--grey-light);
  }
  body.lg-theme .site-header .nav-account .nav-account-link {
    padding: 0.75rem 0.85rem;
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
  }
  body.lg-theme .site-header .nav-account .nav-account-link:hover { background: var(--cream); }
}
body.lg-theme .tag.members.is-open { background: rgba(181, 196, 62, 0.18); color: #55600F; }
body.lg-theme .tag.members.is-open svg { color: #55600F; }

body.lg-theme .lg-join-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
}
body.lg-theme .lg-join-notice strong { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 0.25rem; }
body.lg-theme .lg-join-notice p { margin: 0; color: var(--grey); font-size: 0.95rem; max-width: 52ch; }

body.lg-theme .lg-login-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
body.lg-theme .lg-login-card .mp_wrapper,
body.lg-theme .lg-login-card .mepr-login-form-wrap { max-width: none; margin: 0; padding: 0; box-shadow: none; border: 0; }
body.lg-theme .lg-login-card input[type="submit"] { width: 100%; }
body.lg-theme .lg-login-join { margin: 1.25rem 0 0; text-align: center; font-size: 0.925rem; color: var(--grey-mid); }
@media (max-width: 560px) {
  body.lg-theme .lg-login-card { padding: 1.5rem 1.15rem 1.25rem; border-radius: var(--radius); }
}

/* Interactive tool (wp:html) containment */
body.lg-theme .lg-content { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
body.lg-theme .lg-content img,
body.lg-theme .lg-content video,
body.lg-theme .lg-content canvas,
body.lg-theme .lg-content svg { max-width: 100%; }
body.lg-theme .lg-content iframe,
body.lg-theme .lg-content [class^="lg-"][class$="-wrapper"],
body.lg-theme .lg-content [class^="lg-"][class$="-container"],
body.lg-theme .lg-content table { max-width: 100%; }
body.lg-theme .lg-content [class^="lg-"] { min-width: 0; }
body.lg-theme .lg-content .lg-score-options { flex-wrap: wrap; }
@media (max-width: 760px) {
  body.lg-theme .lg-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.lg-theme .lg-content pre { overflow-x: auto; }
}
@media (max-width: 600px) {
  body.lg-theme .lg-content [class^="lg-"][class$="-wrapper"] { padding: 20px 16px !important; }
  body.lg-theme .lg-content [class*="-card"][class^="lg-"] { padding: 18px 14px; }
}

/* MemberPress register / account fields */
body.lg-theme .mp_wrapper .iti,
body.lg-theme .mepr-form .iti { display: block; width: 100%; }
body.lg-theme .mp_wrapper .iti input[type="tel"],
body.lg-theme .mepr-form .iti input[type="tel"] { width: 100%; }
body.lg-theme .mp_wrapper .iti__selected-flag,
body.lg-theme .mp_wrapper .iti__selected-country,
body.lg-theme .mp_wrapper .iti__flag-container button,
body.lg-theme .mepr-form .iti__selected-flag,
body.lg-theme .mepr-form .iti__selected-country {
  background: transparent !important;
  color: var(--navy) !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0.4rem 0 0.85rem !important;
  min-height: 0 !important;
  font: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 8px 0 0 8px !important;
}
body.lg-theme .mp_wrapper .iti__selected-dial-code { color: var(--grey) !important; }
body.lg-theme .mp_wrapper .iti__country-container,
body.lg-theme .mp_wrapper .iti__flag-container { background: transparent !important; }
body.lg-theme .mp-form-row input[type="checkbox"],
body.lg-theme .mp-form-row input[type="radio"],
body.lg-theme .mepr-form input[type="checkbox"],
body.lg-theme .mepr-form input[type="radio"] {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--pink);
}
body.lg-theme .mp_wrapper .mepr-checkboxes-field,
body.lg-theme .mp_wrapper .mepr-radios-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: auto;
  padding: 0.25rem 0 0.75rem;
  background: none;
  border: 0;
}
body.lg-theme .mp_wrapper .mepr-checkboxes-field-row,
body.lg-theme .mp_wrapper .mepr-radios-field-row,
body.lg-theme .mp_wrapper .mepr-checkbox-field,
body.lg-theme .mp_wrapper label.mepr-checkbox-field {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  text-align: left;
  width: auto;
}
body.lg-theme .mp_wrapper .mepr-form-checkboxes-label,
body.lg-theme .mp_wrapper .mepr-form-radios-label { margin: 0; color: var(--grey); font-size: 0.95rem; }

/* ============================================================
   v1.0.3: mega menu (desktop) and drawer (mobile)
   ============================================================ */
body.lg-theme .mega-nav { display: flex; align-items: center; height: 100%; }
body.lg-theme .mega-list { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; height: 100%; }
body.lg-theme .mega-item { position: static; display: flex; align-items: center; height: 100%; }
body.lg-theme .mega-item-small { position: relative; }
body.lg-theme .mega-trigger,
body.lg-theme .mega-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
body.lg-theme .mega-trigger:hover,
body.lg-theme .mega-link:hover,
body.lg-theme .mega-trigger[aria-expanded="true"],
body.lg-theme .mega-link[aria-current="page"] { background: var(--cream); color: var(--navy); }
body.lg-theme .mega-trigger:focus-visible,
body.lg-theme .mega-link:focus-visible,
body.lg-theme .mega-panel a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body.lg-theme .mega-trigger .chev { transition: transform 0.2s var(--ease); opacity: 0.7; }
body.lg-theme .mega-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

body.lg-theme .mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  box-shadow: 0 24px 48px rgba(15, 66, 103, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  z-index: 120;
}
body.lg-theme .mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s;
}
body.lg-theme .mega-panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink) 0 25%, var(--lime) 25% 50%, var(--purple) 50% 75%, var(--orange) 75% 100%);
}
body.lg-theme .mega-inner { max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem 2rem; display: grid; gap: 2rem; }
body.lg-theme .mega-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
body.lg-theme .mega-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.925rem; color: var(--navy); line-height: 1.3; }
body.lg-theme .mega-title { white-space: normal; }
body.lg-theme .mega-tag { display: block; margin-top: 0.4rem; line-height: 1; }
body.lg-theme .mega-tag .tag { font-size: 0.6rem; padding: 0.14rem 0.45rem; }
body.lg-theme .mega-desc { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--grey-mid); line-height: 1.4; }
body.lg-theme .mega-panel ul { list-style: none; margin: 0; padding: 0; }
body.lg-theme .mega-panel a { text-decoration: none; }

body.lg-theme .mega-grid-tools { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
body.lg-theme .mega-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; }
body.lg-theme .mega-tool { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.7rem 0.75rem; border-radius: 10px; transition: background 0.15s; }
body.lg-theme .mega-tool:hover { background: var(--grey-bg); }
body.lg-theme .mega-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 14%, white);
  color: var(--c);
  font-size: 1rem;
  font-weight: 700;
}
body.lg-theme .mega-side { padding: 0.25rem 0 0 1.5rem; border-left: 1px solid var(--grey-light); }
body.lg-theme .mega-links li a { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; color: var(--navy); font-size: 0.9rem; font-weight: 500; }
body.lg-theme .mega-links li a:hover { color: var(--blue); }
body.lg-theme .mega-links .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
body.lg-theme .mega-all { display: inline-flex; gap: 0.35rem; margin-top: 1rem; font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; color: var(--pink); }
body.lg-theme .mega-all:hover { color: #C90C78; }

body.lg-theme .mega-grid-4ps { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); align-items: stretch; }
body.lg-theme .mega-intro p:not(.mega-heading) { margin: 0; color: var(--grey); font-size: 0.9rem; line-height: 1.5; }
body.lg-theme .mega-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--grey-light);
  border-top: 4px solid var(--c);
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
body.lg-theme .mega-pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
body.lg-theme .mega-pillar-letter {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 0.45rem;
}
body.lg-theme .mega-more { margin-top: auto; padding-top: 0.6rem; font-size: 0.8rem; font-weight: 600; color: var(--c); font-family: var(--font-head); }

body.lg-theme .mega-grid-resources { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
body.lg-theme .mega-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 1rem; }
body.lg-theme .mega-type { display: block; padding: 0.7rem 0.75rem 0.7rem 1rem; border-left: 3px solid var(--c); border-radius: 0 10px 10px 0; transition: background 0.15s; }
body.lg-theme .mega-type:hover { background: var(--grey-bg); }
body.lg-theme .mega-featured {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy) 60%, #155A8A);
  color: #fff;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
body.lg-theme .mega-featured:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
body.lg-theme .mega-featured-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); font-family: var(--font-head); }
body.lg-theme .mega-featured-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
body.lg-theme .mega-featured-desc { font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
body.lg-theme .mega-featured-bars { display: grid; gap: 6px; margin: 0.35rem 0; }
body.lg-theme .mega-featured-bars i { display: block; height: 6px; border-radius: 3px; background: var(--pink); }
body.lg-theme .mega-featured-bars i:nth-child(2) { background: var(--lime); }
body.lg-theme .mega-featured-bars i:nth-child(3) { background: var(--orange); }
body.lg-theme .mega-featured-cta { font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; color: #fff; }

body.lg-theme .mega-panel-small { left: auto; right: 0; top: calc(100% - 10px); width: 260px; border: 1px solid var(--grey-light); border-radius: 12px; overflow: hidden; }
body.lg-theme .mega-small-list { padding: 0.6rem !important; }
body.lg-theme .mega-small-list a { display: block; padding: 0.65rem 0.75rem; border-radius: 8px; transition: background 0.15s; }
body.lg-theme .mega-small-list a:hover { background: var(--grey-bg); }

@media (max-width: 1180px) {
  body.lg-theme .mega-trigger, body.lg-theme .mega-link { padding: 0.5rem 0.55rem; }
}
@media (max-width: 960px) {
  body.lg-theme .mega-nav { display: none; }
  body.lg-theme .nav-toggle { display: flex; }
}

/* Drawer */
body.lg-theme .lg-drawer { position: fixed; inset: 0; z-index: 1000; }
body.lg-theme .lg-drawer[hidden] { display: none; }
body.lg-theme .lg-drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 47, 74, 0.55); opacity: 0; transition: opacity 0.25s var(--ease); }
body.lg-theme .lg-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  background: var(--navy-dark);
  background-image: radial-gradient(circle at 110% -10%, rgba(233, 15, 140, 0.28), transparent 45%), radial-gradient(circle at -20% 110%, rgba(20, 119, 186, 0.35), transparent 50%);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
}
body.lg-theme .lg-drawer.is-open .lg-drawer-backdrop { opacity: 1; }
body.lg-theme .lg-drawer.is-open .lg-drawer-panel { transform: translateX(0); }
body.lg-theme .lg-drawer-accent { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; flex: 0 0 4px; }
body.lg-theme .lg-drawer-accent i:nth-child(1) { background: var(--pink); }
body.lg-theme .lg-drawer-accent i:nth-child(2) { background: var(--lime); }
body.lg-theme .lg-drawer-accent i:nth-child(3) { background: var(--purple); }
body.lg-theme .lg-drawer-accent i:nth-child(4) { background: var(--orange); }
body.lg-theme .lg-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
body.lg-theme .lg-drawer-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }
body.lg-theme .lg-drawer-close {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06) !important; color: #fff !important; padding: 0 !important; box-shadow: none !important;
  cursor: pointer; transition: background 0.15s, transform 0.2s;
}
body.lg-theme .lg-drawer-close:hover { background: rgba(255, 255, 255, 0.14) !important; transform: rotate(90deg); }
body.lg-theme .lg-drawer-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.25rem 1.5rem; }
body.lg-theme .lg-drawer-actions { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
body.lg-theme .lg-drawer-actions .btn { width: 100%; justify-content: center; }
body.lg-theme .lg-drawer-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
body.lg-theme .lg-drawer .btn-outline-white { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
body.lg-theme .lg-drawer .btn-outline-white:hover { background: #fff; color: var(--navy); }

body.lg-theme .lg-acc { border-top: 1px solid rgba(255, 255, 255, 0.1); }
body.lg-theme .lg-acc:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
body.lg-theme .lg-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.25rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}
body.lg-theme .lg-acc-trigger::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: 0 0 10px; }
body.lg-theme .lg-acc-trigger .chev { margin-left: auto; width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
body.lg-theme .lg-acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
body.lg-theme .lg-acc-panel { overflow: hidden; transition: height 0.28s var(--ease); }
body.lg-theme .lg-acc-panel ul { list-style: none; margin: 0; padding: 0 0 0.75rem; display: grid; gap: 0.25rem; }
body.lg-theme .lg-acc-panel a { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.6rem 0.6rem; border-radius: 10px; color: #fff; text-decoration: none; transition: background 0.15s; }
body.lg-theme .lg-acc-panel a:hover { background: rgba(255, 255, 255, 0.07); }
body.lg-theme .lg-drawer .mega-title { color: #fff; font-size: 0.92rem; }
body.lg-theme .lg-drawer .mega-desc { color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; }
body.lg-theme .lg-drawer .mega-icon { background: color-mix(in srgb, var(--c) 28%, transparent); color: #fff; flex-basis: 32px; width: 32px; height: 32px; }
body.lg-theme .lg-acc-pillars a,
body.lg-theme .lg-acc-types a { flex-direction: column; gap: 0.1rem; border-left: 3px solid var(--c); border-radius: 0 10px 10px 0; padding-left: 0.85rem; }
body.lg-theme .lg-acc-note { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
body.lg-theme .lg-acc-all { color: var(--lime) !important; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 0.4rem 0.6rem 1rem !important; }
body.lg-theme .lg-acc-featured { flex-direction: column; gap: 0.15rem !important; margin: 0 0 1rem; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
body.lg-theme .lg-acc-featured span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
body.lg-theme .lg-drawer-quick { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
body.lg-theme .lg-drawer-quick a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--c);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
body.lg-theme .lg-drawer-quick a:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
body.lg-theme .lg-drawer-foot { padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
body.lg-theme .lg-drawer-foot a { color: #fff; font-weight: 600; font-size: 0.95rem; }
body.lg-theme .lg-drawer .tag.members { background: rgba(255, 255, 255, 0.12); color: #fff; }
html.lg-scroll-lock, html.lg-scroll-lock body { overflow: hidden !important; }
@media (prefers-reduced-motion: reduce) {
  body.lg-theme .mega-panel, body.lg-theme .lg-drawer-panel, body.lg-theme .lg-drawer-backdrop, body.lg-theme .lg-acc-panel { transition: none !important; }
}
body.lg-theme .mp_wrapper fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* v1.0.4: native search, stable header geometry and builder-free content. */
body.lg-theme .site-header { height: var(--header-h); min-height: var(--header-h); }
body.lg-theme .site-header .logo { max-width: 180px; min-width: 120px; }
body.lg-theme .site-header .logo img { max-width: 180px; max-height: 42px; object-fit: contain; }
body.lg-theme .lg-search { position: relative; color: var(--navy); flex-shrink: 0; }
body.lg-theme .lg-search summary { display: flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; cursor: pointer; list-style: none; border-radius: 6px; }
body.lg-theme .lg-search summary::-webkit-details-marker { display: none; }
body.lg-theme .lg-search summary span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
body.lg-theme .lg-search summary:hover { background: var(--cream); }
body.lg-theme .lg-search-form { position: absolute; right: 0; top: calc(100% + 1rem); width: min(390px, calc(100vw - 2.5rem)); padding: 1.25rem; background: #fff; border: 1px solid var(--grey-light); border-radius: 12px; box-shadow: var(--shadow-lg); }
body.lg-theme .lg-search-form label { display: block; font-weight: 600; margin-bottom: .6rem; color: var(--navy); }
body.lg-theme .lg-search-form > div { display: flex; gap: .5rem; }
body.lg-theme .lg-search-form input { min-width: 0; width: 100%; border: 1px solid var(--grey-mid); border-radius: 6px; padding: .6rem; font: inherit; }
body.lg-theme .lg-search-form .btn { padding: .6rem .85rem; }
body.lg-theme :is(.lg-search summary, .lg-search input, .lg-search button):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
body.lg-theme .lg-migrated { overflow-wrap: anywhere; }
body.lg-theme .lg-migrated-section + .lg-migrated-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--grey-light); }
body.lg-theme .lg-migrated-widget + .lg-migrated-widget, body.lg-theme .lg-migrated-group + .lg-migrated-group { margin-top: 1.25rem; }
body.lg-theme .lg-migrated h2, body.lg-theme .lg-migrated h3 { margin: 1rem 0 .75rem; }
body.lg-theme .lg-migrated-image { width: min(100%, var(--lg-image-width, 480px)); height: auto; max-width: 100%; max-height: none; object-fit: contain; border-radius: 10px; }
body.lg-theme .lg-migrated-card, body.lg-theme .lg-migrated-testimonials figure { padding: 1.4rem; background: var(--grey-bg); border: 1px solid var(--grey-light); border-radius: 10px; margin: 1rem 0; }
body.lg-theme .lg-migrated-testimonials img { max-width: 120px; max-height: 80px; margin-bottom: 1rem; }
body.lg-theme .lg-migrated-faq { border: 1px solid var(--grey-light); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: .75rem; }
body.lg-theme .lg-migrated-faq summary { cursor: pointer; color: var(--navy); font-weight: 600; }
body.lg-theme .lg-migrated-faq[open] summary { margin-bottom: .75rem; }
body.lg-theme .lg-migrated :is([id], section) { scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (max-width: 1180px) {
  body.lg-theme .mega-nav { display: none; }
  body.lg-theme .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  body.lg-theme .header-inner { gap: .5rem; }
  body.lg-theme .header-actions { gap: .15rem; }
  body.lg-theme .header-actions > .btn, body.lg-theme .header-actions > .login-link { display: none; }
  body.lg-theme .site-header .logo img { max-width: 172px; }
  body.lg-theme .lg-search { position: static; }
  body.lg-theme .lg-search-form { top: calc(var(--header-h) + .25rem); right: 1.25rem; }
  /* The Chair report's main shift was its header/hero changing as fonts arrived.
     Reserve the existing mobile hero footprint, never the gated content height. */
  body.lg-theme.single-resources .page-hero { min-height: 302px; }
}

/* v1.0.5: native WooCommerce layouts, with plugin controls/hooks left intact. */
body.lg-theme .lg-woo-main { padding: 2.5rem 0 3.5rem; }
body.lg-theme .lg-woo-main .woocommerce-breadcrumb { margin-bottom: 1.5rem; }
body.lg-theme .lg-woo-main::after { content: ""; display: block; clear: both; }
body.lg-theme.woocommerce-cart .lg-content,
body.lg-theme.woocommerce-checkout .lg-content,
body.lg-theme.woocommerce-account .lg-content { max-width: none; }
body.lg-theme .lg-woo-main .quantity input.qty { min-height: 44px; }
body.lg-theme .lg-woo-main .single_add_to_cart_button { min-height: 44px; }
@media (max-width: 600px) {
  body.lg-theme .lg-woo-main { padding-top: 1.5rem; }
  body.lg-theme .lg-woo-main .woocommerce-product-gallery,
  body.lg-theme .lg-woo-main .summary { max-width: 100%; }
}
