/* ============================================================
   MyPass — Design System
   Brand: Crimson Red #C0102A | Near-black #0D0D0D | White
   ============================================================ */

/* ── Self-hosted fonts (no render-blocking external request) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

/* ── Anti-FOUC gate: keep body hidden until JS marks the page ready
   (nav/footer/icons are JS-injected). Safety keyframe reveals after
   2.5s even if JS never runs, so the page can't get stuck hidden. ── */
html:not(.mp-ready) body { opacity: 0; animation: mpSafetyReveal 0s linear 2.5s forwards; }
body { opacity: 1; transition: opacity 0.2s ease; }
@keyframes mpSafetyReveal { to { opacity: 1; } }

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

:root {
  --red:       #C0102A;
  --red-dark:  #8B0B1E;
  --red-light: #E8192F;
  --red-glow:  rgba(192, 16, 42, 0.18);
  --black:     #0D0D0D;
  --surface:   #141414;
  --surface-2: #1C1C1C;
  --border:    rgba(255,255,255,0.08);
  --white:     #FFFFFF;
  --grey-100:  #F5F5F5;
  --grey-200:  #E8E8E8;
  --grey-400:  #9A9A9A;
  --grey-600:  #5A5A5A;
  --text:      #FFFFFF;
  --text-muted:#A0A0A0;

  --font: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --nav-h: 72px;
  --max-w: 1200px;
  --max-w-wide: 1440px;

  --shadow-red: 0 0 40px rgba(192, 16, 42, 0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.display { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.h1      { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.h2      { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.h3      { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.h4      { font-size: 1.125rem; }
.label   { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); }
.body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); }
.body    { font-size: 1rem; line-height: 1.7; color: var(--text-muted); }
.body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}
.btn-ghost {
  color: var(--red-light);
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--red); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.nav__dropdown-link:hover { background: var(--surface-2); }
.nav__dropdown-link-icon {
  width: 32px;
  height: 32px;
  background: var(--surface-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red-light);
  font-size: 0.875rem;
}
.nav__dropdown-link-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.nav__dropdown-link-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.nav__dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Page Hero (dark) ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero > .container { width: 100%; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(192,16,42,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(192,16,42,0.06) 0%, transparent 60%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(192,16,42,0.12);
  border: 1px solid rgba(192,16,42,0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 32px;
}
.hero__label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__title { margin-bottom: 28px; }
.hero__title em { color: var(--red-light); font-style: normal; }
.hero__body { margin-bottom: 40px; max-width: 620px; color: var(--text-muted); }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__subline { font-size: 0.875rem; color: var(--grey-600); max-width: 640px; line-height: 1.6; }

/* Sub-page hero (shorter) */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(192,16,42,0.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__label { margin-bottom: 16px; }
.page-hero__title { margin-bottom: 20px; }
.page-hero__body { max-width: 640px; }

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 100px 0; }
.section--light { background: #F8F8F8; color: var(--black); }
.section--light .body, .section--light .body-lg { color: var(--grey-600); }
.section--light .label { color: var(--red); }
.section--surface { background: var(--surface); }
.section-header { margin-bottom: 64px; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }

/* ── Stat bar ──────────────────────────────────────────────── */
.stat-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-bar__item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat-bar__item:last-child { border-right: none; }
.stat-bar__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red-light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-bar__label { font-size: 0.875rem; color: var(--text-muted); }

/* ── Product Cards ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Centered grid — symmetric layout for 2-item sets or orphan last rows */
.product-grid.is-centered,
.info-grid.is-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.product-grid.is-centered > *,
.info-grid.is-centered > * {
  flex: 1 1 300px;
  max-width: 360px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.25s;
}
.product-card:hover {
  border-color: rgba(192,16,42,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}
.product-card:hover::before { opacity: 1; }
.product-card__icon {
  width: 48px; height: 48px;
  background: rgba(192,16,42,0.1);
  border: 1px solid rgba(192,16,42,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 1.25rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.product-card__icon svg { width: 22px; height: 22px; }
.product-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red-light);
  transition: gap 0.2s;
  margin-top: auto;
}
.product-card:hover .product-card__link { gap: 10px; }

/* ── Feature list ──────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-item__icon {
  width: 20px; height: 20px;
  background: rgba(192,16,42,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red-light);
  font-size: 0.6rem;
}
.feature-item__text { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.feature-item__text strong { color: var(--white); font-weight: 600; }

/* ── Two-col split ─────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.split__visual-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split__visual-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(192,16,42,0.08) 0%, transparent 70%);
}
.split__visual-placeholder {
  font-size: 4rem;
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--red-light);
}
.split__visual-placeholder.icon-svg { opacity: 0.25; }
.split__visual-placeholder.icon-svg svg { width: 80px; height: 80px; }

/* value-card icons (about page) */
.value-card__icon {
  width: 48px; height: 48px;
  background: rgba(192,16,42,0.1);
  border: 1px solid rgba(192,16,42,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  margin-bottom: 20px;
}
.value-card__icon svg { width: 22px; height: 22px; }

/* ── Client logos ──────────────────────────────────────────── */
.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}
.logos-strip__item {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  transition: color 0.2s;
}
.logos-strip__item:hover { color: var(--text-muted); }

/* ── Marquee integrations ──────────────────────────────────── */
.integrations-section { padding: 80px 0; overflow: hidden; }
.integrations-section .section-header { margin-bottom: 48px; }

.marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding-bottom: 2px;
}
/* fade edges */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right,  var(--black), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,   var(--black), transparent); }

.marquee { display: flex; }
.marquee__track {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  will-change: transform;
}
.marquee--left  .marquee__track { animation: marquee-left  60s linear infinite; }
.marquee--right .marquee__track { animation: marquee-right 60s linear infinite; }

@keyframes marquee-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Pause on hover */
.marquee-wrap:hover .marquee__track { animation-play-state: paused; }

/* Individual chip */
.int-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
  flex-shrink: 0;
}
.int-chip:hover {
  border-color: rgba(192,16,42,0.4);
  background: var(--surface-2);
}
.int-chip__cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
}
/* ── Logo carousel chips ── */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  height: 64px;
  min-width: 120px;
}
.logo-chip img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.2s;
}
.logo-chip:hover img {
  filter: grayscale(0%) brightness(1);
}

.int-chip__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

/* ── Integration chips ─────────────────────────────────────── */
.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.integration-chip:hover {
  border-color: rgba(192,16,42,0.35);
  color: var(--white);
}

/* ── Testimonial ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--red-light);
  border: 1px solid var(--border);
}
.testimonial-card__name { font-size: 0.875rem; font-weight: 600; }
.testimonial-card__role { font-size: 0.75rem; color: var(--text-muted); }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  opacity: 0.6;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner__title { margin-bottom: 16px; }
.cta-banner__body { margin-bottom: 36px; color: rgba(255,255,255,0.8); }
.cta-banner__actions { display: flex; align-items: center; justify-content: center; gap: 16px; }
.btn-white {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover { background: var(--grey-100); transform: translateY(-1px); }
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ── Nav placeholder — prevents FOUC before JS injects nav ── */
#nav-placeholder {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px; /* matches --nav-h */
  background: var(--black);
  z-index: 1000;
}

/* ── Nav & Mega-menu ────────────────────────────────────────── */
.nav { position:fixed;top:0;left:0;right:0;z-index:1000000;height:var(--nav-h);display:flex;align-items:center;border-bottom:1px solid transparent;transition:all .3s ease; }
.nav.scrolled { background:rgba(13,13,13,.96);backdrop-filter:blur(14px);border-bottom-color:var(--border); }
.nav__inner { display:flex;align-items:center;justify-content:space-between;width:100%;max-width:100%;padding:0 48px; }
.nav__logo { display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:800;letter-spacing:-.02em;flex-shrink:0; }
.nav__logo-mark { width:34px;height:34px;background:var(--red);border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:800;color:#fff; }
.nav__links { display:flex;align-items:center;gap:0;margin:0 auto; }
.nav__mobile-cta { display:none; }
.nav__item { position:static; }
.nav__link { display:flex;align-items:center;gap:5px;padding:10px 18px;font-size:.9rem;font-weight:500;color:var(--text-muted);transition:color .2s;white-space:nowrap;border-bottom:2px solid transparent;height:var(--nav-h);box-sizing:border-box; }
.nav__link:hover { color:#fff; }
.nav__link svg { width:13px;height:13px;transition:transform .2s;flex-shrink:0; }
.nav__item:hover .nav__link { color:#fff; }
.nav__item:hover .nav__link svg { transform:rotate(180deg); }
.nav__item:hover .nav__link { border-bottom-color:var(--red); }
.mega { position:fixed;top:var(--nav-h);left:0;right:0;background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);box-shadow:0 24px 48px rgba(0,0,0,.5);opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .22s ease;z-index:999999; }
.nav__item:hover .mega { opacity:1;visibility:visible;transform:translateY(0); }
.mega__inner { max-width:1300px;margin:0 auto;padding:24px 48px 0; }
.mega__cols { display:grid;gap:0;padding:24px 0 0; }
.mega__cols--4 { grid-template-columns:1fr 1fr 1fr 1fr; }
.mega__cols--3 { grid-template-columns:1fr 1fr 1fr; }
.mega__cols--2 { grid-template-columns:1fr 1fr; }
.mega__col--span2 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mega__col--span2 .mega__col-head { grid-column: span 2; }
.mega__col { padding:0 32px 32px 0; }
.mega__col:first-child { padding-left:0; }
.mega__col + .mega__col { border-left:1px solid var(--border);padding-left:32px; }
.mega__col-head { font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-600);margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid var(--border); }
.mega__item { display:block;padding:10px 12px;border-radius:6px;margin-bottom:2px;transition:background .15s;text-decoration:none; }
.mega__item:hover { background:var(--surface-2); }
.mega__item-title { font-size:.9rem;font-weight:600;color:#fff;margin-bottom:3px;transition:color .15s; }
.mega__item:hover .mega__item-title { color:var(--red-light); }
.mega__item-desc { font-size:.78rem;color:var(--text-muted);line-height:1.5; }
.mega__industry-row { display:flex;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--border);text-decoration:none;transition:all .15s; }
.mega__industry-row:last-child { border-bottom:none; }
.mega__industry-row:hover .mega__industry-name { color:var(--red-light); }
.mega__industry-name { font-size:.875rem;font-weight:700;color:#fff;width:140px;flex-shrink:0;transition:color .15s; }
.mega__industry-stat { font-size:.75rem;color:var(--text-muted); }
.mega__industry-stat strong { color:var(--red-light);font-weight:700; }
.mega__col-head-row { display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid var(--border); }
.mega__col-head-row .mega__col-head { margin-bottom:0;padding-bottom:0;border-bottom:none; }
.mega__see-all { font-size:.72rem;font-weight:700;color:var(--red-light);letter-spacing:.04em;text-decoration:none;white-space:nowrap; }
.mega__see-all:hover { color:var(--red); }
.mega__suite-banner { display:flex;align-items:center;gap:20px;background:transparent;border-bottom:none;border-radius:6px;padding:10px 12px;margin-bottom:20px;text-decoration:none;transition:background .15s; }
.mega__suite-banner:hover { background:var(--surface-2); }
.mega__suite-banner__label { font-size:.9rem;font-weight:800;color:#fff;white-space:nowrap;letter-spacing:.01em;transition:color .15s; }
.mega__suite-banner:hover .mega__suite-banner__label { color:var(--red-light); }
.mega__suite-banner__desc { font-size:.78rem;color:var(--text-muted);flex:1;line-height:1.5; }
.mega__suite-banner__cta { font-size:.75rem;font-weight:700;color:var(--red-light);white-space:nowrap; }
.mega__bar { border-top:1px solid var(--border);padding:14px 0;display:flex;align-items:center;gap:12px; }
.mega__bar-label { font-size:.8rem;font-weight:700;color:#fff;white-space:nowrap; }
.mega__bar-desc { font-size:.8rem;color:var(--text-muted);flex:1; }
.mega__bar-link { font-size:.8rem;font-weight:700;color:var(--red-light);white-space:nowrap;text-decoration:none; }
.mega__bar-link:hover { color:var(--red); }
.nav__actions { display:flex;align-items:center;gap:10px;flex-shrink:0; }
.nav__toggle { display:none;flex-direction:column;gap:5px;padding:8px;cursor:pointer; }
.nav__toggle span { display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:all .3s; }
@media(max-width:1024px) {
  /* ── Hide desktop nav, show hamburger ── */
  .nav__links,.nav__actions { display:none; }
  .nav__toggle { display:flex; }

  /* backdrop-filter creates a containing block that breaks the
     position:fixed menu panel — use a solid bg on mobile instead */
  .nav.scrolled { backdrop-filter:none; -webkit-backdrop-filter:none; background:rgba(13,13,13,.98); }

  /* ── Open overlay — full screen panel ── */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--black);
    overflow-y: auto;
    z-index: 999998;
    padding: 0;
    margin: 0;
  }

  /* ── Top-level nav items — full-width rows ── */
  .nav__item {
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    border-radius: 0;
    border-bottom: none !important; /* kill desktop red underline on hover */
    height: auto;
    box-sizing: border-box;
  }
  .nav__link svg { width:18px;height:18px;flex-shrink:0;transition:transform .25s; }
  .nav__item.open > .nav__link svg { transform:rotate(180deg); }
  .nav__item:hover .nav__link,
  .nav__item:hover .nav__link svg { color:var(--white); transform:none; }
  .nav__item.open > .nav__link svg { transform:rotate(180deg); }

  /* ── Mega hidden by default, accordion on .open ── */
  .mega {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface);
  }
  .nav__item.open > .mega { display: block; }

  /* ── Flatten mega to simple link list ── */
  .mega__inner { padding: 8px 0 16px; }

  /* Hide everything except the first mega__col (By Component) */
  .mega__col--span2,
  .mega__col:nth-child(3),
  .mega__col-head,
  .mega__col-head-row,
  .mega__item-desc,
  .mega__suite-banner__desc,
  .mega__suite-banner__cta,
  .mega__bar,
  .mega__industry-row { display:none !important; }

  /* Suite banner → single clean link row */
  .mega__suite-banner {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    margin: 0;
  }
  .mega__suite-banner__label { font-size:0.9rem;font-weight:700; }

  /* Cols grid → flat */
  .mega__cols--4,.mega__cols--3,.mega__cols--2 { display:flex;flex-direction:column;gap:0; max-width:none !important; margin:0 !important; }
  .mega__col { padding:0 !important;border:none !important; }
  .mega__col+.mega__col { border:none; padding:0; }

  /* Each link row */
  .mega__item {
    display: block;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
  }
  .mega__item:last-child { border-bottom: none; }
  .mega__item-title { font-size:0.9rem;font-weight:500;color:var(--white); }

  /* Mobile CTA buttons — flows after nav items */
  .nav__mobile-cta {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border);
    border-bottom: none;
    list-style: none;
  }
  .nav__mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.95rem;
  }
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--grey-600);
}
.footer__legal { display: flex; gap: 24px; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: var(--grey-600); }

/* ── Info cards (integrations / feature deep-dives) ────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.info-card:hover { border-color: rgba(192,16,42,0.3); transform: translateY(-2px); }
.info-card__label { margin-bottom: 8px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── Steps / Process ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--border);
}
.step { text-align: center; position: relative; }
.step__number {
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Industry cards ────────────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.25s;
}
.industry-card:hover {
  border-color: rgba(192,16,42,0.3);
  transform: translateY(-2px);
}
.industry-card__icon {
  width: 48px; height: 48px;
  background: rgba(192,16,42,0.1);
  border: 1px solid rgba(192,16,42,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}
.industry-card__icon svg { width: 22px; height: 22px; }
.industry-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

/* ── Accordion / FAQ ───────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--surface-2); }
.faq-question svg { flex-shrink: 0; transition: transform 0.25s; color: var(--text-muted); width: 18px; height: 18px; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer__inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--surface);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Form ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.9375rem;
  color: var(--white);
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,16,42,0.12);
}
.form-input::placeholder { color: var(--grey-600); }
.form-select option { background: var(--surface-2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Pricing card ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all 0.25s;
}
.pricing-card--featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow-red);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-card__name { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 4px;
}
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card__desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-card__divider { height: 1px; background: var(--border); margin: 24px 0; }
.pricing-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-muted); }
.pricing-feature::before {
  content: '✓';
  color: var(--red-light);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── Editions: 4-up card grid ──────────────────────────────── */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.editions-grid .pricing-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.editions-grid .pricing-card__features { flex: 1; }
.editions-grid .pricing-card__price span { display: block; font-size: 0.85rem; margin-top: 4px; }
.editions-grid .pricing-card__name { min-height: 2.6em; }
.editions-grid .pricing-card__desc { min-height: 112px; }
.edition-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(220,38,38,0.1);
  border: 1px solid var(--red-light);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.editions-note {
  font-size: 0.78rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-top: 20px;
}
.editions-note strong { color: var(--text-muted); }
@media(max-width:1024px) {
  .editions-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:560px) {
  .editions-grid { grid-template-columns: 1fr; }
}

/* ── Persona callout ───────────────────────────────────────── */
.persona-callout {
  background: rgba(192,16,42,0.06);
  border: 1px solid rgba(192,16,42,0.2);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.persona-callout__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(192,16,42,0.12);
  border: 2px solid rgba(192,16,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.persona-callout__name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
}
.persona-callout__quote {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.55;
  font-style: italic;
}
.persona-callout__context {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Scenario grid ─────────────────────────────────────────── */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s;
}
.scenario-card:hover { border-color: rgba(192,16,42,0.3); }
.scenario-card__who {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 8px;
}
.scenario-card__headline {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.scenario-card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Blog / Resource cards ─────────────────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}
.resource-card:hover {
  border-color: rgba(192,16,42,0.3);
  transform: translateY(-3px);
}
.resource-card__thumb {
  height: 180px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}
.resource-card__body { padding: 24px; }
.resource-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(192,16,42,0.1);
  border: 1px solid rgba(192,16,42,0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 12px;
}
.resource-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.resource-card__meta { font-size: 0.8rem; color: var(--grey-600); }

/* ── Team cards ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.team-card__avatar {
  width: 72px; height: 72px;
  background: rgba(192,16,42,0.1);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red-light);
  border: 2px solid rgba(192,16,42,0.2);
}
.team-card__name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.8rem; color: var(--text-muted); }

/* ── Table ─────────────────────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th {
  background: var(--surface-2);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: var(--red-light); font-weight: 700; }
.comparison-table .cross { color: var(--grey-600); }

/* ── Notice / alert ────────────────────────────────────────── */
.notice {
  padding: 16px 20px;
  background: rgba(192,16,42,0.08);
  border: 1px solid rgba(192,16,42,0.2);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.notice strong { color: var(--red-light); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stat-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-bar__item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .stat-bar__item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  /* Reduce nav inner padding on mobile */
  .nav__inner { padding: 0 16px; }

  /* Prevent stat bar items overflowing on mobile */
  .stat-bar { overflow: hidden; }
  .stat-bar__item { padding: 0 16px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__visual { order: unset; }
  .product-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .logos-strip { gap: 28px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-banner__actions { flex-direction: column; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up--d1 { animation-delay: 0.1s; }
.fade-up--d2 { animation-delay: 0.2s; }
.fade-up--d3 { animation-delay: 0.3s; }

/* ── Utilities ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-red { color: var(--red-light); }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.w-full { width: 100%; }

/* ============================================================
   ARTICLE / INSIGHTS PAGES  (shared template — was inlined per page)
   ============================================================ */
/* ── Article hero ── */
.article-hero { background: var(--black); border-bottom: 1px solid var(--border); padding: 80px 0 64px; }
.article-hero__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.article-hero__tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-light); background: rgba(220,38,38,0.12); padding: 4px 10px; border-radius: 4px; }
.article-hero__date { font-size: 0.78rem; color: var(--grey-600); }
.article-hero__read { font-size: 0.78rem; color: var(--grey-600); }
.article-hero__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; max-width: 800px; }
.article-hero__intro { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 680px; }
.article-hero__author { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-hero__author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.article-hero__author-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.article-hero__author-role { font-size: 0.75rem; color: var(--grey-600); }

/* ── Article body + layout ── */
.article-body { padding: 64px 0 80px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }

/* ── Article content ── */
.article-content h2 { font-size: 1.45rem; font-weight: 800; color: #fff; margin: 48px 0 16px; padding-top: 48px; border-top: 1px solid var(--border); line-height: 1.25; }
.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-content h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 28px 0 10px; }
.article-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.article-content ul { list-style: none; padding-left: 2px; margin-bottom: 18px; }
.article-content ol { padding-left: 22px; margin-bottom: 18px; list-style: decimal; }
.article-content ol li::marker { color: var(--red-light); font-weight: 700; }
.article-content li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.article-content ul li { position: relative; padding-left: 24px; }
.article-content ul li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }
.article-content strong { color: #fff; font-weight: 600; }

/* ── Callout / pull quote ── */
.article-callout { background: var(--surface); border-left: 3px solid var(--red-light); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 32px 0; }
.article-callout p { font-size: 1rem; font-weight: 500; color: #fff !important; line-height: 1.6; margin: 0 !important; }
.article-callout__source { font-size: 0.72rem !important; color: var(--grey-600) !important; font-weight: 400 !important; margin-top: 10px !important; }

/* ── Stat highlight ── */
.article-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.article-stat-row--2 { grid-template-columns: repeat(2, 1fr); }
.article-stat-row--4 { grid-template-columns: repeat(4, 1fr); }
.article-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.article-stat__number { font-size: 2rem; font-weight: 800; color: var(--red-light); line-height: 1; margin-bottom: 8px; }
.article-stat__label { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* ── Checklist ── */
.article-checklist { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin: 32px 0; }
.article-checklist__title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 16px; }
.article-checklist ul { list-style: none; padding: 0; margin: 0; }
.article-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem !important; color: var(--text-muted) !important; line-height: 1.5 !important; margin: 0 !important; }
.article-checklist li:last-child { border-bottom: none; }
.article-checklist li::before { content: '✓'; color: var(--red-light); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; margin-top: 1px; }

/* ── Archetype grid (cards) ── */
.article-archetype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.article-archetype { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.article-archetype__label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 8px; }
.article-archetype__title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.article-archetype__body { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ── Case-study cards ── */
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.case-study { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.case-study__org { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 6px; }
.case-study__title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.case-study__body { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ── Criteria badges ── */
.criteria-badge { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; }
.criteria-badge--must { background: rgba(220,38,38,0.15); color: var(--red-light); }
.criteria-badge--important { background: rgba(234,179,8,0.15); color: #eab308; }
.criteria-badge--nice { background: rgba(34,197,94,0.15); color: #22c55e; }

/* ── Framework steps ── */
.framework-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; display: flex; gap: 20px; align-items: flex-start; }
.framework-step__num { font-size: 1.2rem; font-weight: 800; color: var(--red-light); flex-shrink: 0; line-height: 1; margin-top: 2px; min-width: 24px; }
.framework-step__title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.framework-step__body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── NIST table ── */
.nist-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.nist-table th { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-600); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.nist-table td { font-size: 0.88rem; color: var(--text-muted); padding: 12px 14px; border-bottom: 1px solid var(--border); line-height: 1.5; vertical-align: top; }
.nist-table tr:last-child td { border-bottom: none; }
.nist-table td strong { color: #fff; }

/* ── Article sidebar ── */
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-toc__title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 16px; }
.sidebar-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sidebar-toc li a { display: block; font-size: 0.8rem; color: var(--text-muted); text-decoration: none; padding: 6px 8px; border-radius: 4px; line-height: 1.4; transition: background 0.15s, color 0.15s; }
.sidebar-toc li a { position: relative; }
.sidebar-toc li a:hover { background: var(--surface-2); color: #fff; }
.sidebar-toc li a.is-active { color: #fff; background: var(--surface-2); box-shadow: inset 2px 0 0 var(--red-light); }
.sidebar-cta { background: var(--red); border-radius: var(--radius); padding: 28px 24px; margin-bottom: 24px; }
.sidebar-cta__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.sidebar-cta__title { font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.sidebar-cta__body { font-size: 0.78rem; color: rgba(255,255,255,0.8); line-height: 1.55; margin-bottom: 20px; }
.sidebar-cta__link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 700; color: #fff; text-decoration: none; padding: 9px 16px; border-radius: var(--radius); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); transition: background 0.2s, gap 0.2s; }
.sidebar-cta__link:hover { background: rgba(255,255,255,0.22); gap: 11px; }
.sidebar-contact { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; background: var(--surface); }
.sidebar-contact__title { font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.sidebar-contact__body { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }
.sidebar-contact__link { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 700; color: var(--red-light); text-decoration: none; }
.sidebar-contact__link span { transition: transform 0.2s; }
.sidebar-contact__link:hover span { transform: translateX(4px); }
.sidebar-related { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sidebar-related__title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 16px; }
.sidebar-related__item { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.sidebar-related__item:last-child { border-bottom: none; }
.sidebar-related__tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 4px; }
.sidebar-related__name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); line-height: 1.4; transition: color 0.15s; }
.sidebar-related__item:hover .sidebar-related__name { color: var(--red-light); }

@media(max-width:960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-stat-row, .article-stat-row--2, .article-stat-row--4 { grid-template-columns: 1fr 1fr; }
  .article-archetype-grid { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  .article-stat-row, .article-stat-row--2, .article-stat-row--4 { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE-SPECIFIC SECTIONS  (moved out of per-page <style> blocks)
   ============================================================ */

/* ── page: security.html ── */

    /* ── Section number badges ── */
    .sec-section {
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }
    .sec-section:last-of-type { border-bottom: none; }
    .sec-section--surface { background: var(--surface); }

    .sec-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(220,38,38,0.12);
      border: 1px solid var(--red-light);
      font-size: 0.72rem;
      font-weight: 800;
      color: var(--red-light);
      flex-shrink: 0;
    }
    .sec-heading-row {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 40px;
      margin-top: 10px;
    }
    .sec-heading-row .h2 { margin: 0; line-height: 1.2; }
    .sec-heading-row p.label { margin: 0 0 6px; }

    /* ── Trust badge grid ── */
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 56px;
    }
    .trust-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .trust-card__icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--red-light);
    }
    .trust-card__title {
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.3;
    }
    .trust-card__body {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* ── Two-col detail layout ── */
    .sec-detail-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }
    .sec-detail-grid--3 {
      grid-template-columns: repeat(3, 1fr);
    }

    /* ── Control item ── */
    .control-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .control-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .control-item:first-child { padding-top: 0; }
    .control-item:last-child { border-bottom: none; padding-bottom: 0; }
    .control-item__icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: rgba(220,38,38,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--red-light);
    }
    .control-item__title {
      font-size: 0.88rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 4px;
    }
    .control-item__body {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── Hosting architecture diagram ── */
    .arch-diagram {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 40px;
      margin-top: 48px;
      display: grid;
      grid-template-columns: 1fr auto 1fr auto 1fr;
      gap: 0;
      align-items: stretch;
    }
    .arch-node {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .arch-node--primary {
      background: var(--red);
      border-color: var(--red);
    }
    .arch-node__label {
      font-size: 0.58rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
    }
    .arch-node__title {
      font-size: 0.88rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.3;
    }
    .arch-node__sub {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.4;
    }
    .arch-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;
      flex-direction: column;
      gap: 4px;
    }
    .arch-arrow__line {
      width: 40px;
      height: 1px;
      background: var(--border);
      position: relative;
    }
    .arch-arrow__label {
      font-size: 0.58rem;
      color: var(--grey-600);
      white-space: nowrap;
      text-align: center;
    }

    /* ── Compliance table ── */
    .compliance-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 32px;
    }
    .compliance-table th {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      text-align: left;
      padding: 12px 16px;
      border-bottom: 1px solid var(--border);
    }
    .compliance-table td {
      font-size: 0.82rem;
      color: var(--text-muted);
      padding: 14px 16px;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
      line-height: 1.5;
    }
    .compliance-table tr:last-child td { border-bottom: none; }
    .compliance-table td:first-child {
      font-weight: 600;
      color: #fff;
      white-space: nowrap;
      width: 22%;
    }
    .compliance-table td:nth-child(2) { width: 20%; }
    .badge-yes {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 0.72rem;
      font-weight: 700;
      color: #4ade80;
    }
    .badge-yes::before { content: '✓'; }
    .badge-partial {
      display: inline-flex;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--red-light);
    }

    /* ── Callout box ── */
    .sec-callout {
      background: var(--surface);
      border-left: 3px solid var(--red-light);
      border-radius: 0 var(--radius) var(--radius) 0;
      padding: 24px 28px;
      margin: 32px 0;
    }
    .sec-callout p {
      font-size: 0.95rem;
      font-weight: 500;
      color: #fff;
      line-height: 1.6;
      margin: 0;
    }

    @media(max-width:1024px) {
      .trust-grid { grid-template-columns: repeat(2, 1fr); }
      .sec-detail-grid { grid-template-columns: 1fr; gap: 32px; }
      .sec-detail-grid--3 { grid-template-columns: 1fr 1fr; }
    }
    @media(max-width:700px) {
      .trust-grid { grid-template-columns: 1fr 1fr; }
      .arch-diagram { grid-template-columns: 1fr; }
      .arch-arrow { padding: 8px 0; transform: rotate(90deg); }
      .sec-detail-grid--3 { grid-template-columns: 1fr; }
    }
    @media(max-width:500px) {
      .trust-grid { grid-template-columns: 1fr; }
    }

/* ── page: about/index.html ── */
    /* ── About page overrides ── */

    /* Hero — centred, no breadcrumb */
    .about-hero {
      position: relative;
      padding: calc(var(--nav-h) + 100px) 0 100px;
      background: var(--black);
      text-align: center;
      overflow: hidden;
    }
    .about-hero__bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(192,16,42,0.11) 0%, transparent 70%);
    }
    .about-hero__grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 60px 60px;
      opacity: 0.35;
    }
    .about-hero__inner {
      position: relative;
      z-index: 1;
      max-width: 760px;
      margin: 0 auto;
    }
    .about-hero__label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 5px 14px;
      background: rgba(192,16,42,0.12);
      border: 1px solid rgba(192,16,42,0.25);
      border-radius: 100px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--red-light);
      margin-bottom: 28px;
    }
    .about-hero__label::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--red-light);
      border-radius: 50%;
    }
    .about-hero h1 {
      font-size: clamp(2.25rem, 5vw, 3.75rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 24px;
    }
    .about-hero h1 em { color: var(--red-light); font-style: normal; }
    .about-hero p {
      font-size: 1.125rem;
      color: var(--text-muted);
      max-width: 580px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ── Impact stats ── */
    .about-stats {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 0;
    }
    .about-stats__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .about-stat {
      padding: 48px 32px;
      text-align: center;
      border-right: 1px solid var(--border);
    }
    .about-stat:last-child { border-right: none; }
    .about-stat__number {
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      color: #fff;
      line-height: 1;
      margin-bottom: 8px;
    }
    .about-stat__number span { color: var(--red-light); }
    .about-stat__label {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* ── Story block ── */
    .about-story {
      padding: 100px 0;
      background: var(--black);
      text-align: center;
    }
    .about-story__inner {
      max-width: 800px;
      margin: 0 auto;
    }
    .about-story__eyebrow {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--red-light);
      margin-bottom: 24px;
    }
    .about-story__headline {
      font-size: clamp(1.75rem, 3.5vw, 2.75rem);
      font-weight: 800;
      letter-spacing: -0.025em;
      line-height: 1.2;
      margin-bottom: 40px;
    }
    .about-story__body {
      font-size: 1.0625rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 24px;
    }
    .about-story__body strong { color: #fff; font-weight: 600; }

    /* ── Timeline ── */
    .about-timeline {
      padding: 100px 0;
      background: var(--surface);
    }
    .timeline {
      position: relative;
      margin-top: 60px;
    }
    .timeline::before {
      content: '';
      position: absolute;
      top: 24px;
      left: 0; right: 0;
      height: 2px;
      background: var(--border);
    }
    .timeline__track {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
    }
    .timeline__item {
      padding: 0 16px;
      text-align: center;
    }
    .timeline__dot {
      width: 14px; height: 14px;
      background: var(--surface-2);
      border: 2px solid var(--border);
      border-radius: 50%;
      margin: 17px auto 24px;
      position: relative;
      z-index: 1;
      transition: all 0.2s;
    }
    .timeline__item--active .timeline__dot {
      background: var(--red);
      border-color: var(--red);
      box-shadow: 0 0 0 4px rgba(192,16,42,0.2);
      width: 18px; height: 18px;
      margin-top: 15px;
    }
    .timeline__year {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--grey-600);
      margin-bottom: 8px;
    }
    .timeline__item--active .timeline__year { color: var(--red-light); }
    .timeline__title {
      font-size: 0.875rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
      line-height: 1.3;
    }
    .timeline__desc {
      font-size: 0.775rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ── Values ── */
    .about-values {
      padding: 100px 0;
      background: var(--black);
    }
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 60px;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .value-card {
      padding: 40px 32px;
      background: var(--surface);
      border-right: 1px solid var(--border);
      transition: background 0.2s;
    }
    .value-card:last-child { border-right: none; }
    .value-card:hover { background: var(--surface-2); }
    .value-card__icon {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .value-card__title {
      font-size: 1.0625rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
    }
    .value-card__body {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ── FastPass partner ── */
    .about-partner {
      padding: 100px 0;
      background: var(--surface);
    }
    .partner-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .partner-logo-box {
      background: #000;
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius-xl);
      aspect-ratio: 4/3;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .partner-logo-box img {
      max-height: 280px;
      max-width: 90%;
      display: block;
      margin: auto;
    }
    .partner-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 24px;
    }
    .partner-badge {
      padding: 5px 12px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    @media(max-width: 900px) {
      .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
      .about-stat { border-bottom: 1px solid var(--border); }
      .timeline__track { grid-template-columns: 1fr 1fr; }
      .timeline::before { display: none; }
      .values-grid { grid-template-columns: 1fr; }
      .value-card { border-right: none; border-bottom: 1px solid var(--border); }
      .partner-split { grid-template-columns: 1fr; gap: 40px; }
    }

/* ── page: integrations/index.html ── */
    /* ── ITSM flow diagram ── */
    .itsm-flow {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin: 48px 0 40px;
    }
    .itsm-flow__side {
      padding: 32px 28px;
      background: var(--surface);
    }
    .itsm-flow__side--right { background: var(--surface-2); }
    .itsm-flow__center {
      padding: 32px 24px;
      background: var(--red);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-align: center;
      min-width: 130px;
    }
    .itsm-flow__center-label {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
    }
    .itsm-flow__center-title {
      font-size: 0.9rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }
    .itsm-flow__tag {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 10px;
    }
    .itsm-flow__title {
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
    }
    .itsm-flow__list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .itsm-flow__list li {
      font-size: 0.76rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.4;
    }
    .itsm-flow__list li::before {
      content: '';
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 5px;
    }
    .itsm-url-example {
      margin-top: 16px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 10px 14px;
      font-family: monospace;
      font-size: 0.7rem;
      color: var(--grey-400);
      word-break: break-all;
      line-height: 1.6;
    }
    .itsm-url-example span { color: var(--red-light); }

    /* ── Docs link inside cards ── */
    .doc-link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-top: 12px;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--grey-600);
      text-decoration: none;
      transition: color 0.2s;
    }
    .doc-link:hover { color: var(--red-light); }

    /* ── SAP version grid ── */
    .sap-version-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }
    .sap-chip {
      padding: 4px 12px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    /* ── MFA method grid ── */
    .mfa-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .mfa-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
    }
    .mfa-card__provider {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 8px;
    }
    .mfa-card__name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .mfa-card__desc {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.5;
      flex: 1;
      margin-bottom: 12px;
    }
    .mfa-card__methods {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .mfa-method-tag {
      padding: 3px 10px;
      background: rgba(192,16,42,0.08);
      border: 1px solid rgba(192,16,42,0.2);
      border-radius: 100px;
      font-size: 0.65rem;
      font-weight: 600;
      color: var(--red-light);
    }

    @media(max-width:900px) {
      .itsm-flow { grid-template-columns: 1fr; }
      .itsm-flow__center { min-width: auto; }
      .mfa-grid { grid-template-columns: 1fr 1fr; }
    }
    @media(max-width:600px) {
      .mfa-grid { grid-template-columns: 1fr; }
    }

/* ── page: resources/customer-stories.html ── */
    .ref-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .ref-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: all 0.25s;
      position: relative;
      overflow: hidden;
    }
    .ref-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--red);
      opacity: 0;
      transition: opacity 0.25s;
    }
    .ref-card:hover { border-color: rgba(192,16,42,0.35); transform: translateY(-3px); }
    .ref-card:hover::before { opacity: 1; }
    .ref-card__header { display: flex; align-items: center; justify-content: space-between; }
    .ref-card__industry {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      background: rgba(192,16,42,0.08);
      border: 1px solid rgba(192,16,42,0.15);
      border-radius: 100px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--red-light);
    }
    .ref-card__users {
      font-size: 1.75rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--red-light);
      line-height: 1;
    }
    .ref-card__users-label {
      font-size: 0.7rem;
      color: var(--grey-600);
      margin-top: 2px;
    }
    .ref-card__name {
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.35;
    }
    .ref-card__category {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .scale-bar {
      background: var(--surface-2);
      border-radius: 100px;
      height: 4px;
      overflow: hidden;
    }
    .scale-bar__fill {
      height: 100%;
      background: var(--red);
      border-radius: 100px;
    }

    .industry-filter {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 40px;
      justify-content: center;
    }
    .filter-btn {
      padding: 8px 16px;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 600;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s;
    }
    .filter-btn:hover, .filter-btn.active {
      background: var(--red);
      border-color: var(--red);
      color: white;
    }

    @media (max-width: 768px) {
      .ref-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 1024px) {
      .ref-grid { grid-template-columns: repeat(2, 1fr); }
    }

/* ── page: solutions/remote-hybrid.html ── */
    .cache-flow {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
      margin-top: 48px;
    }
    .cache-flow::before {
      content: '';
      position: absolute;
      top: 23px;
      left: 10%;
      width: 80%;
      height: 1px;
      background: var(--border);
    }
    .cache-step {
      text-align: center;
      padding: 0 12px;
      position: relative;
    }
    .cache-step__dot {
      width: 16px; height: 16px;
      background: var(--surface-2);
      border: 2px solid var(--border);
      border-radius: 50%;
      margin: 16px auto 20px;
      position: relative;
      z-index: 1;
    }
    .cache-step--active .cache-step__dot {
      background: var(--red);
      border-color: var(--red);
    }
    .cache-step__title {
      font-size: .82rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .cache-step__desc {
      font-size: .72rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    @media(max-width:900px) {
      .cache-flow { grid-template-columns: 1fr; }
      .cache-flow::before { display: none; }
    }

/* ── page: products/helpdesk.html ── */
    .use-case-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 48px;
    }
    .use-case-cell {
      background: var(--surface);
      padding: 32px 28px;
    }
    .use-case-cell--alt { background: var(--surface-2); }
    .use-case-cell__tag {
      font-size: .62rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 12px;
    }
    .use-case-cell__title {
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .use-case-cell__desc {
      font-size: .82rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .use-case-cell__link {
      font-size: .75rem;
      font-weight: 700;
      color: var(--red-light);
      text-decoration: none;
    }
    .use-case-cell__link:hover { text-decoration: underline; }
    .stat-trio {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .stat-trio__card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-align: center;
    }
    .stat-trio__num {
      font-size: 2rem;
      font-weight: 800;
      color: var(--red-light);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-trio__label {
      font-size: .75rem;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .stat-trio__source {
      font-size: .62rem;
      color: var(--grey-600);
      margin-top: 6px;
    }
    @media(max-width:900px) {
      .use-case-split { grid-template-columns: 1fr; }
      .stat-trio { grid-template-columns: 1fr 1fr; }
    }

/* ── page: products/ivm.html ── */
    /* ── Trust diagram ── */
    .trust-split {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0;
      align-items: stretch;
      margin-top: 60px;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .trust-side {
      padding: 40px 36px;
      background: var(--surface);
    }
    .trust-side--right { background: var(--surface); }
    .trust-side__label {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 12px;
    }
    .trust-side__title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
    }
    .trust-side__items {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .trust-side__items li {
      font-size: 0.82rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.5;
    }
    .trust-side__items li::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 6px;
    }
    .trust-center {
      padding: 40px 32px;
      background: var(--red);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      text-align: center;
      min-width: 160px;
    }
    .trust-center__icon {
      font-size: 2rem;
    }
    .trust-center__label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
    }
    .trust-center__title {
      font-size: 1rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }

    /* ── Auth strategy cards ── */
    .auth-strategy-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin: 40px 0 32px;
    }
    .auth-strategy-card {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
    }
    .auth-strategy-card__name {
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .auth-strategy-card__desc {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.5;
      flex: 1;
    }
    .auth-strategy-card__exception {
      font-size: 0.72rem;
      color: var(--red-light);
      font-weight: 600;
      border-top: 1px solid var(--border);
      padding-top: 12px;
      margin-top: 16px;
      line-height: 1.4;
    }
    .exception-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 0 0 40px;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .exception-arrow__line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }
    .exception-arrow__badge {
      padding: 8px 20px;
      background: rgba(192,16,42,0.12);
      border: 1px solid rgba(192,16,42,0.3);
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--red-light);
      white-space: nowrap;
    }

    /* ── Process flow ── */
    .process-flow {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      margin-top: 48px;
      position: relative;
    }
    .process-flow::before {
      content: '';
      position: absolute;
      top: 28px; left: 10%; right: 10%;
      height: 2px;
      background: var(--border);
    }
    .process-step {
      text-align: center;
      padding: 0 12px;
      position: relative;
    }
    .process-step__dot {
      width: 16px; height: 16px;
      background: var(--surface-2);
      border: 2px solid rgba(192,16,42,0.5);
      border-radius: 50%;
      margin: 20px auto 20px;
      position: relative;
      z-index: 1;
    }
    .process-step--active .process-step__dot {
      background: var(--red);
      border-color: var(--red);
      box-shadow: 0 0 0 4px rgba(192,16,42,0.2);
    }
    .process-step__title {
      font-size: 0.8rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
      line-height: 1.3;
    }
    .process-step__desc {
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    @media(max-width:900px) {
      .trust-split { grid-template-columns: 1fr; }
      .trust-center { min-width: auto; }
      .auth-strategy-grid { grid-template-columns: repeat(2,1fr); }
      .process-flow { grid-template-columns: 1fr 1fr; }
      .process-flow::before { display: none; }
    }

/* ── page: products/mypass-cloud.html ── */
    /* ── Suite component map ── */
    .suite-map {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 56px;
    }
    .suite-map__cell {
      background: var(--surface);
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: background 0.2s;
    }
    .suite-map__cell:hover { background: var(--surface-2); }
    .suite-map__cell--highlight {
      background: var(--surface);
      border: none;
    }
    .suite-map__cell--highlight:hover { background: var(--surface-2); }
    .suite-map__tag {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--grey-600);
    }
    .suite-map__name {
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
    }
    .suite-map__desc {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.55;
      flex: 1;
    }
    .suite-map__link {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--red-light);
      text-decoration: none;
    }
    .suite-map__link:hover { text-decoration: underline; }

    /* ── Two-path diagram ── */
    .two-path {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 48px;
    }
    .two-path__side {
      padding: 36px 32px;
      background: var(--surface);
    }
    .two-path__side--left { background: var(--surface-2); }
    .two-path__side--right { background: var(--surface-2); }
    .two-path__center {
      padding: 36px 24px;
      background: var(--red);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-align: center;
      min-width: 140px;
    }
    .two-path__center-label {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
    }
    .two-path__center-title {
      font-size: 0.95rem;
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }
    .two-path__tag {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 8px;
    }
    .two-path__title {
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
    }
    .two-path__items {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .two-path__items li {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.5;
    }
    .two-path__items li::before {
      content: '';
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 6px;
    }

    /* ── Stat comparison ── */
    .stat-compare {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .stat-compare__card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 24px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .stat-compare__number {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--red-light);
      line-height: 1;
      margin-bottom: 8px;
    }
    .stat-compare__label {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .stat-compare__source {
      font-size: 0.65rem;
      color: var(--grey-600);
      margin-top: 8px;
    }

    @media(max-width:900px) {
      .suite-map { grid-template-columns: 1fr; }
      .two-path { grid-template-columns: 1fr; }
      .two-path__center { min-width: auto; }
      .stat-compare { grid-template-columns: 1fr 1fr; }
    }

/* ── page: products/password-filter.html ── */
    /* ── Policy paths diagram ── */
    .policy-paths {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin: 48px 0 0;
    }
    .policy-path {
      background: var(--surface);
      padding: 24px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    .policy-path__name {
      font-size: 0.85rem;
      font-weight: 700;
      color: #fff;
    }
    .policy-path__desc {
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .policy-path__arrow {
      font-size: 1.2rem;
      color: var(--grey-600);
    }
    .policy-path__result {
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--red-light);
      letter-spacing: 0.05em;
    }
    .policy-paths-label {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 0;
      padding: 16px 24px;
      background: rgba(192,16,42,0.08);
      border: 1px solid rgba(192,16,42,0.2);
      border-top: none;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .policy-paths-label__text {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--red-light);
    }

    /* ── Group policy examples ── */
    .group-policy-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .group-policy-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .group-policy-card__header {
      padding: 16px 20px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
    }
    .group-policy-card__group {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 4px;
    }
    .group-policy-card__name {
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
    }
    .group-policy-card__rules {
      padding: 16px 20px;
      background: var(--surface);
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .group-policy-card__rules li {
      list-style: none;
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.4;
    }
    .group-policy-card__rules li::before {
      content: '';
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 5px;
    }

    /* ── Rule type chips ── */
    .rule-type-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .rule-type-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .rule-type-card__tag {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 8px;
    }
    .rule-type-card__name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .rule-type-card__desc {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .rule-examples {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .rule-example-tag {
      padding: 2px 10px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.65rem;
      font-weight: 600;
      color: var(--grey-500);
      font-family: monospace;
    }

    @media(max-width:900px) {
      .policy-paths { grid-template-columns: repeat(2,1fr); }
      .group-policy-grid { grid-template-columns: 1fr 1fr; }
      .rule-type-grid { grid-template-columns: 1fr; }
    }

/* ── page: products/password-sync.html ── */
    /* ── Platform grid ── */
    .platform-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 48px;
    }
    .platform-card {
      background: var(--surface);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .platform-card:hover { background: var(--surface-2); }
    .platform-card__tag {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
    }
    .platform-card__name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
    }
    .platform-card__desc {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ── Scope toggle cards (Selective vs Global) ── */
    .scope-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 48px;
    }
    .scope-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .scope-card__header {
      padding: 24px 28px 20px;
      border-bottom: 1px solid var(--border);
    }
    .scope-card--selective .scope-card__header { background: rgba(192,16,42,0.06); }
    .scope-card--global   .scope-card__header { background: var(--surface-2); }
    .scope-card__tag {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 8px;
    }
    .scope-card__title {
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .scope-card__subtitle {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .scope-card__body {
      padding: 24px 28px;
      background: var(--surface);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .scope-card__body li {
      list-style: none;
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.5;
    }
    .scope-card__body li::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 6px;
    }

    /* ── How it works flow ── */
    .sync-flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-top: 48px;
      position: relative;
    }
    .sync-flow::before {
      content: '';
      position: absolute;
      top: 28px; left: 12%; right: 12%;
      height: 2px;
      background: var(--border);
    }
    .sync-step {
      text-align: center;
      padding: 0 16px;
      position: relative;
    }
    .sync-step__dot {
      width: 16px; height: 16px;
      background: var(--surface-2);
      border: 2px solid rgba(192,16,42,0.5);
      border-radius: 50%;
      margin: 20px auto 20px;
      position: relative;
      z-index: 1;
    }
    .sync-step--active .sync-step__dot {
      background: var(--red);
      border-color: var(--red);
      box-shadow: 0 0 0 4px rgba(192,16,42,0.2);
    }
    .sync-step__title {
      font-size: 0.82rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
      line-height: 1.3;
    }
    .sync-step__desc {
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ── Gap callout ── */
    .gap-callout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-top: 48px;
    }
    .gap-side {
      padding: 36px 32px;
    }
    .gap-side--sso {
      background: var(--surface-2);
      border-right: 1px solid var(--border);
    }
    .gap-side--sync { background: rgba(192,16,42,0.06); }
    .gap-side__tag {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 12px;
    }
    .gap-side__title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
    }
    .gap-side ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .gap-side ul li {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.5;
    }
    .gap-side--sso li::before {
      content: '✗';
      color: #666;
      font-size: 0.7rem;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .gap-side--sync li::before {
      content: '✓';
      color: var(--red-light);
      font-size: 0.7rem;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }

    @media(max-width:900px) {
      .platform-grid { grid-template-columns: repeat(2,1fr); }
      .scope-grid { grid-template-columns: 1fr; }
      .sync-flow { grid-template-columns: 1fr 1fr; }
      .sync-flow::before { display: none; }
      .gap-callout { grid-template-columns: 1fr; }
      .gap-side--sso { border-right: none; border-bottom: 1px solid var(--border); }
    }

/* ── page: products/pre-login.html ── */
    .prelogin-flow {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
      margin-top: 48px;
    }
    .prelogin-flow::before {
      content: '';
      position: absolute;
      top: 23px;
      left: 10%;
      width: 80%;
      height: 1px;
      background: var(--border);
    }
    .prelogin-step {
      text-align: center;
      padding: 0 12px;
      position: relative;
    }
    .prelogin-step__dot {
      width: 16px; height: 16px;
      background: var(--surface-2);
      border: 2px solid var(--border);
      border-radius: 50%;
      margin: 16px auto 20px;
      position: relative;
      z-index: 1;
    }
    .prelogin-step--active .prelogin-step__dot {
      background: var(--red);
      border-color: var(--red);
    }
    .prelogin-step__title {
      font-size: .82rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }
    .prelogin-step__desc {
      font-size: .72rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .custom-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 24px;
    }
    .custom-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px 20px;
    }
    .custom-card__label {
      font-size: .65rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--grey-600);
      margin-bottom: 6px;
    }
    .custom-card p {
      font-size: .78rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    @media(max-width:900px) {
      .prelogin-flow { grid-template-columns: 1fr; }
      .prelogin-flow::before { display: none; }
      .custom-grid { grid-template-columns: 1fr; }
    }

/* ── page: products/sspr.html ── */
    /* ── LoA visual ── */
    .loa-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }
    .loa-card {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .loa-card__header {
      padding: 16px 20px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
    }
    .loa-card__tier {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 4px;
    }
    .loa-card--standard .loa-card__tier { color: #6ee7b7; }
    .loa-card--enhanced .loa-card__tier { color: #fbbf24; }
    .loa-card--high     .loa-card__tier { color: var(--red-light); }
    .loa-card__title {
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
    }
    .loa-card__body {
      padding: 16px 20px;
      background: var(--surface);
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .loa-card__who {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 12px;
    }
    .loa-card__methods {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }
    .loa-card__methods li {
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      gap: 8px;
      align-items: flex-start;
      line-height: 1.4;
    }
    .loa-card__methods li::before {
      content: '';
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--red-light);
      flex-shrink: 0;
      margin-top: 5px;
    }

    /* ── Auth method grid ── */
    .auth-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 40px;
    }
    .auth-chip {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 16px;
      text-align: center;
    }
    .auth-chip__icon { font-size: 1.3rem; margin-bottom: 8px; }
    .auth-chip__name { font-size: 0.78rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
    .auth-chip__type { font-size: 0.68rem; color: var(--grey-600); }

    /* ── Customer data section ── */
    .data-sources {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 40px;
    }
    .data-source {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .data-source__icon {
      width: 40px; height: 40px;
      background: rgba(192,16,42,0.1);
      border: 1px solid rgba(192,16,42,0.18);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--red-light);
      flex-shrink: 0;
    }
    .data-source__icon svg { width: 18px; height: 18px; }
    .data-source__title { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
    .data-source__body { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

    /* ── Scenario cards ── */
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    .scenario-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      transition: border-color 0.2s;
    }
    .scenario-card:hover { border-color: rgba(192,16,42,0.35); }
    .scenario-card__who {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--red-light);
      margin-bottom: 12px;
    }
    .scenario-card__headline {
      font-size: 0.975rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .scenario-card__body {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ── Security callout ── */
    .security-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 24px;
    }
    .security-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
    }
    .security-badge::before {
      content: '';
      width: 6px; height: 6px;
      background: #6ee7b7;
      border-radius: 50%;
    }

    @media(max-width:900px) {
      .loa-grid { grid-template-columns: 1fr; }
      .auth-grid { grid-template-columns: repeat(2, 1fr); }
      .data-sources { grid-template-columns: 1fr; }
      .scenario-grid { grid-template-columns: 1fr; }
    }

/* ============================================================
   WORKFORCE IDENTITY VERIFICATION (WIV) BENCHMARK
   ============================================================ */
.wiv-lvl-1 { --wiv-c: #C44539; }
.wiv-lvl-2 { --wiv-c: #D08A1F; }
.wiv-lvl-3 { --wiv-c: #3Fae6a; }
.wiv-lvl-4 { --wiv-c: #4f8cd8; }

/* explainer grid */
.wiv-explain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.wiv-explain { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.wiv-explain__num { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--red-light); margin-bottom: 12px; }
.wiv-explain__title { font-size: 0.92rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.wiv-explain__desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* quiz */
.wiv-quiz { margin-top: 40px; }
.wiv-dim-block { margin-bottom: 40px; }
.wiv-dim-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.wiv-dim-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(220,38,38,0.12); border: 1px solid var(--red-light); color: var(--red-light); font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.wiv-dim-title { font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1.25; }
.wiv-dim-intro { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin-top: 4px; }
.wiv-q { padding: 24px 0; border-bottom: 1px solid var(--border); }
.wiv-q:last-child { border-bottom: none; }
.wiv-q__text { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 16px; line-height: 1.5; }
.wiv-opt-list { display: flex; flex-direction: column; gap: 8px; }
.wiv-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; color: var(--text-muted); font: inherit; font-size: 0.85rem; line-height: 1.5; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.wiv-opt:hover { border-color: var(--red-light); color: #fff; }
.wiv-opt__dot { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--grey-600); margin-top: 1px; transition: border-color 0.15s, background 0.15s; }
.wiv-opt.is-selected { border-color: var(--red); background: rgba(192,16,42,0.08); color: #fff; }
.wiv-opt.is-selected .wiv-opt__dot { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--surface); }

/* progress bar */
.wiv-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; }
.wiv-bar__progress { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); }
.wiv-bar__progress span { color: var(--red-light); font-weight: 700; }

/* results */
.wiv-results { display: none; margin-top: 48px; }
.wiv-results.is-visible { display: block; }
.wiv-overall { border: 1px solid var(--wiv-c); border-left: 4px solid var(--wiv-c); border-radius: var(--radius-lg); padding: 32px; background: var(--surface); margin-bottom: 32px; }
.wiv-overall__tag { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; }
.wiv-overall__level { font-size: 2rem; font-weight: 800; color: var(--wiv-c); line-height: 1; margin-bottom: 16px; }
.wiv-overall__title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.wiv-overall__desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.wiv-overall__weak { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 16px; }
.wiv-dim-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.wiv-rcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.wiv-rcard.is-weak { border-color: var(--wiv-c); box-shadow: inset 3px 0 0 var(--wiv-c); }
.wiv-rcard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.wiv-rcard__dim { font-size: 0.82rem; font-weight: 700; color: #fff; }
.wiv-rcard__flag { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wiv-c); border: 1px solid var(--wiv-c); border-radius: 100px; padding: 2px 8px; white-space: nowrap; }
.wiv-rcard__level { font-size: 1.3rem; font-weight: 800; color: var(--wiv-c); line-height: 1; }
.wiv-rcard__label { font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 12px; }
.wiv-meter { height: 6px; border-radius: 100px; background: var(--bg); overflow: hidden; }
.wiv-meter__fill { height: 100%; background: var(--wiv-c); border-radius: 100px; }
.wiv-rcard__gap { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.wiv-actions-wrap { margin-bottom: 40px; }
.wiv-action { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 16px; background: var(--surface); }
.wiv-action__dim { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wiv-action__lvl { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wiv-c); border: 1px solid var(--wiv-c); border-radius: 100px; padding: 2px 8px; }
.wiv-action ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wiv-action li { position: relative; padding-left: 20px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.wiv-action li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }
.wiv-result-cta { text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; background: var(--surface); }
.wiv-result-cta .cta-banner__actions { justify-content: center; margin-top: 20px; }

@media(max-width:860px) {
  .wiv-explain-grid { grid-template-columns: 1fr 1fr; }
  .wiv-dim-results { grid-template-columns: 1fr; }
}
@media(max-width:560px) {
  .wiv-explain-grid { grid-template-columns: 1fr; }
}

/* WIV/WAB question control badges */
.wiv-q__refs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.wiv-ref { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; line-height: 1.4; white-space: nowrap; }

/* WAB → WIV bridge block (benchmark results) */
.wiv-bridge { border: 1px solid var(--border); border-left: 3px solid var(--red-light); border-radius: var(--radius-lg); padding: 32px; background: var(--surface); margin-bottom: 32px; }
.wiv-bridge.is-emphasised { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red), var(--shadow-red); }
.wiv-bridge__tag { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red-light); margin-bottom: 10px; }
.wiv-bridge .btn { margin-top: 8px; }

/* ============================================================
   BLOG — listing page (editorial / asymmetric)
   ============================================================ */

/* ── Featured hero card ── */
.blog-featured { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 52px; background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(192,16,42,0.12) 0%, transparent 60%),
    var(--surface); text-decoration: none; transition: border-color 0.3s, transform 0.4s ease; }
.blog-featured::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red-light); transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease; }
.blog-featured:hover { border-color: rgba(192,16,42,0.4); transform: translateY(-3px); }
.blog-featured:hover::before { transform: scaleY(1); }
.blog-featured__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-light); margin-bottom: 18px; }
.blog-featured__title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 18px; letter-spacing: -0.01em; }
.blog-featured__desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 26px; }
.blog-featured__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--red-light); }
.blog-featured__cta span { transition: transform 0.3s ease; }
.blog-featured:hover .blog-featured__cta span { transform: translateX(5px); }
.blog-featured__aside { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-left: 48px; border-left: 1px solid var(--border); }
.blog-featured__kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-600); }
.blog-featured__quote { font-size: 1.05rem; font-weight: 500; color: #fff; line-height: 1.45; }

/* ── Category section ── */
.blog-section { margin-top: 72px; }
.blog-section:first-of-type { margin-top: 0; }
.blog-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.blog-section__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.blog-section__count { font-size: 0.72rem; font-weight: 500; color: var(--grey-600); letter-spacing: 0.04em; }

/* ── Bento grid: 3-col, dense. Lead = 2x2, gapless for n=3 and n=6 ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: 20px; }
.blog-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; background: var(--surface); text-decoration: none; transition: border-color 0.3s, transform 0.4s ease, background 0.3s; }
.blog-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red-light), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.blog-card:hover { border-color: rgba(192,16,42,0.4); transform: translateY(-4px); background: var(--surface-2); }
.blog-card:hover::after { transform: scaleX(1); }
.blog-card__tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-light); margin-bottom: 6px; }
.blog-card__date { font-size: 0.7rem; color: var(--grey-600); margin-bottom: 16px; }
.blog-card__title { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.005em; }
.blog-card__desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.blog-card__cta { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--red-light); margin-top: auto; }
.blog-card__cta span { transition: transform 0.3s ease; }
.blog-card:hover .blog-card__cta span { transform: translateX(4px); }

/* Lead card — 2x2, larger type, excerpt shown */
.blog-card--lead { grid-column: span 2; grid-row: span 2; padding: 36px 40px; background:
    radial-gradient(ellipse 90% 120% at 0% 0%, rgba(192,16,42,0.08) 0%, transparent 55%),
    var(--surface); }
.blog-card--lead .blog-card__title { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.22; margin-bottom: 16px; }
.blog-card--lead .blog-card__desc { font-size: 0.92rem; line-height: 1.7; margin-bottom: 28px; }
.blog-card--lead .blog-card__date { margin-bottom: 22px; }
.blog-card--lead .blog-card__cta { font-size: 0.85rem; }

/* Wide card — single-item section, full row, horizontal */
.blog-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; padding: 32px 40px; }
.blog-card--wide .blog-card__body { flex: 1; }
.blog-card--wide .blog-card__title { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 12px; }
.blog-card--wide .blog-card__desc { margin-bottom: 0; max-width: 720px; }
.blog-card--wide .blog-card__cta { margin-top: 0; white-space: nowrap; }

@media(max-width:1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--lead { grid-column: span 2; grid-row: span 1; }
  .blog-featured { grid-template-columns: 1fr; gap: 32px; }
  .blog-featured__aside { padding-left: 0; padding-top: 28px; border-left: none; border-top: 1px solid var(--border); }
}
@media(max-width:640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--lead { grid-column: span 1; }
  .blog-card--wide { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-featured { padding: 28px 24px; }
  .blog-card--lead { padding: 28px 26px; }
}

/* ============================================================
   ERROR PAGES (/error/*) — self-contained, on-brand
   ============================================================ */
.error-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--black); position: relative; overflow: hidden; }
.error-page__bg { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(ellipse 60% 50% at 50% 28%, rgba(192,16,42,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(192,16,42,0.06) 0%, transparent 60%); }
.error-page__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%); }
.error-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px 32px; }
.error-nav__logo img { height: 32px; width: auto; display: block; }
.error-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 24px 72px; }
.error-inner { max-width: 660px; width: 100%; }
.error__glyph { width: 84px; height: 84px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--red-light); }
.error__glyph svg { width: 40px; height: 40px; }
.error__code { font-size: clamp(4.5rem, 19vw, 11rem); font-weight: 800; line-height: 0.86; letter-spacing: -0.045em; margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff 0%, var(--red-light) 135%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error__tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-light); margin-bottom: 18px; }
.error__title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.01em; }
.error__text { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.error__text strong { color: #fff; font-weight: 600; }
.error__search { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 28px; }
.error__search input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: #fff; font-size: 0.9rem; font-family: inherit; }
.error__search input::placeholder { color: var(--grey-600); }
.error__search input:focus { outline: none; border-color: var(--red-light); box-shadow: 0 0 0 1px var(--red-light); }
.error__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error__note { margin-top: 26px; font-size: 0.8rem; color: var(--grey-600); }
.error__note a { color: var(--red-light); text-decoration: none; }
.error__note a:hover { text-decoration: underline; }
.error-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1200px; margin: 0 auto; width: 100%; padding: 20px 32px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--grey-600); }
.error-foot__links { display: flex; gap: 20px; flex-wrap: wrap; }
.error-foot a { color: var(--text-muted); text-decoration: none; }
.error-foot a:hover { color: var(--red-light); }
@media (max-width: 520px) {
  .error__search { flex-direction: column; }
  .error-foot { justify-content: center; text-align: center; }
}
