/* ── Reset over the design-system base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-base); color: var(--fg-1); font-family: var(--font-body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; border: 0; }
::selection { background: var(--purple-500); color: white; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-400);
  margin-bottom: 20px;
}
.eyebrow::before { content:''; display:block; width: 22px; height: 1px; background: var(--purple-400); }

/* ── NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px; height: 76px; display: flex; align-items: center;
  transition: background 250ms var(--ease-out), border-bottom-color 250ms;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; width: 100%; display: flex; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.nav-logo img { width: 44px; height: 44px; }
.nav-logo .word { line-height: 1.15; }
.nav-logo .word .n { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.22em; color: var(--fg-1); }
.nav-logo .word .sub { font-family: var(--font-body); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--fg-3); }
.nav-links { position: relative; display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--fg-3); transition: color 150ms; }
.nav-links a:hover { color: var(--fg-1); }
.nav-links a.active { color: var(--fg-1); }
/* sliding underline — travels under the menu item whose section is in focus */
.nav-underline {
  position: absolute; bottom: -8px; left: 0; height: 2px; width: 0;
  background: var(--purple-400); border-radius: 2px; pointer-events: none;
  opacity: 0; transform: translateX(0);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out), opacity .3s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) { .nav-underline { transition: opacity .3s; } }
.nav-cta {
  margin-left: 28px; background: var(--purple-500); color: #fff;
  cursor: pointer; font-family: inherit;
  padding: 10px 20px; border-radius: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  border: 2.5px solid var(--fg-1);
  box-shadow: 3px 3px 0 0 var(--fg-1);
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
.nav-cta:hover  { transform: translate(1.5px, 1.5px); box-shadow: 1.5px 1.5px 0 0 var(--fg-1); }
.nav-cta:active { transform: translate(3px, 3px);     box-shadow: 0 0 0 0 var(--fg-1); }

/* ── THEME TOGGLE BUTTON ─────────────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px;
  margin: 0 0 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--fg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  transition: color 200ms, border-color 200ms, background 200ms, transform 200ms;
}
.theme-toggle:hover {
  color: var(--fg-1);
  border-color: var(--purple-bd);
  background: var(--purple-bg);
}
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px var(--purple-bg-2);
}
.theme-icon {
  width: 15px; height: 15px;
  position: absolute;
  transition: opacity 250ms cubic-bezier(.16,.8,.24,1),
              transform 350ms cubic-bezier(.16,.8,.24,1);
}
:root[data-theme="dark"]  .theme-icon-sun  { opacity: 1; transform: rotate(0)      scale(1);   }
:root[data-theme="dark"]  .theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
:root[data-theme="light"] .theme-icon-sun  { opacity: 0; transform: rotate(90deg)  scale(0.6); }
:root[data-theme="light"] .theme-icon-moon { opacity: 1; transform: rotate(0)      scale(1);   }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero { padding: 112px 24px 100px; min-height: 100vh; display: flex; align-items: flex-start; position: relative; overflow: hidden; }
.hero-bloom { position: absolute; inset: 0; pointer-events: none; background: var(--bloom); }
.hero-bloom-top { position: absolute; inset: 0; pointer-events: none; background: var(--bloom-top); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--vignette);
}
.hero-inner { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-bg); border: 1px solid var(--purple-bd);
  color: var(--purple-400);
  padding: 6px 16px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.10em;
  margin-bottom: 32px;
  opacity: 0; animation: heroFade .6s 0s var(--ease-out) both;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-400); animation: pulse-ring 2s infinite; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.94; letter-spacing: -0.05em;
  margin-bottom: 28px; max-width: 14ch;
  opacity: 0; animation: heroFade .65s .12s var(--ease-out) both;
  color: var(--fg-1); font-weight: 700;
}
.hero h1 .accent { color: var(--purple-400); }
.hero h1 .ghost  { color: rgba(242,243,247,0.13); }
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px); color: var(--fg-2);
  max-width: 540px; line-height: 1.6; margin-bottom: 44px;
  opacity: 0; animation: heroFade .65s .22s var(--ease-out) both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: heroFade .65s .32s var(--ease-out) both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-inv); color: var(--fg-on-cream);
  padding: 14px 26px; border-radius: 10px;
  border: none; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 600;
  transition: transform 200ms, box-shadow 200ms;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.btn-primary:hover { color: var(--fg-on-cream); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--fg-1);
  padding: 14px 22px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500;
  border: 1px solid var(--line-strong);
  transition: border-color 200ms, transform 200ms;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.30); transform: translateY(-1px); }

.hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 56px;
  opacity: 0; animation: heroFade .65s .42s var(--ease-out) both;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--fg-3); }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple-400); }
.trust-div { width: 1px; height: 14px; background: var(--line); }

@keyframes heroFade { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139,92,246,0.5); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(139,92,246,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139,92,246,0); }
}

/* ── STATS BAND ───────────────────────────────────────────────────── */
.stats-band { background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 44px 22px; text-align: center; border-right: 1px solid var(--line); position: relative; }
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--purple-500);
  transition: width 350ms var(--ease-out);
}
.stat-item:hover::after { width: 50%; }
.stat-n { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stat-n.purple { color: var(--purple-400); }
.stat-n.ink    { color: var(--fg-1); }
.stat-lbl { font-size: 13px; color: var(--fg-3); line-height: 1.4; }
/* stats — staggered entrance + count-up glow */
.stat-item { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.stats-band.in .stat-item { opacity: 1; transform: none; }
.stats-band.in .stat-item:nth-child(2) { transition-delay: .09s; }
.stats-band.in .stat-item:nth-child(3) { transition-delay: .18s; }
.stats-band.in .stat-item:nth-child(4) { transition-delay: .27s; }
.stat-n.counted { animation: statGlow .85s var(--ease-out); }
@keyframes statGlow {
  0%   { text-shadow: 0 0 0 rgba(139,92,246,0); }
  35%  { text-shadow: 0 0 22px var(--purple-glow); }
  100% { text-shadow: 0 0 0 rgba(139,92,246,0); }
}
@media (prefers-reduced-motion: reduce) {
  .stat-item { opacity: 1 !important; transform: none !important; transition: none; }
  .stat-n.counted { animation: none; }
}

/* ── GENERAL SECTIONS ─────────────────────────────────────────────── */
section { padding: 110px 0; position: relative; }
.section-header { margin-bottom: 56px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 56px); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 16px; color: var(--fg-1); font-weight: 700; }
.section-header h2 .accent { color: var(--purple-400); }
.section-header p { font-size: clamp(15px, 1.5vw, 17px); color: var(--fg-2); max-width: 520px; line-height: 1.6; }

/* ── PROBLEM GRID ─────────────────────────────────────────────────── */
/* 3D depth cards — cursor tilt + parallax layers + 3D flip-in entrance */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.p-card { position: relative; perspective: 1200px; opacity: 0;
  transition: opacity .6s var(--ease-out); }
.p-card.in { opacity: 1; }

.p-card__face {
  position: relative; height: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 22px; padding: 38px 34px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--enter-rx, -24deg) + var(--rx, 0deg)))
             rotateY(var(--ry, 0deg))
             translateY(var(--enter-y, 46px))
             scale(var(--enter-s, .9));
  transition: transform .55s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.45);
  will-change: transform;
}
.p-card__face.tilting { transition: transform .12s linear, box-shadow .4s var(--ease-out), border-color .4s var(--ease-out); }
.p-card.in .p-card__face { --enter-rx: 0deg; --enter-y: 0px; --enter-s: 1; }
.p-card:hover .p-card__face {
  box-shadow: 0 38px 72px -30px rgba(139,92,246,.5), 0 12px 30px -16px rgba(0,0,0,.4);
  border-color: var(--line-purple);
}

.p-card__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.20), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease-out); transform: translateZ(1px);
}
.p-card:hover .p-card__glare { opacity: 1; }

.p-card__ghost {
  position: absolute; top: 14px; right: 24px; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: 78px; line-height: 1;
  letter-spacing: -.04em; color: var(--fg-1); opacity: .05; transform: translateZ(8px);
}
.p-card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 22px; background: var(--purple-bg); border: 1px solid var(--purple-bd);
  transform: translateZ(72px);
}
.p-card__icon svg { width: 22px; height: 22px; stroke: var(--purple-400); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.p-card__label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 10px; transform: translateZ(58px);
}
.p-card__num {
  font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; color: var(--purple-400); margin-bottom: 14px;
  transform: translateZ(48px);
}
.p-card:nth-child(even) .p-card__num { color: var(--fg-1); }
.p-card__desc { font-size: 15px; color: var(--fg-2); line-height: 1.55; transform: translateZ(24px); }
@media (prefers-reduced-motion: reduce) {
  .p-card { opacity: 1; }
  .p-card__face { --enter-rx: 0deg; --enter-y: 0; --enter-s: 1; transition: none; }
}

/* ── LOSING ───────────────────────────────────────────────────────── */
.losing-section { background: var(--surface-1); }
.losing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
/* 3D depth cards — same cursor tilt + parallax layers + 3D flip-in as .p-card */
.losing-card { position: relative; perspective: 1200px; opacity: 0;
  transition: opacity .6s var(--ease-out); }
.losing-card.in { opacity: 1; }
.losing-card__face {
  position: relative; height: 100%;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 30px;
  display: flex; gap: 20px; align-items: flex-start;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--enter-rx, -24deg) + var(--rx, 0deg)))
             rotateY(var(--ry, 0deg))
             translateY(var(--enter-y, 46px))
             scale(var(--enter-s, .9));
  transition: transform .55s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 30px -16px rgba(0,0,0,.45);
  will-change: transform;
}
.losing-card__face.tilting { transition: transform .12s linear, box-shadow .4s var(--ease-out), border-color .4s var(--ease-out); }
.losing-card.in .losing-card__face { --enter-rx: 0deg; --enter-y: 0px; --enter-s: 1; }
.losing-card:hover .losing-card__face {
  box-shadow: 0 38px 72px -30px rgba(139,92,246,.5), 0 12px 30px -16px rgba(0,0,0,.4);
  border-color: var(--line-purple);
}
.losing-card__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.20), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease-out); transform: translateZ(1px);
}
.losing-card:hover .losing-card__glare { opacity: 1; }
.losing-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--purple-bg); border: 1px solid var(--purple-bd);
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(60px);
}
.losing-icon svg { width: 20px; height: 20px; stroke: var(--purple-400); fill: none; stroke-width: 1.8; }
.losing-body { transform: translateZ(34px); }
.losing-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.losing-desc { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .losing-card { opacity: 1; }
  .losing-card__face { --enter-rx: 0deg; --enter-y: 0; --enter-s: 1; transition: none; }
}

/* ── ATTACKS ──────────────────────────────────────────────────────── */
.attacks-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.attacks-left h2 { font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 16px; color: var(--fg-1); }
.attacks-left h2 .accent { color: var(--purple-400); }
.attacks-left p { font-size: 15px; color: var(--fg-2); line-height: 1.6; margin-top: 12px; }
.attacks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.attack-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 18px;
  transition: border-color 200ms, transform 200ms;
}
.attack-card:hover { border-color: var(--purple-bd); transform: translateY(-2px); }
.attack-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--purple-400); margin-bottom: 5px; }
.attack-desc { font-size: 12.5px; color: var(--fg-2); line-height: 1.45; }

/* ── HOW IT WORKS ─────────────────────────────────────────────────── */
/* ── HOW IT WORKS — animated 5-stage pipeline ─────────────────────── */
.how-section { background: var(--surface-1); }
.pipeline { position: relative; margin-top: 10px; }

/* horizontal connector behind the nodes */
.pipeline__track {
  position: absolute; top: 24.5px; left: 10%; right: 10%; height: 3px;
  background: var(--line); border-radius: 3px; z-index: 0;
}
.pipeline__fill {
  position: absolute; inset: 0; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  transition: width 1.7s var(--ease-out);
}
.pipeline.in .pipeline__fill { width: 100%; }
.pipeline__comet {
  position: absolute; top: 50%; left: 0; width: 11px; height: 11px; margin-top: -5.5px;
  border-radius: 50%; background: var(--purple-300); transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(139,92,246,.16), 0 0 16px 3px rgba(139,92,246,.65);
  opacity: 0;
}
.pipeline.in .pipeline__comet { animation: cometRun 3.6s var(--ease-out) 1.4s infinite; }
@keyframes cometRun {
  0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; }
}

.pipeline__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; z-index: 1; }
.pipeline .stage {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i) * .13s);
}
.pipeline.in .stage { opacity: 1; transform: none; }

.stage__node {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(150deg, var(--purple-400), var(--purple-500));
  color: #fff; box-shadow: 0 8px 20px -6px rgba(139,92,246,.6), 0 0 0 5px var(--purple-bg);
  transform: scale(.3); opacity: 0;
  transition: transform .55s var(--ease-out), opacity .5s var(--ease-out), box-shadow .3s var(--ease-out);
  transition-delay: calc(var(--i) * .13s + .18s);
}
.pipeline.in .stage__node { transform: scale(1); opacity: 1; }
.stage__num { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.stage__node::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--purple-400); opacity: 0;
}
.pipeline .stage:hover .stage__node { transform: scale(1.12) translateY(-3px); box-shadow: 0 16px 32px -8px rgba(139,92,246,.78), 0 0 0 6px var(--purple-bg-2); }
.pipeline .stage:hover .stage__node::after { animation: nodePulse 1.3s var(--ease-out) infinite; }
@keyframes nodePulse { 0% { transform: scale(.85); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }

.stage__body { display: flex; flex-direction: column; align-items: center; }
.stage__icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--purple-400); transition: color .2s var(--ease-out), transform .25s var(--ease-out); }
.stage__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pipeline .stage:hover .stage__icon { color: var(--purple-500); transform: translateY(-2px) scale(1.06); }
.stage__title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--fg-1); margin-bottom: 9px; letter-spacing: .08em; text-transform: uppercase; }
.stage__desc { font-size: 13px; color: var(--fg-2); line-height: 1.6; max-width: 30ch; }

@media (prefers-reduced-motion: reduce) {
  .pipeline .stage, .pipeline .stage__node { opacity: 1 !important; transform: none !important; transition: none; }
  .pipeline__fill { transition: none; width: 100%; }
  .pipeline.in .pipeline__comet { animation: none; }
}
.compliance-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.compliance-label { font-size: 12px; color: var(--fg-3); font-weight: 500; margin-right: 4px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.badge {
  background: var(--purple-bg); border: 1px solid var(--purple-bd);
  color: var(--purple-400); border-radius: 999px;
  padding: 4px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
}

/* ── BENEFITS ─────────────────────────────────────────────────────── */
.benefits-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.stat-hero {
  background: var(--purple-500); border-radius: 18px;
  padding: 28px; margin-top: 36px;
  box-shadow: 0 16px 40px rgba(139,92,246,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.stat-hero::after { content:''; position:absolute; top:-30%; right:-20%; width:60%; height:60%; border-radius:50%; background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 65%); pointer-events: none; }
.stat-hero-n { font-family: var(--font-display); font-size: clamp(48px, 6vw, 68px); font-weight: 700; letter-spacing: -0.05em; color: #fff; line-height: 1; }
.stat-hero-lbl { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 6px; }
.benefits-list { display: flex; flex-direction: column; }
.benefit-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.benefit-item:first-child { padding-top: 0; }
.benefit-item:last-child  { border-bottom: none; }
.benefit-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--purple-bg); border: 1px solid var(--purple-bd);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.benefit-check svg { width: 12px; height: 12px; stroke: var(--purple-400); fill: none; stroke-width: 2; }
.benefit-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--fg-1); margin-bottom: 4px; }
.benefit-desc { font-size: 13.5px; color: var(--fg-2); line-height: 1.5; }

/* ── PRICING ──────────────────────────────────────────────────────── */
.pricing-section { background: var(--surface-1); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-tier { border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.pricing-tier-starter { background: var(--surface-2); border: 1px solid var(--line); }
.pricing-tier-pro {
  background: var(--purple-500);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.40), 0 20px 60px rgba(139,92,246,0.30), 0 0 100px rgba(139,92,246,0.20);
}
.pricing-tier-enterprise { background: #060709; border: 1px solid var(--line-strong); }
.pricing-tier-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.pricing-tier-glow { position: absolute; top: -30%; right: -20%; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%); pointer-events: none; }
.pricing-badge {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.18); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.pricing-tier-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.pricing-tier-label-light { color: var(--fg-3); }
.pricing-tier-label-pro   { color: rgba(255,255,255,0.6); }
.pricing-tier-label-ent   { color: var(--fg-3); }
.pricing-price { font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.pricing-price-starter { color: var(--purple-400); }
.pricing-price-pro     { color: #fff; }
.pricing-price-ent     { color: #fff; }
.pricing-cadence { font-size: 13px; margin-top: 6px; margin-bottom: 16px; }
.pricing-cadence-starter { color: var(--fg-3); }
.pricing-cadence-pro     { color: rgba(255,255,255,0.6); }
.pricing-cadence-ent     { color: var(--fg-3); }
.pricing-desc { font-size: 13.5px; line-height: 1.6; margin-bottom: 22px; }
.pricing-desc-starter { color: var(--fg-2); }
.pricing-desc-pro     { color: rgba(255,255,255,0.78); }
.pricing-desc-ent     { color: var(--fg-2); }
.pricing-divider { height: 1px; margin-bottom: 20px; }
.pricing-divider-starter { background: var(--line); }
.pricing-divider-pro     { background: rgba(255,255,255,0.20); }
.pricing-divider-ent     { background: var(--line); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.pricing-feature { display: flex; align-items: center; gap: 12px; }
.pricing-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pricing-dot-starter { background: var(--purple-400); }
.pricing-dot-pro     { background: rgba(255,255,255,0.7); }
.pricing-dot-ent     { background: var(--purple-400); }
.pricing-feature-text { font-size: 13.5px; font-weight: 500; }
.pricing-feature-text-starter { color: var(--fg-1); }
.pricing-feature-text-pro     { color: #fff; }
.pricing-feature-text-ent     { color: var(--fg-1); }
.pricing-note { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pricing-note-text { font-size: 13.5px; color: var(--fg-3); }
.pricing-note-badge { background: var(--purple-bg); border: 1px solid var(--purple-bd); color: var(--purple-400); padding: 3px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }

/* ── CTA ──────────────────────────────────────────────────────────── */
.cta-section { padding: 130px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(139,92,246,0.20) 0%, transparent 65%); }
.cta-inner { position: relative; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 20px; color: var(--fg-1); }
.cta-section h2 .accent { color: var(--purple-400); }
.cta-section > .cta-inner > p { font-size: clamp(15px, 1.5vw, 18px); color: var(--fg-2); max-width: 500px; margin: 0 auto 40px; line-height: 1.6; }
.cta-box {
  display: inline-block; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 42px; margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.cta-box-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.cta-box-email { font-family: var(--font-mono); font-size: 13px; color: var(--purple-400); letter-spacing: 0.02em; }
.proof-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-3); }
.proof-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple-400); }
.proof-div { width: 1px; height: 14px; background: var(--line); }

/* ── FOOTER ───────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 36px 24px; background: var(--surface-1); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 34px; height: 34px; }
.footer-logo .n { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.20em; color: var(--fg-1); }
.footer-copy, .footer-note { font-size: 12.5px; color: var(--fg-3); }
.footer-note { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .attacks-inner, .benefits-inner { grid-template-columns: 1fr; gap: 44px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  /* pipeline → vertical timeline */
  .pipeline__track { display: none; }
  .pipeline__steps { grid-template-columns: 1fr; }
  .pipeline .stage { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding: 0 0 36px; position: relative; }
  .pipeline .stage:not(:last-child)::before { content: ''; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--line); }
  .stage__node { margin-bottom: 0; flex: 0 0 auto; }
  .stage__body { align-items: flex-start; padding-top: 3px; }
  .stage__icon { display: none; }
  .stage__desc { max-width: none; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .problem-grid, .losing-grid, .attacks-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-div { display: none; }
}

/* ── MOBILE MENU ──────────────────────────────────────────────────── */
.nav-menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 4px; color: var(--fg-1); margin-left: 14px; }
.mobile-menu { display: none; position: fixed; top: 76px; left: 0; right: 0; z-index: 99; flex-direction: column; padding: 14px 24px 20px; background: var(--surface-1); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--fg-2); padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mobile-cta { margin-top: 14px; width: 100%; cursor: pointer; font-family: inherit; font-size: 15px; background: var(--purple-500); color: #fff; border-radius: 10px; text-align: center; font-weight: 700; padding: 13px; border: 2.5px solid var(--fg-1); box-shadow: 3px 3px 0 0 var(--fg-1); }
.mobile-menu .mobile-cta:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--fg-1); }
@media (max-width: 900px) { .nav-menu-btn { display: inline-flex; } .nav-cta { display: none; } }

/* ── SECURITY RESOURCES ───────────────────────────────────────────── */
.resources-section { background: var(--surface-2); }
.resources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 8px; }
.resource-card { border: 1.5px solid var(--line); border-radius: 20px; padding: 32px 28px; background: var(--bg-base); color: inherit; display: flex; flex-direction: column; transition: border-color .2s var(--ease-out), box-shadow .2s, transform .2s, opacity .55s var(--ease-out), translate .55s var(--ease-out); }
.resource-card:hover { border-color: var(--purple-400); box-shadow: 0 8px 32px rgba(139,92,246,0.14); transform: translateY(-3px); }
.resource-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--purple-bg); border: 1px solid var(--purple-bd); color: var(--purple-400); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 20px; align-self: flex-start; }
.resource-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg-1); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 12px; }
.resource-excerpt { font-size: 14px; color: var(--fg-2); line-height: 1.65; flex: 1; margin-bottom: 24px; }
.resource-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
.resource-date { font-size: 12px; color: var(--fg-3); }
.resource-read { font-size: 12px; font-weight: 700; color: var(--purple-400); display: flex; align-items: center; gap: 5px; letter-spacing: 0.03em; }
.resource-read svg { transition: transform .18s; }
.resource-card:hover .resource-read svg { transform: translateX(3px); }
.resource-card-thumb { width: calc(100% + 56px); aspect-ratio: 16/9; overflow: hidden; border-radius: 18px 18px 0 0; margin: -32px -28px 24px; }
.resource-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.resource-card:hover .resource-card-thumb img { transform: scale(1.04); }
.resource-featured { grid-column: span 2; background: #0A0C12; border-color: transparent; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.resource-featured:hover { border-color: var(--purple-400); }
.resource-featured-body { padding: 44px 40px; display: flex; flex-direction: column; }
.resource-featured-visual { position: relative; overflow: hidden; min-height: 240px; display: flex; align-items: stretch; }
.resource-featured-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resource-featured .resource-tag { background: rgba(139,92,246,0.20); border-color: rgba(139,92,246,0.40); color: #A78BFA; }
.resource-featured .resource-title { font-size: 24px; color: #fff; margin-bottom: 14px; }
.resource-featured .resource-excerpt { color: rgba(255,255,255,0.60); }
.resource-featured .resource-meta { border-top-color: rgba(255,255,255,0.10); }
.resource-featured .resource-date { color: rgba(255,255,255,0.40); }
.resource-featured .resource-read { color: #A78BFA; }
@media (max-width: 900px) {
  .resources-grid { grid-template-columns: 1fr; }
  .resource-featured { grid-template-columns: 1fr; }
  .resource-featured-visual { min-height: 160px; order: -1; }
}

/* Security Resources — reversible scroll reveal: fades/slides in on enter, reverses out on exit.
   Uses the independent `translate` property so it composes with the card's `transform` hover-lift. */
.resource-card.res-reveal      { opacity: 0; translate: 0 48px; }
.resource-card.res-reveal.in   { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .resource-card.res-reveal { opacity: 1; translate: 0 0; } }

/* ── STORY REELS · CAROUSEL ───────────────────────────────────────── */
.reels-section { background: var(--bg-base); }
.crsl {
  --ink:#0f0e0d; --ink-2:#3a3835; --ink-3:#7a7671;
  --paper:#f9f7f4; --paper-2:#f1ede6; --paper-3:#e8e2d8;
  --purple:#534AB7; --purple-light:#EEEDFE; --purple-mid:#AFA9EC;
  --danger:#A32D2D; --danger-light:#FCEBEB; --warning:#854F0B; --success:#0F6E56;
  --border:rgba(15,14,13,.12);
  --serif:var(--font-display); --sans:var(--font-body); --mono:var(--font-mono);
  --cr-dur:3800ms;
  max-width: 600px; margin: 0 auto;
}
.crsl .tabs, .crsl .studio { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.crsl.revealed .tabs   { opacity: 1; transform: none; }
.crsl.revealed .studio { opacity: 1; transform: none; transition-delay: .1s; }
.crsl .tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: 0 0 1.6rem; }
.crsl .tab { font-family: var(--font-body); font-size: .8rem; color: var(--fg-2); background: var(--surface-2); border: 1px solid var(--line); padding: .45rem .8rem; border-radius: 8px; cursor: pointer; transition: border-color .18s var(--ease-out), color .18s var(--ease-out), background .18s var(--ease-out); }
.crsl .tab:hover { border-color: var(--purple-bd); color: var(--fg-1); }
.crsl .tab b { font-family: var(--font-mono); color: var(--purple-400); margin-right: 5px; }
.crsl .tab.on { background: var(--purple-500); color: #fff; border-color: var(--purple-500); }
.crsl .tab.on b { color: #fff; }
.crsl .studio { display: flex; flex-direction: column; align-items: center; }
.crsl .stage { position: relative; width: min(540px, 92vw); aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); border: 1px solid var(--line); }
.crsl .segbar { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 5px; z-index: 20; }
.crsl .segbar i { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; position: relative; }
.crsl .segbar i::after { content: ''; position: absolute; inset: 0; width: 0; background: #fff; border-radius: 3px; }
.crsl .segbar i.full::after { width: 100%; }
.crsl .segbar i.run::after { animation: cr-fill var(--cr-dur) linear forwards; }
.crsl .segbar.paused i.run::after { animation-play-state: paused; }
@keyframes cr-fill { to { width: 100%; } }
.crsl .stage.lightbar .segbar i { background: rgba(15,14,13,.14); }
.crsl .stage.lightbar .segbar i::after { background: var(--ink); }
.crsl .reel { display: none; }
.crsl .reel.show { display: block; }
.crsl .reel .slide { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 22px; padding: 2.2rem 2rem 1.8rem; display: flex; flex-direction: column; border: none; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.crsl .reel .slide.active { opacity: 1; pointer-events: auto; }
.crsl .slide.light  { background: var(--paper); color: var(--ink); }
.crsl .slide.cream  { background: #fff; color: var(--ink); }
.crsl .slide.dark   { background: var(--ink); color: var(--paper); }
.crsl .slide.purple { background: var(--purple); color: #fff; }
.crsl .slide.dark::before, .crsl .slide.purple::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.crsl .slide > * { position: relative; z-index: 1; }
.crsl .s-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .4rem; }
.crsl .s-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.crsl .slide.dark .s-eyebrow, .crsl .slide.purple .s-eyebrow { color: var(--purple-mid); opacity: 1; }
.crsl .slide.light .s-eyebrow, .crsl .slide.cream .s-eyebrow { color: var(--purple); opacity: 1; }
.crsl .s-count { font-family: var(--mono); font-size: 11px; opacity: .45; }
.crsl .s-graphic { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: .4rem 0; }
.crsl .s-graphic svg { width: 100%; height: 100%; max-height: 300px; }
.crsl .s-cap { margin-top: auto; }
.crsl .s-hook { font-family: var(--serif); font-size: 2.15rem; line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }
.crsl .s-hook.sm { font-size: 1.8rem; }
.crsl .s-hook em { font-style: italic; color: var(--purple); }
.crsl .slide.dark .s-hook em, .crsl .slide.purple .s-hook em { color: var(--purple-mid); }
.crsl .s-line { font-size: 1.05rem; line-height: 1.45; color: var(--ink-3); margin-top: .5rem; }
.crsl .slide.dark .s-line, .crsl .slide.purple .s-line { color: rgba(249,247,244,.7); }
.crsl .s-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; }
.crsl .s-logo { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .55; }
.crsl .s-swipe { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .7; }
.crsl .cta-btn { display: inline-block; background: #fff; color: var(--purple); font-weight: 600; font-size: .95rem; padding: .6rem 1.1rem; border-radius: 9px; border: none; cursor: pointer; }
.crsl .cta-btn, .crsl .cta-btn:hover { border-bottom: none; color: var(--purple); }
.crsl .vlbl { font-family: var(--mono); font-size: 8px; }
.crsl .vnum { font-family: var(--serif); font-weight: 700; }
.crsl .slide .s-top, .crsl .slide .s-graphic, .crsl .slide .s-cap { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.crsl .slide.active .s-top     { opacity: 1; transform: none; transition-delay: .08s; }
.crsl .slide.active .s-graphic { opacity: 1; transform: none; transition-delay: .22s; }
.crsl .slide.active .s-cap     { opacity: 1; transform: none; transition-delay: .4s; }
.crsl .controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.crsl .controls button { border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: 50%; width: 46px; height: 46px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; color: var(--fg-1); transition: border-color .18s var(--ease-out), transform .18s var(--ease-out); }
.crsl .controls button:hover { border-color: var(--purple-bd); transform: translateY(-1px); }
.crsl .controls .play { width: 58px; height: 58px; background: var(--purple-500); color: #fff; border-color: var(--purple-500); font-size: 1.2rem; }
.crsl .controls .play:hover { box-shadow: 0 8px 22px rgba(139,92,246,.42); }
.crsl .counter { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); min-width: 70px; text-align: center; }
.crsl .hint { margin-top: 1.6rem; background: var(--purple-bg); border: 1px solid var(--purple-bd); border-radius: 10px; padding: .85rem 1.1rem; font-size: .85rem; color: var(--fg-2); max-width: 540px; line-height: 1.5; text-align: center; }
.crsl .hint b { color: var(--fg-1); }
.crsl .hint .cap { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-400); display: block; margin-bottom: .25rem; }
@media (max-width: 640px) {
  .crsl .s-hook { font-size: 1.7rem; }
  .crsl .s-hook.sm { font-size: 1.45rem; }
  .crsl .reel .slide { padding: 1.8rem 1.5rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .crsl * { transition: none !important; animation: none !important; }
  .crsl .tabs, .crsl .studio { opacity: 1; transform: none; }
}

/* ── SCROLL REVEAL (per-section) ──────────────────────────────────── */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: revealUp .65s var(--ease-out) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; }
  .reveal.in { animation: none !important; }
}
/* bidirectional reveal — animates IN on enter and OUT on exit (benefits) */
.reveal-bi { opacity: 0; transform: translateY(32px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-bi.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-bi { opacity: 1 !important; transform: none !important; transition: none; }
}
/* directional reveal — left column slides in from the left, right column from the right;
   reverses (slides back out) on exit. Used by the Key Benefits section. */
.reveal-x { opacity: 0; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.reveal-x.from-left  { transform: translateX(-64px); }
.reveal-x.from-right { transform: translateX(64px); }
.reveal-x.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-x { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ── CONTACT MODAL ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,12,18,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  position: relative;
  background: #ffffff; border-radius: 24px;
  width: 100%; max-width: 960px; max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 32px 80px rgba(10,12,18,0.30);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-left {
  background: #0A0C12; padding: 52px 44px;
  display: flex; flex-direction: column; justify-content: flex-start;
  position: relative; overflow: hidden; min-height: 0;
}
.modal-left-glow {
  position: absolute; top: -20%; right: -30%; width: 70%; height: 70%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 65%);
}
.modal-left-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
.modal-left-logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.15em; color: #fff; line-height: 1.15;
}
.modal-left-logo-sub {
  font-size: 9px; font-weight: 500; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4); display: block;
}
.modal-tagline {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: #fff; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 8px;
}
.modal-tagline .accent { color: var(--purple-400); }
.modal-tagline-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 28px; }
.modal-benefits { display: flex; flex-direction: column; gap: 20px; }
.modal-benefit { display: flex; align-items: flex-start; gap: 14px; }
.modal-benefit-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(139,92,246,0.18); border: 1px solid rgba(139,92,246,0.3);
  display: flex; align-items: center; justify-content: center;
}
.modal-benefit-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; letter-spacing: 0.01em; }
.modal-benefit-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.modal-right { padding: 52px 44px; display: flex; flex-direction: column; overflow-y: auto; max-height: 90vh; min-height: 0; }
.modal-close {
  position: absolute; top: 20px; right: 20px; z-index: 5; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(10,12,18,0.07); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #0A0C12; transition: background 0.18s;
}
.modal-close:hover { background: rgba(10,12,18,0.13); }
.modal-form-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: #0A0C12; letter-spacing: -0.02em; margin-bottom: 6px;
}
.modal-form-sub { font-size: 14px; color: #56566a; margin-bottom: 32px; line-height: 1.55; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 600; color: #0A0C12; letter-spacing: 0.06em; text-transform: uppercase; }
.form-input, .form-textarea, .form-select {
  font-family: var(--font-body); font-size: 14px; color: #0A0C12;
  background: #faf8f4; border: 1.5px solid rgba(10,12,18,0.12);
  border-radius: 10px; padding: 11px 14px; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(10,12,18,0.3); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-select { appearance: none; cursor: pointer; }
.btn-modal-submit {
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  background: #0A0C12; color: #fff; border: none; border-radius: 12px;
  padding: 14px 28px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px; margin-top: 4px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn-modal-submit:hover { background: var(--purple-500); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,92,246,0.3); }
.form-note { font-size: 12px; color: rgba(10,12,18,0.35); text-align: center; margin-top: 4px; }
.form-divider {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 14px;
  color: rgba(10,12,18,0.3); font-size: 12px;
}
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: rgba(10,12,18,0.12); }
.form-direct-btn {
  display: flex; align-items: center; gap: 12px;
  background: #faf8f4; border: 1.5px solid rgba(10,12,18,0.12);
  border-radius: 12px; padding: 12px 16px; text-decoration: none; cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.form-direct-btn:hover { border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(139,92,246,0.08); transform: translateY(-1px); }
.form-direct-icon {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: rgba(139,92,246,0.1); color: var(--purple-500);
  display: flex; align-items: center; justify-content: center;
}
.form-direct-label { font-size: 10px; font-weight: 700; color: #56566a; letter-spacing: 0.06em; text-transform: uppercase; }
.form-direct-value { font-size: 13px; font-weight: 600; color: #0A0C12; margin-top: 1px; }
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; flex: 1; gap: 16px; padding: 32px 0;
}
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(139,92,246,0.1); border: 2px solid rgba(139,92,246,0.3);
  display: flex; align-items: center; justify-content: center;
}
.form-success-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #0A0C12; }
.form-success-desc { font-size: 14px; color: #56566a; line-height: 1.6; }
@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-left { padding: 36px 28px; max-height: none; overflow: visible; }
  .modal-left-logo { margin-bottom: 24px; }
  .modal-tagline { font-size: 20px; }
  .modal-right { padding: 44px 28px 36px; max-height: none; overflow: visible; }
  /* .modal has a transform, so position:fixed pins the close to the modal box (not the viewport),
     keeping it visible while the modal scrolls */
  .modal-close { position: fixed; top: 24px; right: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Static (non-clickable) resource card — neutralize hover lift/pointer */
.resource-card.is-static { cursor: default; }
.resource-card.is-static:hover { transform: none; border-color: var(--line); box-shadow: none; }
.resource-featured.is-static:hover { border-color: transparent; }
.resource-card.is-static:hover .resource-card-thumb img { transform: none; }
.resource-soon {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
  background: var(--purple-bg); border: 1px solid var(--purple-bd);
  padding: 4px 10px; border-radius: 999px;
}
.resource-featured .resource-soon {
  color: rgba(255,255,255,0.55);
  background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.32);
}

/* ── BLOGS PAGE — compact hero ────────────────────────────────────── */
.blog-hero { padding: 140px 24px 64px; position: relative; overflow: hidden; }
.blog-hero .hero-bloom-top, .blog-hero .hero-grid, .blog-hero .hero-vignette { position: absolute; inset: 0; pointer-events: none; }
.blog-hero-inner { position: relative; max-width: 1120px; margin: 0 auto; }
.blog-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.04em;
  color: var(--fg-1); margin-bottom: 18px; max-width: 18ch;
}
.blog-hero h1 .accent { color: var(--purple-400); }
.blog-hero p { font-size: clamp(15px, 1.6vw, 18px); color: var(--fg-2); max-width: 600px; line-height: 1.6; }
.resources-section.blogs-list { padding-top: 40px; }
