/* Shared inline-style replacements */
html {
  background-color: #131313;
}

/* ─── Accessibility: skip link ─────────────────────────────────────────
   "Skip to main content" is the first focusable element on every page
   (added in header.php as part of the SEO-audit fix on 2026-06-04). The
   .sr-only utility hides it visually but keeps it in the accessibility
   tree; on keyboard focus it jumps into the upper-left corner with a
   high-contrast pill so screen-reader and keyboard users can bypass
   the global nav. The :focus rule overrides Tailwind's sr-only.
─────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute !important;
  top: 0;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: #c0c1ff;
  color: #131313;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 100;
  border-bottom-right-radius: 6px;
  transform: translateY(-110%);
  transition: transform 120ms ease-out;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  outline: 3px solid #fe6b00;
  outline-offset: 2px;
}
#content[tabindex="-1"]:focus {
  outline: none;
}

body.wp-theme-dmarc-ai-redesign {
  margin: 0;
  min-height: 100vh;
  background-color: #131313;
  color: #e2e2e2;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.wp-theme-dmarc-ai-redesign img {
  display: block;
}

body.wp-theme-dmarc-ai-redesign {
  --dmarc-background: #131313;
  --dmarc-error: #ffb4ab;
  --dmarc-error-container: #93000a;
  --dmarc-inverse-primary: #494bd6;
  --dmarc-on-primary: #1000a9;
  --dmarc-on-primary-container: #d9d8ff;
  --dmarc-on-secondary: #561f00;
  --dmarc-on-secondary-container: #572000;
  --dmarc-on-secondary-fixed: #351000;
  --dmarc-on-surface: #e2e2e2;
  --dmarc-on-surface-variant: #c7c4d8;
  --dmarc-on-tertiary: #490080;
  --dmarc-outline: #918fa1;
  --dmarc-outline-variant: #464555;
  --dmarc-primary: #c0c1ff;
  --dmarc-primary-container: #4b4dd8;
  --dmarc-primary-fixed: #e1e0ff;
  --dmarc-primary-fixed-dim: #c0c1ff;
  --dmarc-secondary: #ffb693;
  --dmarc-secondary-container: #fe6b00;
  --dmarc-secondary-fixed: #ffb693;
  --dmarc-surface: #131313;
  --dmarc-surface-bright: #393939;
  --dmarc-surface-container: #1f1f1f;
  --dmarc-surface-container-high: #2a2a2a;
  --dmarc-surface-container-highest: #353535;
  --dmarc-surface-container-low: #1b1b1b;
  --dmarc-surface-container-lowest: #0e0e0e;
  --dmarc-surface-variant: #353535;
  --dmarc-tertiary: #ddb7ff;
  --dmarc-tertiary-container: #862dd4;
  --dmarc-transparent: transparent;
}

body.wp-theme-dmarc-ai-redesign .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item {
  --logo-color: rgba(226, 226, 226, 0.92);
  --logo-glow: rgba(226, 226, 226, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.25rem 0.5rem;
  overflow: visible;
  min-height: 30px;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item::before {
  content: none;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item.logo-accent-primary,
body.wp-theme-dmarc-ai-redesign .logo-accent-primary {
  --logo-color: #c0c1ff;
  color: #c0c1ff;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item.logo-accent-secondary,
body.wp-theme-dmarc-ai-redesign .logo-accent-secondary {
  --logo-color: #ffb693;
  color: #ffb693;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item.logo-accent-tertiary,
body.wp-theme-dmarc-ai-redesign .logo-accent-tertiary {
  --logo-color: #ddb7ff;
  color: #ddb7ff;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-item.logo-accent-neutral,
body.wp-theme-dmarc-ai-redesign .logo-accent-neutral {
  --logo-color: #d7d9e6;
  color: #d7d9e6;
}

body.wp-theme-dmarc-ai-redesign .logo-marquee-image {
  display: block;
  width: var(--logo-width, 120px);
  height: 30px;
  background-color: var(--logo-color);
  -webkit-mask-image: var(--logo-image);
  mask-image: var(--logo-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  position: relative;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--logo-color) 32%, transparent));
}

/* Static utility fallback layer for redesign pages. */
body.wp-theme-dmarc-ai-redesign .text-background { color: var(--dmarc-background) !important; }
body.wp-theme-dmarc-ai-redesign .text-error { color: var(--dmarc-error) !important; }
body.wp-theme-dmarc-ai-redesign .text-error\/50 { color: rgba(255, 180, 171, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-primary { color: var(--dmarc-on-primary) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-primary-container { color: var(--dmarc-on-primary-container) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-primary-container\/70 { color: rgba(217, 216, 255, 0.7) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-primary-container\/80 { color: rgba(217, 216, 255, 0.8) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-secondary { color: var(--dmarc-on-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-secondary-container { color: var(--dmarc-on-secondary-container) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-secondary-fixed { color: var(--dmarc-on-secondary-fixed) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface { color: var(--dmarc-on-surface) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface\/30 { color: rgba(226, 226, 226, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface\/40 { color: rgba(226, 226, 226, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface\/50 { color: rgba(226, 226, 226, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface\/60 { color: rgba(226, 226, 226, 0.6) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface\/80 { color: rgba(226, 226, 226, 0.8) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface-variant { color: var(--dmarc-on-surface-variant) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface-variant\/40 { color: rgba(199, 196, 216, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-surface-variant\/60 { color: rgba(199, 196, 216, 0.6) !important; }
body.wp-theme-dmarc-ai-redesign .text-on-tertiary { color: var(--dmarc-on-tertiary) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline { color: var(--dmarc-outline) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline\/40 { color: rgba(145, 143, 161, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline\/50 { color: rgba(145, 143, 161, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline-variant { color: var(--dmarc-outline-variant) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline-variant\/10 { color: rgba(70, 69, 85, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .text-outline-variant\/50 { color: rgba(70, 69, 85, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .text-primary { color: var(--dmarc-primary) !important; }
body.wp-theme-dmarc-ai-redesign .text-primary\/20 { color: rgba(192, 193, 255, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .text-primary\/30 { color: rgba(192, 193, 255, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .text-primary-container { color: var(--dmarc-primary-container) !important; }
body.wp-theme-dmarc-ai-redesign .text-primary-fixed-dim { color: var(--dmarc-primary-fixed-dim) !important; }
body.wp-theme-dmarc-ai-redesign .text-secondary { color: var(--dmarc-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .text-secondary-container { color: var(--dmarc-secondary-container) !important; }
body.wp-theme-dmarc-ai-redesign .text-secondary-fixed { color: var(--dmarc-secondary-fixed) !important; }
body.wp-theme-dmarc-ai-redesign .text-surface-variant { color: var(--dmarc-surface-variant) !important; }
body.wp-theme-dmarc-ai-redesign .text-tertiary { color: var(--dmarc-tertiary) !important; }

body.wp-theme-dmarc-ai-redesign .bg-background { background-color: var(--dmarc-background) !important; }
body.wp-theme-dmarc-ai-redesign .bg-error { background-color: var(--dmarc-error) !important; }
body.wp-theme-dmarc-ai-redesign .bg-error\/10,
body.wp-theme-dmarc-ai-redesign .bg-error-container\/10 { background-color: rgba(147, 0, 10, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-error\/20,
body.wp-theme-dmarc-ai-redesign .bg-error-container\/20 { background-color: rgba(147, 0, 10, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-primary-container { background-color: var(--dmarc-on-primary-container) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-secondary { background-color: var(--dmarc-on-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-surface { background-color: var(--dmarc-on-surface) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-surface\/5 { background-color: rgba(226, 226, 226, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-surface\/10,
body.wp-theme-dmarc-ai-redesign .bg-on-surface-variant\/10 { background-color: rgba(226, 226, 226, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-tertiary-container { background-color: #ebd2ff !important; }
body.wp-theme-dmarc-ai-redesign .bg-on-tertiary-container\/10 { background-color: rgba(235, 210, 255, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-outline\/20 { background-color: rgba(145, 143, 161, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-outline-variant\/10 { background-color: rgba(70, 69, 85, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-outline-variant\/20 { background-color: rgba(70, 69, 85, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-outline-variant\/30 { background-color: rgba(70, 69, 85, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .bg-outline-variant\/40 { background-color: rgba(70, 69, 85, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary { background-color: var(--dmarc-primary) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary\/5 { background-color: rgba(192, 193, 255, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary\/10,
body.wp-theme-dmarc-ai-redesign .bg-primary-container\/10 { background-color: rgba(192, 193, 255, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary\/20,
body.wp-theme-dmarc-ai-redesign .bg-primary-container\/20 { background-color: rgba(192, 193, 255, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary\/90 { background-color: rgba(192, 193, 255, 0.9) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary-container { background-color: var(--dmarc-primary-container) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary-container\/5 { background-color: rgba(75, 77, 216, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary-container\/40 { background-color: rgba(75, 77, 216, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary-fixed { background-color: var(--dmarc-primary-fixed) !important; }
body.wp-theme-dmarc-ai-redesign .bg-primary-fixed-dim { background-color: var(--dmarc-primary-fixed-dim) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary { background-color: var(--dmarc-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary\/5 { background-color: rgba(255, 182, 147, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary\/10,
body.wp-theme-dmarc-ai-redesign .bg-secondary-container\/10 { background-color: rgba(255, 182, 147, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary\/20,
body.wp-theme-dmarc-ai-redesign .bg-secondary-container\/20 { background-color: rgba(255, 182, 147, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary-container { background-color: var(--dmarc-secondary-container) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary-container\/30 { background-color: rgba(254, 107, 0, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary-container\/40 { background-color: rgba(254, 107, 0, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-secondary-container\/50 { background-color: rgba(254, 107, 0, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface { background-color: var(--dmarc-surface) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-bright { background-color: var(--dmarc-surface-bright) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container { background-color: var(--dmarc-surface-container) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-high { background-color: var(--dmarc-surface-container-high) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-high\/30 { background-color: rgba(42, 42, 42, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-high\/40 { background-color: rgba(42, 42, 42, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-highest { background-color: var(--dmarc-surface-container-highest) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-highest\/30 { background-color: rgba(53, 53, 53, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-highest\/50 { background-color: rgba(53, 53, 53, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-highest\/60 { background-color: rgba(53, 53, 53, 0.6) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-low { background-color: var(--dmarc-surface-container-low) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-low\/50 { background-color: rgba(27, 27, 27, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-low\/80 { background-color: rgba(27, 27, 27, 0.8) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-lowest { background-color: var(--dmarc-surface-container-lowest) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-lowest\/40 { background-color: rgba(14, 14, 14, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-lowest\/50 { background-color: rgba(14, 14, 14, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-container-lowest\/80 { background-color: rgba(14, 14, 14, 0.8) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-variant { background-color: var(--dmarc-surface-variant) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-variant\/20 { background-color: rgba(53, 53, 53, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-variant\/30 { background-color: rgba(53, 53, 53, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-variant\/40 { background-color: rgba(53, 53, 53, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .bg-surface-variant\/50 { background-color: rgba(53, 53, 53, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .bg-tertiary { background-color: var(--dmarc-tertiary) !important; }
body.wp-theme-dmarc-ai-redesign .bg-tertiary\/5 { background-color: rgba(221, 183, 255, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .bg-tertiary\/10,
body.wp-theme-dmarc-ai-redesign .bg-tertiary-container\/10 { background-color: rgba(221, 183, 255, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .bg-tertiary\/20,
body.wp-theme-dmarc-ai-redesign .bg-tertiary-container\/20 { background-color: rgba(221, 183, 255, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .bg-tertiary-container { background-color: var(--dmarc-tertiary-container) !important; }

body.wp-theme-dmarc-ai-redesign .border-error { border-color: var(--dmarc-error) !important; }
body.wp-theme-dmarc-ai-redesign .border-error\/10 { border-color: rgba(255, 180, 171, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .border-error\/20 { border-color: rgba(255, 180, 171, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant { border-color: var(--dmarc-outline-variant) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/5 { border-color: rgba(70, 69, 85, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/10 { border-color: rgba(70, 69, 85, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/15 { border-color: rgba(70, 69, 85, 0.15) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/20 { border-color: rgba(70, 69, 85, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/30 { border-color: rgba(70, 69, 85, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .border-outline-variant\/40 { border-color: rgba(70, 69, 85, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .border-primary { border-color: var(--dmarc-primary) !important; }
body.wp-theme-dmarc-ai-redesign .border-primary\/10 { border-color: rgba(192, 193, 255, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .border-primary\/20,
body.wp-theme-dmarc-ai-redesign .border-primary-container\/20 { border-color: rgba(192, 193, 255, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .border-primary\/30,
body.wp-theme-dmarc-ai-redesign .border-primary-container\/30 { border-color: rgba(192, 193, 255, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .border-secondary { border-color: var(--dmarc-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .border-secondary\/20,
body.wp-theme-dmarc-ai-redesign .border-secondary-container\/20 { border-color: rgba(255, 182, 147, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .border-secondary-container { border-color: var(--dmarc-secondary-container) !important; }
body.wp-theme-dmarc-ai-redesign .border-l-secondary { border-left-color: var(--dmarc-secondary) !important; }
body.wp-theme-dmarc-ai-redesign .border-tertiary\/20 { border-color: rgba(221, 183, 255, 0.2) !important; }

body.wp-theme-dmarc-ai-redesign .shadow-primary\/10 { --tw-shadow-color: rgba(192, 193, 255, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-primary-container\/5 { --tw-shadow-color: rgba(75, 77, 216, 0.05) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-primary-container\/10 { --tw-shadow-color: rgba(75, 77, 216, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-primary-container\/20 { --tw-shadow-color: rgba(75, 77, 216, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-secondary\/20 { --tw-shadow-color: rgba(255, 182, 147, 0.2) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-secondary-container\/10 { --tw-shadow-color: rgba(254, 107, 0, 0.1) !important; }
body.wp-theme-dmarc-ai-redesign .shadow-secondary-container\/20 { --tw-shadow-color: rgba(254, 107, 0, 0.2) !important; }

body.wp-theme-dmarc-ai-redesign .bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important; }
body.wp-theme-dmarc-ai-redesign .bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)) !important; }
body.wp-theme-dmarc-ai-redesign .bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)) !important; }
body.wp-theme-dmarc-ai-redesign .bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important; }

body.wp-theme-dmarc-ai-redesign .from-background { --tw-gradient-from: var(--dmarc-background) var(--tw-gradient-from-position); --tw-gradient-to: rgba(19, 19, 19, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary { --tw-gradient-from: var(--dmarc-primary) var(--tw-gradient-from-position); --tw-gradient-to: rgba(192, 193, 255, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary\/5 { --tw-gradient-from: rgba(192, 193, 255, 0.05) var(--tw-gradient-from-position); --tw-gradient-to: rgba(192, 193, 255, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary\/20 { --tw-gradient-from: rgba(192, 193, 255, 0.2) var(--tw-gradient-from-position); --tw-gradient-to: rgba(192, 193, 255, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary\/30 { --tw-gradient-from: rgba(192, 193, 255, 0.3) var(--tw-gradient-from-position); --tw-gradient-to: rgba(192, 193, 255, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary-container { --tw-gradient-from: var(--dmarc-primary-container) var(--tw-gradient-from-position); --tw-gradient-to: rgba(75, 77, 216, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary-container\/10 { --tw-gradient-from: rgba(75, 77, 216, 0.1) var(--tw-gradient-from-position); --tw-gradient-to: rgba(75, 77, 216, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-primary-container\/40 { --tw-gradient-from: rgba(75, 77, 216, 0.4) var(--tw-gradient-from-position); --tw-gradient-to: rgba(75, 77, 216, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-surface { --tw-gradient-from: var(--dmarc-surface) var(--tw-gradient-from-position); --tw-gradient-to: rgba(19, 19, 19, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .from-transparent { --tw-gradient-from: transparent var(--tw-gradient-from-position); --tw-gradient-to: transparent var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .via-outline-variant\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(70, 69, 85, 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .via-tertiary\/30 { --tw-gradient-stops: var(--tw-gradient-from), rgba(221, 183, 255, 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to) !important; }
body.wp-theme-dmarc-ai-redesign .to-inverse-primary { --tw-gradient-to: var(--dmarc-inverse-primary) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-primary-container { --tw-gradient-to: var(--dmarc-primary-container) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-secondary\/30 { --tw-gradient-to: rgba(255, 182, 147, 0.3) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-surface-container-lowest { --tw-gradient-to: var(--dmarc-surface-container-lowest) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-tertiary { --tw-gradient-to: var(--dmarc-tertiary) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-tertiary\/20 { --tw-gradient-to: rgba(221, 183, 255, 0.2) var(--tw-gradient-to-position) !important; }
body.wp-theme-dmarc-ai-redesign .to-transparent { --tw-gradient-to: transparent var(--tw-gradient-to-position) !important; }

body.wp-theme-dmarc-ai-redesign .hover\:text-primary:hover { color: var(--dmarc-primary) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:text-on-surface:hover { color: var(--dmarc-on-surface) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:bg-surface-variant\/40:hover { background-color: rgba(53, 53, 53, 0.4) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:bg-primary-fixed-dim:hover { background-color: var(--dmarc-primary-fixed-dim) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:bg-on-surface:hover { background-color: var(--dmarc-on-surface) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:bg-white:hover { background-color: #fff !important; }
body.wp-theme-dmarc-ai-redesign .hover\:border-primary\/30:hover { border-color: rgba(192, 193, 255, 0.3) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55) !important; }
body.wp-theme-dmarc-ai-redesign .hover\:shadow-secondary\/20:hover { box-shadow: 0 25px 50px -12px rgba(255, 182, 147, 0.2) !important; }

body.wp-theme-dmarc-ai-redesign .text-\[\#e2e2e2\]\/70 { color: rgba(226, 226, 226, 0.7) !important; }
body.wp-theme-dmarc-ai-redesign .text-\[\#e2e2e2\]\/60 { color: rgba(226, 226, 226, 0.6) !important; }
body.wp-theme-dmarc-ai-redesign .text-\[\#e2e2e2\]\/50 { color: rgba(226, 226, 226, 0.5) !important; }
body.wp-theme-dmarc-ai-redesign .text-\[\#e2e2e2\]\/30 { color: rgba(226, 226, 226, 0.3) !important; }

body.wp-theme-dmarc-ai-redesign .cta-carbon-texture {
  background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  background-repeat: repeat;
  background-size: auto;
}

.icon-fill {
  font-variation-settings: 'FILL' 1;
}

.icon-weight-thin {
  font-variation-settings: 'wght' 100;
}

/* Logo marquee speeds — original 40s/45s/48s/55s doubled to 80/90/96/110
   for a 50% reduction, then multiplied by 1.3 (a further 30% slower) for
   the final calmer pace. */
.marquee-duration-48 {
  animation-duration: 125s;
}

.marquee-duration-55 {
  animation-duration: 143s;
}

.animate-marquee {
  animation: dmarc-ai-marquee 104s linear infinite;
}

.animate-marquee-reverse {
  animation: dmarc-ai-marquee-reverse 117s linear infinite;
}

@keyframes dmarc-ai-marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes dmarc-ai-marquee-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

.threat-pulse-glow-secondary {
  background: radial-gradient(circle, rgba(254, 107, 0, 0.1) 0%, transparent 70%);
}

/* about-contact */
body.page-about-contact .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-about-contact .obsidian-gradient {
background: radial-gradient(circle at top right, rgba(75, 77, 216, 0.1), transparent 50%),
                        radial-gradient(circle at bottom left, rgba(254, 107, 0, 0.05), transparent 50%);
}

body.page-about-contact .glass-effect {
backdrop-filter: blur(20px);
            background-color: rgba(53, 53, 53, 0.6);
}

body.page-about-contact {
font-family: 'Inter', sans-serif;
            background-color: #131313;
            color: #e2e2e2;
}

body.page-about-contact h1,
body.page-about-contact h2,
body.page-about-contact h3 {
font-family: 'Manrope', sans-serif;
}

body.page-about-contact .about-design-contact-form p {
margin: 0;
}

body.page-about-contact .about-design-contact-form br {
display: none;
}

body.page-about-contact .about-design-contact-form .wpcf7-form-control-wrap {
display: contents;
}

body.page-about-contact .about-design-contact-form .wpcf7-form-control {
width: 100%;
box-sizing: border-box;
}

body.page-about-contact .about-design-contact-form .wpcf7-select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}

body.page-about-contact .about-design-contact-form textarea.wpcf7-form-control {
min-height: 0;
resize: vertical;
}

body.page-about-contact .design-contact-form .wpcf7-spinner {
display: none;
}

body.page-about-contact .design-contact-form .wpcf7-not-valid-tip {
margin-top: 0.5rem;
font-size: 0.75rem;
color: #fca5a5;
}

body.page-about-contact .design-contact-form .wpcf7-response-output {
margin: 1rem 0 0 !important;
padding: 0.75rem 1rem !important;
border-radius: 0.5rem;
border-color: rgba(254, 107, 0, 0.35) !important;
color: #e2e2e2;
}

/* bimi-generator-marketing-tool */
body.page-bimi-generator-marketing-tool .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-bimi-generator-marketing-tool .bimi-gradient-bg {
background: radial-gradient(circle at 50% -20%, #4b4dd833 0%, #131313 70%);
}

body.page-bimi-generator-marketing-tool .glass-effect {
backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
}

/* dkim-validator-cryptographic-utility */
body.page-dkim-validator-cryptographic-utility .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-dkim-validator-cryptographic-utility .obsidian-gradient {
background: linear-gradient(135deg, #131313 0%, #1b1b1b 100%);
}

body.page-dkim-validator-cryptographic-utility .signature-glow {
box-shadow: 0 0 50px -12px rgba(75, 77, 216, 0.15);
}

body.page-dkim-validator-cryptographic-utility .threat-pulse {
background: radial-gradient(circle at center, rgba(221, 183, 255, 0.08) 0%, transparent 70%);
}

/* dmarc-academy-example-article */
body.page-dmarc-academy-example-article .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
}

body.page-dmarc-academy-example-article .glass-panel {
background: rgba(19, 19, 19, 0.7);
            backdrop-filter: blur(20px);
}

body.page-dmarc-academy-example-article .code-block {
background: #0e0e0e;
            border-left: 2px solid #4b4dd8;
}

/* features-tools-unified-layout */
body.page-features-tools-unified-layout .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-features-tools-unified-layout .obsidian-glass {
background: rgba(19, 19, 19, 0.7);
            backdrop-filter: blur(20px);
}

body.page-features-tools-unified-layout .signature-gradient {
background: linear-gradient(135deg, #c0c1ff 0%, #4b4dd8 100%);
}

/* homepage-enhanced-social-proof */
body.page-homepage-enhanced-social-proof {
background-color: #131313; color: #e2e2e2; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased;
}

body.page-homepage-enhanced-social-proof .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle;
}

body.page-homepage-enhanced-social-proof .glass-nav {
background: rgba(19, 19, 19, 0.7); backdrop-filter: blur(20px);
}

body.page-homepage-enhanced-social-proof .obsidian-gradient {
background: radial-gradient(circle at 50% 50%, #1b1b1b 0%, #131313 100%);
}

body.page-homepage-enhanced-social-proof .threat-pulse {
position: absolute; filter: blur(80px); border-radius: 50%; z-index: 0; opacity: 0.15;
}

body.page-homepage-enhanced-social-proof .logo-mask {
mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

body.page-homepage-enhanced-social-proof .mosaic-fade-y {
mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

/* root-index */
body.page-root-index {
margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #0e0e0e;
  color: #e2e2e2;
  font: 16px/1.5 system-ui, sans-serif;
}

body.page-root-index a {
color: #c0c1ff;
}

/* mta-sts-check-advanced-security-tool */
body.page-mta-sts-check-advanced-security-tool .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
}

body.page-mta-sts-check-advanced-security-tool .glass-panel {
background: rgba(53, 53, 53, 0.7);
            backdrop-filter: blur(20px);
}

body.page-mta-sts-check-advanced-security-tool .obsidian-gradient {
background: linear-gradient(135deg, #c0c1ff 0%, #4b4dd8 100%);
}

body.page-mta-sts-check-advanced-security-tool .threat-pulse-glow {
filter: blur(80px);
            opacity: 0.15;
            z-index: -1;
}

/* spf-analyzer-diagnostic-tool */
body.page-spf-analyzer-diagnostic-tool .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-spf-analyzer-diagnostic-tool {
font-family: 'Inter', sans-serif;
}

body.page-spf-analyzer-diagnostic-tool h1,
body.page-spf-analyzer-diagnostic-tool h2,
body.page-spf-analyzer-diagnostic-tool h3 {
font-family: 'Manrope', sans-serif;
}

body.page-spf-analyzer-diagnostic-tool .glass-card {
background: rgba(27, 27, 27, 0.4);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(70, 69, 85, 0.15);
}

body.page-spf-analyzer-diagnostic-tool .threat-pulse-glow {
position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(75, 77, 216, 0.15) 0%, rgba(19, 19, 19, 0) 70%);
            filter: blur(40px);
            z-index: -1;
}

/* spoof-test-step-1-identification-global-layout */
body.page-spoof-test-step-1-identification-global-layout .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            display: inline-block;
            line-height: 1;
            text-transform: none;
            letter-spacing: normal;
            word-wrap: normal;
            white-space: nowrap;
            direction: ltr;
}

body.page-spoof-test-step-1-identification-global-layout .obsidian-glow {
box-shadow: 0 0 40px rgba(75, 77, 216, 0.1);
}

body.page-spoof-test-step-1-identification-global-layout .threat-pulse-bg {
background: radial-gradient(circle at 50% 50%, rgba(221, 183, 255, 0.05) 0%, transparent 70%);
}

/* spoof-test-step-2-verification-global-layout */
body.page-spoof-test-step-2-verification-global-layout .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-spoof-test-step-2-verification-global-layout .obsidian-gradient {
background: radial-gradient(circle at top left, rgba(75, 77, 216, 0.15) 0%, transparent 40%),
                        radial-gradient(circle at bottom right, rgba(254, 107, 0, 0.05) 0%, transparent 40%);
}

body.page-spoof-test-step-2-verification-global-layout .glass-panel {
background: rgba(27, 27, 27, 0.4);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.05);
}

body.page-spoof-test-step-2-verification-global-layout .progress-bar-glow {
box-shadow: 0 0 15px rgba(75, 77, 216, 0.4);
}

/* spoof-test-step-3-target-global-layout */
body.page-spoof-test-step-3-target-global-layout .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
}

body.page-spoof-test-step-3-target-global-layout .bg-obsidian-gradient {
background: radial-gradient(circle at 50% 50%, #1b1b1b 0%, #131313 100%);
}

body.page-spoof-test-step-3-target-global-layout .threat-pulse-glow {
filter: blur(80px);
            opacity: 0.15;
}

body.page-spoof-test-step-3-target-global-layout .progress-bar-glow {
box-shadow: 0 0 15px rgba(75, 77, 216, 0.4);
}

/* spoof-test-step-4-success-global-layout */
body.page-spoof-test-step-4-success-global-layout .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            display: inline-block;
            line-height: 1;
            text-transform: none;
            letter-spacing: normal;
            word-wrap: normal;
            white-space: nowrap;
            direction: ltr;
}

body.page-spoof-test-step-4-success-global-layout {
background-color: #131313;
            color: #e2e2e2;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
}

body.page-spoof-test-step-4-success-global-layout .headline-font {
font-family: 'Manrope', sans-serif;
}

body.page-spoof-test-step-4-success-global-layout .glass-panel {
background: rgba(53, 53, 53, 0.6);
            backdrop-filter: blur(12px);
}

body.page-spoof-test-step-4-success-global-layout .threat-pulse-glow {
position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(75, 77, 216, 0.15) 0%, rgba(221, 183, 255, 0.05) 50%, transparent 70%);
            z-index: 0;
            pointer-events: none;
}

/* tools-dmarc-checker */
body.page-tools-dmarc-checker .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-tools-dmarc-checker {
font-family: 'Inter', sans-serif;
        background-color: #131313;
        color: #e2e2e2;
}

body.page-tools-dmarc-checker .font-manrope {
font-family: 'Manrope', sans-serif;
}

body.page-tools-dmarc-checker .glass-effect {
backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
}

body.page-tools-dmarc-checker .threat-pulse-glow {
background: radial-gradient(circle at center, rgba(75, 77, 216, 0.15) 0%, transparent 70%);
}

body.page-tools-dmarc-checker .threat-pulse {
position: absolute;
filter: blur(80px);
border-radius: 50%;
z-index: 0;
opacity: 0.15;
pointer-events: none;
}

/* why-dmarc-ai */
body.page-why-dmarc-ai .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-why-dmarc-ai .glass-panel {
background: rgba(53, 53, 53, 0.6);
            backdrop-filter: blur(12px);
}

body.page-why-dmarc-ai .text-gradient {
background: linear-gradient(135deg, #c0c1ff 0%, #4b4dd8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
}

body.page-why-dmarc-ai {
font-family: 'Inter', sans-serif;
            background-color: #131313;
            color: #e2e2e2;
}

body.page-why-dmarc-ai h1,
body.page-why-dmarc-ai h2,
body.page-why-dmarc-ai h3 {
font-family: 'Manrope', sans-serif;
}

/* why-dmarc-ai */
body.page-why-dmarc-ai .material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.page-why-dmarc-ai .glass-panel {
background: rgba(53, 53, 53, 0.6);
            backdrop-filter: blur(12px);
}

body.page-why-dmarc-ai .text-gradient {
background: linear-gradient(135deg, #c0c1ff 0%, #4b4dd8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
}

body.page-why-dmarc-ai {
font-family: 'Inter', sans-serif;
            background-color: #131313;
            color: #e2e2e2;
}

body.page-why-dmarc-ai h1,
body.page-why-dmarc-ai h2,
body.page-why-dmarc-ai h3 {
font-family: 'Manrope', sans-serif;
}


/* =========================================================
   Academy Article — scoped typography & semantic components
   (independent of @tailwindcss/typography, which the runtime
   CDN does not load)
   ========================================================= */
.academy-article {
    --aa-fg: #e7e7ec;
    --aa-fg-muted: #b1b1bd;
    --aa-fg-soft: #8b8b97;
    --aa-bg-card: rgba(255, 255, 255, 0.04);
    --aa-border: rgba(255, 255, 255, 0.08);
    --aa-border-strong: rgba(255, 255, 255, 0.14);
    --aa-accent: #c0c1ff;
    --aa-accent-deep: #4b4dd8;
    --aa-accent-soft: rgba(75, 77, 216, 0.18);
    --aa-code-bg: #0e0e0e;
    --aa-code-fg: #c0c1ff;
    --aa-success: #6ee7b7;
    --aa-warn: #fbbf24;
    --aa-danger: #f87171;
    color: var(--aa-fg-muted);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.academy-article h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--aa-fg);
    margin: 3.5rem 0 1rem;
    scroll-margin-top: 6rem;
}
.academy-article h2:first-child { margin-top: 0; }

.academy-article h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--aa-accent);
    margin: 2.5rem 0 0.75rem;
    scroll-margin-top: 6rem;
}

.academy-article h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--aa-fg);
    margin: 1.75rem 0 0.5rem;
}

.academy-article p {
    color: var(--aa-fg-muted);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.academy-article a {
    color: var(--aa-accent);
    text-decoration: underline;
    text-decoration-color: var(--aa-accent-soft);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.academy-article a:hover {
    color: #fff;
    text-decoration-color: var(--aa-accent);
}

.academy-article strong { color: var(--aa-fg); font-weight: 700; }

/* Inline code */
.academy-article p > code,
.academy-article li > code,
.academy-article dd > code,
.academy-article dt > code,
.academy-article h2 > code,
.academy-article h3 > code,
.academy-article h4 > code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: var(--aa-accent-soft);
    color: var(--aa-code-fg);
    padding: 0.125rem 0.45rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(192, 193, 255, 0.12);
    white-space: nowrap;
}

/* Generic lists */
.academy-article ul:not(.spec-list):not(.feature-list):not(.client-matrix),
.academy-article ol {
    margin: 1rem 0 1.25rem;
    padding-left: 1.5rem;
    color: var(--aa-fg-muted);
}
.academy-article ul:not(.spec-list):not(.feature-list):not(.client-matrix) { list-style: disc; }
.academy-article ol { list-style: decimal; }
.academy-article ul:not(.spec-list):not(.feature-list):not(.client-matrix) li,
.academy-article ol li { margin-top: 0.5rem; padding-left: 0.25rem; }
.academy-article ul:not(.spec-list):not(.feature-list):not(.client-matrix) li::marker,
.academy-article ol li::marker { color: var(--aa-accent); }

/* spec-list — semantic <dl> cards (replaces ugly <ul><li><code>...) */
.academy-article dl.spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 1.75rem 0 2rem;
    padding: 0;
}
.academy-article dl.spec-list > div {
    background: var(--aa-bg-card);
    border: 1px solid var(--aa-border);
    border-radius: 0.875rem;
    padding: 1.125rem 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}
.academy-article dl.spec-list > div:hover {
    border-color: var(--aa-border-strong);
    background: rgba(255, 255, 255, 0.06);
}
.academy-article dl.spec-list dt {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    color: var(--aa-fg);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.academy-article dl.spec-list dt code {
    background: var(--aa-accent-soft) !important;
    color: var(--aa-code-fg) !important;
    border: 1px solid rgba(192, 193, 255, 0.18) !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 0.4rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
}
.academy-article dl.spec-list dt .spec-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--aa-fg);
    font-size: 0.8125rem;
}
.academy-article dl.spec-list dd {
    margin: 0;
    color: var(--aa-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.academy-article dl.spec-list > div[data-variant="success"] { border-color: rgba(110, 231, 183, 0.25); }
.academy-article dl.spec-list > div[data-variant="warn"] { border-color: rgba(251, 191, 36, 0.25); }
.academy-article dl.spec-list > div[data-variant="danger"] { border-color: rgba(248, 113, 113, 0.25); }

/* feature-list — checklist cards */
.academy-article ul.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.625rem;
}
.academy-article ul.feature-list li {
    position: relative;
    padding: 1rem 1.125rem 1rem 3rem;
    background: var(--aa-bg-card);
    border: 1px solid var(--aa-border);
    border-radius: 0.75rem;
    color: var(--aa-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    transition: border-color 0.2s, background 0.2s;
}
.academy-article ul.feature-list li:hover {
    border-color: var(--aa-border-strong);
    background: rgba(255, 255, 255, 0.06);
}
.academy-article ul.feature-list li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-image: linear-gradient(135deg, rgba(192,193,255,0.4), rgba(75,77,216,0.4));
    border: 1px solid rgba(192, 193, 255, 0.25);
}
.academy-article ul.feature-list li::after {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 1.45rem;
    width: 0.55rem;
    height: 0.3rem;
    border-left: 2px solid var(--aa-accent);
    border-bottom: 2px solid var(--aa-accent);
    transform: rotate(-45deg);
}
.academy-article ul.feature-list li strong {
    display: block;
    color: var(--aa-fg);
    margin-bottom: 0.15rem;
    font-weight: 700;
}

/* client-matrix — compatibility grid */
.academy-article ul.client-matrix {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.625rem;
}
.academy-article ul.client-matrix li {
    background: var(--aa-bg-card);
    border: 1px solid var(--aa-border);
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
    color: var(--aa-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.academy-article ul.client-matrix li strong {
    display: block;
    color: var(--aa-fg);
    margin-bottom: 0.25rem;
    font-weight: 700;
}
.academy-article ul.client-matrix li[data-status="full"] { border-left: 3px solid var(--aa-success); }
.academy-article ul.client-matrix li[data-status="partial"] { border-left: 3px solid var(--aa-warn); }
.academy-article ul.client-matrix li[data-status="limited"] { border-left: 3px solid var(--aa-danger); }

/* Code blocks (academy-scoped) */
.academy-article .code-block {
    background: var(--aa-code-bg) !important;
    border: 1px solid var(--aa-border) !important;
    border-left: 3px solid var(--aa-accent-deep) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 2rem !important;
    overflow-x: auto;
}
.academy-article .code-block code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
    color: #e7e7ec !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    white-space: pre-wrap !important;
    word-break: break-all;
    display: block !important;
}

/* Callouts */
.academy-article .callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    background: var(--aa-bg-card);
    border-left: 3px solid var(--aa-accent);
    border-radius: 0.5rem;
}
.academy-article .callout[data-type="warn"] { border-left-color: var(--aa-warn); }
.academy-article .callout[data-type="danger"] { border-left-color: var(--aa-danger); }
.academy-article .callout .callout-icon { flex-shrink: 0; color: var(--aa-accent); }
.academy-article .callout[data-type="warn"] .callout-icon { color: var(--aa-warn); }
.academy-article .callout[data-type="danger"] .callout-icon { color: var(--aa-danger); }
.academy-article .callout > div:last-child { flex: 1; }
.academy-article .callout strong { display: block; color: var(--aa-fg); margin-bottom: 0.25rem; }
.academy-article .callout p { margin: 0; font-size: 0.9375rem; }

/* Key-takeaways grid override */
.academy-article #takeaways {
    background: rgba(255, 255, 255, 0.025) !important;
    border-radius: 1rem !important;
    border: 1px solid var(--aa-border) !important;
    border-left: 4px solid var(--aa-accent) !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
}
.academy-article #takeaways h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.academy-article #takeaways p { color: var(--aa-fg-muted); }

@media (max-width: 640px) {
    .academy-article { font-size: 1rem; }
    .academy-article dl.spec-list { grid-template-columns: 1fr; }
}

/* Override leaky plugin CSS that globalises `code { display: block }`.
   Plugins (dmarc-ai-bimi-check, mtasts, tlsrpt) ship a `code` reset that
   forces every inline <code> to a full-width block. We force it back to
   inline-block inside academy content, and let .code-block code reset
   to a block again (its own selector below already does this). */
.academy-article p code,
.academy-article li code,
.academy-article dd code,
.academy-article dt code,
.academy-article h1 code,
.academy-article h2 code,
.academy-article h3 code,
.academy-article h4 code,
.academy-article #takeaways code,
#takeaways code {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    background: rgba(75, 77, 216, 0.18) !important;
    color: #c0c1ff !important;
    border: 1px solid rgba(192, 193, 255, 0.18) !important;
    border-radius: 0.375rem !important;
    padding: 0.05rem 0.45rem !important;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
    font-size: 0.85em !important;
    line-height: 1.5 !important;
    vertical-align: baseline !important;
}

/* The full-width pre-style code block keeps `display: block` */
.academy-article .code-block code {
    display: block !important;
    white-space: pre-wrap !important;
}

/* =========================================================
   Legacy `blocks` ACF repeater — surfaced via the Academy
   article template on /brand-protection/, /phishing-mail-prevention/
   and /email-protection/.

   Goal: make the old marketing rows feel native to the redesign.
   - Numbered eyebrow ("01 — Insight") for vertical rhythm
   - Glass-panel surface with a subtle gradient ring on hover
   - Two-tone image treatment: SVG illustrations get a soft purple
     glow + perspective rotation, photos get a brand-coloured
     duotone via mix-blend mode
   - Pill-shaped primary CTA matching the redesign system
   ========================================================= */
.academy-article .legacy-block {
    --aa-block-radius: 1.5rem;
    --aa-block-pad-y: 2.5rem;
    --aa-block-pad-x: 2rem;

    position: relative;
    margin: 3.5rem 0;
    padding: var(--aa-block-pad-y) var(--aa-block-pad-x);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(192, 193, 255, 0.07) 0%, transparent 55%),
        radial-gradient(120% 80% at 100% 100%, rgba(254, 107, 0, 0.05) 0%, transparent 55%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--aa-block-radius);
    transition: border-color 0.3s ease, transform 0.3s ease;
    scroll-margin-top: 6rem;
    overflow: hidden;
}
.academy-article .legacy-block::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(192,193,255,0.18), rgba(192,193,255,0) 40%, rgba(254,107,0,0.14));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.academy-article .legacy-block:hover {
    border-color: rgba(255, 255, 255, 0.12);
}
.academy-article .legacy-block:hover::before { opacity: 1; }
.academy-article .legacy-block--surface {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(192, 193, 255, 0.10) 0%, transparent 60%),
        rgba(255, 255, 255, 0.035);
}

.academy-article .legacy-block__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.academy-article .legacy-block--image-right .legacy-block__inner {
    grid-template-columns: 0.95fr 1.05fr;
}
.academy-article .legacy-block--image-right .legacy-block__copy { order: 1; }
.academy-article .legacy-block--image-right .legacy-block__media { order: 2; }
.academy-article .legacy-block--image-left .legacy-block__media { order: 1; }
.academy-article .legacy-block--image-left .legacy-block__copy { order: 2; }

/* ------------ Eyebrow with numbered indicator ------------ */
.academy-article .legacy-block__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    font-family: 'Manrope', sans-serif;
}
.academy-article .legacy-block__index {
    font-size: 1.5rem;
    font-weight: 800;
    color: #c0c1ff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(192, 193, 255, 0.35);
}
.academy-article .legacy-block__eyebrow-rule {
    flex: 0 0 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(192,193,255,0.5), transparent);
}
.academy-article .legacy-block__eyebrow-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(192, 193, 255, 0.8);
}

/* ------------ Title + body ------------ */
.academy-article .legacy-block__title {
    margin: 0 0 1rem;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #e7e7ec;
}
.academy-article .legacy-block__body {
    color: #b1b1bd;
    font-size: 1.0625rem;
    line-height: 1.75;
}
.academy-article .legacy-block__body > * + * { margin-top: 1rem; }
.academy-article .legacy-block__body strong { color: #e7e7ec; font-weight: 700; }
.academy-article .legacy-block__body p:first-child { margin-top: 0; }

/* ------------ Primary CTA pill ------------ */
.academy-article .legacy-block__cta { margin-top: 2rem; }
.academy-article .legacy-block__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #fe6b00 0%, #ff8533 100%);
    color: #1a0c00;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.625rem;
    text-decoration: none;
    box-shadow: 0 12px 32px -8px rgba(254, 107, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
}
.academy-article .legacy-block__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px rgba(254, 107, 0, 0.5);
    background: linear-gradient(135deg, #ff7a1a 0%, #ff9447 100%);
    color: #1a0c00;
    text-decoration: none;
}
.academy-article .legacy-block__btn:active { transform: translateY(0); }
.academy-article .legacy-block__btn-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.academy-article .legacy-block__btn:hover .legacy-block__btn-arrow {
    transform: translateX(4px);
}

/* ------------ Media frame ------------ */
.academy-article .legacy-block__media {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    isolation: isolate;
}
.academy-article .legacy-block__media-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(192, 193, 255, 0.35) 0%, rgba(75, 77, 216, 0.18) 35%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.6s ease;
}
.academy-article .legacy-block:nth-of-type(odd) .legacy-block__media-glow {
    background: radial-gradient(60% 60% at 50% 50%, rgba(254, 107, 0, 0.28) 0%, rgba(192, 193, 255, 0.18) 40%, transparent 75%);
}
.academy-article .legacy-block:hover .legacy-block__media-glow {
    opacity: 1;
    transform: scale(1.05);
}
.academy-article .legacy-block__media-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(192, 193, 255, 0.06), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 60px -16px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.academy-article .legacy-block__media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1.5rem;
}
.academy-article .legacy-block--image-left .legacy-block__media-frame {
    transform: perspective(1200px) rotateY(3deg);
}
.academy-article .legacy-block--image-right .legacy-block__media-frame {
    transform: perspective(1200px) rotateY(-3deg);
}
.academy-article .legacy-block:hover .legacy-block__media-frame {
    transform: perspective(1200px) rotateY(0deg) translateY(-4px);
}

/* SVGs: brand illustrations — keep colours but lift them with a subtle
   contrast bump and a soft drop-shadow so they read on dark backdrops. */
.academy-article .legacy-block__media--svg img {
    filter:
        drop-shadow(0 4px 18px rgba(192, 193, 255, 0.25))
        drop-shadow(0 0 6px rgba(254, 107, 0, 0.12));
}

/* Photos: object-cover instead of contain, and a subtle duotone hint
   via mix-blend-mode so even bright marketing photos read native to
   the dark theme. */
.academy-article .legacy-block__media--photo .legacy-block__media-frame {
    background:
        linear-gradient(135deg, rgba(192,193,255,0.16), rgba(75,77,216,0.10) 50%, rgba(254,107,0,0.12));
}
.academy-article .legacy-block__media--photo .legacy-block__media-frame img {
    object-fit: cover;
    padding: 0;
    mix-blend-mode: luminosity;
    filter: contrast(1.05) brightness(0.95);
}
.academy-article .legacy-block__media--photo .legacy-block__media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 19, 19, 0) 50%, rgba(19, 19, 19, 0.55) 100%),
        linear-gradient(135deg, rgba(192,193,255,0.12), rgba(254,107,0,0.10));
    pointer-events: none;
}

/* Floating "DMARC AI" chip on the corner of every media frame */
.academy-article .legacy-block__media-chip {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(14, 14, 14, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
.academy-article .legacy-block__media-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0c1ff;
    box-shadow: 0 0 12px rgba(192, 193, 255, 0.8);
    animation: aa-pulse 2.4s ease-in-out infinite;
}
.academy-article .legacy-block__media-chip-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c0c1ff;
}
@keyframes aa-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.15); }
}

/* ------------ Responsive ------------ */
@media (max-width: 960px) {
    .academy-article .legacy-block { padding: 2rem 1.5rem; }
    .academy-article .legacy-block__inner,
    .academy-article .legacy-block--image-right .legacy-block__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .academy-article .legacy-block--image-left .legacy-block__media,
    .academy-article .legacy-block--image-right .legacy-block__media {
        order: 0;
    }
    .academy-article .legacy-block--image-left .legacy-block__copy,
    .academy-article .legacy-block--image-right .legacy-block__copy {
        order: 1;
    }
    .academy-article .legacy-block__media-frame {
        transform: none !important;
    }
}

/* =========================================================
   Academy Overview (template-academy-overview.php)
   ========================================================= */
.academy-overview { color: #e7e7ec; }
.academy-overview h1, .academy-overview h2, .academy-overview h3, .academy-overview h4 {
    font-family: 'Manrope', sans-serif;
}

.academy-overview__hero-glow {
    background:
        radial-gradient(60% 50% at 30% 0%, rgba(192, 193, 255, 0.15) 0%, transparent 60%),
        radial-gradient(50% 50% at 80% 30%, rgba(254, 107, 0, 0.08) 0%, transparent 65%);
}

.academy-overview__filter {
    background: rgba(19, 19, 19, 0.78);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

/* ---- Filter chips ---- */
.ao-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7c4d8;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.ao-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e7e7ec;
    border-color: rgba(255, 255, 255, 0.14);
}
.ao-chip--active {
    background: linear-gradient(135deg, rgba(192, 193, 255, 0.18), rgba(75, 77, 216, 0.18));
    color: #c0c1ff;
    border-color: rgba(192, 193, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(192, 193, 255, 0.15), 0 8px 24px -10px rgba(192, 193, 255, 0.35);
}
.ao-chip__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.5rem; padding: 0 0.4rem;
    background: rgba(0, 0, 0, 0.35);
    color: inherit; opacity: 0.85;
    font-size: 0.65rem; line-height: 1.3rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}
.ao-chip--active .ao-chip__count {
    background: rgba(192, 193, 255, 0.18);
}

/* ---- Article card ---- */
.ao-card {
    display: flex; flex-direction: column; gap: 0.95rem;
    padding: 1.5rem;
    background:
        radial-gradient(100% 100% at 0% 0%, rgba(192, 193, 255, 0.06), transparent 60%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}
.ao-card:hover {
    border-color: rgba(192, 193, 255, 0.4);
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(192, 193, 255, 0.10), transparent 65%),
        rgba(255, 255, 255, 0.035);
    transform: translateY(-3px);
}
.ao-card::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(192,193,255,0.3), transparent 35%, rgba(254,107,0,0.18));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 1px;
}
.ao-card:hover::after { opacity: 1; }

.ao-card__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem;
}
.ao-card__intent {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    background: rgba(192, 193, 255, 0.12);
    color: #c0c1ff;
    border: 1px solid rgba(192, 193, 255, 0.18);
    font-family: 'Manrope', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
}
.ao-card__intent--informational  { background: rgba(192,193,255,0.12); color: #c0c1ff; border-color: rgba(192,193,255,0.22); }
.ao-card__intent--commercial     { background: rgba(254,107,0,0.12);  color: #ffb693; border-color: rgba(254,107,0,0.25); }
.ao-card__intent--how-to         { background: rgba(110,231,183,0.12); color: #6ee7b7; border-color: rgba(110,231,183,0.25); }
.ao-card__intent--troubleshooting{ background: rgba(248,113,113,0.12); color: #f87171; border-color: rgba(248,113,113,0.25); }

.ao-card__read {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.72rem;
    color: rgba(199, 196, 216, 0.6);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ao-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #e7e7ec;
    margin: 0;
}
.ao-card:hover .ao-card__title { color: #c0c1ff; }

.ao-card__excerpt {
    color: rgba(199, 196, 216, 0.7);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    /* clamp at 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ao-card__bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ao-card__kw {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.7rem;
    color: rgba(192, 193, 255, 0.75);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    text-transform: lowercase;
}
.ao-card__arrow {
    width: 2rem; height: 2rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c0c1ff;
    border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}
.ao-card:hover .ao-card__arrow {
    background: linear-gradient(135deg, #fe6b00, #ff8533);
    border-color: transparent;
    color: #1a0c00;
    transform: translateX(3px);
}

/* =========================================================
   Academy Overview — Design HTML parity pass
   - Hero glow + filter-bar-glass
   - Card motif + fade-in-up animation
   - Pagination buttons
   ========================================================= */

/* Hero ambient glow — matches the source design exactly. */
.academy-overview__hero-glow {
    background:
        radial-gradient(circle at 50% 0%, rgba(75, 77, 216, 0.28) 0%, transparent 60%),
        radial-gradient(40% 30% at 20% 18%, rgba(192, 193, 255, 0.10), transparent 65%),
        radial-gradient(35% 25% at 82% 22%, rgba(254, 107, 0, 0.08), transparent 65%);
}

/* SVG motif sits in the top-right corner of every card and softly
   reveals on hover (mirrors the .card-motif rules from the source). */
.ao-card { position: relative; isolation: isolate; }
.ao-card__motif {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.5s ease;
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 72%);
            mask-image: radial-gradient(circle at top right, black, transparent 72%);
    z-index: 0;
}
.ao-card:hover .ao-card__motif {
    opacity: 0.95;
    transform: scale(1.08) rotate(-3deg);
}
.ao-card > *:not(.ao-card__motif) { position: relative; z-index: 1; }

/* Card entrance animation. The JS sets --ao-anim-delay per visible card
   so the grid waterfalls in. */
@keyframes ao-fade-in-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ao-card--anim {
    animation: ao-fade-in-up 0.5s ease both;
    animation-delay: var(--ao-anim-delay, 0ms);
}

/* ---- Pagination ---- */
#ao-pagination.flex { display: flex; }
.ao-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7c4d8;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    font-variant-numeric: tabular-nums;
}
.ao-page-btn:hover:not(.ao-page-btn--disabled):not(.ao-page-btn--active) {
    background: rgba(255, 255, 255, 0.08);
    color: #e7e7ec;
    border-color: rgba(255, 255, 255, 0.14);
}
.ao-page-btn--active {
    background: linear-gradient(135deg, rgba(192, 193, 255, 0.22), rgba(75, 77, 216, 0.22));
    border-color: rgba(192, 193, 255, 0.45);
    color: #c0c1ff;
    box-shadow: 0 0 0 1px rgba(192, 193, 255, 0.18), 0 8px 24px -10px rgba(192, 193, 255, 0.35);
}
.ao-page-btn--icon { min-width: 2.5rem; padding: 0; }
.ao-page-btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.ao-page-ellipsis {
    color: rgba(199, 196, 216, 0.4);
    padding: 0 0.5rem;
    font-weight: 700;
    user-select: none;
}

/* =========================================================
   Academy Overview — design-HTML parity for hero typography
   ========================================================= */

/* Headings — guarantee Manrope display weight even though our pages
   load the runtime Tailwind CDN which has no `font-headline` utility. */
.academy-overview h1,
.academy-overview h2,
.academy-overview h3,
.academy-overview h4 {
    font-family: 'Manrope', sans-serif;
}

/* Inline <code> override. The dmarc-ai-bimi-check / mta-sts / tlsrpt
   plugins globally set `code { display: block; white-space: pre-wrap;
   background: #f4f4f4 }` which turns "p=none" in the hero paragraph
   into a giant white block. Force inline-block pill rendering and
   recolour to match the brand. */
.academy-overview p code,
.academy-overview h1 code,
.academy-overview h2 code,
.academy-overview h3 code {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    background: rgba(75, 77, 216, 0.18) !important;
    color: #c0c1ff !important;
    border: 1px solid rgba(192, 193, 255, 0.18) !important;
    border-radius: 0.4rem !important;
    padding: 0.1rem 0.5rem !important;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
    font-size: 0.92em !important;
    line-height: 1.5 !important;
    vertical-align: baseline !important;
}

/* The "Knowledge Base" eyebrow chip — give it a tiny lift and a
   consistent gap with the icon so it reads as a single pill. */
.academy-overview .academy-overview__eyebrow,
.academy-overview span.uppercase.tracking-\[0\.25em\] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(192, 193, 255, 0.18);
}

/* =========================================================
   Academy article — visual layer
   Decorations injected by inc/academy-article-visuals.php:
   - Topic-themed hero illustration above the first H2
   - Numbered eyebrow ("01 — material icon —") on every H2
   ========================================================= */

/* Numbered section eyebrow */
.academy-article .aa-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin: 3rem 0 0.5rem;
    font-family: 'Manrope', sans-serif;
}
.academy-article > .aa-section-eyebrow:first-child,
.academy-article .aa-section-eyebrow:first-child {
    margin-top: 0.5rem;
}
.academy-article .aa-section-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #c0c1ff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(192, 193, 255, 0.35);
}
.academy-article .aa-section-rule {
    flex: 0 0 2.75rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(192,193,255,0.5), transparent);
}
.academy-article .aa-section-icon {
    color: rgba(192, 193, 255, 0.7);
    font-size: 1.25rem;
}
/* Eyebrow immediately precedes its H2 — pull the H2's top margin
   in so they read as one unit. */
.academy-article .aa-section-eyebrow + h2 {
    margin-top: 0.5rem !important;
}

/* Topic hero illustration */
.academy-article .aa-hero {
    position: relative;
    margin: 0 0 2.5rem;
    padding: 1.75rem;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(192, 193, 255, 0.08) 0%, transparent 55%),
        radial-gradient(120% 80% at 100% 100%, rgba(254, 107, 0, 0.06) 0%, transparent 55%),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.academy-article .aa-hero__glow {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(50% 50% at 50% 50%, rgba(192, 193, 255, 0.20) 0%, transparent 70%),
        radial-gradient(40% 40% at 80% 30%, rgba(254, 107, 0, 0.14) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}
.academy-article .aa-hero__frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.academy-article .aa-hero__frame svg {
    width: 100%;
    height: 100%;
    max-width: 460px;
    filter: drop-shadow(0 8px 24px rgba(192,193,255,0.18));
}
.academy-article .aa-hero__chip {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(14, 14, 14, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
.academy-article .aa-hero__chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0c1ff;
    box-shadow: 0 0 12px rgba(192, 193, 255, 0.8);
    animation: aa-pulse 2.4s ease-in-out infinite;
}
.academy-article .aa-hero__chip-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c0c1ff;
}

@media (max-width: 640px) {
    .academy-article .aa-hero { aspect-ratio: 16 / 11; padding: 1rem; }
    .academy-article .aa-section-eyebrow { gap: 0.6rem; }
    .academy-article .aa-section-num { font-size: 1.2rem; }
}

/* ───────────────────────────────────────────────────────────────────
 * Tool pages — readability overrides
 *
 * SPF / DMARC / DKIM / BIMI / MTA-STS / Tools landing all render
 * their result panels with the redesign theme's design tokens
 * (`text-on-surface-variant`, `text-outline-variant`, etc.) which
 * are tuned for a DARK surface. The tool pages themselves use
 * LIGHT glass panels, so those tokens produce ~#c7c4d8 lavender on
 * near-white — unreadable.
 *
 * Override only on these specific page templates (via WordPress's
 * automatically-added body classes) so the rest of the site is
 * unaffected. Selectors win because they're more specific than the
 * earlier `body.wp-theme-... .text-on-surface-variant` rules.
 * ─────────────────────────────────────────────────────────────── */
/* Global safety net: any <code> element using a design-system color
 * token that's tuned for DARK backgrounds is a bug in this theme —
 * code blocks always render on LIGHT glass panels. Force a readable
 * dark slate everywhere these combos appear. Specificity = body class
 * + element + class, beating the global `body.wp-theme-... .text-{token}`
 * rules. Covers every text-* token whose computed colour is light
 * enough to fade into the panel. */
body.wp-theme-dmarc-ai-redesign code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign code.text-primary,
body.wp-theme-dmarc-ai-redesign code.text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign code.text-primary-container,
body.wp-theme-dmarc-ai-redesign code.text-on-surface,
body.wp-theme-dmarc-ai-redesign code.text-outline-variant,
body.wp-theme-dmarc-ai-redesign code.text-outline,
body.wp-theme-dmarc-ai-redesign code.text-secondary,
body.wp-theme-dmarc-ai-redesign code.text-secondary-container,
body.wp-theme-dmarc-ai-redesign code.text-secondary-fixed,
body.wp-theme-dmarc-ai-redesign code.text-on-secondary-fixed,
body.wp-theme-dmarc-ai-redesign code.text-tertiary,
body.wp-theme-dmarc-ai-redesign code.text-on-primary,
body.wp-theme-dmarc-ai-redesign code.text-on-secondary,
body.wp-theme-dmarc-ai-redesign code.text-on-tertiary {
    color: #1f2937 !important; /* gray-800 */
}

/* For block-style code (bg-primary/5 tint), boost the panel contrast
 * a bit so the dark text reads cleanly. The /5 background is barely
 * visible on white; nudge it to slate-tinted with a hairline border. */
body.wp-theme-dmarc-ai-redesign code.bg-primary\/5 {
    background-color: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Selectors stack BOTH `wp-theme-dmarc-ai-redesign` and the page-slug
 * class on body — that buys 1 extra class of specificity over the
 * earlier `body.wp-theme-dmarc-ai-redesign .text-on-surface-variant`
 * rule, guaranteeing this block wins. The `body[class*="page-"]`
 * trailing matcher catches any of the tool-page slugs without
 * repeating each selector six times. */
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer code,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator code,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator code,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator code,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check code,
body.wp-theme-dmarc-ai-redesign.page-tools code,
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check code.text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-tools code.text-on-surface-variant {
    color: #1f2937 !important; /* gray-800 */
}

/* Lavender body-text tokens → readable dark slate on tool pages */
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-tools .text-on-surface-variant,
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-tools .text-outline-variant,
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-outline,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-outline,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-outline,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-outline,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-outline,
body.wp-theme-dmarc-ai-redesign.page-tools .text-outline,
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-primary-fixed-dim,
body.wp-theme-dmarc-ai-redesign.page-tools .text-primary-fixed-dim {
    color: #475569 !important; /* slate-600 — body-text readable */
}

/* Small helper labels — same hue, softened */
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-on-surface-variant\/60,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-on-surface-variant\/60,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-on-surface-variant\/60,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-on-surface-variant\/60,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-on-surface-variant\/60,
body.wp-theme-dmarc-ai-redesign.page-tools .text-on-surface-variant\/60 {
    color: rgba(71, 85, 105, 0.75) !important;
}

/* Headings — lean a notch darker than body */
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer .text-on-surface,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator .text-on-surface,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator .text-on-surface,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator .text-on-surface,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check .text-on-surface,
body.wp-theme-dmarc-ai-redesign.page-tools .text-on-surface {
    color: #0f172a !important; /* slate-900 */
}

/* Inline code that the analyzer JS gives a bg-primary/5 tint */
body.wp-theme-dmarc-ai-redesign.page-spf-analyzer code.bg-primary\/5,
body.wp-theme-dmarc-ai-redesign.page-dmarc-validator code.bg-primary\/5,
body.wp-theme-dmarc-ai-redesign.page-dkim-validator code.bg-primary\/5,
body.wp-theme-dmarc-ai-redesign.page-bimi-generator code.bg-primary\/5,
body.wp-theme-dmarc-ai-redesign.page-mta-sts-check code.bg-primary\/5,
body.wp-theme-dmarc-ai-redesign.page-tools code.bg-primary\/5 {
    color: #0f172a !important;
    background-color: rgba(15, 23, 42, 0.04) !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
