/* ==========================================================================
  
   ========================================================================== */

:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-alt: #eef1f7;
  --border: #dbe0ea;
  --track: #e2e8f0;

  /* High-Contrast, Ultra-Clear Text Palette (Passing WCAG AAA) */
  --text: #090d16;
  --text-muted: #334155;
  --text-subtle: #475569;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;

  --correct: #15803d;
  --correct-soft: #e6f6ec;
  --wrong: #b91c1c;
  --wrong-soft: #fdecec;
  --on-accent: #ffffff;

  --brand-from: #1d4ed8;
  --brand-to: #6d28d9;

  --hero-glow-a: rgba(37, 99, 235, 0.16);
  --hero-glow-b: rgba(124, 58, 237, 0.12);
  --grid-line: rgba(15, 23, 42, 0.05);

  /* Deep dark footer from getyourcert.org */
  --footer-bg: #0b1220;
  --footer-text: #e2e8f0;
  --footer-muted: #94a3b8;
  --footer-border: #1e293b;

  --tint-light: #334155;
  --tint-dark: #94a3b8;
  --tint-soft-light: #33415520;
  --tint-soft-dark: #94a3b826;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --min-touch: 44px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.shell>main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-xl);
  }
}

.icon {
  flex: none;
  display: block;
}

/* ==========================================================================
   Topbar Navigation (Header) — Original Logo + Crisp Menu (NO Icons)
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 1160px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .topbar__inner {
    padding-inline: var(--space-xl);
  }
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.topbar__brand:hover {
  opacity: 0.92;
}

.topbar__brand-img {
  height: 67px !important;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.topbar__nav {
  display: none;
  align-items: center;
  gap: 6px;

}

.topbar__nav a {
  padding: 6px 7px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, background 0.15s ease;
}

.topbar__nav a:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.topbar__nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

@media (min-width: 860px) {
  .topbar__nav {
    display: flex;
  }
}

.topbar__auth {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

@media (min-width: 860px) {
  .topbar__auth {
    display: flex;
  }
}

.account__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.account__signin:hover {
  background: var(--surface-alt);
  border-color: #94a3b8;
}

.account__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
}

.account__register:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.topbar__mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
}

@media (min-width: 860px) {
  .topbar__mobile-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--space-lg);
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.mobile-drawer-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Typography & Shared Headings — Crisp, Legible & High Contrast
   ========================================================================== */
.display {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}

.highlight {
  background: linear-gradient(100deg, var(--brand-from), var(--brand-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}

.heading {
  font-size: 17.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.caption {
  font-size: 13.5px;
  color: var(--text-muted);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.muted {
  color: var(--text-muted);
}

.subtitle {
  font-size: clamp(16px, 2vw, 18.5px);
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 450;
  margin: var(--space-lg) 0 0;
  max-width: 54ch;
}

/* ==========================================================================
   Hero Band Section (getyourcert.org Layout)
   ========================================================================== */
.hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 var(--space-xxl);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(600px 380px at 12% 8%, var(--hero-glow-a), transparent 70%),
    radial-gradient(520px 360px at 88% 30%, var(--hero-glow-b), transparent 70%);
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero-band>* {
  position: relative;
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-band {
    padding-top: 64px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0 0 var(--space-xl);
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.eyebrow-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--correct);
  box-shadow: 0 0 0 4px var(--correct-soft);
}

/* Real-Time Autocomplete Search Form */
.search-form-wrapper {
  position: relative;
  max-width: 540px;
  margin-top: var(--space-xl);
}

.search {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  min-height: 56px;
  padding: 0 var(--space-sm) 0 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--text-muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md);
}

.search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
}

.search input::placeholder {
  color: var(--text-subtle);
  opacity: 0.85;
}

.search-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.search-submit-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--surface-alt);
  transition: background 0.12s ease;
}

.search-item:hover,
.search-item.is-selected {
  background: var(--accent-soft);
}

.search-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.search-item-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-footer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-alt);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.search-footer-btn:hover {
  text-decoration: underline;
}

/* Popular Chips */
.popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.popular__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 2px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero Right: Interactive Simulation Preview Card */
.preview {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 12px 32px;
}

@media (max-width: 959px) {
  .preview {
    display: none;
  }
}

.preview__card {
  padding: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 30px 60px -30px rgba(37, 99, 235, 0.25);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.preview__card:hover {
  transform: rotate(0deg);
}

.preview__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-md);
}

.preview__count {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.preview__count b {
  font-size: 26px;
  font-weight: 850;
  color: var(--text);
}

.tag {
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
}

.tag--plain {
  background: var(--surface-alt);
  color: var(--text-muted);
}

.progress {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--track);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--accent);
  transition: width 0.25s ease;
}

.preview__stem {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin: var(--space-lg) 0;
  color: var(--text);
}

.preview__options {
  display: grid;
  gap: var(--space-sm);
}

.option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  min-height: 44px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.12s ease, background 0.12s ease;
}

.option:hover {
  border-color: var(--accent);
}

.option--correct {
  border-color: var(--correct) !important;
  background: var(--correct-soft) !important;
}

.option--wrong {
  border-color: var(--wrong) !important;
  background: var(--wrong-soft) !important;
}

.option__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.option--correct .option__letter {
  background: var(--correct);
  color: #fff;
}

.option--wrong .option__letter {
  background: var(--wrong);
  color: #fff;
}

.option__text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  padding-top: 2px;
  color: var(--text);
}

.option__mark {
  color: var(--correct);
  font-weight: 800;
}

/* Floating Badges */
.preview__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.preview__badge b {
  display: block;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.2;
  color: var(--text);
}

.preview__badge small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.preview__badge--score {
  top: 0;
  right: 0;
}

.preview__badge--explain {
  bottom: 0;
  left: 0;
  animation-delay: -3s;
}

.preview__badge-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--correct-soft);
  color: var(--correct);
}

.preview__badge-icon--lightbulb {
  background: var(--accent-soft);
  color: var(--accent);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Stats Strip - Enhanced & Presentable with Icons */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 1px 3px 0 rgba(15, 23, 42, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  overflow: hidden;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.stat__icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
  transition: transform 0.2s ease;
}

.stat:hover .stat__icon-badge {
  transform: scale(1.08);
}

/* Color Themes for Stat Badges */
.stat--blue .stat__icon-badge {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.stat--purple .stat__icon-badge {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.stat--green .stat__icon-badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}
.stat--amber .stat__icon-badge {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.stat__content {
  display: flex;
  flex-direction: column;
}

.stat__number,
.stat b {
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  margin-bottom: 5px;
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat__label {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.stat__sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.45;
}

.stat span {
  font-size: 13.5px;
  font-weight: 550;
  color: #64748b;
}

/* ==========================================================================
   Home Body & Sections
   ========================================================================== */
.home-body {
  padding-bottom: 88px;
}

.section {
  margin-top: 72px;
}

.section__intro {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

.section__intro--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}

.section__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Grid of Provider Tiles */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

@media (max-width: 420px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3.5px;
  background: var(--tint, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.tile:hover {
  border-color: color-mix(in srgb, var(--tint, var(--accent)) 40%, var(--border));
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.tile:hover::before {
  transform: scaleX(1);
}

.tile__top {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tile__heading {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 48px;
  height: 48px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--tint-soft, var(--accent-soft));
  color: var(--tint, var(--accent));
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.2px;
}

.tile__name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: var(--text);
}

.tile__meta {
  font-size: 13.5px;
  color: var(--text-muted);
}

.tile__codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.code-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-alt);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.tile__foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.tile__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tint, var(--accent));
}

.tile:hover .tile__cta svg {
  transform: translateX(3px);
}

.tile__cta svg {
  transition: transform 0.18s ease;
}

/* Steps (How It Works) */
.steps {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  position: relative;
  display: grid;
  gap: var(--space-sm);
  align-content: start;
  padding: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-sm);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.step__body,
.feature__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Features (Why AI Certs Exam) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: grid;
  gap: var(--space-sm);
  align-content: start;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-sm);
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  font-size: 18px;
}

/* Call to Action Banner */
.cta {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  margin-top: 88px;
  padding: 40px var(--space-xl);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(120deg, #1d4ed8, #6d28d9);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.6);
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .cta {
    grid-template-columns: 1fr auto;
    padding: 56px;
  }
}

.cta__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  color: #fff;
}

.cta__body {
  margin: var(--space-sm) 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.cta__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #1e3a8a !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.45);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-toggle-btn svg {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.faq-item.is-open .faq-toggle-btn svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px solid var(--surface-alt);
  padding-top: 12px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Site Footer — Authentic Deep Dark Theme from getyourcert.org
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  padding-block: 56px 40px;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 48px;
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer__brand-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.site-footer__blurb,
.site-footer__text {
  margin: var(--space-lg) 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--footer-text);
  max-width: 38ch;
}

.site-footer__text {
  margin-top: 0;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.trust .icon {
  color: #4ade80;
}

.site-footer__heading {
  margin: 0 0 var(--space-lg);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
}

.site-footer__col a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  border-top: 1px solid var(--footer-border);
}

.site-footer__bottom-inner {
  display: grid;
  gap: var(--space-sm);
  padding-block: var(--space-xl);
}

@media (min-width: 900px) {
  .site-footer__bottom-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--space-xl);
  }
}

.site-footer__copy {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--footer-text);
}

.site-footer__copy a {
  color: #ffffff;
}

.site-footer__legal {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--footer-muted);
}

@media (min-width: 900px) {
  .site-footer__legal {
    text-align: right;
  }
}

.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;
}

/* Footer nav links with icons */
.footer-nav-icons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-icons li {
  margin-bottom: 10px;
}

.footer-nav-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-nav-icons a:hover {
  color: #ffffff;
}

.footer-nav-icons a i {
  width: 16px;
  font-size: 12px;
  opacity: 0.75;
  flex-shrink: 0;
  text-align: center;
  transition: opacity 0.18s ease;
}

.footer-nav-icons a:hover i {
  opacity: 1;
}