:root {
  color-scheme: dark;
  --ink: #eef9ff;
  --muted: #aebfca;
  --deep: #04070d;
  --panel: rgba(7, 16, 25, 0.86);
  --line: rgba(134, 223, 255, 0.2);
  --cyan: #7ee7ff;
  --cyan-strong: #25c9f3;
  --violet: #d099ff;
  --amber: #ffd37c;
  --mint: #89f0c3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(126, 231, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 231, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, #07101a, #04070d 58%, #070913);
  background-size: 58px 58px, 58px 58px, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 170px rgba(0, 0, 0, 0.54);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(126, 231, 255, 0.16);
  background: rgba(3, 8, 14, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(126, 231, 255, 0.5);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(18, 61, 80, 0.28);
  box-shadow: inset 0 0 18px rgba(126, 231, 255, 0.08), 0 0 20px rgba(37, 201, 243, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.brand-name {
  display: grid;
  gap: 1px;
  text-transform: uppercase;
}

.brand-name strong {
  font-size: 14px;
  line-height: 1;
}

.brand-name small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: rgba(238, 249, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

nav a:hover {
  color: #fff;
  background: rgba(126, 231, 255, 0.08);
}

.nav-play,
.mobile-play {
  color: #031118;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(37, 201, 243, 0.22);
}

.mobile-play {
  display: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 88px) 52px;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 12, 0.98) 0%, rgba(3, 10, 17, 0.93) 36%, rgba(3, 9, 16, 0.52) 68%, rgba(2, 6, 11, 0.28) 100%),
    linear-gradient(180deg, rgba(1, 4, 8, 0.14), rgba(2, 7, 12, 0.84));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(50px, 7.8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 22px 54px rgba(0, 0, 0, 0.74);
}

h2 {
  font-size: clamp(31px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.14;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: #c6d5de;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.56;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.button.primary {
  border-color: transparent;
  color: #031118;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 18px 42px rgba(37, 201, 243, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(7, 17, 27, 0.74);
  backdrop-filter: blur(12px);
}

.button:hover {
  filter: brightness(1.08);
}

.hero-stats {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 0;
  padding: 14px 13px;
  border-top: 1px solid rgba(126, 231, 255, 0.38);
  background: rgba(5, 15, 24, 0.62);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p,
.feature-grid p,
.showcase-copy p,
.faq p,
.play-band p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

.feature-grid article {
  min-height: 278px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.feature-grid article:nth-child(2) {
  border-top-color: rgba(255, 211, 124, 0.46);
}

.feature-grid article:nth-child(3) {
  border-top-color: rgba(137, 240, 195, 0.46);
}

.feature-grid article:nth-child(4) {
  border-top-color: rgba(208, 153, 255, 0.46);
}

.feature-index {
  display: block;
  margin-bottom: 54px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 11px;
}

.feature-grid p {
  font-size: 15px;
}

.showcase {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: stretch;
  padding: 0;
  background: #070c13;
  border-top: 1px solid rgba(126, 231, 255, 0.14);
  border-bottom: 1px solid rgba(126, 231, 255, 0.14);
}

.showcase-media {
  min-height: 620px;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.showcase-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 96px);
  background:
    linear-gradient(180deg, rgba(126, 231, 255, 0.04), transparent 38%),
    #080e17;
}

.showcase-copy h2 {
  margin-bottom: 20px;
}

.showcase-copy ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  color: #c5d6df;
}

.showcase-copy li {
  position: relative;
  padding-left: 18px;
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
}

.showcase-copy .button {
  justify-self: start;
}

.progression {
  display: grid;
  gap: 38px;
}

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

.progression ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(126, 231, 255, 0.14);
  border: 1px solid rgba(126, 231, 255, 0.14);
}

.progression li {
  min-height: 166px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 23px;
  background: #070d15;
}

.progression strong {
  color: var(--cyan);
  font-size: 17px;
}

.progression span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq {
  display: grid;
  gap: 36px;
  padding-top: 30px;
}

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

.faq article {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 211, 124, 0.32);
}

.faq h3 {
  margin-bottom: 11px;
}

.faq p {
  font-size: 15px;
}

.play-band {
  width: min(1180px, calc(100% - 40px));
  min-height: 250px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(126, 231, 255, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(5, 15, 24, 0.96), rgba(16, 12, 30, 0.82)),
    url("./assets/nexus-command-screen.png") right center / cover;
}

.play-band h2 {
  margin-bottom: 10px;
}

footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(238, 249, 255, 0.62);
  font-size: 13px;
}

footer > div {
  display: grid;
  gap: 4px;
}

footer strong {
  color: var(--ink);
}

footer a {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .hero {
    min-height: 86svh;
  }

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

  .feature-grid article {
    min-height: 230px;
  }

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

  .showcase-media {
    min-height: 440px;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    min-height: 70px;
    padding: 12px 18px;
  }

  .site-header nav {
    display: none;
  }

  .mobile-play {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 17px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
  }

  .hero {
    min-height: 82svh;
    min-width: 0;
    padding: 114px 18px 42px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 12, 0.97), rgba(3, 9, 16, 0.72)),
      linear-gradient(180deg, rgba(1, 4, 8, 0.12), rgba(2, 7, 12, 0.9));
  }

  h1 {
    max-width: 520px;
    font-size: clamp(43px, 13vw, 72px);
    line-height: 0.94;
    overflow-wrap: break-word;
  }

  .lead {
    width: 100%;
    max-width: 520px;
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .hero-stats {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

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

  .showcase-media {
    min-height: 320px;
  }

  .showcase-copy {
    padding: 46px 18px 56px;
  }

  .progression ol,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .progression li {
    min-height: auto;
  }

  .play-band {
    width: min(100% - 32px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    width: min(100% - 32px, 1180px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 34px 0;
  }
}

@media (max-width: 500px) {
  .brand-name small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    gap: 5px;
  }

  .hero-stats div {
    padding: 11px 7px;
  }

  .hero-stats dt {
    font-size: 15px;
  }

  .hero-stats dd {
    font-size: 10px;
    line-height: 1.25;
  }

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

  .feature-grid article {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 30px;
  }

  .showcase-media {
    min-height: 250px;
  }

  .play-band .button {
    width: 100%;
  }
}

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