/* ─────────────────────────────────────────────────
   NUADU LP — "The Assessment OS"
   State-of-the-art: dark, OS-metaphor, bento, motion
   ───────────────────────────────────────────────── */

@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Book.woff2") format("woff2"), url("../fonts/Nexa-Book.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Bold.woff2") format("woff2"), url("../fonts/Nexa-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-XBold.woff2") format("woff2"), url("../fonts/Nexa-XBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Heavy.woff2") format("woff2"), url("../fonts/Nexa-Heavy.otf") format("opentype"); font-weight: 850; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Black.woff2") format("woff2"), url("../fonts/Nexa-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Proxima Soft"; src: url("../fonts/ProximaSoft-Regular.woff2") format("woff2"), url("../fonts/ProximaSoft-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Proxima Soft"; src: url("../fonts/ProximaSoft-Semibold.woff2") format("woff2"), url("../fonts/ProximaSoft-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Proxima Soft"; src: url("../fonts/ProximaSoft-Bold.woff2") format("woff2"), url("../fonts/ProximaSoft-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }


:root {
  color-scheme: dark;
  /* Surfaces (dark lifted 2026-10-06) */
  --bg:        #0D1526;
  --bg-card:   #131D31;
  --bg-elev:   #192640;
  --bg-deep:   #0A1120;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --line-bright: rgba(255,255,255,0.26);

  /* Ink */
  --ink:        #EEF2F8;
  --ink-dim:    #AAB6C8;
  --ink-mute:   #7E8A9E;
  --ink-faint:  #3F4A5E;

  /* Brand */
  --pink:        #EF2A9F;
  --pink-lit:    #FF5FB8;
  --blue:        #59ABEA;
  --blue-deep:   #2F5A9E;
  --yellow:      #F7B500;
  --green:       #34D399;
  --violet:      #8B5CF6;
  --teal:        #16A89B;
  --orange:      #FF7A1A;

  /* Pillar tone — overridden by .tone-* */
  --accent:      var(--pink);

  /* Text-safe tone variants (dark = base tokens; light theme overrides them) */
  --pink-ink:    var(--pink);
  --orange-ink:  var(--orange);
  --yellow-ink:  var(--yellow);
  --green-ink:   var(--green);
  --blue-ink:    var(--blue);
  --violet-ink:  var(--violet);
  --accent-ink:  var(--pink-ink);
  /* Primary button fill */
  --btn-bg:       var(--pink);
  --btn-bg-hover: var(--pink-lit);
  /* Type scale */
  --h1: clamp(48px, 5.6vw, 80px);
  --h2: clamp(36px, 4.4vw, 64px);
  --h2-finale: clamp(44px, 5vw, 76px);
  --label: 12px;
  --label-track: 0.08em;
  /* Section rhythm */
  --section-y: clamp(64px, 6.4vw, 96px);
  /* Radius scale */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  /* Elevation */
  --shadow-card:  0 18px 60px rgba(0,0,0,0.40);
  --shadow-float: 0 24px 64px rgba(0,0,0,0.30);
  --shadow-menu:  0 12px 32px rgba(0,0,0,0.35);
}

.tone-create  { --accent: #EF2A9F; --accent-ink: var(--pink-ink); }
.tone-assign  { --accent: #FF7A1A; --accent-ink: var(--orange-ink); }
.tone-conduct { --accent: #F7B500; --accent-ink: var(--yellow-ink); }
.tone-grade   { --accent: #34D399; --accent-ink: var(--green-ink); }
.tone-report  { --accent: #59ABEA; --accent-ink: var(--blue-ink); }
.tone-certify { --accent: #8B5CF6; --accent-ink: var(--violet-ink); }

:root {

  /* Glow tints */
  --glow-pink: 0 0 60px rgba(239,42,159,0.25);
  --glow-blue: 0 0 60px rgba(89,171,234,0.25);

  /* Grid + dot */
  --grid: rgba(255,255,255,0.045);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Proxima Soft", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(239,42,159,0.4); color: #fff; }

/* Dot grid background — applied on hero + pipeline */


/* ── Layout ─────────────────────────────────────── */
.lp-wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ── Type primitives ────────────────────────────── */
.lp-display {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-wrap: balance;
  color: var(--ink);
}
.lp-h2 {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: var(--h2);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
  color: var(--ink);
}

.lp-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lp-eyebrow::before {
  content: ""; width: 14px; height: 1px;
  background: var(--pink);
}
.lp-eyebrow.pink { color: var(--pink-ink); }
.lp-eyebrow.blue { color: var(--blue-ink); }
.lp-eyebrow.yellow { color: var(--yellow-ink); }
.lp-eyebrow.green { color: var(--green-ink); }
.lp-eyebrow.violet { color: var(--violet-ink); }

.lp-kbd {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-width: 2px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 600;
  color: var(--ink);
}

.lp-grad {
  background: linear-gradient(110deg, #FF5FB8 0%, #EF2A9F 25%, #59ABEA 70%, #F7B500 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lp-grad-soft {
  background: linear-gradient(110deg, var(--ink) 0%, var(--ink) 40%, color-mix(in oklab, var(--ink) 70%, #59ABEA) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── Buttons ────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: "Nexa", sans-serif;
  font-weight: 800; font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.lp-btn--primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 30px rgba(239,42,159,0.35);
}
.lp-btn--primary:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 12px 40px rgba(239,42,159,0.45); }
.lp-btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.lp-btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line-bright); }
.lp-btn .arrow { transition: transform 0.2s; }
.lp-btn:hover .arrow { transform: translateX(3px); }
.lp-btn--sm { padding: 8px 14px; font-size: 12.5px; }

/* ────────────────────────────────────────────────
   TOPBAR — OS-style menu bar
   ──────────────────────────────────────────────── */
.lp-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,21,38,0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.lp-topbar__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex; align-items: center; gap: 20px;
}
.lp-topbar__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Nexa", sans-serif;
  font-weight: 900; font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.lp-topbar__brand img { height: 28px; filter: brightness(0) invert(1); }
.lp-topbar__divider { width: 1px; height: 22px; background: var(--line-2); }
.lp-topbar__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label); color: var(--ink-dim);
  font-weight: 500;
}
.lp-topbar__status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: lp-pulse 2.4s ease-in-out infinite;
}
.lp-topbar__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lp-topbar__nav a {
  padding: 7px 12px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  color: var(--ink-dim);
  transition: background 0.15s, color 0.15s;
}
.lp-topbar__nav a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.lp-topbar__cmdk {
  display: none; align-items: center; gap: 8px; /* hidden until search is implemented (owner decision D-N2) */
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-dim);
}
.lp-topbar__cmdk:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.v5-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  min-height: 36px;
  color: var(--ink-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label);
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.v5-theme-toggle:hover { background: rgba(255,255,255,0.06); border-color: var(--line-bright); color: var(--ink); }
.v5-theme-toggle__track {
  position: relative;
  width: 24px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--ink-faint);
}
.v5-theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.2s ease;
}
[data-theme="light"] .v5-theme-toggle__thumb { transform: translateX(10px); }
.v5-theme-toggle__label { display: none; }
.lp-topbar__cta {
  margin-left: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: "Nexa", sans-serif;
  font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.2s;
}
.lp-topbar__cta:hover { background: var(--pink); color: #fff; }

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  left: 50%; top: -200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(239,42,159,0.12), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.lp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.lp-hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  margin-bottom: 28px;
  font-size: 12.5px;
  color: var(--ink-dim);
}
.lp-hero__tag .badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(239,42,159,0.18);
  color: var(--pink-lit);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lp-hero__tag .arr { color: var(--ink-mute); margin-left: 4px; }

.lp-hero__headline {
  font-size: var(--h1);
  margin-bottom: 24px;
}
.lp-hero__headline .row { display: block; }
.lp-hero__headline .grad {
  background: linear-gradient(110deg, #FF5FB8 0%, #EF2A9F 35%, #59ABEA 80%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}


.lp-hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 540px;
  margin-bottom: 36px;
}
.lp-hero__sub strong { color: var(--ink); font-weight: 600; }
.lp-hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.lp-hero__meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
}
.lp-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero__meta .tick { color: var(--green-ink); }

/* Live terminal card */
.lp-term {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0E1726 0%, #0A111E 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 30px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(89,171,234,0.08);
  overflow: hidden;
  min-height: 520px;
  display: flex; flex-direction: column;
}
.lp-term__chrome {
  display: flex; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  gap: 14px;
}
.lp-term__lights {
  display: flex; gap: 6px;
}
.lp-term__lights span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #3a4150;
}
.lp-term__lights span:nth-child(1) { background: #ff5f57; }
.lp-term__lights span:nth-child(2) { background: #febc2e; }
.lp-term__lights span:nth-child(3) { background: #28c840; }
.lp-term__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; color: var(--ink-dim);
  display: flex; align-items: center; gap: 8px;
}
.lp-term__title .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: lp-pulse 2s ease-in-out infinite;
}
.lp-term__tabs {
  margin-left: auto;
  display: flex; gap: 4px;
}
.lp-term__tab {
  padding: 4px 10px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid transparent;
}
.lp-term__tab.active {
  background: rgba(89,171,234,0.1);
  border-color: rgba(89,171,234,0.25);
  color: var(--blue);
}
.lp-term__body {
  flex: 1;
  padding: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  line-height: 1.65;
  display: flex; flex-direction: column;
  gap: 4px;
  position: relative;
}
.lp-term__line { display: flex; align-items: baseline; gap: 8px; }
.lp-term__prompt { color: var(--pink); font-weight: 700; flex-shrink: 0; }
.lp-term__cmd { color: var(--ink); }

.lp-term__ok { color: var(--green); }
.lp-term__warn { color: var(--yellow); }
.lp-term__info { color: var(--blue); }
.lp-term__dim { color: var(--ink-mute); }
.lp-term__caret {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--pink);
  vertical-align: middle;
  margin-left: 1px;
  animation: lp-caret 1s steps(1) infinite;
}
@keyframes lp-caret {
  50% { opacity: 0; }
}
.lp-term__qbox {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(89,171,234,0.06);
  border: 1px solid rgba(89,171,234,0.18);
  font-family: "Proxima Soft", sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.lp-term__qbox-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.lp-term__qbox-label .badge {
  padding: 2px 7px; border-radius: 4px;
  background: rgba(239,42,159,0.2);
  color: var(--pink-lit);
  font-size: 9.5px;
}
.lp-term__qbox ol {
  margin: 8px 0 0 0;
  padding-left: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.lp-term__qbox li {
  color: var(--ink-dim);
  font-size: 12.5px;
}
.lp-term__qbox li.correct { color: var(--green); font-weight: 600; }
.lp-term__qbox-foot {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-mute);
  font-style: italic;
}
.lp-term__chip-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.lp-term__chip {
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lp-term__chip:hover {
  background: rgba(239,42,159,0.1);
  color: var(--pink-lit);
  border-color: rgba(239,42,159,0.3);
}
.lp-term__chip.active {
  background: rgba(239,42,159,0.15);
  color: var(--pink-lit);
  border-color: rgba(239,42,159,0.4);
}
.lp-term__input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  margin-top: 12px;
  transition: border-color 0.15s;
}
.lp-term__input:focus-within { border-color: rgba(89,171,234,0.45); }
.lp-term__input input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--ink);
}
.lp-term__input input::placeholder { color: var(--ink-mute); }
.lp-term__go {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--pink);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.lp-term__go:hover:not(:disabled) { background: var(--pink-lit); }
.lp-term__go:disabled { background: rgba(255,255,255,0.06); color: var(--ink-mute); cursor: not-allowed; }

/* ────────────────────────────────────────────────
   TRUST STRIP
   ──────────────────────────────────────────────── */
.lp-trust {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015));
}
.lp-trust__inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 40px; align-items: center;
}
.lp-trust__label {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label); color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.14em;
  line-height: 1.4;
}
.lp-trust__metrics {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.lp-trust__metric { display: flex; flex-direction: column; gap: 4px; }
.lp-trust__v {
  font-family: "Nexa", sans-serif;
  font-weight: 900; font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.lp-trust__v.pink { color: var(--pink-lit); }
.lp-trust__v.blue { color: var(--blue-ink); }
.lp-trust__v.yellow { color: var(--yellow-ink); }
.lp-trust__v.green { color: var(--green-ink); }
.lp-trust__l {
  font-size: 12px;
  color: var(--ink-dim);
}

/* ────────────────────────────────────────────────
   SECTION HEAD
   ──────────────────────────────────────────────── */
.lp-section { padding: var(--section-y) 0; position: relative; }
.lp-section__head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.lp-section__head h2 { margin-top: 16px; }
.lp-section__head .lead {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-dim);
  max-width: 520px;
}

/* ────────────────────────────────────────────────
   PILLAR BENTO
   ──────────────────────────────────────────────── */
.lp-pillars { background: var(--bg); }
.lp-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 14px;
}
.lp-bento__cell {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.lp-bento__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent, transparent), transparent 50%);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lp-bento__cell:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent) inset;
}
.lp-bento__cell:hover::before { opacity: 0.22; }

/* Sizes */
.lp-bento__cell.lg { grid-column: span 4; grid-row: span 1; }
.lp-bento__cell.md { grid-column: span 3; grid-row: span 1; }
.lp-bento__cell.sm { grid-column: span 2; grid-row: span 1; }
/* Desktop row fill: spans 4+2 / 3+3 / 2+4 so every 6-column row is complete (card order unchanged) */
@media (min-width: 1101px) {
  .lp-bento__cell[data-p="01"] { grid-column: span 4; }
  .lp-bento__cell[data-p="02"] { grid-column: span 2; }
  .lp-bento__cell[data-p="03"] { grid-column: span 3; }
  .lp-bento__cell[data-p="04"] { grid-column: span 3; }
  .lp-bento__cell[data-p="05"] { grid-column: span 2; }
  .lp-bento__cell[data-p="06"] { grid-column: span 4; }
}

.lp-bento__num {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label); font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: var(--label-track);
  margin-bottom: 10px;
}
.lp-bento__title {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--ink);
  margin: 0 0 8px;
  max-width: 14ch;
}
.lp-bento__title .accent { color: var(--accent-ink); display: inline-block; }
.lp-bento__sub {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  max-width: 28ch;
  margin-bottom: auto;
}
.lp-bento__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label);
  font-weight: 600;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: var(--label-track);
  transition: gap 0.15s;
}
.lp-bento__cell:hover .lp-bento__cta { gap: 10px; }

.lp-bento__viz {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.lp-bento__cell > *:not(.lp-bento__viz) {
  position: relative;
  z-index: 2;
}

/* === LG cards (Create / Certify): viz takes the right half, fades left === */
.lp-bento__cell.lg .lp-bento__viz {
  top: 0; right: 0; bottom: 0;
  width: 52%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 40%, transparent 100%);
}
.lp-bento__cell.lg .lp-bento__title { max-width: 52%; }
.lp-bento__cell.lg .lp-bento__sub   { max-width: 50%; }
/* Large cards without a visualization (currently Create) get the full width */
.lp-bento__cell.lg:not(:has(.lp-bento__viz)) .lp-bento__title { max-width: none; }
.lp-bento__cell.lg:not(:has(.lp-bento__viz)) .lp-bento__sub   { max-width: 52ch; }

/* === MD cards (Assign / Report): viz lives in bottom-right corner === */
.lp-bento__cell.md .lp-bento__viz {
  right: 22px;
  bottom: 22px;
  width: 200px;
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom left, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom left, #000 30%, transparent 100%);
}

/* === SM cards (Conduct / Grade): tiny decorative viz in top-right === */
.lp-bento__cell.sm .lp-bento__viz {
  top: 24px;
  right: 24px;
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

/* Pillar accent colors (legacy data-p selector — aligned to unified palette) */
.lp-bento__cell[data-p="01"] { --accent: #EF2A9F; --accent-ink: var(--pink-ink); }
.lp-bento__cell[data-p="02"] { --accent: #FF7A1A; --accent-ink: var(--orange-ink); }
.lp-bento__cell[data-p="03"] { --accent: #F7B500; --accent-ink: var(--yellow-ink); }
.lp-bento__cell[data-p="04"] { --accent: #34D399; --accent-ink: var(--green-ink); }
.lp-bento__cell[data-p="05"] { --accent: #59ABEA; --accent-ink: var(--blue-ink); }
.lp-bento__cell[data-p="06"] { --accent: #8B5CF6; --accent-ink: var(--violet-ink); }

/* Mini visualizations (positioned by parent .lp-bento__viz, not by themselves) */
.lp-viz-questions {
  padding: 4px 0;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0.95;
  width: 100%;
  max-width: 280px;
}
.lp-viz-questions .q {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.lp-viz-questions .q .tag {
  font-size: 9px; padding: 1px 5px; border-radius: 3px;
  background: rgba(239,42,159,0.18); color: var(--pink-lit);
}

.lp-viz-calendar {
  display: grid; grid-template-columns: repeat(7, 12px);
  gap: 3px;
}
.lp-viz-calendar div {
  width: 12px; height: 12px; border-radius: 2px;
  background: rgba(243,139,0,0.1);
}
.lp-viz-calendar div.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lp-viz-calendar div.mid { background: rgba(243,139,0,0.4); }

.lp-viz-eye {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  position: relative;
}
.lp-viz-eye::before {
  content: "";
  position: absolute;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(229,163,0,0.25);
  background: radial-gradient(circle, rgba(229,163,0,0.25), transparent 60%);
}
.lp-viz-eye::after {
  content: "";
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
  animation: lp-blink 4s ease-in-out infinite;
}
@keyframes lp-blink {
  0%, 90%, 100% { transform: scale(1); }
  93% { transform: scaleY(0.1); }
}

.lp-viz-rubric {
  display: flex; flex-direction: column; gap: 5px;
  width: 100%;
}
.lp-viz-rubric .bar {
  height: 8px; border-radius: 4px;
  background: rgba(22,168,155,0.15);
  position: relative; overflow: hidden;
}
.lp-viz-rubric .bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 4px;
  width: var(--w, 60%);
  box-shadow: 0 0 12px var(--accent);
}

.lp-viz-chart {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; gap: 4px;
}
.lp-viz-chart .b {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(89,171,234,0.2));
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
}

.lp-viz-cert {
  width: 160px; height: 115px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05));
  border: 1px solid rgba(139,92,246,0.4);
  display: flex; flex-direction: column; padding: 12px;
  transform: rotate(-6deg);
  box-shadow: 0 12px 40px rgba(139,92,246,0.2);
}
.lp-viz-cert::before {
  content: "✦";
  font-size: 22px; color: var(--accent);
  font-family: "Nexa", sans-serif;
}
.lp-viz-cert .lines {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 3px;
}
.lp-viz-cert .lines div {
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.15);
}
.lp-viz-cert .lines div:nth-child(2) { width: 80%; }
.lp-viz-cert .lines div:nth-child(3) { width: 55%; background: var(--accent); }

/* ────────────────────────────────────────────────
   AGENT LOOP (animated SVG)
   ──────────────────────────────────────────────── */
.lp-loop {
  background: var(--bg);
  position: relative;
}
.lp-loop::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.lp-loop__head {
  text-align: center;
  max-width: 760px; margin: 0 auto 56px;
  position: relative;
}
.lp-loop__head h2 { margin: 16px 0 18px; }
.lp-loop__head p { color: var(--ink-dim); font-size: 16px; line-height: 1.6; }

.lp-loop__stage {
  position: relative;
  max-width: 980px; margin: 0 auto;
  aspect-ratio: 1.6;
}
.lp-loop__svg { width: 100%; height: 100%; overflow: visible; }
.lp-loop__node {
  position: absolute;
  width: 200px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.lp-loop__node.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink) inset, 0 0 60px rgba(239,42,159,0.35);
  transform: scale(1.04);
}
.lp-loop__node-evt {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label); font-weight: 600;
  color: var(--pink-ink);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.lp-loop__node-evt .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}
.lp-loop__node-title {
  font-family: "Nexa", sans-serif;
  font-weight: 800; font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lp-loop__node-desc {
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── INTEL / approachable capability browser ── */
.lp-intel { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-intel .lp-section__head { margin-bottom: 32px; align-items: start; }
.v5-intel { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg-card); }

.v5-intel__title { margin: 14px 0 6px; font: 850 34px/1.05 "Nexa", sans-serif; color: var(--ink); }

.v5-intel__tabs { display: inline-flex; gap: 4px; margin: 22px 32px 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklab, var(--bg-elev) 70%, transparent); }
.v5-intel__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 16px; border-radius: 999px; color: var(--ink-dim); font-size: 13px; font-weight: 600; transition: background .18s, color .18s; }
.v5-intel__tabs button span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--line); font-size: 11px; text-align: center; }
.v5-intel__tabs button[aria-selected="true"] { background: var(--bg-elev); color: var(--ink); }
.v5-intel__tabs button[aria-selected="true"] span { color: var(--blue); background: color-mix(in oklab, var(--blue) 14%, transparent); }
.v5-intel__tabs button:focus-visible, .v5-intel__item:focus-visible, .v5-intel__demo-link:focus-visible, .v5-intel__foot a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.v5-intel__body { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 24px; align-items: stretch; padding: 20px 32px 28px; }
.v5-intel__list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v5-intel__item { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; min-height: 62px; padding: 11px 14px; border-radius: var(--r-sm); text-align: left; transition: background .18s; }
.v5-intel__item:hover, .v5-intel__item[aria-selected="true"] { background: color-mix(in oklab, var(--blue) 9%, transparent); }
.v5-intel__item-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v5-intel__item-copy strong { overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.v5-intel__item-copy small { overflow: hidden; color: var(--ink-dim); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.v5-intel__demo { padding: 3px 9px; border-radius: 999px; color: var(--blue); background: color-mix(in oklab, var(--blue) 14%, transparent); font-size: 11px; font-weight: 700; }
.v5-intel__progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; }
.v5-intel__progress i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; animation: v5-intel-progress var(--duration) linear forwards; }
.v5-intel.is-paused .v5-intel__progress i { animation-play-state: paused; }
.v5-intel.is-manual .v5-intel__progress i { animation: none; transform: scaleX(1); }
@keyframes v5-intel-progress { to { transform: scaleX(1); } }
.v5-intel__detail { display: flex; flex-direction: column; min-height: 520px; padding: 32px 36px 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in oklab, var(--bg-elev) 72%, transparent); animation: v5-intel-in .32s ease-out; }
@keyframes v5-intel-in { from { opacity: 0; transform: translateY(7px); } }
.v5-intel__detail h3 { margin: 18px 0 10px; font: 850 32px/1.08 "Nexa", sans-serif; color: var(--ink); }
.v5-intel__detail > p { max-width: 620px; margin: 0; color: var(--ink-dim); font-size: 17px; line-height: 1.55; }
.v5-intel__how { margin: 26px 0 10px; color: var(--ink-dim); font-size: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v5-intel__viz { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-card); }
.v5-intel__document { width: 112px; padding: 18px 14px; border: 1px solid var(--line-2); border-radius: 6px; }
.v5-intel__document i { display: block; width: 100%; height: 5px; margin: 8px 0; border-radius: 2px; background: var(--line-2); }
.v5-intel__document i:nth-child(2) { width: 72%; }
.v5-intel__connector, .v5-intel__map i, .v5-intel__flow i { width: 34px; height: 1px; background: var(--blue); }
.v5-intel__questions { display: grid; gap: 8px; width: 150px; }
.v5-intel__questions i { height: 28px; border-left: 3px solid var(--blue); border-radius: 4px; background: color-mix(in oklab, var(--blue) 10%, transparent); }
.v5-intel__rubric, .v5-intel__criteria { display: grid; gap: 16px; width: min(100%, 400px); }
.v5-intel__rubric span, .v5-intel__criteria i { height: 9px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--score, 70%), var(--line) var(--score, 70%)); }
.v5-intel__rubric span:nth-child(2) { --score: 67%; }.v5-intel__rubric span:nth-child(3) { --score: 76%; }
.v5-intel__wave { display: flex; align-items: center; gap: 5px; width: 45%; height: 100px; }
.v5-intel__wave i { flex: 1; border-radius: 3px; background: var(--blue); opacity: .75; }
.v5-intel__criteria { width: 42%; }.v5-intel__criteria i:nth-child(2) { width: 76%; }.v5-intel__criteria i:nth-child(3) { width: 88%; }
.v5-intel__words, .v5-intel__signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.v5-intel__words span, .v5-intel__signals span, .v5-intel__flow span { padding: 9px 12px; border: 1px solid var(--line-2); border-bottom: 3px solid var(--blue); border-radius: 6px; color: var(--ink); font-weight: 600; }
.v5-intel__words span:nth-child(2), .v5-intel__words span:nth-child(4) { border-bottom-color: var(--green); }
.v5-intel__map, .v5-intel__flow { display: flex; align-items: center; width: min(100%, 480px); }
.v5-intel__map span { width: 74px; height: 54px; border: 1px solid var(--line-2); border-radius: 6px; background: color-mix(in oklab, var(--violet) 10%, transparent); }
.v5-intel__map span:nth-of-type(2) { width: 100px; height: 72px; }
.v5-intel__timeline { position: relative; width: min(100%, 460px); height: 70px; border-bottom: 2px solid var(--line-2); }
.v5-intel__timeline span { position: absolute; right: 18%; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.v5-intel__timeline i { position: absolute; right: 12%; bottom: 8px; width: 22%; height: 42px; border-radius: 6px; background: color-mix(in oklab, var(--teal) 14%, transparent); }
.v5-intel__timeline strong { position: absolute; right: 14%; bottom: 22px; color: var(--ink); font-size: 12px; }
.v5-intel__signals span:last-child { border-color: var(--green); background: color-mix(in oklab, var(--green) 10%, transparent); }
.v5-intel__bars { display: flex; align-items: flex-end; gap: 12px; width: min(100%, 390px); height: 120px; }
.v5-intel__bars i { flex: 1; min-height: 18px; border-radius: 4px 4px 2px 2px; background: color-mix(in oklab, var(--blue) 68%, var(--bg-card)); }
.v5-intel__flow { justify-content: center; }.v5-intel__flow i { flex: 0 1 44px; }.v5-intel__flow span:last-child { border-bottom-color: var(--green); }
.v5-intel__detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.v5-intel__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.v5-intel__badges span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; color: var(--ink); background: color-mix(in oklab, var(--green) 10%, transparent); font-size: 12px; font-weight: 600; }
.v5-intel__badges i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.v5-intel__demo-link { flex: none; padding: 10px 16px; border-radius: 8px; color: var(--bg); background: var(--blue); font: 700 13px/1 "Nexa", sans-serif; }
.v5-intel__foot { display: flex; align-items: center; gap: 20px; padding: 18px 32px; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 13px; }
.v5-intel__foot .lp-btn { margin-left: auto; }
.v5-ai-assurance { margin: 16px 0 0; color: var(--ink-dim); font-size: 13px; }

/* ────────────────────────────────────────────────
   SECTORS
   ──────────────────────────────────────────────── */
.lp-sectors { background: var(--bg); }
.lp-sectors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lp-sector {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.lp-sector:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.lp-sector::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 60%);
  opacity: 0.1;
  filter: blur(20px);
}
.lp-sector[data-s="edu"] { --accent: var(--blue); }
.lp-sector[data-s="gov"] { --accent: var(--violet); }
.lp-sector[data-s="ent"] { --accent: var(--yellow); }

.lp-sector__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.lp-sector__name {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 8px;
}
.lp-sector__name span { color: var(--accent); }
.lp-sector__sub {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 24px;
  max-width: 26ch;
}
.lp-sector__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.lp-sector__stat {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
}
.lp-sector__stat .v {
  font-family: "Nexa", sans-serif;
  font-weight: 900; font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lp-sector__stat .l {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.lp-sector__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  font-family: "Nexa", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  align-self: flex-start;
  transition: background 0.15s, border-color 0.15s;
}
.lp-sector__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ────────────────────────────────────────────────
   PROOF / Quote band
   ──────────────────────────────────────────────── */
.lp-proof {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg));
  position: relative;
}
.lp-proof__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.lp-proof__quote {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 16px;
}
.lp-proof__mark {
  width: 28px; height: 28px;
  font-family: "Nexa", sans-serif;
  font-weight: 900; font-size: 36px;
  color: var(--pink);
  line-height: 0.6;
}
.lp-proof__text {
  font-family: "Nexa", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.lp-proof__by {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lp-proof__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  display: grid; place-items: center;
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
}
.lp-proof__by-name { font-weight: 600; font-size: 13px; color: var(--ink); }
.lp-proof__by-title { font-size: 11.5px; color: var(--ink-mute); }

/* ────────────────────────────────────────────────
   FINALE
   ──────────────────────────────────────────────── */
.lp-finale {
  padding: calc(var(--section-y) * 1.2) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.lp-finale::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px at 50% 50%, rgba(239,42,159,0.12), transparent 60%),
    radial-gradient(600px at 20% 80%, rgba(89,171,234,0.1), transparent 60%),
    radial-gradient(600px at 80% 20%, rgba(247,181,0,0.08), transparent 60%);
  pointer-events: none;
}
.lp-finale__inner { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.lp-finale__big {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: var(--h2-finale);
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-wrap: balance;
  margin-bottom: 28px;
}
.lp-finale__sub {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 600px; margin: 0 auto 40px;
  line-height: 1.55;
}

.lp-finale__bootline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-dim);
}
.lp-finale__bootline .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: lp-pulse 2s ease-in-out infinite;
}

/* ────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────── */
.lp-footer {
  padding: 64px 0 36px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.lp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.lp-footer__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "Nexa", sans-serif;
  font-weight: 900; font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.lp-footer__brand img { height: 30px; filter: brightness(0) invert(1); }
.lp-footer__tag {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-dim);
  max-width: 280px;
  margin-bottom: 16px;
}
.lp-footer__prompt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-dim);
}
.lp-footer__prompt .arrow { color: var(--pink); }

.lp-footer__col h2 {
  font-family: "Proxima Soft", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 14px;
}
.lp-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.lp-footer__col a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-dim);
  font-size: 13px;
  transition: color 0.15s;
}
.lp-footer__col a:hover { color: var(--ink); }
.lp-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; gap: 24px;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label);
  color: var(--ink-mute);
}
.lp-footer__bottom .right { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 16px; }
.lp-footer__bottom a { display: inline-block; padding: 6px 0; }

/* ────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .v5-intel__body { grid-template-columns: 1fr; }
  :root { --h1: clamp(56px, 7.6vw, 84px); }
  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-term { min-height: 460px; }
  .lp-trust__inner { grid-template-columns: 1fr; gap: 20px; }
  .lp-trust__metrics { grid-template-columns: repeat(3, 1fr); }
  .lp-section__head { grid-template-columns: 1fr; gap: 20px; }
  .lp-bento { grid-template-columns: repeat(2, 1fr); }
  .lp-bento__cell.lg, .lp-bento__cell.md, .lp-bento__cell.sm { grid-column: span 1; }
  .lp-sectors__grid { grid-template-columns: 1fr; }
  .lp-proof__inner { grid-template-columns: 1fr; }
  .lp-footer__grid { grid-template-columns: 1fr 1fr; }
  .lp-loop__stage { aspect-ratio: 1.1; }
}
@media (max-width: 1024px) {
  .lp-topbar__status, .lp-topbar__divider { display: none; }
}
@media (max-width: 720px) {
  .lp-topbar__nav { display: none; }
  .v5-theme-toggle { margin-left: auto; }
  .lp-trust__metrics { grid-template-columns: repeat(2, 1fr); }
  .lp-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ────────────────────────────────────────────────
   LIGHT THEME — toggled via [data-theme="light"]
   ──────────────────────────────────────────────── */
:root[data-theme="light"] {
  color-scheme: light;
  --bg:        #F6F8FC;
  --bg-card:   #FFFFFF;
  --bg-elev:   #FFFFFF;
  --bg-deep:   #ECEFF5;
  --line:      rgba(10,14,25,0.08);
  --line-2:    rgba(10,14,25,0.14);
  --line-bright: rgba(10,14,25,0.28);
  --ink:       #0B1220;
  --ink-dim:   #4A5468;
  --ink-mute:  #5B6578;
  --ink-faint: #B5BCCB;
  --grid:      rgba(10,14,25,0.06);
  /* Brand tone colours stay unchanged in light (owner decision 2026-10-06) */
  --pink-ink:   var(--pink);
  --orange-ink: var(--orange);
  --yellow-ink: var(--yellow);
  --green-ink:  var(--green);
  --blue-ink:   var(--blue);
  --violet-ink: var(--violet);
  --shadow-card:  0 12px 32px rgba(20,34,55,0.10);
  --shadow-float: 0 24px 64px rgba(20,34,55,0.14);
  --shadow-menu:  0 12px 32px rgba(20,34,55,0.16);
}

/* Topbar: invert glass fill + brand mark */
[data-theme="light"] .lp-topbar { background: rgba(246,248,252,0.78); }
[data-theme="light"] .lp-topbar__brand img { filter: none; }
[data-theme="light"] .lp-footer__brand img { filter: none; }
[data-theme="light"] .lp-topbar__cta { background: var(--btn-bg); color: #fff; }
[data-theme="light"] .lp-topbar__cta:hover { background: var(--btn-bg-hover); color: #fff; }

/* Subtle dark-tint backgrounds (replace white-on-dark tints) */
[data-theme="light"] .lp-btn--ghost,
[data-theme="light"] .lp-topbar__cmdk,
[data-theme="light"] .lp-hero__tag,
[data-theme="light"] .lp-kbd { background: rgba(10,14,25,0.04); }
[data-theme="light"] .lp-btn--ghost:hover,
[data-theme="light"] .lp-topbar__cmdk:hover,
[data-theme="light"] .v5-theme-toggle:hover,
[data-theme="light"] .lp-topbar__nav a:hover { background: rgba(10,14,25,0.07); color: var(--ink); }

/* Keep "OS surfaces" dark even in light mode — natural code/terminal pattern.
   Scoped tokens so descendant text/borders read correctly on the dark surface. */
[data-theme="light"] .lp-term {
  --bg-card: #0C1320;
  --bg-elev: #111A2B;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --line-bright: rgba(255,255,255,0.22);
  --ink: #E9EEF7;
  --ink-dim: #9BA7BC;
  --ink-mute: #5B6478;
  --ink-faint: #353C4C;
  --pink-ink: var(--pink); --orange-ink: var(--orange); --yellow-ink: var(--yellow);
  --green-ink: var(--green); --blue-ink: var(--blue); --violet-ink: var(--violet);
  color: var(--ink);
}
[data-theme="light"] .lp-term {
  background: linear-gradient(180deg, #0E1726 0%, #0A111E 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 30px 80px rgba(10,14,25,0.18),
    0 0 80px rgba(89,171,234,0.10);
}

/* Generic dark-tint surfaces inside major sections */
[data-theme="light"] .lp-bento,
[data-theme="light"] .lp-loop,
[data-theme="light"] .lp-intel,
[data-theme="light"] .lp-sectors,
[data-theme="light"] .lp-proof,
[data-theme="light"] .lp-finale,
[data-theme="light"] .lp-footer {
  --w-tint: 10,14,25;
}
[data-theme="light"] [style*="rgba(255,255,255"] { /* no-op anchor */ }

/* Replace common subtle white-tint backgrounds with dark equivalents */
[data-theme="light"] .lp-bento__cell {
  background-color: rgba(10,14,25,0.025);
}

/* Selection */
[data-theme="light"] ::selection { background: rgba(239,42,159,0.25); color: var(--ink); }

/* Pink badge tint stays readable on light */
[data-theme="light"] .lp-hero__tag .badge { background: rgba(239,42,159,0.12); color: var(--pink-ink); }

/* ── Small-mobile responsive (≤ 560px) ───────────────────── */
@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  .lp-wrap,
  .lp-trust__inner,
  .lp-proof__inner,
  .lp-finale__inner { padding-left: 18px !important; padding-right: 18px !important; }

  .lp-topbar__inner { padding: 0 18px; gap: 10px; }
  .lp-topbar__brand img { height: 26px; }
  .v5-theme-toggle { margin-left: auto; min-width: 34px; padding: 7px; }
  .v5-theme-toggle__label { display: none; }
  .lp-topbar__cta { padding: 8px 14px; font-size: 12px; }

  .lp-hero { padding: 96px 0 48px; }
  .lp-hero__grid { gap: 32px; }
  .lp-hero__headline {
    font-size: clamp(40px, 12.5vw, 68px);
    line-height: 1.0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .lp-hero__sub { font-size: 15px; }
  .lp-hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .lp-hero__ctas > a, .lp-hero__ctas > button { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.3; }
  .lp-hero__meta { flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }
  .lp-hero__tag { font-size: 11px; padding: 8px 12px; }
  .lp-hero__tag .badge { font-size: 10px; }
  .lp-bento__cell .lp-bento__title, .lp-bento__cell .lp-bento__sub,
  .lp-bento__cell.lg .lp-bento__title, .lp-bento__cell.lg .lp-bento__sub { max-width: 100%; }




  .lp-bento { grid-template-columns: 1fr !important; }
  .lp-bento__cell { padding: 22px; }
  .lp-bento__cell.lg, .lp-bento__cell.md, .lp-bento__cell.sm { grid-column: span 1 !important; }

  .lp-trust__metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-sectors__grid { grid-template-columns: 1fr !important; }

  .lp-proof__inner { grid-template-columns: 1fr !important; }


  /* Loop: stack the five nodes instead of absolute positions (200px nodes overflow a 354px stage) */
  .lp-loop__stage { aspect-ratio: auto; height: auto; display: grid; gap: 12px; }
  .lp-loop__node { position: static; width: auto; max-width: none; transform: none; }
  .lp-loop__node.active { transform: none; }
  .lp-loop__svg { display: none; }

  .lp-footer__grid { grid-template-columns: 1fr !important; gap: 28px; }


  .lp-term { min-height: auto; }
  .lp-term__body { padding: 14px; font-size: 12px; }

  .v5-intel__title { font-size: 30px; }

  .v5-intel__tabs { margin: 20px 20px 0; max-width: calc(100% - 40px); }
  .v5-intel__tabs button { padding-left: 12px; font-size: 12px; }
  .v5-intel__body { padding: 16px 20px 22px; }
  .v5-intel__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
  .v5-intel__item { flex: 0 0 78%; scroll-snap-align: start; }
  .v5-intel__item-copy small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .v5-intel__detail { min-height: 460px; padding: 26px 20px 22px; }
  .v5-intel__detail h3 { font-size: 27px; }
  .v5-intel__detail > p { font-size: 15px; }
  .v5-intel__viz { min-height: 170px; padding: 18px 12px; gap: 12px; }
  .v5-intel__flow span { padding: 8px; font-size: 11px; }
  .v5-intel__flow i { flex-basis: 18px; }
  .v5-intel__detail-foot, .v5-intel__foot { align-items: flex-start; flex-direction: column; }
  .v5-intel__foot { padding: 18px 20px; }
  .v5-intel__foot .lp-btn { margin-left: 0; }
}

/* Skip-to-content link (a11y) */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 16px;
  background: #0b1220;
  color: #fff;
  font: 600 14px/1 system-ui, -apple-system, sans-serif;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transform: translateY(-120%);
  z-index: 9999;
  transition: transform .15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ── FAQ (homepage) ─────────────────────────────────────────── */
.lp-faq { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.lp-faq__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-faq__head .lp-eyebrow { justify-content: center; display: inline-flex; }
.lp-faq__head .lp-h2 { margin-top: 16px; }
.lp-faq__list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
}
.lp-faq__item {
  border-bottom: 1px solid var(--line, rgba(255,255,255,.08));
  transition: background .2s ease;
}
.lp-faq__item.open { background: color-mix(in oklab, var(--violet) 5%, transparent); }
.lp-faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 8px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink, #e9e9f1);
  font: inherit;
}
.lp-faq__q:focus-visible {
  outline: 2px solid var(--violet, #7c5cff);
  outline-offset: 4px;
  border-radius: 4px;
}
.lp-faq__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--violet-ink);
  font-weight: 600;
}
.lp-faq__qtext {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}
.lp-faq__chev {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px; line-height: 1;
  color: var(--violet-ink);
  border: 1px solid color-mix(in oklab, var(--violet) 35%, transparent);
  border-radius: 6px;
  transition: background .2s ease, border-color .2s ease;
}
.lp-faq__item.open .lp-faq__chev {
  background: color-mix(in oklab, var(--violet) 14%, transparent);
  border-color: color-mix(in oklab, var(--violet) 60%, transparent);
  color: var(--ink);
}
.lp-faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.lp-faq__a-body {
  padding: 0 8px 24px 50px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 760px;
}
@media (max-width: 640px) {
  .lp-faq__q { grid-template-columns: auto 1fr auto; gap: 12px; padding: 18px 4px; }
  .lp-faq__qtext { font-size: 15px; }
  .lp-faq__a-body { padding-left: 36px; }
}

/* ────────────────────────────────────────────────
   CONTACT FORM — theme-aware (dark + light)
   ──────────────────────────────────────────────── */
.lp-cform {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  text-align: left;
}
.lp-cform__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .lp-cform__row2 { grid-template-columns: 1fr; } }

.lp-cform__input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-cform__input::placeholder { color: var(--ink-mute); }
.lp-cform__input:focus {
  outline: none;
  border-color: var(--line-bright);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--pink) 25%, transparent);
}


.lp-cform__consents { display: grid; gap: 10px; margin-top: 4px; }
.lp-cform__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  text-align: left;
  cursor: pointer;
}
.lp-cform__consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--pink);
  cursor: pointer;
}
.lp-cform__consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.lp-cform__consent a:hover { color: var(--pink); }

.lp-cform__error { color: #ff9a9a; font-size: 14px; }
[data-theme="light"] .lp-cform__error { color: #c02626; }
.lp-cform__captcha-status { margin: 4px 0 0; font-size: 13px; opacity: 0.75; }
.lp-cform__captcha-status[data-state="error"] { color: #ff9a9a; opacity: 1; }
[data-theme="light"] .lp-cform__captcha-status[data-state="error"] { color: #c02626; }

.lp-cform__success {
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--ink);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.lp-cform__success strong { font-size: 18px; }
.lp-cform__success p { margin-top: 8px; color: var(--ink-dim); }

/* V5 review and document-aligned sections */
.v5-audit {
  align-self: center;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-float);
}
.v5-audit__head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.v5-audit__eyebrow { display: block; margin-bottom: 9px; color: var(--pink-lit); font: 700 var(--label)/1.2 "Proxima Soft", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; }
.v5-audit__head h2 { margin: 0; color: var(--ink); font: 900 25px/1.12 "Nexa", sans-serif; }
.v5-audit__head p { max-width: 410px; margin: 8px 0 0; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.v5-audit__flow { position: relative; display: grid; gap: 22px; padding: 28px 0; }
.v5-audit__track { position: absolute; z-index: 0; top: 46px; bottom: 48px; left: 17px; width: 2px; overflow: hidden; background: var(--line-2); }
.v5-audit__track span { display: block; width: 100%; height: 100%; background: var(--pink); transform: scaleY(0); transform-origin: top; animation: v5-audit-track 2.1s .25s ease-out forwards; }
.v5-audit__step { position: relative; z-index: 1; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 15px; align-items: start; opacity: .45; animation: v5-audit-step .42s ease-out forwards; }
.v5-audit__step--1 { animation-delay: .2s; }
.v5-audit__step--2 { animation-delay: .8s; }
.v5-audit__step--3 { animation-delay: 1.4s; }
.v5-audit__step--4 { animation-delay: 2s; }
.v5-audit__marker { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-card); color: var(--ink-mute); font: 700 12px/1 "Proxima Soft", sans-serif; transition: color .2s, border-color .2s, background .2s; }
.v5-audit__step h3 { margin: 1px 0 4px; color: var(--ink); font: 800 16px/1.25 "Nexa", sans-serif; }
.v5-audit__step p { margin: 0; color: var(--ink-dim); font-size: 13px; line-height: 1.5; }
.v5-audit__step p strong { color: var(--ink); font-weight: 700; }
.v5-audit__step--2 > div { padding: 12px 14px; margin-top: -11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-elev); }
.v5-audit__step--2 .v5-audit__marker { color: var(--pink-lit); border-color: var(--pink); box-shadow: 0 0 0 4px rgba(239,42,159,.1); }
.v5-audit__marker--done { color: var(--bg); border-color: var(--green); background: var(--green); }
.v5-audit__outcome { display: flex; gap: 11px; align-items: center; margin-top: 0; padding: 14px 16px; border: 1px solid rgba(52,211,153,.28); border-radius: 8px; background: rgba(52,211,153,.06); opacity: 0; transform: translateY(8px); animation: v5-audit-outcome .45s 2.5s ease-out forwards; }
.v5-audit__outcome-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.1); }
.v5-audit__outcome div { display: grid; gap: 2px; }
.v5-audit__outcome span { color: var(--ink-mute); font-size: 11px; }
.v5-audit__outcome strong { color: var(--ink); font: 700 13px/1.3 "Proxima Soft", sans-serif; }
.v5-audit__outcome-note { color: var(--ink-mute); font: 400 11px/1.4 "Proxima Soft", sans-serif; font-style: normal; }
@keyframes v5-audit-track { to { transform: scaleY(1); } }
@keyframes v5-audit-step { to { opacity: 1; } }
@keyframes v5-audit-outcome { to { opacity: 1; transform: translateY(0); } }
[data-theme="light"] .v5-audit__step--2 .v5-audit__marker { box-shadow: 0 0 0 4px rgba(239,42,159,.08); }

.v5-ai-assurance { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 860px; margin: 28px auto 0; padding: 12px 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-card); color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.45; }
.v5-ai-assurance__icon { flex: none; color: var(--green); }
@media (max-width: 560px) { .v5-ai-assurance { border-radius: var(--r-sm); justify-content: flex-start; text-align: left; } }
.v5-references, .v5-partners, .v5-resources { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.v5-references h2, .v5-partners h2, .v5-resources h2, .v5-resources h1 { max-width: 850px; margin: 16px 0 36px; font-family: "Nexa", sans-serif; font-weight: 900; font-size: var(--h2); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; }
.v5-references__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.v5-references__grid article, .v5-resources__grid article { padding: 24px; border: 1px solid var(--line); background: var(--bg-card); border-radius: var(--r-sm); }
.v5-references__grid strong { color: var(--green); font: 800 18px "Nexa",sans-serif; }
.v5-references__grid p, .v5-partners p { color: var(--ink-dim); margin-top: 10px; }
.v5-references__quote { margin-top: 10px; }
.v5-references__by { margin-top: 6px; font-size: 13px; }
.v5-references__card--featured { grid-column: 1 / -1; padding: 40px; border-left: 3px solid var(--green); background: var(--bg-deep); }
.v5-references__card--featured strong { font-size: 24px; }
.v5-references__card--featured .v5-references__quote { color: var(--ink); font-size: 19px; line-height: 1.55; max-width: 900px; }
.v5-references__spot { margin: 0 0 14px; color: var(--green); font: 11px "JetBrains Mono",monospace; letter-spacing: .08em; }
.v5-references__card:nth-child(5), .v5-references__card:nth-child(8) { grid-column: span 2; }
@media (max-width: 1020px) {
  .v5-references__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v5-references__card:nth-child(5), .v5-references__card:nth-child(8) { grid-column: span 1; }
}
.v5-reference-note { margin-top: 16px; color: var(--ink-mute); font: 11px "JetBrains Mono",monospace; }
.v5-partners { background: var(--bg-deep); }
.v5-partners__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.v5-partners__cards { margin-top: 24px; grid-template-columns: 1fr; }
.v5-partners__label { color: var(--ink-mute); font: 11px "JetBrains Mono",monospace; }
.v5-partners__label--block { display: block; margin-top: 12px; }
.v5-partners__results { margin: 6px 0 0; padding-left: 18px; color: var(--ink-dim); }
.v5-partners__results li { margin-top: 4px; font-size: 14px; line-height: 1.5; }
.v5-partners__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.is-disabled { opacity: .55; cursor: not-allowed; }
.v5-resources__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.v5-resources__grid span { color: var(--yellow-ink); font: 600 var(--label)/1.4 "JetBrains Mono",monospace; letter-spacing: var(--label-track); }
.v5-resources__grid h3 { margin: 10px 0; font: 800 19px/1.2 "Nexa",sans-serif; }
.v5-resources__grid p { color: var(--ink-mute); font-size: 12px; }
@media (max-width: 720px) {
  .v5-audit { min-height: 0; padding: 24px 20px; border-radius: 12px; }
  .v5-audit__head h2 { font-size: 22px; }
  .v5-audit__flow { gap: 20px; }
  .v5-references__grid, .v5-partners__inner, .v5-resources__grid, .lp-sectors__grid { grid-template-columns: 1fr; }
}

/* V5 path pages — proof tiles */
.v5-proof-tiles { padding: 8px 0 40px; }
.v5-proof-tiles__grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.v5-proof-tile { grid-column: span 2; cursor: default; min-width: 0; padding: 24px 22px; }
.v5-proof-tile:nth-child(4) { grid-column: 2 / span 2; }
.v5-proof-tile:hover { transform: none; }
.v5-proof-tile__label { font-family: "Nexa", sans-serif; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin: 0 0 10px; overflow-wrap: anywhere; }
.v5-proof-tile__text { margin: 0; color: var(--ink-2, var(--ink)); font-size: 15px; line-height: 1.5; overflow-wrap: break-word; }
@media (min-width: 1100px) {
  .v5-proof-tiles__grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .v5-proof-tile, .v5-proof-tile:nth-child(4) { grid-column: auto; }
}
@media (max-width: 700px) {
  .v5-proof-tiles__grid { grid-template-columns: minmax(0,1fr); }
  .v5-proof-tile, .v5-proof-tile:nth-child(4) { grid-column: auto; }
}
.v5-scope-box { padding: 0 0 40px; }
.v5-scope-box__inner { border: 1px solid var(--accent); border-left-width: 4px; border-radius: 14px; padding: 22px 26px; background: var(--bg-card); }
.v5-scope-box__inner p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink); }

.v5-cform__notice { margin: 0; padding: 12px 14px; border: 1px solid var(--accent); border-left-width: 4px; border-radius: 10px; background: var(--bg-card); color: var(--ink); font-size: 15px; line-height: 1.5; }

/* ────────────────────────────────────────────────
   V5 PATH SELECTOR
   ──────────────────────────────────────────────── */
.v5-paths { background: var(--bg); }
.v5-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.v5-paths__card {
  --accent: var(--green);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.v5-paths__card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent), transparent 55%);
  opacity: 0.07;
  pointer-events: none;
  transition: opacity 0.25s;
}
.v5-paths__card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent) inset;
}
.v5-paths__card:hover::before { opacity: 0.2; }
.v5-paths__card.tone-pink   { --accent: var(--pink);   --accent-ink: var(--pink-ink); }
.v5-paths__card.tone-blue   { --accent: var(--blue);   --accent-ink: var(--blue-ink); }
.v5-paths__card.tone-yellow { --accent: var(--yellow); --accent-ink: var(--yellow-ink); }
.v5-paths__card.tone-green  { --accent: var(--green);  --accent-ink: var(--green-ink); }
.v5-paths__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.v5-paths__num {
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label); font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: var(--label-track);
}
.v5-paths__arrow {
  font-size: 15px;
  color: var(--ink-dim);
  transition: transform 0.2s, color 0.2s;
}
.v5-paths__card:hover .v5-paths__arrow { transform: translateX(3px); color: var(--accent); }
.v5-paths__name {
  font-family: "Nexa", sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 10px;
}
.v5-paths__label {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0 0 auto;
}
.v5-paths__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--label);
  font-weight: 600;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: var(--label-track);
  transition: gap 0.15s;
}
.v5-paths__card:hover .v5-paths__cta { gap: 10px; }
@media (max-width: 1099px) {
  .v5-paths__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 699px) {
  .v5-paths__grid { grid-template-columns: 1fr; }
  .v5-paths .lp-section__head { grid-template-columns: 1fr; gap: 20px; }
}
.v5-paths .lp-section__head.v5-paths__head--full { grid-template-columns: 1fr; }
.v5-paths .lp-section__head.v5-paths__head--full h2 { max-width: 900px; }

/* Create pillar — honest handoff to the live content-scanner demo */
.v5-create-draft { background: var(--bg); border-bottom: 1px solid var(--line); }
.v5-create-draft__head { grid-template-columns: minmax(0, 1fr); }
.v5-create-draft__head h2 { max-width: 980px; }
.v5-create-draft__term { min-height: 0; max-width: 980px; }
.v5-create-draft__term .lp-term__body { padding: 24px; gap: 14px; }
.v5-create-draft__term .lp-term__input { margin-top: 2px; }
.v5-create-draft__assurance {
  margin: 18px 0 0;
  color: var(--ink-dim);
  font: 600 13px/1.5 "JetBrains Mono", monospace;
}
@media (max-width: 699px) {
  .v5-create-draft__term .lp-term__body { padding: 16px; }
  .v5-create-draft__term .lp-term__input { align-items: stretch; flex-direction: column; }
  .v5-create-draft__term .lp-term__input .lp-term__prompt { display: none; }
  .v5-create-draft__term .lp-term__input input { min-width: 0; width: 100%; }
  .v5-create-draft__term .lp-term__go { width: 100%; padding: 10px; }
}

/* V5 TESTIMONIALS — compact main-page section (design 2a) */
.v5-testi { padding: var(--section-y) 0; background: var(--bg); overflow: hidden; }
.v5-testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.v5-testi__title { margin-top: 16px; font-family: "Nexa", sans-serif; font-weight: 900; font-size: var(--h2); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; color: var(--ink); }
.v5-testi [data-sector="edu"] { --accent: var(--blue); --accent-ink: var(--blue-ink); }
[data-theme="light"] .v5-testi [data-sector="edu"] { --accent-ink: #2F5A9E; }
.v5-testi__featured { position: relative; overflow: hidden; display: grid; grid-template-columns: 240px minmax(0, 1fr); border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--line); margin: 0; }
.v5-testi__featured::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0% 0%, var(--accent), transparent 45%); opacity: 0.1; }
.v5-testi__featured-side { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; border-right: 1px solid var(--line); }
.v5-testi__featured-body { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 36px; }
.v5-testi__featured-quote { margin: 0; font: 700 20px/1.4 "Nexa", sans-serif; letter-spacing: -0.014em; color: var(--ink); text-wrap: pretty; }
.v5-testi q { quotes: "“" "”"; }
.v5-testi q::before, .v5-testi q::after { color: var(--accent-ink); }
.v5-testi__by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-dim); }
.v5-testi__by strong { color: var(--ink); font-weight: 700; }
.v5-testi__by .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); }
.v5-testi__marquee { margin-top: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.v5-testi__track { display: flex; gap: 12px; width: max-content; padding-right: 12px; animation: v5-testi-scroll var(--testi-duration, 90s) linear infinite; }
.v5-testi__marquee:hover .v5-testi__track, .v5-testi__marquee:focus-within .v5-testi__track { animation-play-state: paused; }
@keyframes v5-testi-scroll { to { transform: translateX(-50%); } }
.v5-testi__card { flex: none; width: 360px; margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: var(--r-md); background: var(--bg-card); border: 1px solid var(--line); transition: border-color 0.2s; }
.v5-testi__card:hover { border-color: var(--accent); }
.v5-testi__card blockquote { margin: 0 0 auto; font: 700 15px/1.42 "Nexa", sans-serif; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.v5-testi__card figcaption { font-size: 12px; color: var(--ink-dim); }
.v5-testi__card figcaption strong { color: var(--ink); font-weight: 700; }
/* additions for NUADU fields */
.v5-testi__name { font: 800 16px/1.25 "Nexa", sans-serif; color: var(--ink); }
.v5-testi__featured-side .v5-testi__name { font-size: 18px; }
.v5-testi__card-head { display: flex; flex-direction: column; gap: 6px; }
.v5-testi__meta { font: 600 var(--label)/1.5 "JetBrains Mono", monospace; letter-spacing: var(--label-track); color: var(--accent-ink); }
.v5-testi__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-dim); }
@media (max-width: 1100px) { .v5-testi__head { flex-direction: column; align-items: flex-start; gap: 14px; } }
@media (max-width: 720px) {
  .v5-testi__featured { grid-template-columns: 1fr; }
  .v5-testi__featured-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .v5-testi__featured-body { padding: 22px 20px; }
  .v5-testi__featured-quote { font-size: 17px; }
  .v5-testi__card { width: 290px; }
}

/* V5 PARTNERS — tabbed partner switcher (design 1a). Single accent: NUADU blue. */
.v5-partners2 { --accent: var(--blue); --accent-ink: var(--blue-ink); padding: var(--section-y) 0; background: var(--bg); }
[data-theme="light"] .v5-partners2 { --accent-ink: #2F5A9E; }
.v5-partners2__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: end; margin-bottom: 36px; }
.v5-partners2__title { margin-top: 16px; font-family: "Nexa", sans-serif; font-weight: 900; font-size: var(--h2); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; color: var(--ink); }
.v5-partners2__intro { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.v5-partners2__intro p { font-size: 15px; line-height: 1.6; color: var(--ink-dim); text-wrap: pretty; margin: 0; }
.v5-partners2__intro strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.v5-partners2__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.v5-partners2__tab { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: transparent; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; color: inherit; font: inherit; }
.v5-partners2__tab:hover { border-color: var(--accent); }
.v5-partners2__tab[aria-selected="true"] { background: var(--bg-card); border-color: var(--accent); }
.v5-partners2__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.v5-partners2__tab-meta { display: flex; width: 100%; justify-content: space-between; font: 600 var(--label)/1 "JetBrains Mono", monospace; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--accent-ink); }
.v5-partners2__tab-meta span + span { color: var(--ink-dim); }
.v5-partners2__tab-name { font: 800 20px/1.1 "Nexa", sans-serif; letter-spacing: -0.02em; color: var(--ink); }
.v5-partners2__tab-type { font-size: 12.5px; color: var(--ink-dim); }
.v5-partners2__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.v5-partners2__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.v5-partners2__tab[aria-selected="true"] .v5-partners2__bar i { animation: v5-partners2-progress var(--p2-interval, 9s) linear forwards; }
.v5-partners2.is-paused .v5-partners2__bar i { animation-play-state: paused; }
.v5-partners2.is-manual .v5-partners2__bar i { animation: none; }
@keyframes v5-partners2-progress { to { transform: scaleX(1); } }
.v5-partners2__panel { position: relative; overflow: hidden; margin-top: 10px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--line); }
.v5-partners2__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, var(--accent), transparent 50%); opacity: .09; }
.v5-partners2__case { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); min-height: 330px; animation: v5-partners2-in .38s cubic-bezier(.2,.7,.2,1); }
.v5-partners2__case[hidden] { display: none; }
@keyframes v5-partners2-in { from { opacity: 0; transform: translateY(8px); } }
.v5-partners2__col { display: flex; flex-direction: column; gap: 10px; padding: 30px 32px; }
.v5-partners2__col + .v5-partners2__col { border-left: 1px solid var(--line); }
.v5-partners2__col:first-child { gap: 20px; }
.v5-partners2__label { display: block; margin-bottom: 6px; font: 600 var(--label)/1 "JetBrains Mono", monospace; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink-dim); }
.v5-partners2__label--accent { color: var(--accent-ink); margin-bottom: 0; }
.v5-partners2__col p { font-size: 14.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; margin: 0; }
.v5-partners2__results { list-style: none; padding: 0; margin: 0; }
.v5-partners2__results li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink); }
.v5-partners2__results li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: translateY(-1px); }
.v5-partners2__mark { height: 24px; font: 900 60px/.8 "Nexa", sans-serif; color: var(--accent-ink); }
.v5-partners2__quote { margin: 0; font: 700 16px/1.45 "Nexa", sans-serif; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.v5-partners2__by { margin-top: 4px; font-size: 13px; color: var(--ink-dim); }
.v5-partners2 .v5-partners__actions { margin-top: 28px; }
@media (max-width: 1100px) {
  .v5-partners2__head { grid-template-columns: 1fr; gap: 20px; }
  .v5-partners2__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-partners2__case { grid-template-columns: 1fr 1fr; }
  .v5-partners2__col:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .v5-partners2__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .v5-partners2__tab { flex: 0 0 72%; scroll-snap-align: start; }
  .v5-partners2__case { grid-template-columns: 1fr; }
  .v5-partners2__col + .v5-partners2__col { border-left: 0; border-top: 1px solid var(--line); }
  .v5-partners2__col { padding: 22px 20px; }
}

/* Workflow assistant guardrails */
.v5-intel__rules { display: grid; gap: 8px; margin: 18px 0 0; }
.v5-intel__rules > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--green); border-radius: 8px; }
.v5-intel__rules > .is-never { border-left-color: var(--pink); }
.v5-intel__rules dt { display: flex; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v5-intel__rules dt b { color: var(--green); font-size: 13px; }
.v5-intel__rules .is-never dt b { color: var(--pink); }
.v5-intel__rules dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.45; }
@media (max-width: 640px) { .v5-intel__rules > div { grid-template-columns: 1fr; gap: 4px; } }

/* ── AI capabilities: row numbers + reviewable/logged tags ── */
.v5-intel__item-num { font: 600 var(--label)/1 "JetBrains Mono", monospace; color: var(--ink-mute); margin-right: 8px; }
.v5-intel__item-tags { display: inline-flex; gap: 6px; flex-shrink: 0; }
.v5-intel__item-tags span { font: 600 var(--label)/1 "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: var(--label-track); color: var(--ink-mute); border: 1px solid var(--line-2, #2a2a2a); border-radius: 999px; padding: 4px 8px; }

/* ── Topbar Platform dropdown ── */
.lp-topbar__dropdown { position: relative; display: inline-flex; }
.lp-topbar__dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.lp-topbar__menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 180px; display: none; flex-direction: column; gap: 2px; background: var(--bg-card, #111); border: 1px solid var(--line-2, #2a2a2a); border-radius: var(--r-md); padding: 6px; box-shadow: var(--shadow-menu); z-index: 60; }
.lp-topbar__dropdown:hover .lp-topbar__menu,
.lp-topbar__dropdown:focus-within .lp-topbar__menu { display: flex; }
.lp-topbar__menu a { padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.lp-topbar__menu a:hover, .lp-topbar__menu a:focus-visible { background: var(--line, rgba(255,255,255,.06)); }

/* ── Topbar: dropdown state, active link, mobile menu (R12/R14) ── */
.lp-topbar__caret { margin-left: 5px; vertical-align: middle; }
.lp-topbar__dropdown.is-open .lp-topbar__menu { display: flex; }
.lp-topbar__nav a[aria-current="page"], .lp-topbar__menu a[aria-current="page"] { color: var(--ink); background: var(--line); }
.lp-topbar__burger { display: none; position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; color: var(--ink); cursor: pointer; }
.lp-topbar__burger span, .lp-topbar__burger span::before, .lp-topbar__burger span::after { content: ""; position: absolute; left: 10px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background .2s; }
.lp-topbar__burger span { top: 18px; }
.lp-topbar__burger span::before { top: -6px; left: 0; }
.lp-topbar__burger span::after { top: 6px; left: 0; }
.lp-topbar__burger[aria-expanded="true"] span { background: transparent; }
.lp-topbar__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.lp-topbar__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.lp-mobnav { position: fixed; inset: 57px 0 0; z-index: 90; }
.lp-mobnav[hidden] { display: none; }
.lp-mobnav__backdrop { position: absolute; inset: 0; background: rgba(13,21,38,0.6); }
[data-theme="light"] .lp-mobnav__backdrop { background: rgba(10,14,25,0.35); }
.lp-mobnav__panel { position: absolute; left: 0; right: 0; top: 0; max-height: calc(100dvh - 57px); overflow-y: auto; padding: 12px 18px 24px; display: flex; flex-direction: column; gap: 4px; background: var(--bg-card); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow-menu); }
.lp-mobnav__panel a:not(.lp-btn) { display: block; min-height: 44px; padding: 12px 10px; border-radius: var(--r-sm); font-size: 16px; font-weight: 600; color: var(--ink); }
.lp-mobnav__panel a:not(.lp-btn):hover, .lp-mobnav__panel a:not(.lp-btn):focus-visible { background: var(--line); }
.lp-mobnav__panel a[aria-current="page"] { color: var(--accent-ink); }
.lp-mobnav__group { margin: 10px 10px 4px; font: 600 var(--label)/1 "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.lp-mobnav__panel .lp-btn { margin-top: 12px; justify-content: center; }
@media (max-width: 720px) {
  .lp-topbar__burger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (min-width: 721px) {
  .lp-mobnav { display: none !important; }
}

/* Questions viz (Create card): text-free line after the type tag */
.lp-viz-questions .q .line { flex: 1 1 auto; min-width: 60px; height: 6px; border-radius: 3px; background: var(--line-2); }

/* ≤560: bento visualizations flow below the text instead of sitting behind it; long buttons wrap instead of overflowing */
@media (max-width: 560px) {
  .lp-bento__cell .lp-bento__viz { position: static; width: 100%; margin: 14px 0 0; order: 1; justify-content: flex-start; align-items: flex-start; opacity: 0.9; -webkit-mask-image: none; mask-image: none; }
  .lp-bento__cell .lp-bento__cta { order: 2; }
  .lp-btn { white-space: normal; text-align: center; }
}

/* R19: testimonial cards keep their own height; trust bar — category as label, fact big */
.v5-testi__track { align-items: stretch; }
.lp-trust__k { font: 600 var(--label)/1.4 "JetBrains Mono", monospace; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink-mute); }
.lp-trust__v { font-size: 26px; line-height: 1.05; }
.lp-trust__metric { gap: 6px; }
@media (max-width: 560px) {
  .lp-trust__v { font-size: 22px; }
}

/* R40: mega menu v2. Platform (six stages in one line), Paths (sectors + partners), Trust and the phone accordion.
   Replaces the R21/R23 mega menu blocks. Only existing tokens are used (--bg-card, --line*, --ink*, --r-*, tone-*, --pink/--blue/--violet);
   --mm-link is the one new token (link blue: --blue-deep on light, --blue on dark). */
.lp-topbar__inner { position: relative; }
.lp-topbar__dropdown { position: static; }
.lp-topbar__dropdown::after { display: none; }
.ic { display: block; width: 18px; height: 18px; flex: none; }
:root { --mm-link: var(--blue); }
:root[data-theme="light"] { --mm-link: var(--blue-deep); }

/* panel shell (same anchor point as the old panels: under the 56px bar, centred) */
.mm { display: none; position: absolute; left: 32px; right: 32px; top: calc(100% + 6px); z-index: 60; max-width: 1120px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-menu); text-align: left; color: var(--ink); }
.mm::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.lp-topbar__dropdown.is-open .mm { display: block; animation: mm-in .16s ease-out; }
.mm__in { max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; border-radius: inherit; }
.lp-topbar__dropdown.is-open .mm--split .mm__in { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
@keyframes mm-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* anchors inside the nav inherit the bar's pill styling; reset it (same trick as the old panels) */
.lp-topbar__nav .mm a { padding: 0; margin: 0; border-radius: 0; background: transparent; white-space: normal; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.lp-topbar__nav .mm a:focus-visible, .lp-mobnav__panel a:focus-visible, .mmn__head:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--mm-link); }

/* shared bits */
.mm__eyebrow { font: 600 var(--label)/1 "JetBrains Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.mm__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent, var(--pink)) 12%, transparent); color: var(--accent-ink, var(--pink-ink)); }
.mm__ico .ic { width: 20px; height: 20px; }
.mm__ico--sm { width: 34px; height: 34px; border-radius: 9px; }
.mm__ico--sm .ic { width: 18px; height: 18px; }
.mm__ico--ai { --accent: var(--violet); --accent-ink: var(--violet-ink); }
.mm__ico--blue { --accent: var(--blue); --accent-ink: var(--mm-link); }
.mm__name { font: 800 16px/1.2 "Nexa", sans-serif; color: var(--ink); }
.mm__desc { font: 400 13.5px/1.45 "Proxima Soft", system-ui, sans-serif; color: var(--ink-dim); text-wrap: pretty; }
.mm__badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 600 10.5px/1 "JetBrains Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--mm-link); background: color-mix(in oklab, var(--blue) 14%, transparent); border: 1px solid color-mix(in oklab, var(--blue) 38%, transparent); }
.lp-topbar__nav .mm a[aria-current="page"] .mm__name { color: var(--accent-ink, var(--ink)); }
.lp-topbar__nav .mm a[data-missing] { cursor: default; }

/* row link: icon tile + text (Paths partners, Trust items) */
.lp-topbar__nav .mm a.mm__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; margin: 0 -12px; border-radius: var(--r-md); transition: background .15s; }
.lp-topbar__nav .mm a.mm__row:hover, .lp-topbar__nav .mm a.mm__row:focus-visible { background: var(--line); color: var(--ink); }
.mm__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm__group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mm__group > .mm__eyebrow { margin-bottom: 8px; }

/* ── Platform: six stages on one line ─────────────────────────────────────── */
.mm__pipe { padding: 26px 32px 20px; }
.mm__eyebrow-row { display: flex; align-items: center; gap: 14px; }
.mm__rule { flex: 1; height: 1px; background: var(--line-2); }
.mm__stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px; margin: 10px -12px 0; }
.lp-topbar__nav .mm a.mm__stage { display: flex; flex-direction: column; gap: 14px; padding: 14px 12px 16px; border-radius: var(--r-md); color: var(--ink); transition: background .15s; }
.lp-topbar__nav .mm a.mm__stage:hover, .lp-topbar__nav .mm a.mm__stage:focus-visible { background: var(--line); color: var(--ink); }
.mm__stage-top { display: flex; align-items: center; gap: 10px; }
.mm__conn { flex: 1; height: 1px; background: var(--line-2); }
.mm__stage:last-child .mm__conn { display: none; }
.mm__stage-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mm__stage-head { display: flex; align-items: baseline; gap: 8px; }
.mm__num { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: var(--label-track); color: var(--accent-ink); }

.mm__rail { display: flex; flex-wrap: wrap; gap: 20px 48px; padding: 20px 32px 22px; background: var(--bg); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.mm__ai { flex: 999 1 540px; min-width: 0; }
.mm__ai > .mm__eyebrow { display: block; margin-bottom: 6px; }
.mm__ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 2px 12px; margin: 0 -10px; }
.lp-topbar__nav .mm a.mm__ai-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-md); transition: background .15s; min-width: 0; }
.lp-topbar__nav .mm a.mm__ai-item:hover, .lp-topbar__nav .mm a.mm__ai-item:focus-visible { background: var(--line); color: var(--ink); }
.mm__ai-txt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.mm__ai-name { font: 800 14px/1.2 "Nexa", sans-serif; color: var(--ink); white-space: nowrap; }
.mm__ai-sub { flex-basis: 100%; font: 400 12.5px/1.35 "Proxima Soft", system-ui, sans-serif; color: var(--ink-dim); text-wrap: balance; }
.mm__see { flex: 1 1 220px; min-width: 200px; }
.mm__see > .mm__eyebrow { display: block; margin-bottom: 6px; }
.lp-topbar__nav .mm a.mm__link { display: flex; align-items: center; gap: 10px; padding: 7px 0; font: 600 14.5px/1.3 "Proxima Soft", system-ui, sans-serif; color: var(--ink); transition: color .15s; }
.lp-topbar__nav .mm a.mm__link:hover, .lp-topbar__nav .mm a.mm__link:focus-visible { color: var(--mm-link); background: transparent; }
.mm__link .ic { width: 18px; height: 18px; color: var(--mm-link); flex: none; }
.lp-topbar__nav .mm a.mm__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; font: 800 13px/1.2 "Nexa", sans-serif; color: var(--mm-link); }
.mm__more .ic { width: 16px; height: 16px; transition: transform .15s; }
.mm__more:hover .ic { transform: translateX(2px); }
.lp-topbar__nav .mm a.mm__more:hover, .lp-topbar__nav .mm a.mm__more:focus-visible { background: transparent; color: var(--mm-link); }

/* ── Paths ────────────────────────────────────────────────────────────────── */
.mm__col { padding: 26px 32px 24px; min-width: 0; }
.mm__col--rail { background: var(--bg); border-left: 1px solid var(--line); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.mm__sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 52px; margin-top: 10px; }
.lp-topbar__nav .mm a.mm__sector { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; margin: 0 -12px; border-radius: var(--r-md); transition: background .15s; }
.lp-topbar__nav .mm a.mm__sector:hover, .lp-topbar__nav .mm a.mm__sector:focus-visible { background: var(--line); color: var(--ink); }
.mm__row .mm__name { font-size: 15px; }
.mm__thumb { width: 88px; height: 58px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line-2); background: var(--bg-deep); }
.mm__list { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }

/* ── Trust ────────────────────────────────────────────────────────────────── */
.mm__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 32px 24px; }
.mm__groups > .mm__group:first-child { padding-right: 28px; border-right: 1px solid var(--line); }
.mm__groups > .mm__group:last-child { padding-left: 28px; }
.lp-topbar__nav .mm a.mm__card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--line-2); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-topbar__nav .mm a.mm__card:hover, .lp-topbar__nav .mm a.mm__card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--line-bright); background: var(--bg-card); color: var(--ink); }
.mm__card img { width: 100%; height: 124px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line-2); }
.mm__card-txt { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.mm__card-cta { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font: 800 13px/1.2 "Nexa", sans-serif; color: var(--mm-link); }
.mm__card-cta .ic { width: 16px; height: 16px; }
.mm__card-txt .mm__name { font-size: 15px; }
.mm__col > .mm__eyebrow { display: block; margin-bottom: 12px; }

/* caret on the bar triggers keeps turning (LP uses the same svg.lp-topbar__caret) */
.lp-topbar__dropdown.is-open > a .lp-topbar__caret { transform: rotate(180deg); }
.lp-topbar__caret { transition: transform .2s; }
.lp-topbar__dropdown.is-open > a { background: var(--line); color: var(--ink); }

/* ── Mobile drawer (accordion) ────────────────────────────────────────────── */
.lp-mobnav__panel.mmn { padding: 2px 18px 22px; gap: 0; }
.mmn__sec { border-bottom: 1px solid var(--line-2); }
.mmn__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0; font: 800 17px/1.2 "Nexa", sans-serif; color: var(--ink); text-align: left; border-radius: var(--r-sm); }
.mmn__head .ic { width: 18px; height: 18px; color: var(--ink-mute); transition: transform .2s; flex: none; }
.mmn__head[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mmn__body { display: none; flex-direction: column; gap: 18px; padding: 2px 0 20px; }
.mmn__sec.is-open .mmn__body { display: flex; }
.mmn__group { display: flex; flex-direction: column; gap: 4px; }
.mmn__group > .mm__eyebrow { margin-bottom: 4px; }
.lp-mobnav__panel a.mmn__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 0; padding: 10px; margin: 0 -10px; border-radius: var(--r-md); font: inherit; color: var(--ink); }
.lp-mobnav__panel a.mmn__item--thumb { grid-template-columns: 64px minmax(0, 1fr); align-items: center; }
.lp-mobnav__panel a.mmn__item--center { align-items: center; }
.lp-mobnav__panel a.mmn__item .mm__ico { width: 36px; height: 36px; border-radius: 9px; }
.lp-mobnav__panel a.mmn__item .mm__ico .ic { width: 18px; height: 18px; }
.lp-mobnav__panel a.mmn__item .mm__name { font-size: 15.5px; }
.lp-mobnav__panel a.mmn__item .mm__thumb { width: 64px; height: 44px; }
.lp-mobnav__panel a.mmn__link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; font: 600 15px/1.3 "Proxima Soft", system-ui, sans-serif; color: var(--ink); }
.lp-mobnav__panel a.mmn__link .ic { width: 18px; height: 18px; color: var(--mm-link); flex: none; }
.lp-mobnav__panel a.mmn__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font: 800 17px/1.2 "Nexa", sans-serif; }
.lp-mobnav__panel a.mmn__top .ic { color: var(--ink-mute); }

/* ── Narrower desktop (≤1100): three stages per row; ≤960: panels stack ──────────────────────── */
@media (max-width: 1100px) {
  .mm__stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm__stage:nth-child(3n) .mm__conn { display: none; }
}
@media (max-width: 960px) {
  .lp-topbar__dropdown.is-open .mm--split .mm__in { grid-template-columns: minmax(0, 1fr); }
  .mm__col--rail { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .mm__sectors { grid-template-columns: minmax(0, 1fr); }
  .mm__groups { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mm__groups > .mm__group:first-child { padding-right: 0; border-right: 0; }
  .mm__groups > .mm__group:last-child { padding-left: 0; }
  .mm__pipe, .mm__rail, .mm__col, .mm__groups { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 720px) { .mm { display: none !important; } }

/* R43: "By path" tiles in the Paths panel (design handoff by_path_menu, option 1a). Fixed illustration palette in both themes. */
.mmt { position: relative; flex: none; width: 88px; height: 58px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #EAF4FD; border: 1px solid rgba(9,46,82,0.10); box-sizing: border-box; }
.mmt__in { position: relative; width: 86px; height: 56px; flex: none; display: grid; place-items: center; }
.mmt__in > span { box-sizing: border-box; }
.mmt__screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 54px; height: 36px; border-radius: 4px; background: #FFFFFF; border: 1px solid rgba(9,46,82,0.14); }
.mmt__cefr { font: 900 15px/1 "Nexa", sans-serif; color: #0D4275; }
.mmt__bar { width: 30px; height: 3px; border-radius: 2px; background: #59ABEA; }
.mmt__stand { position: absolute; left: 50%; bottom: 7px; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: rgba(9,46,82,0.22); }
.mmt__doc { display: flex; flex-direction: column; gap: 4px; width: 38px; height: 46px; padding: 8px 7px; border-radius: 4px; background: #FFFFFF; border: 1px solid rgba(9,46,82,0.14); margin-top: 6px; }
.mmt__doc > span { display: block; height: 3px; border-radius: 2px; background: rgba(9,46,82,0.18); }
.mmt__seal { display: grid; place-items: center; border-radius: 50%; border: 2px solid #EAF4FD; }
.mmt__seal--green { position: absolute; right: 18px; bottom: 9px; width: 20px; height: 20px; box-sizing: border-box; background: #00875A; }
.mmt__cert { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; height: 38px; padding: 7px 8px; border-radius: 3px; background: #FFFFFF; border: 1px solid rgba(9,46,82,0.14); outline: 1px solid rgba(9,46,82,0.14); outline-offset: -4px; }
.mmt__cert-t { display: block; height: 3px; width: 28px; margin-top: 2px; border-radius: 2px; background: rgba(9,46,82,0.3); }
.mmt__cert-s { display: block; height: 2px; width: 36px; border-radius: 2px; background: rgba(9,46,82,0.14); }
.mmt__rosette { position: absolute; right: 12px; bottom: 6px; display: flex; flex-direction: column; align-items: center; }
.mmt__seal--pink { position: relative; z-index: 1; width: 18px; height: 18px; box-sizing: content-box; background: #EF2A9F; }
.mmt__tails { display: flex; gap: 2px; margin-top: -4px; }
.mmt__tails > span { width: 5px; height: 10px; background: #EF2A9F; border-radius: 0 0 1px 1px; opacity: 0.75; }
.mmt__score { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px; width: 62px; height: 38px; padding: 0 8px; border-radius: 4px; background: #FFFFFF; border: 1px solid rgba(9,46,82,0.14); }
.mmt__num { font: 900 15px/1 "Nexa", sans-serif; color: #00875A; }
.mmt__meter { display: flex; flex-direction: column; gap: 4px; }
.mmt__track { display: block; height: 4px; border-radius: 2px; background: rgba(0,135,90,0.18); overflow: hidden; }
.mmt__track > span { display: block; height: 100%; background: #00875A; }
.mmt__line { display: block; height: 3px; width: 70%; border-radius: 2px; background: rgba(9,46,82,0.14); }
.lp-mobnav__panel a.mmn__item .mmt { width: 64px; height: 44px; }
.lp-mobnav__panel a.mmn__item .mmt__in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.73); }



