:root {
  --bg: #07111c;
  --bg-soft: #0f1c2b;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --blue: #57a7ff;
  --violet: #7a52ff;
  --copper: #ffb26c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 178, 108, 0.14), transparent 30%),
    radial-gradient(circle at left 20%, rgba(87, 167, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #08111b 0%, #0b1724 45%, #07111c 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem clamp(1.2rem, 2vw, 2rem);
  background: linear-gradient(180deg, rgba(7, 17, 28, 0.88), rgba(7, 17, 28, 0.4));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.75rem;
  border-radius: 0.9rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

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

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

.hero,
.workflow,
.local-first,
.launch {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0 4rem;
}

.hero-copy {
  max-width: 33rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.7rem, 8vw, 7rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  max-width: 11ch;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--copper), #ff8a64 55%, #d35fff 100%);
  color: #08111b;
  box-shadow: 0 16px 48px rgba(211, 95, 255, 0.22);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
  margin-top: 1.4rem;
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.92rem;
}

.hero-notes span::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--copper));
  vertical-align: middle;
}

.hero-visual {
  position: relative;
  min-height: 36rem;
}

.signal-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.spotlight,
.orbital {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.spotlight {
  inset: 8% 6% auto 8%;
  height: 64%;
  background:
    radial-gradient(circle at 50% 45%, rgba(122, 82, 255, 0.48), transparent 32%),
    radial-gradient(circle at 40% 50%, rgba(87, 167, 255, 0.26), transparent 40%),
    radial-gradient(circle at 60% 40%, rgba(255, 178, 108, 0.18), transparent 36%);
  animation: drift 14s ease-in-out infinite alternate;
}

.orbital {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.orbital-one {
  top: 12%;
  right: 12%;
  width: 12rem;
  height: 12rem;
  animation: float 9s ease-in-out infinite;
}

.orbital-two {
  left: 8%;
  bottom: 12%;
  width: 9rem;
  height: 9rem;
  animation: float 11s ease-in-out infinite reverse;
}

.stage-logo-wrap {
  position: relative;
  z-index: 2;
  width: min(24rem, 58vw);
  transform: rotate(-7deg);
  box-shadow: var(--shadow);
}

.stage-logo {
  border-radius: 2rem;
}

.waveform {
  position: absolute;
  inset: auto 0 12% 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.3rem, 0.9vw, 0.75rem);
  z-index: 3;
}

.waveform span {
  width: clamp(0.3rem, 0.7vw, 0.58rem);
  height: calc(2.2rem + (var(--bar) % 6) * 1.25rem);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.58));
  animation: pulse 1.9s ease-in-out infinite;
  animation-delay: calc(var(--bar) * 110ms);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.12);
}

.waveform span:nth-child(4n) {
  background: linear-gradient(180deg, rgba(87, 167, 255, 0.96), rgba(122, 82, 255, 0.8));
}

.waveform span:nth-child(5n) {
  background: linear-gradient(180deg, rgba(255, 178, 108, 0.95), rgba(122, 82, 255, 0.84));
}

.stage-caption {
  position: absolute;
  right: 2%;
  bottom: 2%;
  max-width: 14rem;
  color: rgba(244, 247, 251, 0.64);
  font-size: 0.92rem;
  line-height: 1.45;
}

.story-band {
  width: min(980px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.6rem 0 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-band p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(244, 247, 251, 0.9);
  max-width: 48rem;
}

.workflow,
.local-first,
.launch {
  padding: 6rem 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.workflow-step,
.point,
.launch-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(16px);
}

.workflow-step {
  padding: 2rem;
  min-height: 16rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--copper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.workflow-step p,
.point p,
.launch-panel p {
  margin-top: 1rem;
}

.local-first {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.local-copy {
  position: sticky;
  top: 6rem;
}

.local-points {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.point {
  padding: 2rem;
}

.launch {
  padding-top: 2rem;
  padding-bottom: 6.5rem;
}

.launch-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.8);
    opacity: 0.75;
  }

  50% {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: translate3d(-1.2rem, -1rem, 0) scale(0.98);
  }

  to {
    transform: translate3d(1.3rem, 1rem, 0) scale(1.04);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 1040px) {
  .hero,
  .local-first {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    min-height: 28rem;
    order: -1;
  }

  .stage-logo-wrap {
    width: min(19rem, 70vw);
  }

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

  .local-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1rem 1rem 1rem 1.1rem;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .workflow,
  .local-first,
  .launch,
  .story-band {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero-visual {
    min-height: 22rem;
  }

  .waveform {
    gap: 0.35rem;
  }

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

  .workflow-step,
  .point,
  .launch-panel {
    padding: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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