/* VERIDEX shared design system - extracted from index.html (single source of truth). */

/* ── TWEAK DEFAULTS ── */
:root {
  --bg: #eef1f6;
  --bg2: #eef1f6;
  --bg3: #e5eaf2;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --primary: #3349b3;
  --primary2: #4359c2;
  --accent: #3349b3;
  --text: #0f172a;
  --muted: #64748b;
  --danger: #dc2626;
  --warn: #d97706;
  --font-head: "Inter Display", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "DM Mono", monospace;
  --radius: 12px;
  --glow: rgba(51, 73, 179, 0.12);
}
.theme-dark {
  --bg: #07111f;
  --bg2: #0d1728;
  --bg3: #142238;
  --surface: #142238;
  --border: #223454;
  --primary: #7287ff;
  --primary2: #8ca0ff;
  --accent: #7287ff;
  --text: #f5f7ff;
  --muted: #a8b3cc;
  --danger: #ef4444;
  --warn: #f59e0b;
  --glow: rgba(114, 135, 255, 0.4);
  --neo-bg: #142238;

  /* dark mode is flat (no neumorphic shadows) - both resolve to transparent */
  --neo-shadow-dark: transparent;
  --neo-shadow-light: transparent;
}

/* ── DARK MODE: full neumorphic override ── */
.theme-dark body {
  /* flat backdrop so every section is the exact same colour */
  background: #0a1322 !important;
}
.theme-dark main,
.theme-dark section,
.theme-dark .section {
  background: transparent !important;
}

/* how-cards dark mode - placeholder, real override after generic block */

/* raised/surface cards */
.theme-dark .how-card,
.theme-dark .neo-raised,
.theme-dark .neo-small,
.theme-dark .neo-accent,
.theme-dark .stat-card,
.theme-dark .proof-card,
.theme-dark .price-card,
.theme-dark .faq-item,
.theme-dark .cert-tab,
.theme-dark .cert-card,
.theme-dark .integration-card,
.theme-dark .token-card,
.theme-dark .token-flow,
.theme-dark .trust-visual,
.theme-dark .trust-stat,
.theme-dark .trust-detail,
.theme-dark .trust-feature,
.theme-dark .tf-icon,
.theme-dark .timeline-item,
.theme-dark .score-wrap,
.theme-dark .tindex-wrap,
.theme-dark [class*="card"],
.theme-dark [class*="wrap"]:not(nav, .logo-wrap, .blog-allwrap) {
  background: var(--neo-bg) !important;

  /* dark cards: fully flat - subtle border only, no shine, no drop shadow */
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}

/* frameworks section is a full-width band, not a card - drop the box in dark */
.theme-dark .section.neo-surface {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* primary buttons keep the footer's brand-blue gradient in dark */
.theme-dark .btn-primary {
  background: linear-gradient(135deg, #2a3c9c 0%, #3349b3 50%, #4359c2 100%) !important;
  color: #fff !important;
}

/* "One platform. Five products" cards: lighter tone in dark so they stand out */
.theme-dark .prod-card {
  background: #1c2c4c !important;
}

/* the [class*="wrap"] catch-all wrongly boxes the blog "view all" button wrapper */
.theme-dark .blog-allwrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* nav logo: show the white+blue lockup in dark, color lockup in light
   (!important beats the inline display:block on the <img>) */
.logo-dark {
  display: none !important;
}
.theme-dark nav .logo img.logo-light {
  display: none !important;
}
.theme-dark nav .logo img.logo-dark {
  display: block !important;

  /* keep the real white+blue lockup - do NOT invert it to a flat silhouette */
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* footer logo is already the white+blue lockup on a dark panel - render it as-is
   in both themes (no multiply blend, no dark-mode invert-to-silhouette) */
.footer-brand .logo img,
.theme-dark .footer-brand .logo img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* hover states: keep flat in dark - brighten the border instead of a shadow */
.theme-dark .how-card:hover,
.theme-dark .neo-raised:hover,
.theme-dark .neo-small:hover,
.theme-dark .proof-card:hover,
.theme-dark .price-card:hover,
.theme-dark [class*="card"]:hover {
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

/* inset / inner elements */
.theme-dark .neo-inset,
.theme-dark .neo-primary,
.theme-dark .score-ring,
.theme-dark .score-stats,
.theme-dark .faq-item summary,
.theme-dark .faq-item[open] {
  background: var(--neo-bg) !important;
  box-shadow:
    inset 4px 4px 10px var(--neo-shadow-dark),
    inset -4px -4px 10px var(--neo-shadow-light) !important;
}

/* icon circles */
.theme-dark .how-icon,
.theme-dark .tf-icon {
  background: linear-gradient(135deg, #1e3a5f 0%, #253347 100%) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(99, 140, 255, 0.18) !important;
}

/* Dark-mode override: integration section neo-* boxes were rendering light
   because some inline gradients + base colors slipped through. Force them dark. */
.theme-dark #integraciones {
  background: transparent !important;
}
.theme-dark #integraciones .neo-surface,
.theme-dark #integraciones .neo-raised,
.theme-dark #integraciones .neo-small,
.theme-dark #integraciones .neo-accent,
.theme-dark #integraciones .neo-inset {
  background: var(--neo-bg) !important;
  color: var(--text) !important;
}
.theme-dark #integraciones .neo-raised,
.theme-dark #integraciones .neo-small,
.theme-dark #integraciones .neo-accent {
  box-shadow:
    6px 6px 14px var(--neo-shadow-dark),
    -6px -6px 14px var(--neo-shadow-light) !important;
  border: 1px solid rgba(99, 140, 255, 0.12) !important;
}
.theme-dark #integraciones .neo-inset {
  box-shadow:
    inset 4px 4px 10px var(--neo-shadow-dark),
    inset -4px -4px 10px var(--neo-shadow-light) !important;
}
.theme-dark .how-icon img,
.theme-dark .tf-icon img,
.theme-dark .proof-card-icon img,
.theme-dark .alethia-row-icon,
.theme-dark .problem-doc-icon img {
  filter: brightness(0) invert(1) !important;
}

/* Logo: fondo blanco funde en modo claro, se invierte en dark */
.logo img {
  mix-blend-mode: multiply;
  display: block;
  height: 44px;
  object-fit: contain;
}
.theme-dark .logo img {
  mix-blend-mode: normal;
  filter: brightness(0) invert(1) !important;
}

/* trust visual override - remove neumorphic shadow, use flat dark */
.theme-dark .trust-visual {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

/* sections with explicit light backgrounds */
.theme-dark .trust-section,
.theme-dark .proof-section,
.theme-dark .hero,
.theme-dark .section-inner {
  background: transparent !important;
}

/* text inside dark cards */
.theme-dark [class*="card"] p,
.theme-dark [class*="card"] h1,
.theme-dark [class*="card"] h2,
.theme-dark [class*="card"] h3,
.theme-dark [class*="card"] h4,
.theme-dark [class*="card"] li,
.theme-dark [class*="card"] span {
  color: var(--text) !important;
}
.theme-dark [class*="card"] .muted,
.theme-dark [class*="card"] [class*="sub"],
.theme-dark [class*="card"] [class*="lbl"],
.theme-dark [class*="card"] small {
  color: var(--muted) !important;
}

/* nav button override */
.theme-dark .btn-nav {
  background: var(--neo-bg) !important;
  color: var(--primary2) !important;
  border-color: var(--border) !important;
}

/* how-cards: override genérico neumorphic - flat dark shadows only */
.theme-dark #how .how-card,
.theme-dark #legal-framework .how-card {
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(99, 140, 255, 0.18) !important;
}
.theme-dark #how .how-card:hover,
.theme-dark #legal-framework .how-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
  border-color: rgba(99, 140, 255, 0.32) !important;
}
.theme-dark #how .how-card h3,
.theme-dark #how .how-card p,
.theme-dark #legal-framework .how-card h3,
.theme-dark #legal-framework .how-card p {
  color: var(--text) !important;
}
.theme-dark #how .step-num,
.theme-dark #legal-framework .step-num {
  color: rgba(99, 140, 255, 0.75) !important;
}
.theme-dark #how .step-num::after,
.theme-dark #legal-framework .step-num::after {
  background: rgba(99, 140, 255, 0.18) !important;
}

/* scope-tier dark mode */
.theme-dark #legal-framework .scope-tier {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(99, 140, 255, 0.18) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
}
.theme-dark #legal-framework .scope-tier-verb {
  color: var(--text) !important;
}
.theme-dark #legal-framework .scope-tier-chip {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text) !important;
}
.theme-dark #legal-framework .scope-tier-note {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark #legal-framework .scope-fill-dot {
  background: rgba(255, 255, 255, 0.12);
}
.theme-dark #legal-framework .scope-boundary {
  background: rgba(255, 255, 255, 0.025) !important;
  border-color: rgba(99, 140, 255, 0.32) !important;
}
.theme-dark #legal-framework .scope-boundary-actor {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}
.theme-light {
  --bg: #eef2f8;
  --bg2: #f5f7fb;
  --bg3: #e5eaf3;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --primary: #4a52e8;
  --primary2: #6b72f0;
  --accent: #0fa878;
  --text: #111827;
  --muted: #6b7280;
  --glow: rgba(74, 82, 232, 0.15);
}
.theme-volt {
  --bg: #060b0f;
  --bg2: #0a1019;
  --bg3: #0d1520;
  --surface: #111d2b;
  --border: rgba(34, 211, 160, 0.12);
  --primary: #22d3a0;
  --primary2: #4aefc2;
  --accent: #7c6bff;
  --text: #d4f5ec;
  --muted: #5a8878;
  --glow: rgba(34, 211, 160, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;

  /* contain any horizontal overflow at the root (body alone isn't enough on mobile) */
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background 0.4s,
    color 0.4s;
}

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  height: 70px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  transition:
    background 0.4s,
    border-color 0.4s;
}

/* light-mode nav: near-solid white so the VERIDEX logo reads clearly over the dark hero (Victor 2026-07-05) */
body:not(.theme-dark) nav {
  background: color-mix(in srgb, #ffffff 95%, transparent);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 34px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}

/* modern animated underline on top-level items */
.nav-links > a,
.nav-drop-toggle {
  position: relative;
}
.nav-links > a::after,
.nav-drop-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links > a:hover::after,
.nav-drop:hover .nav-drop-toggle::after,
.nav-drop.open .nav-drop-toggle::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ── nav dropdown (Home → section anchors) ── */
.nav-drop {
  position: relative;
  display: inline-flex;
}
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-drop:hover .nav-drop-toggle,
.nav-drop.open .nav-drop-toggle {
  color: var(--text);
}
.nav-drop-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}
.nav-drop:hover .nav-drop-caret,
.nav-drop.open .nav-drop-caret {
  transform: rotate(180deg);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  gap: 2px;
  width: 320px;
  padding: 8px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow:
    10px 10px 26px #d4d9e2,
    -10px -10px 26px #ffffff,
    0 0 0 1px rgba(51, 73, 179, 0.06);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav-drop-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.18s;
}
.nav-drop-item:hover {
  background: rgba(51, 73, 179, 0.08);
}
.ndi-ic {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 1px;
  border-radius: 10px;
  color: var(--primary2);
  background: rgba(67, 89, 194, 0.1);
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-drop-item:hover .ndi-ic {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}
.ndi-ic svg {
  width: 19px;
  height: 19px;
}
.ndi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ndi-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.ndi-desc {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.theme-dark .nav-drop-item:hover {
  background: rgba(99, 140, 255, 0.12);
}
.theme-dark .ndi-ic {
  background: rgba(99, 140, 255, 0.16);
}
.nav-links > a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.theme-dark .nav-drop-menu {
  background: var(--neo-bg);
  box-shadow:
    8px 8px 20px var(--neo-shadow-dark),
    -8px -8px 20px var(--neo-shadow-light),
    0 0 0 1px rgba(99, 140, 255, 0.12);
}
.nav-right {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 18px;
}
.lang-toggle {
  display: flex;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.lang-btn {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  transition: all 0.2s;
  font-family: var(--font-body);
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
}

/* ── THEME SWITCH (sliding sun/moon pill) ── */
.theme-switch {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.theme-dark .theme-switch {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.14);
}
.theme-switch-ic {
  position: absolute;
  top: 50%;
  display: flex;
  width: 15px;
  height: 15px;
  color: var(--muted);
  opacity: 0.5;
  transform: translateY(-50%);
  transition: opacity 0.3s;
}
.theme-switch-ic svg {
  width: 100%;
  height: 100%;
}
.theme-switch-moon {
  left: 8px;
}
.theme-switch-sun {
  right: 8px;
}
.theme-dark .theme-switch-moon,
body:not(.theme-dark) .theme-switch-sun {
  opacity: 0;
}
.theme-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e6eaf1;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s;
}
.theme-dark .theme-switch-knob {
  background: #232b45;
  transform: translateX(0);
}
body:not(.theme-dark) .theme-switch-knob {
  transform: translateX(28px);
}
.theme-switch-knob svg {
  width: 15px;
  height: 15px;
}
.knob-moon {
  color: #ffffff;
}
.knob-sun {
  color: #4a5568;
}
.theme-dark .knob-sun,
body:not(.theme-dark) .knob-moon {
  display: none;
}
.btn-nav {
  position: relative;
  padding: 9px 22px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(51, 73, 179, 0.18);
  cursor: pointer;
  font-family: var(--font-body);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 14px rgba(51, 73, 179, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, transparent 25%, rgba(51, 73, 179, 0.18) 50%, transparent 75%, transparent 100%);
  background-size: 250% 250%;
  background-position: 200% 0;
  background-repeat: no-repeat;
  transition: background-position 1s ease;
  pointer-events: none;
  z-index: 0;
}
.btn-nav > * {
  position: relative;
  z-index: 1;
}
.btn-nav:hover {
  transform: translateY(-1px);
  color: var(--primary2);
  border-color: rgba(51, 73, 179, 0.32);
  box-shadow:
    0 6px 20px rgba(51, 73, 179, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.btn-nav:hover::before {
  background-position: -100% 0;
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  row-gap: 30px;
  padding: 150px 24px 96px;
  position: relative;
  overflow: hidden;
  background: #0a111f;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 8px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary2);
  opacity: 0.55;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.problemv2 {
  position: relative;
  overflow: hidden;
}
.problemv2 > .section-inner {
  position: relative;
  z-index: 1;
}
.problemv2 > .pv2-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-trail {
  fill: none;
  stroke: rgba(51, 73, 179, 0.16);
  stroke-width: 1.5;
}
.hero-trail-dim {
  fill: none;
  stroke: rgba(51, 73, 179, 0.07);
  stroke-width: 1.5;
}
.hero-node {
  fill: var(--bg);
  stroke: rgba(51, 73, 179, 0.35);
  stroke-width: 1.5;
}

/* dark mode: brighten the faint hero trail lines so they stay visible */
.theme-dark .hero-trail {
  stroke: rgba(140, 160, 255, 0.32);
}
.theme-dark .hero-trail-dim {
  stroke: rgba(140, 160, 255, 0.16);
}
.theme-dark .hero-node {
  fill: var(--surface);
  stroke: rgba(140, 160, 255, 0.55);
}
.hero-pulse {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 1400;
  filter: drop-shadow(0 0 5px rgba(51, 73, 179, 0.55));
  animation: hero-travel 7s linear infinite;
}
.hero-pulse2 {
  fill: none;
  stroke: #5b73ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 1100;
  filter: drop-shadow(0 0 5px rgba(91, 115, 255, 0.5));
  animation: hero-travel2 9s linear infinite 1.2s;
}
@keyframes hero-travel {
  to {
    stroke-dashoffset: -1408;
  }
}
@keyframes hero-travel2 {
  to {
    stroke-dashoffset: -1108;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pulse,
  .hero-pulse2 {
    animation: none;
  }
}
.pv2-anim svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: none;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow:
    5px 5px 12px #d4d9e2,
    -5px -5px 12px #ffffff,
    0 0 24px rgba(51, 73, 179, 0.22);
}
.hero-badge > * {
  position: relative;
  z-index: 2;
}

.hero-badge .badge-dot {
  position: relative;
}
.hero-badge .badge-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.5;
  animation: hero-ping 2.4s ease-out infinite;
}
@keyframes hero-ping {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.hero-scope {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
}
.hero-scope > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: none;
  border-radius: 999px;
  background: #eef1f6;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow:
    4px 4px 10px #d4d9e2,
    -4px -4px 10px #ffffff;
}
.hero-scope .c {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fe9cb;
}
.hero-verticals {
  max-width: none;
  margin: 0 auto;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .hero-verticals {
    white-space: normal;
    max-width: 46ch;
  }
}
.theme-dark .hero-badge,
.theme-dark .hero-scope > span {
  background: var(--neo-bg);
  box-shadow:
    5px 5px 12px var(--neo-shadow-dark),
    -5px -5px 12px var(--neo-shadow-light);
}
.theme-dark .hero-badge {
  box-shadow:
    5px 5px 12px var(--neo-shadow-dark),
    -5px -5px 12px var(--neo-shadow-light),
    0 0 0 1px rgba(99, 140, 255, 0.25),
    0 0 30px rgba(99, 140, 255, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge .badge-dot::after {
    animation: none;
  }
}

.hero-slogan {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.1px;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-slogan span.hs-part {
  white-space: nowrap;
}
.hero-slogan .hs-accent {
  color: var(--primary);
}
.hero-slogan .hs-sep {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  display: inline-block;
  opacity: 0.6;
}
.theme-dark .hero-slogan {
  color: var(--text);
}
.theme-dark .hero-slogan .hs-accent {
  color: #93a8ff;
}
.theme-dark .hero-slogan .hs-sep {
  background: linear-gradient(90deg, transparent, rgba(147, 168, 255, 0.8), transparent);
}
@media (max-width: 520px) {
  .hero-slogan {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .hero-slogan .hs-sep {
    display: none;
  }
  .hero-slogan span.hs-part {
    white-space: normal;
  }
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 1040px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--primary);
}
.wave-text {
  display: inline-block;
  cursor: pointer;
}
.wave-word {
  display: inline-block;
  white-space: nowrap;
}
.wave-char {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i) * 30ms);
  will-change: transform;
}
.wave-text:hover .wave-char {
  transform: translateY(-6px) scale(1.15);
}
@keyframes wave-auto {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translateY(-6px) scale(1.15);
  }
}
@media (hover: none) {
  .wave-char {
    animation: wave-auto 1.4s ease-in-out 1 both;
    animation-delay: calc(1.2s + var(--i) * 55ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wave-char {
    animation: none !important;
  }
}
.hero p {
  font-size: clamp(14.5px, 2vw, 20px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}
.hero p.hero-microcopy {
  font-size: 14px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0.85;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.btn-primary {
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(51, 73, 179, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  font-family: var(--font-body);
}
@media (max-width: 560px) {
  .btn-primary,
  .btn-ghost {
    padding: 11px 22px;
    font-size: 13.5px;
  }
  .blog-allwrap .btn-primary {
    padding: 11px 20px;
    font-size: 13.5px;
  }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(51, 73, 179, 0.35);
}
.btn-ghost {
  padding: 14px 32px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    background 0.2s;
  font-family: var(--font-body);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* ── §2 THE PROBLEM ── */
.pv2-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 1000px;
  margin: 14px 0;
}
.pv2-title em {
  font-style: normal;
  color: var(--primary2);
}
.pv2-lead {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--muted);
  margin: 0 0 48px;
}

/* two-column problem layout */
.pv2-layout {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  grid-template-areas:
    "copy visual"
    "actions visual";
  gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1180px;
}
.pv2-copy {
  grid-area: copy;
  text-align: left;
}
.pv2-actions {
  grid-area: actions;
}
.pv2-visual {
  grid-area: visual;
  align-self: center;
  perspective: 1600px;
}
.pv2-copy .pv2-title {
  margin: 14px 0 16px;
}
.pv2-copy .pv2-lead {
  margin: 0 0 4px;
}
.pv2-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.pv2-trust-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.pv2-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pv2-trust-tags span {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.pv2-visual .rcx {
  max-width: none;
  margin: 0;
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    22px 26px 60px rgba(20, 30, 80, 0.18),
    -14px -14px 32px #ffffff;
}
.pv2-visual .rcx:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.theme-dark .pv2-visual .rcx {
  box-shadow: none;
}
@media (max-width: 920px) {
  .pv2-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "actions";
    gap: 26px;
  }
  .pv2-visual {
    perspective: none;
  }
  .pv2-visual .rcx {
    max-width: 560px;
    margin: 0 auto;
    transform: none;
  }
  .pv2-copy .pv2-title {
    font-size: clamp(23px, 6vw, 36px);
    margin: 12px 0;
  }
  .pv2-copy .pv2-lead {
    font-size: 16px;
  }
  .pv2-trust {
    display: none;
  }
  .pv2-ctas {
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 0;
  }
  .pv2-ctas .btn-primary,
  .pv2-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pv2-visual .rcx {
    transform: none;
  }
}
.pv2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 44px;
}
.pv2-stat {
  padding: 22px 26px;
  border-left: 1px solid var(--border);
}
.pv2-stat:first-child {
  border-left: none;
}
.pv2-stat-num {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.pv2-up {
  color: #16a34a;
  font-size: 0.78em;
  font-weight: 700;
}
.pv2-stat-label {
  color: var(--text);
  font-size: 14px;
  margin-top: 4px;
}
.pv2-stat-src {
  color: var(--muted);
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}
.pv2-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}
.pv2-side {
  border-radius: 18px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pv2-bad {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.045), rgba(220, 38, 38, 0.015));
  border: 1px solid rgba(220, 38, 38, 0.18);
}
.pv2-good {
  background: linear-gradient(180deg, rgba(51, 73, 179, 0.05), rgba(51, 73, 179, 0.02));
  border: 1px solid rgba(51, 73, 179, 0.18);
}
.pv2-doc {
  text-align: center;
  color: var(--primary);
}
.pv2-bad .pv2-doc {
  color: var(--danger);
}
.pv2-doc-ic svg {
  width: 40px;
  height: 48px;
  display: block;
  margin: 0 auto 8px;
}
.pv2-doc-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pv2-wires {
  position: relative;
  width: 100%;
  height: 58px;
  margin: 8px 0 2px;
}
.pv2-wires-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pv2-wires-svg line {
  vector-effect: non-scaling-stroke;
}
.pv2-downarrow {
  color: var(--primary);
  opacity: 0.6;
  line-height: 0;
  margin: 6px 0 2px;
}
.pv2-downarrow svg {
  width: 18px;
  height: auto;
  display: block;
}
.pv2-hier {
  width: 100%;
  line-height: 0;
  margin: 2px 0 0;
}
.pv2-hier-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.pv2-hier-lines line {
  stroke: var(--primary);
  stroke-width: 1.4;
  opacity: 0.5;
  vector-effect: non-scaling-stroke;
}
.pv2-hier-heads path {
  fill: var(--primary);
  opacity: 0.62;
}
.pv2-layer {
  width: 100%;
  margin: 16px 0;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(51, 73, 179, 0.22);
}
.pv2-layer strong {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pv2-layer span {
  font-size: 12px;
  opacity: 0.85;
}
.pv2-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  width: 100%;
  margin: 0;
}
.pv2-ind {
  position: relative;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.pv2-ind img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.1));
}
.pv2-ind span:last-child {
  font-size: 9px;
  line-height: 1.15;
  color: var(--muted);
}
.pv2-ind-ok span:last-child {
  color: var(--text);
}
.pv2-warn {
  position: absolute;
  top: -4px;
  right: 50%;
  margin-right: -24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}
.pv2-fan {
  width: 100%;
  margin: 4px 0 0;
  line-height: 0;
}
.pv2-fan-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.pv2-fanlines path {
  fill: none;
  stroke: var(--danger);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
}
.pv2-fanbroken path {
  fill: none;
  stroke: var(--danger);
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
  opacity: 0.34;
  vector-effect: non-scaling-stroke;
}
.pv2-breaks path {
  fill: none;
  stroke-width: 1.6;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.pv2-warntris {
  opacity: 0.95;
}
.pv2-loopwrap {
  position: relative;
  width: 100%;
  margin-top: 14px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv2-loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pv2-loopline {
  fill: none;
  stroke: var(--danger);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.pv2-rebuilt {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--danger);
}
.pv2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.pv2-chips span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
}
.pv2-chips-bad span {
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
}
.pv2-chips-good span {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.pv2-arrow {
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(51, 73, 179, 0.3);
}
@media (max-width: 860px) {
  .pv2-stats {
    grid-template-columns: 1fr;
  }
  .pv2-stat {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .pv2-stat:first-child {
    border-top: none;
  }
  .pv2-compare {
    grid-template-columns: 1fr;
  }
  .pv2-arrow {
    transform: rotate(90deg);
    margin: 2px auto;
  }
}

/* hero mockup strip */
.hero-screen {
  margin-top: 64px;
  width: 100%;
  max-width: 900px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--border);
}
.screen-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.screen-bar .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.screen-body {
  padding: 32px;
}

/* trust score display */
.score-preview {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
}
.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-ring svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}
.score-ring .score-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.score-ring .score-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.score-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: #eef1f6;
  border-radius: 12px;
  padding: 14px 16px;
  border: none;
  box-shadow:
    inset 4px 4px 10px #d4d9e2,
    inset -4px -4px 10px #ffffff;
}
.stat-card .val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}
.stat-card .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.tag-green {
  color: var(--accent);
}
.tag-blue {
  color: var(--primary2);
}
.tag-warn {
  color: var(--warn);
}
.tag-red {
  color: var(--danger);
}

/* ── RIGHTS CONTINUITY LAYER - before/after diagram (problem section) ── */
.rcl {
  --rcl-navy: #0f1f3d;
  --rcl-slate: #5a6b85;
  --rcl-line: #e6eaf1;
  --rcl-red: #e2384b;
  --rcl-red-soft: #fdecee;
  --rcl-red-line: #f6ccd2;
  --rcl-blue: #3849ad;
  --rcl-blue-soft: #eef1fd;
  --rcl-blue-line: #d4dbf7;
  --rcl-green: #1f9d6b;
  --rcl-green-soft: #e7f6ee;
  --rcl-shadow: 0 1px 2px rgba(15, 31, 61, 0.04), 0 12px 32px rgba(15, 31, 61, 0.06);

  margin-top: 44px;
}
.rcl-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.rcl-panel {
  display: flex;
  flex-direction: column;
  background: #eef1f6;
  border: none;
  border-radius: 20px;
  padding: 20px 18px 22px;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.theme-dark .rcl-panel {
  background: var(--neo-bg);
  box-shadow:
    12px 12px 28px var(--neo-shadow-dark),
    -12px -12px 28px var(--neo-shadow-light);
}
.rcl-ptag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.is-problem .rcl-ptag {
  color: var(--rcl-red);
  background: var(--rcl-red-soft);
}
.is-solution .rcl-ptag {
  color: var(--rcl-blue);
  background: var(--rcl-blue-soft);
}
.rcl-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rcl-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border: 1.5px solid;
  border-radius: 14px;
  background: #fff;
}
.is-problem .rcl-ico {
  border-color: var(--rcl-red-line);
  color: var(--rcl-red);
}
.is-solution .rcl-ico {
  border-color: var(--rcl-blue-line);
  color: var(--rcl-blue);
}
.rcl-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.is-problem .rcl-lbl {
  color: var(--rcl-red);
}
.is-solution .rcl-lbl {
  color: var(--rcl-blue);
}
.rcl-arrow {
  display: flex;
  justify-content: center;
  margin: 14px 0;
  color: var(--rcl-blue);
}
.rcl-arrow svg {
  width: 22px;
  height: 30px;
}

/* smooth downward "flow" on the solution arrows - fluency vs the problem tangle */
.rcl-aflow {
  stroke-dasharray: 5 6;
  animation: rclaflow 1.25s linear infinite;
}
.rcl-arrow:last-of-type .rcl-aflow {
  animation-delay: 0.35s;
}
@keyframes rclaflow {
  to {
    stroke-dashoffset: -11;
  }
}
.rcl-ahead {
  transform-box: fill-box;
  transform-origin: center;
  animation: rclahead 1.25s ease-in-out infinite;
}
.rcl-arrow:last-of-type .rcl-ahead {
  animation-delay: 0.35s;
}
@keyframes rclahead {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(2.5px);
    opacity: 1;
  }
}
.rcl-tangle {
  margin: 8px 0 2px;
}
.rcl-tangle svg {
  display: block;
  width: 100%;
  height: 84px;
  overflow: visible;
}
.rcl-tangle .ln {
  fill: none;
  stroke: var(--rcl-red);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
  opacity: 0.55;
}
.rcl-tangle .ln.faint {
  opacity: 0.32;
}
.rcl-tangle .ah {
  fill: var(--rcl-red);
  opacity: 0.7;
}
.rcl-tangle .xmark {
  stroke: var(--rcl-red);
  stroke-width: 2;
  stroke-linecap: round;
}
.rcl-tangle .loop {
  fill: none;
  stroke: var(--rcl-red);
  stroke-width: 1.6;
  opacity: 0.85;
}
.rcl-tangle .flow {
  animation: rclflow 1.1s linear infinite;
}
@keyframes rclflow {
  to {
    stroke-dashoffset: -16;
  }
}
.rcl-rebuild {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  margin: 26px 0 2px;
  padding: 8px 14px;
  border: 1px dashed var(--rcl-red-line);
  border-radius: 999px;
  background: var(--rcl-red-soft);
  color: var(--rcl-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.rcl-rebuild svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  animation: rclspin 2.4s linear infinite;
}
@keyframes rclspin {
  to {
    transform: rotate(360deg);
  }
}
.rcl-bar {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--rcl-blue);
  color: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(56, 73, 173, 0.28);
}

/* travelling-light border - same effect as the hero "Rights Continuity" tag */
.rcl-bar > * {
  position: relative;
  z-index: 2;
}
.rcl-bar::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 240%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    rgba(255, 255, 255, 0.55) 346deg,
    #ffffff 356deg,
    transparent 360deg
  );
  animation: hero-badge-spark 3.4s linear infinite;
  pointer-events: none;
}
.rcl-bar::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1.6px;
  border-radius: inherit;
  background: var(--rcl-blue);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .rcl-bar::before {
    animation: none;
  }
}
.rcl-bar-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 60, 0.18);
}
.rcl-bar-mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.rcl-bar-t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rcl-bar-s {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.9;
}
.rcl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.rcl-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 88px;
  padding: 12px 6px;
  border: none;
  border-radius: 12px;
  background: #eef1f6;
  text-align: center;
  box-shadow:
    5px 5px 12px #d4d9e2,
    -5px -5px 12px #ffffff;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s;
}
.rcl-cell:hover {
  transform: translateY(-3px);
  box-shadow:
    9px 9px 20px #d0d5df,
    -9px -9px 20px #ffffff;
}
.theme-dark .rcl-cell {
  background: var(--neo-bg);
  box-shadow:
    6px 6px 14px var(--neo-shadow-dark),
    -6px -6px 14px var(--neo-shadow-light);
}
.rcl-cico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.rcl-cico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rcl-cname {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rcl-slate);
}
.is-solution .rcl-cname {
  color: var(--rcl-navy);
}
.theme-dark .rcl-cname,
.theme-dark .is-solution .rcl-cname {
  color: #c7d2e3;
}
.rcl-warn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 15px;
  height: 15px;
  color: var(--rcl-red);
}
.rcl-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}
.rcl-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.is-problem .rcl-pill {
  color: var(--rcl-red);
  background: var(--rcl-red-soft);
}
.is-solution .rcl-pill {
  color: var(--rcl-green);
  background: var(--rcl-green-soft);
}
.rcl-chev {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--rcl-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(56, 73, 173, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .rcl-tangle .flow,
  .rcl-rebuild svg,
  .rcl-aflow,
  .rcl-ahead {
    animation: none;
  }
}
@media (max-width: 760px) {
  /* stack vertically: problem (red) on top, solution (blue) below - compact */
  .rcl {
    margin-top: 28px;
  }
  .rcl-compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rcl-panel {
    padding: 16px 14px 18px;
    border-radius: 16px;
  }
  .rcl-ptag {
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 10.5px;
  }
  .rcl-ico {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    border-radius: 11px;
  }
  .rcl-ico svg {
    width: 22px;
    height: 22px;
  }
  .rcl-lbl {
    font-size: 11px;
  }
  .rcl-arrow {
    margin: 10px 0;
  }
  .rcl-arrow svg {
    width: 18px;
    height: 24px;
  }
  .rcl-tangle svg {
    height: 60px;
  }
  .rcl-rebuild {
    margin: 10px 0 2px;
    padding: 6px 12px;
    font-size: 10.5px;
  }
  .rcl-bar {
    gap: 10px;
    padding: 12px 14px;
  }
  .rcl-bar-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .rcl-bar-mark img {
    width: 21px;
    height: 21px;
  }
  .rcl-bar-t {
    font-size: 13px;
  }
  .rcl-bar-s {
    font-size: 11.5px;
  }
  .rcl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 14px;
  }
  .rcl-cell {
    min-height: 0;
    gap: 5px;
    padding: 8px 5px;
    border-radius: 10px;
  }
  .rcl-cico {
    width: 26px;
    height: 26px;
  }
  .rcl-cname {
    font-size: 9.5px;
    line-height: 1.2;
  }
  .rcl-warn {
    width: 12px;
    height: 12px;
    top: 5px;
    right: 5px;
  }
  .rcl-pills {
    gap: 8px;
    padding-top: 16px;
  }
  .rcl-pill {
    padding: 6px 13px;
    font-size: 11.5px;
  }
  .rcl-chev {
    position: static;
    width: 40px;
    height: 40px;
    margin: 2px auto;
    border-width: 4px;
    transform: none;
  }
  .rcl-chev svg {
    transform: rotate(90deg);
  }
}

/* ── SECTION COMMON ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.section {
  padding: 62px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(67, 89, 194, 0.1);
  color: var(--primary2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* ── LEGAL FRAMEWORK SCOPE VISUAL ── */
.scope-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.scope-tier {
  background: #eef1f6;
  border: 1px solid rgba(51, 73, 179, 0.1);
  border-radius: 18px;
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    6px 6px 16px #d4d9e2,
    -6px -6px 16px #f8f9fc;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.scope-tier:hover {
  transform: translateY(-3px);
}
.scope-tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tier-color);
}
.scope-tier-verify {
  --tier-color: #10b981;
}
.scope-tier-support {
  --tier-color: #3349b3;
}
.scope-tier-enable {
  --tier-color: #f59e0b;
}
.scope-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.scope-tier-verb {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.scope-fill {
  display: inline-flex;
  gap: 3px;
}
.scope-fill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}
.scope-fill-dot.on {
  background: var(--tier-color);
}
.scope-tier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scope-tier-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(51, 73, 179, 0.06);
  color: var(--text);
  border: 1px solid rgba(51, 73, 179, 0.1);
}
.scope-tier-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 10px;
  margin-top: auto;
}
.scope-tier-note strong {
  color: var(--text);
  font-weight: 700;
}
.scope-boundary {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(51, 73, 179, 0.03);
  border: 1px dashed rgba(51, 73, 179, 0.24);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.scope-boundary-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
  flex-shrink: 0;
}
.scope-boundary-title strong {
  color: var(--text);
  font-weight: 700;
}
.scope-boundary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scope-boundary-actor {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.025);
  color: var(--muted);
  border: 1px dashed rgba(51, 73, 179, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.scope-boundary-actor::before {
  content: "✕";
  color: rgba(239, 68, 68, 0.7);
  font-weight: 700;
}
@media (max-width: 900px) {
  .scope-tiers {
    grid-template-columns: 1fr;
  }
  .scope-boundary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.how-card {
  background: #eef1f6;
  border: 1px solid rgba(51, 73, 179, 0.1);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow:
    6px 6px 16px #d4d9e2,
    -6px -6px 16px #f8f9fc;
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow:
    10px 10px 28px #cdd2db,
    -10px -10px 28px #f8f9fc;
}
.how-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.2s;
}
.how-card:hover::before {
  opacity: 1;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary2);
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.how-icon {
  font-size: 32px;
  margin-bottom: 20px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 20px;
  border: 1px solid rgba(51, 73, 179, 0.12);
  box-shadow:
    0 6px 20px rgba(51, 73, 179, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.how-card:hover .how-icon {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(51, 73, 179, 0.18),
    0 2px 8px rgba(15, 23, 42, 0.08);
}
.how-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ── NEUMORPHIC ── */
.neo-surface {
  background: #eef1f6;
}
.neo-raised {
  background: #eef1f6;
  border: none;
  border-radius: 18px;
  box-shadow:
    10px 10px 24px #d4d9e2,
    -10px -10px 24px #ffffff;
}

.neo-small {
  background: #eef1f6;
  border: none;
  border-radius: 12px;
  box-shadow:
    6px 6px 14px #d4d9e2,
    -6px -6px 14px #ffffff;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s;
}
.integration-grid .neo-small {
  cursor: default;
}
.integration-grid .neo-small:not([style*="opacity:0.7"]):hover {
  transform: translateX(6px);
  box-shadow:
    10px 10px 22px #d0d5df,
    -10px -10px 22px #ffffff;
}
.neo-inset {
  background: #eef1f6;
  border: none;
  border-radius: 12px;
  box-shadow:
    inset 6px 6px 12px #d4d9e2,
    inset -6px -6px 12px #ffffff;
}
.neo-accent {
  background: linear-gradient(135deg, #eef1f6 0%, #e4e9f5 100%);
  border: none;
  border-radius: 20px;
  box-shadow:
    14px 14px 30px #d4d9e2,
    -14px -14px 30px #ffffff,
    0 0 0 1px rgba(51, 73, 179, 0.08),
    0 12px 40px rgba(51, 73, 179, 0.1);
}
.neo-primary {
  position: relative;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #fff;
  border-radius: 12px;
  box-shadow:
    6px 6px 14px #d4d9e2,
    -6px -6px 14px #ffffff,
    0 8px 20px rgba(51, 73, 179, 0.25);
  overflow: hidden;
  isolation: isolate;
}
.neo-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(67, 89, 194, 0.4);
  animation: primary-breath 3.4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes primary-breath {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(67, 89, 194, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(67, 89, 194, 0);
  }
}
.integration-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0 8px;
}
.integration-arrow .line {
  position: relative;
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
  border-radius: 2px;
  overflow: hidden;
}
.integration-arrow .line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 32px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.95) 0%, rgba(51, 73, 179, 0.7) 40%, transparent 75%);
  filter: blur(0.5px);
  animation: flowpulse 2.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.integration-arrow:nth-of-type(4) .line::before {
  animation-delay: 1.4s;
}
@keyframes flowpulse {
  0% {
    left: -20%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
.integration-arrow .head {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--primary);
  margin-left: -2px;
  animation: arrowtick 2.8s ease-in-out infinite;
}
.integration-arrow:nth-of-type(4) .head {
  animation-delay: 1.4s;
}
@keyframes arrowtick {
  0%,
  78% {
    transform: scale(1);
    filter: none;
  }
  85% {
    transform: scale(1.22);
    filter: drop-shadow(0 0 6px rgba(51, 73, 179, 0.5));
  }
  100% {
    transform: scale(1);
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .neo-primary::after,
  .integration-arrow .line::before,
  .integration-arrow .head {
    animation: none;
  }
}
.integration-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── REGULATORY FRAMEWORKS (multi-jurisdiction) ── */
.fw-stage {
  position: relative;
}
.fw-globe {
  position: absolute;
  top: -60px;
  right: -120px;
  width: min(780px, 90vw);
  height: 720px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;

  /* fade the globe out toward the edges so it reads as a soft backdrop */
  -webkit-mask-image: radial-gradient(circle at center, #000 46%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 46%, transparent 70%);
}
.fw-head-block {
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .fw-globe {
    right: -80px;
  }
}
.frameworks-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.fw-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
}
.fw-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.fw-flag {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  line-height: 1;
  flex-shrink: 0;
  background: #eef1f6;
  box-shadow:
    inset 5px 5px 10px #d4d9e2,
    inset -5px -5px 10px #ffffff;
}

/* two flags in one badge (e.g. Europe + UK) - shrink so both sit centered */
.fw-flag-duo {
  font-size: 19px;
  gap: 1px;
}
.fw-region {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text);
}
.fw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fw-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.18s;
}
.fw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary2);
}
.fw-list b {
  color: var(--text);
  font-weight: 700;
}

/* interactive cards + framework source links */
.fw-card:hover {
  transform: translateY(-4px);
}
.fw-list li:hover {
  background: rgba(67, 89, 194, 0.06);
}
.fw-link {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}
.fw-link .fw-ext {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  align-self: center;
  color: var(--primary2);
  opacity: 0;
  transform: translate(-3px, 0);
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.fw-link:hover b {
  color: var(--primary2);
}
.fw-link:hover .fw-ext {
  opacity: 0.85;
  transform: translate(0, 0);
}
.fw-link:focus-visible {
  outline: 2px solid var(--primary2);
  outline-offset: 3px;
  border-radius: 4px;
}
.fw-note {
  max-width: 1100px;
  margin: 44px auto 0;
  padding: 16px 34px;
  color: var(--muted);
  border-radius: 18px;
}
.fw-note-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  text-align: left;
}
.fw-note-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.fw-note-ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary2);
  background: rgba(67, 89, 194, 0.1);
}
.fw-note-ic svg {
  width: 22px;
  height: 22px;
}
.fw-note-h {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.fw-note-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}
.fw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.fw-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary2);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(67, 89, 194, 0.09);
  transition:
    background 0.2s,
    transform 0.2s;
}
.fw-chip:hover {
  background: rgba(67, 89, 194, 0.18);
  transform: translateY(-1px);
}
.fw-note-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(67, 89, 194, 0.13);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.fw-note-foot svg {
  width: 15px;
  height: 15px;
  color: var(--primary2);
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .fw-note-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  /* stacked, full-width readable region cards on phones (tablet keeps 3 in a row) */
  .frameworks-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fw-card {
    padding: 22px;
  }
  .fw-head {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .fw-flag {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .fw-flag-duo {
    font-size: 12px;
  }
  .fw-region {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .fw-list {
    gap: 12px;
  }
  .fw-list li {
    padding-left: 16px;
    font-size: 13.5px;
    line-height: 1.5;
  }
  .fw-list li::before {
    top: 7px;
    width: 6px;
    height: 6px;
  }
}

/* ── KILLER TAKEAWAY ── */
.takeaway {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 920px;
  margin: 96px auto 0;
  padding: 0 24px;
}
.takeaway-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 73, 179, 0.25), transparent);
}
.takeaway-text {
  margin: 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--text);
  flex-shrink: 0;
}
.takeaway-text em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 720px) {
  .takeaway {
    flex-direction: column;
    gap: 16px;
    margin-top: 64px;
  }
  .takeaway-line {
    width: 80px;
    height: 1px;
    flex: 0 0 auto;
  }
}

/* ── INTERACTIVE STEPPER (1/2/3) ── */
.proof-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.proof-steps::before {
  content: "";
  position: absolute;
  top: 62px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--primary) 50%, transparent 50%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 0.5s ease 0.3s,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  pointer-events: none;
  z-index: 0;
}
.proof-steps.is-in::before {
  opacity: 0.45;
  transform: scaleX(1);
}
.proof-step {
  position: relative;
  z-index: 1;
  padding: 32px 24px 28px;
  text-align: center;
  background: #eef1f6;
  border-radius: 18px;
  box-shadow:
    8px 8px 20px #d4d9e2,
    -8px -8px 20px #ffffff;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
}
.proof-steps.is-in .proof-step {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease var(--step-delay, 0s),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--step-delay, 0s),
    box-shadow 0.3s;
}
.proof-step:hover {
  transform: translateY(-8px);
  box-shadow:
    16px 16px 36px #d0d5df,
    -16px -16px 36px #ffffff;
}
.proof-step:hover .step-badge {
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #ffffff;
  box-shadow:
    0 0 0 6px rgba(51, 73, 179, 0.12),
    0 10px 24px rgba(51, 73, 179, 0.32);
  transform: scale(1.08);
}
.proof-step:hover .step-ring {
  opacity: 1;
  transform: scale(1.35);
  animation-play-state: running;
}
.step-badge {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eef1f6;
  box-shadow:
    inset 4px 4px 10px #d4d9e2,
    inset -4px -4px 10px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary2);
  letter-spacing: -0.5px;
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.step-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(51, 73, 179, 0.28);
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 0.3s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  animation: stepring 8s linear infinite paused;
}
@keyframes stepring {
  to {
    transform: scale(1.35) rotate(360deg);
  }
}
.proof-step h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  transition: color 0.3s;
}
.proof-step:hover h3 {
  color: var(--primary2);
}
.proof-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 720px) {
  .proof-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .proof-steps::before {
    display: none;
  }
  .proof-step {
    padding: 14px 8px 12px;
    border-radius: 12px;
    box-shadow:
      4px 4px 10px #d4d9e2,
      -4px -4px 10px #ffffff;
  }
  .step-badge {
    width: 36px;
    height: 36px;
    font-size: 15px;
    margin: 0 auto 8px;
    box-shadow:
      inset 2px 2px 5px #d4d9e2,
      inset -2px -2px 5px #ffffff;
  }
  .proof-step h3 {
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.1px;
  }
  .proof-step p {
    font-size: 10px;
    line-height: 1.35;
  }
}
@media (max-width: 900px) {
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .integration-arrow {
    transform: rotate(90deg);
    width: 60px;
    height: 32px;
    min-width: 0;
    padding: 0;
    margin: 4px auto;
    flex: none;
  }
  .integration-arrow .line {
    flex: none;
    width: 100%;
  }
}
.how-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.how-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 24px;
  padding-top: 60px;
}

/* ── TRUST INDEX ── */
.trust-section {
  background: var(--bg2);
}
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.trust-visual {
  background: #eef1f6;
  border: none;
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    12px 12px 28px #d0d5df,
    -12px -12px 28px #ffffff;
}
.trust-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.trust-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  background: color-mix(in srgb, #22d3a0 18%, transparent);
  color: #16a37b;
  border: 1px solid color-mix(in srgb, #22d3a0 35%, transparent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.8px;
}
.trust-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3a0;
  box-shadow: 0 0 0 0 rgba(34, 211, 160, 0);
}
.trust-visual.is-in .trust-badge::before {
  animation: trustpulse 1.6s ease-in-out 2;
}
@keyframes trustpulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 211, 160, 0);
    transform: scale(1.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 160, 0);
    transform: scale(1);
  }
}
.trust-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}
.trust-big .num {
  font-family: var(--font-head);
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  background: linear-gradient(
    100deg,
    var(--accent) 0%,
    var(--accent) 38%,
    #9aa9f3 50%,
    var(--accent) 62%,
    var(--accent) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-visual.is-in .trust-big .num {
  animation: trustshimmer 2.2s ease-out 0.3s 1 forwards;
}
@keyframes trustshimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.trust-big .sub {
  font-size: 14px;
  color: var(--muted);
}
.component-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.component-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.comp-label {
  color: var(--muted);
  min-width: 180px;
}
.comp-bar-bg {
  flex: 1;
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}
.comp-bar {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.comp-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
}
.trust-visual.is-in .comp-bar::after {
  animation: barshine 1.4s ease-out forwards;
  animation-delay: calc(var(--shine-delay, 0s) + 0.6s);
}
@keyframes barshine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}
.comp-score {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  min-width: 32px;
  text-align: right;
}
@media (prefers-reduced-motion: reduce) {
  .trust-visual.is-in .trust-big .num,
  .trust-visual.is-in .trust-badge::before,
  .trust-visual.is-in .comp-bar::after {
    animation: none;
  }
}
.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.trust-text h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.trust-text p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.7;
}
.trust-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
  padding: 22px 0;
  position: relative;
}
.trust-feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 66px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(51, 73, 179, 0.18) 0%, rgba(51, 73, 179, 0.04) 100%);
}
.trust-feature:first-child {
  padding-top: 0;
}
.trust-feature:not(:has(~ .trust-feature))::after {
  display: none;
}
.theme-dark .trust-feature::after {
  background: linear-gradient(90deg, rgba(147, 168, 255, 0.28) 0%, rgba(147, 168, 255, 0.04) 100%);
}
.tf-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef1f6;
  box-shadow:
    5px 5px 12px #d4d9e2,
    -5px -5px 12px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tf-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.tf-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tf-text strong {
  font-size: 15px;
  font-weight: 700;
  display: block;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.1px;
}
.tf-text span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}
.trust-text > div[style*="margin-top:32px"] {
  margin-top: 28px !important;
}

/* ── CERTS ── */
.certs-box {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a 0%, #1a2540 55%, #1e2d50 100%);
  box-shadow:
    0 2px 0 rgba(99, 140, 255, 0.25) inset,
    0 32px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(99, 140, 255, 0.18);
  overflow: hidden;
  color: #ffffff;
}
.certs-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 15% 10%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 45% 50% at 95% 100%, rgba(129, 140, 248, 0.38), transparent 72%),
    radial-gradient(circle at 70% 20%, rgba(96, 165, 250, 0.14), transparent 55%);
  pointer-events: none;
  animation: certs-orb 14s ease-in-out infinite alternate;
}
@keyframes certs-orb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-12px, 10px, 0) scale(1.04);
  }
}
.certs-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, black, transparent 90%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, black, transparent 90%);
  pointer-events: none;
  opacity: 0.7;
}
.certs-box > * {
  position: relative;
  z-index: 1;
}

.certs-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.certs-intro-main {
  flex: 1 1 480px;
  max-width: 640px;
}
.certs-intro-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 240px;
  max-width: 280px;
}
.cia-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cia-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: cia-dot-pulse 2s ease-out infinite;
}
@keyframes cia-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}
.certs-intro-aside .k {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}
.cia-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.certs-intro-aside .v {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1.5px;
}
.cia-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}
.cia-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.cia-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  text-align: center;
}
.cia-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}
.cia-pill:active {
  transform: translateY(0);
}
.cia-pill-bundle {
  grid-column: 1 / -1;
  background: #ffffff;
  color: var(--primary2);
  border-color: transparent;
  font-weight: 900;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cia-pill-bundle:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}
.cia-pill-bundle::before {
  content: "★";
  color: var(--primary);
}
.certs-intro-aside .hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.certs-box .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  font-size: 10px;
  margin-bottom: 18px;
}
.certs-box .section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3a0;
  box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.5);
  animation: live-dot 1.8s ease-in-out infinite;
}
.certs-box .section-title {
  color: #ffffff;
  margin-bottom: 14px;
}
.certs-box .section-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.cert-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px 16px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  cursor: default;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cert-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cert-card:hover::before {
  opacity: 1;
}
.cert-card:hover .cert-pill {
  background: #ffffff;
  color: var(--primary2);
  border-color: transparent;
}
.cert-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}
.cert-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
  line-height: 1.3;
}
.cert-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
}
.cert-featured {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.32);
  grid-column: span 2;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.22);
}
.cert-featured .cert-pill {
  background: #ffffff;
  color: var(--primary2);
  border-color: transparent;
  font-weight: 700;
}
@media (max-width: 640px) {
  .cert-featured {
    grid-column: span 1;
  }
}
@media (max-width: 720px) {
  .certs-box {
    padding: 44px 24px;
    border-radius: 24px;
  }
  .certs-intro {
    gap: 24px;
  }
  .certs-intro-aside {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 16px 18px;
  }
  .certs-intro-aside .v {
    font-size: 36px;
  }
}

/* ── PROBLEM SECTION (Día 1 vs Día 94) ── */
.problem-block {
  margin-top: 88px;
  width: 100%;
  max-width: 1000px;
}
.problem-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 16px;
  align-items: stretch;
}
.problem-card {
  background: #eef1f6;
  border: none;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow:
    10px 10px 24px #d4d9e2,
    -10px -10px 24px #ffffff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow:
    16px 16px 36px #d0d5df,
    -16px -16px 36px #ffffff;
}
.problem-card.is-ok {
  --status-color: #0d9488;
  --status-tint: rgba(13, 148, 136, 0.1);
  --status-tint-strong: rgba(13, 148, 136, 0.22);
}
.problem-card.is-bad {
  --status-color: #be123c;
  --status-tint: rgba(190, 18, 60, 0.08);
  --status-tint-strong: rgba(190, 18, 60, 0.22);
}

/* PAIN HEADLINE STRIP (above the 3-card timeline) */
.problem-pain {
  background: #eef1f6;
  border: 1px solid rgba(51, 73, 179, 0.1);
  border-radius: 20px;
  padding: 36px 36px 28px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    8px 8px 20px #d4d9e2,
    -8px -8px 20px #f8f9fc;
}
.problem-pain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #be123c 30%, #be123c 70%, transparent 100%);
  opacity: 0.7;
}
.problem-pain-head {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.problem-pain-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #be123c;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.18);
}
.problem-pain-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #be123c;
  animation: pulse 2s ease-in-out infinite;
}
.problem-pain-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
  white-space: normal;
}
.problem-pain-title em {
  font-style: normal;
  color: #be123c;
}
.problem-pain-sub {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.problem-pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.problem-pain-point {
  position: relative;
  display: block;
  padding: 18px 20px;
  background: #e5e9f1;
  border: 1px solid rgba(51, 73, 179, 0.06);
  border-radius: 14px;
  box-shadow:
    inset 3px 3px 8px #d4d9e2,
    inset -3px -3px 8px #f8f9fc;
  cursor: default;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.problem-pain-point:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow:
    6px 6px 16px #d0d5df,
    -6px -6px 16px #ffffff;
}
.problem-pain-icon {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: rgba(51, 73, 179, 0.08);
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.problem-pain-point:hover .problem-pain-icon {
  background: var(--primary);
  color: #ffffff;
}
.problem-pain-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.problem-pain-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: block;
}
.problem-pain-arrow {
  text-align: center;
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.problem-pain-arrow::before,
.problem-pain-arrow::after {
  content: "";
  height: 1px;
  flex: 0 0 36px;
  background: linear-gradient(90deg, transparent, rgba(190, 18, 60, 0.45), transparent);
}
.problem-pain-arrow .ppa-down {
  color: #be123c;
  font-size: 14px;
  animation: pa-arrow-bob 1.8s ease-in-out infinite;
}
@keyframes pa-arrow-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
@media (max-width: 768px) {
  .problem-pain {
    padding: 20px 10px 16px;
  }
  .problem-pain-head {
    margin-bottom: 14px;
    gap: 6px;
  }
  .problem-pain-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .problem-pain-point {
    padding: 10px 6px;
    border-radius: 9px;
  }
  .problem-pain-title {
    font-size: 17px;
    line-height: 1.22;
  }
  .problem-pain-sub {
    font-size: 11.5px;
  }
  .problem-pain-kicker {
    font-size: 9px;
    letter-spacing: 1.3px;
    padding: 4px 9px;
  }
  .problem-pain-icon {
    font-size: 9px;
    padding: 2px 5px;
    margin-bottom: 6px;
    letter-spacing: 0.4px;
  }
  .problem-pain-text strong {
    font-size: 10.5px;
    line-height: 1.22;
    margin-bottom: 3px;
  }
  .problem-pain-text span {
    font-size: 9.5px;
    line-height: 1.4;
  }
  .problem-pain-arrow {
    font-size: 9px;
    letter-spacing: 1.2px;
    margin-top: 12px;
  }
  .problem-pain-arrow::before,
  .problem-pain-arrow::after {
    flex-basis: 16px;
  }
}
@media (max-width: 420px) {
  .problem-pain-arrow::before,
  .problem-pain-arrow::after {
    display: none;
  }
}

/* dark mode */
.theme-dark .problem-pain {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(99, 140, 255, 0.18) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}
.theme-dark .problem-pain::before {
  background: linear-gradient(90deg, transparent 0%, #fb7185 30%, #fb7185 70%, transparent 100%);
}
.theme-dark .problem-pain-kicker {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.1);
  border-color: rgba(251, 113, 133, 0.3);
}
.theme-dark .problem-pain-kicker::before {
  background: #fb7185;
}
.theme-dark .problem-pain-title {
  color: var(--text) !important;
}
.theme-dark .problem-pain-title em {
  color: #fb7185 !important;
}
.theme-dark .problem-pain-point {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.25),
    inset -2px -2px 6px rgba(255, 255, 255, 0.02) !important;
}
.theme-dark .problem-pain-point:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}
.theme-dark .problem-pain-icon {
  background: rgba(147, 168, 255, 0.14);
  color: #93a8ff;
}
.theme-dark .problem-pain-point:hover .problem-pain-icon {
  background: #93a8ff;
  color: #0f172a;
}
.theme-dark .problem-pain-text strong {
  color: var(--text) !important;
}
.theme-dark .problem-pain-arrow::before,
.theme-dark .problem-pain-arrow::after {
  background: linear-gradient(90deg, transparent, rgba(251, 113, 133, 0.45), transparent);
}
.theme-dark .problem-pain-arrow .ppa-down {
  color: #fb7185;
}

.problem-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.problem-card-title h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 0;
}
.problem-card-title h3 em {
  font-style: normal;
  color: var(--status-color);
}
.problem-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.problem-head-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.problem-instrument {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.problem-meta {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}
.problem-pill {
  background: var(--status-tint);
  border: 1px solid var(--status-tint-strong);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--status-color);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.problem-doc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.problem-doc-icon {
  width: 40px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
}
.problem-doc-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: #be123c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
  animation: pulse 1.6s infinite;
}
.problem-doc-text {
  min-width: 0;
}
.problem-doc-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.problem-doc-sub {
  font-size: 10px;
  color: var(--status-color);
  margin-top: 2px;
  line-height: 1.4;
}

.problem-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.problem-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 7px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.problem-row:hover {
  background: var(--bg3);
  border-color: var(--status-tint-strong);
}
.problem-row-label {
  font-size: 12px;
  color: var(--muted);
}
.problem-row-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--status-color);
  white-space: nowrap;
}

.problem-trust {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}
.problem-trust-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--status-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.problem-trust-num.is-text {
  font-size: 30px;
  letter-spacing: -0.5px;
  text-transform: none;
}
.problem-trust-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.problem-timeline {
  background: rgba(180, 83, 9, 0.025);
  border: 1px solid rgba(180, 83, 9, 0.14);
  border-radius: 16px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.03),
    0 8px 24px rgba(180, 83, 9, 0.04);
}
.problem-timeline-head {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(180, 83, 9, 0.14);
}
.problem-timeline-head h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 0;
}
.problem-timeline-head h3 em {
  font-style: normal;
  color: #b45309;
}
.problem-timeline-events {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.problem-timeline-events::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--border), var(--danger), var(--border));
  opacity: 0.4;
}
.problem-event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.problem-event.is-in {
  opacity: 1;
  transform: none;
}
.problem-event-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  z-index: 1;
  background: #b45309;
}
.problem-event.is-crit .problem-event-dot {
  background: #be123c;
}
.problem-event-text {
  min-width: 0;
}
.problem-event-day {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}
.problem-event.is-crit .problem-event-day {
  color: #be123c;
}
.problem-event-desc {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.problem-timeline-foot {
  margin-top: auto;
  padding-top: 18px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
.problem-extras-chip {
  margin-top: 14px;
  align-self: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.18);
  color: #b45309;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.problem-takeaway {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.problem-takeaway strong {
  color: var(--primary);
  font-weight: 600;
}
.problem-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ── SOCIAL PROOF - editorial rail ── */
.proof-section {
  background: transparent;
}
.proof-intro {
  max-width: 640px;
  margin: 0;
  text-align: left;
}
.proof-intro .section-title {
  margin-bottom: 14px;
}
.proof-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}
.proof-rail {
  display: flex;
  gap: 22px;
  overflow: auto visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  margin: 64px -24px 0;
  padding: 24px 24px 16px;
  scrollbar-width: none;
}
.proof-rail::-webkit-scrollbar {
  display: none;
}
.proof-card {
  flex: 0 0 clamp(300px, 34vw, 380px);
  scroll-snap-align: start;
  background: #eef1f6;
  border: none;
  border-radius: 22px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow:
    10px 10px 26px #d4d9e2,
    -10px -10px 26px #ffffff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  min-height: 360px;
}
.proof-card:hover {
  transform: translateY(-6px);
  box-shadow:
    16px 16px 36px #d0d5df,
    -16px -16px 36px #ffffff;
}
.proof-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #eef1f6;
  box-shadow:
    inset 3px 3px 8px #d4d9e2,
    inset -3px -3px 8px #ffffff;
}
.proof-card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.problem-doc-icon img {
  width: 28px;
  height: 32px;
  object-fit: contain;
}
.alethia-row-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.alethia-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 0 -10px;
  border-bottom: 1px solid rgba(51, 73, 179, 0.12);
  border-radius: 8px;
  transition:
    background 0.25s,
    transform 0.25s;
  cursor: default;
}
.alethia-row:last-child {
  border-bottom: none;
}
.alethia-row:hover {
  background: rgba(51, 73, 179, 0.06);
  transform: translateX(4px);
}
.alethia-row:hover .alethia-row-icon {
  transform: scale(1.1);
}
.alethia-row .status-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
}
.alethia-row .status-tag.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3a0;
  margin-right: 5px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.5);
  animation: live-dot 1.8s ease-in-out infinite;
}
@keyframes live-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.6);
  }
  60% {
    box-shadow: 0 0 0 6px rgba(34, 211, 160, 0);
  }
}
.proof-card-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary2);
}
.proof-card-headline {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.2px;
}
.proof-card-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.proof-card-bullets li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof-card-bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.proof-card-widget {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e8ecf3;
  box-shadow:
    inset 2px 2px 6px #d4d9e2,
    inset -2px -2px 6px #ffffff;
}
.widget-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-label .live {
  color: #22d3a0;
}
.widget-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.widget-score .num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary2);
  line-height: 1;
}
.widget-score .max {
  font-size: 11px;
  color: var(--muted);
}
.widget-bar {
  height: 5px;
  border-radius: 3px;
  background: #d4d9e2;
  overflow: hidden;
  margin-top: 6px;
}
.widget-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #22d3a0);
  border-radius: 3px;
}

.widget-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
}
.widget-timeline .step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.widget-timeline .step.pending {
  background: #d4d9e2;
}
.widget-timeline .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #d4d9e2);
  border-radius: 1px;
}
.widget-tl-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.widget-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.widget-checklist .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  font-family: var(--font-mono);
}
.widget-checklist .row::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}
.widget-checklist .row.ok::before {
  content: "✓";
  background: rgba(34, 211, 160, 0.18);
  color: #16a37b;
}
.widget-checklist .row.warn::before {
  content: "!";
  background: rgba(217, 119, 6, 0.18);
  color: #b36b00;
}

.widget-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.widget-code .get,
.widget-code .post {
  font-weight: 700;
  margin-right: 4px;
}
.widget-code .get {
  color: #16a37b;
}
.widget-code .post {
  color: var(--primary2);
}
.widget-code .hook {
  color: var(--primary);
}

.proof-card.is-quote {
  background: linear-gradient(135deg, #eef1f6 0%, #e4e9f5 100%);
  box-shadow:
    12px 12px 28px #d0d5df,
    -12px -12px 28px #ffffff,
    0 0 0 1px rgba(51, 73, 179, 0.08);
}
.proof-card.is-quote blockquote {
  font-family: var(--font-head);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
}
.proof-card.is-quote blockquote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 56px;
  color: var(--primary2);
  line-height: 0;
  vertical-align: -22px;
  margin-right: 4px;
  font-style: normal;
  opacity: 0.5;
}
.proof-card.is-quote .quote-attr {
  margin-top: auto;
}
.proof-card.is-quote .quote-attr strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.proof-card.is-quote .quote-attr span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.proof-rail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 4px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.proof-rail-meta .counter {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary2);
}
.proof-rail-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof-rail-hint::after {
  content: "→";
  font-size: 14px;
  color: var(--primary2);
  animation: railhint 1.8s ease-in-out infinite;
}
@keyframes railhint {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@media (max-width: 820px) {
  .proof-card {
    flex: 0 0 86vw;
    padding: 24px;
    min-height: 340px;
  }
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.price-card {
  position: relative;
  background: #eef1f6;
  border: none;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
  box-shadow:
    10px 10px 24px #d4d9e2,
    -10px -10px 24px #ffffff;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow:
    18px 18px 40px #d0d5df,
    -18px -18px 40px #ffffff;
}
.price-card.featured {
  background: linear-gradient(135deg, #eef1f6 0%, #e4e9f5 100%);
  box-shadow:
    14px 14px 32px #d0d5df,
    -14px -14px 32px #ffffff,
    0 0 0 1px rgba(51, 73, 179, 0.12),
    0 14px 44px rgba(51, 73, 179, 0.14);
  transform: translateY(-6px);
}
.price-card.featured:hover {
  transform: translateY(-12px);
  box-shadow:
    20px 20px 44px #d0d5df,
    -20px -20px 44px #ffffff,
    0 0 0 1px rgba(51, 73, 179, 0.18),
    0 20px 56px rgba(51, 73, 179, 0.22);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(51, 73, 179, 0.32);
  white-space: nowrap;
}
.price-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary2);
  margin-bottom: 8px;
}
.price-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 40px;
}
.price-amount {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount .num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.price-card.featured .price-amount .num {
  background: linear-gradient(135deg, #3349b3, #4359c2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-amount .period {
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}
.price-amount .custom {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary2);
}
.price-features {
  flex: 1;
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.price-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  transition:
    transform 0.25s,
    color 0.25s;
}
.price-features li:hover {
  transform: translateX(4px);
  color: var(--text);
}
.price-features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 211, 160, 0.18);
  color: #16a37b;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}
.price-features li.off {
  color: var(--muted);
  opacity: 0.6;
}
.price-features li.off::before {
  content: "-";
  background: rgba(148, 163, 184, 0.15);
  color: var(--muted);
}
.btn-price {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  transition: opacity 0.2s;
}
.btn-price:hover {
  opacity: 0.85;
}
.btn-price-primary {
  background: var(--primary);
  color: #fff;
}
.btn-price-ghost {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ── FAQ ── */
.faq-section {
  background: var(--bg2);
}
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  max-width: 1080px;
  margin: 52px auto 0;
}
.faq-intro {
  position: sticky;
  top: 100px;
}
.faq-intro .section-title {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}
.faq-intro-sub {
  max-width: 30ch;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary2);
  text-decoration: none;
}
.faq-contact:hover {
  text-decoration: underline;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-layout .faq-grid {
  margin: 0;
}
@media (max-width: 860px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }
  .faq-intro {
    position: static;
  }
}
.faq-item {
  background: #eef1f6;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    8px 8px 20px #d4d9e2,
    -8px -8px 20px #ffffff;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q:hover {
  color: var(--primary2);
}
.faq-q::after {
  content: "+";
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(67, 89, 194, 0.1);
  color: var(--primary2);
  font-size: 20px;
  font-weight: 400;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s,
    color 0.25s;
}
details[open] .faq-q {
  color: var(--primary2);
}
details[open] .faq-q:hover {
  color: var(--primary);
}
details[open] .faq-q::after {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #fff;
}
.faq-a {
  padding: 4px 22px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  animation: faq-reveal 0.22s ease-out;
}
.faq-a::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
}
@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, #2a3c9c 0%, #3349b3 50%, #4359c2 100%);
  color: #ffffff;
  border-top: none;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  padding: 72px 48px 32px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(129, 140, 248, 0.25), transparent 45%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 260px;
  margin-top: 12px;
  line-height: 1.65;
}
.footer-slogan {
  margin: 18px 0 16px;
  max-width: 300px;
}
.footer-slogan .fs-accent {
  display: block;
  width: fit-content;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 7px;
  color: #ffffff;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, #6ea8ff 50%, #93a8ff 56%, #ffffff 68%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fs-accent-sheen 6s linear infinite;
}
@keyframes fs-accent-sheen {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-slogan .fs-accent {
    animation: none;
  }
}
.footer-slogan .fs-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
  letter-spacing: 0;
}
footer .logo-text strong {
  color: #ffffff;
}
footer .logo-text small {
  color: rgba(255, 255, 255, 0.6);
}
footer .logo-hex {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-link-pending {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
  cursor: default;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3a0;
  box-shadow: 0 0 8px rgba(34, 211, 160, 0.6);
}

/* ── TWEAKS PANEL ── */
#tweaks-panel {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  min-width: 220px;
  font-family: var(--font-body);
}
#tweaks-panel h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.tweak-row {
  margin-bottom: 14px;
}
.tweak-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.tweak-opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tweak-opt {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  transition: all 0.15s;
  font-family: var(--font-body);
}
.tweak-opt.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Section-level type scaling - applies to every section heading group */
  .section {
    padding: 44px 18px;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 1.6px;
    margin-bottom: 12px;
  }
  .section-title,
  .pv2-title,
  .wii-title {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.18;
  }
  .section-sub {
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* Trust + pricing component type scaling */
  .trust-text h3 {
    font-size: 16px;
  }
  .trust-text p {
    font-size: 13px;
    line-height: 1.55;
  }
  .tf-text strong {
    font-size: 13px;
  }
  .tf-text span {
    font-size: 11.5px;
    line-height: 1.5;
  }
  .theme-dark .tf-icon {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }
  .theme-dark .how-icon {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }
  .price-name {
    font-size: 18px;
  }
  .price-desc {
    font-size: 12px;
    min-height: auto;
    margin-bottom: 16px;
  }
  .price-amount .num {
    font-size: 36px;
  }
  .price-amount .custom {
    font-size: 24px;
  }
  .price-features li {
    font-size: 12px;
  }
  .price-tier {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how-card {
    padding: 22px 20px;
    border-radius: 14px;
  }
  .how-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .how-card p {
    font-size: 13px;
    line-height: 1.55;
  }
  .step-num {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .how-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .trust-layout {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    gap: 10px;
    margin-top: 32px;
  }
  .faq-item {
    box-shadow:
      4px 4px 12px #d4d9e2,
      -4px -4px 12px #ffffff;
    border-radius: 12px;
  }
  .faq-q {
    gap: 10px;
    padding: 15px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
  }
  .faq-a {
    padding: 2px 16px 16px;
    font-size: 13.5px;
    line-height: 1.6;
  }
  .faq-q::after {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .score-preview {
    grid-template-columns: 1fr;
  }
  .cert-featured {
    grid-column: span 1;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .problem-timeline {
    padding: 18px 16px;
  }
  .problem-timeline-head {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .problem-timeline-head h3 {
    font-size: 14px;
    line-height: 1.35;
  }
  .problem-event {
    padding: 6px 0;
  }
  .problem-event-day {
    font-size: 12px;
  }
  .problem-event-desc {
    font-size: 11px;
  }
  .problem-timeline-foot {
    font-size: 11px;
    padding-top: 14px;
  }
  .problem-timeline-foot br {
    display: none;
  }
  .problem-extras-chip {
    margin-top: 10px;
  }
  .problem-card {
    padding: 20px 16px;
  }
  .problem-card-title h3 {
    font-size: 14px;
    line-height: 1.35;
  }
  .problemv2 > .pv2-anim {
    opacity: 0.35;
  }
  .hero {
    min-height: auto;
    padding: 152px 18px 44px;
  }
  .hero h1 {
    font-size: clamp(25px, 6vw, 46px);
    letter-spacing: -0.6px;
    line-height: 1.16;
  }
  footer {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 48px 24px 28px;
    text-align: center;
  }
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 14px;
    margin-bottom: 34px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-brand .logo {
    justify-content: center;
  }
  .footer-brand .logo img {
    height: 32px !important;
  }
  .footer-brand p {
    margin: 12px auto 0;
    max-width: 320px;
    font-size: 13px;
  }
  .footer-slogan {
    margin: 16px auto;
    max-width: 320px;
    text-align: center;
  }
  .footer-slogan .fs-accent {
    margin: 0 auto 6px;
    font-size: 15px;
  }
  .footer-slogan .fs-sub {
    font-size: 12px;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-col {
    text-align: left;
  }
  .footer-col h5 {
    font-size: 10.5px;
    margin-bottom: 10px;
  }
  .footer-col a,
  .footer-col .footer-link-pending {
    font-size: 12.5px;
    margin-bottom: 9px;
    line-height: 1.35;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    text-align: center;
    font-size: 11px;
  }
  .footer-status {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-legal {
    font-size: 9.5px !important;
    line-height: 1.55 !important;
  }
}
@media (max-width: 640px) {
  nav {
    height: auto;
    min-height: 92px;
    padding: 12px 16px;
    gap: 12px;
    align-items: center;
  }
  .logo {
    gap: 8px;
    min-width: 0;
    flex-shrink: 0;
  }
  .logo img {
    height: 28px !important;
  }
  .logo-text small {
    display: none;
  }
  .logo-text strong {
    font-size: 15px;
  }
  .logo-hex {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .btn-nav {
    display: none;
  }
  #theme-toggle {
    display: none;
  }
  .lang-toggle {
    flex-shrink: 0;
  }
  .lang-btn {
    padding: 3px 9px;
    font-size: 11px;
  }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary2), #7d90ff);
  box-shadow: 0 0 10px rgba(67, 89, 194, 0.5);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── PRODUCTS SHOWCASE - five minimal product cards in a dark indigo panel ── */
.products-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 32px 34px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(99, 128, 255, 0.32) 0%, transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(80, 102, 235, 0.28) 0%, transparent 50%),
    linear-gradient(150deg, #161f55 0%, #222e84 55%, #2b3aa0 100%);
  box-shadow: 0 34px 80px rgba(22, 31, 85, 0.45);
}
.products-head {
  max-width: 760px;
  margin: 0 0 38px;
}
.products-head .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: #c7d2ff;
}
.products-head .section-title {
  color: #fff;
}
.products-head .ti-accent {
  color: #b9c4ff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px 18px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.prod-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(174, 185, 255, 0.45);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}
.prod-ic {
  width: 62px;
  height: 62px;
  margin-bottom: 4px;
  object-fit: contain;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.prod-card:hover .prod-ic {
  transform: scale(1.08);
}
.prod-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.prod-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aeb9ff;
}
.prod-tagline {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}
.prod-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.prod-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.prod-status-live {
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.28);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.5);
}
.prod-status-live .dot {
  background: #6ee7b7;
}
.prod-status-test {
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.28);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.55);
}
.prod-status-test .dot {
  background: #fcd34d;
}
.prod-status-partner {
  color: #e6efff;
  background: rgba(59, 92, 214, 0.55);
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.6);
}
.prod-status-partner .dot {
  background: #bcd4ff;
}
.prod-status-pipeline {
  color: #ccfbf1;
  background: rgba(20, 184, 166, 0.28);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5);
}
.prod-status-pipeline .dot {
  background: #5eead4;
}
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-stage {
    padding: 32px 20px 26px;
  }
}
@media (max-width: 460px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SECTORS (who it is for) - text-led, ignite-on-hover grid ── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.sector-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 142px;
  padding: 22px;
  border-radius: 16px;
  background: #eef1f6;
  box-shadow:
    10px 10px 24px #d4d9e2,
    -10px -10px 24px #ffffff;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s;
}
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #3349b3 0%, #4359c2 100%);
  opacity: 0;
  transition: opacity 0.38s;
}
.sector-card::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 3px;
  height: 26px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #3349b3, #4359c2);
  transition:
    background 0.38s,
    height 0.38s;
}
.sector-card > * {
  position: relative;
  z-index: 1;
}
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(51, 73, 179, 0.32);
}
.sector-card:hover::before {
  opacity: 1;
}
.sector-card:hover::after {
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
}
.theme-dark .sector-card {
  background: var(--neo-bg);
  box-shadow:
    8px 8px 20px var(--neo-shadow-dark),
    -8px -8px 20px var(--neo-shadow-light);
}
.sector-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  transition: color 0.38s;
}
.sector-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.38s;
}
.sector-card:hover .sector-name {
  color: #fff;
}
.sector-card:hover .sector-desc {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 980px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sector-card {
    min-height: 0;
    padding: 18px 16px;
  }
  .sector-name {
    font-size: 14.5px;
  }
  .sector-desc {
    font-size: 12px;
  }
}

/* ── HOW IT WORKS - three-step flow (neomorphic) ── */
.hiw-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.hiw-col-label {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.hiw-inputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.hiw-chip {
  padding: 9px 14px;
  border-radius: 10px;
  background: #eef1f6;
  box-shadow:
    5px 5px 11px #d4d9e2,
    -5px -5px 11px #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
}
.theme-dark .hiw-chip {
  background: var(--neo-bg);
  box-shadow:
    4px 4px 10px var(--neo-shadow-dark),
    -4px -4px 10px var(--neo-shadow-light);
}
.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary2);
  flex-shrink: 0;
}
.hiw-arrow svg {
  width: 26px;
  height: 26px;
}
.hiw-engine {
  flex: 1 1 540px;
  max-width: 660px;
  border-radius: 22px;
  overflow: hidden;
  background: #eef1f6;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.theme-dark .hiw-engine {
  background: var(--neo-bg);
  box-shadow:
    12px 12px 28px var(--neo-shadow-dark),
    -12px -12px 28px var(--neo-shadow-light);
}
.hiw-engine-head {
  padding: 13px;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 30px 22px 20px;
}
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hiw-step:hover {
  transform: translateY(-4px);
}
.hiw-step-ic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7ecfc, #dde4f9);
  color: var(--primary);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.hiw-step:hover .hiw-step-ic {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 24px rgba(51, 73, 179, 0.32);
}
.hiw-sep.lit {
  color: var(--primary);
  transform: scale(1.18);
}
.hiw-step-ic svg {
  width: 30px;
  height: 30px;
}
.hiw-step-num {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(51, 73, 179, 0.35);
}
.hiw-step h4 {
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.hiw-step p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.hiw-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  color: var(--primary2);
  transition:
    color 0.3s,
    transform 0.3s;
}
.hiw-sep svg {
  width: 22px;
  height: 22px;
}
.hiw-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 22px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(51, 73, 179, 0.1);
}
.hiw-sources-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hiw-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(67, 89, 194, 0.09);
  color: var(--primary2);
  font-size: 11.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.hiw-source:hover {
  background: rgba(67, 89, 194, 0.18);
}
.hiw-source svg {
  width: 14px;
  height: 14px;
}
.hiw-output {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 168px;
  padding: 24px 22px;
  border-radius: 18px;
  background: #eef1f6;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
  text-align: center;
}
.theme-dark .hiw-output {
  background: var(--neo-bg);
  border: 1px solid var(--border);
  box-shadow: none !important;
}
.hiw-output img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.hiw-output span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary2);
}

/* tablet: keep the flow on one line, scaled down to fit */
@media (min-width: 720px) and (max-width: 1024px) {
  .hiw-flow {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hiw-col-label {
    margin-bottom: 8px;
    font-size: 9px;
  }
  .hiw-inputs {
    gap: 6px;
  }
  .hiw-chip {
    padding: 6px 9px;
    font-size: 10.5px;
  }
  .hiw-arrow svg {
    width: 16px;
    height: 16px;
  }
  .hiw-engine {
    flex: 1 1 auto;
    max-width: 460px;
  }
  .hiw-engine-head {
    padding: 9px;
    font-size: 12px;
    letter-spacing: 2px;
  }
  .hiw-steps {
    gap: 2px;
    padding: 20px 10px 12px;
  }
  .hiw-step {
    gap: 7px;
  }
  .hiw-step-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .hiw-step-ic svg {
    width: 22px;
    height: 22px;
  }
  .hiw-step-num {
    bottom: -7px;
    width: 18px;
    height: 18px;
    font-size: 9.5px;
  }
  .hiw-step h4 {
    margin-top: 2px;
    font-size: 12.5px;
  }
  .hiw-step p {
    font-size: 10.5px;
    line-height: 1.35;
  }
  .hiw-sep {
    padding-top: 16px;
  }
  .hiw-sep svg {
    width: 16px;
    height: 16px;
  }
  .hiw-sources {
    gap: 6px;
    margin: 0 10px;
    padding: 12px 0 14px;
  }
  .hiw-source {
    padding: 5px 9px;
    font-size: 10px;
  }
  .hiw-output {
    gap: 8px;
    min-width: 124px;
    padding: 16px 12px;
    border-radius: 14px;
  }
  .hiw-output img {
    width: 56px;
    height: 56px;
  }
  .hiw-output span {
    font-size: 11.5px;
  }
}
@media (max-width: 719px) {
  /* stack the flow vertically in order: inputs -> engine -> output */
  .hiw-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .hiw-inputs {
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .hiw-arrow {
    width: 100%;
  }
  .hiw-arrow svg {
    transform: rotate(90deg);
  }
  .hiw-engine {
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    max-width: 540px;
  }
  .hiw-steps {
    gap: 4px;
    padding: 22px 14px 14px;
  }
  .hiw-sources {
    margin: 0 14px;
    padding: 14px 0 18px;
  }
  .hiw-output {
    align-self: center;
    width: 100%;
    max-width: 320px;
  }
}
@media (max-width: 560px) {
  /* numbered horizontal step list for clear hierarchy */
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 14px 12px;
  }
  .hiw-step {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2px 12px;
    text-align: left;
  }
  .hiw-step-ic {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }
  .hiw-step-ic svg {
    width: 22px;
    height: 22px;
  }
  .hiw-step-num {
    bottom: -6px;
    width: 17px;
    height: 17px;
    font-size: 9px;
  }
  .hiw-step h4 {
    align-self: end;
    margin-top: 0;
    font-size: 15.5px;
  }
  .hiw-step p {
    align-self: start;
    font-size: 13px;
  }
  .hiw-sources {
    margin: 0 14px;
    padding: 12px 0 14px;
  }
  .hiw-sep {
    display: none;
  }
}

/* ── WHAT IT IS (is / is-not) - neomorphic boxes ── */
.wii-eyebrow {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(67, 89, 194, 0.1);
  color: var(--primary2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.wii-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
}
.wii-title .b {
  color: var(--primary2);
}
.wii-lede {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}
.wii-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 860px) {
  .wii-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.wii-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  border-radius: 20px;
  background: #eef1f6;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.theme-dark .wii-card,
.theme-dark .wii-isnot {
  background: var(--neo-bg);
  border: 1px solid var(--border);
  box-shadow: none !important;
}
.wii-layerbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  box-shadow: 0 10px 22px rgba(51, 73, 179, 0.28);
}
.wii-mk {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  color: var(--primary);
}
.wii-layerbar b {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}
.wii-layerbar .sub {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.8);
}
.wii-arrows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0 4px;
  color: var(--primary2);
}
.wii-arrows span {
  display: grid;
  place-items: center;
}
.wii-lot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.wii-lot::before,
.wii-lot::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(51, 73, 179, 0.12);
}
.wii-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.wii-pillar {
  width: 100%;
  padding: 14px 6px 12px;
  border: none;
  border-radius: 12px;
  background: #eef1f6;
  box-shadow:
    5px 5px 11px #d4d9e2,
    -5px -5px 11px #ffffff;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s,
    background 0.25s;
}
.wii-pillar:hover {
  transform: translateY(-2px);
}
.wii-pillar.active {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 8px 20px rgba(51, 73, 179, 0.32);
}
.wii-pillar.active .wii-pi {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.wii-pillar.active b {
  color: #fff;
}
.wii-pdetail {
  display: grid;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(67, 89, 194, 0.07);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.theme-dark .wii-pdetail {
  background: rgba(99, 140, 255, 0.1);
}
.wii-pdesc {
  display: none;
}
.wii-pdesc.active {
  display: block;
}
.theme-dark .wii-pillar,
.theme-dark .wii-chip {
  background: var(--neo-bg);
  box-shadow:
    4px 4px 10px var(--neo-shadow-dark),
    -4px -4px 10px var(--neo-shadow-light);
}
.wii-pi {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 9px;
  background: rgba(67, 89, 194, 0.1);
  color: var(--primary2);
}
.wii-pillar b {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.wii-infra {
  margin: 16px 0 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.wii-compose {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(51, 73, 179, 0.1);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
}
.wii-compose .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f9d6b;
}
.wii-htag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary2);
  background: rgba(67, 89, 194, 0.1);
}
.wii-is h3 {
  margin: 14px 0 4px;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}
.wii-h2sub {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.wii-pt {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(51, 73, 179, 0.1);
}
.wii-pt .c {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  height: 26px;
  margin-top: 1px;
  border-radius: 7px;
  background: rgba(67, 89, 194, 0.1);
  color: var(--primary2);
}
.wii-pt b {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.wii-pt b .lead {
  color: var(--primary2);
}
.wii-pt p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.wii-pt em {
  font-style: italic;
  color: var(--muted);
  opacity: 0.85;
}
.wii-isnot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #eef1f6;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.wii-isnot .lbl {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2384b;
}
.wii-isnot .lbl::after {
  content: "";
  width: 1px;
  height: 20px;
  background: rgba(51, 73, 179, 0.14);
}
.wii-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wii-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef1f6;
  box-shadow:
    4px 4px 9px #d4d9e2,
    -4px -4px 9px #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.wii-chip .x {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(226, 56, 75, 0.12);
  color: #e2384b;
}
@media (max-width: 520px) {
  .wii-arrows {
    display: none;
  }
  .wii-isnot {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .wii-isnot .lbl::after {
    display: none;
  }
}

/* ── FINAL CTA - light, interactive Without/With switch ── */
.cta {
  position: relative;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 28px);
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  .cta-inner::after {
    animation: none;
    opacity: 0;
  }
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(13px, 1.8vw, 18px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: 26px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(130% 170% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(135deg, #3349b3, #2a3c9c);
  box-shadow: 0 36px 70px -32px rgba(36, 53, 190, 0.6);
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0.5;
}
.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.16) 50%, transparent 64%);
  transform: translateX(-120%);
  animation: cta-shine 4.6s ease-in-out infinite;
}
@keyframes cta-shine {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}
.cta-inner > * {
  position: relative;
  z-index: 1;
}
.cta-eyebrow {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cta-title {
  max-width: 20ch;
  margin: 0 auto 18px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #fff;
}
.cta-title .b {
  color: #bcc7ff;
}
.cta-sub {
  max-width: 50ch;
  margin: 0 auto;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.25s,
    background 0.2s;
}
.cta-btn svg {
  transition: transform 0.2s;
}
.cta-btn:hover svg {
  transform: translateX(3px);
}
.cta-btn.primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}
.cta-btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}
.cta-btn.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}
.cta-micro {
  max-width: 48ch;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.cta-micro b {
  font-weight: 600;
  color: #fff;
}
@media (max-width: 560px) {
  .cta-inner {
    padding: clamp(30px, 7vw, 44px) 22px;
    border-radius: 22px;
  }
  .cta-eyebrow {
    margin-bottom: 12px;
    padding: 4px 10px;
    font-size: 8.5px;
    letter-spacing: 0.6px;
  }
  .cta-title {
    font-size: clamp(23px, 6.6vw, 30px);
    letter-spacing: -0.5px;
  }
  .cta-sub {
    font-size: 14.5px;
  }
}
.cta-demo {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 22px;
  background: #eef1f6;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.theme-dark .cta-demo {
  background: var(--neo-bg);
  box-shadow:
    12px 12px 28px var(--neo-shadow-dark),
    -12px -12px 28px var(--neo-shadow-light);
}
.cta-demo-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  text-align: center;
}
.cta-demo-top .t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-switch {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(51, 73, 179, 0.14);
  border-radius: 999px;
  background: rgba(51, 73, 179, 0.08);
  cursor: pointer;
}
.cta-switch:focus-visible {
  outline: 2px solid var(--primary2);
  outline-offset: 3px;
}
.cta-switch .opt {
  position: relative;
  z-index: 1;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.3s;
}
.cta-switch .opt.a1 {
  color: #fff;
}
.cta-switch .knob {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, #e2384b, #cf4444);
  box-shadow: 0 6px 16px rgba(226, 56, 75, 0.4);
  transition:
    transform 0.4s cubic-bezier(0.3, 0.9, 0.25, 1),
    background 0.4s,
    box-shadow 0.4s;
}
.cta-switch.on .knob {
  transform: translateX(100%);
  background: linear-gradient(135deg, #3349b3, #1f9d6b);
  box-shadow: 0 6px 18px rgba(51, 73, 179, 0.45);
}
.cta-switch.on .opt.a1 {
  color: var(--muted);
}
.cta-switch.on .opt.a2 {
  color: #fff;
}
.cta-stage {
  position: relative;
  min-height: clamp(200px, 26vw, 232px);
  margin-top: 4px;
}
.cta-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.5s,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cta-scene.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cta-sdoc {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-sdoc .di {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef1f6;
  box-shadow:
    inset 3px 3px 6px #d4d9e2,
    inset -3px -3px 6px #ffffff;
}
.theme-dark .cta-sdoc .di {
  background: var(--neo-bg);
  box-shadow:
    inset 3px 3px 6px var(--neo-shadow-dark),
    inset -3px -3px 6px var(--neo-shadow-light);
}
.cta-sc-no .cta-sdoc .di {
  color: #e2384b;
}
.cta-sc-yes .cta-sdoc .di {
  color: var(--primary2);
}
.cta-repeat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cta-rc {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px dashed rgba(226, 56, 75, 0.45);
  border-radius: 10px;
  background: rgba(226, 56, 75, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: #cf4444;
}
.cta-cap {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cta-cap.no {
  color: #e2384b;
}
.cta-cap.yes {
  color: #1f9d6b;
}
.cta-chipline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.cta-mc {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.cta-mc.no {
  border: 1px solid rgba(226, 56, 75, 0.3);
  background: rgba(226, 56, 75, 0.1);
  color: #cf4444;
}
.cta-mc.yes {
  border: 1px solid rgba(31, 157, 107, 0.35);
  background: rgba(31, 157, 107, 0.12);
  color: #1f9d6b;
}
.cta-lbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #3349b3, #4359c2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 22px rgba(51, 73, 179, 0.4);
}
.cta-lbar .li {
  color: #c3ccff;
}
.cta-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.cta-tk {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(31, 157, 107, 0.32);
  border-radius: 10px;
  background: rgba(31, 157, 107, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: #1f9d6b;
}
.cta-flow-line {
  width: 2px;
  height: 14px;
  background: repeating-linear-gradient(var(--primary2) 0 5px, transparent 5px 9px);
}
.cta-sc-yes.show .cta-flow-line {
  animation: cta-flow 1s linear infinite;
}
@keyframes cta-flow {
  to {
    background-position: 0 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta::before,
  .cta::after,
  .cta-sc-yes.show .cta-flow-line {
    animation: none;
  }
}
@media (max-width: 520px) {
  .cta-actions .cta-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ── social links (footer + team) ── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transition:
    background 0.2s,
    transform 0.2s;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.tm-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 14px;
  border-radius: 8px;
  color: var(--primary2);
  background: rgba(67, 89, 194, 0.1);
  transition:
    background 0.2s,
    transform 0.2s;
}
.tm-linkedin:hover {
  background: rgba(67, 89, 194, 0.2);
  transform: translateY(-2px);
}
.tm-linkedin svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ── MOBILE NAV (hamburger menu) ── */
.nav-toggle {
  display: none;
}
@media (max-width: 1180px) {
  .nav-toggle {
    order: 9;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0 8px;
    border: none;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition:
      transform 0.25s,
      opacity 0.2s;
  }
  nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body {
    overflow-x: hidden;
  }
  body.nav-open {
    overflow: hidden;
  }

  /* slide-in side sheet from the right */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 130;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 95vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    overflow-y: auto;
    padding: 84px 22px 28px;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 54px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition:
      transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.34s;
  }
  .theme-dark .nav-links {
    background: var(--neo-bg);
  }
  nav.open .nav-links {
    visibility: visible;
    transform: translateX(0);
  }

  /* dimmed backdrop behind the sheet - sized explicitly (nav's backdrop-filter
     makes it the containing block for fixed children, so inset:0 would only
     cover the bar; nav is full-width top-anchored, so 100vw/vh = viewport) */
  nav.open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  /* keep the bar controls clickable above the backdrop */
  nav .logo,
  .nav-right {
    position: relative;
    z-index: 140;
  }
  .nav-links > a {
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  }
  .nav-links > a::after {
    display: none;
  }
  .nav-drop {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  }
  .nav-drop-toggle::after {
    display: none;
  }
  .nav-drop-menu {
    position: static;
    display: none;
    visibility: visible;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 2px 0 8px 14px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
  .nav-drop.open .nav-drop-menu {
    display: flex;
  }
  .nav-drop-item {
    gap: 12px;
    padding: 10px 4px;
  }
  .ndi-ic {
    width: 34px;
    height: 34px;
  }
  .ndi-title {
    font-size: 14.5px;
  }
  .ndi-desc {
    font-size: 12px;
  }
  .nav-right {
    gap: 10px;
  }
  .nav-right .btn-nav {
    display: none;
  }
}

/* ── MOBILE POLISH ── */
@media (max-width: 600px) {
  .wii-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    padding: 10px 22px;
    font-size: 13px;
    text-align: center;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .cta-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .pv2-ctas .btn-primary,
  .pv2-ctas .btn-ghost {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ── HERO mobile: compact scope row, moved below the CTA ── */
@media (max-width: 600px) {
  .hero-scope {
    order: 1;
    flex-wrap: nowrap;
    gap: 5px;
  }
  .hero-microcopy {
    order: 2;
  }
  .hero-trust {
    order: 3;
  }
  .hero-scope > span {
    gap: 0;
    padding: 5px 9px;
    font-size: 10px;
    white-space: nowrap;
  }
  .hero-scope .c {
    display: none;
  }
}
@media (max-width: 380px) {
  .hero-scope > span {
    padding: 4px 7px;
    font-size: 9px;
  }
}

/* ── WHAT IT IS - "is not" chips as two columns on phones ── */
@media (max-width: 600px) {
  .wii-isnot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .wii-isnot .lbl::after {
    display: none;
  }
  .wii-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .wii-chip {
    justify-content: center;
    padding: 8px 10px;
    font-size: 10.5px;
  }
}

/* keep the How-it-works heading on one line (wraps only on phones) */
.hiw-title {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .hiw-title {
    white-space: normal;
  }
}

/* Rights Continuity tag - conic light beam travelling around the border */
.hero-badge::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 220%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    var(--primary2) 348deg,
    #7d90ff 356deg,
    transparent 360deg
  );
  animation: hero-badge-spark 3s linear infinite;
  pointer-events: none;
}
.hero-badge::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1.5px;
  border-radius: inherit;
  background: rgba(10, 17, 31, 0.88); /* dark glass: the hero sits on the video in both themes */
  pointer-events: none;
}
@keyframes hero-badge-spark {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge::before {
    animation: none;
  }
}

/* ── BLOG ARTICLE (post pages) ── */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary2);
  text-decoration: none;
}
.blog-back:hover {
  text-decoration: underline;
}
.blog-article {
  max-width: 720px;
  margin: 0 auto;
}
.blog-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 34px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow:
    12px 12px 28px #d4d9e2,
    -12px -12px 28px #ffffff;
}
.theme-dark .blog-cover {
  box-shadow:
    12px 12px 28px var(--neo-shadow-dark),
    -12px -12px 28px var(--neo-shadow-light);
}
.blog-article-head {
  margin-bottom: 36px;
  text-align: center;
}
.blog-article-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-article-meta .cat {
  color: var(--primary2);
}
.blog-article-meta .date {
  color: var(--muted);
}
.blog-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.blog-prose p {
  margin-top: 1.1em;
}
.blog-prose h2 {
  margin-top: 1.9em;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.blog-prose h3 {
  margin-top: 1.5em;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.blog-prose ul,
.blog-prose ol {
  margin-top: 1.1em;
  padding-left: 1.3em;
}
.blog-prose li + li {
  margin-top: 0.4em;
}
.blog-prose a {
  color: var(--primary2);
  text-decoration: underline;
}
.blog-prose strong {
  font-weight: 700;
  color: var(--text);
}
.blog-prose blockquote {
  margin: 1.5em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--primary2);
  border-radius: 0 12px 12px 0;
  background: rgba(67, 89, 194, 0.06);
  font-style: italic;
  color: var(--muted);
}
.theme-dark .blog-prose blockquote {
  background: rgba(99, 140, 255, 0.1);
}
.blog-prose .blog-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.blog-prose .blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}
.blog-prose .blog-table th,
.blog-prose .blog-table td {
  padding: 0.7rem 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.blog-prose .blog-table thead th {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--primary);
}
.blog-prose .blog-table tbody tr:last-child td {
  border-bottom: none;
}
.blog-prose .blog-table tbody td:first-child {
  font-weight: 600;
  color: var(--muted);
}
.blog-prose .blog-figure {
  margin: 1.75rem 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}
.blog-prose .blog-figure svg {
  display: block;
  width: 100%;
  height: auto;
}
.blog-article-foot {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 600px) {
  .blog-prose {
    font-size: 15px;
  }
  .blog-prose h2 {
    font-size: 21px;
  }
  .blog-prose h3 {
    font-size: 17px;
  }
}

/* ── BLOG CARDS (index grid + home preview) ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
}
.blog-thumb {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: -26px -24px 12px;
  border-radius: 18px 18px 0 0;
  color: #fff;
  background-image:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #3349b3, #4359c2);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}
.blog-thumb svg {
  width: 46px;
  height: 46px;
  opacity: 0.95;
}
.blog-thumb-1 {
  background-image:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #3349b3, #4359c2);
}
.blog-thumb-2 {
  background-image:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(135deg, #4359c2, #6d7fe0);
}
.blog-thumb-3 {
  background-image:
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #1f3a8a, #3a59c2);
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-cat {
  color: var(--primary2);
}
.blog-date {
  font-weight: 600;
  color: var(--muted);
}
.blog-card h2,
.blog-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.blog-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.blog-readmore {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary2);
}
.blog-allwrap {
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-card {
    padding: 20px 18px;
  }
  .blog-thumb {
    height: 132px;
    margin: -20px -18px 10px;
  }
}

/* ── PROBLEM: Today / With VERIDEX toggle card (rcx) ── */
.rcx {
  max-width: 640px;
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: #eef1f6;
  box-shadow:
    14px 14px 32px #d4d9e2,
    -14px -14px 32px #ffffff;
}
.theme-dark .rcx {
  background: var(--neo-bg);
  border: 1px solid var(--border);
  box-shadow: none;
}
.rcx-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(51, 73, 179, 0.08);
}
.rcx-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(51, 73, 179, 0.07);
}
.rcx-sw {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.rcx-sw .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentcolor;
  opacity: 0.5;
}
.rcx[data-state="today"] .rcx-sw-today {
  background: #fff;
  color: #e2384b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}
.rcx[data-state="veridex"] .rcx-sw-veridex {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}
.theme-dark .rcx[data-state="today"] .rcx-sw-today,
.theme-dark .rcx[data-state="veridex"] .rcx-sw-veridex {
  background: var(--surface);
}
.rcx-sw[aria-selected="true"] .d {
  opacity: 1;
}
.rcx-stat {
  margin-left: auto;
  text-align: right;
}
.rcx-stat .v {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.rcx[data-state="today"] .rcx-stat .v {
  color: #e2384b;
}
.rcx[data-state="veridex"] .rcx-stat .v {
  color: var(--primary);
}
.rcx-stat .k {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.rcx-stage {
  padding: 22px 18px 6px;
}
.rcx-node-label {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.rcx-parties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}
.rcx-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(51, 73, 179, 0.12);
  background: #fff;
  transition: border-color 0.25s;
}
.rcx-tile img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.rcx-party-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 11px;
}
.rcx-party-tag {
  padding: 2px 8px;
  border: 1px solid rgba(51, 73, 179, 0.12);
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.theme-dark .rcx-party-tag {
  /* light-blue pill so the industry tags stay visible on dark */
  background: rgba(114, 135, 255, 0.18);
  border-color: rgba(140, 160, 255, 0.45);
  color: #cdd6ff;
}
.theme-dark .rcx-tile {
  /* keep tiles light so the colored sector icons stay visible in dark mode */
  background: #e9edf5;
  border-color: rgba(148, 163, 184, 0.3);
}
.rcx[data-state="veridex"] .rcx-tile {
  border-color: rgba(67, 89, 194, 0.35);
}
.rcx-conn {
  display: block;
  width: 100%;
  height: 32px;
}
.rcx-conn .a {
  stroke: #e0a9a9;
}
.rcx[data-state="veridex"] .rcx-conn .a {
  stroke: #3349b3;
}
.rcx-conn g path {
  stroke-dasharray: 4 5;
  animation: rcx-flow 1.3s linear infinite;
}
.rcx-conn-one {
  display: none;
}
.rcx[data-state="veridex"] .rcx-conn g {
  display: none;
}
.rcx[data-state="veridex"] .rcx-conn-one {
  display: block;
}

/* With VERIDEX: both lines flow downward (continuity / fluency) */
.rcx[data-state="veridex"] .rcx-conn line {
  stroke-dasharray: 5 6;
  animation: rcx-flow 1.1s linear infinite;
}
@keyframes rcx-flow {
  to {
    stroke-dashoffset: -11;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rcx-conn g path,
  .rcx[data-state="veridex"] .rcx-conn line {
    animation: none;
  }
}
.rcx-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}
.rcx-state {
  width: 100%;
}
.rcx-band {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
}
.rcx-band-today {
  border: 1px solid #f0d5d1;
  background: #fdecee;
}
.rcx-band .ic {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.rcx-band-today .ic {
  border: 1px solid #f0d5d1;
  background: #fff;
  color: #e2384b;
}
.rcx-band .tx .bt {
  font-size: 14px;
  font-weight: 600;
}
.rcx-band-today .tx .bt {
  color: #e2384b;
}
.rcx-band .tx .s {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.rcx-stack {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
  align-items: flex-end;
  margin-left: auto;
}
.rcx-stack i {
  display: block;
  width: 5px;
  border-radius: 2px;
  background: #e2384b;
  opacity: 0.32;
  transform-origin: bottom;
  animation: rcx-build 2.4s ease-in-out infinite;
}
.rcx-stack i:nth-child(1) {
  height: 10px;
  animation-delay: 0s;
}
.rcx-stack i:nth-child(2) {
  height: 14px;
  animation-delay: 0.12s;
}
.rcx-stack i:nth-child(3) {
  height: 18px;
  animation-delay: 0.24s;
}
.rcx-stack i:nth-child(4) {
  height: 22px;
  animation-delay: 0.36s;
}
.rcx-stack i:nth-child(5) {
  height: 22px;
  animation-delay: 0.48s;
}
.rcx-stack i:nth-child(6) {
  height: 18px;
  animation-delay: 0.6s;
}
.rcx-stack i:nth-child(7) {
  height: 14px;
  animation-delay: 0.72s;
}
.rcx-stack i:nth-child(8) {
  height: 10px;
  animation-delay: 0.84s;
}

/* warning triangle next to the title */
.rcx-bt-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.rcx-warn {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #e2384b;
  animation: rcx-warn-pulse 2s ease-in-out infinite;
}
@keyframes rcx-warn-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* left redo icon spins on loop */
.rcx-band-today .ic svg {
  transform-origin: center;
  animation: rcx-redo 2.6s linear infinite;
}
@keyframes rcx-redo {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rcx-build {
  0% {
    transform: scaleY(0);
    opacity: 0.25;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0.32;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rcx-warn,
  .rcx-band-today .ic svg,
  .rcx-stack i {
    animation: none;
  }
}
.rcx-band-veridex {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #3349b3, #2a3c9c);
  box-shadow: 0 18px 36px -22px rgba(36, 53, 190, 0.7);
}
.rcx-band-veridex::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 240%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 296deg,
    rgba(255, 255, 255, 0.5) 344deg,
    #ffffff 354deg,
    transparent 360deg
  );
  animation: hero-badge-spark 3s linear infinite;
  pointer-events: none;
}
.rcx-band-veridex::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1.5px;
  border-radius: inherit;
  background: linear-gradient(180deg, #3349b3, #2a3c9c);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .rcx-band-veridex::before {
    animation: none;
  }
}
.rcx-band-veridex .ic {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.rcx-band-veridex .tx {
  position: relative;
  z-index: 2;
}
.rcx-band-veridex .tx .bt {
  color: #fff;
  font-weight: 620;
}
.rcx-band-veridex .tx .s {
  color: rgba(255, 255, 255, 0.82);
}
.rcx-band-veridex .chk {
  position: relative;
  z-index: 2;
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.rcx-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.rcx-doc {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(51, 73, 179, 0.12);
  background: #fff;
  color: var(--muted);
}
.theme-dark .rcx-doc {
  background: var(--surface);
}
.rcx-source .meta .t-doc {
  font-size: 13.5px;
  font-weight: 600;
}
.rcx-source .meta .s {
  margin-top: 1px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: var(--muted);
}
.rcx-foot {
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(51, 73, 179, 0.08);
}
.rcx-cap {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.rcx[data-state="today"] .rcx-cap b {
  color: #e2384b;
}
.rcx[data-state="veridex"] .rcx-cap b {
  color: var(--primary);
}
.rcx-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}
.rcx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(51, 73, 179, 0.14);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}
.theme-dark .rcx-chip {
  background: var(--surface);
}
.rcx-chip .d {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.rcx-chips-today .rcx-chip {
  border-color: #f0d5d1;
  color: #e2384b;
}
.rcx-chips-today .rcx-chip .d {
  background: #e2384b;
}
.rcx-chips-veridex .rcx-chip {
  border-color: #d2e8df;
  color: #1f9d6b;
}
.rcx-chips-veridex .rcx-chip .d {
  background: #1f9d6b;
}

/* state visibility */
.rcx[data-state="today"] .rcx-only-veridex,
.rcx[data-state="veridex"] .rcx-only-today {
  display: none;
}
@media (max-width: 560px) {
  .rcx-stage {
    padding: 18px 12px 4px;
  }
  .rcx-node-label {
    margin-bottom: 10px;
    font-size: 9px;
  }
  .rcx-parties {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .rcx-tile {
    flex: 1 1 0;
    width: auto;
    height: auto;
    max-width: 38px;
    aspect-ratio: 1;
    border-radius: 8px;
  }
  .rcx-tile img {
    width: 17px;
    height: 17px;
  }
  .rcx-party-tags {
    gap: 4px;
    margin-top: 9px;
  }
  .rcx-party-tag {
    padding: 2px 7px;
    font-size: 9px;
  }
  .rcx-band {
    gap: 11px;
    padding: 12px 13px;
  }
  .rcx-band .tx .bt,
  .rcx-bt-row .bt {
    font-size: 13px;
  }
  .rcx-band .tx .s {
    font-size: 11.5px;
  }
  .rcx-stack {
    display: none;
  }
  .rcx-foot {
    padding: 14px 14px 16px;
  }
  .rcx-cap {
    font-size: 12.5px;
  }
  .rcx-chip {
    padding: 5px 10px;
    font-size: 11px;
  }
  .rcx-band-veridex .chk {
    padding: 4px 7px;
    font-size: 8.5px;
  }
}
@media (max-width: 460px) {
  .rcx-stat {
    order: 3;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .rcx-switch {
    flex: 1;
  }
  .rcx-sw {
    flex: 1;
    justify-content: center;
    padding: 9px 8px;
  }
}

/* ── HERO video background (Paula, 2026-07-05): dark video behind light chrome,
   so the hero switches to light-on-dark in BOTH themes. The veil reproduces the
   two legibility gradients from the approved design. Kept at the end of the
   file so these overrides win the cascade over the base hero rules. ── */
.hero > .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero > .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.3) 0%,
      rgba(15, 23, 42, 0) 30%,
      rgba(15, 23, 42, 0) 62%,
      rgba(15, 23, 42, 0.55) 100%
    ),
    linear-gradient(115deg, rgba(42, 60, 156, 0.62) 0%, rgba(51, 73, 179, 0.34) 42%, rgba(15, 23, 42, 0.3) 100%);
}
.hero h1,
.theme-dark .hero h1 {
  color: #fff;
}
.hero h1 em,
.theme-dark .hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: #7287ff;
  background: linear-gradient(90deg, #ffffff, #7287ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p,
.theme-dark .hero p {
  color: rgba(255, 255, 255, 0.85);
}
.hero p b {
  color: #fff;
}
.hero-badge,
.theme-dark .hero-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: none;
}
.hero-scope > span,
.theme-dark .hero-scope > span {
  background: rgba(15, 23, 42, 0.38);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

/* left-aligned composition (approved mock): content in a contained column */
.hero > .hero-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  row-gap: 30px;
}
.hero-inner h1 {
  max-width: 820px;
}
.hero-inner p {
  max-width: 560px;
}
.hero-inner .hero-scope {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  /* keep the globe (centre-right of the 16:9 frame) in view on portrait crops */
  .hero > .hero-video {
    object-position: 64% center;
  }
}

/* stylelint-disable no-duplicate-selectors -- deliberate late-cascade overrides
   of earlier hero/nav rules; kept as one appended block for maintainability */

/* ── HERO REVISION (requested) ────────────────────────────────────────────
   Solid #0a121f field, video moved into a smaller right-hand panel, headline
   accent in button-blue (upright, no gradient), and a solid dark top nav.
   Appended last so it wins the cascade over the earlier hero-video block. ── */
.hero {
  background: #0a121f;

  /* same 24px side padding as .section so the hero shares the 1100 container */
  padding-left: 24px;
  padding-right: 24px;
}
.hero > .hero-veil {
  display: none;
}

/* composition: copy column left, globe bleeds in from the right */
.hero > .hero-inner {
  position: relative;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 26px;
  max-width: 680px;
}

/* headline sized to sit on two lines (one sentence per line) */
.hero-copy h1 {
  max-width: none;
  font-size: clamp(26px, 3.5vw, 48px);
  letter-spacing: -1px;
}

/* keep every section heading subordinate to the hero h1 (none bigger than it) */
.pv2-title,
.section-title,
.wii-title,
.cta-title {
  font-size: clamp(24px, 3.2vw, 42px) !important;
}
.hero-copy p {
  max-width: 480px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
}

/* Paint the #0a121f field INSIDE hero-inner's stacking context so the globe
   video can screen-blend its black away against it (the .theme-dark .hero bg is
   transparent !important, and .hero>* makes hero-inner an isolated context). */
.hero > .hero-inner::before {
  content: "";
  position: absolute;
  inset: -100vmax;
  z-index: 0;
  background: #0a121f;
  pointer-events: none;
}

/* globe: black video field dropped via screen-blend, enlarged, bleeds right */
.hero-inner .hero-video {
  position: absolute;
  top: 50%;
  right: clamp(-520px, -21vw, -240px);
  transform: translateY(-50%);
  width: min(86vw, 1280px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: screen;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  z-index: 0;
}

/* ghost CTA (Download litepaper) legible on the dark hero field */
.hero-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.hero-ctas .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

/* headline accent = button blue, upright, no gradient fill */
.hero h1 em,
.theme-dark .hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: var(--primary);
}

/* selected page must stay visible on the dark nav */
.nav-links > a[aria-current="page"] {
  color: #fff;
}

/* solid dark top nav with legible light contents; content shares the 1100
   container so the logo lines up with the hero h1 and section headings */
nav {
  background: #0a121f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding-left: max(24px, calc((100% - 1100px) / 2));
  padding-right: max(24px, calc((100% - 1100px) / 2));
}

/* the nav is dark in BOTH themes now, so beat the light-mode white-nav rule
   (body:not(.theme-dark) nav) that would otherwise win by specificity in light */
body:not(.theme-dark) nav {
  background: #0a121f;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* keep the logo shrunk to its artwork and left-aligned in its grid column, so
   the lockup's left edge lines up with the hero h1 (not centered in the 1fr col) */
nav .logo {
  justify-self: start !important;
  align-items: flex-start !important;
}

/* nav is always the dark field now → always use the white lockup, both themes.
   Also kill the light-theme multiply blend, which would sink the white logo
   into the dark nav and make it vanish. */
nav .logo img {
  mix-blend-mode: normal !important;
}
nav .logo img.logo-light {
  display: none !important;
}
nav .logo img.logo-dark {
  display: block !important;
}
.nav-links a,
.nav-drop-toggle {
  color: rgba(255, 255, 255, 0.74);
}
.nav-links a:hover,
.nav-drop:hover .nav-drop-toggle,
.nav-drop.open .nav-drop-toggle {
  color: #fff;
}
@media (max-width: 900px) {
  /* tablet/phone: globe sits BEHIND the copy as a subtle backdrop */
  .hero-copy {
    max-width: none;
  }
  .hero-copy p {
    max-width: 100%;
  }
  .hero-inner .hero-video {
    position: absolute;
    top: 44%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: min(130vw, 560px);
    max-width: none;
    margin: 0;
    opacity: 0.4;
  }
}
@media (max-width: 600px) {
  /* phones: keep the globe faint and high so it never obscures the copy,
     and stack the CTAs full-width so nothing can run off the viewport */
  .hero {
    min-height: 90svh;
    padding-top: 132px;
    padding-bottom: 72px;
  }
  .hero-inner .hero-video {
    top: 32%;
    width: min(118vw, 440px);
    opacity: 0.3;
  }
  .hero-ctas {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }
}

/* fw-note: single centered item (Evidence, not certification) */
.fw-note-grid {
  text-align: center;
}
.fw-note-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.fw-note-item .fw-chips {
  justify-content: center;
}

/* mobile nav: white burger bars + dark-blue slide-in menu with legible text */
@media (max-width: 1180px) {
  .nav-toggle span {
    background: #fff;
  }
  .nav-links,
  .theme-dark .nav-links {
    background: #0a121f;
    border-left-color: rgba(255, 255, 255, 0.1);
  }
  .nav-links > a,
  .nav-drop-toggle {
    color: rgba(255, 255, 255, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  .nav-links .ndi-title {
    color: #fff;
  }
  .nav-links .ndi-desc {
    color: rgba(255, 255, 255, 0.6);
  }
}

/* stylelint-enable no-duplicate-selectors */
