:root {
  color-scheme: dark;
  --background: #090b12;
  --background-soft: #0e111b;
  --surface: rgba(18, 22, 35, 0.78);
  --surface-solid: #121624;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f8fc;
  --text-soft: #a8afc2;
  --text-faint: #737b91;
  --purple: #9b7cff;
  --purple-light: #b79fff;
  --blue: #60a5fa;
  --green: #45d6a8;
  --shell-width: 1180px;
  --large-radius: 28px;
  --medium-radius: 20px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(123, 91, 255, 0.08),
      transparent 30rem
    ),
    var(--background);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text);
  color: var(--background);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(9, 11, 18, 0.7);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(9, 11, 18, 0.92);
}

.navigation {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(183, 159, 255, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(155, 124, 255, 0.25),
      rgba(155, 124, 255, 0.05)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 28px rgba(80, 50, 180, 0.22);
  color: var(--purple-light);
  font-size: 19px;
  font-weight: 900;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 15px;
}

.brand-name span {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.primary-navigation a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.menu-line {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button:focus-visible,
.primary-navigation a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 4px;
}

.button-primary {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  box-shadow: 0 15px 38px rgba(127, 91, 255, 0.28);
  color: #0b0815;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
}

.button-light {
  background: var(--text);
  color: var(--background);
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 176px 0 108px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    );
  background-position: center;
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero-glow-left {
  top: 80px;
  left: -220px;
  width: 520px;
  height: 520px;
  background: rgba(88, 70, 205, 0.11);
}

.hero-glow-right {
  top: 170px;
  right: -180px;
  width: 440px;
  height: 440px;
  background: rgba(70, 130, 205, 0.08);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 86px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(155, 124, 255, 0.2);
  border-radius: 100px;
  background: rgba(155, 124, 255, 0.07);
  letter-spacing: 0.08em;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 14px var(--purple-light);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.hero h1 strong {
  display: block;
  background:
    linear-gradient(
      100deg,
      #ffffff 5%,
      #b9a8ff 56%,
      #78baf8 100%
    );
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 650;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
}

.overview-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--large-radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      transparent 48%
    ),
    rgba(15, 18, 29, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.overview-card::after {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(155, 124, 255, 0.12);
  content: "";
  filter: blur(40px);
}

.overview-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.building-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.building-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.overview-feature {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.signal-icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex: none;
  align-items: end;
  justify-content: center;
  gap: 4px;
  padding-bottom: 13px;
  border-radius: 15px;
  background: rgba(155, 124, 255, 0.12);
}

.signal-icon span {
  width: 4px;
  border-radius: 4px;
  background: var(--purple-light);
}

.signal-icon span:nth-child(1) {
  height: 9px;
}

.signal-icon span:nth-child(2) {
  height: 17px;
}

.signal-icon span:nth-child(3) {
  height: 13px;
}

.overview-feature small {
  display: block;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-feature strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.metrics article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.metrics strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.metrics span {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 650;
}

.project-summary {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 4px 3px;
}

.project-summary article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-summary i {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.project-summary i.purple {
  background: var(--purple);
  color: var(--purple);
}

.project-summary i.blue {
  background: var(--blue);
  color: var(--blue);
}

.project-summary i.green {
  background: var(--green);
  color: var(--green);
}

.project-summary strong {
  display: block;
  font-size: 13px;
}

.project-summary span {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
}

.section {
  padding: 110px 0;
}

.introduction {
  padding-top: 85px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}

.introduction-layout,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 90px;
}

.section-heading {
  margin-bottom: 46px;
}

.section h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.introduction-layout > p,
.section-heading > p,
.approach-copy > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.projects-section {
  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(91, 77, 180, 0.08),
      transparent 30rem
    );
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.project-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--medium-radius);
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.04),
      transparent 45%
    ),
    var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.project-card.featured {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(155, 124, 255, 0.13),
      transparent 18rem
    ),
    var(--surface);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 15px;
  font-weight: 900;
}

.purple-icon {
  background: rgba(155, 124, 255, 0.1);
  color: var(--purple-light);
}

.blue-icon {
  background: rgba(96, 165, 250, 0.1);
  color: var(--blue);
}

.green-icon {
  background: rgba(69, 214, 168, 0.1);
  color: var(--green);
}

.card-top > span {
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-content > p {
  margin: 0 0 10px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-content h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.card-content > span {
  display: block;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 700;
}

.approach-section {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(440px, 1fr);
  gap: 100px;
}

.approach-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.approach-copy > p:last-child {
  max-width: 520px;
  margin-top: 26px;
}

.principles {
  border-top: 1px solid var(--border);
}

.principle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 31px 0;
  border-bottom: 1px solid var(--border);
}

.principle > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.principle h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.principle p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.roadmap-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 25px;
  padding: 31px 0;
  border-bottom: 1px solid var(--border);
}

.roadmap-number {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 800;
}

.roadmap-list li.current .roadmap-number {
  color: var(--purple-light);
}

.roadmap-list small {
  color: var(--text-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-list li.current small {
  color: var(--green);
}

.roadmap-list h3 {
  margin: 5px 0 0;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.roadmap-list p {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.support-section {
  padding-top: 40px;
}

.support-card {
  display: flex;
  min-height: 330px;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding: 52px;
  overflow: hidden;
  border: 1px solid rgba(183, 159, 255, 0.22);
  border-radius: var(--large-radius);
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(155, 124, 255, 0.22),
      transparent 25rem
    ),
    linear-gradient(
      135deg,
      rgba(113, 79, 220, 0.28),
      rgba(27, 31, 48, 0.72)
    ),
    var(--surface-solid);
  box-shadow: var(--shadow);
}

.support-card h2 {
  max-width: 700px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.support-card p:last-child {
  max-width: 630px;
  margin: 22px 0 0;
  color: #c4c8d5;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--border);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.footer-layout > p {
  margin: 0;
  color: var(--text-faint);
  font-size: 12px;
}

.footer-layout > p:last-child {
  justify-self: end;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-layout,
  .introduction-layout,
  .section-heading,
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .project-card.featured {
    grid-column: 1 / -1;
  }

  .approach-copy {
    position: static;
  }
}

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

  .navigation {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] .menu-line:first-of-type {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-line:last-of-type {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(14, 17, 27, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-navigation.open {
    display: grid;
  }

  .primary-navigation a {
    padding: 12px;
    border-radius: 10px;
  }

  .primary-navigation a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .hero {
    min-height: auto;
    padding: 125px 0 82px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-summary {
    font-size: 16px;
  }

  .section {
    padding: 82px 0;
  }

  .introduction {
    padding-top: 70px;
  }

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

  .project-card.featured {
    grid-column: auto;
  }

  .project-card {
    min-height: 380px;
  }

  .support-card {
    min-height: 390px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    padding: 34px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout > p:last-child {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .roadmap-list li {
    grid-template-columns: 46px 1fr;
    gap: 15px;
  }

  .project-card {
    padding: 23px;
  }

  .support-card {
    padding: 27px;
  }
}

@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;
  }
}
