:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: rgba(15, 18, 25, 0.9);
  --panel-strong: rgba(20, 24, 32, 0.95);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.5);
  --faint: rgba(255, 255, 255, 0.4);
  --rose: #f43f5e;
  --pink: #ec4899;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#app {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

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

img {
  display: block;
  width: 100%;
}

.grid-background {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-position: calc(50% + var(--grid-x, 0px)) calc(50% + var(--grid-y, 0px));
  background-size: 80px 80px;
}

.grid-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(255, 255, 255, 0.02) 4px, rgba(255, 255, 255, 0.02) 5px),
    radial-gradient(circle at 28% 42%, rgba(244, 63, 94, 0.12), transparent 26rem),
    radial-gradient(circle at 76% 68%, rgba(236, 72, 153, 0.08), transparent 30rem),
    radial-gradient(circle at center, transparent, rgba(3, 3, 3, 0.86) 66%);
  mix-blend-mode: overlay;
}

.nexus-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.nexus-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.morph-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.morph-shape {
  position: absolute;
  display: block;
  width: clamp(460px, 56vw, 920px);
  height: clamp(360px, 46vw, 760px);
  border-radius: 54% 46% 58% 42% / 46% 56% 44% 54%;
  background:
    conic-gradient(from 215deg at 52% 48%,
      transparent 0deg,
      rgba(244, 63, 94, 0.08) 28deg,
      rgba(244, 63, 94, 0.78) 52deg,
      rgba(236, 72, 153, 0.22) 86deg,
      transparent 128deg,
      rgba(244, 63, 94, 0.1) 172deg,
      rgba(244, 63, 94, 0.68) 214deg,
      rgba(236, 72, 153, 0.18) 252deg,
      transparent 306deg,
      rgba(244, 63, 94, 0.45) 344deg,
      transparent 360deg);
  filter: blur(0.5px) drop-shadow(0 0 34px rgba(244, 63, 94, 0.42));
  opacity: 0.58;
  mix-blend-mode: screen;
  clip-path: polygon(44% 0%, 61% 5%, 70% 22%, 83% 30%, 99% 43%, 86% 60%, 76% 83%, 58% 99%, 42% 85%, 20% 79%, 0% 63%, 14% 43%, 21% 20%);
  mask-image: radial-gradient(ellipse at 54% 48%, transparent 0 31%, #000 33% 59%, transparent 61%);
  -webkit-mask-image: radial-gradient(ellipse at 54% 48%, transparent 0 31%, #000 33% 59%, transparent 61%);
  transform-origin: center;
  animation:
    morph-drift 28s ease-in-out infinite alternate,
    morph-form 16s ease-in-out infinite;
}

.morph-shape::before,
.morph-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inherit;
  mask-image: inherit;
  -webkit-mask-image: inherit;
}

.morph-shape::before {
  background:
    repeating-radial-gradient(ellipse at 52% 48%,
      rgba(255, 255, 255, 0.11) 0 1px,
      transparent 1px 3px),
    linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, 0.2) 36%, transparent 46%);
  opacity: 0.42;
  mix-blend-mode: screen;
}

.morph-shape::after {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 79, 110, 0.92), transparent 8%),
    radial-gradient(circle at 76% 76%, rgba(255, 79, 110, 0.86), transparent 7%),
    conic-gradient(from 215deg at 52% 48%, transparent 0 36deg, rgba(255, 78, 110, 0.9) 48deg, transparent 62deg, transparent 190deg, rgba(255, 78, 110, 0.78) 210deg, transparent 230deg);
  filter: blur(1px);
  opacity: 0.68;
}

.morph-shape-a {
  top: 4vh;
  left: 46vw;
}

.morph-shape-b {
  right: 55vw;
  bottom: -18vh;
  width: clamp(320px, 42vw, 680px);
  height: clamp(260px, 34vw, 560px);
  opacity: 0.22;
  animation-delay: -8s, -4s;
  animation-direction: alternate-reverse, normal;
}

#app::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: calc(50% - min(var(--max), 100vw) / 2);
  width: min(var(--max), 100vw);
  z-index: -3;
  pointer-events: none;
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  background:
    linear-gradient(90deg, transparent 33.333%, rgba(255, 255, 255, 0.02) 33.333%, rgba(255, 255, 255, 0.02) calc(33.333% + 1px), transparent calc(33.333% + 1px)),
    linear-gradient(90deg, transparent 66.666%, rgba(255, 255, 255, 0.02) 66.666%, rgba(255, 255, 255, 0.02) calc(66.666% + 1px), transparent calc(66.666% + 1px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 3, 3, 0.8);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(12px);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 8px;
  transition: border-color 300ms ease;
}

.site-header::before {
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header::after {
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.logo,
.nav a,
.eyebrow,
.micro,
.action-label {
  font-family: "Space Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 1 270px;
  min-width: 0;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.brand-logo {
  display: block;
  width: min(170px, 44vw);
  height: auto;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.9) 50%, transparent 50%),
    linear-gradient(45deg, transparent 42%, rgba(255, 255, 255, 0.45) 42%, rgba(255, 255, 255, 0.45) 50%, transparent 50%);
  background-size: 12px 12px;
  transition: border-color 300ms ease;
}

.logo:hover .logo-mark {
  border-color: rgba(255, 255, 255, 0.3);
}

.logo-text {
  line-height: 1;
}

.nav {
  display: flex;
  gap: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.menu-toggle {
  display: none;
}

.nav a {
  position: relative;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 1px;
  background: var(--rose);
}

.mobile-contact {
  display: none;
}

.site-main {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 88px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  z-index: 2;
}

.hero::before {
  left: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero::after {
  right: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.section-grid.flip .flow-block {
  order: 2;
}

.section-block {
  position: relative;
  padding: 128px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.section-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 33%;
  width: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.section-block::after {
  content: "";
  position: absolute;
  inset: 0 33.333% 0 auto;
  width: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-copy,
.flow-block,
.section-title {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.eyebrow::after {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, var(--rose), transparent);
}

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

h1 {
  max-width: 640px;
  font-size: clamp(3rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
}

h1 span,
h2 span {
  color: var(--rose);
}

h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.lead {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.75;
  font-weight: 300;
}

.copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 300;
}

.small-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.65;
  font-weight: 300;
}

.micro {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.66rem;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action-label {
  width: 100%;
  color: var(--faint);
  font-size: 0.66rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  min-width: 156px;
  border-radius: 2px;
  padding: 12px 24px;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  border: 1px solid rgba(244, 63, 94, 0.5);
  background: transparent;
  color: var(--rose);
  box-shadow: none;
}

.button.secondary {
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.7);
}

.image-panel {
  position: relative;
  align-self: center;
  grid-column: span 7;
  justify-self: center;
  overflow: hidden;
  width: min(500px, 82vw);
  height: min(500px, 82vw);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(244, 63, 94, 0.18), transparent 52%),
    var(--panel-image),
    linear-gradient(to bottom right, rgba(255, 255, 255, 0.02), transparent);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 78px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 20px rgba(0, 0, 0, 0.8),
    0 10px 40px -10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.035);
  filter: blur(48px);
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

.image-panel img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  opacity: 0.95;
  filter: saturate(1.45) brightness(1.25) contrast(1.1);
  transition: transform 1s ease;
}

.image-panel:hover img {
  transform: scale(1.1);
}

.hero-art {
  transform: none;
}

.orb {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-a {
  right: 14%;
  bottom: 42%;
  width: 11px;
  height: 11px;
  background: var(--rose);
  box-shadow: 0 0 32px var(--rose);
}

.orb-b {
  left: 18%;
  top: 48%;
  width: 7px;
  height: 7px;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.8);
}

.section-title {
  margin-bottom: 96px;
  text-align: center;
}

.section-title h2 {
  margin-right: auto;
  margin-left: auto;
}

.section-title .eyebrow {
  justify-content: center;
}

.card-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1024px;
  margin: 0 auto;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
}

.glass-card,
.process-card,
.quote-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(30, 35, 45, 0.8) 0%, rgba(15, 18, 25, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    inset 0 0 20px rgba(0, 0, 0, 0.8),
    0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.platform-capability,
.platform-tech-card,
.platform-card,
.flow-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover,
  .process-card:hover,
  .platform-capability:hover,
  .platform-card:hover,
  .platform-tech-card:hover,
  .flow-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(244, 63, 94, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 28px 64px rgba(0, 0, 0, 0.36);
  }
}

.glass-card {
  min-height: 250px;
  padding: 32px;
  text-align: center;
}

.glass-card::after,
.process-card::after {
  display: none;
}

.glass-card:nth-child(2),
.process-card:nth-child(2) {
  border-color: rgba(244, 63, 94, 0.2);
  background: linear-gradient(180deg, rgba(40, 45, 55, 0.9) 0%, rgba(20, 24, 32, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    inset 0 0 30px rgba(244, 63, 94, 0.05),
    0 0 40px -10px rgba(244, 63, 94, 0.15);
}

.bullet-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bullet-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bullet-cloud.compact {
  margin-top: 14px;
}

.process-card {
  min-height: 330px;
  padding: 32px;
}

.process-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.process-card li {
  border-top: 1px solid var(--line-soft);
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 300;
}

.final-block {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 128px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.final-block::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background:
    radial-gradient(circle at 20% 35%, rgba(244, 63, 94, 0.2), transparent 28rem),
    radial-gradient(circle at 78% 58%, rgba(236, 72, 153, 0.12), transparent 24rem);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.final-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(24, 28, 38, 0.9), rgba(8, 10, 15, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 36px 90px rgba(0, 0, 0, 0.45);
}

.final-shell::before,
.final-shell::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.final-shell::before {
  top: 0;
  left: 0;
  border-top: 1px solid rgba(244, 63, 94, 0.72);
  border-left: 1px solid rgba(244, 63, 94, 0.72);
}

.final-shell::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(244, 63, 94, 0.55);
  border-bottom: 1px solid rgba(244, 63, 94, 0.55);
}

.final-copy,
.final-cta {
  position: relative;
  z-index: 1;
}

.final-copy h2 {
  max-width: 720px;
}

.final-proof {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.final-proof p {
  border-left: 1px solid rgba(244, 63, 94, 0.55);
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.final-cta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    rgba(3, 3, 3, 0.35);
}

.final-cta h3 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.final-cta .copy,
.final-cta .lead {
  max-width: 520px;
}

.final-cta .button {
  width: fit-content;
  margin-top: 28px;
}

.legal-page {
  padding: 96px 24px 128px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-shell {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 90% 0, rgba(244, 63, 94, 0.14), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(8, 10, 15, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.legal-header {
  position: relative;
  z-index: 1;
  margin-bottom: 42px;
}

.legal-header h1 {
  max-width: 820px;
}

.legal-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.legal-content h2 {
  margin-top: 26px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-content .copy {
  max-width: none;
  margin-top: 0;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  border-left: 1px solid rgba(244, 63, 94, 0.5);
  padding: 10px 0 10px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.56);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-brand .brand-logo {
  width: min(180px, 58vw);
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.footer-nav a,
.footer-legal a,
.footer-meta {
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.56);
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a.active,
.footer-legal a:hover {
  color: var(--text);
}

.footer-legal {
  justify-content: flex-end;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.platform-hero h1 {
  font-size: clamp(3rem, 5vw, 3.75rem);
}

.platform-redesign-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  min-height: 86vh;
  padding: 96px 24px 110px;
  border-bottom: 1px solid var(--line-soft);
}

.platform-redesign-hero::before {
  content: "";
  position: absolute;
  inset: 8% 3% auto auto;
  width: 48%;
  height: 58%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.2), transparent 66%);
  filter: blur(24px);
  pointer-events: none;
}

.platform-hero-copy,
.platform-hero-visual {
  position: relative;
  z-index: 1;
}

.platform-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.platform-hero-copy .lead {
  max-width: 760px;
}

.platform-hero-visual {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.platform-hero-visual .image-panel {
  grid-column: auto;
  width: min(520px, 86vw);
  height: min(520px, 86vw);
}

.platform-hero-proof {
  width: min(520px, 100%);
  border: 1px solid rgba(244, 63, 94, 0.24);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.12), transparent 48%),
    rgba(10, 12, 18, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.platform-hero-proof p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  font-weight: 500;
}

.platform-hero-proof p + p {
  margin-top: 8px;
}

.platform-band,
.platform-tech {
  position: relative;
  padding: 112px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.platform-capability-grid,
.platform-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.platform-tech-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.platform-tech-card {
  grid-column: span 2;
}

.platform-tech-card:nth-last-child(2),
.platform-tech-card:last-child {
  grid-column: span 3;
}

.platform-capability,
.platform-tech-card,
.platform-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 44%),
    rgba(11, 14, 21, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 22px 56px rgba(0, 0, 0, 0.22);
}

.platform-capability {
  min-height: 170px;
  padding: 24px;
}

.platform-capability::after,
.platform-card::after,
.platform-tech-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.55), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.platform-capability:hover::after,
.platform-card:hover::after,
.platform-tech-card:hover::after {
  opacity: 1;
}

.platform-capability h3 {
  margin-top: 46px;
  max-width: 220px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.platform-section {
  position: relative;
  padding: 92px 24px;
  border-bottom: 1px solid var(--line-soft);
}

.platform-section-shell {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(244, 63, 94, 0.16), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(8, 10, 15, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.platform-section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 100% 96px;
  opacity: 0.55;
}

.platform-section-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.58fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
}

.platform-section.flip .platform-section-header {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.12fr);
}

.platform-section.flip .platform-section-copy {
  order: 2;
}

.platform-section.flip .platform-section-visual {
  order: 1;
}

.platform-section .section-title {
  margin-bottom: 22px;
  text-align: left;
}

.platform-section .section-title h2 {
  margin-left: 0;
  margin-right: 0;
}

.platform-section .section-title .eyebrow {
  justify-content: flex-start;
}

.platform-section .image-panel {
  width: min(320px, 100%);
  height: auto;
  min-height: 260px;
  aspect-ratio: 1;
}

.platform-section-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.platform-section-copy .lead {
  max-width: 760px;
}

.platform-section-visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.platform-section-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(244, 63, 94, 0.12), transparent 64%),
    rgba(255, 255, 255, 0.018);
  transform: rotate(-7deg);
}

.platform-section-visual .image-panel {
  z-index: 1;
}

.platform-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.platform-chip-row.compact {
  margin-top: 14px;
}

.platform-chip-row span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.68);
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
}

.platform-card-grid .platform-card {
  grid-column: span 4;
}

.platform-card-grid[data-card-count="2"] .platform-card {
  grid-column: span 6;
}

.platform-card-grid[data-card-count="4"] .platform-card {
  grid-column: span 3;
}

.platform-card-grid[data-card-count="5"] .platform-card:nth-last-child(-n + 2) {
  grid-column: span 6;
}

.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 45%),
    rgba(9, 12, 18, 0.86);
}

.platform-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.platform-result {
  margin-top: 18px;
  border-left: 1px solid rgba(244, 63, 94, 0.58);
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.6;
}

.platform-card .platform-result {
  margin-top: auto;
  padding-top: 18px;
}

.platform-tech .section-title {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.platform-tech-card {
  min-height: 220px;
  padding: 26px;
}

.platform-tech-card .micro {
  color: var(--rose);
}

.platform-tech-line {
  max-width: 860px;
  margin: 44px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.15;
  text-align: center;
}

.quote-card {
  margin-top: 28px;
  padding: 24px 32px;
}

.quote-card p {
  color: var(--text);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.45;
  font-weight: 500;
}

.flow-block {
  grid-column: span 6;
  max-width: 720px;
  align-self: center;
}

.ux-section .flow-block {
  grid-column: span 5;
}

.ux-section .image-panel {
  grid-column: span 7;
}

.flow-label {
  margin-top: 24px;
  color: var(--rose);
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.flow-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.08), transparent 42%),
    rgba(14, 17, 24, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.22);
}

.flow-card h3 {
  font-size: 1rem;
}

.flow-card .copy {
  margin-top: 10px;
}

.flow-card .flow-label {
  margin-top: 16px;
  color: var(--faint);
}

.empty-hero {
  gap: 48px;
}

.hero-copy {
  grid-column: span 5;
  align-self: center;
}

.clip-slide {
  --slide-y: 40px;
  --slide-s: 0.95;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(var(--slide-y)) scale(var(--slide-s));
  clip-path: inset(100% 0 0 0);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    filter 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1),
    clip-path 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.clip-slide.is-visible,
.is-visible .clip-slide {
  --slide-y: 0px;
  --slide-s: 1;
  opacity: 1;
  filter: blur(0);
  clip-path: inset(-50% -50% -50% -50%);
}

.holodex-container {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.holodex-item {
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes morph-drift {
  0% {
    transform: translate3d(-10%, -6%, 0) rotate(-18deg) scale(0.94);
  }

  50% {
    transform: translate3d(6%, 9%, 0) rotate(24deg) scale(1.06);
  }

  100% {
    transform: translate3d(-4%, 17%, 0) rotate(58deg) scale(1);
  }
}

@keyframes morph-form {
  0%,
  100% {
    border-radius: 54% 46% 58% 42% / 46% 56% 44% 54%;
    clip-path: polygon(44% 0%, 61% 5%, 70% 22%, 83% 30%, 99% 43%, 86% 60%, 76% 83%, 58% 99%, 42% 85%, 20% 79%, 0% 63%, 14% 43%, 21% 20%);
    mask-image: radial-gradient(ellipse at 54% 48%, transparent 0 31%, #000 33% 59%, transparent 61%);
    -webkit-mask-image: radial-gradient(ellipse at 54% 48%, transparent 0 31%, #000 33% 59%, transparent 61%);
  }

  28% {
    border-radius: 42% 58% 48% 52% / 58% 42% 56% 44%;
    clip-path: polygon(35% 2%, 58% 0%, 79% 18%, 92% 35%, 96% 55%, 80% 72%, 62% 94%, 43% 99%, 25% 85%, 6% 70%, 0% 48%, 16% 31%, 21% 13%);
    mask-image: radial-gradient(ellipse at 49% 51%, transparent 0 28%, #000 31% 57%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at 49% 51%, transparent 0 28%, #000 31% 57%, transparent 60%);
  }

  58% {
    border-radius: 62% 38% 44% 56% / 40% 62% 38% 60%;
    clip-path: polygon(48% 0%, 67% 10%, 72% 28%, 91% 38%, 100% 58%, 82% 68%, 73% 90%, 52% 100%, 34% 88%, 14% 79%, 0% 59%, 11% 38%, 28% 18%);
    mask-image: radial-gradient(ellipse at 57% 48%, transparent 0 32%, #000 35% 62%, transparent 64%);
    -webkit-mask-image: radial-gradient(ellipse at 57% 48%, transparent 0 32%, #000 35% 62%, transparent 64%);
  }

  78% {
    border-radius: 50% 50% 63% 37% / 36% 54% 46% 64%;
    clip-path: polygon(43% 1%, 62% 3%, 84% 24%, 96% 42%, 92% 62%, 75% 78%, 59% 99%, 38% 94%, 19% 82%, 1% 61%, 8% 42%, 18% 24%, 28% 9%);
    mask-image: radial-gradient(ellipse at 52% 52%, transparent 0 30%, #000 34% 60%, transparent 63%);
    -webkit-mask-image: radial-gradient(ellipse at 52% 52%, transparent 0 30%, #000 34% 60%, transparent 63%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .morph-shape {
    animation: none;
  }

  .glass-card,
  .process-card,
  .quote-card,
  .platform-capability,
  .platform-tech-card,
  .platform-card,
  .flow-card {
    transition: none;
  }
}

@media (min-width: 768px) {
  .holodex-container:not(.process-grid):not(:hover) > :nth-child(1) {
    transform: translateZ(-80px) rotateY(12deg) translateX(30px) scale(0.9);
    opacity: 0.55;
  }

  .holodex-container:not(.process-grid):not(:hover) > :nth-child(2) {
    transform: translateZ(40px) scale(1.05);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8);
  }

  .holodex-container:not(.process-grid):not(:hover) > :nth-child(3) {
    transform: translateZ(-80px) rotateY(-12deg) translateX(-30px) scale(0.9);
    opacity: 0.55;
  }

  .holodex-container:not(.process-grid):hover .holodex-item {
    transform: translateZ(-40px) scale(0.95);
    opacity: 0.68;
    z-index: 1;
  }

  .holodex-container:not(.process-grid) .holodex-item:hover {
    transform: translateZ(60px) scale(1.05);
    opacity: 1;
    z-index: 20;
    box-shadow: 0 40px 80px -10px rgba(0, 0, 0, 0.9);
    border-color: rgba(244, 63, 94, 0.4);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
      rgba(8, 10, 15, 0.72);
    color: var(--text);
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 16px;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 10px;
    background:
      radial-gradient(circle at 100% 0, rgba(244, 63, 94, 0.14), transparent 18rem),
      rgba(8, 10, 15, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .site-header.menu-open .nav {
    display: grid;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 10px;
    padding: 0 12px;
  }

  .nav a.active::after {
    display: none;
  }

  .nav a.active {
    background: rgba(244, 63, 94, 0.12);
    color: var(--text);
  }

  .mobile-contact {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid rgba(244, 63, 94, 0.48);
    color: var(--rose);
  }

  .section-grid,
  .empty-hero {
    grid-template-columns: 1fr;
  }

  .platform-redesign-hero,
  .platform-section-header {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .platform-section.flip .platform-section-copy,
  .platform-section.flip .platform-section-visual {
    order: initial;
  }

  .hero-copy,
  .flow-block,
  .image-panel {
    grid-column: auto;
  }

  .hero-copy {
    order: -1;
  }

  .image-panel {
    width: min(420px, 82vw);
    height: min(420px, 82vw);
  }

  .section-grid.flip .flow-block {
    order: initial;
  }

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

  .flow-card-grid {
    grid-template-columns: 1fr;
  }

  .platform-capability-grid,
  .platform-tech-grid {
    grid-template-columns: 1fr;
  }

  .platform-card-grid {
    grid-template-columns: 1fr;
  }

  .platform-card-grid .platform-card,
  .platform-card-grid[data-card-count="2"] .platform-card,
  .platform-card-grid[data-card-count="4"] .platform-card,
  .platform-card-grid[data-card-count="5"] .platform-card:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .platform-tech-card,
  .platform-tech-card:nth-last-child(2),
  .platform-tech-card:last-child {
    grid-column: auto;
  }

  .final-shell {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-main,
  .site-header {
    width: 100%;
  }

  .hero,
  .section-block {
    padding: 58px 14px;
  }

  .platform-redesign-hero,
  .platform-band,
  .platform-section,
  .platform-tech,
  .legal-page {
    padding: 72px 14px;
  }

  .final-block {
    padding: 72px 14px;
  }

  .platform-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }

  .platform-card,
  .platform-capability,
  .platform-tech-card,
  .platform-hero-proof {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.2rem);
  }

  .section-title {
    margin-bottom: 48px;
  }

  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .flow-card {
    padding: 18px;
  }

  .final-shell,
  .final-cta {
    padding: 22px;
  }

  .nav a {
    white-space: nowrap;
  }
}
