/* ==========================================================================
   256 Marketing — facelift (final)
   Dark, minimal, high-tech. Purple/magenta accents. Isolated prototype CSS.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #050309;
  --bg-raised: #0a0610;
  --surface: #0d0814;
  --surface-2: #130b1d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f6f3fa;
  --text-2: rgba(246, 243, 250, 0.68);
  --text-3: rgba(246, 243, 250, 0.46);

  /* Brand */
  --purple: #990ebe;
  --purple-hot: #d400ff;
  --violet: #7c3cff;
  --lilac: #cf9bff;
  --glow: rgba(212, 0, 255, 0.35);

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Theme-dependent fills (dark defaults; light overrides below) */
  --bg-rgb: 5, 3, 9;
  --fill-1: rgba(255, 255, 255, 0.03);
  --fill-2: rgba(255, 255, 255, 0.06);
  --fill-3: rgba(255, 255, 255, 0.1);
  --btn-bg: #ffffff;
  --btn-fg: #07040b;
  --btn-bg-hover: #f1e4ff;
  --menu-bg: rgba(13, 8, 20, 0.96);
  --visual-bg: #08040d;
  --visual-grid: rgba(255, 255, 255, 0.035);
  --pill-bg: rgba(13, 8, 20, 0.92);
  --node-bg: radial-gradient(circle, #12081c 0 62%, #0a0510 100%);
  --dots: rgba(207, 155, 255, 0.34);
  --grid: rgba(190, 110, 255, 0.12);
  --accent-ink: var(--lilac);
  --shadow-card: none;
  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(212, 0, 255, 0.4);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.pointer-canvas {
  position: fixed;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  opacity: 0.96;
  mix-blend-mode: screen;
}

/* ---------- Type primitives ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--lilac);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow:not(.eyebrow-pill)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--purple-hot);
  box-shadow: 0 0 10px var(--glow);
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.section-lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.button .arrow {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button.primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 0 0 1px var(--fill-3), 0 10px 30px -10px rgba(212, 0, 255, 0.55);
}

.button.primary:hover {
  background: var(--btn-bg-hover);
  box-shadow: 0 0 0 1px var(--fill-3), 0 14px 40px -10px rgba(212, 0, 255, 0.75);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--fill-1);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  border-color: rgba(207, 155, 255, 0.45);
  background: rgba(212, 0, 255, 0.08);
}

/* ---------- Announcement bar ---------- */

.announcement-bar {
  position: relative;
  z-index: 31;
  display: flex;
  justify-content: center;
  padding: 0.55rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-2);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.announcement-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 160ms ease;
}

.announcement-bar a:hover {
  color: var(--text);
}

.announcement-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-hot);
  box-shadow: 0 0 8px var(--purple-hot);
}

.announcement-arrow {
  color: var(--lilac);
  transition: transform 160ms ease;
}

.announcement-bar a:hover .announcement-arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    backdrop-filter 220ms var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line);
  background: rgba(var(--bg-rgb), 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: var(--header-h);
  margin-inline: auto;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill-1);
}

.nav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover {
  background: var(--fill-2);
  color: var(--text);
}

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--fill-1);
  color: var(--text-2);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.theme-toggle:hover {
  border-color: rgba(207, 155, 255, 0.5);
  color: var(--text);
}

.theme-toggle svg {
  grid-area: 1 / 1;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 200ms ease, transform 300ms var(--ease);
}

/* dark theme shows the sun (go light); light theme shows the moon (go dark) */
.theme-toggle .icon-moon,
html[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}

html[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: none;
}

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

.login-link {
  white-space: nowrap;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1;
  transition: color 160ms ease;
}

.login-link:hover {
  color: var(--text);
}

.sales-menu {
  position: relative;
}

.sales-menu::after {
  /* hover bridge so the dropdown doesn't close in the gap */
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 0.75rem;
}

.sales-trigger {
  white-space: nowrap;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.95rem 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.sales-trigger:hover {
  background: var(--btn-bg-hover);
}

.chevron {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.sales-menu.is-open .chevron,
.sales-menu:hover .chevron {
  transform: rotate(180deg);
}

.sales-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 0.25rem;
  width: 17.5rem;
  padding: 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--menu-bg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 0, 255, 0.06);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sales-menu:hover .sales-dropdown,
.sales-menu.is-open .sales-dropdown,
.sales-menu:focus-within .sales-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sales-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  transition: background 140ms ease;
}

.sales-dropdown a:hover,
.sales-dropdown a:focus-visible {
  background: var(--fill-2);
}

.sales-option-icon {
  display: grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(212, 0, 255, 0.08);
  color: var(--lilac);
}

.sales-option-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sales-option-text {
  display: grid;
  gap: 0.15rem;
  line-height: 1.25;
}

.sales-option-text strong {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

.sales-option-text small {
  color: var(--text-3);
  font-size: 0.75rem;
}

/* Mobile menu */

.menu-toggle {
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--fill-1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 200ms var(--ease);
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: calc(100dvh - var(--header-h));
  margin-inline: auto;
  padding: 1rem 0 2rem;
  overflow-y: auto;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.mobile-menu-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: min(880px, calc(100svh - var(--header-h) - 2.4rem));
  place-items: center;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) var(--gutter) clamp(8rem, 14vw, 11.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-orb-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-orb-bg svg {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 78%;
}

.hero-orb-bg::before {
  /* fade the orb into black from the top so the type stays crisp */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 62%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 42%, rgba(var(--bg-rgb), 0.85) 62%, rgba(var(--bg-rgb), 0) 100%);
}

.hero-orb-bg::after {
  /* faint purple dot field in the top-left corner */
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: min(46vw, 640px);
  height: 70%;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.35) 38%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.35) 38%, transparent 70%);
}

.hero-orb-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 22%;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), var(--bg) 92%);
}

.orb-ring {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: orbWave 22s ease-in-out infinite;
}

.orb-ring-2 { animation-delay: -2s; animation-duration: 24s; }
.orb-ring-3 { animation-delay: -4s; animation-duration: 21s; }
.orb-ring-4 { animation-delay: -6s; animation-duration: 25s; }
.orb-ring-5 { animation-delay: -8s; animation-duration: 23s; }
.orb-ring-6 { animation-delay: -10s; animation-duration: 26s; }
.orb-ring-7 { animation-delay: -12s; animation-duration: 24s; }
.orb-ring-8 { animation-delay: -14s; animation-duration: 28s; }

.orb-wash {
  transform-box: fill-box;
  transform-origin: center;
  animation: orbWashDrift 26s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(60rem, 100%);
  text-align: center;
}

.eyebrow-pill {
  margin-bottom: 2rem;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--fill-1);
  color: var(--text-2);
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-hot);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--purple-hot);
  opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}

.hero h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 8.2vw, 7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-word-rotator,
.hero-static-line {
  display: block;
}

.hero-word-rotator {
  position: relative;
  height: 1.12em;
}

.hero-word-rotator span {
  position: absolute;
  inset: 0;
  padding-bottom: 0.06em;
  background: linear-gradient(100deg, #f3d9ff 0%, #e070ff 45%, #a35cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.18em);
  filter: blur(6px);
  animation: rotateHeroWord 15s var(--ease) infinite;
}

.hero-word-rotator span:nth-child(2) { animation-delay: 3s; }
.hero-word-rotator span:nth-child(3) { animation-delay: 6s; }
.hero-word-rotator span:nth-child(4) { animation-delay: 9s; }
.hero-word-rotator span:nth-child(5) { animation-delay: 12s; }

.hero-static-line {
  white-space: nowrap;
}

.hero-lead {
  max-width: 36rem;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* ---------- Trusted-by band ---------- */

.proof-band {
  position: relative;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.proof-band .eyebrow {
  margin-bottom: 2rem;
  color: var(--text-3);
}

.proof-band .eyebrow::before {
  display: none;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(3rem, 6vw, 5.5rem);
  animation: logoMarquee 36s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-tile {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.85;
  transition: opacity 160ms ease;
}

a.logo-tile:hover,
a.logo-tile:focus-visible {
  opacity: 1;
}

.logo-tile img {
  width: 2.75rem;
  height: 2.75rem;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.logo-tile span {
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

a.logo-tile:hover span {
  color: var(--text);
}

/* ---------- Textures (selective, edge/corner, fading into black) ---------- */

.texture {
  position: relative;
  isolation: isolate;
}

.texture::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(52vw, 720px);
  height: min(60vh, 560px);
  pointer-events: none;
}

.texture-dots::before {
  background-image: radial-gradient(var(--dots) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.texture-grid::before {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

.texture-tr::before {
  top: 0;
  right: 0;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.texture-tl::before {
  top: 0;
  left: 0;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.texture-br::before {
  right: 0;
  bottom: 0;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 100%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

.texture-bl::before {
  bottom: 0;
  left: 0;
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, rgba(0, 0, 0, 0.3) 40%, transparent 70%);
}

/* ---------- Services / platform ---------- */

.platform-system {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.8);
}

.platform-card-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-card);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.platform-card:hover {
  border-color: rgba(207, 155, 255, 0.28);
  transform: translateY(-3px);
}

.platform-card-copy {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem 1.5rem 1.25rem;
}

.card-index {
  margin-bottom: 0.4rem;
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.platform-card p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Shared visual frame — inset panel with a corner glow + hairline grid */
.card-visual {
  position: relative;
  height: 12.5rem;
  margin: auto 0.5rem 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  background-color: var(--visual-bg);
  background:
    radial-gradient(120% 90% at var(--gx, 20%) var(--gy, 100%), rgba(212, 0, 255, 0.34), transparent 60%),
    linear-gradient(var(--visual-grid) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--visual-grid) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--visual-bg);
}

/* Strategy: target rings */
.strategy-visual {
  --gx: 30%;
  --gy: 110%;
}

.strategy-visual span {
  position: absolute;
  left: 50%;
  top: 56%;
  border: 1px solid rgba(207, 155, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.strategy-visual span:nth-child(1) { width: 9.5rem; height: 9.5rem; border-color: rgba(207, 155, 255, 0.14); }
.strategy-visual span:nth-child(2) { width: 6rem; height: 6rem; border-color: rgba(207, 155, 255, 0.26); }
.strategy-visual span:nth-child(3) {
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  background: var(--purple-hot);
  box-shadow: 0 0 0 6px rgba(212, 0, 255, 0.18), 0 0 24px var(--purple-hot);
}

/* Fundraising: readiness tracks (no figures) */
.fundraising-visual {
  --gx: 85%;
  --gy: 110%;
  height: auto;
  min-height: 12.5rem;
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: 1.1rem;
}

.fundraising-visual div {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--fill-1);
  backdrop-filter: blur(6px);
}

.fundraising-visual span {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fundraising-visual i {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--fill-3);
  overflow: hidden;
}

.fundraising-visual i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 70%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--purple-hot));
}

.fundraising-visual div:nth-child(1) i { --w: 82%; }
.fundraising-visual div:nth-child(2) i { --w: 64%; }
.fundraising-visual div:nth-child(3) i { --w: 46%; }

/* Visibility: rising signal bars */
.visibility-visual {
  --gx: 80%;
  --gy: 0%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
}

.visibility-visual span {
  flex: 1 1 0;
  max-width: 1.4rem;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(212, 0, 255, 0.9), rgba(124, 60, 255, 0.25));
  opacity: var(--o, 1);
}

.visibility-visual span:nth-child(1) { --h: 18%; --o: 0.45; }
.visibility-visual span:nth-child(2) { --h: 28%; --o: 0.55; }
.visibility-visual span:nth-child(3) { --h: 24%; --o: 0.6; }
.visibility-visual span:nth-child(4) { --h: 42%; --o: 0.7; }
.visibility-visual span:nth-child(5) { --h: 56%; --o: 0.8; }
.visibility-visual span:nth-child(6) { --h: 68%; --o: 0.9; }
.visibility-visual span:nth-child(7) { --h: 86%; }

/* Launch: channel chips */
.launch-visual {
  --gx: 15%;
  --gy: 0%;
  height: auto;
  min-height: 12.5rem;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1.1rem;
}

.launch-visual span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.1rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--fill-1);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.launch-visual span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-hot);
  box-shadow: 0 0 8px var(--purple-hot);
}

/* Capability map */
.capability-map {
  position: relative;
  min-height: 24rem;
}

.capability-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.capability-line-base path,
.capability-line-pulse path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-line-base path {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.capability-line-pulse path {
  stroke: var(--purple-hot);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(212, 0, 255, 0.75));
}

.capability-line-pulse-source path {
  stroke-dasharray: 10 90;
  stroke-dashoffset: 100;
  animation: linePulseSource 5.4s linear infinite;
}

.capability-line-pulse-branch path {
  stroke-dasharray: 30 570;
  stroke-dashoffset: 600;
  animation: linePulseBranch 5.6s linear infinite 0.46s;
}

.capability-line-pulse-source path:nth-child(2) { animation-duration: 5.15s; }
.capability-line-pulse-source path:nth-child(3) { animation-duration: 5.75s; }
.capability-line-pulse-source path:nth-child(4) { animation-duration: 5.35s; }
.capability-line-pulse-branch path:nth-child(1) { animation-duration: 5.95s; animation-delay: 0.42s; }
.capability-line-pulse-branch path:nth-child(2) { animation-duration: 4.95s; animation-delay: 0.68s; }
.capability-line-pulse-branch path:nth-child(3) { animation-duration: 5.4s; animation-delay: 0.52s; }
.capability-line-pulse-branch path:nth-child(4) { animation-duration: 4.65s; animation-delay: 0.84s; }
.capability-line-pulse-branch path:nth-child(5) { animation-duration: 6.15s; animation-delay: 0.58s; }
.capability-line-pulse-branch path:nth-child(6) { animation-duration: 5.1s; animation-delay: 0.93s; }
.capability-line-pulse-branch path:nth-child(7) { animation-duration: 5.7s; animation-delay: 0.49s; }
.capability-line-pulse-branch path:nth-child(8) { animation-duration: 4.8s; animation-delay: 0.76s; }

.capability-pills {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 5.5rem;
}

.capability-pills span {
  display: grid;
  min-height: 3.25rem;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-align: center;
  transition: color 160ms ease, border-color 160ms ease;
}

.capability-pills span:hover {
  border-color: rgba(207, 155, 255, 0.35);
  color: var(--text);
}

.platform-node {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  border: 1px solid rgba(207, 155, 255, 0.3);
  border-radius: 50%;
  background: var(--node-bg);
  box-shadow: 0 0 0 8px rgba(212, 0, 255, 0.05), 0 0 40px rgba(212, 0, 255, 0.45);
  transform: translateX(-50%);
  animation: nodeReceivePulse 5.6s ease-out infinite 1.55s;
}

.platform-node img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.unified-copy {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.unified-copy p {
  margin-top: 1rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.platform-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.platform-benefits article {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 2rem 2rem 0;
}

.platform-benefits article + article {
  border-left: 1px solid var(--line);
}

.benefit-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(212, 0, 255, 0.07);
  color: var(--lilac);
}

.benefit-icon svg,
.step-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-benefits p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- What we deliver (full service list) ---------- */

.deliver-section {
  padding: 0 0 var(--section-y);
}

.deliver-section .container {
  padding-top: var(--section-y);
  border-top: 1px solid var(--line);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 4rem;
  max-width: none;
}

.section-heading-row .section-lead {
  max-width: 24rem;
  margin: 0;
}

.deliver-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.deliver-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 200ms var(--ease);
}

.deliver-list li:nth-child(odd) {
  padding-right: 2.5rem;
}

.deliver-list li:nth-child(even) {
  padding-left: 2.5rem;
  border-left: 1px solid var(--line);
}

.deliver-list h3 {
  position: relative;
  padding-left: 1.1rem;
}

.deliver-list h3::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--purple-hot);
  box-shadow: 0 0 10px var(--glow);
}

.deliver-list p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.deliver-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  color: var(--lilac);
  font-size: 0.9375rem;
  font-weight: 500;
}

.deliver-more .arrow {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}

.deliver-more:hover .arrow {
  transform: translateX(3px);
}

/* ---------- Quantum security ---------- */

.security-section {
  padding: 0 0 var(--section-y);
}

.security-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(60% 80% at 80% 50%, rgba(124, 60, 255, 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--bg-raised));
}

.security-copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.security-copy h2 {
  max-width: 34rem;
}

.security-lead {
  max-width: 32rem;
  margin-top: 1.25rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
}

.security-pitch {
  max-width: 32rem;
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--purple-hot);
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.5;
}

.security-cards {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.security-cards li {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--fill-1);
  backdrop-filter: blur(8px);
}

.security-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(212, 0, 255, 0.08);
  color: var(--lilac);
}

.security-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-cards p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.security-audience {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.security-audience-label {
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.security-audience ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-audience li {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.security-visual .lock svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-visual {
  position: relative;
  align-self: stretch;
  min-height: 24rem;
  /* lattice of points — a nod to lattice-based post-quantum cryptography */
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 72%);
}

.security-visual .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.security-visual .ring-1 {
  width: 20rem;
  height: 20rem;
  border: 1px dashed rgba(207, 155, 255, 0.22);
  animation: spin 60s linear infinite;
}

.security-visual .ring-2 {
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(207, 155, 255, 0.3);
}

.security-visual .ring-3 {
  width: 7.5rem;
  height: 7.5rem;
  border: 1px dashed rgba(212, 0, 255, 0.55);
  animation: spin 24s linear infinite reverse;
}

.security-visual .lock {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgba(207, 155, 255, 0.4);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #1a0d26, #0b0612);
  color: #f3d9ff;
  box-shadow: 0 0 0 8px rgba(212, 0, 255, 0.06), 0 0 48px rgba(212, 0, 255, 0.55);
  transform: translate(-50%, -50%);
}

.security-visual .lock svg {
  width: 1.75rem;
  height: 1.75rem;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Process ---------- */

.process-section {
  padding: 0 0 var(--section-y);
}

.process-section .container {
  padding-top: var(--section-y);
  border-top: 1px solid var(--line);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}

.process-steps li::before {
  /* hairline progress accent along the top edge */
  content: "";
  position: absolute;
  top: -1px;
  left: 1.5rem;
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-hot), transparent);
}

.step-index {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.step-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(212, 0, 255, 0.07);
  color: var(--lilac);
}

.process-steps p {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */

.testimonials-section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.testimonials-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.testimonials-heading h2 {
  max-width: 40rem;
}

.testimonial-controls {
  display: flex;
  gap: 0.5rem;
}

.testimonial-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.testimonial-arrow svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonial-arrow:hover:not(:disabled) {
  border-color: rgba(207, 155, 255, 0.5);
  background: rgba(212, 0, 255, 0.1);
}

.testimonial-arrow:disabled {
  cursor: default;
  opacity: 0.3;
}

.testimonial-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-video-card {
  position: relative;
  min-height: clamp(15rem, 24vw, 22rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 70% 20%, rgba(212, 0, 255, 0.22), transparent 16rem), var(--surface);
}

.video-brand {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.video-brand img {
  height: 1.75rem;
  width: auto;
}

.video-play {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.62rem solid #fff;
  transform: translate(-50%, -50%);
}

.testimonial-carousel {
  display: grid;
  grid-auto-columns: calc((100% - 2rem) / 3);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel.is-single,
.testimonial-carousel:has(> .testimonial-card:only-child) {
  grid-auto-columns: 100%;
}

.testimonial-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  min-height: 18rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  scroll-snap-align: start;
}

.quote-mark {
  width: 1.75rem;
  height: auto;
  fill: var(--purple-hot);
  opacity: 0.8;
}

.testimonial-quote {
  color: var(--text);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.testimonial-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testimonial-brand img {
  width: auto;
  max-width: 9rem;
  height: 3.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: #f6f3fa; /* light chip keeps any client logo legible on dark */
  object-fit: contain;
}

.testimonial-brand.is-text {
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Single featured quote: wider type, side-by-side brand */
.testimonial-carousel.is-single .testimonial-card,
.testimonial-carousel .testimonial-card:only-child {
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  min-height: 0;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.testimonial-carousel.is-single .quote-mark,
.testimonial-carousel .testimonial-card:only-child .quote-mark {
  grid-row: 1 / span 2;
  width: 2.5rem;
}

.testimonial-carousel.is-single .testimonial-quote,
.testimonial-carousel .testimonial-card:only-child .testimonial-quote {
  max-width: 48rem;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: var(--section-y) 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(70% 90% at 85% 100%, rgba(212, 0, 255, 0.22), transparent 65%),
    linear-gradient(180deg, var(--surface-2), var(--bg-raised));
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.cta-copy h2 {
  max-width: 32rem;
}

.cta-copy p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 1.25rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.cta-bull {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 22rem;
}

.cta-bull img {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 55% 55%, #000 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at 55% 55%, #000 45%, transparent 78%);
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  text-align: center;
}

.footer > .container::before {
  /* thin accent glint on the top border */
  content: "";
  position: absolute;
  top: calc(clamp(4.5rem, 8vw, 6.5rem) * -1 - 1px);
  left: 50%;
  width: min(520px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-hot), transparent);
  transform: translateX(-50%);
}

.footer-brand {
  display: grid;
  justify-items: center;
}

.footer-emblem {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 32px -6px var(--glow);
  transition: transform 220ms var(--ease);
}

.footer-emblem:hover {
  transform: translateY(-2px);
}

.footer-emblem img {
  width: 100%;
  height: 100%;
}

.footer-kicker {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-wordmark {
  margin-top: 0.75rem;
  color: var(--text);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  /* optical centring: tracking adds trailing space */
  padding-left: 0.28em;
}

.footer-tagline {
  margin-top: 1.1rem;
  color: var(--text-2);
  font-size: 1rem;
  letter-spacing: -0.005em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem clamp(1.25rem, 3.5vw, 2.75rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.6rem 0;
  border-block: 1px solid var(--line);
}

.footer-nav a {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.footer-nav a:hover {
  color: var(--lilac);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: clamp(2.25rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}

.footer-contact div {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.footer-contact h2 {
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--text);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.footer-contact a:hover {
  color: var(--lilac);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
}

.footer-bottom small {
  justify-self: start;
  color: var(--text-3);
  font-size: 0.8125rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-2);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icons a:hover {
  border-color: rgba(207, 155, 255, 0.5);
  background: rgba(212, 0, 255, 0.08);
  color: var(--text);
}

.social-icons svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-utility {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.theme-switch button {
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.theme-switch button[aria-pressed="true"] {
  background: var(--fill-3);
  color: var(--text);
}

.back-to-top {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.back-to-top:hover {
  color: var(--lilac);
}

.footer-disclaimer {
  max-width: 44rem;
  margin: 2rem auto 0;
  color: var(--text-3);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   Type system — one family (Inter), two weights, one scale.
   Every text element on the page maps to one of these roles.
   Display 112 · H2 60 · Quote 28 · Lead 18 (hero 20) · H3 17 · Body 15 · UI 14 · Small 13 · Label 12
   ========================================================================== */

/* Label — every small uppercase tag */
.eyebrow,
.card-index,
.step-index,
.fundraising-visual span,
.security-audience-label,
.footer-kicker,
.footer-contact h2,
.footer-nav a,
.back-to-top,
.theme-switch button {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow-pill {
  letter-spacing: 0.14em;
}

/* Lead */
.section-lead,
.unified-copy p,
.security-lead,
.security-pitch,
.cta-copy p:not(.eyebrow) {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* H3 */
h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Body */
.platform-card p,
.platform-benefits p,
.deliver-list p,
.security-cards p,
.process-steps p,
.footer-contact a,
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0;
}

/* UI — nav, chips, pills, small buttons */
.nav a,
.login-link,
.sales-trigger,
.sales-option-text strong,
.capability-pills span,
.launch-visual span,
.security-audience li,
.mobile-menu-actions .button {
  font-size: 0.875rem;
  letter-spacing: 0;
}

.capability-pills span,
.launch-visual span {
  font-weight: 400;
}

/* Small */
.announcement-bar,
.footer-bottom small,
.footer-disclaimer,
.sales-option-text small {
  font-size: 0.8125rem;
  letter-spacing: 0;
}

/* Quote — the one featured testimonial */
.testimonial-carousel.is-single .testimonial-quote,
.testimonial-carousel .testimonial-card:only-child .testimonial-quote {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
}

/* Footer wordmark: H2 style, gently tracked (brand moment, same family/weight) */
.footer-wordmark {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}

/* ==========================================================================
   Light theme — <html data-theme="light"> (or ?theme=light)
   Same layout and purple accents on a white/lavender-tinted base.
   ========================================================================== */

html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-raised: #faf7fd;
  --surface: #ffffff;
  --surface-2: #fdfbff;
  --line: rgba(40, 6, 60, 0.09);
  --line-strong: rgba(40, 6, 60, 0.16);
  --text: #0b0612;
  --text-2: rgba(11, 6, 18, 0.68);
  --text-3: rgba(11, 6, 18, 0.48);
  --lilac: #8a0bb0;           /* accent ink: deep purple reads on white */
  --glow: rgba(212, 0, 255, 0.28);
  --fill-1: rgba(60, 10, 90, 0.035);
  --fill-2: rgba(60, 10, 90, 0.06);
  --fill-3: rgba(60, 10, 90, 0.1);
  --btn-bg: #0b0612;
  --btn-fg: #ffffff;
  --btn-bg-hover: #2a0a3c;
  --menu-bg: rgba(255, 255, 255, 0.97);
  --visual-bg: #f7f0fc;
  --visual-grid: rgba(120, 30, 170, 0.07);
  --pill-bg: rgba(255, 255, 255, 0.95);
  --node-bg: radial-gradient(circle, #ffffff 0 62%, #f6ecfc 100%);
  --dots: rgba(153, 14, 190, 0.28);
  --grid: rgba(153, 14, 190, 0.09);
  --shadow-card: 0 1px 2px rgba(40, 6, 60, 0.04), 0 12px 32px -16px rgba(40, 6, 60, 0.14);
}

html[data-theme="light"] ::selection {
  background: rgba(212, 0, 255, 0.22);
  color: #0b0612;
}

/* logos + emblem swap */
.logo-on-light {
  display: none !important;
}

html[data-theme="light"] .logo-on-dark {
  display: none !important;
}

html[data-theme="light"] .logo-on-light {
  display: block !important;
}

html[data-theme="light"] .brand img.logo-on-light,
html[data-theme="light"] .footer-brand img.logo-on-light {
  height: 26px;
}

/* hero orb: light ring palette (gradients defined in the SVG) */
html[data-theme="light"] .orb-base { fill: #ffffff; }
html[data-theme="light"] .orb-ring-1 circle { fill: url(#orbOuterLight); opacity: 0.74; }
html[data-theme="light"] .orb-ring-2 circle { fill: #f8e7ff; }
html[data-theme="light"] .orb-ring-3 circle { fill: url(#orbOuterLight); }
html[data-theme="light"] .orb-ring-4 circle { fill: #dea0ff; }
html[data-theme="light"] .orb-ring-5 circle { fill: url(#orbMidLight); }
html[data-theme="light"] .orb-ring-6 circle { fill: #d400ff; }
html[data-theme="light"] .orb-ring-7 circle { fill: url(#orbCoreLight); }
html[data-theme="light"] .orb-ring-8 circle { fill: url(#orbCenterLight); }
html[data-theme="light"] .orb-wash { fill: url(#orbWashLight); }

html[data-theme="light"] .hero-word-rotator span {
  background: linear-gradient(100deg, #5a0a78 0%, #b100e0 50%, #7c3cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* keep hero type crisp over the bright orb */
html[data-theme="light"] .hero-orb-bg::before {
  height: 74%;
  background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(255, 255, 255, 0.9) 68%, rgba(255, 255, 255, 0) 100%);
}

html[data-theme="light"] .hero-orb-bg svg {
  height: 72%;
}

html[data-theme="light"] .hero-lead {
  color: rgba(11, 6, 18, 0.72);
}

html[data-theme="light"] .button.secondary {
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .eyebrow-pill {
  background: rgba(255, 255, 255, 0.7);
}

/* service visuals: lavender panels, white chips */
html[data-theme="light"] .card-visual {
  background:
    radial-gradient(120% 90% at var(--gx, 20%) var(--gy, 100%), rgba(212, 0, 255, 0.2), transparent 60%),
    linear-gradient(var(--visual-grid) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--visual-grid) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--visual-bg);
}

html[data-theme="light"] .fundraising-visual div,
html[data-theme="light"] .launch-visual span {
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .strategy-visual span:nth-child(1) { border-color: rgba(153, 14, 190, 0.18); }
html[data-theme="light"] .strategy-visual span:nth-child(2) { border-color: rgba(153, 14, 190, 0.32); }

html[data-theme="light"] .platform-card:hover,
html[data-theme="light"] .capability-pills span:hover {
  border-color: rgba(153, 14, 190, 0.35);
}

html[data-theme="light"] .platform-node {
  box-shadow: 0 0 0 8px rgba(212, 0, 255, 0.06), 0 0 36px rgba(212, 0, 255, 0.3);
}

html[data-theme="light"] .process-steps li,
html[data-theme="light"] .testimonial-card {
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .testimonial-brand img {
  background: transparent;
  padding: 0;
}

html[data-theme="light"] .pointer-canvas {
  mix-blend-mode: multiply;
}

/* closing CTA stays a dark block in the light theme — contrast moment + the bull art */
html[data-theme="light"] .cta-panel,
html[data-theme="light"] .security-panel {
  --text: #f6f3fa;
  --text-2: rgba(246, 243, 250, 0.7);
  --text-3: rgba(246, 243, 250, 0.46);
  --lilac: #cf9bff;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fill-1: rgba(255, 255, 255, 0.04);
  --fill-3: rgba(255, 255, 255, 0.1);
  --btn-bg: #ffffff;
  --btn-fg: #07040b;
  --btn-bg-hover: #f1e4ff;
  --dots: rgba(207, 155, 255, 0.34);
  border-color: transparent;
  background:
    radial-gradient(70% 90% at 85% 100%, rgba(212, 0, 255, 0.32), transparent 65%),
    linear-gradient(180deg, #150b20, #07040b);
  color: var(--text);
  box-shadow: 0 30px 80px -30px rgba(60, 0, 90, 0.45);
}

html[data-theme="light"] .security-panel {
  background:
    radial-gradient(60% 80% at 80% 50%, rgba(124, 60, 255, 0.32), transparent 70%),
    linear-gradient(180deg, #150b20, #07040b);
}

html[data-theme="light"] .security-panel .button.secondary,
html[data-theme="light"] .cta-panel .button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

/* footer: soft lavender base */
html[data-theme="light"] .footer {
  background: var(--bg-raised);
}

/* ---------- Animations ---------- */

@keyframes rotateHeroWord {
  0% { opacity: 0; transform: translateY(0.18em); filter: blur(6px); }
  5%, 16% { opacity: 1; transform: translateY(0); filter: blur(0); }
  21%, 100% { opacity: 0; transform: translateY(-0.18em); filter: blur(6px); }
}

@keyframes ping {
  0% { opacity: 0.8; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(1.8); }
}

@keyframes orbWave {
  0%, 100% { transform: translate3d(-10px, 0, 0) scaleX(1.01); }
  28% { transform: translate3d(18px, -7px, 0) scaleX(1.035) scaleY(1.012); }
  58% { transform: translate3d(-20px, -2px, 0) scaleX(0.99) scaleY(1.022); }
  78% { transform: translate3d(8px, 5px, 0) scaleX(1.02) scaleY(0.995); }
}

@keyframes orbWashDrift {
  0%, 100% { opacity: 0.78; transform: translate3d(-28px, 0, 0) scaleX(1.02); }
  50% { opacity: 1; transform: translate3d(32px, -10px, 0) scaleX(1.08); }
}

@keyframes logoMarquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes linePulseSource {
  to { stroke-dashoffset: 0; }
}

@keyframes linePulseBranch {
  to { stroke-dashoffset: 0; }
}

@keyframes nodeReceivePulse {
  0%, 34%, 100% { box-shadow: 0 0 0 8px rgba(212, 0, 255, 0.05), 0 0 40px rgba(212, 0, 255, 0.45); }
  44% { box-shadow: 0 0 0 10px rgba(212, 0, 255, 0.1), 0 0 64px rgba(212, 0, 255, 0.8), 0 0 100px rgba(124, 60, 255, 0.4); }
}

/* ---------- Responsive ---------- */

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

  .capability-map {
    min-height: 0;
    margin-top: 3rem;
  }

  .capability-lines {
    display: none;
  }

  .capability-pills {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 0;
  }

  .platform-node {
    position: relative;
    left: auto;
    margin: 3rem auto 0;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .testimonial-carousel {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .cta-panel,
  .security-panel {
    grid-template-columns: 1fr;
  }

  .security-visual {
    min-height: 18rem;
    margin-top: -2rem;
  }

  .deliver-list {
    grid-template-columns: 1fr;
  }

  .security-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deliver-list li:nth-child(odd),
  .deliver-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .cta-bull {
    min-height: 20rem;
    margin-top: 0.5rem;
  }

  .cta-bull img {
    left: 50%;
    right: auto;
    height: 115%;
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 28px;
  }

  .announcement-bar {
    font-size: 0.75rem;
  }

  .hero {
    min-height: 0;
    padding-bottom: 8rem;
  }

  .hero-orb-bg svg {
    height: 60%;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12.5vw, 4rem);
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    width: 100%;
    max-width: 22rem;
  }

  .cta-actions {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .deliver-list li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .security-visual .ring-1 {
    width: 16rem;
    height: 16rem;
  }

  .security-cards {
    grid-template-columns: 1fr;
  }

  .platform-card-row,
  .process-steps,
  .platform-benefits,
  .testimonial-video-grid {
    grid-template-columns: 1fr;
  }

  .card-visual {
    height: 11rem;
  }

  .capability-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-benefits article {
    padding: 1.75rem 0 0;
  }

  .platform-benefits article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 1.75rem;
  }

  .testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-carousel {
    grid-auto-columns: 88%;
  }

  .testimonial-carousel.is-single .testimonial-card,
  .testimonial-carousel .testimonial-card:only-child {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .testimonial-carousel.is-single .quote-mark,
  .testimonial-carousel .testimonial-card:only-child .quote-mark {
    grid-row: auto;
    width: 2rem;
  }

  .testimonial-carousel.is-single .testimonial-quote,
  .testimonial-carousel .testimonial-card:only-child .testimonial-quote {
    font-size: 1.3rem;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.25rem;
  }

  .footer-bottom small,
  .footer-utility {
    justify-self: center;
  }

  .footer-bottom small {
    order: 3;
  }

  .footer-wordmark {
    letter-spacing: 0.2em;
    padding-left: 0.2em;
  }

  .texture::before {
    width: 90vw;
    height: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-word-rotator span {
    display: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-word-rotator span:first-child {
    display: block;
  }

  .orb-ring,
  .orb-wash {
    animation: none !important;
  }

  .capability-line-pulse,
  .pointer-canvas {
    display: none;
  }

  .logo-marquee-track {
    animation: none !important;
  }
}
