:root {
  --bg: #F7F6FB;
  --surface: #FFFFFF;
  --surface-muted: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #000000;
  --body: rgba(0, 0, 0, 0.84);
  --muted: rgba(0, 0, 0, 0.66);
  --dim: rgba(0, 0, 0, 0.48);
  --line: rgba(0, 0, 0, 0.1);
  --purple-line: rgba(94, 23, 235, 0.18);
  --primary: #5E17EB;
  --primary-hover: #5500FF;
  --primary-muted: #652CD6;
  --primary-soft: rgba(94, 23, 235, 0.14);
  --pale-purple: #652CD6;
  --crisis: #652CD6;
  --crisis-soft: rgba(101, 44, 214, 0.42);
  --max: 1280px;
  --nav-height: 64px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-hover: 180ms;
  --duration-standard: 800ms;
  --duration-premium: 1200ms;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(150deg, rgba(94, 23, 235, 0.08), transparent 22%),
    linear-gradient(20deg, rgba(94, 23, 235, 0.04), transparent 28%),
    var(--surface);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

figure {
  margin: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: #FFFFFF;
}

.shape-icon {
  --icon-size: 42px;
  position: relative;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  border: 1px solid var(--purple-line);
  border-radius: 12px;
  background: rgba(94, 23, 235, 0.1);
  box-shadow: inset 0 0 18px rgba(101, 44, 214, 0.1);
  color: var(--pale-purple);
  transition: transform var(--duration-hover) var(--ease-premium), border-color var(--duration-hover) var(--ease-premium);
}

.shape-icon::before,
.shape-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.shape-icon::before {
  inset: 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.9;
}

.shape-icon::after {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  transform: translate(-50%, -50%);
}

.shape-icon.small {
  --icon-size: 34px;
  border-radius: 10px;
}

.section-shell {
  width: min(calc(100% - 128px), var(--max));
  margin-inline: auto;
}

.site-header {
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --purple-line: rgba(94, 23, 235, 0.38);
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  display: grid;
  width: min(calc(100% - 32px), 1280px);
  min-height: var(--nav-height);
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 32px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14), 0 0 20px rgba(94, 23, 235, 0.15);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    min-height var(--duration-hover) var(--ease-premium),
    padding var(--duration-hover) var(--ease-premium),
    border-color var(--duration-hover) var(--ease-premium),
    background var(--duration-hover) var(--ease-premium),
    box-shadow var(--duration-hover) var(--ease-premium);
  will-change: min-height, padding, background;
}

.site-header.is-scrolled {
  min-height: 56px;
  padding-block: 8px;
  border-color: rgba(94, 23, 235, 0.42);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 24px rgba(94, 23, 235, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  width: 154px;
  height: auto;
  transition: width var(--duration-hover) var(--ease-premium), opacity var(--duration-hover) var(--ease-premium);
}

.site-header.is-scrolled .brand img {
  width: 142px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color var(--duration-hover) var(--ease-premium);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pale-purple);
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition:
    opacity var(--duration-hover) var(--ease-premium),
    transform var(--duration-hover) var(--ease-premium);
}

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

.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  transition:
    border-color var(--duration-hover) var(--ease-premium),
    background var(--duration-hover) var(--ease-premium),
    box-shadow var(--duration-hover) var(--ease-premium),
    transform var(--duration-hover) var(--ease-premium);
  transform: translateZ(0);
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius-sm) - 1px);
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition:
    opacity var(--duration-hover) var(--ease-premium),
    transform var(--duration-hover) var(--ease-premium);
}

.button:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
  box-shadow: 0 0 20px rgba(85, 0, 255, 0.6);
  transform: translateY(-1px);
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 0.14;
  transform: scaleX(1);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.footer-inner a:focus-visible {
  outline: 2px solid var(--pale-purple);
  outline-offset: 4px;
}

.button-secondary {
  background: transparent;
  color: var(--pale-purple);
}

.button-secondary::before {
  background: rgba(94, 23, 235, 0.22);
}

.button-secondary:hover {
  background: rgba(94, 23, 235, 0.1);
}

.nav-cta {
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 25px;
}

.page-main {
  padding-top: 120px;
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: 64px;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
}

h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

p {
  color: var(--muted);
}

.center-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.center-copy h1,
.center-copy h2,
.center-copy p {
  width: 100%;
  margin-inline: auto;
}

.center-copy p,
.page-hero p,
.section-heading p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow,
.pill,
.proof-label,
.danger-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--pale-purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.pill,
.danger-pill {
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.08);
}

.danger-pill {
  border-color: rgba(101, 44, 214, 0.8);
  background: rgba(101, 44, 214, 0.12);
  color: var(--text);
}

.section-block {
  padding-block: 80px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.home-hero {
  display: grid;
  gap: 74px;
  padding-top: 28px;
}

.hero-copy h1 {
  max-width: 720px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.action-row.left {
  justify-content: flex-start;
}

.glass-panel,
.glass-card {
  border: 1px solid var(--line);
  background: var(--surface-muted);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.glass-panel {
  border-radius: var(--radius-lg);
}

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 32px;
  transition:
    border-color var(--duration-hover) var(--ease-premium),
    box-shadow var(--duration-hover) var(--ease-premium),
    transform var(--duration-hover) var(--ease-premium);
}

@supports selector(.glass-card:has(a)) {
  .glass-card:has(a.button):hover,
  .glass-card:has(a.button):focus-within {
    border-color: rgba(94, 23, 235, 0.5);
    box-shadow: inset 0 0 40px rgba(85, 0, 255, 0.05), 0 18px 34px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
  }

  .glass-card:has(a.button):hover .shape-icon,
  .glass-card:has(a.button):focus-within .shape-icon {
    transform: translateY(-2px);
  }
}

.hero-image {
  min-height: 460px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16), 0 0 60px rgba(94, 23, 235, 0.16);
  transform-origin: center bottom;
}

.motion-word {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.motion-ready .motion-media,
.motion-ready .motion-card,
.motion-ready .motion-copy,
.motion-ready .proof-logo,
.motion-ready .site-footer {
  will-change: transform, opacity, clip-path, filter;
}

.motion-ready .hero-image,
.motion-ready .image-card,
.motion-ready .split-card,
.motion-ready .media-panel {
  contain: paint;
}

.hero-image img,
.media-panel img,
.image-card img,
.split-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 24px;
}

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

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.goal-grid,
.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-icon {
  margin-bottom: 28px;
  color: var(--pale-purple);
}

.detail-card,
.fit-card,
.goal-card,
.contact-card {
  display: grid;
  align-content: start;
}

.number-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.09);
  color: var(--pale-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.fit-card {
  min-height: 260px;
}

.fit-card h3,
.contact-card h3 {
  font-size: 24px;
}

.contact-card .button {
  width: 100%;
  margin-top: 20px;
}

.goal-card,
.lane-grid .glass-card {
  min-height: 270px;
}

.goal-card h3,
.lane-grid h3 {
  font-size: 25px;
}

.faq-panel {
  display: grid;
  gap: 34px;
  padding: 48px;
}

.faq-panel .section-heading {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid details {
  min-height: 160px;
}

.faq-grid summary {
  list-style: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
  cursor: pointer;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--pale-purple);
  font-family: var(--font-body);
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin-top: 18px;
  margin-bottom: 0;
}

.proof-section {
  border-block: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.56);
}

.proof-label {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  color: var(--dim);
  text-align: center;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.proof-logo {
  display: inline-flex;
  width: 152px;
  height: 66px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.proof-logo img {
  display: block;
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.proof-logo-ft {
  width: 194px;
}

.proof-logo-ft img {
  max-height: 22px;
}

.proof-logo-techcrunch {
  width: 128px;
}

.proof-logo-techcrunch img {
  max-height: 38px;
}

.proof-logo-forbes {
  width: 128px;
}

.proof-logo-guardian {
  width: 142px;
}

.proof-logo-bbc {
  width: 108px;
}

.proof-logo-bbc img {
  max-height: 24px;
}

.proof-logo-vanguard {
  width: 154px;
}

.proof-logo-punch {
  width: 132px;
}

.cta-band {
  --text: #FFFFFF;
  --body: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  background: #000000;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(94, 23, 235, 0.14), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.page-hero {
  padding-block: 64px 46px;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.process-panel {
  display: grid;
  min-height: 300px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
  padding: 54px;
}

.process-panel article {
  display: grid;
  justify-items: center;
  text-align: center;
}

.process-panel .shape-icon {
  display: grid;
  --icon-size: 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
}

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

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.feature-card {
  min-height: 280px;
}

.image-card {
  padding: 0;
}

.image-card img {
  height: 270px;
}

.image-card div {
  padding: 28px;
}

.signal-bars {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(94, 23, 235, 0.05);
}

.signal-bars span {
  height: 8px;
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.18);
}

.signal-bars span:nth-child(1) {
  width: 70%;
}

.signal-bars span:nth-child(2) {
  width: 46%;
}

.signal-bars span:nth-child(3) {
  width: 82%;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.split-card img {
  min-height: 320px;
  border-radius: 999px;
  border: 1px solid var(--purple-line);
  filter: grayscale(0.8) contrast(1.08);
}

.check-list,
.icon-list,
.level-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.icon-list li {
  position: relative;
  padding-left: 28px;
  color: var(--body);
}

.check-list li::before,
.icon-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--pale-purple);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(94, 23, 235, 0.18);
}

.timeline {
  position: relative;
  display: grid;
  gap: 74px;
  max-width: 920px;
  margin: 58px auto 0;
  --timeline-progress: 1;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--primary);
  transform: scaleY(var(--timeline-progress));
  transform-origin: top center;
}

.timeline-card {
  position: relative;
  width: min(42%, 390px);
  transition: opacity var(--duration-hover) var(--ease-premium);
}

.timeline-card.left {
  justify-self: start;
  text-align: right;
}

.timeline-card.right {
  justify-self: end;
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--pale-purple);
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 20px rgba(85, 0, 255, 0.9);
}

.timeline-card.left::after {
  right: -78px;
}

.timeline-card.right::after {
  left: -78px;
}

.timeline-card span {
  color: var(--pale-purple);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.solution-card {
  min-height: 500px;
}

.solution-card .button {
  width: 100%;
  margin-top: 30px;
}

.quote {
  margin-block: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--pale-purple);
  color: var(--text);
  font-style: italic;
}

.featured-card {
  border-color: rgba(101, 44, 214, 0.45);
}

.combo-panel {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 54px;
  align-items: center;
  padding: 64px;
}

.mini-grid,
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.mini-grid span,
.stat-row span {
  display: block;
  padding: 16px;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius-sm);
  background: rgba(94, 23, 235, 0.08);
  color: var(--body);
  font-size: 14px;
  text-transform: uppercase;
}

.price-card {
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  padding: 32px;
  border-radius: var(--radius-sm);
  background: #000000;
}

.price-card strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
}

.price-card strong span {
  font-family: var(--font-body);
  font-size: 15px;
}

.service-matrix {
  display: grid;
  gap: 34px;
  padding: 48px;
}

.service-matrix .section-heading {
  margin-bottom: 0;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.matrix-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 210px;
  padding: 24px;
  background: #FFFFFF;
}

.matrix-grid strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.12;
}

.matrix-grid span {
  color: var(--muted);
}

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

.matrix-grid.compact article {
  min-height: 160px;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 54px;
}

.service-split > .button {
  width: fit-content;
}

.partner-grid {
  display: grid;
  gap: 14px;
}

.partner-grid article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--purple-line);
  border-radius: var(--radius-sm);
  background: rgba(94, 23, 235, 0.08);
}

.partner-grid strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.1;
}

.partner-grid span {
  color: var(--muted);
}

.precision-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 40px;
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
}

.media-panel figcaption {
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.media-panel .shape-icon {
  margin-bottom: 12px;
}

.media-panel strong,
.media-panel small {
  display: block;
}

.media-panel strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 26px;
}

.crisis-page {
  background:
    linear-gradient(145deg, rgba(101, 44, 214, 0.12), transparent 28%),
    var(--bg);
}

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

.heatmap-card,
.statement-card {
  min-height: 500px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.card-title-row .shape-icon {
  flex: 0 0 auto;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-block: 42px 32px;
}

.heatmap span {
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.08);
}

.heatmap span:nth-child(2),
.heatmap span:nth-child(3),
.heatmap span:nth-child(6),
.heatmap span:nth-child(7),
.heatmap span:nth-child(11) {
  background: var(--crisis-soft);
}

.heatmap span:nth-child(8),
.heatmap span:nth-child(12) {
  background: rgba(85, 0, 255, 0.26);
}

.heatmap .critical {
  background: var(--primary-muted);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.heatmap-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--primary-hover);
  font-weight: 700;
}

.heatmap-footer strong {
  color: var(--muted);
  text-transform: uppercase;
}

.document-preview {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.document-preview strong {
  color: var(--text);
}

.document-preview span {
  height: 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.document-preview span:nth-of-type(1) {
  width: 75%;
}

.document-preview span:nth-of-type(3) {
  width: 88%;
}

.document-preview span:nth-of-type(4) {
  width: 68%;
}

.document-preview code {
  margin-top: 10px;
  padding: 12px;
  background: rgba(101, 44, 214, 0.12);
  color: var(--pale-purple);
}

.pale-button {
  border-color: var(--pale-purple);
  background: var(--pale-purple);
  color: var(--text);
}

.level-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.level-list span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--dim);
}

.level-list li:nth-child(2) span {
  background: var(--primary-muted);
}

.level-list li:nth-child(3) span {
  background: var(--primary-hover);
}

.contact-main {
  position: relative;
}

.contact-hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 70px;
  padding-top: 68px;
}

.contact-form {
  display: grid;
  max-width: 670px;
  gap: 28px;
  margin-inline: auto;
  padding: 48px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  outline: none;
  padding: 14px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 15px rgba(94, 23, 235, 0.3);
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.legal-section {
  padding-top: 34px;
}

.legal-content {
  display: grid;
  max-width: 900px;
  gap: 34px;
  padding: 54px;
}

.legal-content article {
  display: grid;
  gap: 10px;
}

.legal-content h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.legal-content p {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--pale-purple);
  font-weight: 800;
}

.legal-updated {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-grid .shape-icon {
  margin-bottom: 18px;
  color: var(--pale-purple);
}

.site-footer {
  --text: #FFFFFF;
  --body: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.7);
  --dim: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --purple-line: rgba(94, 23, 235, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding-block: 70px;
  text-align: center;
}

.footer-inner img {
  width: 190px;
  height: auto;
}

.footer-inner p {
  max-width: 440px;
  margin-bottom: 0;
}

.footer-email {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid var(--purple-line);
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.08);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.footer-inner nav a,
.footer-inner a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.footer-inner nav a:hover,
.footer-inner a:hover {
  color: var(--pale-purple);
}

.footer-inner small {
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1040px) {
  .section-shell {
    width: min(calc(100% - 48px), var(--max));
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 18px;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--purple-line);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 0 20px rgba(94, 23, 235, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .card-grid.three,
  .fit-grid,
  .goal-grid,
  .lane-grid,
  .faq-grid,
  .process-panel,
  .ecosystem-feature-grid,
  .solutions-grid,
  .crisis-grid,
  .trust-grid,
  .precision-grid,
  .matrix-grid,
  .matrix-grid.compact,
  .service-split,
  .combo-panel {
    grid-template-columns: 1fr;
  }

  .fit-card,
  .goal-card,
  .lane-grid .glass-card,
  .faq-grid details,
  .matrix-grid article {
    min-height: 0;
  }

  .service-split > .button {
    width: 100%;
  }

  .span-2,
  .span-3 {
    grid-column: auto;
  }

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

  .timeline::before {
    left: 8px;
  }

  .timeline-card,
  .timeline-card.left,
  .timeline-card.right {
    width: auto;
    margin-left: 40px;
    text-align: left;
  }

  .timeline-card.left::after,
  .timeline-card.right::after {
    left: -40px;
    right: auto;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    top: 10px;
    right: 8px;
    left: 8px;
    width: auto;
    min-height: 58px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    transform: none;
  }

  .brand img {
    width: 122px;
  }

  .page-main {
    padding-top: 92px;
  }

  .section-block {
    padding-block: 56px;
  }

  .page-hero,
  .contact-hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 36px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .center-copy p,
  .page-hero p,
  .section-heading p {
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 342px;
  }

  .home-hero {
    gap: 48px;
  }

  .hero-image {
    min-height: 300px;
  }

  .action-row,
  .action-row.left {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .glass-card,
  .contact-form,
  .combo-panel,
  .service-matrix,
  .service-split,
  .faq-panel,
  .legal-content,
  .process-panel {
    padding: 24px;
  }

  .fit-grid,
  .matrix-grid {
    gap: 14px;
    border: 0;
    background: transparent;
  }

  .matrix-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .legal-content h2 {
    font-size: 26px;
  }

  .proof-list {
    display: grid;
    max-width: 344px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    justify-items: center;
    margin-inline: auto;
  }

  .proof-logo {
    width: 100%;
    max-width: none;
    height: 58px;
    padding: 10px 12px;
  }

  .proof-logo img {
    max-height: 30px;
  }

  .proof-logo-ft {
    max-width: none;
  }

  .proof-logo-ft img {
    max-height: 18px;
  }

  .proof-logo-bbc {
    max-width: none;
  }

  .proof-logo-bbc img {
    max-height: 20px;
  }

  .proof-logo-punch {
    grid-column: 1 / -1;
    max-width: 165px;
  }

  .mini-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .heatmap span {
    min-height: 36px;
  }

  .heatmap-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-word,
  .hero-image,
  .glass-card,
  .proof-logo,
  .timeline-card,
  .site-footer {
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }

  .timeline {
    --timeline-progress: 1 !important;
  }
}
