/* Phynix website. Tokens from the PHYNIX Brand Identity guide (Shards Media):
   #8c52ff, #16023c, #ffffff, #000000; Montserrat Thin for display, Regular/Bold for body.
   Lavender values are tints of #8c52ff. */

/* Montserrat (SIL OFL), self-hosted: no third-party font requests */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100; font-display: swap; src: url("../fonts/montserrat-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/montserrat-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --purple: #8c52ff;
  --ink: #16023c;
  --white: #ffffff;
  --black: #000000;
  --purple-text: #5b21d6;
  --lav-50: #f8f5ff;
  --lav-100: #f0e9ff;
  --lav-200: #e0d1ff;
  --lav-300: #c7adff;
  --muted: #4a4266;
  --line: #e7e2f2;
  --line-strong: #d3cbe6;
  --good: #0e8a5a;
  --bad: #c0163c;
  --warn: #b45309;
  --radius: 10px;
  --radius-lg: 16px;
  --pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -40px rgba(22, 2, 60, .45);
  /* Brand gradient (Brand Identity guide, colour page): deep ink into violet into lavender */
  --grad-text: linear-gradient(100deg, #4a12b8 0%, #8c52ff 55%, #a985ff 100%);
  --grad-dark: radial-gradient(90% 120% at 0% 100%, rgba(140, 82, 255, .55) 0%, rgba(140, 82, 255, 0) 55%), radial-gradient(70% 90% at 100% 0%, rgba(91, 33, 214, .5) 0%, rgba(91, 33, 214, 0) 60%), #16023c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; }
table { border-collapse: collapse; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--purple-text); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-dark, .btn-spark { background: var(--ink); color: var(--white); }
.btn-dark:hover, .btn-spark:hover { background: #2a0a66; box-shadow: 0 6px 18px -8px rgba(22, 2, 60, .55); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--lav-100); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--purple); background: var(--lav-50); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.text-link { color: var(--purple-text); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease); padding-bottom: 2px; }
.text-link:hover { background-size: 100% 1px; }
.text-btn { background: none; border: 0; color: var(--purple-text); font: 600 14px var(--font); cursor: pointer; padding: 10px 4px; min-height: 44px; }

/* ---------- DPDP bar ---------- */
.dpdp-bar { display: flex; justify-content: center; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 8px var(--gutter); background: var(--lav-50); border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; }
.dpdp-tag { font-size: 12px; font-weight: 700; color: var(--white); background: var(--ink); padding: 3px 10px; border-radius: var(--pill); }
.dpdp-bar b { font-variant-numeric: tabular-nums; }
.dpdp-link { font-weight: 600; text-decoration: none; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 4px 14px; transition: background-color .18s, border-color .18s; }
.dpdp-link:hover { background: var(--lav-100); border-color: var(--purple); }
.dpdp-bar .short { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: 4px; }
.nav a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 8px 0; white-space: nowrap; background: linear-gradient(var(--purple), var(--purple)) 0 100% / 0 2px no-repeat; transition: background-size .22s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.nav .nav-dp { padding: 7px 14px; border: 1px solid var(--purple); border-radius: var(--pill); color: var(--purple-text); font-weight: 600; background: var(--lav-50); }
.nav .nav-dp:hover, .nav .nav-dp[aria-current="page"] { background: var(--lav-100); }
.header-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); cursor: pointer; position: relative; }
.menu-icon, .menu-icon::before, .menu-icon::after { position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: translateX(-50%); transition: transform .2s var(--ease); content: ""; }
.menu-icon { top: 50%; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translate(-50%, 6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translate(-50%, -6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 72px 0 0; background: var(--white); padding: 16px var(--gutter) 32px; overflow: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a:not(.btn) { font-size: 21px; font-weight: 500; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--purple-text); }
.mobile-menu .btn { margin-top: 24px; width: 100%; }

/* ---------- Heroes ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #ffffff 0%, #fdfcff 38%, var(--lav-100) 72%, var(--lav-200) 92%, var(--lav-300) 100%); }
.hero { min-height: max(540px, calc(100svh - var(--chrome, 122px))); display: flex; flex-direction: column; }
.hero > .hero-inner { flex: 1; justify-content: center; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner { text-align: center; padding: clamp(28px, 5vh, 80px) 0 clamp(28px, 4vh, 56px); display: flex; flex-direction: column; align-items: center; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--purple-text); margin-bottom: 18px; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .8); border: 1px solid var(--lav-200); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.hero h1 { font-weight: 600; font-size: clamp(40px, min(5.8vw, 9.5vh), 84px); line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; text-wrap: balance; }
.hero-lede { margin-top: 20px; max-width: 70ch; font-size: clamp(17px, 1.45vw, 19px); color: var(--muted); }
.hero-actions { margin-top: 14px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-chips { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-chips li { font-size: 13.5px; font-weight: 500; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.hero-chips a { text-decoration: none; color: var(--purple-text); font-weight: 600; }
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.page-hero h1 { font-weight: 600; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
.page-hero .lede { margin-top: 24px; max-width: 64ch; font-size: clamp(17px, 1.45vw, 19px); color: var(--muted); }

/* Email capture */
.capture { position: relative; margin-top: 32px; display: flex; align-items: center; gap: 6px; width: min(500px, 100%); padding: 6px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--pill); box-shadow: 0 10px 30px -18px rgba(22, 2, 60, .35); transition: border-color .18s, box-shadow .18s; }
.capture:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(140, 82, 255, .16), 0 10px 30px -18px rgba(22, 2, 60, .35); }
.capture input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; padding: 0 18px; font: 400 16px var(--font); color: var(--ink); outline: none; }
.capture input::placeholder { color: #6e6888; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 144px) 0; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.tint { background: var(--lav-50); border-block: 1px solid var(--line); }
.ink { background: var(--grad-dark); color: var(--white); }
.ink h2, .ink h3 { color: var(--white); }
.ink p, .ink .muted { color: #cfc3ee; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--purple-text); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-text); }
.ink .eyebrow { color: var(--lav-300); }
.section h2, .h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.head p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 64ch; }
.ink .head p { color: #cfc3ee; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.sticky { position: sticky; top: 112px; }
.lead-p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- Radar console (home) ---------- */
.console { background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.console-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--lav-50); font-size: 13px; flex-wrap: wrap; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.console-title { font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin-right: 6px; box-shadow: 0 0 0 0 rgba(14, 138, 90, .5); animation: livePulse 2s infinite; vertical-align: 1px; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(14, 138, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 138, 90, 0); } }
.phases { margin-left: auto; display: flex; gap: 6px; }
.phase { border: 1px solid var(--line-strong); background: var(--white); color: var(--muted); font: 600 12.5px var(--font); padding: 6px 12px; border-radius: var(--pill); cursor: pointer; min-height: 32px; transition: background-color .2s, color .2s, border-color .2s; }
.phase:hover { border-color: var(--purple); }
.phase[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.phase.ok[aria-pressed="true"] { background: var(--good); border-color: var(--good); }
.radar-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.radar-pane { position: relative; padding: 24px 24px 12px; border-right: 1px solid var(--line); }
.radar-count b { display: block; font-size: 44px; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.radar-count span { font-size: 13px; color: var(--muted); }
.radar-cv { width: 100%; aspect-ratio: 1 / .9; }
.legend { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); vertical-align: 0; }
.side-pane { padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.alerts-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.alerts-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.alerts-count.hot { color: var(--bad); }
.alerts { position: relative; height: 150px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--lav-50); }
.alerts.calm::after { content: "No open alerts"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.al { position: absolute; left: 10px; right: 10px; top: 0; padding: 6px 10px; font: 500 12px var(--mono); color: var(--bad); background: var(--white); border: 1px solid #f3c6d1; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .45s var(--ease), opacity .45s; }
.inc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .3s, background-color .3s; }
.inc.live { border-color: var(--purple); background: var(--lav-50); }
.inc.done { border-color: #a7dcc6; background: #f2fbf7; }
.inc-top { display: flex; gap: 10px; align-items: center; }
.prio { font-size: 12px; font-weight: 700; color: var(--white); background: var(--bad); border-radius: 6px; padding: 2px 7px; }
.inc-title { font-weight: 700; font-size: 16px; }
.inc-line { margin-top: 8px; font-size: 14.5px; color: var(--muted); min-height: 3.2em; }
.inc-line b { color: var(--ink); }
.prog { height: 4px; border-radius: 4px; background: var(--line); margin-top: 12px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--purple); transition: width .3s linear; }
.status { margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.caption { font-size: 16px; color: var(--ink); min-height: 3em; }
.console-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Works with + stats ---------- */
.works { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.works-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; margin-bottom: 26px; }
.works-head p { color: var(--muted); max-width: 60ch; font-size: 15.5px; }
.works-head h2 { font-size: 15px; font-weight: 600; color: var(--purple-text); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip small { font-size: 12px; font-weight: 500; color: var(--muted); }
.tm { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stats div { padding: 28px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(40px, 4.4vw, 60px); font-weight: 200; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }


/* Tools strip at the foot of the hero: no divider, it flows on from the hero */
.hero-tools { position: relative; padding: 8px 0 16px; }
.hero-tools-title { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; font-size: 15px; font-weight: 700; letter-spacing: -.005em; color: var(--ink); text-align: center; }
.hero-tools-title::before, .hero-tools-title::after { content: ""; width: 40px; height: 1.5px; border-radius: 2px; background: var(--grad-text); }
.hero-tools-title::before { transform: scaleX(-1); }
.marquee-track { list-style: none; margin: 0; padding: 4px 0 8px; }
.tool { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 164px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 20px -16px rgba(22, 2, 60, .35); transition: transform .18s var(--ease), border-color .18s; }
.tool:hover { transform: translateY(-2px); border-color: var(--lav-300); }
.tool-mark { display: flex; align-items: center; gap: 10px; height: 28px; }
.tool-icon { height: 24px; width: auto; flex: none; }
.tool-word { height: 22px; width: auto; }
.tool b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.tool-text { font-size: 16px; letter-spacing: -.01em; }
.tool small { font-size: 12px; color: var(--muted); font-weight: 500; }
.hero-tools-foot { margin-top: 12px; text-align: center; }
.hero-tools-foot p { font-size: 14.5px; color: var(--muted); }
.hero-tools-foot .tm { margin-top: 4px; font-size: 12px; }
.hero-tools-foot .text-btn { min-height: 28px; padding: 2px 4px; font-size: 12.5px; }
.glance { padding: 48px 0 64px; border-bottom: 1px solid var(--line); }
.glance .stats { border-top: 0; }
@media (max-width: 640px) {
  .tool { min-width: 140px; padding: 12px 14px; }
  .hero-tools-title { padding-inline: var(--gutter); text-wrap: balance; }
  .hero-tools-title::before, .hero-tools-title::after { display: none; }
}

/* ---------- Where it sits ---------- */
.sits { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0; border-top: 1px solid var(--line-strong); }
.sits div { padding: 28px 28px 0 0; }
.sits div + div { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.sits small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.sits p { margin-top: 10px; font-size: 18px; }
.sits .us small { color: var(--purple-text); }
.sits .us p { font-weight: 600; }

/* ---------- Product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { grid-column: span 6; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile.wide { grid-column: span 7; }
.tile.narrow { grid-column: span 5; }
.tile h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile-viz { margin-top: auto; padding-top: 18px; }
.mini-cv { width: 100%; height: 190px; }
.ring { display: grid; place-items: center; position: relative; width: 180px; height: 180px; margin: 0 auto; }
.ring svg { width: 180px; height: 180px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--lav-100); }
.ring .arc { stroke: var(--purple); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.ring b { position: absolute; font-size: 48px; font-weight: 200; font-variant-numeric: tabular-nums; }
.ring small { position: absolute; top: 118px; font-size: 12px; color: var(--muted); }
.patch { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 14px; }
.patch-row { display: flex; justify-content: space-between; color: var(--muted); }
.patch-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 6px; background: var(--lav-100); margin: 10px 0 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--purple); transition: width 1.6s var(--ease); }
.collapse { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.storm { display: grid; grid-template-columns: repeat(8, 10px); gap: 4px; }
.storm i { width: 10px; height: 10px; border-radius: 3px; background: var(--bad); opacity: .85; transition: transform .5s var(--ease), opacity .5s; }
.collapse.go .storm i { transform: scale(.2); opacity: .15; }
.arrow-r { color: var(--muted); }
.pill { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 600; opacity: .35; transition: opacity .5s .3s, border-color .5s .3s, background-color .5s .3s; }
.collapse.go .pill { opacity: 1; }
.collapse.go .pill.fixed { border-color: #a7dcc6; background: #f2fbf7; color: var(--good); transition-delay: 1.1s; }

/* ---------- New in 1.10 (link rows) ---------- */
.newlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.nc { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.nc small { grid-column: 1 / -1; font-size: 13.5px; font-weight: 600; color: var(--purple-text); }
.nc b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.nc span { grid-column: 1; color: var(--muted); font-size: 15.5px; }
.nc em { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-style: normal; font-size: 14px; font-weight: 600; color: var(--purple-text); white-space: nowrap; }
.nc:hover b { color: var(--purple-text); }

/* ---------- AI section ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ask { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.ask-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.ask-top small { color: var(--muted); font-weight: 500; }
.ask-q { align-self: flex-end; max-width: 85%; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 14px 14px 4px 14px; font-size: 15px; }
.ask-a { min-height: 7.5em; background: var(--lav-50); border: 1px solid var(--line); padding: 14px 16px; border-radius: 14px 14px 14px 4px; font-size: 15px; }
.ask-a::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--purple); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.cites { display: flex; flex-wrap: wrap; gap: 6px; }
.cites span { font-size: 12.5px; padding: 4px 10px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); }
.cites .ok { color: var(--good); border-color: #a7dcc6; }
.brain-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.brain-cv { width: 100%; height: 100%; min-height: 360px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 40px; }
.principles b { display: block; font-size: 16px; }
.principles p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Threat intel ---------- */
.ti { display: grid; grid-template-columns: 220px 1fr 220px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.ti-col { padding: 22px; }
.ti-col + .ti-mid { border-left: 1px solid var(--line); }
.ti-mid + .ti-col { border-left: 1px solid var(--line); }
.ti-col h3 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.ti-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ti-col li { font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--lav-50); }
.ti-col.in li { border-color: #f3c6d1; background: #fff6f8; }
.ti-mid { position: relative; min-height: 340px; }
.ti-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.ti-safe { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); text-align: center; font-size: 12.5px; font-weight: 600; color: var(--good); background: #f2fbf7; border: 1px solid #a7dcc6; padding: 5px 12px; border-radius: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 40px; }
.facts b { display: block; font-size: 17px; }
.facts p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.ink .facts p { color: #cfc3ee; }

/* ---------- Boards ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: 600 14px var(--font); padding: 10px 20px; border-radius: var(--pill); cursor: pointer; min-height: 44px; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--purple); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.metric { padding: 28px; animation: panelIn .4s var(--ease); }
.metric + .metric { border-left: 1px solid var(--line); }
.metric span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.metric b { display: block; margin: 10px 0 6px; font-size: clamp(36px, 4vw, 52px); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.metric small { font-size: 14px; color: var(--purple-text); font-weight: 500; }
.illus { margin-top: 12px; font-size: 13px; color: var(--muted); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Trust, countdown, pilot ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.trio h3 { font-size: 19px; font-weight: 600; }
.trio p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.ink .trio p { color: #cfc3ee; }
.trio svg { width: 28px; height: 28px; margin-bottom: 16px; stroke: var(--purple); fill: none; stroke-width: 1.6; }
.note { margin-top: 40px; padding: 20px 24px; border-left: 2px solid var(--purple); background: var(--lav-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; color: var(--muted); }
.note b { color: var(--ink); }
.countdown { margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.countdown .days { font-size: clamp(48px, 6vw, 72px); font-weight: 200; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown p { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white); font-size: 15px; font-weight: 500; }
.steps3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line-strong); counter-reset: s; }
.steps4 { grid-template-columns: repeat(4, 1fr); }
.steps3 li { position: relative; padding: 28px 28px 0 0; counter-increment: s; }
.steps3 li + li { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.steps3 h3 { font-size: 19px; font-weight: 600; }
.steps3 p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- Rows (details) ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.row { border-bottom: 1px solid var(--line-strong); }
.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; padding: 24px 0; }
.row summary::-webkit-details-marker { display: none; }
.row summary::after { content: ""; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2316023c' stroke-width='1.5'/%3E%3C/svg%3E"); transition: transform .25s var(--ease), background-color .2s; }
.row[open] summary::after { transform: rotate(45deg); background-color: var(--lav-100); }
.row summary:hover::after { background-color: var(--lav-100); }
.row-title { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; }
.row p { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* ---------- Demo form ---------- */
.cta { padding: clamp(88px, 11vw, 144px) 0; background: var(--grad-dark); color: var(--white); }
.cta .eyebrow { color: var(--lav-300); }
.cta .mail-row { color: #cfc3ee; }
.cta .mail-row a, .cta .text-btn { color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; color: var(--white); }
.cta .lead-p { color: #cfc3ee; }
.demo-form { color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow); }
.demo-form .full { grid-column: 1 / -1; }
.field label, .dp-grid label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .dp-grid input, .dp-grid select, .dp-q select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); font: 400 16px var(--font); color: var(--ink); }
.field input:focus, .field select:focus, .dp-grid input:focus, .dp-grid select:focus, .dp-q select:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(140, 82, 255, .16); }
.form-msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-msg.is-error { color: var(--bad); }
.form-msg.is-ok { color: var(--good); }
.mail-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; font-size: 16px; }
.mail-row a { font-weight: 600; text-decoration: none; }

/* ---------- Inner page blocks ---------- */
.group + .group { margin-top: clamp(64px, 8vw, 104px); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); border-top: 1px solid var(--line-strong); }
.feat { padding-top: 26px; }
.feat .k { display: block; font-size: 13.5px; font-weight: 600; color: var(--purple-text); }
.feat h3 { margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.feat p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.feat ul { margin-top: 14px; padding: 0; list-style: none; }
.feat li { position: relative; padding: 6px 0 6px 22px; font-size: 14.5px; }
.feat li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--purple); }
.feat a { color: var(--purple-text); font-weight: 600; }
.ink .feats { border-color: rgba(255, 255, 255, .18); }
.ink .feat .k { color: var(--lav-300); }
.ink .feat p { color: #cfc3ee; }
.ink .feat li { color: #efe9ff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.ttable { width: 100%; font-size: 15px; }
.ttable th, .ttable td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ttable th { font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--lav-50); }
.ttable tr:last-child td { border-bottom: 0; }
.ttable td:first-child { font-weight: 600; }
.edtable td:not(:first-child), .edtable th:not(:first-child) { text-align: center; width: 120px; }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--muted); }
.addon { font-size: 13px; font-weight: 600; color: var(--purple-text); }

/* OT layers */
.otl { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.otl-key { list-style: none; padding: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.otl-key li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.otl-key b { font-weight: 700; color: var(--purple-text); }
.otl-key span { color: var(--muted); }
.otl-key strong { font-weight: 600; color: var(--ink); }
.otl-card { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.otl-cv { width: 100%; height: 520px; }
.otl-status { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.otl-status .s-bad { color: var(--bad); }
.otl-status .s-ok { color: var(--good); }

/* Industries */
.ind { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line-strong); }
.ind:first-child { border-top: 0; padding-top: 0; }
.ind-tag { display: block; font-size: 15px; font-weight: 600; color: var(--purple-text); margin-bottom: 10px; }
.ind h3 { font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.ind .lead-p { font-size: 16.5px; }
.ind ul.ticks { margin-top: 20px; }
.pairs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pairs div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pairs b { font-weight: 600; font-size: 15.5px; }
.pairs span { color: var(--muted); font-size: 15.5px; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--lav-100) no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%235b21d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* DPDP page */
.dp-layout { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.dp-card { background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.dp-side { position: sticky; top: 112px; display: grid; gap: 28px; }
.dp-side h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.dp-side p { color: var(--muted); font-size: 15px; }
.dp-prog { height: 6px; border-radius: 6px; background: var(--lav-100); overflow: hidden; }
.dp-prog i { display: block; height: 100%; background: var(--purple); transition: width .4s var(--ease); }
.dp-stepc { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dp-card .dp-h { margin-top: 18px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.dp-sub { margin-top: 8px; color: var(--muted); }
.dp-q { padding: 22px 0; border-bottom: 1px solid var(--line); }
.dp-qt { font-weight: 600; }
.dp-hint { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.dp-q select { margin-top: 12px; }
.dp-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dp-opt { position: relative; }
.dp-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dp-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-weight: 500; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s; }
.dp-opt input:hover + span { border-color: var(--purple); }
.dp-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dp-opt input:focus-visible + span { outline: 2px solid var(--purple-text); outline-offset: 3px; }
.dp-err { margin-top: 14px; color: var(--bad); font-weight: 600; font-size: 14.5px; }
.dp-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.dp-res { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 14px; }
.dp-score { width: 140px; height: 140px; border-radius: 50%; border: 6px solid var(--c); display: grid; place-content: center; text-align: center; }
.dp-score b { font-size: 36px; font-weight: 200; line-height: 1; }
.dp-score span { font-size: 12.5px; font-weight: 600; color: var(--c); padding: 0 10px; margin-top: 4px; }
.dp-bars { margin-top: 26px; display: grid; gap: 10px; }
.dp-bar { display: grid; grid-template-columns: 1fr 2fr 48px; gap: 12px; align-items: center; font-size: 14.5px; }
.dp-bar > div { height: 8px; background: var(--lav-100); border-radius: 8px; overflow: hidden; }
.dp-bar i { display: block; height: 100%; border-radius: 8px; }
.dp-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.dp-form { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.dp-form h3 { font-size: 20px; font-weight: 600; }
.dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.dp-grid label input, .dp-grid label select { margin-top: 6px; font-weight: 400; }
.dp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dp-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); }
.dp-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.dp-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.area { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.area:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.area small { display: block; font-size: 13px; font-weight: 600; color: var(--purple-text); }
.area b { display: block; margin-top: 6px; font-size: 18px; }
.area p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--lav-200); }
.timeline li { position: relative; padding: 28px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--purple); }
.timeline li.key::before { background: var(--purple); }
.timeline b { display: block; font-size: 22px; font-weight: 600; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.penalty td:last-child { font-weight: 600; white-space: nowrap; color: var(--bad); }

/* Talk to us */
.talk { padding: clamp(72px, 9vw, 112px) 0; background: var(--grad-dark); color: var(--white); }
.talk .mail-row a, .talk .text-btn { color: var(--white); }
.talk .btn-dark { background: var(--white); color: var(--ink); }
.talk .btn-dark:hover { background: var(--lav-100); }
.talk-inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.talk h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; color: var(--white); }
.talk p { margin-top: 14px; color: #cfc3ee; }
.talk-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.talk-actions .mail-row { margin-top: 0; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(60% 70% at 100% 100%, rgba(140, 82, 255, .35) 0%, rgba(140, 82, 255, 0) 60%), var(--ink); color: #d9cef5; padding-top: 72px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand img { height: 34px; width: auto; }
.foot-line { margin-top: 14px; font-size: 15px; color: #cfc3ee; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0 24px; }
.foot-cols h2 { font-size: 13px; font-weight: 600; color: #a898d6; margin-bottom: 14px; }
.foot-cols a { display: block; text-decoration: none; font-size: 15px; padding: 6px 0; color: #efe9ff; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .22s var(--ease); }
.foot-cols a:hover { background-size: 100% 1px; }
.foot-giant { margin-top: 24px; padding-inline: var(--gutter); }
.foot-giant img { width: 100%; height: auto; opacity: .09; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 28px 0 36px; font-size: 14px; color: #a898d6; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .header-row { gap: 20px; }
}
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .radar-grid { grid-template-columns: 1fr; }
  .radar-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .ti { grid-template-columns: 1fr; }
  .ti-col + .ti-mid, .ti-mid + .ti-col { border-left: 0; border-top: 1px solid var(--line); }
  .ti-col ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 920px) {
  .split, .split-5-7, .cta-grid, .ai-grid, .otl, .ind, .dp-layout { grid-template-columns: 1fr; }
  .sticky, .dp-side { position: static; }
  .tile, .tile.wide, .tile.narrow { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div { padding-bottom: 24px; }
  .sits, .trio, .facts, .steps3, .feats, .timeline { grid-template-columns: 1fr; }
  .sits div + div, .steps3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .sits div, .steps3 li { padding-bottom: 24px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .newlist { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .areas { grid-template-columns: 1fr 1fr; }
  .area:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .area:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .countdown { grid-template-columns: 1fr; }
  .otl-cv { height: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .mobile-menu { inset: 64px 0 0; }
  .brand img { height: 26px; }
  .hero { min-height: auto; }
  .capture { flex-direction: column; border-radius: 18px; padding: 8px; }
  .capture input { width: 100%; text-align: center; }
  .capture .btn { width: 100%; }
  .dpdp-bar .long { display: none; }
  .dpdp-bar .short { display: inline; }
  .dpdp-bar { font-size: 13px; gap: 6px 10px; }
  .phases { margin-left: 0; width: 100%; }
  .phase { flex: 1; padding: 6px 4px; }
  .principles, .areas { grid-template-columns: 1fr; }
  .area:nth-child(even) { padding-left: 0; border-left: 0; }
  .demo-form, .dp-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .pairs div { grid-template-columns: 1fr; gap: 4px; }
  .dp-res { grid-template-columns: 1fr; justify-items: start; }
  .dp-bar { grid-template-columns: 1fr 48px; }
  .dp-bar > div { grid-column: 1 / -1; grid-row: 2; }
  .otl-cv { height: 420px; }
  .nc { grid-template-columns: 1fr; }
  .nc em { grid-column: 1; grid-row: auto; }
  .ttable th, .ttable td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .ask-a::after { display: none; }
}
/* Short laptop screens: keep the tools strip on the first screen */
@media (max-height: 800px) and (min-width: 921px) {
  .hero-inner { padding: 20px 0 24px; }
  .hero h1 { font-size: clamp(36px, 8vh, 60px); }
  .kicker { margin-bottom: 12px; }
  .capture { margin-top: 22px; }
  .hero-tools-title { margin-bottom: 10px; }
}
@media (max-height: 760px) and (min-width: 921px) {
  .hero h1 { font-size: clamp(34px, 7vh, 52px); }
  .hero-inner { padding: 14px 0 18px; }
  .tool { padding: 9px 16px; }
}

/* =====================================================================
   Round 3: dark phoenix hero, live threat strip, refined header,
   inset dark panels, copy button, centred footer wordmark
   ===================================================================== */
:root { --hh: 80px; --ink-2: #0d0124; }

/* Live threat strip */
.pulse-bar { position: relative; z-index: 60; background: var(--ink-2); color: #d9cef5; font-size: 13.5px; }
.pulse-bar p[hidden] { display: none; }
.pulse-bar p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 8px var(--gutter); text-align: center; }
.pulse-bar b { color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.pulse-bar a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.pulse-bar a:hover { border-color: var(--white); }
.pulse-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--lav-300); padding: 2px 8px; border-radius: var(--pill); }
.pulse-live .pulse-tag { background: #ffd1dc; color: #7a0021; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgba(255, 77, 109, .6); animation: pulseDot 1.8s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); } }
.pulse-time { color: #a898d6; font-size: 12.5px; }

/* Header: transparent over the page top, light text over the dark hero, frosted when scrolled */
.site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .25s var(--ease), border-color .25s, color .25s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; height: var(--hh); }
.brand { justify-self: start; position: relative; display: block; }
.brand img { height: 36px; width: auto; transition: opacity .25s; }
.brand .logo-white { position: absolute; inset: 0; opacity: 0; }
.nav { justify-self: center; gap: 34px; margin: 0; }
.nav a { font-size: 15px; font-weight: 500; transition: color .25s, background-size .22s var(--ease); }
.header-end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.header-end .nav-dp { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--purple); border-radius: var(--pill); color: var(--purple-text); font-size: 14.5px; font-weight: 600; text-decoration: none; background: rgba(255, 255, 255, .6); transition: background-color .2s, color .2s, border-color .2s; }
.header-end .nav-dp:hover, .header-end .nav-dp[aria-current="page"] { background: var(--lav-100); }
.site-header.on-dark .nav a { color: #efe9ff; }
.site-header.on-dark .nav a:hover, .site-header.on-dark .nav a[aria-current="page"] { color: var(--white); }
.site-header.on-dark .brand .logo-ink { opacity: 0; }
.site-header.on-dark .brand .logo-white { opacity: 1; }
.site-header.on-dark .header-end .nav-dp { color: var(--white); border-color: rgba(199, 173, 255, .6); background: rgba(255, 255, 255, .06); }
.site-header.on-dark .header-end .nav-dp:hover { background: rgba(255, 255, 255, .14); }
.site-header.on-dark .menu-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.site-header.on-dark .menu-icon, .site-header.on-dark .menu-icon::before, .site-header.on-dark .menu-icon::after { background: var(--white); }
.site-header.on-dark .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.site-header.on-dark.is-scrolled { background: rgba(13, 1, 36, .55); border-bottom-color: rgba(255, 255, 255, .1); }
.mobile-menu { inset: var(--hh) 0 0; }
/* the first section runs up behind the transparent header */
main { margin-top: calc(-1 * var(--hh) - 1px); }
.page-hero { padding-top: calc(var(--hh) + clamp(40px, 7vw, 96px)); }

/* Dark phoenix hero */
.hero-dark { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding: calc(var(--hh) + clamp(12px, 2.5vh, 40px)) 0 clamp(24px, 3.5vh, 44px);
  min-height: calc(100svh - var(--bar, 38px));
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(60% 70% at 72% 42%, rgba(140, 82, 255, .38) 0%, rgba(140, 82, 255, 0) 62%),
    radial-gradient(70% 90% at 0% 100%, rgba(91, 33, 214, .55) 0%, rgba(91, 33, 214, 0) 58%),
    linear-gradient(180deg, #0d0124 0%, #16023c 70%, #1d0552 100%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.kicker-dark { background: rgba(255, 255, 255, .06); border-color: rgba(199, 173, 255, .35); color: var(--lav-300); }
.hero-dark h1 { font-weight: 700; font-size: clamp(42px, min(5.8vw, 9vh), 92px); line-height: .98; letter-spacing: -.045em; color: var(--white); text-wrap: balance; }
.grad-text-light { background: linear-gradient(100deg, #b38cff 0%, #8c52ff 45%, #e0d1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: #d6caf5; max-width: 36ch; }
.capture-dark { margin-top: 26px; background: rgba(255, 255, 255, .07); border-color: rgba(199, 173, 255, .35); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.capture-dark input { color: var(--white); }
.capture-dark input::placeholder { color: #b4a6dc; }
.capture-dark:focus-within { border-color: var(--lav-300); box-shadow: 0 0 0 4px rgba(140, 82, 255, .3); }
.hero-dark .hero-note { margin-top: 14px; color: #b4a6dc; font-size: 14.5px; }
.hero-dark .hero-note a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.phoenix { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 74vh; justify-self: center; }
.phoenix canvas { position: absolute; inset: -6% -10%; width: 120%; height: 112%; }
.phoenix-poster { position: absolute; inset: -6% -10%; width: 120%; height: 112%; max-width: none; object-fit: contain; display: none; }
.phoenix.no-gl .phoenix-poster { display: block; }
.phoenix.is-ready canvas { animation: phxIn 1.6s var(--ease) both; }
@keyframes phxIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(20px, 3vh, 40px); border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats div { padding: 20px 20px 0 0; }
.hero-stats div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 200; line-height: 1; letter-spacing: -.03em; background: linear-gradient(100deg, #e0d1ff, #a985ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { display: block; margin-top: 8px; font-size: 13.5px; color: #b4a6dc; }

/* Inset dark panels give the page rhythm between light sections */
.panel-dark { margin-inline: clamp(8px, 1.6vw, 24px); border-radius: clamp(20px, 3vw, 36px); background: var(--grad-dark); color: var(--white); border: 0; }
.panel-dark h2, .panel-dark h3 { color: var(--white); }
.panel-dark .eyebrow { color: var(--lav-300); }
.panel-dark .head p, .panel-dark .principles p, .panel-dark .lead-p { color: #cfc3ee; }
.panel-dark .principles b { color: var(--white); }
.panel-dark + .section, .section + .panel-dark { margin-top: 0; }
#ai.panel-dark { margin-block: clamp(8px, 1.6vw, 24px); }
.cta.panel-dark { margin-bottom: clamp(8px, 1.6vw, 24px); }
.story-light { background: linear-gradient(180deg, var(--lav-50), var(--white)); }

/* Copy e-mail button */
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: var(--pill); border: 1px solid currentColor; background: transparent; color: inherit; font: 600 14px var(--font); cursor: pointer; opacity: .9; transition: background-color .2s, border-color .2s, opacity .2s, color .2s; }
.copy-btn:hover { opacity: 1; background: rgba(140, 82, 255, .12); }
.copy-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn .i-tick { display: none; }
.copy-btn.is-copied { border-color: #5fd3a2; color: #5fd3a2; background: rgba(95, 211, 162, .1); }
.copy-btn.is-copied .i-copy { display: none; }
.copy-btn.is-copied .i-tick { display: block; animation: tickIn .3s var(--ease); }
@keyframes tickIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.mail-row { gap: 12px; }
.mail-addr { font-weight: 600; text-decoration: none; }
.cta .mail-row, .talk .mail-row { color: #cfc3ee; }
.cta .mail-addr, .talk .mail-addr { color: var(--white); }

/* Footer: wordmark centred in the same column as the content, without the TM */
.foot-giant { margin-top: 40px; padding: 0; display: flex; justify-content: center; }
.foot-giant img { width: 100%; max-width: 100%; height: auto; opacity: .1; }

@media (max-width: 1140px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .header-end { display: none; }
  .menu-btn { display: block; grid-column: 3; justify-self: end; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phoenix { order: -1; width: min(100%, 480px); max-height: 46vh; margin: -12px auto -24px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .capture-dark { margin-inline: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div { padding-bottom: 18px; }
}
@media (max-width: 640px) {
  :root { --hh: 64px; }
  .brand img { height: 30px; }
  .pulse-bar { font-size: 12.5px; }
  .pulse-more, .pulse-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
  .phoenix.is-ready canvas { animation: none; }
}
.hero-dark h1 .ln { display: block; }
.ask, .brain-card, .console, .tile, .demo-form, .ti, .board { color: var(--ink); }
/* Inner page heroes share the dark brand ground of the home hero */
.page-hero { color: var(--white); background:
    radial-gradient(55% 80% at 85% 30%, rgba(140, 82, 255, .32) 0%, rgba(140, 82, 255, 0) 65%),
    radial-gradient(60% 90% at 0% 100%, rgba(91, 33, 214, .5) 0%, rgba(91, 33, 214, 0) 58%),
    linear-gradient(180deg, #0d0124 0%, #16023c 75%, #1d0552 100%); }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #d6caf5; }
.page-hero .crumbs, .page-hero .crumbs a { color: #b4a6dc; }
.page-hero .kicker { background: rgba(255, 255, 255, .06); border-color: rgba(199, 173, 255, .35); color: var(--lav-300); }
.page-hero .text-link { color: var(--white); }

/* Round 4: binary phoenix on desktop; a deliberately simple, still hero on phones */
.hero-field-m { display: none; }
.phoenix canvas { cursor: default; }
@media (max-width: 920px) {
  .phoenix { display: block; order: -1; width: min(100%, 360px); max-height: 30vh; aspect-ratio: 1 / 1; margin: -18px auto -14px; }
  .phoenix.is-off { display: none; }
  .hero-field-m { display: block; opacity: .55; }
  .hero-dark { min-height: 0; padding-bottom: 28px;
    background:
      radial-gradient(90% 60% at 50% 0%, rgba(140, 82, 255, .30) 0%, rgba(140, 82, 255, 0) 65%),
      linear-gradient(180deg, #0d0124 0%, #16023c 75%, #1d0552 100%); }
  .hero-grid { padding-block: clamp(8px, 3vh, 28px) 8px; }
  .hero-copy .kicker { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .capture-dark { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .09); }
  .reveal { transform: none; transition-duration: .35s; }
}

/* Running figures keep a steady width */
.pulse-bar b, .hero-stats b { font-variant-numeric: tabular-nums; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Combined: tools band from the live site, and DPDP beside the live counter */
.tools-band { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: var(--white); }
.tools-head { text-align: center; }
.tools-head .hero-tools-title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.tools-head p { color: var(--muted); max-width: 60ch; margin: 0 auto 22px; }
.tools-foot { text-align: center; }
.tools-foot .tm { margin-top: 6px; font-size: 12px; }
.tools-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tools-grid .tool b { white-space: normal; line-height: 1.2; }
.tools-grid .tool { min-width: 0; }
.pulse-bar.is-dual { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.pulse-bar.is-dual .pulse-dpdp { position: relative; }
.pulse-bar.is-dual .pulse-dpdp::before { content: ""; width: 1px; height: 16px; background: rgba(255, 255, 255, .2); margin-right: 6px; }
.pulse-bar.is-dual p { padding-inline: 14px; }
@media (max-width: 1240px) { .pulse-bar.is-dual .pulse-more { display: none; } }
@media (max-width: 920px) {
  /* phones: one row you can swipe, no automatic motion */
  .tools-band .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .tools-band .marquee::-webkit-scrollbar { display: none; }
  .tools-band .marquee-track { animation: none; width: max-content; padding-inline: var(--gutter); }
  .tools-band .marquee-track [aria-hidden="true"] { display: none; }
  .tools-band .tool { scroll-snap-align: start; }
  #marqueeToggle { display: none; }
  .tools-band .tool { min-width: 0; padding: 10px 12px; }
  .pulse-bar.is-dual .pulse-time { display: none; }
}
@media (max-width: 640px) {
  .pulse-bar.is-dual { display: grid; }
  .pulse-bar.is-dual p { grid-area: 1 / 1; transition: opacity .5s ease; }
  .pulse-bar.is-dual .pulse-dpdp::before { display: none; }
  .pulse-bar.is-dual .pulse-dpdp { opacity: 0; pointer-events: none; }
  .pulse-bar.is-dual.alt .pulse-dpdp { opacity: 1; pointer-events: auto; }
  .pulse-bar.is-dual.alt .pulse-live { opacity: 0; pointer-events: none; }
}
