* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(176, 92, 255, 0.16), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(68, 213, 255, 0.13), transparent 20%),
    radial-gradient(circle at 60% 58%, rgba(176, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.96), rgba(11, 18, 36, 0.98));
  z-index: -2;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.site-bg::before {
  background-image:
    linear-gradient(rgba(68, 213, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 213, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 78%);
  opacity: 0.55;
}

.site-bg::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(68, 213, 255, 0.08) 50%, transparent 100%);
  width: 42%;
  height: 1px;
  top: 9rem;
  left: 58%;
  box-shadow:
    0 58px 0 rgba(68, 213, 255, 0.08),
    -720px 520px 0 rgba(68, 213, 255, 0.06),
    -420px 620px 0 rgba(68, 213, 255, 0.07);
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  position: sticky;
  top: 16px;
  z-index: 20;
  border: 1px solid rgba(31, 55, 97, 0.72);
  border-radius: 20px;
  background: rgba(11, 18, 36, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand-logo {
  width: 220px;
  max-width: 36vw;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--ds-text-muted);
  font-size: 0.96rem;
}

.site-nav a {
  transition: color 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-nav,
.button-secondary {
  background: rgba(16, 26, 49, 0.92);
  border-color: rgba(68, 213, 255, 0.24);
  color: var(--ds-text);
}

.button-primary {
  color: var(--ds-text);
  background: var(--ds-gradient-primary);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 22px 48px rgba(109, 53, 215, 0.24);
}

.hero-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 84px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ds-support-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lede,
.hero-note,
.section-copy,
.section-lede,
.feature-card p,
.principle-card p,
.mission-card p,
.insight-card p,
.signal-list li {
  color: var(--ds-text-muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 64ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-note {
  max-width: 48ch;
  margin: 16px 0 0;
  font-size: 0.98rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 0.98 / 1;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(21, 36, 69, 0.86), rgba(5, 8, 20, 0.95)),
    rgba(11, 18, 36, 0.92);
  border: 1px solid rgba(68, 213, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 36px 90px rgba(0, 0, 0, 0.46);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 12% 12%;
  border-radius: 50%;
  border: 1px solid rgba(176, 92, 255, 0.1);
  opacity: 0.8;
  animation: hero-orbit-ring 16s linear infinite;
}

.hero-card-halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
}

.hero-card-halo-purple {
  width: 210px;
  height: 210px;
  background: var(--ds-glow-purple);
  opacity: 0.95;
  animation: hero-halo-purple-orbit 13s linear infinite;
}

.hero-card-halo-blue {
  width: 180px;
  height: 180px;
  background: var(--ds-glow-blue);
  opacity: 0.9;
  animation: hero-halo-blue-orbit 13s linear infinite reverse;
}

.hero-card-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 232, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 76%);
}

.hero-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(70%, 320px);
  filter: drop-shadow(0 22px 36px rgba(68, 213, 255, 0.16));
  animation: hero-mark-drift 6s ease-in-out infinite;
}

.hero-card-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-card-caption span,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-card-caption span,
.badge {
  color: var(--ds-accent-soft);
  background: rgba(176, 92, 255, 0.12);
  border: 1px solid rgba(176, 92, 255, 0.26);
}

.badge-blue {
  color: var(--ds-support-soft);
  background: rgba(68, 213, 255, 0.12);
  border-color: rgba(68, 213, 255, 0.26);
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.credibility-strip p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 26, 49, 0.78);
  border: 1px solid rgba(31, 55, 97, 0.7);
  color: var(--ds-text-muted);
  text-align: center;
}

.content-section {
  margin-top: 32px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(11, 18, 36, 0.82);
  border: 1px solid rgba(31, 55, 97, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.intro-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-heading {
  max-width: 830px;
}

.section-copy,
.section-lede {
  max-width: 72ch;
}

.section-copy {
  margin-top: 18px;
}

.section-lede {
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

.feature-card,
.principle-card,
.mission-card,
.insight-card,
.contact-panel {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(21, 36, 69, 0.32), rgba(16, 26, 49, 0.65)),
    rgba(16, 26, 49, 0.82);
  border: 1px solid rgba(31, 55, 97, 0.72);
}

.feature-card-large {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(176, 92, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(21, 36, 69, 0.34), rgba(16, 26, 49, 0.72)),
    rgba(16, 26, 49, 0.82);
}

.feature-card h3,
.principle-card h3,
.mission-card h3,
.insight-card h3 {
  margin-top: 14px;
}

.feature-card p,
.principle-card p,
.mission-card p,
.insight-card p {
  margin: 12px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 24px;
}

.split-panel {
  min-width: 0;
}

.principles-panel,
.mission-panel {
  display: grid;
  gap: 16px;
}

.ai-focus-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}

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

.signal-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 26, 49, 0.78);
  border: 1px solid rgba(31, 55, 97, 0.72);
}

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

.insight-meta {
  margin: 0;
  color: var(--ds-support-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(68, 213, 255, 0.12), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(176, 92, 255, 0.14), transparent 30%),
    rgba(11, 18, 36, 0.84);
}

.contact-panel {
  padding: 30px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@keyframes hero-mark-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.03);
  }
}

@keyframes hero-halo-purple-orbit {
  0% {
    transform: rotate(0deg) translateX(118px) scale(0.95);
    opacity: 0.75;
  }

  25% {
    transform: rotate(90deg) translateX(132px) scale(1.08);
    opacity: 1;
  }

  50% {
    transform: rotate(180deg) translateX(118px) scale(0.92);
    opacity: 0.82;
  }

  75% {
    transform: rotate(270deg) translateX(132px) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) translateX(118px) scale(0.95);
    opacity: 0.75;
  }
}

@keyframes hero-halo-blue-orbit {
  0% {
    transform: rotate(180deg) translateX(128px) scale(0.9);
    opacity: 0.7;
  }

  25% {
    transform: rotate(270deg) translateX(142px) scale(1.04);
    opacity: 0.96;
  }

  50% {
    transform: rotate(360deg) translateX(128px) scale(0.9);
    opacity: 0.78;
  }

  75% {
    transform: rotate(450deg) translateX(142px) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: rotate(540deg) translateX(128px) scale(0.9);
    opacity: 0.7;
  }
}

@keyframes hero-orbit-ring {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.45;
  }

  50% {
    transform: rotate(180deg) scale(1.025);
    opacity: 0.75;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card::before,
  .hero-card,
  .hero-card-halo-purple,
  .hero-card-halo-blue,
  .hero-mark {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    flex-wrap: wrap;
  }

  .hero-section,
  .split-section,
  .ai-focus-layout,
  .services-grid,
  .insights-grid,
  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
    padding-bottom: 48px;
  }

  .site-header,
  .content-section,
  .contact-panel {
    padding: 20px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .brand-logo {
    width: 184px;
  }

  .hero-section {
    padding-top: 54px;
  }

  .hero-card {
    aspect-ratio: 1 / 1;
  }

  .hero-card-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  h2 {
    max-width: 12ch;
  }
}
