:root {
  --bg: #05060a;
  --cyan: #00e5ff;
  --coral: #ff5a36;
  --panel: #0c1018;
  --text: #e8fbff;
  --mute: #7aa3ad;
  --line: rgba(0, 229, 255, 0.22);
  --coral-dim: rgba(255, 90, 54, 0.28);
  --header-h: 4.6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse at 12% 0%, rgba(0, 229, 255, 0.12), transparent 46%),
    radial-gradient(ellipse at 92% 18%, rgba(255, 90, 54, 0.1), transparent 38%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.08) 2px 3px
  );
  opacity: 0.35;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--cyan);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3,
h4 {
  font-family: "Exo 2", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5000;
  background: var(--cyan);
  color: #041018;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

.skip:focus {
  top: 0.8rem;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--cyan) 42%, transparent);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 2.7rem;
  height: 2.7rem;
}

.brand-name {
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.sys-chip {
  display: none;
  margin-left: 0.4rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 1100px) {
  .sys-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .sys-chip::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
  }
}

.site-nav {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  margin-right: 0.6rem;
}

.site-nav a {
  color: var(--mute);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-nav a:hover,
.site-nav a.is-now {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
}

#guest-actions,
#player-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--cyan);
  padding: 0.28rem 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.player-chip::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--cyan);
  background: var(--panel);
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cyan);
  transition: 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.45rem 1.05rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-cyan {
  background: var(--cyan);
  color: #041018;
}

.btn-cyan:hover {
  color: #041018;
}

.btn-coral {
  background: var(--coral);
  color: #fff8f4;
}

.btn-coral:hover {
  color: #fff8f4;
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-ghost:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
}

.kicker::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--coral);
}

.lede {
  font-size: 1.12rem;
  max-width: 38rem;
  color: #c5e8ef;
}

.hero {
  position: relative;
  padding: 2.6rem 0 3.4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  max-width: 16ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.35rem 0 1.5rem;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.tel-cell {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  position: relative;
}

.tel-cell::before,
.tel-cell::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--coral);
}

.tel-cell::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.tel-cell::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.tel-cell strong {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 1.2rem;
  color: var(--cyan);
}

.tel-cell span {
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iso-frame {
  perspective: 1400px;
}

.iso-frame figure {
  margin: 0;
  position: relative;
  background: var(--panel);
  border: 2px solid var(--cyan);
  transform: rotateX(7deg) rotateY(-9deg);
  box-shadow:
    0 0 0 1px rgba(255, 90, 54, 0.25),
    18px 22px 0 rgba(0, 229, 255, 0.08);
}

.iso-frame figure::before,
.iso-frame figure::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid var(--coral);
  pointer-events: none;
}

.iso-frame figure::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.iso-frame figure::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.iso-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hud-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 3;
  background: rgba(5, 6, 10, 0.78);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1600px;
}

.iso-card {
  background: var(--panel);
  border: 2px solid var(--cyan);
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  transform: rotateX(6deg) rotateY(-6deg) translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.iso-card:nth-child(2) {
  transform: rotateX(6deg) rotateY(0deg) translateZ(12px);
}

.iso-card:nth-child(3) {
  transform: rotateX(6deg) rotateY(6deg) translateZ(0);
}

.iso-card:hover {
  transform: rotateX(0) rotateY(0) translateZ(28px);
  box-shadow: 0 18px 40px rgba(0, 229, 255, 0.12);
  border-color: var(--coral);
  z-index: 2;
}

.iso-card::before,
.iso-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--coral);
  pointer-events: none;
}

.iso-card::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.iso-card::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.mod-id {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}

.iso-card img {
  width: 100%;
  height: 10.8rem;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.06), transparent),
    #070b12;
  padding: 0.55rem;
  border: 1px solid var(--line);
}

.iso-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.iso-card p {
  margin: 0;
  flex: 1;
  color: #b9d7de;
  font-size: 0.98rem;
}

.feature-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: center;
}

.feature-split img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
}

.checks li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.5rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.pip-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.pip-track::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  opacity: 0.45;
}

.pip {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem 0.9rem 1.3rem;
  position: relative;
}

.pip-dot {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 auto 0.85rem;
  border: 2px solid var(--cyan);
  background: var(--bg);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.pip-dot::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.pip h3 {
  font-size: 1.05rem;
}

.pip p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.module {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0;
  min-height: 11.2rem;
  display: flex;
  flex-direction: column;
}

.module-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 229, 255, 0.05);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.module-bar span:last-child {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.module-body {
  padding: 0.9rem 0.85rem 1rem;
  flex: 1;
}

.module h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.module p {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
}

.launch-bar {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 2px solid var(--cyan);
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.launch-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--coral));
}

.launch-copy {
  padding: 2rem 1.8rem 2rem 2.1rem;
}

.launch-bar img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.safe-rack {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.6rem 1.5rem;
  position: relative;
}

.safe-rack::before,
.safe-rack::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--coral);
}

.safe-rack::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.safe-rack::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.page-hero {
  padding: 2.4rem 0 0.4rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.prose {
  max-width: 44rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.8rem;
}

.prose h2 {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: var(--cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
}

.info-card,
.form-card {
  background: var(--panel);
  border: 2px solid var(--cyan);
  padding: 1.3rem 1.2rem 1.4rem;
  position: relative;
}

.info-card::before,
.form-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--coral);
  border-left: 2px solid var(--coral);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cyan);
}

.field input,
.field textarea {
  background: #070b12;
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 500;
}

.field textarea {
  min-height: 8.2rem;
  resize: vertical;
}

.form-ok {
  display: none;
  padding: 1.4rem 0.3rem;
  text-align: center;
}

.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .form-ok {
  display: block;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #070b12;
  padding: 2.4rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 1.4rem;
}

.footer-grid h4 {
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mute);
  text-decoration: none;
}

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

.brand-foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.brand-foot img {
  width: 2.2rem;
  height: 2.2rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--mute);
  font-size: 0.88rem;
}

#age-overlay,
#auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 6, 10, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
}

#age-overlay.is-open,
#auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.age-card,
.auth-card {
  width: min(28rem, 100%);
  background: var(--panel);
  border: 2px solid var(--cyan);
  padding: 1.4rem 1.25rem 1.5rem;
  position: relative;
}

.age-card::before,
.auth-card::before,
.age-card::after,
.auth-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--coral);
}

.age-card::before,
.auth-card::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.age-card::after,
.auth-card::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.age-actions,
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

#age-denied {
  margin-top: 0.9rem;
  color: var(--coral);
  font-weight: 700;
}

#auth-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  z-index: 2;
}

.auth-tab {
  flex: 1;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  padding: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.auth-tab.is-on {
  background: var(--cyan);
  color: #041018;
}

.auth-card form {
  margin-top: 1rem;
}

.auth-error {
  min-height: 1.15em;
  color: var(--coral);
  font-weight: 700;
  margin: 0.25rem 0 0.65rem;
}

#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 160;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin-inline: auto;
  background: var(--panel);
  border: 2px solid var(--cyan);
  padding: 0.95rem 1.05rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.8rem);
}

#cookie-banner.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

#cookie-banner p {
  margin: 0;
  flex: 1 1 18rem;
}

@media (max-width: 980px) {
  .header-row {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #070b12;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 0.9rem;
  }

  .site-nav.is-open {
    display: flex;
    z-index: 95;
  }

  .site-nav a {
    padding: 0.5rem 0;
  }

  .hero-grid,
  .feature-split,
  .contact-grid,
  .launch-bar,
  .deck,
  .pip-track,
  .modules,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .iso-card,
  .iso-card:nth-child(2),
  .iso-card:nth-child(3) {
    transform: none;
  }

  .iso-card:hover {
    transform: translateZ(16px);
  }

  .pip-track::before {
    display: none;
  }

  .iso-frame figure {
    transform: none;
  }

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

@media (max-width: 640px) {
  .header-actions .btn {
    min-height: 2.3rem;
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 1.6rem;
  }
}
