/* ══════════════════════════════════════════════════════
   GoGuardian GEO Landing Pages — Shared Stylesheet
   ══════════════════════════════════════════════════════ */

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

:root {
  /* Brand colors — replace at bootstrap time */
  --blue-primary: #0073B3;
  --blue-dark: #151D34;
  --blue-accent: #C5F21F;
  --blue-nav: #002F6C;
  --blue-mid: #0092E3;
  --text-color: #151D34;
  --text-light: #5A6477;
  --bg-white: #ffffff;
  --bg-light: #F5F8FB;
  --bg-blue-gradient: linear-gradient(135deg, #002F6C 0%, #0073B3 100%);
  --border-color: #E1E7EE;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 6px;
  --max-width: 960px;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  font-size: 16px;
  scroll-padding-top: 120px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ──────────────────────────────────────
   Faithful replica of goguardian.com's 2026 navbar — white surface,
   GoGuardian + Pear Deck Learning lockup logo, three mega-menu
   dropdowns with colored product icons and a featured callout card,
   plus Sign in (outlined) and Request a demo (filled blue) CTAs.

   IMPORTANT: mega-menu panels anchor to .site-nav__inner (the centered
   container), not to individual triggers. This means panels are always
   centered on the page — no overflow when the leftmost trigger is
   hovered (the bug that pushed the Products dropdown off-screen).
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-primary);
  color: #fff;
  padding: 0.625rem 1rem;
  font-weight: 600;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-to-main:focus {
  left: 0;
}

.site-nav {
  background: #fff;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border-color);
}
.site-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 80px;
  position: relative;  /* Anchor for mega-menu panels */
}
.site-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-nav__logo img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.site-nav__item { position: static; }  /* Delegate panel positioning to .site-nav__inner */
.site-nav__item > a,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav__item > a:hover,
.site-nav__trigger:hover,
.site-nav__item--mega:hover .site-nav__trigger,
.site-nav__item--mega:focus-within .site-nav__trigger {
  color: var(--blue-primary);
}
.site-nav__item > a[aria-current="page"] {
  color: var(--blue-primary);
}
.site-nav__item--mega:hover .site-nav__trigger,
.site-nav__item--mega:focus-within .site-nav__trigger {
  border-bottom: 2px solid var(--blue-primary);
  margin-bottom: -2px;
}
.site-nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.15s;
}
.site-nav__item--mega:hover .site-nav__chevron,
.site-nav__item--mega:focus-within .site-nav__chevron {
  transform: rotate(180deg);
}

/* ─── Mega-menu panel — anchored to nav inner, centered on page ─── */
.site-nav__mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 47, 108, 0.16), 0 4px 12px rgba(0, 47, 108, 0.04);
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  width: clamp(720px, 76vw, 980px);
  max-width: calc(100vw - 2rem);
}
.site-nav__item--mega:hover .site-nav__mega,
.site-nav__item--mega:focus-within .site-nav__mega {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.site-nav__mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: stretch;
}
.site-nav__mega-col { display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav__mega-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0 0 0.75rem;
}

.site-nav__product {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--blue-dark);
  transition: background 0.15s;
}
.site-nav__product:hover {
  background: var(--bg-light);
}
.site-nav__product-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav__product-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.site-nav__product-text { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.site-nav__product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.site-nav__product-desc {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.4;
}
.site-nav__product:hover .site-nav__product-name {
  color: var(--blue-primary);
}

/* ─── Featured card (mega-menu right side) ─── */
.site-nav__featured {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #E1F4E2;
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--blue-dark);
  transition: transform 0.15s;
}
.site-nav__featured:hover { transform: translateY(-2px); }
.site-nav__featured-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.site-nav__featured-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
  line-height: 1.3;
}
.site-nav__featured-desc {
  font-size: 0.875rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}
.site-nav__featured-cta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-primary);
  border-bottom: 1px solid var(--blue-primary);
  align-self: flex-start;
  padding-bottom: 1px;
}

/* ─── Top-right CTA group: Sign in (outline) + Request a demo (blue) ─── */
.site-nav__cta-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.site-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.site-nav__btn img {
  width: 16px;
  height: 16px;
}
.site-nav__btn--primary {
  background: var(--blue-primary);
  color: #fff !important;
}
.site-nav__btn--primary:hover { background: var(--blue-mid); }
.site-nav__btn--primary:active { transform: translateY(1px); }
.site-nav__btn--secondary {
  background: #fff;
  color: var(--blue-primary) !important;
  border-color: var(--blue-primary);
}
.site-nav__btn--secondary:hover { background: var(--bg-light); }

/* Hamburger toggle — CSS-only checkbox hack, no JS dependency */
.site-nav__toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-dark);
  flex-shrink: 0;
}
.site-nav__toggle-input:focus-visible + .site-nav__toggle {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-nav__hamburger,
.site-nav__hamburger::before,
.site-nav__hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  position: relative;
  transition: transform 0.2s, top 0.2s, bottom 0.2s, opacity 0.2s;
}
.site-nav__hamburger::before,
.site-nav__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.site-nav__hamburger::before { top: -7px; }
.site-nav__hamburger::after  { bottom: -7px; }
.site-nav__toggle-input:checked + .site-nav__toggle .site-nav__hamburger {
  background: transparent;
}
.site-nav__toggle-input:checked + .site-nav__toggle .site-nav__hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav__toggle-input:checked + .site-nav__toggle .site-nav__hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: var(--bg-blue-gradient);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.hero__sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.0625rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Section layout ───────────────────────────────── */
.content-section {
  padding: 3.5rem 2rem;
}
.content-section--alt {
  background: var(--bg-light);
}
.content-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Typography ────────────────────────────────────── */
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-dark);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-wrap: balance;
}
.content-section__inner > h2:first-child,
.content-section > h2:first-child {
  margin-top: 0;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
  color: var(--text-color);
}
.lead-paragraph {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ── Compliance Table ──────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
}
.table-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.1));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
@media (max-width: 768px) {
  .table-wrapper::after { opacity: 1; }
}
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9375rem;
}
.compliance-table thead {
  background: var(--blue-dark);
}
.compliance-table th {
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  white-space: nowrap;
}
.compliance-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}
.compliance-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}
.compliance-table tbody tr:hover {
  background: #eef4fb;
}
.compliance-table .penalty-cell {
  color: #c53030;
  font-weight: 600;
}
.compliance-table .feature-cell {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ── Module Cards ──────────────────────────────────── */
.module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--blue-accent);
}
.module-header__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-blue-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-header__icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ── Key fact callouts ─────────────────────────────── */
.penalty-callout {
  background: #fff5f5;
  border-left: 4px solid #c53030;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}
.penalty-callout strong {
  color: #c53030;
}

/* ── CTA Banner ────────────────────────────────────── */
.cta-banner {
  background: var(--bg-blue-gradient);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-banner__inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner h2 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
}
.cta-button {
  display: inline-block;
  background: var(--blue-accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover {
  background: #1b9ad8;
  transform: translateY(-1px);
}

/* ── Internal Links ───────────────────────────────── */
.internal-links {
  list-style: none;
  padding: 0;
}
.internal-links li {
  margin-bottom: 0.5rem;
}
.internal-links a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.internal-links a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* ── Footer ──────────────────────────────────────────
   Faithful replica of the goguardian.com 2026 footer. Two-section layout:
   left = marketing block (logo + "See GoGuardian in action" CTA + newsletter
   signup), right = navigation columns split across two rows. Bottom = social
   icons + California Notice + Privacy Rights badge + Liminex copyright.

   The navy surface uses subtle large radial-gradient orbs as background
   decoration to echo the live site's visual treatment.
*/
.site-footer {
  background:
    radial-gradient(circle at 18% 78%, rgba(0,115,179,0.18) 0%, transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(0,47,108,0.45) 0%, transparent 36%),
    radial-gradient(circle at 88% 88%, rgba(0,115,179,0.12) 0%, transparent 28%),
    var(--blue-nav);
  color: #fff;
  padding: 4.5rem 2rem 2rem;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 3rem 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left section */
.site-footer__left { display: flex; flex-direction: column; gap: 2rem; }
.site-footer__logo {
  display: inline-block;
  text-decoration: none;
}
.site-footer__logo img {
  display: block;
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);  /* white on navy */
}
.site-footer__cta-block { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.site-footer__cta-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.site-footer__cta-btn { font-size: 1rem; padding: 0.75rem 1.5rem; }

.site-footer__newsletter { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__newsletter-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.site-footer__newsletter-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}
.site-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
}
.site-footer__newsletter-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.15s, background 0.15s;
}
.site-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.55); }
.site-footer__newsletter-input:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: rgba(255,255,255,0.10);
}
.site-footer__newsletter-submit {
  align-self: flex-start;
  background: #fff;
  color: var(--blue-dark);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.site-footer__newsletter-submit:hover { background: var(--bg-light); }

/* Right: navigation columns split across two rows */
.site-footer__nav { display: flex; flex-direction: column; gap: 2.5rem; }
.site-footer__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.site-footer__heading {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 0; }
.site-footer__col li a {
  display: inline-block;
  padding: 0.375rem 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__col li a:hover { color: #fff; }
.site-footer__col--wide { grid-column: span 2; }

/* Bottom row */
.site-footer__bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-top: 2.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.8125rem;
}
.site-footer__bottom-left {}
.site-footer__social {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}
.site-footer__social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.site-footer__social-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.site-footer__bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}
.site-footer__legal-link {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 500;
}
.site-footer__legal-link:hover { color: #fff; }
.site-footer__privacy-rights {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 500;
}
.site-footer__privacy-rights:hover { color: #fff; }
.site-footer__privacy-rights svg { display: block; }
.site-footer__copyright {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  margin: 0;
  padding-top: 0.5rem;
}

.site-footer p { color: rgba(255,255,255,0.7); margin: 0; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ── Jump Nav ──────────────────────────────────────── */
.jump-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 0.25rem 2rem;
  position: sticky;
  top: 64px;
  z-index: 90;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.jump-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}
.jump-nav a {
  color: var(--blue-primary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.875rem 0.75rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.jump-nav a:hover {
  border-bottom-color: var(--blue-accent);
}

/* Section rhythm — larger breathing room after hero, tighter before CTA banner */
.hero + .content-section,
.hero + .jump-nav + .content-section {
  padding-top: 4.5rem;
}
.content-section:has(+ .cta-banner) {
  padding-bottom: 2.5rem;
}

/* ── Direct Answer ────────────────────────────────── */
.direct-answer {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--blue-accent);
}

/* ── Ranked Items (Listicle) ─────────────────────── */
.ranked-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.ranked-item:last-child { border-bottom: none; }
.ranked-item__number {
  width: 40px;
  height: 40px;
  background: var(--bg-blue-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ranked-item__content { flex: 1; }
.ranked-item__content h3 { margin-top: 0; color: var(--blue-dark); }

/* ── Comparison Table ────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9375rem;
}
.comparison-table thead { background: var(--blue-dark); }
.comparison-table th {
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.875rem 1rem;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table__brand { background: var(--blue-primary); }
.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  vertical-align: middle;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-color);
}
.comparison-cell--yes {
  color: #2f855a;
  font-weight: 700;
  font-size: 1.125rem;
}
.comparison-cell--no {
  color: #c53030;
  font-weight: 700;
  font-size: 1.125rem;
}
.comparison-table tbody tr:nth-child(even) { background: var(--bg-light); }
.comparison-table tbody tr:hover { background: #eef4fb; }

/* ── When To Choose ──────────────────────────────── */
.when-to-choose {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.25rem 0;
}
.when-to-choose h3 { color: var(--blue-dark); margin-top: 0; }

/* ── Mid-Content CTA ─────────────────────────────── */
.cta-inline {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.cta-inline p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* ── Hub Cards ─────────────────────────────────────── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.hub-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.hub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-accent);
}
.hub-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.hub-card__desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ── Checklist Items (Buyer's Guide) ─────────────── */
.checklist-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item__marker {
  width: 32px;
  height: 32px;
  background: #2f855a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.checklist-item__content { flex: 1; }
.checklist-item__content h3 { margin-top: 0; }
.checklist-item__maps-to {
  background: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--blue-accent);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

/* ── ROI Metrics ──────────────────────────────────── */
.roi-metric {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.roi-metric:last-child { border-bottom: none; }
.roi-metric__value {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
}
.roi-metric__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 0.5rem;
}

/* ── Integration Details ─────────────────────────── */
.integration-detail {
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--blue-accent);
  margin: 1rem 0;
}
.integration-detail h3 { margin-top: 0; }
.integration-detail p:last-child { margin-bottom: 0; }

/* ── Hub Page Enhancements ─────────────────────────── */
.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.hero__meta time {
  color: rgba(255,255,255,0.7);
}
.hero__stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero__stat {
  text-align: center;
}
.hero__stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.hero__stat + .hero__stat {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 2rem;
}
.section-desc {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.hub-card--featured {
  padding: 2rem;
  border-left: 3px solid var(--blue-accent);
  margin-top: 1.25rem;
}
.hub-card--featured .hub-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.hub-card--featured .hub-card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 640px;
}
.hub-card__cta-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-accent);
}
.hub-card__cta-hint svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s;
}
.hub-card:hover .hub-card__cta-hint svg {
  transform: translateX(3px);
}

/* ── Responsive ────────────────────────────────────── */

/* Tablet / mobile — hamburger nav, mobile padding */
@media (max-width: 768px) {
  /* Mobile scroll offset matches smaller sticky headers */
  html { scroll-padding-top: 108px; }

  /* Nav: show hamburger, collapse menu + CTA group into drawer */
  .site-nav { padding: 0 1rem; }
  .site-nav__inner { height: 64px; gap: 1rem; }
  .site-nav__logo img { height: 32px; }
  .site-nav__toggle { display: flex; }
  .site-nav__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .site-nav__toggle-input:checked ~ .site-nav__menu { display: flex; }
  .site-nav__item { width: 100%; }
  .site-nav__item > a,
  .site-nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
  }
  .site-nav__item--mega:hover .site-nav__trigger,
  .site-nav__item--mega:focus-within .site-nav__trigger {
    border-bottom: none;
    margin-bottom: 0;
  }
  /* Mega-menus: render inline as expanded sub-lists in the drawer */
  .site-nav__mega {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    padding: 0.5rem 1.25rem 0.75rem;
    border-radius: 0;
    width: 100%;
    max-width: none;
    display: none;
  }
  .site-nav__item--mega:hover .site-nav__mega,
  .site-nav__item--mega:focus-within .site-nav__mega,
  .site-nav__item--mega .site-nav__trigger:focus + .site-nav__mega,
  .site-nav__toggle-input:checked ~ .site-nav__menu .site-nav__mega {
    display: block;
    transform: none;
  }
  .site-nav__mega-grid {
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
  }
  .site-nav__mega-heading { margin-top: 0.5rem; font-size: 0.8125rem; }
  .site-nav__featured { display: none; }  /* skip the featured card on mobile */
  /* CTA group: keep "Request a demo" visible at the right; hide Sign in to save space */
  .site-nav__cta-group { gap: 0.5rem; }
  .site-nav__btn--secondary { display: none; }
  .site-nav__btn { font-size: 0.8125rem; padding: 0.5rem 1rem; }

  .content-section { padding: 2.5rem 1.25rem; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero + .content-section,
  .hero + .jump-nav + .content-section { padding-top: 3rem; }
  .jump-nav { top: 64px; padding: 0.25rem 1rem; }
  .jump-nav__inner { gap: 0.25rem; }
  .jump-nav a { padding: 0.875rem 0.625rem; }
  .module-header__icon { width: 40px; height: 40px; }
  .ranked-item { gap: 0.75rem; padding: 1rem 0; }
  .ranked-item__number { width: 32px; height: 32px; font-size: 0.875rem; }
  .comparison-table { min-width: 500px; }
  .direct-answer { padding: 1rem; }
  .cta-inline { padding: 1.5rem 1rem; margin: 1.5rem 0; }
  .when-to-choose { padding: 1rem; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card--featured { padding: 1.5rem; }
  .hero__stats { gap: 1rem; }
  .hero__stat + .hero__stat { padding-left: 1rem; }
  .hero__stat-value { font-size: 1.375rem; }
  .hero__meta { flex-direction: column; gap: 0.5rem; }
  .checklist-item { gap: 0.75rem; }
  .checklist-item__marker { width: 28px; height: 28px; font-size: 0.75rem; }
  .checklist-item__maps-to { padding: 0.5rem 0.75rem; }
  .integration-detail { padding: 1rem; }
  h2 { margin-top: 1.5rem; }
}

/* Tablet — stack footer left section above columns */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 3rem; }
  .site-footer__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__col--wide { grid-column: span 1; }
}
@media (max-width: 768px) {
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .site-footer__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }
  .site-footer__bottom-right { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .site-footer__row { grid-template-columns: 1fr; }
  .site-footer__newsletter-form { max-width: 100%; }
}
@media (max-width: 480px) {
  .site-nav { padding: 0 0.75rem; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .content-section { padding: 2rem 1rem; }
  .hero + .content-section,
  .hero + .jump-nav + .content-section { padding-top: 2.5rem; }
  .cta-banner { padding: 2.5rem 1rem; }
  .jump-nav { padding: 0.25rem 0.75rem; }
}

/* ── Author byline (in hero) ─────────────────────────── */
.hero__byline {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.hero__byline a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(197,242,31,0.6);
  text-underline-offset: 3px;
}
.hero__byline a:hover {
  text-decoration-color: var(--blue-accent);
}

/* ── Author bio block (above CTA) ────────────────────── */
.author-bio {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.author-bio__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-blue-gradient);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-bio__avatar-fallback {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}
.author-bio__content { flex: 1; min-width: 0; }
.author-bio__content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0 0 0.25rem;
}
.author-bio__role {
  font-size: 0.875rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.author-bio__content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0 0 0.5rem;
}
.author-bio__reviewer {
  font-size: 0.875rem;
  color: var(--text-light);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}
.author-bio__reviewer strong { color: var(--blue-dark); }
.author-bio__links {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}
.author-bio__links a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 768px) {
  .author-bio { margin: 2rem 1.25rem 0; padding: 1.5rem; flex-direction: column; gap: 1rem; }
}

/* ── Downloads (DigitalDocument schema-aligned) ──────── */
.downloads-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.downloads-list__item { margin: 0; }
.downloads-list__link {
  display: block;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--blue-accent);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-left-color 0.2s;
}
.downloads-list__link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-left-color: var(--blue-primary);
}
.downloads-list__kind {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(0, 115, 179, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.625rem;
}
.downloads-list__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.downloads-list__desc {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}
.downloads-list__cta {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-primary);
}
.downloads-list__cta em {
  color: var(--text-light);
  font-style: italic;
  font-weight: 400;
}

/* ── Sources / Authoritative outbound citations ──────── */
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.875rem;
}
.sources-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-color);
}
.sources-list li::before {
  content: '↗';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-primary);
  font-weight: 600;
}
.sources-list a {
  color: var(--blue-primary);
  text-decoration: none;
}
.sources-list a:hover {
  text-decoration: underline;
}
.sources-list strong {
  color: var(--blue-dark);
  font-weight: 600;
}

/* ── Glossary ──────────────────────────────────────── */
.glossary-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.glossary-list dt {
  color: var(--blue-dark);
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  scroll-margin-top: 120px;
}
.glossary-list dt strong {
  color: var(--blue-primary);
  font-weight: 600;
}
.glossary-list dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-color);
  padding-left: 0;
}
.glossary-list dt:not(:first-child) {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

/* ── Accessibility ─────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--blue-accent);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
