/* Prysai Lab UI elevation layer
 * Direction: industrial clarity on a near-black technical field. The B1 logo,
 * blue signal accent, one container grid, and one interaction language are
 * shared by every public route.
 */

:root {
  --ps-field: #050608;
  --ps-field-raised: #080a0e;
  --ps-field-raised: #080b10;
  --ps-surface: #0d1118;
  --ps-surface-raised: #111827;
  --ps-surface-active: #172554;
  --ps-ink: #f8fafc;
  --ps-ink-soft: #cbd5e1;
  --ps-muted: #94a3b8;
  --ps-blue: #2563eb;
  --ps-blue-bright: #60a5fa;
  --ps-line: rgba(255, 255, 255, .13);
  --ps-line-strong: rgba(255, 255, 255, .22);
  --ps-radius-sm: 12px;
  --ps-radius-md: 18px;
  --ps-radius-lg: 20px;
  --ps-container: 1180px;
  --ps-gutter: 32px;
  --ps-shadow-card: 0 18px 42px rgba(0, 0, 0, .24);
  --ps-shadow-hover: 0 22px 52px rgba(0, 0, 0, .36);
}

html,
body { overflow-x: hidden !important; }

body.prysai-design-system .wp-site-blocks,
body.prysai-design-system .wp-site-blocks > main,
body.prysai-design-system main,
body.prysai-design-system .entry-content,
body.prysai-design-system .wp-block-post-content,
body.prysai-design-system .wp-block-group.alignfull {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

body.prysai-design-system {
  background: var(--ps-field) !important;
  color: var(--ps-ink) !important;
  font-family: "Gail Rock", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif !important;
}

body.prysai-design-system .wp-site-blocks,
body.prysai-design-system main,
body.prysai-design-system .entry-content,
body.prysai-design-system .wp-block-post-content,
body.prysai-design-system .prysai-directory-main,
body.prysai-design-system .prysai-design-virtual-main {
  background: var(--ps-field) !important;
  color: var(--ps-ink) !important;
}

/* Shared shell: the logo, nav, main content, and footer all use the same grid. */
body.prysai-design-system header.wp-block-template-part,
body.prysai-design-system > header.wp-block-template-part {
  position: relative !important;
  z-index: 20;
  min-height: 74px;
  border-bottom: 1px solid var(--ps-line) !important;
  background: rgba(5, 6, 8, .92) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) !important;
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

body.prysai-design-system header.wp-block-template-part > .wp-block-group,
body.prysai-design-system header.wp-block-template-part .wp-block-group.has-global-padding,
body.prysai-design-system header.wp-block-template-part .wp-block-group.alignwide,
body.prysai-design-system footer.wp-block-template-part > .wp-block-group,
body.prysai-design-system footer.wp-block-template-part .wp-block-group.alignwide,
body.prysai-design-system .prysai-footer-legal__inner {
  width: min(var(--ps-container), calc(100% - (var(--ps-gutter) * 2))) !important;
  max-width: var(--ps-container) !important;
  margin-inline: auto !important;
}

body.prysai-design-system header.wp-block-template-part > .wp-block-group,
body.prysai-design-system header.wp-block-template-part .wp-block-group.has-global-padding {
  padding: 0 !important;
}

body.prysai-design-system header.wp-block-template-part .wp-block-group.alignwide {
  min-height: 73px;
  padding: 0 !important;
}

body.prysai-design-system header .wp-block-site-title,
body.prysai-design-system header .wp-block-site-title a,
body.prysai-design-system footer .wp-block-site-title,
body.prysai-design-system footer .wp-block-site-title a {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--ps-ink) !important;
  text-decoration: none !important;
}

body.prysai-design-system header .wp-block-navigation__container,
body.prysai-design-system footer .wp-block-navigation__container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.prysai-design-system header .wp-block-navigation-item__content,
body.prysai-design-system footer .wp-block-navigation-item__content {
  display: inline-flex !important;
  min-height: 40px;
  align-items: center;
  padding: 9px 11px !important;
  border: 1px solid transparent;
  border-radius: var(--ps-radius-sm);
  color: var(--ps-ink-soft) !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.prysai-design-system header .wp-block-navigation-item__content:hover,
body.prysai-design-system header .current-menu-item > .wp-block-navigation-item__content,
body.prysai-design-system footer .wp-block-navigation-item__content:hover {
  border-color: rgba(96, 165, 250, .28);
  background: rgba(37, 99, 235, .18) !important;
  color: #dbeafe !important;
  transform: translateY(-1px);
}

body.prysai-design-system header .wp-block-navigation__responsive-container-open,
body.prysai-design-system header .wp-block-navigation__responsive-container-close {
  min-width: 44px !important;
  min-height: 44px !important;
  border: 1px solid var(--ps-line-strong) !important;
  border-radius: var(--ps-radius-sm) !important;
  background: transparent !important;
  color: var(--ps-ink) !important;
}

/* Page identity band: one rhythm for About, Research, Contact and policy pages. */
body.prysai-design-system .prysai-page-shell,
body.prysai-design-system .prysai-public-page-frame,
body.prysai-design-system .prysai-privacy-layout,
body.prysai-design-system .prysai-directory-wrap,
body.prysai-design-system .prysai-brand-study,
body.prysai-design-system .prysai-profile-page {
  position: relative;
  width: min(var(--ps-container), calc(100% - (var(--ps-gutter) * 2))) !important;
  max-width: var(--ps-container) !important;
  margin-inline: auto !important;
  padding-top: 76px !important;
  padding-bottom: 112px !important;
}

body.prysai-design-system .prysai-page-shell::before,
body.prysai-design-system .prysai-public-page-frame::before,
body.prysai-design-system .prysai-privacy-layout::before,
body.prysai-design-system .prysai-directory-wrap::before,
body.prysai-design-system .prysai-brand-study::before {
  display: block;
  margin-bottom: 28px;
  color: var(--ps-blue-bright);
  content: "PRYSAI LAB  /  PUBLIC SYSTEM";
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.prysai-design-system .prysai-page-shell > .prysai-section-label,
body.prysai-design-system .prysai-public-page-frame__masthead .prysai-eyebrow,
body.prysai-design-system .prysai-directory-kicker,
body.prysai-design-system .prysai-brand-study .prysai-eyebrow {
  color: var(--ps-blue-bright) !important;
  font-size: .7rem !important;
  font-weight: 750 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

body.prysai-design-system .prysai-page-shell > h1,
body.prysai-design-system .prysai-public-page-frame__body > h1,
body.prysai-design-system .prysai-directory-hero h1,
body.prysai-design-system .prysai-brand-study__hero h1,
body.prysai-design-system .prysai-profile-page h1 {
  max-width: 860px;
  margin: 0 0 22px !important;
  color: var(--ps-ink) !important;
  font-size: clamp(3rem, 7vw, 6.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em !important;
  line-height: .98 !important;
}

body.prysai-design-system .prysai-page-shell > p:not(.prysai-section-label):not(.prysai-note),
body.prysai-design-system .prysai-public-page-frame__body > p,
body.prysai-design-system .prysai-page-shell > ul,
body.prysai-design-system .prysai-page-shell > ol {
  max-width: 780px;
  color: var(--ps-ink-soft) !important;
  font-size: 1.02rem;
  line-height: 1.78;
}

body.prysai-design-system .prysai-page-shell > h2,
body.prysai-design-system .prysai-public-page-frame__body > h2,
body.prysai-design-system .prysai-privacy-main h2 {
  max-width: 860px;
  margin: 64px 0 18px !important;
  padding-top: 22px;
  border-top: 1px solid var(--ps-line);
  color: var(--ps-ink) !important;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem) !important;
  letter-spacing: -.025em !important;
  line-height: 1.08 !important;
}

body.prysai-design-system .prysai-page-grid,
body.prysai-design-system .prysai-grid-3,
body.prysai-design-system .prysai-platform-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 28px !important;
}

/* The old MU layer has white cards. The elevation layer owns this contract. */
body.prysai-design-system .prysai-card,
body.prysai-design-system .prysai-mini-card,
body.prysai-design-system .prysai-page-link-card,
body.prysai-design-system .prysai-platform-card,
body.prysai-design-system .prysai-stat-card,
body.prysai-design-system .prysai-model-card,
body.prysai-design-system .prysai-catalog-card,
body.prysai-design-system .prysai-panel,
body.prysai-design-system .prysai-auth-card,
body.prysai-design-system .prysai-plan-card {
  min-width: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius-md) !important;
  background: var(--ps-surface) !important;
  box-shadow: var(--ps-shadow-card) !important;
  color: var(--ps-ink) !important;
  transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.prysai-design-system .prysai-card:hover,
body.prysai-design-system .prysai-mini-card:hover,
body.prysai-design-system .prysai-page-link-card:hover,
body.prysai-design-system .prysai-platform-card:hover,
body.prysai-design-system .prysai-stat-card:hover,
body.prysai-design-system .prysai-model-card:hover,
body.prysai-design-system .prysai-catalog-card:hover {
  border-color: rgba(96, 165, 250, .5) !important;
  background: var(--ps-surface-raised) !important;
  box-shadow: var(--ps-shadow-hover) !important;
  transform: translateY(-3px);
}

body.prysai-design-system .prysai-card h2,
body.prysai-design-system .prysai-card h3,
body.prysai-design-system .prysai-mini-card h2,
body.prysai-design-system .prysai-mini-card h3,
body.prysai-design-system .prysai-page-link-card strong,
body.prysai-design-system .prysai-platform-card h3,
body.prysai-design-system .prysai-model-card h3,
body.prysai-design-system .prysai-catalog-card h3 {
  color: var(--ps-ink) !important;
}

body.prysai-design-system .prysai-card p,
body.prysai-design-system .prysai-mini-card p,
body.prysai-design-system .prysai-page-link-card span,
body.prysai-design-system .prysai-platform-card p,
body.prysai-design-system .prysai-model-card p,
body.prysai-design-system .prysai-catalog-card p,
body.prysai-design-system .prysai-note {
  color: var(--ps-ink-soft) !important;
}

body.prysai-design-system .prysai-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 56px;
  align-items: start;
}

body.prysai-design-system .prysai-privacy-main {
  min-width: 0;
}

body.prysai-design-system .prysai-privacy-layout aside,
body.prysai-design-system .prysai-privacy-toc,
body.prysai-design-system .prysai-page-toc {
  position: sticky;
  top: 28px;
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius-md);
  background: var(--ps-surface-raised) !important;
  color: var(--ps-ink-soft) !important;
}

body.prysai-design-system .prysai-privacy-layout aside a,
body.prysai-design-system .prysai-privacy-toc a,
body.prysai-design-system .prysai-page-toc a {
  color: var(--ps-blue-bright) !important;
}

/* One interaction language for every CTA and filter. */
body.prysai-design-system .prysai-button,
body.prysai-design-system .prysai-btn,
body.prysai-design-system .prysai-catalog-action,
body.prysai-design-system .wp-block-button__link,
body.prysai-design-system .wp-element-button,
body.prysai-design-system button {
  min-height: 42px;
  border-radius: var(--ps-radius-sm) !important;
  font-weight: 700 !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.prysai-design-system .prysai-button--primary,
body.prysai-design-system .prysai-btn-primary,
body.prysai-design-system .prysai-btn--primary,
body.prysai-design-system .prysai-catalog-action--primary,
body.prysai-design-system .wp-block-button__link,
body.prysai-design-system .wp-element-button {
  border: 1px solid var(--ps-blue) !important;
  background: var(--ps-blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .2);
}

body.prysai-design-system .prysai-button--primary:hover,
body.prysai-design-system .prysai-btn-primary:hover,
body.prysai-design-system .prysai-btn--primary:hover,
body.prysai-design-system .prysai-catalog-action--primary:hover,
body.prysai-design-system .wp-block-button__link:hover,
body.prysai-design-system .wp-element-button:hover {
  border-color: var(--ps-blue-bright) !important;
  background: #3b82f6 !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .32);
  transform: translateY(-2px);
}

body.prysai-design-system .prysai-button--secondary,
body.prysai-design-system .prysai-btn-outline,
body.prysai-design-system .prysai-btn--outline,
body.prysai-design-system .prysai-catalog-action:not(.prysai-catalog-action--primary) {
  border: 1px solid var(--ps-line-strong) !important;
  background: var(--ps-surface-raised) !important;
  color: #dbeafe !important;
}

body.prysai-design-system .prysai-button--secondary:hover,
body.prysai-design-system .prysai-btn-outline:hover,
body.prysai-design-system .prysai-btn--outline:hover,
body.prysai-design-system .prysai-catalog-action:not(.prysai-catalog-action--primary):hover {
  border-color: rgba(96, 165, 250, .7) !important;
  background: var(--ps-surface-active) !important;
  color: #bfdbfe !important;
  transform: translateY(-2px);
}

body.prysai-design-system :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ps-blue-bright) !important;
  outline-offset: 3px;
}

/* Footer is a deliberate end-cap, never an accidental theme fragment. */
body.prysai-design-system footer.wp-block-template-part {
  margin-top: 0 !important;
  border-top: 1px solid var(--ps-line) !important;
  background: var(--ps-field-raised) !important;
  color: var(--ps-ink-soft) !important;
}

body.prysai-design-system footer.wp-block-template-part > .wp-block-group {
  padding-top: 48px !important;
  padding-bottom: 28px !important;
}

body.prysai-design-system footer.wp-block-template-part p,
body.prysai-design-system footer.wp-block-template-part a {
  color: var(--ps-ink-soft) !important;
}

body.prysai-design-system footer.wp-block-template-part .wp-block-group.alignfull {
  width: 100% !important;
  max-width: none !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--ps-line);
}

body.prysai-design-system .prysai-brand-study__hero-art,
body.prysai-design-system .prysai-brand-archive-card__art--dark,
body.prysai-design-system .prysai-specimen--dark {
  background: #000 !important;
}

body.prysai-design-system .prysai-brand-archive-card,
body.prysai-design-system .prysai-specimen,
body.prysai-design-system .prysai-application-grid figure,
body.prysai-design-system .prysai-brand-archive-pdfs a {
  border-color: var(--ps-line) !important;
  border-radius: var(--ps-radius-md) !important;
  background: var(--ps-surface) !important;
  color: var(--ps-ink-soft) !important;
}

body.prysai-design-system .prysai-brand-archive-pdfs a:hover {
  border-color: rgba(96, 165, 250, .72) !important;
  background: var(--ps-surface-active) !important;
  color: #bfdbfe !important;
}

@media (max-width: 900px) {
  :root { --ps-gutter: 20px; }
  body.prysai-design-system .prysai-page-grid,
  body.prysai-design-system .prysai-grid-3,
  body.prysai-design-system .prysai-platform-grid { grid-template-columns: 1fr !important; }
  body.prysai-design-system .prysai-privacy-layout { grid-template-columns: 1fr; gap: 28px; }
  body.prysai-design-system .prysai-privacy-layout aside,
  body.prysai-design-system .prysai-privacy-toc,
  body.prysai-design-system .prysai-page-toc { position: relative; top: auto; }
  body.prysai-design-system header .wp-block-navigation__responsive-container { background: rgba(5, 6, 8, .98) !important; }
  body.prysai-design-system header .wp-block-navigation__responsive-close { background: var(--ps-surface) !important; }
}

@media (max-width: 560px) {
  :root { --ps-gutter: 16px; }
  body.prysai-design-system .prysai-page-shell,
  body.prysai-design-system .prysai-public-page-frame,
  body.prysai-design-system .prysai-privacy-layout,
  body.prysai-design-system .prysai-directory-wrap,
  body.prysai-design-system .prysai-brand-study,
  body.prysai-design-system .prysai-profile-page { padding-top: 52px !important; padding-bottom: 76px !important; }
  body.prysai-design-system .prysai-page-shell > h1,
  body.prysai-design-system .prysai-public-page-frame__body > h1,
  body.prysai-design-system .prysai-directory-hero h1,
  body.prysai-design-system .prysai-brand-study__hero h1,
  body.prysai-design-system .prysai-profile-page h1 { font-size: clamp(2.7rem, 14vw, 4.2rem) !important; }
  body.prysai-design-system footer.wp-block-template-part > .wp-block-group { padding-top: 36px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.prysai-design-system *,
  body.prysai-design-system *::before,
  body.prysai-design-system *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/*
 * Final public contract.
 *
 * The authored brand surface predates the dark system and contains a few
 * deliberately high-specificity light rules. Keep this block last so the
 * public UI has one source of truth for title contrast, surfaces, and control
 * states on every route, including pages rendered by the legacy MU layer.
 */
html body.prysai-design-system.prysai-brand-surface {
  color-scheme: dark !important;
  --prysai-brand-ink: #f8fafc;
  --prysai-brand-ink-soft: #cbd5e1;
  --prysai-brand-muted: #94a3b8;
  --prysai-brand-surface: #0d1118;
  --prysai-brand-wash: #050608;
  --prysai-brand-wash-deep: #080a0e;
  --prysai-brand-line: rgba(255, 255, 255, .13);
  --prysai-brand-line-strong: rgba(255, 255, 255, .22);
  --prysai-brand-blue: #60a5fa;
  --prysai-brand-blue-hover: #93c5fd;
}

html body.prysai-design-system.prysai-brand-surface h1,
html body.prysai-design-system.prysai-brand-surface h2,
html body.prysai-design-system.prysai-brand-surface h3,
html body.prysai-design-system.prysai-brand-surface h4,
html body.prysai-design-system.prysai-brand-surface h5,
html body.prysai-design-system.prysai-brand-surface h6,
html body.prysai-design-system.prysai-brand-surface .prysai-headline,
html body.prysai-design-system.prysai-brand-surface .prysai-section-headline,
html body.prysai-design-system.prysai-brand-surface .prysai-page-hero__title,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > h1,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > h2,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > h3,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-hero h1,
html body.prysai-design-system.prysai-brand-surface .prysai-brand-study h1,
html body.prysai-design-system.prysai-brand-surface .prysai-brand-study h2,
html body.prysai-design-system.prysai-brand-surface .prysai-profile-page h1,
html body.prysai-design-system.prysai-brand-surface .prysai-profile-page h2 {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-card,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card,
html body.prysai-design-system.prysai-brand-surface .prysai-page-link-card,
html body.prysai-design-system.prysai-brand-surface .prysai-platform-card,
html body.prysai-design-system.prysai-brand-surface .prysai-stat-card,
html body.prysai-design-system.prysai-brand-surface .prysai-model-card,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-card,
html body.prysai-design-system.prysai-brand-surface .prysai-panel,
html body.prysai-design-system.prysai-brand-surface .prysai-status-card,
html body.prysai-design-system.prysai-brand-surface .prysai-work-card,
html body.prysai-design-system.prysai-brand-surface .prysai-plan-card {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #0d1118 !important;
  color: #f8fafc !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24) !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-page-link-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-platform-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-stat-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-model-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-status-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-work-card:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-plan-card:hover {
  border-color: rgba(96, 165, 250, .58) !important;
  background: #111827 !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .36) !important;
  transform: translateY(-3px);
}

html body.prysai-design-system.prysai-brand-surface .prysai-card h1,
html body.prysai-design-system.prysai-brand-surface .prysai-card h2,
html body.prysai-design-system.prysai-brand-surface .prysai-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-card h4,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card h1,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card h2,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card h4,
html body.prysai-design-system.prysai-brand-surface .prysai-page-link-card strong,
html body.prysai-design-system.prysai-brand-surface .prysai-platform-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-stat-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-model-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-card h3,
html body.prysai-design-system.prysai-brand-surface .prysai-plan-card h3 {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-page-link-card span,
html body.prysai-design-system.prysai-brand-surface .prysai-platform-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-stat-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-model-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-plan-card p,
html body.prysai-design-system.prysai-brand-surface .prysai-card li,
html body.prysai-design-system.prysai-brand-surface .prysai-mini-card li {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-privacy-layout aside,
html body.prysai-design-system.prysai-brand-surface .prysai-privacy-toc,
html body.prysai-design-system.prysai-brand-surface .prysai-page-toc,
html body.prysai-design-system.prysai-brand-surface .prysai-privacy-nav,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-toolbar,
html body.prysai-design-system.prysai-brand-surface .prysai-page-chip {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #111827 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2) !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-privacy-layout aside a,
html body.prysai-design-system.prysai-brand-surface .prysai-privacy-toc a,
html body.prysai-design-system.prysai-brand-surface .prysai-page-toc a,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-filter,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-filter:visited {
  border-color: rgba(255, 255, 255, .18) !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-directory-filter:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-filter:focus,
html body.prysai-design-system.prysai-brand-surface .prysai-directory-filter.is-active,
html body.prysai-design-system.prysai-brand-surface .prysai-page-toc a:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-page-toc .is-active {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

/* Every public control gets the same dark resting, hover, focus, and pressed states. */
html body.prysai-design-system.prysai-brand-surface .prysai-button,
html body.prysai-design-system.prysai-brand-surface .prysai-btn,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-action,
html body.prysai-design-system.prysai-brand-surface .prysai-homepage-framework__button,
html body.prysai-design-system.prysai-brand-surface .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface .wp-element-button,
html body.prysai-design-system.prysai-brand-surface button,
html body.prysai-design-system.prysai-brand-surface input[type="submit"],
html body.prysai-design-system.prysai-brand-surface input[type="button"],
html body.prysai-design-system.prysai-brand-surface [role="button"] {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 6px !important;
  background: #111827 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

html body.prysai-design-system.prysai-brand-surface .prysai-button--primary,
html body.prysai-design-system.prysai-brand-surface .prysai-btn-primary,
html body.prysai-design-system.prysai-brand-surface .prysai-btn--primary,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-action--primary,
html body.prysai-design-system.prysai-brand-surface .prysai-header-auth__signup,
html body.prysai-design-system.prysai-brand-surface .prysai-homepage-framework__button--primary,
html body.prysai-design-system.prysai-brand-surface .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface .wp-element-button {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .2) !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-button--primary:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-button--primary:focus-visible,
html body.prysai-design-system.prysai-brand-surface .prysai-button--primary:active,
html body.prysai-design-system.prysai-brand-surface .prysai-btn-primary:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-btn-primary:focus-visible,
html body.prysai-design-system.prysai-brand-surface .prysai-btn-primary:active,
html body.prysai-design-system.prysai-brand-surface .prysai-btn--primary:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-action--primary:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-header-auth__signup:hover,
html body.prysai-design-system.prysai-brand-surface .wp-block-button__link:hover,
html body.prysai-design-system.prysai-brand-surface .wp-element-button:hover {
  border-color: #93c5fd !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .36) !important;
  transform: translateY(-2px);
}

html body.prysai-design-system.prysai-brand-surface .prysai-button--secondary:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-btn-outline:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-btn--outline:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-catalog-action:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-homepage-framework__button--ghost:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-btn:hover:not(.prysai-btn-primary):not(.prysai-btn--primary),
html body.prysai-design-system.prysai-brand-surface button:hover:not(.wp-block-navigation__responsive-container-open):not(.wp-block-navigation__responsive-container-close),
html body.prysai-design-system.prysai-brand-surface input[type="submit"]:hover,
html body.prysai-design-system.prysai-brand-surface input[type="button"]:hover,
html body.prysai-design-system.prysai-brand-surface [role="button"]:hover {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  color: #bfdbfe !important;
  -webkit-text-fill-color: #bfdbfe !important;
  transform: translateY(-2px);
}

html body.prysai-design-system.prysai-brand-surface input,
html body.prysai-design-system.prysai-brand-surface textarea,
html body.prysai-design-system.prysai-brand-surface select,
html body.prysai-design-system.prysai-brand-surface option {
  border-color: rgba(255, 255, 255, .2) !important;
  background: #0d1118 !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface footer,
html body.prysai-design-system.prysai-brand-surface footer.wp-block-template-part,
html body.prysai-design-system.prysai-brand-surface footer .wp-block-group,
html body.prysai-design-system.prysai-brand-surface .prysai-footer-legal,
html body.prysai-design-system.prysai-brand-surface .prysai-footer-legal-bar,
html body.prysai-design-system.prysai-brand-surface .prysai-page-footer {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #080a0e !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface footer a,
html body.prysai-design-system.prysai-brand-surface footer p,
html body.prysai-design-system.prysai-brand-surface .prysai-page-footer a,
html body.prysai-design-system.prysai-brand-surface .prysai-page-footer p {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.prysai-design-system.prysai-brand-surface *,
  html body.prysai-design-system.prysai-brand-surface *::before,
  html body.prysai-design-system.prysai-brand-surface *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Specificity lock for the legacy MU surface. These never-present marker
 * classes intentionally make this terminal layer outrank the older
 * :not(.prysai-brand-home):not(.prysai-model-directory-page) rules. */
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-mini-card,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-card,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-page-link-card,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-privacy-layout aside,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-privacy-toc,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-page-toc,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-directory-toolbar,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-directory-filter {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #111827 !important;
  color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-mini-card h1,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-mini-card h2,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-mini-card h3,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-card h1,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-card h2,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-card h3,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-page-link-card strong,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-catalog-card h3,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-model-card h3 {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-button,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-catalog-action,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-element-button {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-button--primary,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn-primary,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn--primary,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-catalog-action--primary,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-element-button {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-button--primary:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn-primary:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn--primary:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-catalog-action--primary:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-block-button__link:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .wp-element-button:hover {
  border-color: #93c5fd !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-button--secondary:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn-outline:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-btn--outline:hover,
html body.prysai-design-system.prysai-brand-surface:not(.prysai-ui-legacy-a):not(.prysai-ui-legacy-b):not(.prysai-ui-legacy-c) .prysai-catalog-action:hover {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  color: #bfdbfe !important;
  -webkit-text-fill-color: #bfdbfe !important;
}

/* Mobile navigation is also styled by the legacy MU surface. Its old
 * light-mode selector is deliberately more specific than the base dark
 * contract, so lock the menu controls at the terminal layer as well. */
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-open,
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-close {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-open:hover,
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-open:focus-visible,
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-close:hover,
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container-close:focus-visible {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

/* The open-state legacy rule adds .is-menu-open to the selector. Match that
 * path so the close control stays dark after the panel is opened. */
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  background-color: #111827 !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover,
html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  background-color: #172554 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

/* Generic public pages contain unclassed lists. The legacy brand sheet gives
 * those lists a light glass surface, so bring them into the same dark card
 * language as the rest of the public reference template. */
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ul,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ol {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: var(--ps-radius-md, 10px) !important;
  background: #0d1118 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22) !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ul li,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ol li {
  color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ul a,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ol a {
  color: #93c5fd !important;
}

html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ul a:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ul a:focus,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ol a:hover,
html body.prysai-design-system.prysai-brand-surface .prysai-public-page-frame__body > ol a:focus {
  color: #bfdbfe !important;
}

@media (max-width: 820px) {
  html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container,
  html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-close,
  html body.prysai-design-system.prysai-brand-surface header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
    border-color: rgba(255, 255, 255, .14) !important;
    background: #090c12 !important;
    background-color: #090c12 !important;
    color: #f8fafc !important;
  }
}

/* Terminal public-reference contract. The legacy brand sheet still carries
 * light-mode component defaults for generic WordPress pages. Keep the
 * Capabilities/reference template dark even when that sheet is cached before
 * this layer or when a narrow responsive rule changes the component shape. */
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-site-blocks,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page main,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .entry-content,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-block-post-content,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame {
  background: #050608 !important;
  color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame {
  width: min(1180px, calc(100% - (var(--ps-gutter) * 2))) !important;
  max-width: 1180px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 72px 0 112px !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__rail {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 24px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
  background: transparent !important;
  color: #94a3b8 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__masthead {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr) !important;
  gap: 32px !important;
  align-items: end !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 56px 0 36px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
  background: transparent !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__note {
  max-width: 280px !important;
  margin: 0 !important;
  color: #94a3b8 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body {
  max-width: 820px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 44px 0 0 !important;
  background: transparent !important;
}

/* Capabilities is the public reference index. Give it a page-level contract
 * so the WordPress block wrapper cannot reintroduce a light surface when CSS
 * optimization or responsive rules change the cascade order. */
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-site-blocks,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-site-blocks > main,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities main,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .entry-content,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-block-post-content,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-block-group.alignfull,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame {
  background: #050608 !important;
  color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame {
  width: min(1180px, calc(100% - (var(--ps-gutter) * 2))) !important;
  max-width: 1180px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding: 72px 0 112px !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__rail {
  display: flex !important;
  min-height: 32px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px 24px !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
  background: transparent !important;
  color: #94a3b8 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__masthead {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr) !important;
  gap: 32px !important;
  align-items: end !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 56px 0 36px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13) !important;
  background: transparent !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__masthead .prysai-eyebrow {
  margin: 0 !important;
  color: #60a5fa !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__note {
  max-width: 280px !important;
  margin: 0 !important;
  color: #94a3b8 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body {
  max-width: 820px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 44px 0 0 !important;
  background: transparent !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > h1,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > h2 {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > h1 {
  max-width: 100% !important;
  margin: 0 0 22px !important;
  font-size: clamp(3rem, 7vw, 6.2rem) !important;
  line-height: .98 !important;
  overflow-wrap: anywhere !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > p {
  max-width: 780px !important;
  margin: 0 0 22px !important;
  color: #cbd5e1 !important;
  font-size: 1.02rem !important;
  line-height: 1.78 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > h2 {
  max-width: 860px !important;
  margin: 64px 0 18px !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .13) !important;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem) !important;
  line-height: 1.08 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ul,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ol {
  max-width: 820px !important;
  margin: 0 0 28px !important;
  padding: 18px 22px 18px 42px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 10px !important;
  background: #0d1118 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24) !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ul li,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ol li {
  color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ul a,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > ol a {
  color: #93c5fd !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities footer,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities footer.wp-block-template-part,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities footer .wp-block-group,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-footer-legal,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-footer-legal-bar,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-page-footer {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #080a0e !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-btn,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-element-button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities input[type="submit"],
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities input[type="button"] {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-button--primary,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .wp-element-button {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 900px) {
  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__masthead {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 560px) {
  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame {
    width: calc(100% - (var(--ps-gutter) * 2)) !important;
    padding-top: 48px !important;
    padding-bottom: 72px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__rail {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__masthead {
    padding: 40px 0 28px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body {
    padding-top: 36px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-capabilities .prysai-public-page-frame__body > h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem) !important;
  }
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ul,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ol,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > form {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 10px !important;
  background: #0d1118 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24) !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ul li,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ol li,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table td,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table th,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > form label {
  color: #cbd5e1 !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ul a,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ol a,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table a {
  color: #93c5fd !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ul a:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ul a:focus,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ol a:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > ol a:focus,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table a:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table a:focus {
  color: #bfdbfe !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table tr + tr,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table td,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body > table th {
  border-color: rgba(255, 255, 255, .13) !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page footer,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page footer.wp-block-template-part,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page footer .wp-block-group,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-footer-legal,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-footer-legal-bar,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-page-footer {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #080a0e !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-btn,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-element-button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page button,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page input[type="submit"],
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page input[type="button"] {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-button--primary,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-block-button__link,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-element-button {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-button--primary:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-block-button__link:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .wp-element-button:hover {
  border-color: #93c5fd !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-button:not(.prysai-button--primary):hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-btn:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page button:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page input[type="submit"]:hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page input[type="button"]:hover {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  color: #bfdbfe !important;
  -webkit-text-fill-color: #bfdbfe !important;
}

@media (max-width: 900px) {
  html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__masthead {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 560px) {
  html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame {
    width: calc(100% - (var(--ps-gutter) * 2)) !important;
    padding-top: 48px !important;
    padding-bottom: 72px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__rail {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__masthead {
    padding: 40px 0 28px !important;
  }

  html body.prysai-design-system.prysai-brand-surface.prysai-design-generic-page .prysai-public-page-frame__body {
    padding-top: 36px !important;
  }
}

/* The homepage model card has an outbound quiet action that does not carry a
 * component modifier. Lock it to the same secondary button treatment. */
html body.prysai-design-system.prysai-brand-surface.prysai-brand-home #prysai-model-releases .prysai-catalog-action:not(.prysai-catalog-action--primary),
html body.prysai-design-system.prysai-brand-surface.prysai-design-home #prysai-model-releases .prysai-catalog-action:not(.prysai-catalog-action--primary) {
  border-color: rgba(255, 255, 255, .22) !important;
  background: #111827 !important;
  background-color: #111827 !important;
  color: #dbeafe !important;
  -webkit-text-fill-color: #dbeafe !important;
}

html body.prysai-design-system.prysai-brand-surface.prysai-brand-home #prysai-model-releases .prysai-catalog-action:not(.prysai-catalog-action--primary):hover,
html body.prysai-design-system.prysai-brand-surface.prysai-design-home #prysai-model-releases .prysai-catalog-action:not(.prysai-catalog-action--primary):hover {
  border-color: rgba(96, 165, 250, .72) !important;
  background: #172554 !important;
  background-color: #172554 !important;
  color: #bfdbfe !important;
  -webkit-text-fill-color: #bfdbfe !important;
}
