:root {
  --bg: #050505;
  --panel: #0c0c0e;
  --text: #f6f6f3;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d7ff39;
  --accent-2: #ecff8a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  will-change: transform;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
  background:
    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: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 82%);
}

body::after {
  z-index: -2;
  background:
    radial-gradient(circle at 70% 20%, rgba(215, 255, 57, .08), transparent 34%),
    linear-gradient(to bottom, rgba(5, 5, 5, .12), var(--bg) 88%);
}

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

.ambient {
  position: fixed;
  z-index: -4;
  pointer-events: none;
  filter: blur(42px);
  opacity: .62;
  animation: ambientPulse 8s ease-in-out infinite;
}

.ambient-one {
  width: 760px;
  height: 760px;
  right: -240px;
  top: 40px;
  background: radial-gradient(circle, rgba(215, 255, 57, .38), transparent 66%);
}

.ambient-two {
  width: 720px;
  height: 720px;
  left: -260px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(215, 255, 57, .22), transparent 68%);
  animation-delay: -3s;
}

@keyframes ambientPulse {
  0%, 100% { transform: scale(1); opacity: .48; }
  50% { transform: scale(1.08); opacity: .74; }
}

.coming-soon {
  min-height: 100svh;
  overflow-x: hidden;
}

.coming-soon::before {
  content: "";
  position: fixed;
  z-index: 19;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 5, 5, .98), rgba(5, 5, 5, .82) 48%, rgba(5, 5, 5, 0));
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .34);
}

.status-short {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 154px;
  height: auto;
  display: block;
}

.top-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(215, 255, 57, .22);
  background: rgba(215, 255, 57, .07);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(215, 255, 57, .72);
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(.82); opacity: .62; }
  50% { transform: scale(1.12); opacity: 1; }
}

.hero {
  width: min(100%, var(--max));
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 42px;
  align-items: center;
  padding: 126px 16px 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .88;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: 0;
}

.headline-accent {
  color: var(--accent);
  text-shadow:
    0 0 18px rgba(215, 255, 57, .26),
    0 0 52px rgba(215, 255, 57, .12);
  animation: headlineGlow 3.6s ease-in-out infinite;
}

@keyframes headlineGlow {
  0%, 100% {
    text-shadow:
      0 0 14px rgba(215, 255, 57, .22),
      0 0 42px rgba(215, 255, 57, .1);
  }
  50% {
    text-shadow:
      0 0 24px rgba(215, 255, 57, .54),
      0 0 86px rgba(215, 255, 57, .28),
      0 0 140px rgba(215, 255, 57, .12);
  }
}

.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.button.primary {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
  box-shadow: 0 0 0 rgba(215, 255, 57, 0);
}

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

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

.button.primary:hover {
  box-shadow: 0 18px 60px rgba(215, 255, 57, .22);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .055);
}

.signal-card {
  position: relative;
  width: min(100%, 520px);
  min-height: 460px;
  justify-self: end;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, .58);
  backdrop-filter: blur(22px);
  box-shadow: 0 0 130px rgba(215, 255, 57, .08), 0 40px 100px rgba(0, 0, 0, .48);
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 75% 22%, rgba(215, 255, 57, .18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 42%);
  pointer-events: none;
}

.signal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .28;
  pointer-events: none;
}

.mono-line,
.hero-logo,
.loading-panel {
  position: relative;
  z-index: 1;
}

.mono-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-logo {
  display: grid;
  justify-items: center;
  align-items: center;
}

.hero-logo img {
  width: min(78%, 390px);
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 60px rgba(0,0,0,.42));
}

.loading-panel {
  display: grid;
  gap: 14px;
}

.loading-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.loading-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.loading-copy strong {
  color: var(--accent);
  font-size: 38px;
  line-height: .9;
}

.progress-track {
  position: relative;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .045);
  overflow: hidden;
}

.progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 78%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 34px rgba(215, 255, 57, .28);
  animation: loadBreath 2.4s ease-in-out infinite;
}

@keyframes loadBreath {
  0%, 100% { opacity: .78; }
  50% { opacity: 1; }
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 22s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 44px;
  flex: 0 0 auto;
  padding: 20px 44px 20px 0;
}

.marquee-track span {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "/";
  color: var(--accent);
  margin-left: 44px;
}

@keyframes slide {
  to { transform: translateX(-33.333%); }
}

.contact-section {
  scroll-margin-top: 120px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  gap: 42px;
  align-items: start;
  padding: 96px 0 112px;
}

.contact-copy {
  position: sticky;
  top: 132px;
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, .62);
  backdrop-filter: blur(22px);
  box-shadow: 0 0 110px rgba(215, 255, 57, .07), 0 34px 90px rgba(0, 0, 0, .38);
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at 82% 12%, rgba(215, 255, 57, .14), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.05), transparent 44%);
  pointer-events: none;
}

.contact-form label,
.contact-form .button,
.form-status {
  position: relative;
  z-index: 1;
}

.form-check {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 0;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 0 14px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(168, 168, 168, .72);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(215, 255, 57, .58);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 0 0 3px rgba(215, 255, 57, .08);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: #ff7b7b;
}

.contact-form.is-sending .button {
  opacity: .72;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 900px) {
  .topbar {
    width: min(calc(100% - 24px), var(--max));
    top: 12px;
  }

  .top-status {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 120px;
  }

  .signal-card {
    justify-self: stretch;
    width: 100%;
    min-height: 390px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 76px 0 88px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 118px;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    min-height: 58px;
    padding: 10px;
  }

  .top-status {
    width: auto;
    flex: 0 0 auto;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 10px;
    white-space: nowrap;
    text-align: center;
  }

  .status-full {
    display: none;
  }

  .status-short {
    display: inline;
  }

  .hero {
    width: min(100%, var(--max));
    min-height: auto;
    padding: 112px 12px 46px;
  }

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

  h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

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

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

  .signal-card {
    min-height: 340px;
    padding: 20px;
  }

  .contact-section {
    width: min(100%, var(--max));
    padding: 66px 12px 78px;
  }

  .contact-form {
    padding: 20px;
  }

  .loading-copy strong {
    font-size: 32px;
  }

  .loading-copy {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .marquee-group {
    gap: 30px;
    padding-right: 30px;
  }

  .marquee-track span::after {
    margin-left: 30px;
  }
}
