/* ==========================================================================
   CheckDomainHealth — Global Styles
   ========================================================================== */

@import url('cookie-consent.css');

/* --- CSS Variables: Light Theme (default) --- */
:root,
[data-theme="light"] {
  --primary-navy: #071A33;
  --deep-navy: #020817;
  --accent-green: #16C784;
  --accent-green-dark: #0EA66B;
  --accent-blue: #2563EB;
  --accent-cyan: #06B6D4;
  --background-light: #F8FAFC;
  --background-soft: #EEF4F8;
  --card-light: #FFFFFF;
  --border-light: #E5E7EB;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --color-primary: var(--primary-navy);
  --color-primary-soft: #102A4C;
  --color-accent: var(--accent-green);
  --color-accent-dark: var(--accent-green-dark);
  --color-blue: var(--accent-blue);
  --color-blue-dark: #1D4ED8;
  --color-bg: var(--background-light);
  --color-bg-soft: var(--background-soft);
  --color-card: var(--card-light);
  --color-border: var(--border-light);
  --color-border-soft: #EEF2F7;
  --color-text: var(--text-main);
  --color-muted: var(--text-muted);
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-success: var(--accent-green);
  --shadow-card: 0 22px 50px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-btn: 0 4px 14px rgba(22, 199, 132, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-bg: rgba(255, 255, 255, 0.88);
  --hero-gradient:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(22, 199, 132, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(6, 182, 212, 0.03) 0%, transparent 60%);
  --funnel-bg: linear-gradient(135deg, #071A33 0%, #0B2545 45%, #0A1F3D 100%);
  --footer-bg: #071A33;
  --transition: 200ms ease;
  --accent-gradient: linear-gradient(135deg, #16C784 0%, #06B6D4 55%, #2563EB 100%);
}

/* --- Dark Theme --- */
[data-theme="dark"] {
  color-scheme: dark;
  --background-dark: #020817;
  --background-dark-soft: #07111F;
  --card-dark: #0B1628;
  --border-dark: rgba(148, 163, 184, 0.18);
  --text-dark: #F8FAFC;
  --text-dark-muted: #94A3B8;
  --color-primary: #E5F0FF;
  --color-primary-soft: #B6C7DD;
  --color-accent: #22C55E;
  --color-accent-dark: #16A34A;
  --color-blue: #38BDF8;
  --color-blue-dark: #0284C7;
  --color-bg: var(--background-dark);
  --color-bg-soft: var(--background-dark-soft);
  --color-card: var(--card-dark);
  --color-border: var(--border-dark);
  --color-border-soft: rgba(148, 163, 184, 0.12);
  --color-text: var(--text-dark);
  --color-muted: var(--text-dark-muted);
  --color-warning: #F59E0B;
  --color-error: #F87171;
  --color-success: #22C55E;
  --shadow-card: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(148, 163, 184, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-btn: 0 4px 14px rgba(34, 197, 94, 0.22);
  --header-bg: rgba(7, 17, 31, 0.92);
  --hero-gradient:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(34, 197, 94, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
  --funnel-bg: linear-gradient(135deg, #020817 0%, #0B1628 45%, #07111F 100%);
  --footer-bg: #020817;
  --accent-gradient: linear-gradient(135deg, #22C55E 0%, #06B6D4 55%, #38BDF8 100%);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 220ms ease, color 220ms ease;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

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

.hero-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(22, 199, 132, 0.3);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--accent-green-dark, var(--color-accent-dark)) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(22, 199, 132, 0.35);
  transform: translateY(-1px);
}

.btn-get-help {
  background: linear-gradient(135deg, #16C784 0%, #0EA66B 100%);
  box-shadow: 0 4px 18px rgba(22, 199, 132, 0.38);
  font-weight: 700;
  padding: 9px 20px;
}

.btn-get-help:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 26px rgba(22, 199, 132, 0.48);
  transform: translateY(-1px);
}

.hero-submit {
  flex-shrink: 0;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 22px rgba(22, 199, 132, 0.38);
}

.hero-submit:hover {
  box-shadow: 0 8px 28px rgba(22, 199, 132, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

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

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--color-border-soft);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-dropdown-open {
  z-index: 200;
}

[data-theme="dark"] .site-header {
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
  color: var(--logo-text, var(--color-text));
  flex-shrink: 0;
}

.logo-mark {
  width: 35px;
  height: 39px;
  flex-shrink: 0;
  display: block;
}

.logo-mark--sm {
  width: 26px;
  height: 29px;
}

.logo-shield-stop-top {
  stop-color: #153A63;
}

.logo-shield-stop-bottom {
  stop-color: #071A33;
}

.logo-check-stop-top {
  stop-color: #22D39A;
}

.logo-check-stop-bottom {
  stop-color: #16C784;
}

.logo-shield-edge {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.75;
  fill: none;
}

.logo-pulse {
  stroke: var(--color-accent);
  opacity: 0.9;
  fill: none;
}

.logo-wordmark {
  color: var(--logo-text, #0F172A);
}

.logo-accent {
  color: var(--logo-accent, #16C784);
}

[data-theme="dark"] {
  --logo-text: #F8FAFC;
  --logo-accent: #22C55E;
}

[data-theme="dark"] .logo-shield-stop-top {
  stop-color: #1E4A72;
}

[data-theme="dark"] .logo-shield-stop-bottom {
  stop-color: #0B1628;
}

[data-theme="dark"] .logo-check-stop-top {
  stop-color: #34D399;
}

[data-theme="dark"] .logo-check-stop-bottom {
  stop-color: #22C55E;
}

.footer-logo {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-logo .logo-wordmark {
  color: #FFFFFF;
}

.footer-logo .logo-accent {
  color: #22C55E;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.chevron {
  opacity: 0.55;
  transition: transform var(--transition), opacity var(--transition);
}

.has-dropdown.is-open .chevron,
.has-dropdown:hover .chevron {
  opacity: 0.85;
}

.has-dropdown.is-open .chevron {
  transform: rotate(180deg);
}

/* --- Nav Dropdowns (Desktop) --- */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 6px;
  z-index: 300;
}

.has-dropdown.is-open .nav-dropdown,
.has-dropdown:hover .nav-dropdown {
  display: block;
}

.dropdown-panel {
  width: 520px;
  max-width: calc(100vw - 48px);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 12px;
  animation: dropdown-in 180ms ease;
  pointer-events: auto;
}

.dropdown-panel--compact {
  width: 380px;
}

.dropdown-panel--resources {
  width: 560px;
}

.dropdown-panel--resources .dropdown-item {
  padding: 9px 10px;
}

.dropdown-footer--hub {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
  margin-top: 8px;
  padding: 12px;
  color: inherit;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-soft);
  border-radius: 10px;
}

.dropdown-footer--hub:hover,
.dropdown-footer--hub:focus-visible {
  color: inherit;
  background: rgba(22, 199, 132, 0.06);
}

.dropdown-footer--hub .dropdown-item-icon {
  margin-top: 1px;
}

.dropdown-footer-arrow {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.dropdown-footer--hub:hover .dropdown-footer-arrow,
.dropdown-footer--hub:focus-visible .dropdown-footer-arrow {
  color: var(--color-accent-dark);
}

[data-theme="dark"] .dropdown-footer--hub {
  background: rgba(148, 163, 184, 0.06);
}

[data-theme="dark"] .dropdown-footer--hub:hover,
[data-theme="dark"] .dropdown-footer--hub:focus-visible {
  background: rgba(34, 197, 94, 0.08);
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-grid--single {
  grid-template-columns: 1fr;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--color-bg-soft);
}

.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.dropdown-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 1px;
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.35;
}

.dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  border-top: 1px solid var(--color-border-soft);
  border-radius: 0 0 8px 8px;
  transition: color var(--transition), background var(--transition);
}

.dropdown-footer:hover {
  color: var(--color-accent-dark);
  background: rgba(22, 199, 132, 0.06);
}

[data-theme="dark"] .dropdown-panel {
  background: #0B1628;
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(148, 163, 184, 0.08);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus-visible {
  background: rgba(148, 163, 184, 0.08);
}

.has-dropdown.is-open > .nav-dropdown-toggle,
.has-dropdown:hover > .nav-dropdown-toggle {
  color: var(--color-text);
  background: var(--color-bg-soft);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text);
  background: var(--color-bg-soft);
}

.nav-link:active {
  background: var(--color-border-soft);
}

.nav-mobile-actions {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--color-muted);
  border: 1px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-bg-soft);
  border-color: var(--color-border-soft);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
}

.mobile-menu-toggle:hover {
  background: var(--color-bg-soft);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 56px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(22, 199, 132, 0.09) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394A3B8' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px 52px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(22, 199, 132, 0.1);
  border: 1px solid rgba(22, 199, 132, 0.22);
  border-radius: 100px;
  box-shadow: 0 1px 2px rgba(22, 199, 132, 0.08);
}

[data-theme="dark"] .hero-badge {
  color: var(--color-accent);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: 30px;
  line-height: 1.72;
}

.hero-search {
  margin-bottom: 24px;
  max-width: 100%;
}

.hero-search-inner {
  display: flex;
  gap: 10px;
  padding: 7px;
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: calc(var(--radius-sm) + 6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.hero-search-inner:focus-within {
  border-color: rgba(22, 199, 132, 0.45);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1), 0 0 0 4px rgba(22, 199, 132, 0.12);
  transform: translateY(-1px);
}

[data-theme="dark"] .hero-search-inner:focus-within {
  box-shadow: var(--shadow-soft), 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.hero-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  min-width: 0;
}

.hero-input::placeholder {
  color: var(--color-muted);
}

.hero-input:focus {
  outline: none;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.hero-scope-line {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-muted);
  opacity: 0.85;
  max-width: 520px;
  margin-bottom: 20px;
}

.trust-indicators li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.hero-social-proof p {
  font-size: 0.8125rem;
  color: var(--color-text);
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
}

.avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar {
  display: block;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--color-bg);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  color: var(--color-muted);
  font-size: 0.625rem;
  font-weight: 700;
}

/* --- Dashboard Preview --- */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0;
}

.dashboard-stack {
  position: relative;
  width: 100%;
  max-width: 470px;
}

.dashboard-shadow {
  position: absolute;
  inset: 18px -12px -22px -12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.12) 100%);
  border-radius: var(--radius-lg);
  filter: blur(18px);
  opacity: 0.55;
  z-index: 0;
}

[data-theme="dark"] .dashboard-shadow {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0.7;
}

.dashboard-glow {
  position: absolute;
  inset: -24px -16px;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(22, 199, 132, 0.1) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .dashboard-glow {
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(34, 197, 94, 0.12) 0%, transparent 72%);
}

.dashboard-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

[data-theme="dark"] .dashboard-card {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(148, 163, 184, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 32px 70px rgba(15, 23, 42, 0.14),
    0 10px 24px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .dashboard-card:hover {
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(34, 197, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chrome-dot-red { background: #EF4444; opacity: 0.7; }
.chrome-dot-yellow { background: #F59E0B; opacity: 0.7; }
.chrome-dot-green { background: #22C55E; opacity: 0.7; }

.chrome-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  font-size: 0.6875rem;
  color: var(--color-muted);
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 6px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

.dashboard-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-soft);
  background: linear-gradient(180deg, var(--color-card) 0%, var(--color-bg-soft) 100%);
}

.dashboard-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dashboard-sample-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  padding: 3px 8px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-soft);
  border-radius: 100px;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-success);
  padding: 3px 8px;
  background: rgba(22, 199, 132, 0.1);
  border: 1px solid rgba(22, 199, 132, 0.18);
  border-radius: 100px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 2px rgba(22, 199, 132, 0.2);
  animation: live-pulse 2s ease infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.dashboard-report-id {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-muted);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

.dashboard-domain {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.dashboard-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 20px 18px 16px;
  align-items: start;
}

.dashboard-score {
  text-align: center;
  padding-right: 4px;
}

.score-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.score-ring {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 12px;
}

.score-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--color-border-soft);
  stroke-width: 7;
}

.score-ring-fill {
  fill: none;
  stroke: url(#scoreGradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(22, 199, 132, 0.2));
}

[data-theme="dark"] .score-ring-fill {
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.18));
}

.score-ring-fill.animated {
  stroke-dashoffset: calc(326.73 - (326.73 * var(--score, 85) / 100));
}

.score-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.score-max {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.score-status {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.status-good {
  color: var(--color-success);
}

.score-summary {
  font-size: 0.6875rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 10px;
  padding: 0 2px;
}

.dashboard-report-btn {
  width: 100%;
  margin-bottom: 12px;
}

.dashboard-score-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  font-size: 0.6875rem;
}

.dashboard-time {
  color: var(--color-muted);
  text-align: left;
  line-height: 1.3;
  white-space: nowrap;
  font-size: 0.625rem;
}

.dashboard-refresh {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background var(--transition);
}

.dashboard-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.check-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.8125rem;
  background: var(--color-bg-soft);
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.check-item:hover {
  border-color: var(--color-border-soft);
}

.check-icon {
  grid-row: 1 / -1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
}

.check-healthy .check-icon {
  background: rgba(22, 199, 132, 0.15);
  color: var(--color-success);
}

.check-warning .check-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
}

.check-neutral .check-icon {
  background: rgba(100, 116, 139, 0.12);
  color: var(--color-muted);
}

.check-name {
  grid-column: 2;
  grid-row: 1;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.75rem;
  line-height: 1.3;
}

.check-pill {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.5625rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.4;
}

.check-pill-healthy {
  color: var(--color-success);
  background: rgba(22, 199, 132, 0.12);
}

.check-pill-warning {
  color: var(--color-warning);
  background: rgba(245, 158, 11, 0.12);
}

.check-pill-neutral {
  color: var(--color-muted);
  background: rgba(100, 116, 139, 0.1);
}

.check-pill-review {
  color: #B45309;
  background: rgba(245, 158, 11, 0.12);
}

[data-theme="dark"] .check-pill-review {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.15);
}

.dashboard-body--flagship {
  padding: 14px 16px 12px;
}

.dashboard-checks--flagship {
  gap: 6px;
  padding-top: 0;
}

.dashboard-checks--flagship .check-item {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  padding: 7px 10px;
}

.dashboard-checks--flagship .check-name {
  grid-column: 1;
  grid-row: 1;
}

.dashboard-checks--flagship .check-pill {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.dashboard-issues--compact {
  padding: 10px 16px 12px;
}

.dashboard-issues--compact .issues-list li {
  font-size: 0.6875rem;
  color: var(--color-muted);
}

.dashboard-issues--compact .issues-list li::before {
  background: var(--color-muted);
  opacity: 0.5;
}

.dashboard-issues {
  padding: 12px 18px 14px;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-soft);
}

.issues-heading {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.issues-list li {
  position: relative;
  padding-left: 12px;
  font-size: 0.6875rem;
  color: var(--color-warning);
  margin-bottom: 3px;
  font-weight: 500;
  line-height: 1.45;
}

.issues-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-warning);
}

.issues-list li:last-child {
  margin-bottom: 0;
}

.dashboard-refresh:hover {
  background: rgba(22, 199, 132, 0.1);
}

.dashboard-refresh:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Breadcrumbs (shared; used on tools, guides, etc.) --- */
.guides-breadcrumb,
.guide-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.guides-breadcrumb a,
.guide-breadcrumbs a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}

.guides-breadcrumb a:hover,
.guide-breadcrumbs a:hover {
  text-decoration: underline;
}

.guides-breadcrumb-sep {
  opacity: 0.5;
}

.tool-hero-copy .guides-breadcrumb,
.solution-hero-copy .guides-breadcrumb,
.about-hero-inner .guides-breadcrumb,
.contact-hero-inner .guides-breadcrumb,
.get-help-hero-copy .guides-breadcrumb,
.guides-hero-inner .guides-breadcrumb,
.privacy-hero-inner .guides-breadcrumb,
.tools-hero-copy .guides-breadcrumb {
  margin-bottom: 12px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.tools-section .section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: 14px;
}

[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section-header-row h2,
[data-theme="dark"] .hero-content h1 {
  color: var(--color-text);
}

[data-theme="dark"] .tool-card,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .table-wrapper,
[data-theme="dark"] .stats-strip {
  border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="dark"] .hero-search-inner {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .trust-indicators li {
  background: none;
  border: none;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header-row h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: 0;
}

.section-header-row-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checks-section-subtitle {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.5;
}

.checks-section-note {
  margin: 14px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-muted);
  text-align: center;
  opacity: 0.85;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--color-accent-dark);
}

.section-cta {
  text-align: center;
  margin-top: 28px;
}

.section-cta .btn-primary {
  padding: 13px 28px;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(22, 199, 132, 0.35);
}

/* --- Tools Grid --- */
.tools-section {
  background: var(--color-bg-soft);
  padding: 64px 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.platform-categories {
  margin-bottom: 36px;
}

.platform-categories-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.platform-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.platform-category-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.platform-category-card:hover {
  border-color: rgba(22, 199, 132, 0.22);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.platform-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.platform-category-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.platform-category-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-muted);
  margin: 0;
}

.tools-also-available {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 20px;
  margin-bottom: 0;
}

.tools-also-available a {
  color: var(--color-blue);
  font-weight: 600;
}

.tools-also-available a:hover {
  color: var(--color-accent);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow var(--transition), border-color var(--transition);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(22, 199, 132, 0.04) 0%, transparent 60%);
  transition: opacity var(--transition);
  pointer-events: none;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(22, 199, 132, 0.2);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card--featured {
  border-color: rgba(22, 199, 132, 0.22);
  background: linear-gradient(180deg, var(--color-card) 0%, rgba(22, 199, 132, 0.03) 100%);
}

.tool-card--featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--accent-cyan, #06B6D4));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0.7;
}

[data-theme="dark"] .tool-card--featured {
  border-color: rgba(34, 197, 94, 0.25);
  background: linear-gradient(180deg, var(--color-card) 0%, rgba(34, 197, 94, 0.04) 100%);
}

.tool-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(22, 199, 132, 0.1);
  border: 1px solid rgba(22, 199, 132, 0.2);
  border-radius: 100px;
}

[data-theme="dark"] .tool-badge {
  color: var(--color-accent);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
}

.tool-card--featured .tool-title {
  padding-right: 48px;
}

.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 14px;
  position: relative;
}

.tool-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  opacity: 0.4;
  background: inherit;
  filter: blur(8px);
  z-index: -1;
}

.icon-green { color: var(--color-success); background: rgba(22, 199, 132, 0.1); }
.icon-blue { color: var(--color-blue); background: rgba(37, 99, 235, 0.1); }
.icon-cyan { color: #0891B2; background: rgba(8, 145, 178, 0.1); }
.icon-orange { color: var(--color-warning); background: rgba(245, 158, 11, 0.1); }
.icon-red { color: var(--color-error); background: rgba(239, 68, 68, 0.1); }
.icon-purple { color: #7C3AED; background: rgba(124, 58, 237, 0.1); }

[data-theme="dark"] .icon-green { background: rgba(34, 197, 94, 0.12); }
[data-theme="dark"] .icon-blue { background: rgba(56, 189, 248, 0.12); }
[data-theme="dark"] .icon-cyan { background: rgba(8, 145, 178, 0.12); }
[data-theme="dark"] .icon-orange { background: rgba(245, 158, 11, 0.12); }
[data-theme="dark"] .icon-red { background: rgba(248, 113, 113, 0.12); }
[data-theme="dark"] .icon-purple { background: rgba(124, 58, 237, 0.12); }

.tool-title {
  font-size: 0.96875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.tool-desc {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 12px;
  line-height: 1.45;
  flex: 1;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-blue);
  transition: color var(--transition), gap var(--transition);
  margin-top: auto;
}

.tool-link:hover {
  color: var(--color-accent);
  gap: 8px;
}

/* --- Why Section --- */
.why-section {
  padding: 64px 0;
  background: var(--color-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: rgba(22, 199, 132, 0.2);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.why-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.why-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
}

/* --- Stats Strip --- */
.stats-section {
  padding: 64px 0;
}

.stats-strip {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: background var(--transition);
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border-soft);
}

.stat-card:hover {
  background: var(--color-bg-soft);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 600;
}

/* --- Latest Checks Table --- */
.checks-section {
  padding: 80px 0 96px;
}

.table-wrapper {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.checks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.checks-table thead {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.checks-table th {
  padding: 16px 22px;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.checks-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text);
  vertical-align: middle;
}

.checks-table tbody tr:last-child td {
  border-bottom: none;
}

.checks-table tbody tr {
  transition: background var(--transition);
}

.checks-table tbody tr:hover {
  background: rgba(22, 199, 132, 0.03);
}

[data-theme="dark"] .checks-table tbody tr:hover {
  background: rgba(34, 197, 94, 0.04);
}

.score-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 110px;
}

.score-bar {
  height: 4px;
  background: var(--color-border-soft);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar-fill {
  display: block;
  height: 100%;
  border-radius: 100px;
}

.score-bar-good { background: linear-gradient(90deg, var(--color-success), #06B6D4); }
.score-bar-warning { background: linear-gradient(90deg, var(--color-warning), #FBBF24); }
.score-bar-error { background: linear-gradient(90deg, var(--color-error), #F87171); }

.domain-name {
  font-weight: 600;
}

.checks-table td:nth-child(4) {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.8125rem;
}

.checks-table tbody tr:hover td:nth-child(4) {
  color: var(--color-primary);
}

[data-theme="dark"] .checks-table tbody tr:hover td:nth-child(4) {
  color: var(--color-text);
}

.score-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8125rem;
}

.score-good { color: var(--color-success); }
.score-warning { color: var(--color-warning); }
.score-error { color: var(--color-error); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-badge.status-pill {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.status-good {
  color: var(--color-success);
  background: rgba(22, 199, 132, 0.1);
}

.status-badge.status-excellent {
  color: var(--color-success);
  background: rgba(22, 199, 132, 0.12);
}

.status-badge.status-warning {
  color: #B45309;
  background: rgba(245, 158, 11, 0.12);
}

[data-theme="dark"] .status-badge.status-warning {
  color: var(--color-warning);
}

.status-badge.status-error {
  color: var(--color-error);
  background: rgba(239, 68, 68, 0.1);
}

/* --- Lead Funnel --- */
.lead-funnel {
  padding: 0 0 96px;
}

.funnel-card {
  position: relative;
  background: var(--funnel-bg);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 60px rgba(7, 26, 51, 0.28);
}

.funnel-accent {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(22, 199, 132, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.funnel-accent::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

.funnel-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.3fr auto;
  gap: 44px;
  align-items: center;
}

.funnel-content {
  max-width: 360px;
}

.funnel-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86EFAC;
}

.funnel-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.funnel-content p {
  color: #CBD5E1;
  font-size: 1.0625rem;
  margin-bottom: 24px;
  max-width: 100%;
  line-height: 1.65;
}

.btn-funnel-cta {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(22, 199, 132, 0.4);
}

.btn-funnel-cta:hover {
  box-shadow: 0 8px 30px rgba(22, 199, 132, 0.5);
}

.funnel-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.5;
}

.funnel-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.service-brand {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.service-brand-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.service-ihoster .service-brand {
  min-height: 32px;
}

.service-webfundament .service-brand {
  min-height: 44px;
}

.service-webfundament .service-brand-img {
  height: 44px;
}

.service-brand-img--dark {
  display: none;
}

[data-theme="dark"] .service-brand-img--light {
  display: none;
}

[data-theme="dark"] .service-brand-img--dark {
  display: block;
}

/* Funnel cards sit on a dark surface — use dark-background logo variants in both themes */
.lead-funnel .service-brand-img--light {
  display: none;
}

.lead-funnel .service-brand-img--dark {
  display: block;
}

.service-subtitle {
  font-size: 0.8125rem;
  color: #CBD5E1;
}

.service-bullets {
  margin-bottom: 22px;
}

.service-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  color: #E2E8F0;
  margin-bottom: 8px;
  line-height: 1.45;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.btn-service {
  width: 100%;
  font-size: 0.875rem;
  padding: 12px 18px;
  font-weight: 700;
}

.btn-service-blue {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-service-blue:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.45);
  transform: translateY(-1px);
}

.btn-service-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-service-purple:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.funnel-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-illustration {
  width: 180px;
  height: auto;
  opacity: 0.85;
}

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  color: #E2E8F0;
  padding-top: 44px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) repeat(3, minmax(100px, 1fr)) minmax(92px, 0.85fr) minmax(92px, 0.85fr) minmax(168px, 1.1fr);
  gap: 26px 22px;
  padding-bottom: 36px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

.footer-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 10px;
  max-width: 280px;
}

.footer-founder {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748B;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 11px;
}

.footer-links {
  line-height: 1.35;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  color: #94A3B8;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-link-button {
  display: inline;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: #94A3B8;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-link-button:hover {
  color: var(--color-accent);
}

.footer-link-button[hidden] {
  display: none;
}

.footer-help {
  min-width: 0;
}

.footer-help-text {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94A3B8;
}

.footer-help-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-help-btn {
  width: 100%;
  justify-content: center;
  padding: 9px 14px;
}

.footer-help-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #CBD5E1;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-help-link:hover {
  color: var(--color-accent);
}

.footer-help-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #94A3B8;
  text-align: center;
}

.footer-operator {
  margin: 0;
  font-size: 0.75rem;
  color: #64748B;
}

[data-theme="dark"] .tools-section {
  background: var(--color-bg-soft);
  border-color: var(--color-border-soft);
}

[data-theme="dark"] .btn-get-help,
[data-theme="dark"] .hero-submit,
[data-theme="dark"] .section-cta .btn-primary,
[data-theme="dark"] .btn-funnel-cta {
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.32);
}

[data-theme="dark"] .site-footer {
  border-top-color: rgba(148, 163, 184, 0.14);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Short / minimized browser windows */
@media (max-height: 860px) and (min-width: 901px) {
  .hero {
    padding: 36px 0 52px;
  }

  .hero-grid {
    gap: 32px 44px;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .hero-content h1 {
    margin-bottom: 14px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
  }

  .hero-search {
    margin-bottom: 16px;
  }

  .trust-indicators {
    margin-bottom: 18px;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .hero {
    padding: 24px 0 40px;
  }
}

@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .funnel-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .funnel-content {
    max-width: none;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  }

  .funnel-services {
    gap: 20px;
  }

  .funnel-illustration {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-help {
    grid-column: span 2;
    max-width: 320px;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-help {
    grid-column: 1 / -1;
    max-width: 340px;
  }

  .nav-link,
  .nav-dropdown-toggle {
    padding: 9px 10px;
    font-size: 0.875rem;
  }

  .dropdown-panel {
    width: 480px;
  }

  .dropdown-panel--compact {
    width: 340px;
  }

  .dropdown-panel--resources {
    width: 480px;
  }
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header.is-menu-open {
    z-index: 500;
    background: var(--color-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-card);
    border-bottom: none;
    padding: 12px 20px 32px;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 501;
    box-shadow: inset 0 1px 0 var(--color-border-soft);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav .nav-link,
  .main-nav .nav-dropdown-toggle {
    color: var(--color-text);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-item {
    position: static;
  }

  .nav-link,
  .nav-dropdown-toggle {
    padding: 12px 14px;
    width: 100%;
    justify-content: space-between;
    font-size: 0.9375rem;
  }

  .nav-dropdown {
    display: none;
    position: static;
    transform: none;
    padding: 0 0 4px;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: block;
  }

  .has-dropdown:hover .nav-dropdown {
    display: none;
  }

  .has-dropdown.is-open:hover .nav-dropdown {
    display: block;
  }

  .dropdown-panel,
  .dropdown-panel--compact {
    width: 100%;
    max-width: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 4px 8px 8px;
    animation: none;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .dropdown-item {
    padding: 10px 10px;
    gap: 10px;
  }

  .dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .dropdown-footer {
    margin-top: 4px;
    border-top: none;
    justify-content: flex-start;
    padding: 8px 10px;
  }

  .dropdown-footer--hub {
    margin-top: 6px;
    padding: 10px;
    border-top: 1px solid var(--color-border-soft);
    border-radius: 10px;
    background: var(--color-bg-soft);
  }

  .dropdown-footer--hub .dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  [data-theme="dark"] .dropdown-panel {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn-get-help {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    padding-top: 0;
    margin-bottom: 28px;
  }

  .hero-preview {
    border-top: 1px solid var(--color-border-soft);
    padding-top: 28px;
  }

  .dashboard-card {
    max-width: 100%;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-score {
    padding-right: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border-soft);
  }

  .dashboard-checks {
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-section {
    padding: 48px 0;
  }

  .nav-mobile-actions {
    display: flex;
  }

  .nav-mobile-actions .btn-get-help {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  .hero-search-inner {
    flex-direction: column;
    padding: 8px;
  }

  .hero-submit {
    width: 100%;
  }

  .stat-card:not(:last-child)::after {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-card {
    border-bottom: 1px solid var(--color-border-soft);
  }

  .funnel-services {
    grid-template-columns: 1fr;
  }

  .funnel-card {
    padding: 36px 24px;
  }

  .funnel-content {
    padding-bottom: 24px;
    margin-bottom: 4px;
  }

  .funnel-content .btn-primary {
    width: 100%;
  }

  .service-card {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-help {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-desc {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 0 48px;
  }

  .hero-content {
    margin-bottom: 24px;
  }

  .hero-preview {
    padding-top: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .tools-section {
    padding: 44px 0;
  }

  .tools-section .section-header {
    margin-bottom: 22px;
  }

  .section-cta {
    margin-top: 22px;
  }

  .tool-card {
    padding: 18px;
  }

  .trust-indicators {
    gap: 12px 16px;
  }

  .trust-indicators li {
    font-size: 0.75rem;
  }

  .dashboard-checks {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .platform-categories-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-scope-line {
    font-size: 0.6875rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .checks-table {
    min-width: 520px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-help {
    grid-column: auto;
    max-width: none;
    order: 2;
  }

  .footer-col {
    order: 3;
  }

  .site-footer {
    padding-top: 36px;
  }

  .footer-help-btn {
    max-width: 280px;
  }

  .stats-section {
    padding: 44px 0;
  }

  .checks-section {
    padding: 44px 0;
  }

  .funnel-content p {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 60px;
  }

  .logo-text {
    font-size: 0.9375rem;
  }

  .hero-social-proof {
    gap: 8px;
    align-items: flex-start;
  }

  .hero-social-proof p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .avatar {
    width: 28px;
    height: 28px;
  }
}

/* --- FAQ accordion (site-wide; toggled by main.js) --- */
.faq-question {
  font-family: inherit;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-muted);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  display: none;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .live-dot {
    animation: none;
  }
}

