/* Dedicated Assistance styles. Loaded only by Assistance hubs and guides. */
.assist-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100000;
  max-width: calc(100vw - 1.5rem);
  padding: 0.7rem 1rem;
  border: 2px solid currentColor;
  border-radius: 0px !important;
  background: #ffffff;
  color: #111111;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.assist-skip-link:focus { transform: translateY(0); }

html body .assistance-page {
  --assist-border: rgba(168, 85, 247, 0.38);
  --assist-border-strong: rgba(168, 85, 247, 0.72);
  --assist-panel: rgba(11, 8, 18, 0.76);
  --assist-panel-soft: rgba(11, 8, 18, 0.48);
  --assist-accent-soft: rgba(168, 85, 247, 0.13);
  --assist-success: #A855F7;
  scroll-padding-top: 6rem;
}
html body.light-theme .assistance-page {
  --assist-border: rgba(168, 85, 247, 0.27);
  --assist-border-strong: rgba(168, 85, 247, 0.62);
  --assist-panel: rgba(255, 255, 255, 0.92);
  --assist-panel-soft: rgba(255, 255, 255, 0.7);
  --assist-accent-soft: rgba(168, 85, 247, 0.09);
}

html body .assistance-page :is(a, button, input, pre):focus-visible {
  outline: 3px solid var(--accent-color, #A855F7);
  outline-offset: 3px;
}
html body .assistance-page .page-header,
html body .assistance-page .content-section,
html body .assistance-page .assistance-category-section,
html body .assistance-page .assistance-guide-section,
html body .assistance-page .assistance-support-panel,
html body .assistance-page .assistance-toc {
  border-color: var(--assist-border);
}

/* Hub finder */
html body .assistance-page .assistance-intro {
  display: grid;
  gap: 0.9rem;
}
html body .assistance-page .assistance-finder {
  margin-top: 0.5rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--assist-border-strong);
  border-radius: 0px !important;
  background: var(--assist-panel);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.18);
}
html body .assistance-page .assistance-search-label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
html body .assistance-page .assistance-search-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}
html body .assistance-page .assistance-search-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--assist-border-strong);
  border-radius: 0px !important;
  background: rgba(4, 3, 8, 0.78);
  color: inherit;
  font: 600 1rem/1.35 "Inter", sans-serif;
  caret-color: currentColor;
}
html body.light-theme .assistance-page .assistance-search-input {
  background: rgba(255, 255, 255, 0.96);
}
html body .assistance-page .assistance-search-input::placeholder { opacity: 0.67; }
html body .assistance-page .assistance-clear-btn {
  min-width: 6.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--assist-border-strong);
  border-radius: 0px !important;
  background: var(--assist-accent-soft);
  color: inherit;
  font: 800 0.88rem/1 "Inter", sans-serif;
  cursor: pointer;
}
html body .assistance-page .assistance-clear-btn[hidden] { display: none; }
html body .assistance-page .assistance-search-hint,
html body .assistance-page .assistance-results-status {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  opacity: 0.82;
}
html body .assistance-page .assistance-results-status { font-weight: 800; }
html body .assistance-page .assistance-filter-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.15rem 0 0.35rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
html body .assistance-page .assistance-filter-btn {
  flex: 0 0 auto;
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
  background: transparent;
  color: inherit;
  font: 800 0.81rem/1.15 "Inter", sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
html body .assistance-page .assistance-filter-btn:is(:hover, :focus-visible),
html body .assistance-page .assistance-filter-btn.is-active {
  border-color: var(--assist-border-strong);
  background: var(--assist-accent-soft);
}

/* Hub categories and cards */
html body .assistance-page .assistance-guide-sections {
  display: grid;
  gap: 1.1rem;
}
html body .assistance-page .assistance-category-section {
  margin: 0;
  padding: clamp(1rem, 2.6vw, 1.5rem);
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
  background: var(--assist-panel-soft);
}
html body .assistance-page .assistance-category-section > h2 { margin-bottom: 0.4rem; }
html body .assistance-page .assistance-category-description {
  margin-top: 0;
  opacity: 0.82;
}
html body .assistance-page .assistance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}
html body .assistance-page .assistance-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: 0.62rem;
  padding: 1rem;
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
  background: var(--assist-panel);
  color: inherit;
  text-decoration: none;
  transform: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
html body .assistance-page .assistance-card:is(:hover, :focus-visible) {
  border-color: var(--assist-border-strong);
  background: var(--assist-accent-soft);
  transform: translateY(-2px);
}
html body .assistance-page .assistance-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
html body .assistance-page .assistance-card p {
  margin: 0;
  line-height: 1.58;
  opacity: 0.9;
}
html body .assistance-page .assistance-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
html body .assistance-page :is(.assistance-card-category, .assistance-card-signature) {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.34rem 0.52rem;
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
  background: var(--assist-accent-soft);
  font: 700 0.72rem/1.2 "Inter", sans-serif;
  overflow-wrap: anywhere;
}
html body .assistance-page .assistance-card-signature {
  font-family: "Roboto Mono", monospace;
  font-weight: 600;
}
html body .assistance-page :is(.assistance-card.is-filtered-out, .assistance-card.is-collapsed-card, .assistance-category-section.is-filtered-out) {
  display: none !important;
}
html body .assistance-page .assistance-expand-btn {
  display: flex;
  margin: 1rem auto 0;
}
html body .assistance-page .assistance-no-results {
  text-align: center;
}
html body .assistance-page .assistance-no-results[hidden] { display: none; }

/* Guide structure */
html body .assistance-page .assistance-article-v3 {
  display: grid;
  gap: 0.95rem;
}
html body .assistance-page .assistance-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.88rem;
  opacity: 0.84;
}
html body .assistance-page .assistance-breadcrumb a,
html body .assistance-page .assistance-back-link {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}
html body .assistance-page .assistance-toc,
html body .assistance-page .assistance-guide-section,
html body .assistance-page .assistance-support-panel {
  padding: clamp(1rem, 2.3vw, 1.35rem);
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
  background: var(--assist-panel-soft);
}
html body .assistance-page :is(.assistance-toc, .assistance-guide-section, .assistance-support-panel) > :first-child { margin-top: 0; }
html body .assistance-page :is(.assistance-toc, .assistance-guide-section, .assistance-support-panel) > :last-child { margin-bottom: 0; }
html body .assistance-page .assistance-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.2rem;
  margin-bottom: 0;
  padding-left: 1.4rem;
}
html body .assistance-page .assistance-toc a { color: inherit; }
html body .assistance-page .assistance-review-date {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  opacity: 0.72;
}
html body .assistance-page .assistance-signature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
html body .assistance-page .assistance-signature-tag {
  display: inline-flex;
  max-width: 100%;
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--assist-border-strong);
  border-radius: 0px !important;
  background: var(--assist-accent-soft);
  font: 650 0.83rem/1.3 "Roboto Mono", monospace;
  overflow-wrap: anywhere;
}
html body .assistance-page .assistance-warning-note {
  padding: 0.82rem 0.95rem;
  border-left: 0.22rem solid var(--accent-color, #A855F7);
  border-radius: 0px !important;
  background: var(--assist-accent-soft);
}
html body .assistance-page .assistance-code {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--assist-border);
  border-radius: 0px !important;
}
html body .assistance-page .assistance-code .copy-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  min-height: 2.25rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--assist-border-strong);
  border-radius: 0px !important;
  background: rgba(10, 7, 16, 0.94);
  color: inherit;
  font: 800 0.78rem/1 "Inter", sans-serif;
  cursor: pointer;
}
html body.light-theme .assistance-page .assistance-code .copy-btn { background: rgba(255, 255, 255, 0.96); }
html body .assistance-page .assistance-code .copy-btn.copy-success { border-color: var(--assist-success); }
html body .assistance-page .assistance-code pre {
  margin: 0;
  padding: 3.3rem 1rem 1rem;
  overflow: auto;
  white-space: pre;
  tab-size: 4;
}
html body .assistance-page .assistance-code code,
html body .assistance-page .assistance-command-explanations code {
  overflow-wrap: anywhere;
}
html body .assistance-page :is(.assistance-check-list, .assistance-success-list, .assistance-command-explanations, .assistance-steps) {
  display: grid;
  gap: 0.62rem;
  margin-bottom: 0;
}
html body .assistance-page :is(.assistance-check-list, .assistance-success-list, .assistance-command-explanations, .assistance-steps) li {
  line-height: 1.62;
}
html body .assistance-page .assistance-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
html body .assistance-page .assistance-report-btn { cursor: pointer; }
html body .assistance-page .assistance-report-btn.copy-success { border-color: var(--assist-success) !important; }
html body .assistance-page .assistance-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
html body .assistance-page .assistance-back-link {
  display: inline-flex;
  margin-top: 1rem;
}

@media (max-width: 980px) {
  html body .assistance-page .assistance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html body .assistance-page { scroll-padding-top: 4.8rem; }
  html body .assistance-page .assistance-finder,
  html body .assistance-page .assistance-category-section,
  html body .assistance-page .assistance-toc,
  html body .assistance-page .assistance-guide-section,
  html body .assistance-page .assistance-support-panel {
    padding: 0.9rem;
    border-radius: 0px !important;
  }
  html body .assistance-page .assistance-search-wrap { grid-template-columns: 1fr; }
  html body .assistance-page .assistance-clear-btn { width: 100%; }
  html body .assistance-page .assistance-grid,
  html body .assistance-page .assistance-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .assistance-page .assistance-toc ol { grid-template-columns: 1fr; }
  html body .assistance-page .assistance-card {
    gap: 0.5rem;
    padding: 0.72rem;
  }
  html body .assistance-page .assistance-card h3 {
    font-size: clamp(0.78rem, 3.25vw, 1rem);
    line-height: 1.22;
  }
  html body .assistance-page .assistance-card p {
    font-size: clamp(0.7rem, 2.75vw, 0.84rem);
    line-height: 1.42;
  }
  html body .assistance-page :is(.assistance-card-category, .assistance-card-signature) {
    padding: 0.28rem 0.4rem;
    font-size: clamp(0.58rem, 2.35vw, 0.7rem);
  }
  html body .assistance-page .assistance-code pre { padding-inline: 0.82rem; font-size: 0.82rem; }
  html body .assistance-page .assistance-support-actions { flex-direction: column; }
  html body .assistance-page .assistance-support-actions .starter-path-btn { width: 100%; }
}

@media (max-width: 390px) {
  html body .assistance-page .assistance-grid,
  html body .assistance-page .assistance-related-grid {
    gap: 0.5rem;
  }
  html body .assistance-page .assistance-category-section {
    padding-inline: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .assistance-page *, .assist-skip-link { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .assist-skip-link,
  html body .assistance-page .main-nav,
  html body .assistance-page .assistance-finder,
  html body .assistance-page .assistance-intro-actions,
  html body .assistance-page .assistance-support-actions,
  html body .assistance-page .assistance-code .copy-btn,
  html body .assistance-page .main-footer { display: none !important; }
  html body .assistance-page .assistance-guide-section,
  html body .assistance-page .assistance-support-panel,
  html body .assistance-page .assistance-toc { break-inside: avoid; border: 1px solid #999; background: transparent; }
}

/* Assistance hub v5: compact category controls and full-width two-column phone cards. */
html body .assistance-page .assistance-finder {
  padding: clamp(0.72rem, 2vw, 1rem);
}
html body .assistance-page .assistance-filter-row {
  margin-top: 0;
}

@media (max-width: 700px) {
  html body .assistance-page {
    width: 100%;
    max-width: none;
    padding-inline: 0.45rem;
  }
  html body .assistance-page .assistance-guide-sections,
  html body .assistance-page .assistance-category-section,
  html body .assistance-page .assistance-grid,
  html body .assistance-page .assistance-related-grid {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  html body .assistance-page .assistance-grid,
  html body .assistance-page .assistance-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    gap: 0.65rem !important;
  }
  html body .assistance-page .assistance-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0.8rem !important;
  }
}

@media (max-width: 390px) {
  html body .assistance-page {
    padding-inline: 0.3rem;
  }
  html body .assistance-page .assistance-category-section {
    padding-inline: 0.48rem;
  }
  html body .assistance-page .assistance-grid,
  html body .assistance-page .assistance-related-grid {
    gap: 0.52rem !important;
  }
  html body .assistance-page .assistance-card {
    padding: 0.68rem !important;
  }
}

/* Assistance hub v6: wrap category tags inside the viewport on every screen. */
html body .assistance-page .assistance-intro,
html body .assistance-page .assistance-finder,
html body .assistance-page .assistance-filter-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

html body .assistance-page .assistance-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.55rem;
  overflow: visible;
  overscroll-behavior-inline: auto;
  scrollbar-width: auto;
}

html body .assistance-page .assistance-filter-btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (max-width: 700px) {
  html body .assistance-page .assistance-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  html body .assistance-page .assistance-filter-btn {
    min-height: 3rem;
    padding: 0.55rem 0.45rem;
    font-size: clamp(0.66rem, 2.8vw, 0.8rem);
    line-height: 1.25;
  }

  html body .assistance-page .assistance-intro > p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* === VERDANA + MENU/COOKIE FINAL OVERRIDES (2026-08-06) === */
:root,
body.dark-theme,
body.light-theme {
    --font-primary: Verdana, Geneva, Tahoma, sans-serif !important;
    --font-secondary: Verdana, Geneva, Tahoma, sans-serif !important;
    --font-mono: Verdana, Geneva, Tahoma, sans-serif !important;
}

/* Verdana is the single typeface for all visible written content. */
html,
body,
body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.material-icons) {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

/* Preserve icon fonts after the universal Verdana rule. */
.fa,
.fas,
.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.far,
.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Hide the floating Cookie Settings control while the burger menu is open. */
body.burger-menu-open .dedsec-cookie-settings {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.86) !important;
}
.dedsec-cookie-settings {
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease !important;
}

/* Desktop burger menu and every bordered menu rectangle remain square. */
@media (min-width: 641px) {
    #nav-menu,
    #nav-menu *,
    .nav-menu,
    .nav-menu *,
    #burger-menu,
    .burger-menu,
    .nav-action-btn {
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    #nav-menu::before,
    #nav-menu::after,
    #nav-menu *::before,
    #nav-menu *::after,
    .nav-menu::before,
    .nav-menu::after,
    .nav-menu *::before,
    .nav-menu *::after,
    #burger-menu::before,
    #burger-menu::after,
    .burger-menu::before,
    .burger-menu::after {
        border-radius: 0 !important;
    }
}

/* === GLOBAL THEME SURFACES + LAVENDER BORDER ACCENTS (2026-08-07c) ===
   Site-wide rule: cards/boxes/panels use the same solid surface as the page
   (#000 dark / #fff light). Purple and lavender are reserved for borders,
   icons, links and other accents instead of tinting the card interior. */
:root {
  --ded-card-surface-dark: #000000;
  --ded-card-surface-light: #ffffff;
  --ded-accent-purple: #a855f7;
  --ded-accent-lavender: #c084fc;
  --ded-border-dark: rgba(192, 132, 252, .72);
  --ded-border-light: rgba(126, 34, 206, .58);
}

/* Keep variable-driven containers solid as well. */
html body.dark-theme {
  --nm-dark: #000000;
  --nm-container: #000000;
}
html body.light-theme {
  --nm-dark: #ffffff;
  --nm-container: #ffffff;
}

/* Shared boxed-surface set used across Home, Store, ButSystem, Assistance,
   Academy, product pages, Founder/Vision and supporting pages. */
html body.dark-theme :is(
  .content-section,
  .feature-card, .tool-card, .stat-card, .community-card, .portfolio-card, .job-experience-card,
  .glance-card, .step-card, .trust-item, .category, .category-header, .tool-item,
  [class*="-card"], [class*="_card"], [class*="Card"],
  [class*="-box"], [class*="_box"],
  [class*="-panel"], [class*="_panel"],
  .callout, .note, .warning, .note-warning, .danger, .tip, details,
  .code-container, pre, .cookie-banner, .modal-content, .modal-disclaimer,
  .butsystem-free-banner, .custom-scope-note, .founder-home-mark,
  .search-modal, .dedsec-cookie-settings,
  .sales-hero, .sales-proof-strip span, .store-trust-row span,
  .sales-argument-grid article, .product-sales-argument-grid article, .product-process-grid article,
  .home-benefit-item, .home-facts-row, .project-fact-row,
  .assistance-finder, .assistance-category-section, .assistance-warning-note,
  .assistance-card-category, .assistance-card-signature, .assistance-signature-tag
) {
  background: var(--ded-card-surface-dark) !important;
  background-color: var(--ded-card-surface-dark) !important;
  background-image: none !important;
  border-color: var(--ded-border-dark) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.light-theme :is(
  .content-section,
  .feature-card, .tool-card, .stat-card, .community-card, .portfolio-card, .job-experience-card,
  .glance-card, .step-card, .trust-item, .category, .category-header, .tool-item,
  [class*="-card"], [class*="_card"], [class*="Card"],
  [class*="-box"], [class*="_box"],
  [class*="-panel"], [class*="_panel"],
  .callout, .note, .warning, .note-warning, .danger, .tip, details,
  .code-container, pre, .cookie-banner, .modal-content, .modal-disclaimer,
  .butsystem-free-banner, .custom-scope-note, .founder-home-mark,
  .search-modal, .dedsec-cookie-settings,
  .sales-hero, .sales-proof-strip span, .store-trust-row span,
  .sales-argument-grid article, .product-sales-argument-grid article, .product-process-grid article,
  .home-benefit-item, .home-facts-row, .project-fact-row,
  .assistance-finder, .assistance-category-section, .assistance-warning-note,
  .assistance-card-category, .assistance-card-signature, .assistance-signature-tag
) {
  background: var(--ded-card-surface-light) !important;
  background-color: var(--ded-card-surface-light) !important;
  background-image: none !important;
  border-color: var(--ded-border-light) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Make the lavender identity visible on the border while the interior stays
   neutral. A stronger left edge and softer top edge create the accent. */
html body :is(
  .content-section,
  .feature-card, .tool-card, .stat-card, .community-card, .portfolio-card, .job-experience-card,
  .glance-card, .step-card, .trust-item, .category, .category-header, .tool-item,
  [class*="-card"], [class*="_card"], [class*="Card"],
  [class*="-box"], [class*="_box"],
  [class*="-panel"], [class*="_panel"],
  .callout, .note, .warning, .note-warning, .danger, .tip, details,
  .code-container, .butsystem-free-banner, .custom-scope-note,
  .sales-hero, .sales-proof-strip span, .store-trust-row span,
  .sales-argument-grid article, .product-sales-argument-grid article, .product-process-grid article,
  .home-benefit-item, .home-facts-row,
  .assistance-finder, .assistance-category-section, .assistance-warning-note
) {
  border-style: solid !important;
  border-width: 1px 1px 1px 3px !important;
  border-left-color: var(--ded-accent-purple) !important;
  border-top-color: var(--ded-accent-lavender) !important;
}

/* Text follows the theme. Links and icons are deliberately excluded so the
   site can retain purple accent affordances. Buttons keep their own colors. */
html body.dark-theme :is(
  .content-section,
  .feature-card, .tool-card, .stat-card, .community-card, .portfolio-card, .job-experience-card,
  .glance-card, .step-card, .trust-item, .category, .category-header, .tool-item,
  [class*="-card"], [class*="_card"], [class*="Card"],
  [class*="-box"], [class*="_box"],
  [class*="-panel"], [class*="_panel"],
  .callout, .note, .warning, .note-warning, .danger, .tip, details,
  .code-container, pre, .butsystem-free-banner, .custom-scope-note,
  .sales-hero, .sales-proof-strip span, .store-trust-row span,
  .sales-argument-grid article, .product-sales-argument-grid article, .product-process-grid article,
  .home-benefit-item, .home-facts-row, .project-fact-row,
  .assistance-finder, .assistance-category-section, .assistance-warning-note
) :where(h1,h2,h3,h4,h5,h6,p,span,strong,em,li,label,small,code,blockquote) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.light-theme :is(
  .content-section,
  .feature-card, .tool-card, .stat-card, .community-card, .portfolio-card, .job-experience-card,
  .glance-card, .step-card, .trust-item, .category, .category-header, .tool-item,
  [class*="-card"], [class*="_card"], [class*="Card"],
  [class*="-box"], [class*="_box"],
  [class*="-panel"], [class*="_panel"],
  .callout, .note, .warning, .note-warning, .danger, .tip, details,
  .code-container, pre, .butsystem-free-banner, .custom-scope-note,
  .sales-hero, .sales-proof-strip span, .store-trust-row span,
  .sales-argument-grid article, .product-sales-argument-grid article, .product-process-grid article,
  .home-benefit-item, .home-facts-row, .project-fact-row,
  .assistance-finder, .assistance-category-section, .assistance-warning-note
) :where(h1,h2,h3,h4,h5,h6,p,span,strong,em,li,label,small,code,blockquote) {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Do not let the global surface rule recolor real controls. */
html body :is(.btn, .sales-btn, .starter-path-btn, button, [role="button"]) {
  -webkit-text-fill-color: currentColor !important;
}

/* The combined founder page intentionally has no small all-caps labels above its titles. */
body.founder-page .founder-page-header > .sales-section-label,
body.founder-page .founder-story-section .sales-section-label { display: none !important; }
body.founder-page .founder-page-header { padding-top: clamp(24px, 5vw, 48px) !important; }
body.founder-page .founder-page-header h1 { margin-top: 0 !important; }
body.founder-page .founder-story-copy > h2 { text-align: center !important; margin-bottom: 20px !important; }
body.founder-page .founder-story-copy { max-width: 1020px !important; }
.founder-narrative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 22px;
}
.founder-story-card,
.founder-vision-card {
  padding: clamp(18px, 3vw, 24px) !important;
  border: 1px solid var(--nm-border);
  text-align: left !important;
}
.founder-story-card h3,
.founder-vision-card h3 { margin: 0 0 10px !important; }
.founder-story-card p,
.founder-vision-card p { margin: 0 0 12px !important; line-height: 1.68 !important; }
.founder-story-card p:last-child,
.founder-vision-card p:last-child { margin-bottom: 0 !important; }
.founder-vision-content { scroll-margin-top: calc(var(--nav-h) + 20px); }
.founder-vision-content > h2 { text-align: center; margin: 0 0 20px !important; }
.founder-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.founder-vision-lead-card { grid-column: 1 / -1; }
.founder-vision-section-card { border: 1px solid var(--nm-border) !important; }
.legacy-anchor { display: block; position: relative; top: calc(-1 * var(--nav-h)); visibility: hidden; }

/* Long combined title remains readable in the burger menu and on mobile. */
.nav-menu .nav-link { overflow-wrap: anywhere; }
body.founder-page .founder-page-header h1 { font-size: clamp(2rem, 7vw, 4.4rem) !important; line-height: 1.04 !important; }

@media (max-width: 820px) {
  .founder-narrative-grid,
  .founder-vision-grid { grid-template-columns: 1fr; }
  .founder-vision-lead-card { grid-column: auto; }
}



/* === GLOBAL CONTENT CTA CENTERING LOCK 20260807n ===
   Center every user-facing content CTA regardless of legacy page wrapper.
   Navigation, filters, modal controls and code-copy controls are intentionally excluded. */
html body :is(
  a.btn,
  a.sales-btn,
  a.starter-path-btn,
  a.payment-btn,
  a.sponsor-btn,
  a.store-preview-link,
  a.store-details-link,
  a.product-details-btn,
  a.product-primary-cta,
  a.product-back-btn,
  a.ebook-preview-link,
  a.contact-page-btn,
  a.contact-cta,
  a.faq-link-btn,
  a.hero-cta,
  a.feature-cta,
  button.assistance-report-btn,
  button.assistance-expand-btn
) {
  margin-left:auto !important;
  margin-right:auto !important;
  align-self:center !important;
  justify-self:center !important;
  text-align:center !important;
  justify-content:center !important;
}

/* Center the common action wrappers too, so legacy flex/grid rules cannot pin CTAs to an edge. */
html body :is(
  .hero-actions,
  .sales-hero-actions,
  .store-action-row,
  .store-product-actions,
  .product-secondary-actions,
  .academy-entry-actions,
  .academy-ebook-actions,
  .inline-action-buttons,
  .assistance-support-actions,
  .assistance-quick-actions,
  .home-decision-academy
) {
  justify-content:center !important;
  justify-items:center !important;
  text-align:center !important;
}

/* Single prominent CTAs should stay visibly centered instead of inheriting a start alignment. */
html body :is(
  .store-butsystem-free,
  .store-custom-offer,
  .store-sales-faq,
  .installation-primary-next,
  .installation-store-nudge,
  .sponsor-conversion-note,
  .product-final-cta
) > :is(a.btn,a.sales-btn,a.starter-path-btn,a.payment-btn,a.sponsor-btn) {
  margin-left:auto !important;
  margin-right:auto !important;
}


/* === ABSOLUTE CONTENT CTA PHYSICAL CENTERING 20260807o ===
   A CTA must be centered as an element, not merely have centered text.
   This intentionally excludes header/navigation/filter/copy controls. */
html body :is(
  a.sales-btn,
  a.btn,
  a.payment-btn,
  a.sponsor-btn,
  a.store-preview-link,
  a.store-details-link,
  a.product-details-btn,
  a.product-primary-cta,
  a.product-back-btn,
  a.ebook-preview-link,
  a.contact-page-btn,
  a.contact-cta,
  a.faq-link-btn,
  a.hero-cta,
  a.feature-cta
) {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  justify-self: center !important;
  text-align: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Inline-level buttons ignore auto margins in normal flow. Make the main CTA
   families real flex boxes so their horizontal auto margins actually work. */
html body a.sales-btn {
  display: flex !important;
  width: min(100%, 520px) !important;
}
html body :is(a.btn, a.store-preview-link, a.store-details-link, a.product-details-btn,
  a.product-back-btn, a.ebook-preview-link, a.contact-page-btn, a.contact-cta,
  a.faq-link-btn, a.hero-cta, a.feature-cta) {
  display: flex !important;
  width: fit-content !important;
  max-width: 100% !important;
}
html body a.payment-btn,
html body a.product-primary-cta {
  display: flex !important;
}
html body a.sponsor-btn {
  display: flex !important;
  width: min(100%, 430px) !important;
}
html body a.starter-path-btn {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  justify-self: center !important;
  text-align: center !important;
  justify-content: center !important;
}

/* Explicit fix for Store sections that live outside <main>. */
html body .store-butsystem-free > a.sales-btn,
html body .store-custom-offer > a.sales-btn,
html body .store-sales-faq a.sales-btn {
  display: flex !important;
  width: min(100%, 520px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Labels that are actual short sentences use sentence case and punctuation.
   Heading/category labels remain uppercase and do not use a trailing period. */
html body .sales-section-label.sales-sentence-label {
  text-transform: none !important;
  letter-spacing: .035em !important;
}


/* Native-button CTA parity for Assistance and legacy content controls. */
html body :is(button.starter-path-btn, button.assistance-report-btn, button.assistance-expand-btn) {
  display: flex !important;
  width: min(100%, 520px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* === MOBILE RELATED-ACTION CENTERING 20260807o ===
   Related Assistance links are content actions, so on phone they stack as one
   centered column instead of looking like left/right-aligned buttons. */
@media (max-width: 700px) {
  html body .assistance-page .assistance-related-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: stretch !important;
  }
  html body .assistance-page .assistance-related-grid > .starter-path-btn {
    width: min(100%, 520px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* === CONTEXTUAL JOURNEY & CONVERSION FLOW 20260807p === */
.home-hero-support-line{margin:8px auto 0;max-width:760px;text-align:center;font-family:var(--font-mono);font-weight:800;color:var(--nm-text-accent)}
.home-github-cta{margin-top:10px!important}.home-github-star-count:empty{display:none}.home-github-star-symbol{font-size:1.05em}
.github-discovery-block,.post-install-value-block,.assistance-contextual-recommendation,.academy-github-bridge,.academy-sponsor-after-value,.product-preview-before-buy,.product-choice-calculus,.product-companion-section{border:1px solid var(--nm-border);background:var(--nm-container);padding:clamp(16px,3vw,24px);margin:18px auto;text-align:center}
.github-discovery-block{max-width:820px}.github-discovery-block h4,.product-preview-before-buy h3,.product-choice-calculus h3,.assistance-contextual-recommendation h3{margin:0 0 8px}.github-discovery-block p,.post-install-value-block p,.academy-github-bridge p,.academy-sponsor-after-value p,.product-preview-before-buy p,.product-companion-section p,.assistance-contextual-recommendation p{max-width:760px;margin:0 auto 12px;line-height:1.65}
.post-install-value-block,.academy-github-bridge,.academy-sponsor-after-value,.product-companion-section{max-width:1000px}.post-install-sponsor-note{margin-top:16px!important;font-size:.92rem}.post-install-sponsor-note a,.assistance-github-followup a{font-weight:800}
.assistance-contextual-recommendation{max-width:780px;margin:16px auto}.assistance-github-followup{max-width:760px;margin:14px auto 0;text-align:center;line-height:1.6}
.academy-contextual-bridge{max-width:980px;margin:20px auto}.academy-contextual-bridge .starter-path-btn,.academy-github-bridge .starter-path-btn,.academy-sponsor-after-value .starter-path-btn,.product-companion-section .starter-path-btn{width:min(100%,520px)!important}
.product-preview-before-buy{width:100%;margin:4px 0 0}.product-preview-before-buy .product-preview-actions{margin:12px 0 0!important;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.product-preview-before-buy .ebook-preview-link{flex:1 1 230px!important;max-width:360px!important}
.product-choice-calculus{width:100%;margin:0}.product-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left}.product-choice-item{border:1px solid var(--nm-border);padding:14px}.product-choice-item strong{display:block;margin-bottom:7px;color:var(--nm-text-accent)}.product-choice-item p{margin:0;line-height:1.55}
.product-companion-section{margin-bottom:22px}
@media(max-width:700px){.product-choice-grid{grid-template-columns:1fr}.product-preview-before-buy .product-preview-actions{flex-direction:column}.product-preview-before-buy .ebook-preview-link{width:100%!important;max-width:none!important;flex:0 0 auto!important}.github-discovery-block,.post-install-value-block,.academy-github-bridge,.academy-sponsor-after-value,.product-preview-before-buy,.product-choice-calculus,.product-companion-section{padding:16px 14px}}

