/* NIGHTJARS campaign rebuild */
:root {
  --ink: #050706;
  --ink-2: #09100d;
  --panel: rgba(10, 18, 14, 0.82);
  --panel-strong: #0d1712;
  --line: rgba(135, 255, 164, 0.22);
  --line-strong: rgba(135, 255, 164, 0.52);
  --green: #87ffa4;
  --green-2: #34d976;
  --amber: #ff6b3d;
  --white: #effff4;
  --muted: #93a99b;
  --quiet: #5f7468;
  --danger: #ff563f;
  --radius: 8px;
  --max: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "JetBrains Mono", Consolas, monospace;
  --sans: "Arial Narrow", "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 16%), rgba(135, 255, 164, 0.1), transparent 26rem),
    radial-gradient(circle at 8% 10%, rgba(255, 107, 61, 0.08), transparent 24rem),
    linear-gradient(180deg, #050706 0%, #06100b 44%, #030403 100%);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent, rgba(135, 255, 164, 0.04), transparent);
  mix-blend-mode: screen;
  opacity: 0.42;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(135, 255, 164, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 164, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  border-color: var(--line);
  background: rgba(135, 255, 164, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  padding: 0 14px;
  cursor: pointer;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--green);
  background: rgba(135, 255, 164, 0.045);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.btn:hover {
  border-color: var(--green);
  background: rgba(135, 255, 164, 0.12);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn.primary {
  color: #031007;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 40px rgba(135, 255, 164, 0.18);
}

.btn.primary:hover {
  background: #b4ffc4;
}

.btn[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
}

.btn[disabled]:active {
  transform: none;
}

.tiny-link {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tiny-link:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(860px, calc(92dvh - 76px));
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.94) 0%, rgba(5, 7, 6, 0.74) 42%, rgba(5, 7, 6, 0.1) 74%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.1), #050706 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.hero-copy {
  max-width: 800px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  flex-wrap: wrap;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(135, 255, 164, 0.65);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(56px, 10vw, 142px);
  overflow-wrap: break-word;
}

h2 {
  max-width: 880px;
  font-size: clamp(38px, 6.4vw, 92px);
  overflow-wrap: break-word;
}

h3 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
}

.accent {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
}

.lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: #c4d8cc;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

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

.briefing-card {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 8, 6, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.briefing-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.briefing-body {
  padding: 18px;
}

.briefing-body p {
  margin: 0;
  color: var(--muted);
}

.briefing-body strong {
  color: var(--white);
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.telemetry div {
  min-width: 0;
  padding: 16px 12px;
  background: rgba(6, 12, 9, 0.92);
}

.telemetry b {
  display: block;
  color: var(--green);
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1;
}

.telemetry span {
  display: block;
  margin-top: 6px;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 132px) 0;
}

.section.compact {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}

.section-head.center {
  justify-items: center;
  text-align: center;
}

.section-head p,
.copy {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.asset-stage {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #07100c;
}

.asset-stage > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.asset-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(135, 255, 164, 0.12) 18% 18.4%, transparent 18.4%),
    linear-gradient(0deg, transparent 0 64%, rgba(255, 107, 61, 0.16) 64% 64.35%, transparent 64.35%);
  mix-blend-mode: screen;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(135, 255, 164, 0.06), transparent 34%),
    rgba(7, 14, 10, 0.72);
}

.panel-pad {
  padding: clamp(22px, 4vw, 42px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tile {
  min-height: 260px;
  padding: 28px;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.tile.wide {
  grid-column: span 2;
}

.tile.image {
  padding: 0;
}

.tile.image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.tile .num,
.module-num {
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile h3 {
  margin-top: 18px;
}

.tile p {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 22px;
  padding: 22px;
  background: rgba(6, 12, 9, 0.92);
}

.spec-row b {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-row span {
  color: var(--muted);
}

.lineup {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.unit {
  background: var(--ink-2);
  overflow: hidden;
}

.unit img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 600ms var(--ease);
}

.unit:hover img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.unit-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.unit-info b {
  color: var(--green);
}

.faq {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 72px);
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.faq-q span:first-child {
  font-weight: 900;
  letter-spacing: 0.03em;
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  transition: transform 200ms ease, border-color 200ms ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--green);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 260ms ease;
}

.faq-item.open .faq-a {
  max-height: 180px;
  padding-bottom: 24px;
}

.mint-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.countdown > div {
  padding: 22px 12px;
  background: rgba(6, 12, 9, 0.94);
  text-align: center;
}

.countdown .num {
  display: block;
  color: var(--green);
  font-family: var(--sans);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.9;
}

.countdown .lbl {
  display: block;
  margin-top: 10px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress {
  margin-top: 26px;
}

.progress-track {
  height: 11px;
  border: 1px solid var(--line);
  background: rgba(135, 255, 164, 0.06);
  overflow: hidden;
}

.progress-track i {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qty {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  border: 1px solid var(--line);
  margin-top: 24px;
}

.qty button {
  height: 54px;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.qty span {
  height: 54px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 900;
}

.receipt {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.receipt-row b {
  color: var(--white);
}

.hash-box {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.hash-box span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hash-box code {
  color: var(--green);
  word-break: break-all;
}

.signal-feed {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feed-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  padding: 16px;
  background: rgba(6, 12, 9, 0.94);
  color: var(--muted);
}

.feed-row b {
  color: var(--green);
}

.feed-row i {
  color: var(--amber);
  font-style: normal;
}

.quote-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(135, 255, 164, 0.1), rgba(255, 107, 61, 0.06));
}

.quote-band img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.quote-band p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  left: 0;
  right: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(28px, 4.8vw, 66px);
  font-weight: 900;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease), filter 760ms var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal-group.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.in > *:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-group.in > *:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-group.in > *:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-group.in > *:nth-child(5) {
  transition-delay: 320ms;
}

.reveal-group.in > *:nth-child(6) {
  transition-delay: 400ms;
}

@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: auto auto;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 6, 0.96);
    padding: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .nav-actions .tiny-link {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero-grid,
  .split,
  .faq,
  .mint-shell {
    grid-template-columns: 1fr;
  }

  .briefing-card {
    align-self: auto;
  }

  .grid-3,
  .lineup {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile.wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-grid,
  .nav-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.72)),
      linear-gradient(180deg, rgba(5, 7, 6, 0.1), #050706 100%),
      var(--hero-image, none);
    background-size: cover;
    background-position: 62% center;
  }

  .hero-grid {
    padding: 58px 0 54px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(36px, 13vw, 58px);
    max-width: 100%;
  }

  .kicker,
  .eyebrow {
    letter-spacing: 0.1em;
  }

  .section-head,
  .section-head > * {
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .briefing-card {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .telemetry,
  .countdown,
  .grid-3,
  .lineup {
    grid-template-columns: 1fr;
  }

  .spec-row,
  .feed-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .asset-stage,
  .asset-stage > img {
    min-height: 320px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
