@font-face {
  font-family: "Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Design system tokens — Cyberou marketing (see DESIGN.md) */
  --deep-navy: #000000;
  --deep-navy-hover: #1a1a1a;
  --deep-teal: #04202D;
  --midnight-teal: #05151B;
  --parchment: #FFFAF5;
  --warm-parchment: #F0E9E2;
  --sky-blue: #50ABDA;
  --sky-blue-hover: #3e9acc;
  --action-blue: #0873DD;
  --link-blue: #0088FF;
  --warm-blush: #D6C8C1;
  --dusty-rose: #CAB8B0;
  --warm-taupe: #A69790;
  --slate-gray: #4A4F5A;
  --ds-medium-gray: #707070;
  --silver: #C1C6C8;
  --light-gray: #F2F2F2;
  --lightest-gray: #FAFAFA;
  /* Theme surface + text tokens (light Parchment canvas per DESIGN.md §7) */
  --bg: #FFFAF5;
  --bg-elevated: #FFFFFF;
  --bg-muted: #F0E9E2;
  --border: rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text: #000000;
  --text-muted: #4A4F5A;
  --text-soft: #707070;
  --accent: #000000;
  --accent-dim: rgba(0, 0, 0, 0.10);
  --accent-text: #FFFFFF;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-sans: "DM Sans", "Inter", system-ui, sans-serif;
  --font-display: "DM Sans", "Inter", system-ui, sans-serif;
  --font-serif: "DM Sans", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content-max: 1200px;
  /* Soft marketing wash (case studies hero, dashboard body) — fixed attachment in CSS */
  --marketing-soft-wash:
    radial-gradient(ellipse 90% 70% at 12% 100%, rgba(80, 171, 218, 0.12), transparent 55%),
    radial-gradient(ellipse 75% 55% at 92% 6%, rgba(184, 164, 224, 0.1), transparent 50%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.65) 0%, var(--bg) 100%);
  /* Align main chrome (header, hero trust strip, etc.) */
  --align-width: min(var(--content-max), calc(100% - 48px));
  /* Testimonial landscape strip + contact CTA (shared asset): same scrim strength.
     Uses Midnight Teal (#05151B) per DESIGN.md §2 for dark overlay on imagery. */
  --cta-landscape-scrim: linear-gradient(180deg, rgba(5, 21, 27, 0.78), rgba(5, 21, 27, 0.96));
  /* Primary page H1 (blog index, solutions heroes, contact) — DESIGN.md §3 H1: 56px / 3.5rem */
  --page-h1-size: clamp(2.25rem, 4.5vw, 3.5rem);
  --page-h1-leading: 1.10;
  --page-h1-tracking: -0.02em;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--marketing-soft-wash);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.wrap {
  width: var(--align-width);
  margin-inline: auto;
}

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

/* -- Header -- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 245, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-header.is-scrolled .nav-desktop > a {
  color: rgba(0, 0, 0, 0.65);
}

.site-header.is-scrolled .nav-desktop > a:hover {
  color: var(--deep-navy);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--deep-navy);
}

.site-header.is-scrolled .logo-img {
  filter: brightness(0);
}

.site-header:not(.is-scrolled) .logo {
  color: rgba(255, 255, 255, 0.96);
}

.site-header.is-scrolled .logo {
  color: var(--deep-navy);
}

.site-header:not(.is-scrolled) .nav-desktop > a {
  color: rgba(255, 255, 255, 0.72);
}

.site-header:not(.is-scrolled) .nav-desktop > a:hover {
  color: #ffffff;
}

.site-header:not(.is-scrolled) .nav-desktop .nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.72);
}

.site-header:not(.is-scrolled) .nav-desktop .nav-dropdown-trigger:hover,
.site-header:not(.is-scrolled) .nav-desktop .nav-dropdown:focus-within .nav-dropdown-trigger {
  color: #ffffff;
}

.site-header:not(.is-scrolled) .nav-toggle span {
  background: #ffffff;
}

.header-inner {
  width: var(--align-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

/* PNG trimmed to ~398×88 — size from height, width follows (no square-canvas shrink) */
.logo-crop {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-crop .logo-img {
  display: block;
  height: min(38px, calc(var(--header-h) - 18px));
  width: auto;
  max-width: min(310px, 74vw);
  pointer-events: none;
}

.site-header .logo-crop .logo-img {
  filter: contrast(1.08) brightness(1.04);
}

.logo-img {
  display: block;
  height: min(38px, calc(var(--header-h) - 18px));
  width: auto;
  max-width: min(310px, 74vw);
  filter: contrast(1.045);
}

/*
 * Dark mark on light backgrounds: light logo gets contrast(1.045) on dark UI, so it reads heavier.
 * Thicken strokes with crisp drop-shadows only (no contrast/brightness — those gray out PNG alpha).
 */
.logo-img--dark {
  filter:
    drop-shadow(0.5px 0 0 #000000)
    drop-shadow(-0.5px 0 0 #000000)
    drop-shadow(0 0.5px 0 #000000)
    drop-shadow(0 -0.5px 0 #000000)
    drop-shadow(0.35px 0.35px 0 #000000)
    drop-shadow(-0.35px 0.35px 0 #000000)
    drop-shadow(0.35px -0.35px 0 #000000)
    drop-shadow(-0.35px -0.35px 0 #000000);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-family: var(--font-display);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
}

/* Solutions dropdown (desktop nav) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-dropdown-trigger:focus {
  outline: none;
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-chevron {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.75;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  /* Use padding-top instead of margin-top so the space under the trigger is
     still inside the panel’s hit target (margins aren’t hoverable; caused menus
     to vanish while moving the cursor to the links). */
  margin-top: 0;
  padding: 0.55rem 0 0.45rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  z-index: 60;
  display: none;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: block;
}

/* Extra hover bridge above the panel (still part of the panel box for hit-testing). */
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    color 0.15s,
    background 0.15s;
}

.nav-dropdown-link:hover {
  color: var(--text);
  background: var(--accent-dim);
}

.nav-dropdown-link.is-current {
  color: var(--text);
  background: rgba(0, 0, 0, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 1px;
  margin-inline: auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  background: rgba(255, 250, 245, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  color: var(--deep-navy);
  text-decoration: none;
  padding: 0.65rem 0;
  font-weight: 500;
}

.mobile-nav-group {
  padding: 0.35rem 0 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 0.35rem;
}

.mobile-nav-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.35rem 0 0.25rem;
}

.mobile-nav-sub {
  display: block;
  padding: 0.5rem 0 0.5rem 0.85rem !important;
  font-size: 0.9375rem !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
}

.mobile-nav-sub:hover {
  color: var(--text) !important;
}

.mobile-nav-sub[aria-current="page"] {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-desktop {
    display: flex;
    grid-column: 2;
    justify-self: center;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98) translateY(0);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
}

.btn-lg {
  padding: 0.85rem 1.65rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(0, 0, 0, 0.06);
}

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

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(0, 0, 0, 0.08);
}

.btn-light {
  background: var(--light-gray);
  color: var(--text);
  border-color: var(--light-gray);
}

.btn-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  filter: none;
}

.btn-navy {
  background: var(--deep-navy);
  color: #ffffff;
  border-color: var(--deep-navy);
}

.btn-navy:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  filter: none;
}

/* -- Hero -- */
.hero {
  position: relative;
  min-height: min(100vh, 1024px);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    /* Left/right vignette — heavier sides, darker center band too */
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.62) 10%,
      rgba(0, 0, 0, 0.38) 22%,
      rgba(0, 0, 0, 0.28) 38%,
      rgba(0, 0, 0, 0.28) 62%,
      rgba(0, 0, 0, 0.38) 78%,
      rgba(0, 0, 0, 0.62) 90%,
      rgba(0, 0, 0, 0.94) 100%
    ),
    /* Radial — darken mid overall; sides/corners still heavier via ellipse falloff */
    radial-gradient(
      ellipse 68% 92% at 50% 46%,
      rgba(0, 0, 0, 0.26) 0%,
      rgba(0, 0, 0, 0.52) 44%,
      rgba(0, 0, 0, 0.86) 100%
    ),
    /* Top & bottom */
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.14) 22%,
      rgba(0, 0, 0, 0.14) 70%,
      rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(var(--content-max), calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(1.25rem, 5vh, 3.5rem) 1rem clamp(0.35rem, 1.2vh, 0.85rem);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 48rem;
  width: 100%;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.97);
  text-wrap: balance;
}

.hero-lead {
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  letter-spacing: 0.022em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.hero-cta {
  width: 100%;
  max-width: min(32rem, 100%);
  margin-inline: auto;
}

.hero-cta-form {
  margin: 0;
}

.hero-cta-step[data-step="interest"] {
  padding-top: 0.15rem;
}

.hero-cta-email-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.3rem 0.35rem 0.3rem clamp(0.85rem, 3vw, 1.25rem);
  background: rgba(12, 12, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hero-cta-email-row:focus-within {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.07);
}

.hero-cta-email-row:has(.hero-cta-input[aria-invalid="true"]) {
  border-color: rgba(252, 165, 165, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 2px rgba(252, 165, 165, 0.12);
}

.hero-cta-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.68rem 0.25rem 0.68rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.9375rem, 2.7vw, 1.0625rem);
  line-height: 1.35;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-cta-input::placeholder {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  opacity: 1;
}

@media (min-width: 420px) {
  .hero-cta-input::placeholder {
    font-size: 0.9rem;
  }
}

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

.hero-cta-submit {
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 0.58rem 1.15rem;
  min-height: 2.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #ffffff;
  background: var(--sky-blue);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.hero-cta-submit:hover {
  background: var(--sky-blue-hover);
}

.hero-cta-submit:active {
  transform: scale(0.98);
}

.hero-cta-submit:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

.hero-cta-error {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #fecaca;
  text-align: center;
}

.hero-cta-trust {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.36);
  text-align: center;
}

.hero-testimonial {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.9rem auto 0;
  max-width: 480px;
  text-align: left;
}

.hero-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.hero-testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-testimonial-stars {
  font-size: 0.75rem;
  color: #f59e0b;
  margin: 0;
  letter-spacing: 0.05em;
}

.hero-testimonial-quote {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.5;
}

.hero-testimonial-attr {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-cta-question {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

.hero-cta-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.hero-cta-back {
  display: block;
  margin: 1.1rem auto 0;
  padding: 0.35rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-cta-back:hover {
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust-bleed {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(0.35rem, 0.85vh, 0.65rem) 0 clamp(1.15rem, 2.85vh, 1.9rem);
}

.hero-trust-eyebrow {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 clamp(0.75rem, 1.5vh, 1.1rem);
}

.hero-trust-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(0.32rem, 0.85vh, 0.58rem);
  width: var(--align-width);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.hero-trust-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  overflow: visible;
}

.hero-trust-row--metrics {
  align-items: stretch;
}

.hero-trust-row--metrics .hero-trust-cell {
  justify-content: flex-start;
  gap: 0.48rem;
  min-height: 100%;
  padding-block: 0.12rem 0.2rem;
}

.hero-trust-row--metrics .hero-trust-caption {
  margin-top: auto;
  padding-bottom: 0.05rem;
}

@media (min-width: 960px) {
  .hero-trust-row--metrics .hero-trust-cell:not(:first-child) {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 959px) {
  .hero-trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 1.45rem;
  }
}

@media (max-width: 480px) {
  .hero-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-trust-hovercard,
  .hero-trust-pill {
    display: none;
  }
}

.hero-trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-width: 0;
  position: relative;
  padding-inline: clamp(0.4rem, 1.35vw, 0.78rem);
  padding-block: 0.12rem;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease);
}

.hero-trust-cell:hover {
  opacity: 1;
}

.hero-trust-cell:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.48);
  outline-offset: 4px;
  border-radius: 12px;
}

.hero-trust-cell--logo-only {
  padding-block: 0.22rem;
}

.hero-trust-hovercard {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.8rem);
  transform: translate(-50%, 10px);
  z-index: 12;
  width: clamp(210px, 18.5vw, 290px);
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(130% 180% at 20% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%),
    rgba(9, 11, 12, 0.98);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s var(--ease);
}

.hero-trust-hovercard::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 11, 12, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.hero-trust-hovercard-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.hero-trust-hovercard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.hero-trust-hovercard-name {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.97);
  line-height: 1.2;
}

.hero-trust-hovercard-role {
  margin: 0.12rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.68);
}

.hero-trust-hovercard-quote {
  margin: 0.62rem 0 0.52rem;
  font-size: 0.75rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.86);
}

.hero-trust-hovercard-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.hero-trust-hovercard-link::after {
  content: "->";
  font-size: 0.74rem;
}

.hero-trust-hovercard-link:hover {
  color: #ecfff7;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  padding: 0.24rem 0.58rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.hero-trust-pill:hover,
.hero-trust-pill:focus-visible {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

.hero-trust-row--metrics .hero-trust-cell:has(.hero-trust-pill:hover) .hero-trust-hovercard,
.hero-trust-row--metrics .hero-trust-cell:has(.hero-trust-pill:focus-visible) .hero-trust-hovercard,
.hero-trust-row--metrics .hero-trust-cell:focus-within .hero-trust-hovercard {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.hero-trust-caption {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.28vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  line-height: 1.3;
  max-width: 11em;
}

.hero-trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(31px, 3.2vw, 37px);
  flex-shrink: 0;
}

.hero-trust-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 180px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}

/* Normalize all size modifiers to the same base height */
.hero-trust-logo--sm,
.hero-trust-logo--puredome,
.hero-trust-logo--lg,
.hero-trust-logo--astrix {
  height: clamp(31px, 3.2vw, 37px);
}

/* One logo track in metrics row so captions share the same baseline */
.hero-trust-row--metrics .hero-trust-logo,
.hero-trust-row--metrics .hero-trust-logo.hero-trust-logo--lg {
  height: clamp(38px, 4.15vw, 48px);
  flex-shrink: 0;
}

/* -- In-page anchors (header offset) -- */
#contact,
#product,
#use-cases,
#blog,
#testimonials,
#examples,
#how-it-works,
#faq {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-solutions .section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.solutions-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 56rem;
  margin-inline: auto;
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.solution-card .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 0.65rem;
}

.solution-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.solution-card > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.58;
  flex: 1;
}

.solution-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.solution-card li {
  margin-bottom: 0.45rem;
}

.solution-card li:last-child {
  margin-bottom: 0;
}

.solution-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: auto;
}

.solution-card-actions .link-arrow {
  font-size: 0.875rem;
}

/* -- Inner pages -- */
.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  padding-block: clamp(2.75rem, 8vw, 4.5rem);
  text-align: center;
  background: var(--bg);
  border: none;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--page-h1-size);
  line-height: var(--page-h1-leading);
  letter-spacing: var(--page-h1-tracking);
  margin: 0 0 1rem;
  color: var(--text);
  text-wrap: balance;
}

.page-hero-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text-muted);
}

/* Hero product screenshot */
.hero-screenshot {
  margin-top: 3rem;
  perspective: 1400px;
  max-width: 960px;
  margin-inline: auto;
}

.hero-screenshot-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.1);
  transform: rotateX(5deg) scale(0.98);
  transform-origin: center bottom;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-screenshot-wrap:hover {
  transform: rotateX(0deg) scale(1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.12);
}

.hero-screenshot-wrap img {
  width: 100%;
  display: block;
}

.hero-screenshot-fade {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* -- Error pages -- */
.error-page {
  padding-block: clamp(3rem, 12vw, 5.5rem);
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.error-page-code {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 11vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.25rem;
  color: var(--text-soft);
}

.error-page .page-hero-title {
  margin-bottom: 0.75rem;
}

.error-page .page-hero-lead {
  margin-bottom: 2rem;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.nav-desktop a.is-current {
  color: var(--text);
}

.nav-desktop .nav-dropdown-trigger.is-current {
  color: var(--text);
}

.site-header:not(.is-scrolled) .nav-desktop .nav-dropdown-trigger.is-current {
  color: rgba(255, 255, 255, 0.96);
}

/* -- Sections -- */
.section {
  padding-block: clamp(4rem, 12vw, 7rem);
}

.section-muted {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* -- Lead magnet (report waitlist) -- */
.lead-magnet-section {
  position: relative;
  padding-block: clamp(3.75rem, 10vw, 6rem);
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(200, 155, 80, 0.09), transparent 55%),
    var(--bg-muted);
  border-block: 1px solid rgba(200, 155, 80, 0.18);
  overflow: hidden;
}

.lead-magnet {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.lead-magnet-copy {
  max-width: 32rem;
}

.lead-magnet-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  /* DESIGN.md §3 Label Upper: Bold uppercase with positive tracking */
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-navy);
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.lead-magnet-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.8vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.lead-magnet-subtitle {
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.lead-magnet-body {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lead-magnet-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.lead-magnet-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  /* DESIGN.md §4: search-like email input — pill radius allowed */
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lead-magnet-input::placeholder {
  color: var(--text-soft);
}

.lead-magnet-input:focus {
  outline: none;
  border-color: var(--deep-navy);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.lead-magnet-submit {
  flex-shrink: 0;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: #FFFFFF;
  /* DESIGN.md §4 Primary CTA: Deep Navy bg, white text, 8px radius, flat */
  background: var(--deep-navy);
  border: 1px solid var(--deep-navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.lead-magnet-submit:hover {
  background: var(--deep-navy-hover);
}

.lead-magnet-submit:active {
  transform: scale(0.98);
}

.lead-magnet-submit:focus-visible {
  outline: 2px solid #e8c27a;
  outline-offset: 2px;
}

.lead-magnet-error {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  color: #F00000;
}

.lead-magnet-form-note {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.lead-magnet-visual {
  margin: 0;
  justify-self: center;
  max-width: 20rem;
  width: 100%;
}

.lead-magnet-cover-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 155, 80, 0.35);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 0 24px rgba(200, 155, 80, 0.08);
  background: var(--bg-elevated);
}

.lead-magnet-cover-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .lead-magnet {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .lead-magnet-visual {
    justify-self: end;
    max-width: 22rem;
  }
}

/* ── Products feature rows ──────────────────────────────────────────────── */
.products-features-shell {
  width: 100%;
}

.products-features {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.products-features-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.pf-row--reverse .pf-visual {
  order: 2;
}

.pf-row--reverse .pf-copy {
  order: 1;
}

/* Visual column */
.pf-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
}

.pf-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Decorative visuals */
.pf-visual--deco {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

/* Threat Labs: pulsing radar rings */
.pf-deco-threat {
  position: relative;
  width: 72px;
  height: 72px;
}

.pf-deco-threat span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pf-pulse 2.6s ease-out infinite;
}

.pf-deco-threat span:nth-child(2) {
  inset: -32px;
  border-color: rgba(255, 255, 255, 0.14);
  animation-delay: 0.65s;
}

.pf-deco-threat span:nth-child(3) {
  inset: -68px;
  border-color: rgba(255, 255, 255, 0.06);
  animation-delay: 1.3s;
}

@keyframes pf-pulse {
  0% { opacity: 1; transform: scale(0.88); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* Copy column */
.pf-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.pf-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.9rem;
}

.pf-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 46ch;
}

.pf-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pf-list li {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.pf-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.pf-list li strong {
  color: var(--text);
  font-weight: 500;
}

.pf-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.pf-link:hover {
  gap: 0.55rem;
  opacity: 0.85;
}

.hero-form-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 0.4rem 0 0;
}

@media (max-width: 800px) {
  .pf-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pf-row--reverse .pf-visual,
  .pf-row--reverse .pf-copy {
    order: unset;
  }

  .pf-visual {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pf-deco-threat span,
  .pf-deco-recon span {
    animation: none;
    opacity: 0.4;
  }
}

/* ── Light section (trust logos + products, below hero) ─────────────────── */
.light-section {
  background: var(--bg);
  color: var(--text);
}

/* Logos: grayscale on light bg, restored on hover */
.light-section .hero-trust-logo img {
  filter: grayscale(1) opacity(0.55);
}

.light-section .hero-trust-logo img:hover {
  filter: grayscale(0) opacity(1);
  transition: filter 0.25s ease;
}

/* Eyebrow label */
.light-section .hero-trust-eyebrow {
  color: var(--text-soft);
}

/* Trust caption metric text */
.light-section .hero-trust-caption {
  color: var(--text-muted);
}

/* Cell dividers in metrics row */
.light-section .hero-trust-row--metrics .hero-trust-cell:not(:first-child) {
  border-inline-start-color: var(--border);
}

/* Accent elements: Deep Navy on light background */
.light-section .pf-eyebrow {
  color: var(--deep-navy);
}

.light-section .pf-list li::before {
  background: var(--deep-navy);
  opacity: 1;
}

.light-section .pf-link {
  color: var(--deep-navy);
}

.light-section .pf-link:hover {
  opacity: 0.75;
}

/* Decorative visuals: Deep Navy rings/bars on light bg */
.light-section .pf-deco-threat span {
  border-color: rgba(0, 0, 0, 0.2);
}

.light-section .pf-deco-threat span:nth-child(2) {
  border-color: rgba(0, 0, 0, 0.1);
}

.light-section .pf-deco-threat span:nth-child(3) {
  border-color: rgba(0, 0, 0, 0.05);
}

.light-section .pf-deco-recon span {
  background: rgba(0, 0, 0, 0.14);
}

.light-section .pf-deco-recon span:nth-child(4) {
  background: rgba(0, 0, 0, 0.35);
}

/* ── Page-level light mode ───────────────────────────────────────────────── */
body.page-light {
  /* Inherits light Parchment tokens from :root — no surface overrides needed */

  /* CTA scrim — near-white overlay so photo-backed CTAs read on a light page */
  --cta-landscape-scrim: linear-gradient(180deg, rgba(255, 250, 245, 0.72), rgba(255, 250, 245, 0.96));

  background-color: var(--bg);
  background-image: var(--marketing-soft-wash);
  background-attachment: fixed;
  color: var(--text);
}

/* Solid parchment like the dashboard app (`--background: #FFFAF5`) — no paper grain */
body.page-light::before {
  content: none;
}

/* Let the fixed parchment wash show through; sections set their own surfaces */
body.page-light main.page-main {
  background: transparent;
}

/* Content Studio / Threat Labs: hero uses same section-scoped soft wash as work-showcase heroes
   (body keeps fixed wash; transparent hero made gradients anchor to the viewport, not the band). */
body.page-light .cs-hero {
  background-color: var(--bg);
  background-image: var(--marketing-soft-wash);
  background-attachment: scroll;
  border-bottom: 1px solid var(--border);
}

body.page-light .cs-trust {
  /* Flat parchment so the logo bar doesn’t pick up a different fixed-wash tint than the hero above */
  background: var(--bg);
  border-top: none;
}

/* Content Studio / Threat Labs — hero diagram (right column) */
.cs-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .cs-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, min(38vw, 400px));
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.cs-hero-copy {
  min-width: 0;
}

.cs-hero-visual {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

@media (min-width: 900px) {
  .cs-hero-visual {
    justify-self: end;
  }
}

.cs-hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.07));
}

@keyframes cs-viz-flow-dash {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes cs-viz-soft-pulse {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cs-viz-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes cs-viz-radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cs-viz-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.35;
  }
}

.cs-viz-flow {
  stroke-dasharray: 5 11;
  stroke-dashoffset: 0;
  animation: cs-viz-flow-dash 1.35s linear infinite;
}

.cs-viz-pulse {
  animation: cs-viz-soft-pulse 3.2s ease-in-out infinite;
}

.cs-viz-pulse-delay {
  animation: cs-viz-soft-pulse 3.2s ease-in-out infinite;
  animation-delay: 0.6s;
}

.cs-viz-pulse-delay-2 {
  animation: cs-viz-soft-pulse 3.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

.cs-viz-float {
  animation: cs-viz-float 5s ease-in-out infinite;
}

.cs-viz-float-delay {
  animation: cs-viz-float 5s ease-in-out infinite;
  animation-delay: 1.2s;
}

.cs-viz-radar-arm {
  transform-origin: 248px 118px;
  animation: cs-viz-radar-spin 12s linear infinite;
}

.cs-viz-live {
  animation: cs-viz-blink 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cs-hero-visual,
  .cs-hero-visual * {
    animation: none !important;
  }
}

/* ── Navbar — solid black from scroll-0 (neutral on dark pages) ── */
body.page-light .site-header,
body.page-light .site-header.is-scrolled {
  background: rgb(0 0 0 / 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

/* All nav text stays white on the dark navbar */
body.page-light .site-header .nav-desktop a,
body.page-light .site-header:not(.is-scrolled) .nav-desktop a {
  color: rgb(255 255 255 / 0.72);
}

body.page-light .site-header .nav-desktop a:hover,
body.page-light .site-header:not(.is-scrolled) .nav-desktop a:hover {
  color: rgb(255 255 255 / 0.96);
}

body.page-light .site-header .nav-dropdown-trigger,
body.page-light .site-header:not(.is-scrolled) .nav-dropdown-trigger {
  color: rgb(255 255 255 / 0.72);
}

body.page-light .site-header .nav-dropdown-trigger:hover,
body.page-light .site-header:not(.is-scrolled) .nav-dropdown-trigger:hover {
  color: rgb(255 255 255 / 0.96);
}

body.page-light .site-header .nav-toggle span,
body.page-light .site-header:not(.is-scrolled) .nav-toggle span {
  background: rgb(255 255 255 / 0.92);
}

/* Dropdown panel stays dark */
body.page-light .site-header .nav-dropdown-panel {
  background: rgb(0 0 0 / 0.98);
  border-color: rgb(255 255 255 / 0.08);
}

body.page-light .site-header .nav-dropdown-link {
  color: rgb(255 255 255 / 0.72);
}

body.page-light .site-header .nav-dropdown-link:hover,
body.page-light .site-header .nav-dropdown-link.is-current {
  color: rgb(255 255 255 / 0.96);
  background: rgb(255 255 255 / 0.08);
}

/* Logo stays white — navbar is dark, no inversion needed */

/* Mobile nav — dark to match navbar */
body.page-light .mobile-nav {
  background: rgb(0 0 0 / 0.98);
}

body.page-light .mobile-nav a,
body.page-light .mobile-nav-group-label {
  color: rgb(255 255 255 / 0.64);
}

/* Override hardcoded black blog-page background */
body.page-light .page-main--blog {
  background: transparent;
}

/* Blog index cards on light pages */
body.page-light .blog-page .blog-card--index,
body.page-light.blog-page .blog-card--index,
body.page-light.case-studies-page .blog-card--index {
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.04), 0 8px 24px rgb(0 0 0 / 0.04);
}

body.page-light .blog-page .blog-card--index:hover,
body.page-light.blog-page .blog-card--index:hover,
body.page-light.case-studies-page .blog-card--index:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.06), 0 16px 40px rgb(0 0 0 / 0.06);
}

/* Remove dark gradient overlay on card images for light pages */
body.page-light .case-studies-page .blog-card--index .blog-card-image::after,
body.page-light.case-studies-page .blog-card--index .blog-card-image::after {
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* Card text on light pages */
body.page-light .blog-card--index h3 {
  color: var(--text);
}

body.page-light .blog-card--index .blog-card-excerpt {
  color: var(--text-muted);
}

/* Blog index title + meta on light pages */
body.page-light .blog-index-title {
  color: var(--text);
}

/* Filter tabs on light pages */
body.page-light .blog-filter,
body.page-light .cs-filter-tab {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

body.page-light .blog-filter:hover,
body.page-light .cs-filter-tab:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

body.page-light .blog-filter.is-active,
body.page-light .cs-filter-tab.is-active {
  background: var(--deep-navy);
  color: var(--accent-text);
}

/* Blog post body text on light pages */
body.page-light .blog-post-body {
  color: var(--text);
}

body.page-light .blog-post-title {
  color: var(--text);
}

body.page-light .blog-post-meta {
  color: var(--text-muted);
}

body.page-light .blog-post-back .link-arrow {
  color: var(--text-muted);
}

/* blog-meta fallback avatar */
body.page-light .blog-avatar-fallback,
body.page-light .blog-post-meta .blog-avatar-fallback {
  background: var(--border);
  color: var(--text-muted);
}

/* ── Footer — neutral black strip on page-light pages ───────────────────── */
body.page-light .site-footer {
  background: #000000;
  color: rgb(250 250 250 / 0.72);
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

body.page-light .site-footer h3 {
  color: rgb(250 250 250 / 0.92);
}

body.page-light .site-footer a {
  color: rgb(250 250 250 / 0.55);
}

body.page-light .site-footer a:hover {
  color: rgb(250 250 250 / 0.92);
}

body.page-light .site-footer .footer-tagline {
  color: rgb(250 250 250 / 0.72);
}

/* Footer logo stays white on the dark footer — no filter override needed */

/* ── State of AI report page — hardcoded-white fixes ─────────────────────── */
body.page-light .lm-hero-title {
  color: var(--text);
}

body.page-light .lm-audience li strong {
  color: var(--text);
}

body.page-light .lm-cover-img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ── Case studies page components ───────────────────────────────────────── */

/* Stats strip */
.cs-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cs-stat {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
  border-right: 1px solid var(--border);
}

.cs-stat:last-child {
  border-right: none;
}

.cs-stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.35rem;
}

.cs-stat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .cs-stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cs-stat:nth-child(2) {
    border-right: none;
  }

  .cs-stat:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .cs-stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

/* Testimonials grid */
.cs-testimonials {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}

.cs-testimonials-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cs-testimonials-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.cs-testimonials-head p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.cs-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .cs-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.cs-testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-testimonial-card:hover {
  border-color: var(--border-strong);
}

body.page-light .cs-testimonial-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.page-light .cs-testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cs-testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.cs-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cs-testimonial-meta {
  flex: 1;
  min-width: 0;
}

.cs-testimonial-name {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-testimonial-logo {
  height: 20px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  flex-shrink: 0;
}

body.page-light .cs-testimonial-logo {
  filter: none;
  opacity: 1;
}

/* ── Dark background scene sections ─────────────────────────────────────────── */
.bg-dark-scene {
  position: relative;
  background-color: var(--midnight-teal);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Re-scope CSS vars so child elements using var() automatically get dark-context values */
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.52);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --bg: var(--midnight-teal);
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --bg-muted: rgba(255, 255, 255, 0.06);
}

.bg-dark-scene--hills-wide {
  background-image: url(assets/backgrounds/Infographics_In_a_dark_atmospheric_style_rolling_hills_are_EXtpxahK.jpg);
  background-position: center 38%;
}

.bg-dark-scene--glow {
  background-image: url(assets/backgrounds/Infographics_In_a_dark_ethereal_style_luminous_golden_light_g8-JAUoR.jpg);
}

.bg-dark-scene--subtle {
  background-image: url(assets/backgrounds/Infographics_In_a_dark_atmospheric_style_the_scene_depicts_Pbh7o04g.jpg);
}

/* Filter tabs inside dark scenes — need hardcoded overrides since they use hardcoded colors */
body.page-light .bg-dark-scene .blog-filter,
body.page-light .bg-dark-scene .cs-filter-tab {
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.page-light .bg-dark-scene .blog-filter.is-active,
body.page-light .bg-dark-scene .cs-filter-tab.is-active {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
}

/* Testimonials section divider border when placed on dark bg */
body.page-light .bg-dark-scene.cs-testimonials {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Media coverage section */
.cs-coverage {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
}

.cs-coverage-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cs-coverage-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.cs-coverage-tier {
  margin-bottom: 2.5rem;
}

.cs-coverage-tier:last-child {
  margin-bottom: 0;
}

.cs-coverage-tier-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.cs-coverage-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cs-pub-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}

body.page-light .cs-pub-chip {
  background: #ffffff;
}

.cs-pub-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.cs-pub-chip--tier1 {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  color: var(--text);
}

/* ── Blog index featured card ────────────────────────────────────────────── */
.blog-card--featured {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .blog-card--featured .blog-card-image {
    aspect-ratio: 21 / 9;
  }
}

.blog-card--featured h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

/* Blog card excerpt on index */
.blog-card--index .blog-card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog card meta on index */
.blog-card--index .blog-meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.blog-card--index .blog-tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-navy);
  display: block;
  margin-bottom: 0.35rem;
}

body.page-light .blog-card--index .blog-tag {
  color: var(--deep-navy);
}

/* ── Blog post — dark hero + left TOC layout ────────────────────────────── */
.blog-post-hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.blog-post-hero-back {
  margin: 0 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.blog-post-hero-back a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.blog-post-hero-back a:hover {
  color: #FFFFFF;
}

.blog-post-hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 960px) {
  .blog-post-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.blog-post-hero .case-study-kicker {
  color: #50ABDA;
  margin-bottom: 0.9rem;
}

.blog-post-hero .blog-post-title {
  color: #FFFFFF;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 1.15rem;
}

.blog-post-hero .blog-post-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.blog-post-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.blog-post-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Article body zone — two column with TOC on the LEFT */
.blog-post-layout-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.blog-post-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .blog-post-layout {
    grid-template-columns: 220px minmax(0, 42rem);
    gap: 4rem;
    justify-content: center;
  }
}

@media (max-width: 959px) {
  .blog-post-layout .blog-toc {
    display: none;
  }
}

.blog-post-layout .blog-post {
  margin-inline: 0;
  padding-block: 0;
  max-width: 42rem;
}

.blog-post-layout .blog-post-body blockquote {
  margin: 1.75em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 3px solid var(--deep-navy);
  font-family: var(--font-serif);
  font-size: 1.05em;
  font-style: italic;
  color: var(--text);
}

.blog-post-layout .blog-post-body blockquote p {
  margin: 0;
}

/* ── Blog post TOC sidebar ───────────────────────────────────────────────── */
.blog-post-wrap {
  padding-top: var(--header-h);
}

.blog-post-with-toc {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .blog-post-with-toc {
    grid-template-columns: 1fr;
  }

  .blog-toc {
    display: none;
  }
}

.blog-toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.blog-toc-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 0.75rem;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.blog-toc-list li a {
  display: block;
  padding: 0.35rem 0 0.35rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  border-left: 2px solid transparent;
  margin-left: -1px;
}

.blog-toc-list li a:hover {
  color: var(--text);
  border-left-color: var(--border-strong);
}

.blog-toc-list li a.is-active {
  color: var(--deep-navy);
  border-left-color: var(--deep-navy);
}

body.page-light .blog-toc-list li a.is-active {
  color: var(--deep-navy);
}

/* ── Blog post archetype — dark canvas + wide layout (content-studio aligned) ─ */
body.blog-post {
  background: #000000;
  color: #FFFFFF;
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.64);
  --text-soft: rgba(255, 255, 255, 0.48);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --bg: #000000;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --bg-muted: rgba(255, 255, 255, 0.08);
}
body.blog-post .blog-post-hero > .wrap,
body.blog-post .blog-post-layout-section > .wrap,
body.blog-post main > .blog-index-grid-section.wrap {
  width: min(84rem, calc(100% - 48px));
}
@media (min-width: 1100px) {
  body.blog-post .blog-post-layout {
    grid-template-columns: 260px minmax(0, 56rem);
    gap: 4.5rem;
  }
  body.blog-post .blog-post-layout .blog-post {
    max-width: 56rem;
  }
}
body.blog-post .blog-post-hero {
  background: #000000;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
body.blog-post .blog-post-hero .case-study-kicker { color: rgba(255, 255, 255, 0.6); }
body.blog-post .blog-post-hero .blog-post-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
body.blog-post .blog-post-hero .blog-post-meta { color: rgba(255, 255, 255, 0.6); }
body.blog-post .blog-post-hero-back a { color: rgba(255, 255, 255, 0.64); }
body.blog-post .blog-post-hero-back a:hover { color: #FFFFFF; }
body.blog-post .blog-post-hero-media {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
body.blog-post .blog-post-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
  line-height: 1.72;
}
body.blog-post .blog-post-body h2 {
  color: #FFFFFF;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-top: 2.75rem;
  margin-bottom: 0.875rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
body.blog-post .blog-post-body p,
body.blog-post .blog-post-body ul,
body.blog-post .blog-post-body ol {
  color: rgba(255, 255, 255, 0.82);
}
body.blog-post .blog-post-body a {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}
body.blog-post .blog-post-body a:hover { text-decoration-color: #FFFFFF; }
body.blog-post .blog-post-layout .blog-post-body blockquote {
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.125em;
}
body.blog-post .blog-post-layout .blog-post-body blockquote p { color: #FFFFFF; }
body.blog-post .blog-toc-label { color: rgba(255, 255, 255, 0.48); }
body.blog-post .blog-toc-list { border-left-color: rgba(255, 255, 255, 0.12); }
body.blog-post .blog-toc-list li a { color: rgba(255, 255, 255, 0.56); }
body.blog-post .blog-toc-list li a:hover {
  color: rgba(255, 255, 255, 0.88);
  border-left-color: rgba(255, 255, 255, 0.32);
}
body.blog-post .blog-toc-list li a.is-active {
  color: #FFFFFF;
  border-left-color: #FFFFFF;
}
body.blog-post .blog-index-title { color: #FFFFFF; }
body.blog-post .blog-card--index {
  background: #FFFAF5;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(0, 0, 0, 0.28);
}
body.blog-post .blog-card--index:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}
body.blog-post .blog-card--index h3 { color: #000000; }
body.blog-post .blog-card--index .blog-card-excerpt { color: #4A4F5A; }
body.blog-post .blog-card--index .blog-meta { color: rgba(0, 0, 0, 0.56); }
body.blog-post .blog-card--index .blog-tag {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
  border-color: rgba(0, 0, 0, 0.12);
}

/* -- Features -- */
.feature-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: clamp(3.5rem, 10vw, 5.5rem);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-visual img {
  width: 100%;
}

.feature-copy .eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.link-arrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: transform 0.25s var(--ease), color 0.2s;
}

.link-arrow:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .feature-row-reverse .feature-visual {
    order: 2;
  }

  .feature-row-reverse .feature-copy {
    order: 1;
  }
}

/* -- Testimonials (aligned with solution cards + section typography) -- */
.section-testimonials-kero .section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.testimonial-grid-kero {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 72rem;
  margin-inline: auto;
}

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

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

.testimonial-card-kero {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: var(--font-sans);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.testimonial-card-kero:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.testimonial-eyebrow {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.testimonial-card-top .testimonial-eyebrow {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.testimonial-stars {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #f5a623;
}

.testimonial-company-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  height: clamp(20px, 3.5vw, 26px);
  max-width: min(9.5rem, 48%);
}

.testimonial-company-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
  filter: brightness(0);
  opacity: 0.72;
}

.testimonial-card-kero blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding: 0;
}

.testimonial-card-kero .testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.testimonial-author-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card-kero cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.testimonial-role {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* -- Landscape -- */
.landscape-strip {
  position: relative;
  overflow: hidden;
  line-height: 0;
  border-block: 1px solid var(--border);
}

.landscape-strip img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.22);
  transform-origin: center 42%;
}

.landscape-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--cta-landscape-scrim);
  pointer-events: none;
}

/* -- Landscape CTA overlay -- */
.landscape-cta {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 2rem;
  text-align: center;
  line-height: normal;
}

.landscape-cta-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.landscape-cta-sub {
  margin: 0.65rem 0 0;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  line-height: 1.6;
  text-wrap: balance;
}

.landscape-cta-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.75rem;
  width: 100%;
  max-width: 30rem;
  flex-wrap: nowrap;
  justify-content: center;
}

.landscape-cta-input {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.landscape-cta-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.landscape-cta-input:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.landscape-cta-btn {
  flex-shrink: 0;
  padding: 0.8rem 1.5rem;
  /* DESIGN.md §4: 8px radius, never pill-shaped */
  border-radius: var(--radius-sm);
  border: none;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.landscape-cta-btn:hover {
  opacity: 0.88;
}

.landscape-cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

/* -- Use cases / tabs -- */
.use-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.tab:active {
  transform: scale(0.97);
}

.tab:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.tab.is-active {
  background: var(--accent-dim);
  border-color: rgba(0, 0, 0, 0.35);
  color: var(--accent);
}

.use-panel {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  transition: opacity 0.35s var(--ease);
}

.use-panel.is-refreshing {
  animation: usePanelPulse 0.45s var(--ease);
}

@keyframes usePanelPulse {
  0% {
    opacity: 1;
  }

  45% {
    opacity: 0.55;
  }

  100% {
    opacity: 1;
  }
}

.use-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.use-list li {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.use-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.use-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.use-list span {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .use-panel {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* -- Placeholder strips (solution pages) -- */
.labs-pack-overview {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.labs-pack-overview img {
  width: 100%;
  height: auto;
  display: block;
}

/* -- Blog -- */
.blog-grid {
  display: grid;
  gap: 1.5rem;
}

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

.blog-card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 1089 / 600;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  padding: 1.1rem 1.1rem 0.35rem;
  letter-spacing: -0.02em;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0 1.1rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
}

.blog-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-meta .blog-avatar-fallback,
.blog-post-meta .blog-avatar-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.blog-post-meta .blog-avatar-fallback {
  width: 32px;
  height: 32px;
  font-size: 0.7rem;
}

.blog-card-excerpt {
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* -- Blog index (editorial / Framer-style) -- */
.blog-page {
  background: var(--bg);
}

.blog-page::before {
  opacity: 0;
}

.blog-page .page-main--blog {
  background: var(--bg);
}

.blog-index-hero {
  padding-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  text-align: left;
  max-width: var(--align-width);
  margin-inline: auto;
}

.blog-index-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--page-h1-size);
  line-height: var(--page-h1-leading);
  letter-spacing: var(--page-h1-tracking);
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  color: var(--text);
}

.blog-index-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  max-width: 44ch;
}

body.page-light .blog-index-subtitle {
  color: var(--text-muted);
}

.blog-index-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 540px) {
  .blog-index-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-index-filters::-webkit-scrollbar {
    display: none;
  }
}

.blog-filter {
  flex-shrink: 0;
  margin: 0;
  padding: 0.48rem 1.05rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.06);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.blog-filter:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.1);
}

.blog-filter.is-active {
  color: var(--accent-text);
  background: var(--deep-navy);
}

.blog-filter:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(0, 0, 0, 0.45);
}

.blog-index-grid-section {
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
  max-width: var(--align-width);
  margin-inline: auto;
}

.blog-page .blog-grid--index {
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) and (max-width: 1099px) {
  .blog-page .blog-grid--index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .blog-page .blog-grid--index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-page .blog-card--index {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-page .blog-card--index:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.blog-page .blog-card--index .blog-card-image {
  border-radius: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Same as fallback base so subpixel letterboxing never shows parchment card bg */
  background: #030508;
}

/* Case studies: bottom-heavy scrim (logos / text sit on the image) */
.case-studies-page .blog-card--index .blog-card-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.9) 45%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* /blog index: full-frame dark scrim when a real photo is present */
.blog-page .blog-card--index .blog-card-image:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(1, 4, 10, 0.48) 0%,
    rgba(3, 10, 20, 0.56) 42%,
    rgba(2, 8, 18, 0.68) 100%
  );
}

.cs-logo-chip {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cs-logo-chip img {
  display: block;
  width: auto !important;
  height: 22px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: none;
}

.blog-page .blog-card--index .blog-card-image img {
  transition:
    transform 0.45s var(--ease),
    filter 0.45s var(--ease);
  filter: brightness(0.78) contrast(1.08) saturate(0.88);
}

.blog-page .blog-card--index:hover .blog-card-image img {
  transform: scale(1.03);
  filter: brightness(0.9) contrast(1.06) saturate(0.95);
}

/* Subtle category tint on the image strip (data-category from /blog renderer) */
.blog-page .blog-card--index[data-category="marketing"] .blog-card-image {
  box-shadow: inset 0 3px 0 0 rgba(5, 150, 105, 0.55);
}

.blog-page .blog-card--index[data-category="research"] .blog-card-image {
  box-shadow: inset 0 3px 0 0 rgba(80, 171, 218, 0.58);
}

.blog-page .blog-card--index[data-category="company"] .blog-card-image {
  box-shadow: inset 0 3px 0 0 rgba(217, 119, 6, 0.5);
}

.blog-page .blog-card--index h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.28;
  padding: 1.15rem 1.2rem 0.4rem;
  color: var(--text);
}

.blog-page .blog-card--index .blog-meta {
  padding: 0 1.2rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.blog-page .blog-card--index .blog-avatar-fallback {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

.blog-meta-dot {
  margin: 0 0.15em;
  opacity: 0.85;
}

.blog-page .blog-card--index[hidden] {
  display: none !important;
}

/* -- Blog index list layout (page-light editorial style) -- */
.blog-index-head {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

body.page-light .blog-index-title {
  color: var(--text);
}

body.page-light .blog-filter {
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.06);
}

body.page-light .blog-filter:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.1);
}

body.page-light .blog-filter.is-active {
  color: var(--accent-text);
  background: var(--deep-navy);
}

body.page-light .blog-filter:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(0, 0, 0, 0.45);
}

/* Blog index hero — two-column layout + illustration (api-blog-render) */
.blog-index-hero-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  max-width: var(--align-width);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .blog-index-hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
  }
}

.blog-index-hero-text {
  min-width: 0;
}

.blog-index-hero-art {
  min-width: 0;
}

.blog-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.blog-hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, var(--bg-elevated) 0%, var(--bg-muted) 55%, var(--bg) 100%);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.blog-hero-svg {
  width: 100%;
  height: auto;
  display: block;
}

.blog-hero-float--slow {
  animation: blog-hero-float-a 8s ease-in-out infinite;
}

.blog-hero-float--mid {
  animation: blog-hero-float-b 6.5s ease-in-out infinite;
  animation-delay: -1s;
}

.blog-hero-float--fast {
  animation: blog-hero-float-c 5s ease-in-out infinite;
  animation-delay: -0.5s;
}

@keyframes blog-hero-float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, -5px);
  }
}

@keyframes blog-hero-float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-3px, 6px);
  }
}

@keyframes blog-hero-float-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, -4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-float--slow,
  .blog-hero-float--mid,
  .blog-hero-float--fast {
    animation: none;
  }
}

.blog-card-image-fallback {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-muted) 0%, rgba(80, 171, 218, 0.18) 100%);
}

/* /blog index: inline SVG art from api-blog-render (dark + #50ABDA, unique per slug) */
.blog-page .blog-card--index .blog-card-image-fallback--cyberou {
  position: absolute;
  inset: 0;
  background: #030508;
  display: block;
}

.blog-page .blog-card--index .blog-card-image-fallback--cyberou .blog-card-fallback-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}

.blog-page .blog-card--index .blog-tag {
  display: block;
  padding: 1rem 1.2rem 0;
  margin-bottom: 0;
}

.blog-page .blog-card--index .blog-tag + h3 {
  padding-top: 0.35rem;
}

.blog-page .blog-card--index .blog-card-excerpt {
  padding: 0 1.2rem 0.5rem;
  margin: 0;
}

.blog-index-empty {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem clamp(3rem, 8vw, 5rem);
  max-width: 36rem;
  margin-inline: auto;
}

.blog-index-empty-art {
  max-width: 280px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.blog-index-empty-art .blog-hero-svg {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

.blog-index-empty-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.blog-index-empty-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.blog-post-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky-blue);
  font-family: var(--font-display);
}

.blog-index-list-section {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.blog-list--index {
  display: flex;
  flex-direction: column;
}

.blog-list--index .blog-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: start;
  transition: opacity 0.2s var(--ease);
}

.blog-list--index .blog-card:first-child {
  border-top: 1px solid var(--border);
}

.blog-list--index .blog-card:hover {
  opacity: 0.65;
}

.blog-list--index .blog-card[hidden] {
  display: none !important;
}

.blog-card-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  min-width: 0;
}

.blog-list--index .blog-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.blog-list--index .blog-card-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  color: var(--text);
  padding: 0;
}

.blog-list--index .blog-card-excerpt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  padding: 0;
}

.blog-card-meta-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0;
  padding-top: 0.2rem;
}

@media (max-width: 600px) {
  .blog-list--index .blog-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }

  .blog-card-thumb {
    width: 64px;
    height: 64px;
  }

  .blog-card-meta-date {
    grid-column: 2;
    padding-top: 0;
  }
}

/* -- Solution page examples -- */
.page-examples {
  border-block: 1px solid var(--border);
}

.examples-grid {
  display: grid;
  gap: 1.5rem;
}

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

.example-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
  margin: 0;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.example-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.example-card-image {
  aspect-ratio: 1089 / 600;
  overflow: hidden;
}

.example-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-card-type {
  margin: 0;
  padding: 1rem 1.1rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.example-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  padding: 0 1.1rem 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.example-card-desc {
  margin: 0;
  padding: 0.5rem 1.1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* -- Solution pages: how it works + FAQ -- */
.solution-how .section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

  .how-steps--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.how-step {
  margin: 0;
  padding: clamp(1.15rem, 2.2vw, 1.5rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.how-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.how-illu {
  position: relative;
  aspect-ratio: 5 / 3;
  margin: 0 0 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(
    155deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.05) 48%,
    rgba(0, 0, 0, 0.08) 100%
  );
  display: grid;
  place-items: center;
  overflow: hidden;
}

.how-illu::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.06), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.how-illu svg {
  position: relative;
  z-index: 1;
  width: min(100%, 200px);
  height: auto;
  max-height: 100%;
}

.how-stroke {
  fill: none;
  stroke: rgba(0, 0, 0, 0.25);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-stroke--accent {
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.85;
}

.how-fill-soft {
  fill: rgba(0, 0, 0, 0.08);
  stroke: none;
}

.how-fill-accent {
  fill: rgba(0, 0, 0, 0.18);
  stroke: none;
}

.how-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.reveal.is-inview .how-draw {
  animation: how-stroke-draw 1.35s var(--ease) forwards;
  animation-fill-mode: both;
}

.reveal.is-inview .how-illu svg path.how-draw:nth-of-type(2) {
  animation-delay: 0.2s;
}

.reveal.is-inview .how-illu svg path.how-draw:nth-of-type(3) {
  animation-delay: 0.38s;
}

.reveal.is-inview .how-pop {
  animation: how-pop 0.65s var(--ease) forwards;
  opacity: 0;
  transform-origin: center;
}

.reveal.is-inview .how-float-el {
  animation: how-float-y 3.2s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes how-stroke-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes how-pop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes how-float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.how-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.how-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: var(--text);
}

.how-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.solution-how--labs .how-illu {
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.07) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.page-faq .section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.faq-list {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  opacity: 0.75;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.55rem;
}

.faq-item summary:hover {
  color: var(--deep-navy);
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.faq-answer p + p {
  margin-top: 0.65rem;
}

/* -- Login page -- */
.header-actions .btn-light.is-current {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.site-header:not(.is-scrolled) .header-actions .btn-light.is-current {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

/* -- Login split (marketing login.html) — dark form column + light hero -- */
.login-split-page {
  margin: 0;
  min-height: 100dvh;
  min-height: 100vh;
  background: var(--midnight-teal);
}

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

.login-split-panel--hero {
  order: 1;
  position: relative;
  min-height: clamp(180px, 30vh, 320px);
  flex-shrink: 0;
  overflow: hidden;
  background: #dde4ee;
}

.login-split-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.login-split-hero-tagline {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.25rem, 4vh, 2.75rem);
  left: clamp(1.25rem, 4vw, 2rem);
  max-width: min(22rem, calc(100% - 2.5rem));
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: right;
  color: #1a2332;
}

@media (min-width: 480px) {
  .login-split-hero-tagline {
    left: auto;
  }
}

.login-split-panel--form {
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.25rem 1rem;
  background: var(--midnight-teal);
  color: rgba(250, 250, 252, 0.92);
}

@media (min-width: 640px) {
  .login-split-panel--form {
    padding: 1.25rem 1.25rem;
  }
}

.login-split-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.login-split-brand:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

/* Logo row: pinned top */
.login-split-brand--top {
  flex-shrink: 0;
  align-self: flex-start;
  max-width: min(200px, 55vw);
  min-height: 2rem;
  align-items: center;
  touch-action: manipulation;
}

.login-split-brand-img {
  display: block;
  height: clamp(22px, 3.5vw, 28px);
  width: auto;
  max-width: 100%;
  opacity: 0.98;
  object-fit: contain;
  object-position: left;
}

.login-split-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(250, 250, 252, 0.98);
}

.login-split-subtitle {
  margin: 0.25rem 0 0;
  max-width: 36rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(250, 250, 252, 0.48);
}

.login-split-panel-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

/* Form block: compact stack below logo */
.login-split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 26.5rem;
  margin-inline: auto;
  padding-top: 6rem;
  min-height: 0;
}

@media (min-width: 640px) {
  .login-split-content {
    padding-top: 8rem;
  }
}

@media (min-width: 900px) {
  .login-split-content {
    padding-top: 10.5rem;
  }
}

.login-split-main {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .login-split-main {
    margin-top: 1.25rem;
  }
}

.login-split-legal {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  padding-top: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 250, 252, 0.45);
}

.login-split-back {
  margin: 0;
}

.login-split-back a {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: rgba(250, 250, 252, 0.68);
  text-decoration: none;
  touch-action: manipulation;
}

.login-split-back a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 900px) {
  .login-split {
    flex-direction: row;
  }

  .login-split-panel--form {
    order: 1;
    flex: 0 0 auto;
    width: clamp(24rem, 42vw, 33rem);
    max-width: 528px;
    padding: 1.75rem 2rem;
  }

  .login-split-panel--hero {
    order: 2;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
  }

  .login-split-hero-tagline {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    max-width: 24rem;
    bottom: clamp(2.5rem, 5vh, 3.5rem);
    right: clamp(2rem, 4vw, 3.5rem);
  }
}

.login-split-panel--form .login-form-panel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Compact login (reference-style: tight vertical rhythm, email + white CTA, outlined OAuth) */
.login-split-panel--form .login-form-panel.login-form-panel--compact {
  gap: 0.625rem;
}

.login-split-panel--form .login-field.login-field--compact {
  margin-bottom: 0;
}

.login-split-panel--form .login-field.login-field--compact input[type="email"],
.login-split-panel--form .login-field.login-field--compact input[type="password"],
.login-split-panel--form .login-field.login-field--compact input[type="text"] {
  box-sizing: border-box;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.35;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 640px) {
  .login-split-panel--form .login-field.login-field--compact input[type="email"],
  .login-split-panel--form .login-field.login-field--compact input[type="password"],
  .login-split-panel--form .login-field.login-field--compact input[type="text"] {
    font-size: 0.875rem;
  }
}

.login-form-consent.login-form-consent--compact {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(250, 250, 252, 0.42);
}

.login-split-submit.login-split-submit--primary-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-top: 0.625rem;
  padding: 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--deep-navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 0.2s;
}

.login-split-submit.login-split-submit--primary-compact:hover:not(:disabled) {
  opacity: 0.9;
}

.login-oauth-divider.login-oauth-divider--compact {
  gap: 0.625rem;
  margin: 0.125rem 0;
}

.login-oauth-divider.login-oauth-divider--compact span {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: rgba(250, 250, 252, 0.45);
}

.login-oauth-stack.login-oauth-stack--compact {
  gap: 0.5rem;
}

.login-oauth-btn.login-oauth-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(250, 250, 252, 0.82);
  font-weight: 500;
  min-height: 2.5rem;
  height: auto;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.login-oauth-btn.login-oauth-btn--outline:hover:not(:disabled) {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

.login-oauth-btn.login-oauth-btn--outline .login-oauth-btn__icon {
  width: 18px;
}

.login-form-lead.login-form-lead--compact {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(250, 250, 252, 0.4);
}

.login-form-foot.login-form-foot--compact {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(250, 250, 252, 0.42);
}

.login-form-foot.login-form-foot--compact a {
  color: rgba(250, 250, 252, 0.88);
  font-weight: 600;
}

.login-split-panel--form .login-field {
  margin-bottom: 0;
}

.login-field-req {
  color: rgba(250, 250, 252, 0.35);
}

.login-split-panel--form .login-field-muted {
  font-weight: 400;
  color: rgba(250, 250, 252, 0.35);
}

.login-form-consent {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 250, 252, 0.45);
}

.login-form-consent a {
  color: rgba(250, 250, 252, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-form-consent a:hover {
  color: rgba(250, 250, 252, 0.88);
}

.login-split-submit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--deep-navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.login-split-submit:hover {
  opacity: 0.95;
}

.login-oauth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.login-oauth-btn {
  display: flex;
  min-height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 0.2s;
}

.login-oauth-btn__icon {
  display: flex;
  width: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.login-oauth-btn__icon svg {
  display: block;
}

.login-oauth-btn:hover:not(:disabled) {
  opacity: 0.95;
}

.login-oauth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.login-oauth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.login-oauth-divider::before,
.login-oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.login-oauth-divider span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 252, 0.35);
}

.login-split-submit--secondary {
  background: transparent;
  color: rgba(250, 250, 252, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-split-submit--secondary:hover:not(:disabled) {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.login-split-panel--form .login-split-submit--secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1rem;
  touch-action: manipulation;
}

.login-split-panel--form .login-form-lead--after {
  margin: 0;
  max-width: 65ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 250, 252, 0.5);
}

.login-split-panel--form .login-form-error {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(252, 165, 165, 0.98);
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: var(--radius-md);
}

.login-split-panel--form .login-magic-inline-success {
  margin: 0 0 0.35rem;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(134, 239, 172, 0.95);
  letter-spacing: 0.01em;
}

.login-split-panel--form .login-field label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  color: rgba(250, 250, 252, 0.72);
}

.login-split-panel--form .login-field input[type="email"],
.login-split-panel--form .login-field input[type="password"],
.login-split-panel--form .login-field input[type="text"] {
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(250, 250, 252, 0.95);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.login-split-panel--form .login-field input::placeholder {
  color: rgba(250, 250, 252, 0.32);
}

.login-split-panel--form .login-field input:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.login-split-panel--form .login-field input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  outline: none;
}

.login-split-panel--form .login-form-foot {
  margin: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 250, 252, 0.5);
}

.login-split-panel--form .login-form-foot a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.login-split-panel--form .login-form-foot a:hover {
  color: rgba(255, 255, 255, 0.88);
}

/* Standalone login card (legacy / other pages) */
.login-page {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.login-shell {
  flex: 1;
  width: var(--align-width);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-form-panel {
  width: 100%;
  max-width: 26rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.login-form-panel h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.15;
  color: var(--text);
}

.login-form-lead {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.login-form-error {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #F00000;
  background: rgba(240, 0, 0, 0.06);
  border: 1px solid rgba(240, 0, 0, 0.25);
  border-radius: var(--radius-md);
}

.login-form-error code {
  font-size: 0.8125rem;
  word-break: break-word;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-field {
  margin-bottom: 1.15rem;
}

.login-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.login-field-optional {
  font-weight: 500;
  color: var(--text-soft);
}

.login-field input[type="email"],
.login-field input[type="password"],
.login-field input[type="text"],
.login-field textarea,
.login-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.login-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(250,250,250,0.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

.login-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.login-field input::placeholder,
.login-field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.login-field input:hover,
.login-field textarea:hover,
.login-field select:hover {
  border-color: var(--border-strong);
}

.login-field input:focus,
.login-field textarea:focus,
.login-field select:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.login-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.login-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.login-forgot {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.login-forgot:hover {
  text-decoration: underline;
}

.login-form .btn-primary {
  margin-top: 0.25rem;
}

.login-form-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.login-form-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.login-form-foot a:hover {
  text-decoration: underline;
}

/* -- CTA band -- */
.cta-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}

.cta-band-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.cta-band-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--cta-landscape-scrim);
}

.cta-band-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-band p {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-solo-btn {
  min-width: 11.5rem;
  padding-inline: 2rem;
}

/* -- Products index: bento grid -- */
.bento-hero-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.bento-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 1.25rem;
  max-width: 44rem;
  margin-inline: auto;
  text-wrap: balance;
}

.bento-hero-lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.36px;
  color: var(--text-soft);
  max-width: 36rem;
  margin: 0 auto;
}

.bento-section {
  padding-top: 0;
}

.bento-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

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

  .bento-card--feature {
    grid-column: 1 / -1;
  }

  .bento-card--third {
    grid-column: span 1;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-card--feature {
    grid-column: 1 / -1;
  }

  .bento-card--half {
    grid-column: span 3;
  }

  .bento-card--third {
    grid-column: span 2;
  }
}

/* Base card */
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.bento-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.bento-card:hover .bento-cta-arrow {
  transform: translateX(4px);
}

/* Feature card (Content Studio) */
.bento-card--feature {
  background: var(--deep-navy);
  border-color: transparent;
  color: #ffffff;
}

.bento-card--feature:hover {
  border-color: rgba(80, 171, 218, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.bento-card--feature .bento-card-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .bento-card--feature .bento-card-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .bento-card--feature {
    padding: clamp(2rem, 4vw, 3rem);
  }
}

.bento-card--feature .bento-card-text {
  flex: 1;
  min-width: 0;
}

.bento-card--feature .bento-label {
  color: var(--sky-blue);
}

.bento-card--feature h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.bento-card--feature p {
  color: rgba(255, 255, 255, 0.7);
}

.bento-card--feature .bento-list {
  color: rgba(255, 255, 255, 0.55);
}

.bento-card--feature .bento-cta {
  color: var(--sky-blue);
}

.bento-card-visual {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .bento-card-visual {
    width: 280px;
  }
}

.bento-visual-inner {
  aspect-ratio: 280 / 200;
}

.bento-visual-inner svg {
  width: 100%;
  height: 100%;
}

/* Labels */
.bento-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--deep-navy);
  margin-bottom: 0.75rem;
}

/* Headings */
.bento-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.25px;
  margin: 0 0 0.75rem;
}

.bento-card > p,
.bento-card-text > p {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.36px;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Bullet lists */
.bento-list {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: 0.28px;
  color: var(--text-soft);
}

.bento-list li {
  margin-bottom: 0.25rem;
}

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

/* CTA link */
.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.28px;
  color: var(--deep-navy);
  margin-top: auto;
}

.bento-cta-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

/* Background SVG graphics for half cards */
.bento-card-graphic {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 180px;
  height: 120px;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.bento-card:hover .bento-card-graphic {
  opacity: 0.7;
}

.bento-card-graphic svg {
  width: 100%;
  height: 100%;
}

/* Pair cards (better-together) */
.bento-card--pair {
  background: var(--bg);
  border-color: var(--border);
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
}

.bento-card--pair h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.25px;
  margin: 0 0 0.5rem;
}

.bento-card--pair p {
  font-size: 0.875rem;
  line-height: 1.55;
  letter-spacing: 0.28px;
  color: var(--text-muted);
  margin: 0;
}

.bento-pair-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--deep-navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bento-card--pair-all {
  background: var(--deep-navy);
  border-color: transparent;
  color: #ffffff;
}

.bento-card--pair-all:hover {
  border-color: rgba(80, 171, 218, 0.2);
}

.bento-card--pair-all h3 {
  color: #ffffff;
}

.bento-card--pair-all p {
  color: rgba(255, 255, 255, 0.65);
}

.bento-card--pair-all .bento-pair-icon {
  background: rgba(80, 171, 218, 0.15);
  color: var(--sky-blue);
}

/* -- Contact page -- */
.contact-layout {
  padding-block: clamp(2rem, 5vw, 3rem) clamp(3.5rem, 8vw, 5rem);
}

.contact-page .contact-layout {
  padding-block: 0;
}

.contact-lead--accent {
  margin-top: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
}

.contact-lead--accent a {
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    gap: clamp(2.5rem, 6vw, 4rem);
  }
}

.contact-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--page-h1-size);
  line-height: var(--page-h1-leading);
  letter-spacing: var(--page-h1-tracking);
  margin: 0 0 1rem;
  color: var(--text);
  text-wrap: balance;
}

.contact-lead {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 36rem;
}

.contact-lead a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-lead a:hover {
  text-decoration: underline;
}

.contact-proof {
  margin: 2rem 0 0;
  padding: 0;
  border: none;
}

.contact-page .contact-proof {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 12px 32px rgb(0 0 0 / 0.06);
}

.contact-quote {
  margin: 0;
  padding: 0;
}

.contact-quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.52;
  color: var(--text-muted);
}

.contact-quote-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.35rem 0 1rem;
}

.contact-proof-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-avatar {
  width: 36px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.contact-proof-caption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-proof-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--text);
}

.contact-proof-role {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

.contact-faq {
  margin-top: 2.75rem;
  border-top: 1px solid var(--border);
}

.contact-faq-item {
  border-bottom: 1px solid var(--border);
}

.contact-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0 1rem 1.35rem;
  position: relative;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-item summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 1rem;
  font-weight: 600;
  color: var(--text-soft);
}

.contact-faq-item[open] summary::before {
  content: "–";
}

.contact-faq-item p {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 12px 32px rgb(0 0 0 / 0.06);
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.contact-page .contact-form-card:hover {
  border-color: rgb(0 0 0 / 0.12);
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.06),
    0 18px 44px rgb(0 0 0 / 0.09);
}

.contact-form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-field label,
.contact-field-row .contact-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: var(--border-strong);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .contact-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-note {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-form-submit {
  margin-top: 0.35rem;
}

/* -- Footer -- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  background: var(--bg-muted);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}

.footer-tagline {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin: 0;
}

.footer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-crop {
  display: flex;
  align-items: center;
  line-height: 0;
}

.footer-logo-crop .footer-logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(330px, 84vw);
  opacity: 1;
  filter: contrast(1.08) brightness(1.04);
  pointer-events: none;
}

.footer-logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(240px, 72vw);
  opacity: 1;
  filter: contrast(1.045);
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--text);
}

/* -- Motion: scroll reveals & hero -- */
.header-entrance {
  animation: headerDrop 0.9s var(--ease) both;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-bg-img {
  transform: scale(1.08);
  transform-origin: center center;
  object-position: 50% 48%;
  /* Drift 0% must match object-position above or the image jumps when the loop starts after the zoom. */
  animation:
    heroZoomOut 1.4s var(--ease) forwards,
    heroBgDrift 32s ease-in-out 1.4s infinite alternate;
  backface-visibility: hidden;
}

@keyframes heroZoomOut {
  to {
    transform: scale(1);
  }
}

@keyframes heroBgDrift {
  0% {
    object-position: 50% 48%;
  }

  100% {
    object-position: 54% 50%;
  }
}

.hero-bg-video {
  object-position: 50% 48%;
  animation: heroFadeIn 1.4s var(--ease) forwards;
  backface-visibility: hidden;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-scrim {
  opacity: 0;
  animation: heroScrimIn 1.1s var(--ease) 0.15s forwards;
}

@keyframes heroScrimIn {
  to {
    opacity: 1;
  }
}

html.js .hero:not(.hero-ready) .hero-entrance {
  opacity: 0;
  transform: translateY(1.75rem);
}

.hero.hero-ready .hero-entrance {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.hero.hero-ready .hero-entrance-1 {
  transition-delay: 0.2s;
}

.hero.hero-ready .hero-entrance-2 {
  transition-delay: 0.38s;
}

.hero.hero-ready .hero-entrance-3 {
  transition-delay: 0.52s;
}

.hero.hero-ready .hero-entrance-4 {
  transition-delay: 0.66s;
}

.reveal {
  --reveal-dur: 0.85s;
  --reveal-delay: 0s;
  --reveal-y: 2rem;
  --reveal-x: 0;
}

.reveal-delay-sm {
  --reveal-delay: 0.1s;
}

.reveal-delay-md {
  --reveal-delay: 0.18s;
}

.reveal-delay-lg {
  --reveal-delay: 0.26s;
}

.reveal-scale {
  --reveal-y: 0;
}

html.js .reveal:not(.is-inview) {
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
}

html.js .reveal-scale:not(.is-inview) {
  transform: scale(0.97);
  filter: brightness(0.85);
}

html.js .reveal.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--reveal-dur) var(--ease),
    transform var(--reveal-dur) var(--ease),
    filter var(--reveal-dur) var(--ease);
  transition-delay: var(--reveal-delay);
}

/* Footer: skip scroll-reveal (always visible, no motion) */
html.js .site-footer .reveal:not(.is-inview),
html.js .site-footer .reveal.is-inview {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.feature-row .feature-visual {
  overflow: hidden;
}

.feature-row .feature-visual img {
  transition: transform 0.7s var(--ease);
}

.feature-row:hover .feature-visual img {
  transform: scale(1.03);
}

.blog-card-image img {
  transition: transform 0.65s var(--ease);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-inview),
  html.js .reveal.is-inview {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .header-entrance,
  .hero-bg-img,
  .hero-bg-video,
  .hero-scrim {
    animation: none;
  }

  .hero-bg-img {
    transform: none;
  }

  .hero-bg-video {
    display: none;
  }

  .hero-scrim {
    opacity: 1;
  }

  .hero-entrance,
  html.js .hero:not(.hero-ready) .hero-entrance {
    opacity: 1;
    transform: none;
  }

  .feature-row .feature-visual img,
  .blog-card-image img {
    transition: none;
  }

  .feature-row:hover .feature-visual img,
  .blog-card:hover .blog-card-image img {
    transform: none;
  }

  .use-panel.is-refreshing {
    animation: none;
  }

  .testimonial-card:hover,
  .example-card:hover {
    transform: none;
  }

  .how-step:hover {
    transform: none;
  }

  .reveal.is-inview .how-draw {
    animation: none;
    stroke-dashoffset: 0;
  }

  .reveal.is-inview .how-pop {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal.is-inview .how-float-el {
    animation: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .btn:active {
    transform: none;
  }

  .tab:active {
    transform: none;
  }
}

/* -- Blog post (article) -- */
.blog-post-main {
  padding-top: var(--header-h);
}

.blog-post {
  max-width: 42rem;
  margin-inline: auto;
  padding-block: clamp(2.25rem, 6vw, 3.5rem);
}

.blog-post-back {
  margin: 0 0 1.25rem;
}

.blog-post-back .link-arrow {
  font-size: 0.9375rem;
}

.blog-post-header {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.blog-post-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.blog-post-meta-sep {
  opacity: 0.7;
}

.blog-post-feature {
  position: relative;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.blog-post-feature figcaption {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.blog-post-feature figcaption a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.blog-post-feature figcaption a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.post-content-zone .blog-post-feature figcaption a {
  color: var(--link-blue);
}

.post-content-zone .blog-post-feature figcaption a:hover {
  opacity: 0.85;
}

.case-study-post .blog-post-feature::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.90) 45%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.blog-post-body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
}

@media (min-width: 640px) {
  .blog-post-body {
    font-size: 1.125rem;
  }
}

.blog-post-body > * + * {
  margin-top: 1.35em;
}

.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.25em 0 0.65em;
  color: var(--text);
  line-height: 1.3;
}

.blog-post-body h2:first-child {
  margin-top: 0;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0;
  padding-left: 1.25em;
}

.blog-post-body li + li {
  margin-top: 0.5em;
}

.blog-post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-post-body a:hover {
  opacity: 0.9;
}

/* ── Case studies vertical filter tabs ──────────────────────────────── */
.cs-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.cs-filter-tab {
  padding: 0.42rem 1rem;
  border-radius: 99px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font-sans);
}

.cs-filter-tab:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

.cs-filter-tab.is-active {
  background: var(--deep-navy);
  color: var(--accent-text);
}

.blog-card--index.is-hidden {
  display: none !important;
}

@media (max-width: 540px) {
  .cs-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cs-filter-tabs::-webkit-scrollbar { display: none; }
}

/* ── Case study kicker (category label above title) ─────────────────── */
.case-study-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

/* ── Article column — slightly wider than blog posts ─────────────────── */
.case-study-post {
  max-width: 52rem;
}

/* ── Outcome Snapshot metrics box ────────────────────────────────────── */
.case-study-metrics {
  margin: 0 0 clamp(1.6rem, 4vw, 2.3rem);
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.case-study-metrics h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-study-metrics ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

@media (min-width: 680px) {
  .case-study-metrics ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-study-metrics li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.case-study-metrics li:last-child {
  border-bottom: none;
}

.case-study-metrics span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.case-study-metrics strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

/* ── STAR body sections — accent left rule on each heading ───────────── */
.case-study-post .blog-post-body h2 {
  padding-left: 0.875rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
}

/* Case detail pages: one <article> carries both classes (not nested) */
.case-study-post.blog-post-body > h2 {
  padding-left: 0.875rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* ── Testimonial — left-border treatment, subtle accent background ───── */
.case-study-testimonial {
  margin: clamp(2rem, 5vw, 2.8rem) 0;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: none;
  border-left: 3px solid var(--accent);
  background: var(--bg-muted);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.case-study-testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  object-fit: cover;
  flex-shrink: 0;
}

.case-study-testimonial-copy {
  min-width: 0;
}

.case-study-testimonial-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}

.case-study-testimonial-meta {
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.case-study-testimonial-meta strong {
  font-size: 0.875rem;
  color: var(--text);
}

.case-study-testimonial-meta span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Sources ─────────────────────────────────────────────────────────── */
.case-study-sources {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.case-study-sources h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.case-study-sources ul {
  margin: 0;
  padding-left: 1.15rem;
}

.case-study-sources li + li {
  margin-top: 0.35rem;
}

.case-study-sources a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.case-study-sources a:hover {
  opacity: 0.9;
}

.blog-post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-post-body a:hover {
  opacity: 0.9;
}

/* ── Blog / Case-study article split zones ─────────────────────────────── */

/* Feature image at zone boundary — flatten bottom corners so it flows into white */
.post-hero-zone .blog-post-feature {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* White content zone — full-bleed breakout from the constrained article */
.post-content-zone {
  background: var(--bg-elevated);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

/* Remove article's own bottom padding so no dark gap peeks below the white zone */
.blog-post:has(.post-content-zone) {
  padding-bottom: 0;
}

.post-content-zone .blog-post-body h2,
.post-content-zone .case-study-sources h2 {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* ── Light-mode color overrides inside .post-content-zone ──────────────── */

.post-content-zone .blog-post-body {
  max-width: 42rem;
  margin-inline: auto;
  width: 100%;
  color: var(--text);
}

.post-content-zone .blog-post-body h2 {
  color: var(--text);
  border-left-color: var(--deep-navy);
}

.post-content-zone .blog-post-body a,
.post-content-zone .case-study-sources a {
  color: var(--link-blue);
}

.post-content-zone .blog-post-body a:hover,
.post-content-zone .case-study-sources a:hover {
  opacity: 0.8;
}

.post-content-zone .case-study-metrics {
  border-color: var(--border);
  background: var(--bg-muted);
}

.post-content-zone .case-study-metrics h2 {
  color: var(--deep-navy);
}

.post-content-zone .case-study-metrics span {
  color: var(--text-muted);
}

.post-content-zone .case-study-metrics strong {
  color: var(--text);
}

.post-content-zone .case-study-metrics li {
  border-bottom-color: var(--border);
}

.post-content-zone .case-study-testimonial {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: var(--deep-navy);
}

.post-content-zone .case-study-testimonial-quote {
  color: var(--text);
}

.post-content-zone .case-study-testimonial-meta strong {
  color: var(--text);
}

.post-content-zone .case-study-testimonial-meta span {
  color: var(--text-muted);
}

.post-content-zone .case-study-sources {
  border-top-color: var(--border);
}

.post-content-zone .case-study-sources h2 {
  color: var(--text-soft);
}

/* Case study: bottom conversion band (after sources) */
.post-content-zone .case-study-cta-band {
  margin: 2rem 0 0;
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
}

.post-content-zone .case-study-cta-inner {
  max-width: 36rem;
}

.post-content-zone .case-study-cta-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.post-content-zone .case-study-cta-lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.post-content-zone .case-study-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

/* CTA lives inside `.blog-post-body`; reset prose-link styles so buttons match design system */
.post-content-zone .case-study-cta-actions a.btn {
  text-decoration: none;
  text-underline-offset: unset;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  box-sizing: border-box;
  align-self: center;
}

.post-content-zone .case-study-cta-actions a.btn:hover {
  text-decoration: none;
  opacity: 1;
}

.post-content-zone .case-study-cta-actions a.btn-primary {
  color: var(--accent-text);
}

.post-content-zone .case-study-cta-actions a.btn-secondary {
  color: var(--text);
}

.post-content-zone .case-study-cta-solutions {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-content-zone .case-study-cta-solutions a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.post-content-zone .case-study-cta-solutions a:hover {
  opacity: 0.88;
}

/* Case study: deliverable screenshot under “Approach” (viewport capture of live URL) */
.post-content-zone .case-study-approach-shot {
  margin: 1.35rem 0 1.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.post-content-zone .case-study-approach-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.post-content-zone .case-study-approach-shot figcaption {
  margin: 0;
  padding: 0.65rem 1rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

/* Full-page vendor captures: clip right rail (TOC, promos, chat widgets) — image is wider than frame, anchored left. */
.post-content-zone .case-study-shot--crop-main {
  overflow: hidden;
}

.post-content-zone .case-study-shot--crop-main img {
  width: 148%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left top;
}

@media (max-width: 639px) {
  .post-content-zone .case-study-shot--crop-main img {
    width: 100%;
    object-fit: contain;
    object-position: top;
  }
}

/* =============================================
   PRICING MODAL
   ============================================= */

.pm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 21, 27, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.pm-backdrop.is-open {
  opacity: 1;
}

.pm-panel {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  margin: auto;
}

.pm-backdrop.is-open .pm-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
}

.pm-close:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
}

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

.pm-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pm-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.pm-subhead {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
}

.pm-billing-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.pm-billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.pm-billing-btn.is-active {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}

.pm-save-badge {
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.12);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.pm-billing-btn.is-active .pm-save-badge {
  background: rgba(0, 0, 0, 0.18);
}

.pm-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pm-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pm-tier-featured {
  border-color: var(--border-strong);
  background: var(--bg-muted);
}

.pm-tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pm-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.pm-addon-tag {
  font-size: 0.62rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--text-soft);
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  text-transform: uppercase;
}

.pm-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.2rem;
}

.pm-amount {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: opacity 0.15s;
}

.pm-per {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.pm-billing-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 0 0 1.1rem;
  min-height: 1.1em;
}

.pm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pm-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.pm-features li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.pm-cta {
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 1rem;
}

.pm-tier-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-soft);
  margin: 0.5rem 0 0;
}

.pm-enterprise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}

.pm-enterprise-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pm-enterprise-copy strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.pm-enterprise-copy span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

  .pm-enterprise {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pm-enterprise .btn {
    width: 100%;
  }

  .pm-billing-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }
}

/* =============================================
   PRICING PAGE
   ============================================= */

.pricing-packages {
  padding: 0 0 4rem;
}

.pricing-packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pricing-pkg-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.pricing-pkg-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.pricing-pkg-card.is-featured {
  border-color: var(--border-strong);
}

.pricing-pkg-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-pkg-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}

.pricing-pkg-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.pricing-pkg-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pricing-pkg-highlights li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.pricing-pkg-highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.pricing-trust {
  padding: 2.5rem 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.pricing-trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 1.25rem;
}

.pricing-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  opacity: 0.5;
}

.pricing-trust-logos img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(0);
}

.pricing-faq {
  max-width: 720px;
  margin-inline: auto;
  padding: 0 0 4rem;
}

.pricing-faq-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 2rem;
  color: var(--text);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-dim);
  border-color: var(--border-strong);
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.68;
  padding-bottom: 0;
  transition: padding-bottom 0.35s var(--ease);
}

.faq-item.is-open .faq-answer-inner {
  padding-bottom: 1.35rem;
}

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

/* ── Lead Magnet – State of AI in Cybercrime ────────────────────────── */

.lm-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--bg);
}

.lm-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.lm-hero-cover {
  position: relative;
  align-self: center;
}

.lm-cover-img {
  width: clamp(200px, 22vw, 320px);
  height: auto;
  border-radius: 0.625rem;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

.lm-hero-body {
  max-width: 38rem;
}

.lm-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lm-hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lm-hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Form */
.lm-form {
  max-width: 28rem;
}

.lm-form-row {
  display: flex;
  gap: 0.5rem;
}

.lm-input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.lm-input::placeholder { color: var(--text-soft); }
.lm-input:focus { border-color: var(--border-strong); }

.lm-submit {
  flex-shrink: 0;
  padding: 0.7rem 1.35rem;
  background: var(--accent);
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-text);
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  white-space: nowrap;
}

.lm-submit:hover { filter: brightness(1.06); }
.lm-submit:active { transform: scale(0.98); }
.lm-submit:disabled { opacity: 0.6; cursor: default; }

.lm-trust {
  margin: 0.625rem 0 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.lm-msg {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
}

.lm-msg--error { color: #F00000; }

.lm-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* The HTML `hidden` attribute maps to the UA stylesheet's `display: none`.
   Any explicit `display:` on a class beats UA styles, so we must restore it. */
.lm-success[hidden],
.lm-form[hidden] {
  display: none;
}

.lm-success-icon {
  color: var(--accent);
  margin-bottom: 0.125rem;
}

.lm-success-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.lm-success-body {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sections */
.lm-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--border);
}

.lm-section--alt {
  background: var(--bg-muted);
}

.lm-section-inner {
  max-width: 52rem;
}

.lm-section-title {
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* What's Inside grid */
.lm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
}

.lm-card {
  padding: 1.35rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.lm-card:hover {
  border-color: var(--border-strong);
}

.lm-card-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 0.375rem;
}

.lm-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.lm-card-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Who It's For */
.lm-audience {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lm-audience li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lm-audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.lm-audience li strong {
  color: var(--text);
  font-weight: 600;
}

/* CTA Banner */
.lm-cta-banner {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lm-cta-inner {
  max-width: 36rem;
}

.lm-cta-title {
  margin: 0 0 0.625rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--text);
}

.lm-cta-desc {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.lm-cta-btn {
  text-decoration: none;
}

/* FAQ */
.lm-faq-wrap {
  max-width: 40rem;
}

.lm-faq {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lm-faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.lm-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.lm-faq-q {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.lm-faq-a {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* About */
.lm-about-wrap {
  max-width: 40rem;
}

.lm-about-text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.lm-about-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.55;
}

.lm-about-logos img {
  height: 1.5rem;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .lm-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lm-hero-cover {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .lm-cover-img {
    width: 220px;
  }

  .lm-hero-body {
    max-width: none;
  }

  .lm-form {
    max-width: none;
    margin-inline: auto;
  }

  .lm-form-row {
    flex-direction: column;
  }

  .lm-trust {
    text-align: center;
  }

  .lm-success {
    align-items: center;
    text-align: center;
  }

  .lm-about-logos {
    justify-content: center;
  }
}

/* =============================================
   COMPETITOR COMPARISON (VS) PAGES
   ============================================= */

.vs-screenshot-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.vs-screenshot-pair {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vs-screenshot-side {
  flex: 1;
  min-width: 0;
}

.vs-screenshot-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.vs-screenshot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
}

.vs-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.vs-screenshot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: var(--text-soft);
  font-size: 0.875rem;
}

.vs-screenshot-caption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin: 0.5rem 0 0;
}

@media (min-width: 52rem) {
  .vs-screenshot-pair {
    flex-direction: row;
    gap: 1.5rem;
  }

  .vs-screenshot-caption {
    grid-column: 1 / -1;
  }
}

/* ── Feature comparison table ── */

.vs-table-section {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

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

.vs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.vs-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.vs-table-brand-col {
  text-align: center !important;
  width: 7.5rem;
}

.vs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.vs-table-feature {
  font-weight: 500;
  color: var(--text);
}

.vs-table-check {
  text-align: center;
}

.vs-table-check svg {
  display: inline-block;
  vertical-align: middle;
}

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

/* ── Best-for cards ── */

.vs-bestfor {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .vs-bestfor {
    grid-template-columns: 1fr 1fr;
  }
}

.vs-bestfor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.vs-bestfor-card .eyebrow {
  margin-bottom: 0.5rem;
}

.vs-bestfor-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Why Cyberou list ── */

.vs-why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vs-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.vs-why-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M1 3l2 2 4-4' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* ── Comparison detail cards ── */

.vs-compare-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 52rem) {
  .vs-compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vs-compare-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.vs-compare-card .eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.vs-compare-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.vs-compare-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Switching / migration card ── */

.vs-migration-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vs-migration-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.vs-migration-list li:first-child {
  padding-top: 0;
}

.vs-migration-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.vs-migration-list strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* ── Slim footer ────────────────────────────────────── */

.site-footer-slim {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  padding: 0.15rem 0.65rem;
  transition: color 0.18s ease;
  position: relative;
}

.site-footer-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.7em;
  background: rgba(255, 255, 255, 0.15);
}

.site-footer-nav a:hover {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.01em;
}

/* =============================================
   HERO EMAIL — THANKS MODAL
   ============================================= */

.thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.thanks-modal[hidden] {
  display: none;
}

.thanks-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 21, 27, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.thanks-modal.is-open .thanks-modal-backdrop {
  opacity: 1;
}

.thanks-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.22s var(--ease);
}

.thanks-modal.is-open .thanks-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.thanks-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.thanks-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
}

.thanks-modal-close:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

.thanks-modal-title {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.thanks-modal-body {
  margin: 0 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.thanks-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.015em;
  color: #ffffff;
  background: var(--sky-blue);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.thanks-modal-cta:hover {
  background: var(--sky-blue-hover);
}

.thanks-modal-cta:active {
  transform: scale(0.98);
}

.thanks-modal-cta:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .thanks-modal-backdrop,
  .thanks-modal-panel {
    transition: none;
  }
}

/* ── Case study detail (/work/cases/…) — long-form layout (light hero + sticky aside) ─ */
/* Do not paint a second marketing wash on the hero: body already uses fixed --marketing-soft-wash,
   and stacking scroll + fixed gradients causes a white “fog” band that overlaps the article (esp. WebKit). */
.case-detail-page .case-detail-hero.work-showcase-hero--soft {
  background-color: transparent;
  background-image: none;
}

/* Keep case long-form above the global fixed wash (avoids gradient seams while scrolling). */
.case-detail-page main.page-main {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.case-detail-hero {
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.case-detail-hero .wrap {
  width: var(--align-width);
  max-width: none;
}

.case-detail-back {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.case-detail-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.case-detail-back a:hover {
  color: var(--text);
}

.case-detail-page .case-detail-hero .case-study-kicker {
  margin-bottom: 0.75rem;
}

.case-detail-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: var(--page-h1-tracking);
  color: var(--text);
  text-wrap: balance;
}

.case-detail-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.case-detail-highlights {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 36rem;
}

.case-detail-highlights li {
  position: relative;
  padding-left: 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
}

.case-detail-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.case-detail-layout {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2rem, 5vw, 3.25rem);
  align-items: start;
  background: transparent;
  position: relative;
  z-index: 0;
}

@media (min-width: 960px) {
  .case-detail-layout {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.case-detail-main {
  min-width: 0;
  /* Let the grid column set width; inner max-width keeps line length */
  max-width: none;
}

.case-detail-main.case-study-post {
  max-width: min(40rem, 100%);
}

.case-detail-main > h2:first-of-type {
  margin-top: 0;
}

.case-detail-page .blog-post-body h2:first-child {
  margin-top: 0;
}

.case-detail-aside {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

@media (min-width: 960px) {
  .case-detail-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
}

.case-detail-aside-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.case-detail-aside-title:not(:first-child) {
  margin-top: 1.25rem;
}

.case-detail-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-detail-aside a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.case-detail-aside a:hover {
  color: var(--accent);
  border-bottom-color: rgb(80 171 218 / 0.35);
}

.case-detail-main.blog-post-body > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.case-detail-main.blog-post-body > p strong {
  color: var(--text);
}

/* Index: compact case cards linking to detail pages */
.work-showcase-card--index-teaser .work-showcase-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-showcase-card--index-teaser .work-showcase-card__index-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.work-showcase-card__link:hover .work-showcase-card__index-cta {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ── Work showcase (case studies + examples of work) ─────────────────────────── */
.work-showcase-hero {
  padding-block: clamp(3rem, 9vw, 5.25rem);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.work-showcase-hero--soft {
  background-color: var(--bg);
  background-image: var(--marketing-soft-wash);
  background-attachment: scroll;
}

.work-showcase-hero .page-hero-title {
  text-align: left;
  text-wrap: pretty;
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}

.work-showcase-hero .page-hero-lead,
.work-showcase-hero-lead {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 0;
  max-width: 100%;
  line-height: 1.68;
}

@media (min-width: 640px) {
  .work-showcase-hero .page-hero-lead,
  .work-showcase-hero-lead {
    max-width: min(36rem, 58%);
  }
}

/* Blog index (api-blog-render): filters live under the same hero band as case studies */
.work-showcase-hero-inner .blog-index-filters {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.work-showcase-body .blog-index-empty {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.work-showcase-body {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--bg);
}

.work-showcase-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
}

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

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

.work-showcase-card {
  margin: 0;
}

.work-showcase-card__link,
.work-showcase-card__surface {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 12px 32px rgb(0 0 0 / 0.06);
  transition:
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.work-showcase-card__link:hover,
.work-showcase-card__surface:hover {
  border-color: rgb(0 0 0 / 0.12);
  box-shadow:
    0 1px 3px rgb(0 0 0 / 0.06),
    0 18px 44px rgb(0 0 0 / 0.09);
  transform: translateY(-2px);
}

.work-showcase-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Case study cards: story is not one big link */
.work-showcase-card--case .work-showcase-card__surface {
  text-align: left;
}

.work-showcase-card--case .work-showcase-card__body {
  gap: 0.75rem;
}

.work-showcase-case-block {
  margin: 0;
}

.work-showcase-case-block + .work-showcase-case-block {
  margin-top: 0.35rem;
}

.work-showcase-case-label {
  margin: 0 0 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.35;
}

.work-showcase-case-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.work-showcase-card--case .work-showcase-card__text-link {
  margin-top: 0.5rem;
}

.work-showcase-case-quote {
  margin: 0.35rem 0 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.work-showcase-case-quote blockquote {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--text-muted);
}

.work-showcase-case-quote blockquote p {
  margin: 0;
}

.work-showcase-case-quote cite {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text);
}

.work-showcase-case-quote-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.work-showcase-case-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.work-showcase-case-quote-name {
  font-weight: 600;
}

.work-showcase-case-quote-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live blog screenshot (browser viewport of client URL) */
.work-showcase-case-screenshot {
  margin: 0.15rem 0 0.35rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 0.08);
  box-shadow:
    0 2px 4px rgb(0 0 0 / 0.04),
    0 12px 28px rgb(0 0 0 / 0.1),
    0 24px 48px rgb(0 0 0 / 0.08);
}

.work-showcase-case-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.work-showcase-case-screenshot-caption {
  margin: 0;
  padding: 0.45rem 0.55rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-soft);
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.work-showcase-case-screenshot-caption a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.work-showcase-case-screenshot-caption a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.work-showcase-card__visual {
  position: relative;
  min-height: 11.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.work-showcase-card__visual--pastel {
  background: linear-gradient(145deg, #f7f4ff 0%, #faf6f0 48%, #f3f8fc 100%);
  overflow: hidden;
}

.work-showcase-card__visual--accent-sky .work-showcase-pastel-deco {
  background: radial-gradient(circle at 30% 40%, rgba(80, 171, 218, 0.25), transparent 52%),
    radial-gradient(circle at 78% 65%, rgba(255, 182, 193, 0.2), transparent 48%);
}

.work-showcase-card__visual--accent-rose .work-showcase-pastel-deco {
  background: radial-gradient(circle at 70% 35%, rgba(255, 160, 170, 0.22), transparent 50%),
    radial-gradient(circle at 20% 75%, rgba(80, 171, 218, 0.14), transparent 55%);
}

.work-showcase-card__visual--accent-lilac .work-showcase-pastel-deco {
  background: radial-gradient(circle at 55% 50%, rgba(184, 164, 224, 0.28), transparent 54%),
    radial-gradient(circle at 15% 30%, rgba(147, 197, 255, 0.16), transparent 48%);
}

.work-showcase-pastel-deco {
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.work-showcase-pastel-deco::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 1.5rem;
  border: 1px solid rgb(0 0 0 / 0.06);
  rotate: -6deg;
  opacity: 0.7;
}

.work-showcase-card__logo {
  position: relative;
  z-index: 1;
  max-width: min(11rem, 78%);
  height: auto;
  object-fit: contain;
}

/* Published work catalog (examples-of-work) */
.published-work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 72rem;
}

.published-work-filters .blog-filter {
  white-space: normal;
  text-align: left;
  line-height: 1.25;
  max-width: 100%;
}

.case-studies-page .work-showcase-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.case-studies-page .work-showcase-hero-secondary {
  font-size: 0.9375rem;
  font-weight: 600;
}

.examples-work-page .examples-work-hero-actions {
  margin-top: 0.75rem;
}

.examples-work-page .examples-work-hero-actions .link-arrow {
  font-size: 0.9375rem;
  font-weight: 600;
}

.work-showcase-card--index-teaser .work-showcase-card__subtitle {
  margin: -0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-muted);
}

.work-showcase-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  align-items: stretch;
}

.work-showcase-grid--catalog > .work-showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* JS filters toggle `hidden` on cards; our flex rule beats the UA [hidden] display, so hide explicitly. */
.work-showcase-grid--catalog > .work-showcase-card[hidden] {
  display: none !important;
}

.work-showcase-grid--catalog > .work-showcase-card > .work-showcase-card__link {
  flex: 1 1 auto;
  min-height: 0;
}

/* Intrinsic 16:9 frame — padding-box height avoids flex/aspect-ratio inconsistencies across browsers. */
.work-showcase-card__cover-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  min-height: 0;
  background: linear-gradient(145deg, #f0f4ff 0%, #faf8f5 50%, #f5f0fa 100%);
}

/* Catalog: do not let tall OG previews size the strip in-flow; flex-basis stays content-sized from aspect-ratio. */
.work-showcase-card--catalog .work-showcase-card__cover-wrap {
  flex: 0 0 auto;
}

/* Beat global `img { height: auto; max-width: 100% }` — covers must fill the frame edge-to-edge. */
.work-showcase-card__cover-wrap .work-showcase-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.work-showcase-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-showcase-card__cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 30% 40%, rgba(80, 171, 218, 0.2), transparent 55%),
    radial-gradient(circle at 78% 70%, rgba(184, 164, 224, 0.22), transparent 50%);
  opacity: 1;
}

.work-showcase-card--catalog:not(.work-showcase-card--no-cover) .work-showcase-card__cover-fallback {
  display: none;
}

/* Tag strip: clamp long vertical lists without reserving empty lines on short cards */
.work-showcase-card--catalog .work-showcase-card__tags {
  flex: 0 0 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  min-height: 0;
}

.work-showcase-card--catalog .work-showcase-card__meta-row {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.5rem;
  min-height: 0;
  overflow: hidden;
}

.work-showcase-card--catalog .work-showcase-card__vendor,
.work-showcase-card--catalog .work-showcase-card__kind {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-showcase-card--catalog .work-showcase-card__title {
  flex: 0 0 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 0;
}

.work-showcase-card--catalog .work-showcase-card__desc--catalog {
  margin: 0;
  flex: 0 0 auto;
  min-height: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.work-showcase-card--catalog .work-showcase-card__body {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0.45rem;
}

.work-showcase-card--catalog .work-showcase-card__desc {
  flex: 0 0 auto;
  min-height: 0;
}

.work-showcase-catalog-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.work-showcase-catalog-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.work-showcase-card__visual--dark {
  padding: 0;
  min-height: 12rem;
  background: #050505;
}

.work-showcase-dark-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 180;
}

.work-showcase-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--bg-elevated);
}

.work-showcase-card__tags {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.35;
}

.work-showcase-card__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.work-showcase-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.work-showcase-card__desc {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.work-showcase-card__pill-cta {
  align-self: flex-start;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.work-showcase-card__text-link {
  margin-top: auto;
  padding-top: 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.work-showcase-card--example .work-showcase-card__link:hover .work-showcase-card__text-link {
  color: var(--accent);
}

/* Catalog cards: keep CTA directly under copy (no flex “dead air” above View piece) */
.work-showcase-card--catalog .work-showcase-card__text-link {
  margin-top: 0.25rem;
  padding-top: 0;
}

body.page-light .site-header .nav-desktop > a.is-current {
  color: rgb(255 255 255 / 0.96);
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(255 255 255 / 0.08);
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  margin: -0.35rem 0;
}

body.page-light .mobile-nav a.is-current {
  color: rgb(255 255 255 / 0.96);
  font-weight: 600;
}

/* ── Vertical SDR / niche landing pages (/for/...) ─────────────────────────── */
.vertical-landing-page .vertical-landing-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.vertical-landing-value-list {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  padding-left: 1.15rem;
  max-width: min(40rem, 100%);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.vertical-landing-value-list li + li {
  margin-top: 0.5rem;
}

.vertical-landing-hero-actions {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.vertical-landing-section {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.vertical-landing-section--muted {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.vertical-section-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.vertical-section-lead {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.vertical-section-lead a {
  color: var(--link-blue);
  font-weight: 600;
}

.vertical-landing-trust-bleed {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

/* Trust grid inherits white-logo filters from the dark homepage hero; on light vertical landings, show dark marks */
.vertical-landing-trust-bleed .hero-trust-logo img {
  filter: grayscale(1) brightness(0);
  opacity: 0.82;
}

.vertical-landing-trust-bleed .hero-trust-logo img:hover {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.vertical-case-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .vertical-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vertical-case-card {
  margin: 0;
}

.vertical-case-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.vertical-case-card__link:hover {
  border-color: rgb(0 0 0 / 0.12);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.08);
  transform: translateY(-2px);
}

.vertical-case-card__logo {
  margin-bottom: 0.65rem;
  min-height: 2.25rem;
}

.vertical-case-card__logo img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

.vertical-case-card__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.vertical-case-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}

.vertical-case-card__teaser {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.vertical-case-card__cta {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.vertical-case-card__link:hover .vertical-case-card__cta {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vertical-examples-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vertical-example-item {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.vertical-example-link {
  display: inline;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--link-blue);
  text-decoration: none;
}

.vertical-example-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vertical-example-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.vertical-example-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.vertical-landing-testimonials {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 0.65rem;
}

.vertical-landing-testimonial-wrap .vertical-landing-proof {
  max-width: 36rem;
  margin: 0;
}

.vertical-landing-faq {
  max-width: 40rem;
}

.vertical-landing-bottom-cta {
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
  background: linear-gradient(145deg, rgb(15 23 42 / 0.06) 0%, rgb(80 171 218 / 0.08) 100%);
  border-top: 1px solid var(--border);
}

.vertical-landing-bottom-cta-inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.vertical-bottom-cta-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.vertical-bottom-cta-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.vertical-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Knowledge hub (FAQ hub) */
.knowledge-hub-body {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4rem);
}

.knowledge-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  max-width: 72rem;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .knowledge-hub-layout {
    grid-template-columns: 1fr;
  }
}

.knowledge-hub-toc {
  position: sticky;
  top: 5.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

@media (max-width: 900px) {
  .knowledge-hub-toc {
    position: static;
  }
}

.knowledge-hub-toc-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.knowledge-hub-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.knowledge-hub-toc-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0.35rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.knowledge-hub-toc-link:hover {
  color: var(--text);
  background: rgb(15 23 42 / 0.04);
}

.knowledge-hub-toc-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.knowledge-hub-main {
  min-width: 0;
}

.knowledge-hub-section {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.knowledge-hub-section:last-of-type {
  margin-bottom: 0;
}

.knowledge-hub-section .vertical-section-heading {
  margin-bottom: 0.85rem;
}

.knowledge-hub-faq.contact-faq {
  margin-top: 0;
  border-top: none;
}

.knowledge-hub-faq .contact-faq-item summary {
  font-size: 0.98rem;
}

.knowledge-hub-faq .contact-faq-item p {
  font-size: 0.9375rem;
  line-height: 1.62;
}

.knowledge-hub-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgb(15 23 42 / 0.04) 0%, rgb(80 171 218 / 0.07) 100%);
}

.knowledge-hub-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  margin: 1rem 0 0;
}
