/* ── TOKENS ── */
:root {
  /* Neutrals */
  --ink:        #111111;
  --ink-soft:   #555555;
  --ink-mid:    #333333;
  --ink-slate:  #7A8F99;
  --ink-faint:  #999999;
  --ink-near:   #1a1a1a;
  --ground:     #FAFAFA;
  --white:      #FFFFFF;
  --line:       #E8E8E8;

  /* Brand colours */
  --blue:       #125993;
  --blue-dark:  #2C4A6E;
  --blue-tint:  #EFF6FF;
  --gold:       #FFBF00;
  --rust:       #7F2519;

  /* Layout */
  --max:        680px;
  --pad: 24px;

  /* Legacy alias */
  --accent:     var(--blue-dark);

  /* ── NETWORK CARD TINTS ── */
  --nc-sage-bg:     #D6E8D4;
  --nc-sage-ink:    #2A4828;
  --nc-sky-bg:      #D0E4F4;
  --nc-sky-ink:     #1C3A54;
  --nc-rose-bg:     #F4D8D8;
  --nc-rose-ink:    #4A2020;
  --nc-peach-bg:    #F4E4CC;
  --nc-peach-ink:   #4A3010;
  --nc-lavender-bg: #E0D6F4;
  --nc-lavender-ink:#2C1F5A;
  --nc-mint-bg:     #C8ECEC;
  --nc-mint-ink:    #164040;

  /* ── MODULE NEONS ── */
  --neon-intelligence: #00D4FF;
  --neon-pulse:        #39FF14;
  --neon-community:    #FF6EFF;
  --neon-assembly:     #FF6EFF;
  --neon-reveal:      #FF9500;
  --neon-library:      #FFE600;
  --neon-personal:     #FF4D9E;
  --neon-balance:      #B478FF;
  --neon-engage:       #FF3B3B;

  /* ── MODULE NEONS (light backgrounds) ── */
  --neon-intelligence-light: #0077AA;
  --neon-pulse-light:        #1A9900;
  --neon-community-light:    #AA00AA;
  --neon-reveal-light:      #CC6600;
  --neon-library-light:      #AA9900;
  --neon-balance-light:      #6B3FA0;
  --neon-engage-light:       #CC2020;
}

@media (min-width: 480px) { :root { --pad: 32px; } }
@media (min-width: 768px) { :root { --pad: 48px; } }

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ground);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── NAV ── */
nav {
  padding: 28px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  position: sticky;
  top: 0;
  background: var(--ground);
  z-index: 900;
}
nav a { text-decoration: none; }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: opacity 200ms;
}
.nav-cta:hover { background: var(--blue); color: var(--white); }

/* ── JOHNISM ── */
.johnism-wrap {
  padding: 72px var(--pad) 56px;
  max-width: var(--max);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.johnism-wrap.visible { opacity: 1; transform: translateY(0); }
.johnism-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.johnism-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.johnism-text::before { content: '\201C'; color: var(--accent); }
.johnism-text::after  { content: '\201D'; color: var(--accent); }

/* ── INTRO ── */
.intro {
  padding: 56px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.intro p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--ink); font-weight: 500; }

/* ── SECTION HEADING ── */
.section {
  padding: 56px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section + .section { padding-top: 0; }
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label button {
  background: var(--ink);
  border: none;
  font-size: 16px;
  color: var(--gold);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
  line-height: 1;
  transition: background 150ms, color 150ms;
  letter-spacing: 0;
  text-transform: none;
  flex-shrink: 0;
}
.section-label button:hover { background: var(--rust); color: var(--white); }

/* ── TESTIMONIAL ── */
.testimonial {
  padding: 56px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease 200ms, transform 500ms ease 200ms;
}
.testimonial.visible { opacity: 1; transform: translateY(0); }
.testimonial-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
}
.testimonial-attr { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.02em; }
.testimonial-attr strong { color: var(--ink-soft); font-weight: 500; }

/* ── NETWORK GRID ── */
.network-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.net-card {
  border-radius: 8px;
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: filter 150ms, transform 150ms;
}
.net-card:hover { filter: brightness(0.96); transform: translateY(-1px); }
.net-card-label { font-size: 14px; font-weight: 500; line-height: 1.2; }
.net-card-desc { font-size: 12px; line-height: 1.45; opacity: 0.72; margin-top: 2px; }
.net-card-arrow { font-size: 11px; margin-top: 10px; opacity: 0.5; letter-spacing: 0.04em; }
.net-card-icon { font-size: 18px; margin-bottom: 6px; opacity: 0.7; }
.nc-sage     { background: var(--nc-sage-bg);     color: var(--nc-sage-ink); } /* network card tints — kept as-is, decorative only */
.nc-sky      { background: var(--nc-sky-bg);      color: var(--nc-sky-ink); }
.nc-rose     { background: var(--nc-rose-bg);     color: var(--nc-rose-ink); }
.nc-peach    { background: var(--nc-peach-bg);    color: var(--nc-peach-ink); }
.nc-lavender { background: var(--nc-lavender-bg); color: var(--nc-lavender-ink); }
.nc-mint     { background: var(--nc-mint-bg);     color: var(--nc-mint-ink); }

/* ── BOOK ── */
.book-section { display: flex; gap: 32px; align-items: flex-start; }
.book-cover-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.book-cover-img {
  width: 140px; height: auto; display: block; border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12); transition: transform 200ms;
}
.book-cover-img:hover { transform: scale(1.03); }
.book-credit { font-size: 10px; color: var(--ink-faint); letter-spacing: 0.04em; text-align: center; }
.book-text-col { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.book-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.book-quote { font-size: 15px; line-height: 1.7; color: var(--ink-soft); font-style: italic; }
.book-attr { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.03em; }
.book-buy-btn {
  height: 35px; width: 117px; text-align: center; justify-content: center;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none;
  transition: background 200ms, color 200ms; align-self: flex-end; margin-top: 4px;
}
.book-buy-btn:hover { background: var(--blue); color: var(--white); }
.book-amazon-logo { height: 18px; width: auto; filter: brightness(0); opacity: 0.75; }
.book-block {
  padding: 36px; border: 1px solid var(--line); border-radius: 4px; background: var(--white);
}
.book-block h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.book-block p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 24px; }
.book-btn {
  height: 35px; width: 117px; text-align: center; display: inline-block;
  background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 500;
  padding: 8px 16px; border-radius: 6px; letter-spacing: 0.04em;
  transition: background 200ms, color 200ms; float: right; text-decoration: none;
}
.book-btn:hover { background: var(--blue); color: var(--white); }

/* ── CONTACT FORM ── */
.form-block { margin-top: 32px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.form-row input,
.form-row textarea {
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 14px; font-size: 15px; color: var(--ink); transition: border-color 200ms; width: 100%;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-submit {
  height: 35px; width: 117px; text-align: center; background: var(--blue-dark); color: var(--white); border: none;
  padding: 8px 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.5;
  border-radius: 6px; transition: background 200ms, color 200ms; display: block; margin-left: auto; box-sizing: border-box;
}
.form-submit:hover { background: var(--blue); }
.form-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; }
.form-success { display: none; padding: 16px; background: var(--blue-tint); border-radius: 2px; font-size: 14px; color: var(--accent); margin-top: 12px; }

/* ── FEEDS ── */
.feed-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.feed-loading { font-size: 13px; color: var(--ink-faint); padding: 8px 0; }
.feed-item {
  display: flex; flex-direction: column; padding: 14px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: color 150ms;
}
.feed-item:first-child { border-top: none; }
.feed-item:hover .feed-item-title { color: var(--blue); }
.feed-item-title { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 3px; transition: color 150ms; }
.feed-item-with-thumb { flex-direction: row; align-items: center; gap: 12px; }
.feed-item-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.feed-item-body { display: flex; flex-direction: column; gap: 3px; }
.feed-item-date { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.06em; }
.feed-more {
  height: 35px; width: 117px; text-align: center; display: inline-block;
  background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 500;
  padding: 8px 16px; border-radius: 6px; letter-spacing: 0.04em; text-decoration: none;
  transition: background 200ms, color 200ms; float: right; margin-top: 8px;
}
.feed-more:hover { background: var(--blue); color: var(--white); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(127, 37, 25, 0.4); /* --rust at 40% opacity */
  padding: 28px var(--pad) 20px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-copy { font-size: 11px; color: var(--ink-faint); text-align: center; letter-spacing: 0.03em; }
.footer-socials { display: flex; gap: 16px; align-items: center; justify-content: center; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-size: 22px; text-decoration: none; transition: background 200ms;
}
.footer-socials a:hover { background: var(--gold); color: var(--ink); }

/* ── DIVIDER ── */
.divider {
  border: none; max-width: var(--max); margin: 56px auto;
  height: 8px; background: transparent; position: relative; overflow: visible;
}
.divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--rust); opacity: 0.4;
}
.divider::after {
  content: '\\'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-size: 13px; font-weight: 300;
  color: var(--rust); background: var(--ground); padding: 0 10px; line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) { nav { max-width: 100%; background: var(--ground); } }
@media (max-width: 520px) {
  .network-grid { grid-template-columns: 1fr 1fr; }
  .net-card { padding: 14px 12px 12px; }
  .net-card-desc { font-size: 11px; }
  nav { padding: 20px var(--pad); }
  .johnism-wrap { padding: 48px var(--pad) 40px; }
  footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .book-section { flex-direction: column; }
  .book-cover-col { flex-direction: row; align-items: flex-start; gap: 16px; }
  .book-cover-img { width: 100px; }
}
@media (max-width: 380px) {
  .network-grid { grid-template-columns: 1fr; }
  .net-card { padding: 14px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .johnism-wrap, .testimonial { transition: none; opacity: 1; transform: none; }
}

/* ── SCROLL OFFSET FOR STICKY NAV ── */
.section, .testimonial, .johnism-wrap, .intro, footer {
  scroll-margin-top: 120px;
}
.page-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 20px;
}
.page-eyebrow a { color: var(--ink-faint); }
.page-eyebrow a:hover { color: var(--ink); }
.page-eyebrow span { margin: 0 6px; }
.page-body p { font-size: 18px; line-height: 1.75; margin-bottom: 28px; color: var(--ink); }
.page-rule { border: none; border-top: 1px solid var(--line); margin: 56px 0; }

/* ── NAV LOGO ── */
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* ── NAV RIGHT ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  width: 200px;
  justify-content: space-between;
}

/* ── HAMBURGER ── */
.hamburger-btn {
  height: 44px;
  width: 44px;
  background: var(--ink);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

/* ── SITE MENU ── */
.site-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 1000;
  padding-top: 8px;
}
.site-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: stretch;
  width: 200px;
}
.menu-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 8px 0;
}
.menu-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink-near);
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 6px;
}
.menu-heading + .menu-heading,
li + li .menu-heading {
  margin-top: 6px;
}
.site-menu ul li:first-child .menu-heading {
  margin-top: 0;
}
.menu-item {
  display: inline-block;
  width: 200px;
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--white);
}
.menu-item-support {
  width: 200px;
  background: var(--gold) !important;
  color: var(--ink) !important;
}
.menu-item-site {
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 600;
}
.menu-item-site:hover {
  background: var(--gold-dark, #cc8800) !important;
  color: var(--ink) !important;
}
.menu-item-support:hover { background: var(--blue) !important; color: var(--white) !important; }
.menu-item-domain  { background: #2a2a2a; color: #ccc; }
.menu-item-action  { background: var(--rust); }
.menu-item-section { background: var(--ink-soft); }
.menu-item-highlight { background: var(--ink); color: var(--gold); }

/* ── NAV CTA ── */
.nav-cta-btn {
  height: 44px;
  display: flex;
  align-items: center;
}

/* ── NAV SUPPORT ICON ── */
.nav-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold);
  font-size: 22px;
  text-decoration: none;
  transition: background 200ms, color 200ms;
  flex-shrink: 0;
}
.nav-support-icon:hover { background: var(--gold); color: var(--ink); }


/* ── HEADINGS ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
h1 { font-size: 2.25rem; color: var(--blue);      letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; color: var(--rust);      letter-spacing: -0.02em; }
h3 { font-size: 1.5rem;  color: var(--blue);      font-weight: 600; }
h4 { font-size: 1.25rem; color: var(--ink-mid);   font-weight: 600; }
h5 { font-size: 1.1rem;  color: var(--ink-slate); font-weight: 600; }
h6 { font-size: 1.05rem; color: var(--ink-slate); font-weight: 600; }

/* ── PAGE MAIN ── */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 48px;
}

/* ── BOOK QUOTE BLOCK ── */
.book-quote-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

/* ── NEWSLETTER SIGNUP ── */
.newsletter-wrap {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.newsletter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 200px;
  height: 35px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink);
  background: var(--white);
  box-sizing: border-box;
}
.newsletter-btn {
  height: 35px;
  width: 117px;
  text-align: center;
  padding: 0 16px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms, color 200ms;
  box-sizing: border-box;
}
.newsletter-btn:hover { background: var(--blue-dark); }

/* ── SPACER ── */
.spacer-16 { height: 16px; }

/* ── FOOTER LOGO ── */
.footer-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ── MENU HEADING SPACING ── */
.menu-heading-spaced { margin-top: 4px; }

/* ── BOOK SECTION LABEL ── */
.section-label-tight { margin-bottom: 8px; }

/* ── FEED OVERFLOW ── */
.feed-overflow { overflow: hidden; margin-bottom: 8px; }


/* ==============================
   BLOCKQUOTE
   Default: light blue background, dark text (no attribution)
   With attribution (cite): dark blue background, white text
   ============================== */
blockquote {
  background-color: rgba(18, 89, 147, 0.25); /* --blue at 25% */
  color: var(--ink);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 15px;
  border: none;
  line-height: 1.8;
}
blockquote p, blockquote li, blockquote span, blockquote a {
  color: inherit;
}
blockquote em {
  color: inherit;
  font-weight: inherit;
  font-style: italic;
}
/* Blockquote WITHOUT attribution — light style */
blockquote:not(:has(+ p cite)):not(:has(+ p.attribution)):not(:has(+ cite)):not(:has(+ .attribution)) {
  background-color: rgba(18, 89, 147, 0.25); /* --blue at 25% */
  color: var(--ink);
  border-radius: 15px;
  margin: 2rem 0;
  padding: 1rem;
  text-align: center;
}
blockquote:not(:has(+ p cite)):not(:has(+ p.attribution)):not(:has(+ cite)):not(:has(+ .attribution)) p {
  margin: 0;
}
/* Blockquote WITH attribution — dark style, flat bottom corners */
blockquote:has(+ p cite), blockquote:has(+ p.attribution) {
  background-color: var(--blue);
  color: var(--white);
  border-radius: 15px 15px 0 0;
}
/* ==============================
   ATTRIBUTION / CITE
   Sits beneath a blockquote with attribution
   ============================== */
cite, .attribution {
  background-color: var(--ink);
  color: var(--white);
  display: block;
  text-align: right;
  padding: 1rem 1.5rem;
  border-radius: 0 0 15px 15px;
  font-weight: 700;
  font-size: 0.9rem;
  margin: -1rem 0 2rem 0;
  line-height: 1.6;
  font-style: normal;
}
cite p, .attribution p, cite span, .attribution span {
  color: inherit;
  margin: 0;
}


.eyebrow-home { color: var(--ink) !important; text-decoration: none; }
.title-badge svg { overflow: visible; }

/* ── MARK ── */
mark {
  background: rgba(18, 89, 147, 0.2);
  color: var(--ink);
  padding: 0 3px;
  border-radius: 3px;
}

.para-spaced { margin-top: 2rem; }

.support-card-book { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.support-section-label-spaced { margin-top: 12px; }

/* ── SUPPORT PAGE ── */
.support-modal { background: var(--white); border-radius: 14px; border: 1px solid var(--line); padding: 28px 28px 20px; position: relative; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.support-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.support-logo { height: 24px; display: block; }
.support-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 19px; color: var(--ink-faint); cursor: pointer; padding: 3px 7px; border-radius: 6px; transition: color 160ms, background 160ms; }
.support-close:hover { color: var(--ink); background: rgba(0,0,0,0.06); }
.support-johnism { font-size: 10px; font-style: italic; color: var(--ink-faint); flex: 1; text-align: right; padding-left: 12px; line-height: 1.4; }
.support-johnism button { background: none; border: none; cursor: pointer; color: #bbb; font-size: 11px; margin-left: 5px; padding: 0; vertical-align: middle; }
.support-johnism button:hover { color: var(--ink-soft); }
.support-eyebrow { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.support-headline { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 4px; line-height: 1.1; }
.support-sub { font-size: 12px; color: var(--ink-slate); margin: 0 0 12px; line-height: 1.4; }
.support-section-label { font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 7px; border-top: 1px solid var(--line); padding-top: 12px; }
.support-section-label.first { border-top: none; padding-top: 0; }
.support-grid-pay  { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.support-grid-free { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.support-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 8px; border-radius: 8px; text-decoration: none; border: none; transition: transform 130ms, box-shadow 130ms, filter 130ms; }
.support-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.11); filter: brightness(1.04); }
.support-card-icon  { font-size: 17px; color: var(--ink-mid); }
.support-card-label { font-size: 10px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.support-card-quote { font-size: 10px; color: var(--ink-soft); font-style: italic; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 150px; display: block; }
.support-note { font-size: 10px; color: var(--ink-faint); text-align: center; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; line-height: 1.5; }
.sc-sky      { background: var(--nc-sky-bg); }
.sc-peach    { background: var(--nc-peach-bg); }
.sc-sage     { background: var(--nc-sage-bg); }
.sc-lavender { background: var(--nc-lavender-bg); }
.sc-mint     { background: var(--nc-mint-bg); }
.sc-rose     { background: var(--nc-rose-bg); }
.sc-gold     { background: #fff0c0; }
.sc-slate    { background: #e2e6ec; }
.sc-bluesky  { background: #ddeeff; }
.sc-mastodon { background: var(--nc-lavender-bg); }
.sc-threads  { background: #e8e8e8; }
@media (max-width: 600px) {
  .support-grid-pay  { grid-template-columns: repeat(2, 1fr); }
  .support-grid-free { grid-template-columns: repeat(2, 1fr); }
}

.closing-statement {
  text-align: center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  margin-top: 32px;
}

/* ── MODULE DIVIDER COLOURS ── */
.module-pulse .divider::before        { background: #39FF14 !important; opacity: 0.6; }
.module-pulse .divider::after         { content: '⑊' !important; color: #39FF14 !important; background: var(--ground); padding: 0 10px; }
.module-intelligence .divider::before { background: #00D4FF !important; opacity: 0.6; }
.module-intelligence .divider::after  { content: '⑊' !important; color: #00D4FF !important; background: var(--ground); padding: 0 10px; }
.module-community .divider::before    { background: #FF6EFF !important; opacity: 0.6; }
.module-community .divider::after     { content: '⑊' !important; color: #FF6EFF !important; background: var(--ground); padding: 0 10px; }
.module-library .divider::before      { background: #FFE600 !important; opacity: 0.6; }
.module-library .divider::after       { content: '⑊' !important; color: #FFE600 !important; background: var(--ground); padding: 0 10px; }

/* ── MODULE ICON SHARED ── */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes spin-ring {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes beam-sweep {
  0%   { transform: rotate(-120deg); }
  50%  { transform: rotate(120deg); }
  100% { transform: rotate(-120deg); }
}
.lh-light  { animation: pulse-glow 4s ease-in-out infinite; }
.pulse-ring { transform-box: fill-box; transform-origin: 50% 50%; animation: spin-ring 4s linear infinite; }
.lh-beam   { transform-box: fill-box; transform-origin: 50% 100%; animation: beam-sweep 4s ease-in-out infinite; }

.page-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}
.page-title h1 {
  color: var(--blue);
  margin: 0;
}
.title-badge {
  width: 48px;
  height: 48px;
  background: #111;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SIDE DRAWER ── */
.drawer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--neon-pulse);
  border: 1px solid var(--neon-pulse);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 150ms, color 150ms;
}
.drawer-trigger:hover {
  background: var(--neon-pulse);
  color: var(--ink);
}
.pull-with-trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 1rem 0 1.5rem;
}
.pull-with-trigger .page-pull {
  margin: 0;
  flex: 1;
}

.side-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--ink);
  border-left: 3px solid var(--neon-pulse);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}
.side-drawer.is-open { transform: translateX(0); }

.side-drawer-inner {
  padding: 160px 36px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer-close {
  position: fixed;
  top: 150px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--neon-pulse);
  opacity: 0.6;
  padding: 0;
  line-height: 1;
  transition: opacity 150ms;
  z-index: 1001;
}
.drawer-close:hover { opacity: 1; }

.drawer-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-icon {
  overflow: visible;
  flex-shrink: 0;
}
.drawer-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-pulse);
  margin: 0;
  font-weight: 600;
}
.side-drawer p:not(.drawer-eyebrow) {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.drawer-read-more {
  display: inline-block;
  margin-top: 8px;
  align-self: flex-end;
  background: var(--neon-pulse);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  transition: opacity 150ms;
}
.drawer-read-more:hover { opacity: 0.85; }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
}
.drawer-overlay.is-active { display: block; }

/* ── GLOSSARY TERMS ── */
glossary {
  display: inline;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: background 150ms;
  padding: 0 2px;
  border-radius: 2px;
}
glossary::after {
  content: ' 📘';
  font-size: 0.8em;
  vertical-align: middle;
  opacity: 0.6;
  transition: opacity 150ms;
}
glossary:hover {
  background: var(--gold);
  border-radius: 3px;
}
glossary:hover::after {
  opacity: 1;
}
.g-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 16px 12px;
  font-size: 13px;
  font-family: system-ui, -apple-system, sans-serif;
  font-style: normal;
  line-height: 1.55;
  color: #1a1a1a;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  text-align: left;
}
.g-tip-term {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--blue);
}
.g-tip-also {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
}
.g-tip-def {
  display: block;
  margin-bottom: 8px;
  color: #333;
}
.g-tip-link {
  display: inline-block;
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 89, 147, 0.3);
  pointer-events: auto;
}
glossary:hover .g-tip {
  display: block;
}
