:root {
  color-scheme: dark;
  --bg: #030813;
  --panel: rgba(7, 18, 34, 0.78);
  --panel-strong: rgba(10, 27, 48, 0.92);
  --text: #f5f8ff;
  --muted: #aab8cc;
  --line: rgba(114, 191, 255, 0.24);
  --blue: #168cff;
  --cyan: #20d2ff;
  --green: #42f2b0;
  --steel: #74849b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(32, 210, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 78% 22%, rgba(66, 242, 176, 0.11), transparent 22rem),
    linear-gradient(145deg, #02050b 0%, var(--bg) 46%, #061322 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

.matrix {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 52px;
  min-height: 48px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(32, 210, 255, 0.42));
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

nav a,
.button,
.contact-link {
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--cyan);
}

main {
  position: relative;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: 112px clamp(18px, 5vw, 72px) 64px;
  place-items: center;
}

.hero-grid {
  display: grid;
  align-items: center;
  width: min(1180px, 100%);
  gap: clamp(36px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.92fr);
}

.hero-copy {
  min-width: 0;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #001120;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-mark {
  position: relative;
  isolation: isolate;
}

.hero-mark::before {
  position: absolute;
  inset: 14% 8%;
  z-index: -1;
  content: "";
  background: rgba(22, 140, 255, 0.18);
  border: 1px solid rgba(32, 210, 255, 0.18);
  transform: skewY(-7deg);
  filter: blur(2px);
}

.hero-mark img {
  display: block;
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 32px 60px rgba(14, 120, 255, 0.24));
}

.band,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
}

.cards,
.timeline {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 16px;
}

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

.card,
.timeline div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  min-height: 230px;
  padding: 24px;
}

.card-index {
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.card p,
.timeline span {
  color: var(--muted);
  line-height: 1.6;
}

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

.timeline div {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 24px;
}

.timeline strong {
  color: var(--cyan);
  font-size: 1.08rem;
}

.contact {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact-link {
  display: inline-flex;
  max-width: 100%;
  min-height: 56px;
  align-items: center;
  padding: 0 20px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(66, 242, 176, 0.36);
  border-radius: 8px;
  background: rgba(66, 242, 176, 0.08);
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 800;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--steel);
}

@media (max-width: 880px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
    min-height: auto;
  }

  nav {
    display: none;
  }

  .hero {
    align-items: start;
    padding-top: 106px;
  }

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

  .hero-mark {
    order: -1;
  }

  .hero-mark img {
    width: min(100%, 520px);
  }

  .cards,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 52px;
    height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.05rem);
  }
}
