/*
Theme Name: Access Proof AI
Theme URI: https://accessproof.ai
Author: Anand Kumar
Author URI: https://accessproof.ai
Description: Professional AODA and WCAG 2.0 Level AA Website Accessibility Audit Theme with integrated AI scanner tool.
Version: 2.0.0
Text Domain: access-proof-ai
*/

/* ============================================================
   Access Proof AI — Design System
   Palette: deep navy (trust) + teal (accent). WCAG 2.0 AA verified.
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces (light) */
  --color-bg: #ffffff;
  --color-surface: #f4f7fb;
  --color-surface-2: #eef3f9;
  --color-tint: #e3f4f5;
  /* teal-tinted surface */
  --color-border: #d7dfec;
  --color-divider: #e5ebf4;

  /* Text */
  --color-text: #14213d;
  --color-text-muted: #4a5578;
  --color-text-faint: #5a6486;
  --color-text-inverse: #ffffff;

  /* Deep navy (primary/trust) */
  --color-navy: #0d1f42;
  --color-navy-2: #132a52;
  --color-navy-3: #0a1732;

  /* Teal accent */
  --color-teal: #0a7d86;
  /* buttons / links on light: 4.89:1 white */
  --color-teal-hover: #086068;
  --color-teal-active: #064a51;
  --color-teal-bright: #5ecdd6;
  /* accent on navy: 8.65:1 */
  --color-teal-tint-text: #086068;

  /* On-navy text tokens */
  --color-on-navy: #ffffff;
  --color-on-navy-muted: #cdd7ea;
  --color-on-navy-faint: #9fb0cc;

  /* Deadline / urgency */
  --color-amber: #ffd166;
  --color-amber-deep: #7a5a07;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(13, 31, 66, 0.06);
  --shadow-md: 0 6px 20px rgba(13, 31, 66, 0.08);
  --shadow-lg: 0 18px 48px rgba(13, 31, 66, 0.14);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1200px;

  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  /* Pricing Redesign variables */
  --navy: var(--color-navy);
  --navy-deep: var(--color-navy-3);
  --navy-mid: var(--color-navy-2);
  --teal: var(--color-teal);
  --teal-accent: var(--color-teal-hover);
  --ink: var(--color-text);
  --body: var(--color-text-muted);
  --grey: var(--color-text-faint);
  --bg: var(--color-surface);
  --line: var(--color-border);
  --white: var(--color-bg);
  --amber: var(--color-amber-deep);
  --radius: var(--radius-md);
}

/* ============ Base reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Icon wrappers: constrain the SVG to the wrapper box */
.card__icon svg,
.feature__icon svg,
.problem-card__mark svg,
.principle__icon svg,
.trust-strip__item svg,
.audience-list svg,
.price-card__features svg,
.footer-trust svg,
.faq__icon svg,
.announce__close svg,
.brand__logo,
.bio__avatar svg {
  width: 100%;
  height: 100%;
}

.card__icon,
.feature__icon,
.problem-card__mark,
.principle__icon {
  display: inline-flex;
}

ul[role='list'] {
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p,
li {
  text-wrap: pretty;
}

p {
  max-width: 68ch;
}

a {
  color: var(--color-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-teal-hover);
}

::selection {
  background: rgba(10, 125, 134, 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a,
button,
[role='button'],
input,
textarea,
select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============ Layout helpers ============ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--default {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.navy-section {
  background: var(--color-navy);
  color: var(--color-on-navy);
}

.navy-section h1,
.navy-section h2,
.navy-section h3 {
  color: var(--color-on-navy);
}

.navy-section p {
  color: var(--color-on-navy-muted);
}

.surface-section {
  background: var(--color-surface);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-4);
}

.navy-section .eyebrow {
  color: var(--color-teal-bright);
}

.lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.navy-section .lead {
  color: var(--color-on-navy-muted);
}

/* ============ Skip link ============ */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--color-navy);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
  color: #fff;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px;
  text-align: center;
  line-height: 1.2;
}

.btn--primary {
  background: var(--color-teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-teal-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  background: var(--color-teal-active);
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-teal);
  border: 1.5px solid var(--color-teal);
}

.btn--secondary:hover {
  background: var(--color-tint);
  color: var(--color-teal-hover);
}

.btn--on-navy {
  background: var(--color-teal);
  color: #fff;
}

.btn--on-navy:hover {
  background: var(--color-teal-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost-navy {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost-navy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  min-height: 54px;
}

/* ============ Announcement bar ============ */
.announce {
  background: var(--color-navy-3);
  color: #fff;
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(94, 205, 214, 0.25);
}

.announce[hidden] {
  display: none;
}

.announce__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.announce__text {
  margin: 0;
  max-width: none;
  color: var(--color-on-navy-muted);
}

.announce__text strong {
  color: #fff;
}

.announce__cta {
  color: var(--color-teal-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.announce__cta:hover {
  color: #fff;
}

.announce__close {
  margin-left: auto;
  color: var(--color-on-navy-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.announce__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 640px) {
  .announce__inner {
    justify-content: flex-start;
    padding-inline: var(--space-4);
  }

  .announce__close {
    margin-left: 0;
  }
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}

.site-header__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-navy);
  flex-shrink: 0;
}

.brand__logo {
  width: 30px;
  height: 30px;
  color: var(--color-teal);
  flex-shrink: 0;
  display: block;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  line-height: 1;
}

.brand__name b {
  color: var(--color-teal);
  font-weight: 600;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.primary-nav__link {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

.primary-nav__link:hover {
  color: var(--color-teal);
  background: var(--color-surface);
}

.primary-nav__link[aria-current='page'] {
  color: var(--color-teal);
  font-weight: 700;
}

.nav-cta {
  margin-left: var(--space-3);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  color: var(--color-navy);
}

.nav-toggle:hover {
  background: var(--color-surface);
}

@media (max-width: 900px) {

  /* backdrop-filter on the header creates a containing block for fixed children,
     which would trap the slide-in panel. Disable it on mobile. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
    z-index: 200;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100dvh;
    width: min(320px, 84vw);
    background: var(--color-navy);
    color: #fff;
    margin-left: 0;
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    padding: var(--space-20) var(--space-6) var(--space-8);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 150;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .primary-nav__link {
    color: #fff;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  .primary-nav__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-teal-bright);
  }

  .primary-nav__link[aria-current='page'] {
    color: var(--color-teal-bright);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-4);
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 23, 50, 0.5);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 901px) {

  .nav-close,
  .nav-backdrop {
    display: none;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--color-navy);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 31, 66, 0.97) 0%, rgba(13, 31, 66, 0.85) 45%, rgba(13, 31, 66, 0.35) 100%);
}

.hero__inner {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-8), 5vw, var(--space-16)) var(--space-6) clamp(var(--space-12), 7vw, var(--space-24));
}

.hero__content {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  color: #fff;
  margin-bottom: var(--space-4);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-on-navy-muted);
  margin-bottom: var(--space-5);
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 720px) {
  .hero__bg-overlay {
    background: linear-gradient(180deg, rgba(13, 31, 66, 0.86) 0%, rgba(13, 31, 66, 0.95) 60%);
  }
}

/* Trust strip */
.trust-strip {
  position: relative;
  background: var(--color-navy-3);
  border-top: 1px solid rgba(94, 205, 214, 0.2);
}

.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  list-style: none;
  padding-block: var(--space-5);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-on-navy-muted);
  font-weight: 500;
}

.trust-strip__item svg {
  width: 18px;
  height: 18px;
  color: var(--color-teal-bright);
  flex-shrink: 0;
}

/* ============ Section header ============ */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.section-head h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

/* ============ Deadline / urgency band ============ */
.deadline-band {
  background: var(--color-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.deadline-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(94, 205, 214, 0.18), transparent 55%);
  pointer-events: none;
}

.deadline-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-10);
  align-items: center;
}

.deadline-band h2 {
  font-size: var(--text-2xl);
}

.deadline-band__body p {
  margin-top: var(--space-4);
}

.deadline-band__body p strong {
  color: var(--color-teal-bright);
}

.deadline-band__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

@media (max-width: 860px) {
  .deadline-band__grid {
    grid-template-columns: 1fr;
  }
}

/* Countdown */
.countdown {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin-bottom: var(--space-2);
}

.countdown li {
  background: var(--color-navy-2);
  border: 1px solid rgba(94, 205, 214, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  min-width: 74px;
}

.countdown .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-teal-bright);
  line-height: 1;
  display: block;
}

.countdown .lbl {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-on-navy-faint);
  margin-top: var(--space-1);
  display: block;
}

.countdown-caption {
  font-size: var(--text-sm);
  color: var(--color-on-navy-faint);
}

/* ============ Cards & grids ============ */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-teal);
  margin-bottom: var(--space-5);
}

/* Problem cards (on surface) */
.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.problem-card h3 {
  color: var(--color-navy);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.problem-card p {
  color: var(--color-text-muted);
}

.problem-card__mark {
  width: 32px;
  height: 32px;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

/* Feature grid — asymmetric */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
}

.features .feature {
  grid-column: span 2;
}

.features .feature--wide {
  grid-column: span 3;
}

.feature {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.feature--accent {
  background: var(--color-tint);
  border-color: rgba(10, 125, 134, 0.25);
}

.feature--accent a {
  color: var(--color-teal-hover);
}

.feature--accent a:hover {
  color: var(--color-teal-active);
}

.feature h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}

.feature p {
  color: var(--color-text-muted);
}

.feature__icon {
  width: 38px;
  height: 38px;
  color: var(--color-teal);
  margin-bottom: var(--space-5);
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .features .feature,
  .features .feature--wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ============ Steps (condensed home) ============ */
.steps-condensed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step-mini {
  position: relative;
  padding-top: var(--space-8);
}

.step-mini__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-teal);
  display: block;
  margin-bottom: var(--space-2);
}

.step-mini h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.step-mini p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.step-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
}

@media (max-width: 860px) {
  .steps-condensed {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps-condensed {
    grid-template-columns: 1fr;
  }
}

/* ============ Full process steps (how-it-works) ============ */
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6) var(--space-8);
  align-items: start;
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  border-top: 1px solid var(--color-divider);
}

.process-step:first-of-type {
  border-top: none;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  flex-shrink: 0;
}

.process-step__body h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.process-step__body p {
  color: var(--color-text-muted);
}

.process-step__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  display: block;
  margin-bottom: var(--space-2);
}

@media (max-width: 640px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .process-step__num {
    width: 48px;
    height: 48px;
  }
}

/* ============ Callout ============ */
.callout {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(94, 205, 214, 0.16), transparent 70%);
}

.callout__inner {
  position: relative;
}

.callout h2 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.callout p {
  color: var(--color-on-navy-muted);
}

.callout .eyebrow {
  color: var(--color-teal-bright);
}

/* ============ Split (image + text) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.navy-section .split__media img {
  border-color: rgba(94, 205, 214, 0.2);
}

@media (max-width: 860px) {

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* ============ Security principles ============ */
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding-block: clamp(var(--space-8), 4vw, var(--space-10));
  border-top: 1px solid var(--color-divider);
}

.principle:first-of-type {
  border-top: none;
}

.principle__icon {
  width: 48px;
  height: 48px;
  color: var(--color-teal);
  flex-shrink: 0;
}

.principle h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}

.principle__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: block;
  margin-bottom: var(--space-1);
}

.principle p {
  color: var(--color-text-muted);
}

@media (max-width: 560px) {
  .principle {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* ============ Audience band ============ */
.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  list-style: none;
}

.audience-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--color-on-navy-muted);
  font-size: var(--text-base);
}

.audience-list svg {
  width: 22px;
  height: 22px;
  color: var(--color-teal-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 720px) {
  .audience-list {
    grid-template-columns: 1fr;
  }
}

/* ============ Pricing ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.price-card--popular {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-md);
}

.price-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.price-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  line-height: 1;
}

.price-card__price .free {
  color: var(--color-teal);
}

.price-card__tbd {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-amber-deep);
  background: #fff7e0;
  border: 1px solid #f0dca3;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

.price-card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  min-height: 2.6em;
}

.price-card__features {
  list-style: none;
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.price-card__features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.price-card__features svg {
  width: 18px;
  height: 18px;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ============ FAQ ============ */
.faq {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.faq__item {
  border-top: 1px solid var(--color-divider);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-divider);
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-navy);
}

.faq__q:hover {
  color: var(--color-teal);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-teal);
  transition: transform 200ms;
}

.faq__q[aria-expanded='true'] .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
}

.faq__a-inner {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
}

.faq__item.is-open .faq__a {
  max-height: 400px;
}

/* ============ Bio / About ============ */
.bio {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-10);
  align-items: start;
}

.bio__media {
  position: sticky;
  top: 8rem;
}

.bio__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-bright);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.bio__avatar svg {
  width: 45%;
  height: 45%;
}

.bio__placeholder-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  text-align: center;
}

.bio h3 {
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.bio__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: var(--space-5);
}

.bio p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.bio strong {
  color: var(--color-text);
}

.bio__aside {
  font-style: italic;
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}

.bio--placeholder .bio__avatar {
  background: var(--color-surface-2);
  border: 2px dashed var(--color-border);
  color: var(--color-text-faint);
}

.bio--placeholder {
  opacity: 0.95;
}

.bio__tbd-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-amber-deep);
  background: #fff7e0;
  border: 1px solid #f0dca3;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

@media (max-width: 640px) {
  .bio {
    grid-template-columns: 1fr;
  }

  .bio__media {
    position: static;
    max-width: 180px;
  }
}

/* ============ Contact form ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-option {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-divider);
}

.contact-option:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-option h3 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.contact-option p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}

.field {
  margin-bottom: var(--space-5);
}

.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.field .req {
  color: var(--color-teal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--color-teal);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.field-check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-teal);
}

.field-check label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-5);
}

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-tint);
  color: var(--color-teal-active);
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-status[hidden] {
  display: none;
}

.direct-contact {
  margin-top: var(--space-8);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.direct-contact a {
  font-weight: 600;
}

/* ============ Values columns ============ */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value h3 {
  font-size: var(--text-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.value p {
  color: var(--color-text-muted);
}

.value__rule {
  width: 40px;
  height: 3px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

@media (max-width: 820px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* Story prose */
.prose p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: 66ch;
}

/* Facts band */
.facts-band {
  background: var(--color-tint);
}

.facts-band p {
  color: var(--color-teal-active);
  font-size: var(--text-lg);
  max-width: 70ch;
}

/* Agency band */
.agency-band {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.agency-band__text {
  max-width: 50ch;
}

.agency-band__text strong {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  display: block;
  margin-bottom: var(--space-2);
}

/* ============ CTA closing band ============ */
.cta-band {
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(94, 205, 214, 0.2), transparent 60%);
}

.cta-band__inner {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
}

.cta-band h2 {
  color: #fff;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.cta-band p {
  color: var(--color-on-navy-muted);
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--color-navy-3);
  color: var(--color-on-navy-muted);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-brand .brand__name,
.footer-brand .brand__name b {
  color: #fff;
}

.footer-brand p {
  color: var(--color-on-navy-faint);
  font-size: var(--text-sm);
  max-width: 34ch;
}

.footer-col h3,
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal-bright);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: var(--color-on-navy-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-6);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.footer-trust svg {
  width: 20px;
  height: 20px;
  color: var(--color-teal-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-trust p {
  font-size: var(--text-sm);
  color: var(--color-on-navy-muted);
  margin: 0;
  max-width: 90ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-on-navy-faint);
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  list-style: none;
}

.footer-legal a {
  color: var(--color-on-navy-faint);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Page hero (interior) */
.page-hero {
  background: var(--color-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(94, 205, 214, 0.14), transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-16), 7vw, var(--space-24)) var(--space-6);
}

.page-hero h1 {
  font-size: var(--text-2xl);
  color: #fff;
  margin-bottom: var(--space-5);
  max-width: 22ch;
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--color-on-navy-muted);
  max-width: 56ch;
}

/* ==================== PHP Tool Styles ==================== */

/* Scope border-color to light grey inside our main container to prevent WordPress leaks */
#main, #main *, .main-wrapper, .main-wrapper *, .modal-overlay, .modal-overlay * {
  --border-color: #d7dfec !important;
}

/* AccessAudit Pro - Pure Vanilla CSS Design System */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #f4f7fb;
  --bg-card: #FFFFFF;
  --bg-subtle: #eef3f9;

  --text-primary: #14213d;
  --text-secondary: #4a5578;
  --text-muted: #5a6486;

  --border-color: #d7dfec;
  --border-focus: #0a7d86;

  --color-purple: #0a7d86;
  /* Teal primary */
  --color-purple-hover: #086068;
  /* Hover teal */
  --color-purple-light: #e3f4f5;
  /* Tint surface */

  --color-navy: #0d1f42;
  /* Deep Navy */
  --color-navy-2: #132a52;
  --color-teal-bright: #5ecdd6;
  /* Bright Teal accent */

  --color-emerald: #10B981;
  --color-emerald-light: #ECFDF5;

  --color-amber: #F59E0B;
  --color-amber-light: #FFFBEB;

  --color-rose: #EF4444;
  --color-rose-light: #FEF2F2;

  --color-indigo: #0d1f42;
  /* Deep Navy accent */

  --shadow-sm: 0 1px 3px 0 rgba(13, 31, 66, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(13, 31, 66, 0.08);
  --shadow-lg: 0 14px 32px -4px rgba(13, 31, 66, 0.12);
  --shadow-glow: 0 12px 28px -5px rgba(10, 125, 134, 0.25);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.hero-title,
.score-header-title,
.navbar-brand-name-main,
.navbar-brand-name-sub {
  font-family: var(--font-display);
}

/* Helper Icons */
.icon-sm {
  width: 14px;
  height: 14px;
}

.icon-md {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Layout */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1;
  padding-bottom: 5rem;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.hero-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  /* Smooth hide/show on scroll */
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-scrolled {
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.10);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-centered {
  justify-content: center;
}

.navbar-brand-signature {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar-signature-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-shield-icon {
  width: 22px;
  height: 22px;
  color: var(--color-purple);
  filter: drop-shadow(0 2px 8px rgba(99, 91, 255, 0.3));
}

.navbar-brand-name-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.035em;
}

.navbar-brand-name-sub {
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--color-purple);
  background: var(--color-purple-light);
  border: 1px solid rgba(99, 91, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.navbar-signature-divider {
  width: 1px;
  height: 18px;
  background-color: var(--border-color);
}

.navbar-signature-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.navbar-signature-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-emerald);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 4.5rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-purple-light);
  color: var(--color-purple);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 91, 255, 0.25);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.scanner-form {
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.scanner-input-card {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scanner-input-card:focus-within {
  border-color: var(--color-purple);
  box-shadow: var(--shadow-glow);
}

.scanner-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.0625rem;
  color: var(--text-primary);
  background: transparent;
  padding: 10px 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-hover));
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sample-sites {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sample-sites-label {
  font-weight: 600;
  color: var(--text-muted);
}

.sample-chip {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-chip:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
  background-color: var(--color-purple-light);
}

/* Score Section */
.score-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.score-header-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.score-header-title-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.score-header-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.score-header-url {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.score-header-metrics-flex {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.8125rem;
}

.metric-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.metric-value-primary {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-value-rose {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-rose);
}

.metric-value-emerald {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.score-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-card-main {
  border: 2px solid var(--color-purple);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-purple-light) 100%);
}

.score-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.875rem;
}

.score-title-purple {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-purple);
  margin-top: 0.875rem;
}

.score-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Radial Gauge */
.radial-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radial-svg {
  transform: rotate(-90deg);
}

.radial-inner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-number {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--text-primary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-success {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
  background-color: var(--color-amber-light);
  color: var(--color-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
  background-color: var(--color-rose-light);
  color: var(--color-rose);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid var(--color-divider, #e5ebf4);
  margin-bottom: 2.5rem;
}

.tab-link {
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.tab-link.active {
  color: var(--color-purple);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-purple);
  border-radius: 3px 3px 0 0;
}

/* Filter Controls */
.filter-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn.active {
  background-color: var(--color-purple);
  color: #FFFFFF;
  border-color: var(--color-purple);
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.25);
}

.filter-select-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.select-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 36px 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-field:hover {
  border-color: var(--color-purple);
}

.select-field:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

#filter-page-select,
#sandbox-page-select {
  max-width: 240px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Issue Card */
.issues-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.issues-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.issue-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.issue-card.severity-critical {
  border-left: 5px solid var(--color-rose);
}

.issue-card.severity-serious {
  border-left: 5px solid var(--color-amber);
}

.issue-card.severity-moderate {
  border-left: 5px solid var(--color-emerald);
}

.issue-card.severity-minor {
  border-left: 5px solid var(--text-muted);
}

.issue-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  border-color: rgba(99, 91, 255, 0.35);
}

.issue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.issue-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.issue-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.issue-code {
  font-family: monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-purple);
  background-color: var(--color-purple-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.issue-principle-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 3px 10px;
  border-radius: 4px;
}

.issue-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-primary);
}

.issue-impact {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.selector-block {
  margin: 1.25rem 0;
}

.selector-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: monospace;
}

.code-block {
  background-color: #0F172A;
  color: #38BDF8;
  font-family: monospace;
  font-size: 0.8125rem;
  padding: 1.125rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre-wrap;
  line-height: 1.5;
}

.issue-footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.remediation-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
}

.issue-actions-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-ai-fix {
  background: linear-gradient(135deg, var(--color-purple), var(--color-indigo));
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
}

.btn-ai-fix:hover {
  transform: translateY(-1px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-content {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  padding: 1.5rem 2rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon-purple {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-light);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-loading-box {
  padding: 3.5rem 1rem;
  text-align: center;
}

.error-box {
  background-color: var(--color-rose-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.error-box-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-rose);
  margin-bottom: 6px;
}

.error-box-sub {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.error-box-instruction {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.explanation-card {
  background-color: var(--color-purple-light);
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.explanation-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-purple);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.explanation-body {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

.diff-title-rose {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-rose);
  margin-bottom: 8px;
}

.diff-title-emerald-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.diff-title-emerald {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald);
}

.btn-copy-code {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--color-emerald-light);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  padding: 3px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.diff-box-before {
  background-color: var(--color-rose-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1.125rem;
  font-family: monospace;
  font-size: 0.8125rem;
  color: #991B1B;
  min-height: 110px;
}

.diff-box-after {
  background-color: var(--color-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.125rem;
  font-family: monospace;
  font-size: 0.8125rem;
  color: #065F46;
  min-height: 110px;
}

.best-practices-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.best-practices-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.best-practices-list {
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 1.25rem 2rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-secondary {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
}

/* Manual Checklist */
.manual-banner-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.manual-banner-title-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.manual-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.manual-progress-flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.progress-metric-box {
  text-align: center;
}

.progress-score-card {
  background-color: var(--color-purple-light);
  border: 1px solid rgba(99, 91, 255, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-align: center;
}

.checklist-item-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.checklist-item-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.status-btn-group {
  display: flex;
  gap: 6px;
}

.status-btn-pass {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-emerald);
  color: #FFFFFF;
}

.status-btn-fail {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-rose);
  color: #FFFFFF;
}

.status-btn-inactive {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
}

.checklist-drawer {
  padding: 1.75rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testing-procedure-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.125rem;
}

.notes-textarea {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  outline: none;
}

/* Executive Report */
.report-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.report-action-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.report-cert-card {
  background-color: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.cert-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.cert-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.cert-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cert-score-box-main {
  background-color: var(--color-purple-light);
  border: 1px solid rgba(99, 91, 255, 0.3);
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
}

.cert-score-box-sub {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
}

.cert-basis-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Sandbox */
.inspector-header-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sandbox-browser-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  background-color: var(--bg-secondary);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot-red {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #EF4444;
}

.dot-yellow {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #F59E0B;
}

.dot-green {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #10B981;
}

.browser-address-bar {
  flex: 1;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 620px;
}

.iframe-element {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 2.25rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================
   Hamburger & Mobile Menu
   =========================== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: var(--bg-subtle);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 1.5rem 1rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.25s;
}

.nav-mobile-menu.open {
  display: flex;
  max-height: 300px;
  opacity: 1;
  padding: 0.75rem 1.5rem 1.25rem;
}

.nav-mobile-btn {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 10px 14px;
}

/* ===========================
   Responsive Breakpoints
   =========================== */

/* Tablet & below (≤ 900px) */
@media (max-width: 900px) {
  .navbar-signature-tagline {
    font-size: 0.72rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .scanner-form {
    max-width: 100%;
  }

  /* Score grid — 2 columns */
  .score-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Score header */
  .score-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .score-header-metrics-flex {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Main content padding */
  .main-content {
    padding: 2rem 1rem;
  }

  /* Tab nav — scrollable row */
  .tab-navigation {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tab-navigation::-webkit-scrollbar {
    display: none;
  }

  .tab-link {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .browser-badge-desktop {
    display: none;
  }

  /* Filter bar */
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Visual Inspector split panel — stack vertically */
  .issues-container>div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {

  .navbar-signature-divider,
  .navbar-signature-tagline {
    display: none;
  }

  /* Stack tabs vertically on mobile */
  .tab-navigation {
    flex-direction: column !important;
    align-items: stretch !important;
    border-bottom: none !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .tab-link {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 0.75rem 1rem !important;
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    white-space: normal !important;
  }

  .tab-link.active {
    background-color: var(--color-purple-light) !important;
    border-color: var(--color-purple) !important;
    color: var(--color-purple) !important;
  }

  .tab-link.active::after {
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 4px !important;
    height: 100% !important;
    border-radius: 4px 0 0 4px !important;
  }

  /* Hero */
  .hero-section {
    padding: 3rem 1rem 3rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 5px 13px;
  }

  /* Scanner input */
  .scanner-input-card {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 8px;
    border-radius: var(--radius-lg);
  }

  .scanner-input {
    padding: 8px 4px;
    font-size: 0.95rem;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Score grid — single column */
  .score-grid {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .issue-card {
    padding: 1.5rem;
  }

  .issue-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .issue-header-right {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  /* Actions Group */
  .issue-actions-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .issue-actions-group button,
  .issue-actions-group .btn-secondary,
  .issue-actions-group .btn-ai-fix {
    width: 100%;
    justify-content: center;
  }

  /* Report cert card */
  .report-cert-card {
    padding: 1.25rem !important;
  }

  .cert-score-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .cert-title {
    font-size: 1.25rem !important;
  }

  /* Badges */
  .badge {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }

  /* PDF Report Tab Layout Action Bar */
  .report-action-bar {
    padding: 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .brand-header-flex {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .brand-header-flex button,
  .brand-header-flex .btn-secondary,
  .brand-header-flex .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }

  /* AI Code Suggestion Modal Dialog */
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-content {
    max-height: 95vh !important;
  }

  .modal-header {
    padding: 1rem !important;
  }

  .modal-body {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .modal-footer {
    padding: 1rem !important;
  }

  #modal-issue-title {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  #modal-code-before,
  #modal-code-after {
    font-size: 0.7rem !important;
    word-break: break-all !important;
  }

  .btn-copy-code {
    padding: 2px 6px !important;
    font-size: 0.68rem !important;
  }

  .explanation-card {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .explanation-body {
    font-size: 0.78rem !important;
  }
}

/* Custom Added Styles for Drag-and-Drop and Secondary Buttons */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
  background-color: var(--color-purple-light);
  transform: translateY(-1px);
}

.hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: left;
}

.drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  background-color: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.drop-zone:hover,
.drop-zone.drop-zone-active {
  border-color: var(--color-purple);
  background-color: var(--color-purple-light);
}

/* ── Sandbox UI Fixes ───────────────────────────────────────── */
/* Browser card — ensure light borders, no browser default dark outline */
#sandbox-iframe-container,
#sandbox-iframe {
  border: none !important;
  outline: none;
}

/* Sidebar issue card — hover highlight */
.sidebar-issue-item:hover {
  background-color: #f8fafc !important;
}

/* Sandbox split grid responsive collapse */
@media (max-width: 900px) {
  #sandbox-split-container {
    grid-template-columns: 1fr !important;
  }
}

/* Sandbox pills bar wrapping on small screens */
#sandbox-pills-bar {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}


.pricing-redesign-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--grey);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
.pricing-redesign-wrapper h1, 
.pricing-redesign-wrapper h2, 
.pricing-redesign-wrapper h3, 
.pricing-redesign-wrapper h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pricing-redesign-wrapper a {
  color: var(--teal);
  text-decoration: none;
}
.pricing-redesign-wrapper a:hover {
  text-decoration: underline;
}
.pricing-redesign-wrapper .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.pricing-redesign-wrapper .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 20px;
}
.pricing-redesign-wrapper .hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 72px;
}
.pricing-redesign-wrapper .hero .eyebrow {
  color: #5fc4c4;
}
.pricing-redesign-wrapper .hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 52px);
  max-width: 15ch;
  margin-bottom: 24px;
}
.pricing-redesign-wrapper .hero p {
  color: #b9c9da;
  font-size: 18px;
  max-width: 56ch;
}
.pricing-redesign-wrapper .deadline {
  background: linear-gradient(90deg, var(--navy-mid) 0%, #16406b 100%);
  color: #fff;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.pricing-redesign-wrapper .deadline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.pricing-redesign-wrapper .deadline h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}
.pricing-redesign-wrapper .deadline p {
  color: #b9c9da;
  font-size: 15px;
  max-width: 60ch;
}
.pricing-redesign-wrapper .countdown {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.pricing-redesign-wrapper .cd-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  min-width: 74px;
}
.pricing-redesign-wrapper .cd-num {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  color: #5fc4c4;
  display: block;
  line-height: 1;
}
.pricing-redesign-wrapper .cd-lbl {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa8bf;
  margin-top: 6px;
  display: block;
}
.pricing-redesign-wrapper .btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
  font-family: inherit;
}
.pricing-redesign-wrapper .btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.pricing-redesign-wrapper .btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pricing-redesign-wrapper .btn-primary:hover {
  background: #0f6767;
  box-shadow: 0 6px 18px rgba(19, 123, 123, .28);
}
.pricing-redesign-wrapper .btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: #c6d3de;
}
.pricing-redesign-wrapper .btn-outline:hover {
  border-color: var(--teal);
  background: rgba(19, 123, 123, .05);
}
.pricing-redesign-wrapper .btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.pricing-redesign-wrapper .btn-block {
  display: block;
  width: 100%;
}
.pricing-redesign-wrapper .section {
  padding: 80px 0;
}
.pricing-redesign-wrapper .section-head {
  max-width: 60ch;
  margin-bottom: 48px;
}
.pricing-redesign-wrapper .section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.pricing-redesign-wrapper .center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.pricing-redesign-wrapper .toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.pricing-redesign-wrapper .toggle-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
}
.pricing-redesign-wrapper .toggle-lbl.on {
  color: var(--ink);
}
.pricing-redesign-wrapper .switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--teal);
  border-radius: 20px;
  border: none;
  cursor: pointer;
  padding: 0;
}
.pricing-redesign-wrapper .knob {
  position: absolute;
  top: 3px;
  left: 27px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s ease;
}
.pricing-redesign-wrapper .switch[aria-checked="false"] {
  background: #c6d3de;
}
.pricing-redesign-wrapper .switch[aria-checked="false"] .knob {
  left: 3px;
}
.pricing-redesign-wrapper .save-pill {
  background: #e3f2f2;
  color: #0f6767;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.pricing-redesign-wrapper .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-redesign-wrapper .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 3px rgba(13, 35, 63, .04);
}
.pricing-redesign-wrapper .card.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 12px 36px rgba(13, 35, 63, .13);
  transform: scale(1.035);
  z-index: 2;
}
.pricing-redesign-wrapper .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-redesign-wrapper .card h3 {
  font-size: 23px;
  margin-bottom: 6px;
}
.pricing-redesign-wrapper .card .who {
  font-size: 14px;
  color: var(--grey);
  min-height: 42px;
  margin-bottom: 20px;
}
.pricing-redesign-wrapper .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.pricing-redesign-wrapper .price .amt {
  font-family: 'Source Serif 4', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.pricing-redesign-wrapper .price .per {
  font-size: 14px;
  color: var(--grey);
  font-weight: 500;
}
.pricing-redesign-wrapper .price-sub {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 26px;
}
.pricing-redesign-wrapper .divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 22px;
}
.pricing-redesign-wrapper ul.feat {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.pricing-redesign-wrapper ul.feat li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 13px;
  color: #3f5266;
}
.pricing-redesign-wrapper ul.feat li svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-redesign-wrapper ul.feat li strong {
  color: var(--ink);
  font-weight: 600;
}
.pricing-redesign-wrapper .card-cta {
  margin-top: auto;
}
.pricing-redesign-wrapper .microcopy {
  font-size: 12.5px;
  color: var(--grey);
  text-align: center;
  margin-top: 11px;
}
.pricing-redesign-wrapper .band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 52px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.pricing-redesign-wrapper .band .eyebrow {
  color: #5fc4c4;
}
.pricing-redesign-wrapper .band h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 14px;
}
.pricing-redesign-wrapper .band p {
  color: #b9c9da;
  font-size: 15.5px;
  margin-bottom: 22px;
}
.pricing-redesign-wrapper .band-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.pricing-redesign-wrapper .band-list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: #d5e2ee;
}
.pricing-redesign-wrapper .band-price {
  font-family: 'Source Serif 4', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.pricing-redesign-wrapper .band-price small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8fa8bf;
  margin-top: 6px;
}
.pricing-redesign-wrapper .band-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.pricing-redesign-wrapper .helper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pricing-redesign-wrapper .helper h4 {
  font-size: 18px;
  margin-bottom: 5px;
}
.pricing-redesign-wrapper .helper p {
  font-size: 14.5px;
  max-width: 62ch;
}
.pricing-redesign-wrapper .community-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  position: relative;
  box-shadow: 0 1px 3px rgba(13, 35, 63, .04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pricing-redesign-wrapper .community-card:hover {
  border-color: rgba(19, 123, 123, 0.35);
  box-shadow: 0 8px 24px rgba(13, 35, 63, .08);
}
.pricing-redesign-wrapper .community-card .community-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f4f4;
  color: #0c5858;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.pricing-redesign-wrapper .community-card h4 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.pricing-redesign-wrapper .community-card p,
.pricing-redesign-wrapper .community-card p.who {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
  min-height: auto;
  max-width: 68ch;
  letter-spacing: 0.01em;
}
.pricing-redesign-wrapper .community-card p a,
.pricing-redesign-wrapper .community-card p.who a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}
.pricing-redesign-wrapper .community-card p a:hover,
.pricing-redesign-wrapper .community-card p.who a:hover {
  color: #0f6767;
}
.pricing-redesign-wrapper .trust {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.pricing-redesign-wrapper .trust-inner {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.pricing-redesign-wrapper .trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3f5266;
}
.pricing-redesign-wrapper .table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-redesign-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.pricing-redesign-wrapper caption {
  text-align: left;
  padding: 22px 26px 0;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
}
.pricing-redesign-wrapper thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 15px 20px;
  text-align: center;
  position: sticky;
  top: 0;
}
.pricing-redesign-wrapper thead th:first-child {
  text-align: left;
}
.pricing-redesign-wrapper tbody th[scope="rowgroup"] {
  background: #eef2f6;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: left;
  padding: 13px 20px;
}
.pricing-redesign-wrapper tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: #3f5266;
  padding: 13px 20px;
}
.pricing-redesign-wrapper tbody td {
  text-align: center;
  padding: 13px 20px;
  color: #3f5266;
  border-top: 1px solid var(--line);
}
.pricing-redesign-wrapper tbody th[scope="row"] {
  border-top: 1px solid var(--line);
}
.pricing-redesign-wrapper tbody tr:hover td, 
.pricing-redesign-wrapper tbody tr:hover th[scope="row"] {
  background: #fafcfd;
}
.pricing-redesign-wrapper .yes {
  color: var(--teal);
  font-weight: 700;
}
.pricing-redesign-wrapper .no {
  color: #595959; /* Darkened from #a8b6c4 to meet WCAG AA contrast ratio of >= 4.5:1 */
}
.pricing-redesign-wrapper .col-hi.no {
  color: #595959;
  background-color: #ffffff;
}
.pricing-redesign-wrapper .col-hi {
  background: #0d1f42;
}
.pricing-redesign-wrapper tbody td.col-hi {
  background: transparent;
}
.pricing-redesign-wrapper .addons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-redesign-wrapper .addon {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.pricing-redesign-wrapper .addon:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.pricing-redesign-wrapper .addon-name {
  font-size: 14.5px;
  color: #3f5266;
}
.pricing-redesign-wrapper .addon-price {
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
  white-space: nowrap;
}
.pricing-redesign-wrapper .faq {
  max-width: 820px;
  margin: 0 auto;
}
.pricing-redesign-wrapper details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.pricing-redesign-wrapper details[open] {
  border-color: #c6d3de;
  box-shadow: 0 2px 10px rgba(13, 35, 63, .05);
}
.pricing-redesign-wrapper summary {
  padding: 20px 26px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.pricing-redesign-wrapper summary::-webkit-details-marker {
  display: none;
}
.pricing-redesign-wrapper summary::after {
  content: "+";
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
  flex-shrink: 0;
}
.pricing-redesign-wrapper details[open] summary::after {
  content: "\2212";
}
.pricing-redesign-wrapper details .answer {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--grey);
  max-width: 72ch;
}
.pricing-redesign-wrapper .final {
  background: var(--navy);
  color: #fff;
  padding: 76px 0;
  text-align: center;
}
.pricing-redesign-wrapper .final h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 14px;
}
.pricing-redesign-wrapper .final p {
  color: #b9c9da;
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: 17px;
}
.pricing-redesign-wrapper .final .microcopy {
  color: #8fa8bf;
  margin-top: 16px;
}
@media (max-width: 960px) {
  .pricing-redesign-wrapper .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-redesign-wrapper .card.featured {
    transform: none;
  }
  .pricing-redesign-wrapper .band {
    grid-template-columns: 1fr;
    padding: 36px 30px;
  }
  .pricing-redesign-wrapper .addons {
    grid-template-columns: 1fr;
  }
  .pricing-redesign-wrapper .addon:nth-child(odd) {
    border-right: none;
  }
  .pricing-redesign-wrapper .table-wrap {
    overflow-x: auto;
  }
  .pricing-redesign-wrapper table {
    min-width: 640px;
  }
}
@media (max-width: 600px) {
  .pricing-redesign-wrapper .wrap {
    padding: 0 20px;
  }
  .pricing-redesign-wrapper .hero {
    padding: 64px 0 48px;
  }
  .pricing-redesign-wrapper .section {
    padding: 56px 0;
  }
  .pricing-redesign-wrapper .deadline-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-redesign-wrapper * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .pricing-redesign-wrapper .btn:hover {
    transform: none;
  }
}

/* ============================================================
   Audit Page Info Sections Styling (SEOmator-inspired)
   ============================================================ */

#audit-info-sections {
  display: block;
}

.audit-info-section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.audit-info-section.alt-bg {
  background-color: var(--color-surface);
}

.audit-info-container {
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.audit-info-header-center {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.audit-info-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-tint);
  color: #054a51; /* Darkened from var(--color-teal) to meet WCAG AA contrast ratio >= 4.5:1 on background --color-tint (#e3f4f5) */
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(10, 125, 134, 0.2);
}

.audit-info-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.audit-info-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 auto;
}

.audit-info-desc p {
  margin-bottom: 1rem;
}

.audit-info-desc p:last-child {
  margin-bottom: 0;
}

/* Stat Cards (Section 1) */
.audit-info-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.audit-info-stat-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.audit-info-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal-bright);
}

.audit-info-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.audit-info-stat-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.audit-info-stat-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 2-Column Grid (Sections 2, 3, 4) */
.audit-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .audit-info-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  .audit-info-grid.reversed {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.audit-info-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.audit-info-check-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audit-info-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.975rem;
  color: var(--color-text);
  line-height: 1.5;
}

.audit-info-check-item svg,
.audit-info-check-item i {
  color: var(--color-teal);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.audit-info-check-item strong {
  color: var(--color-navy);
}

.audit-info-cta-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.5rem;
  transition: gap var(--transition-interactive);
}

.audit-info-cta-link:hover {
  color: var(--color-teal-hover);
  gap: 10px;
}

/* Image Card Container */
.audit-info-image-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
}

.audit-info-image-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(13, 31, 66, 0.08);
}

/* Secondary Button for info sections */
.audit-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-teal);
  color: var(--color-bg) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-interactive), transform var(--transition-interactive);
  margin-top: 1rem;
}

.audit-info-btn:hover {
  background-color: var(--color-teal-hover);
  transform: translateY(-1px);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .audit-info-section {
    padding: 4rem 1.5rem;
  }
  
  .audit-info-grid {
    gap: 2.5rem;
  }
  
  .audit-info-image-col {
    order: 2; /* always image below content at mobile */
  }
  
  .audit-info-grid.reversed .audit-info-image-col {
    order: 2;
  }
  
  .audit-info-title {
    font-size: 1.85rem;
  }
}

/* =========================================================================
   AccessProof AI - SaaS Dashboard & Gating Styles (example-dash.png)
   ========================================================================= */

/* Top-Right Account Trigger & Avatar */
.account-cluster {
  position: relative;
  display: inline-block;
  text-align: left;
}

.account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  padding: 6px 16px 6px 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  color: #ffffff;
  outline: none;
}

.account-trigger:hover,
.account-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-bright, #5ecdd6) 0%, #1e40af 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.account-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.account-email {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-sub {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

.account-sub .settings-icon {
  font-size: 0.75rem;
}

/* Account Dropdown Panel (Light SaaS Style) */
.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  z-index: 1000;
  animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-dropdown-email {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
  margin-bottom: 2px;
}

.account-dropdown-verified {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.account-dropdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #475569;
  padding: 6px 0;
}

.account-dropdown-row strong {
  color: #0f172a;
}

.account-upgrade-link {
  color: #7c3aed;
  font-weight: 700;
  text-decoration: underline;
}

.account-upgrade-link:hover {
  color: #6d28d9;
}

.account-dropdown-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 12px 0;
}

.account-logout {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 8px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.account-logout:hover {
  color: #dc2626;
}

/* Standards Compliance Pills */
.standards-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.standards-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.standards-pill--locked {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  opacity: 0.7;
}

.standards-pill--locked:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.standards-pill--pass {
  background: #D1FAE5;
  color: #065F46;
}

.standards-pill--fail {
  background: #FEE2E2;
  color: #991B1B;
}

.standards-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.standards-pill--locked .dot {
  background: #64748b;
}

.standards-pill--pass .dot {
  background: #10B981;
}

.standards-pill--fail .dot {
  background: #EF4444;
}

/* Upgrade Modal UI */
.upgrade-modal {
  max-width: 480px;
  width: 100%;
}

.upgrade-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upgrade-benefits li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.upgrade-benefits li i {
  color: var(--color-teal-bright, #5ecdd6);
  flex-shrink: 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.15s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
}

.sandbox-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10;
  border-radius: 8px;
}

/* POUR Principles Grid Responsiveness */
@media (max-width: 991px) {
  .pour-principles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  .pour-principles-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================================
   AccessProof AI - Standalone SaaS Layout & Sidebar Styles
   ========================================================================= */

/* Hide standard layout components on Audit Tool application template page */
body.page-template-audit-tool .announce,
body.page-template-audit-tool-php .announce,
body.page-template-audit-tool .site-header,
body.page-template-audit-tool-php .site-header,
body.page-template-audit-tool .site-footer,
body.page-template-audit-tool-php .site-footer,
body.page-template-audit-tool .nav-backdrop,
body.page-template-audit-tool-php .nav-backdrop {
  display: none !important;
}

body.page-template-audit-tool,
body.page-template-audit-tool-php {
  background-color: #F8FAFC !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* SaaS Portal Wrapper */
.saas-portal {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #F8FAFC;
  font-family: 'Public Sans', sans-serif;
}

/* Sidebar Container */
.saas-sidebar {
  width: 260px;
  background-color: #0F172A;
  color: #F8FAFC;
  border-right: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1E293B;
  margin-bottom: 2rem;
}

.sidebar-logo .brand__logo {
  width: 32px;
  height: 32px;
  color: var(--color-teal-bright, #5ecdd6);
}

.sidebar-logo .brand__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-link i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-link:hover {
  background-color: #1E293B;
  color: #F8FAFC;
}

.sidebar-link.active {
  background-color: var(--color-teal, #137b7b);
  color: #FFFFFF;
}

.sidebar-link.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sidebar-link.disabled:hover {
  background-color: transparent;
  color: #94A3B8;
}

/* Profile Bottom Card */
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 1.25rem;
  border-top: 1px solid #1E293B;
  margin-top: auto;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-bright, #5ecdd6) 0%, #1e40af 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.profile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.profile-email {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #F8FAFC;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-plan {
  font-size: 0.6875rem;
  color: #64748B;
  margin-top: 1px;
}

.profile-logout {
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
}

.profile-logout:hover {
  color: #EF4444;
  background-color: rgba(239, 68, 68, 0.1);
}

/* Main Workspace Area */
.saas-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
}

/* Top Bar */
.saas-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  min-height: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.top-bar-title {
  font-family: var(--font-display, inherit);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.sidebar-toggle-btn {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 6px;
  border-radius: 6px;
}

.sidebar-toggle-btn:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

/* Workspace Content Panel */
.workspace-content {
  flex: 1;
  background-color: #F8FAFC;
  overflow-y: auto;
}

/* URL Scan Screen */
.saas-scan-screen {
  background-color: #F8FAFC;
}

.scan-welcome-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scan-welcome-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
}

.saas-scanner-form {
  max-width: 520px;
  width: 100%;
}

/* Standalone Auth Page Portal */
.saas-auth-portal {
  background-size: cover;
  background-position: center;
}

.auth-portal-card {
  animation: modalScaleIn 0.3s ease-out;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .sidebar-toggle-btn {
    display: inline-flex;
    margin-right: 12px;
  }
  
  .saas-top-bar {
    padding: 1rem 1.5rem;
  }
  
  .saas-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
  }
  
  .saas-sidebar.open {
    transform: translateX(0);
  }
  
  .saas-workspace {
    width: 100vw;
  }
}

@media (max-width: 575px) {
  .auth-portal-card {
    padding: 2.25rem 1.5rem !important;
  }
  
  .saas-top-bar #topbar-upgrade-btn {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .scan-results-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fix merged account cluster colors inside white top-bar */
.saas-top-bar .account-trigger {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

.saas-top-bar .account-trigger:hover,
.saas-top-bar .account-trigger:focus-visible {
  background: #E2E8F0 !important;
  border-color: #94A3B8 !important;
}

.saas-top-bar .account-email {
  color: #0F172A !important;
}

.saas-top-bar .account-sub {
  color: #475569 !important;
}

/* Collapsed Sidebar State (Desktop) */
@media (min-width: 992px) {
  .saas-sidebar.collapsed {
    width: 76px;
    padding: 1.75rem 0.75rem;
    align-items: center;
  }
  
  .saas-sidebar.collapsed .sidebar-logo {
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    width: 100%;
  }
  
  .saas-sidebar.collapsed .sidebar-logo .brand__name {
    display: none !important;
  }
  
  .saas-sidebar.collapsed .sidebar-link {
    padding: 12px;
    justify-content: center;
    border-radius: 8px;
    width: 44px;
    height: 44px;
  }
  
  .saas-sidebar.collapsed .sidebar-link span {
    display: none !important;
  }
  
  .saas-sidebar.collapsed .sidebar-profile {
    padding-top: 1rem;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  
  .saas-sidebar.collapsed .profile-info {
    display: none !important;
  }
  
  .saas-sidebar.collapsed .profile-logout {
    padding: 8px;
  }
}

/* ============================================================
   Sites Dashboard — New Audit Dialog & Cards (checkpoint 7+)
   ============================================================ */

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#saas-sites-dashboard {
  background: #F8FAFC;
}

.site-audit-card:focus-within {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* "New Audit" button pulse on first-load nudge */
#new-audit-btn {
  position: relative;
}
#new-audit-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  border: 2px solid var(--color-teal, #0a7d86);
  opacity: 0;
  animation: newAuditPulse 2.5s ease-out 1s 3;
}
@keyframes newAuditPulse {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.1); }
}

/* Dialog backdrop ensure flex display */
#new-audit-dialog[style*="flex"] {
  display: flex !important;
}

/* Input focus ring in dialog */
#new-audit-url-input:focus {
  outline: none;
}
#new-audit-dialog-form div:focus-within > div {
  border-color: var(--color-teal, #0a7d86) !important;
  box-shadow: 0 0 0 3px rgba(10, 125, 134, 0.12);
}

/* Auth Portal Split Layout & Header/Footer Suppression */
.page-template-page-dashboard .site-header,
.page-template-page-dashboard .site-footer,
.page-template-page-dashboard .announce,
.page-template-page-dashboard .nav-backdrop {
  display: none !important;
}

/* Instant initial state rules during load to prevent flash */
.page-template-page-dashboard #saas-portal {
  display: flex;
}
.page-template-page-dashboard #apai-auth-modal {
  display: none;
}
.page-template-page-dashboard #audit-info-sections {
  display: none;
}

html.user-logged-out #saas-portal {
  display: none;
}
html.user-logged-out #apai-auth-modal {
  display: flex;
}
html.user-logged-out #audit-info-sections {
  display: block;
}

@media (max-width: 900px) {
  .auth-portal-split-container {
    flex-direction: column !important;
    gap: 2.5rem !important;
    align-items: center !important;
  }
  .auth-portal-info-col {
    text-align: center !important;
    max-width: 500px;
  }
  .auth-portal-info-col h1 {
    font-size: 1.85rem !important;
  }
  .auth-portal-info-col div {
    align-items: center !important;
    text-align: left !important;
  }
}

/* Pulse animation for skeleton loading indicators */
@keyframes apai-skeleton-pulse {
  0% {
    background-color: #f1f5f9;
  }
  50% {
    background-color: #cbd5e1;
  }
  100% {
    background-color: #f1f5f9;
  }
}

.apai-skeleton {
  animation: apai-skeleton-pulse 1.6s ease-in-out infinite;
  background-color: #f1f5f9;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* For dark backgrounds (like left sidebar) */
.saas-sidebar .apai-skeleton {
  background-color: rgba(255, 255, 255, 0.08);
  animation: apai-skeleton-pulse-dark 1.6s ease-in-out infinite;
}

@keyframes apai-skeleton-pulse-dark {
  0% {
    background-color: rgba(255, 255, 255, 0.04);
  }
  50% {
    background-color: rgba(255, 255, 255, 0.12);
  }
  100% {
    background-color: rgba(255, 255, 255, 0.04);
  }
}

.site-audit-card svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Force hide dashboard panels by default in stylesheet to eliminate caching layout flashes */
#saas-scan-screen, #saas-sites-dashboard {
  display: none;
}

/* Elegant Blurred Overlay Spinner for Payment Return */
#apai-payment-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#apai-spinner-ring {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(94, 205, 214, 0.15);
  border-top: 4px solid #5ecdd6;
  border-radius: 50%;
  animation: apai-spin 1s linear infinite;
}

@keyframes apai-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

