:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #0d0d14;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f5f3ff;
  --muted: #b8b4c9;
  --subtle: #7f7a91;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --cyan: #8ee9ff;
  --green: #94f2c4;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.42);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% -12%, rgba(139, 92, 246, 0.2), transparent 34rem),
    linear-gradient(180deg, #0b0a12 0%, var(--bg) 46%, #050507 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

img,
svg {
  display: block;
}

.site-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
}

.hero,
h1,
h2,
h3,
.eyebrow,
.section-kicker,
.cta {
  font-family:
    Sora, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a,
.footer-links a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

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

.hero {
  display: grid;
  place-items: center;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(92px, 13vh, 156px) 0;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 780px;
}

.hero-logo {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.03),
    0 0 80px rgba(139, 92, 246, 0.34);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--purple-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.25vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.35vw, 1.26rem);
  font-weight: 500;
  line-height: 1.45;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(167, 139, 250, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.22), rgba(139, 92, 246, 0.12)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 52px rgba(139, 92, 246, 0.22);
  color: #fff;
  font-weight: 680;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.85);
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.28), rgba(139, 92, 246, 0.16)),
    rgba(255, 255, 255, 0.06);
}

.cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-band {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--line-soft);
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.25rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.02;
}

.vision-copy {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}

.vision-copy p {
  margin: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.principle-card {
  min-height: 254px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-bright);
}

.principle-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.principle-card h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line-soft);
  color: var(--subtle);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

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

  .hero {
    padding-block: clamp(82px, 12vh, 132px);
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 20px 0 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.82rem;
  }

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

  .hero {
    min-height: calc(100svh - 76px);
    padding-block: 74px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
    line-height: 0.98;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .section-band {
    padding: 76px 0;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 210px;
  }

  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

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