:root {
  --bg: #050608;
  --bg-raise: #10141a;
  --ink: #e7eef5;
  --muted: #b4bec9;
  --dim: #8e9aaa;
  --line: rgba(255, 255, 255, 0.08);
  --cyan: #8fdfff;
  --cyan-hot: #d8f6ff;
  --glow: rgba(90, 200, 255, 0.22);
  --sans: "Outfit", "Segoe UI", sans-serif;
  --display: "Syne", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --mx: 50%;
  --my: 38%;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(143, 223, 255, 0.32);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: #2a3340;
  border-radius: 99px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 90;
  transform: translateY(-180%);
  background: var(--cyan-hot);
  color: #04131c;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3aa8e0, var(--cyan-hot));
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: rgba(5, 6, 8, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(143, 223, 255, 0.45),
    0 0 16px rgba(80, 190, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: #fff;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  isolation: isolate;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  color: #04131c;
  background: linear-gradient(180deg, #f4fcff 0%, #8fdfff 42%, #3aa8e0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 10px 30px rgba(70, 190, 255, 0.24);
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 48%, transparent 62%);
  transform: translateX(-130%);
}

.btn-primary:hover::after {
  transform: translateX(130%);
  transition: transform 0.65s ease;
}

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

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  border-color: rgba(143, 223, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: rgba(143, 223, 255, 0.6);
  color: var(--cyan);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 104px 24px 64px;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: -8%;
  background: url("../banner.png") center / cover no-repeat;
  filter: blur(34px) saturate(0.65) brightness(0.32);
  transform: scale(1.08);
  animation: drift 28s ease-in-out infinite;
  mask-image: linear-gradient(#000 72%, transparent);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(90, 200, 255, 0.16), transparent 58%);
  z-index: 1;
}

.motes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.motes i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8f4ff;
  box-shadow: 0 0 10px #7ad7ff;
  animation: mote 12s ease-in-out infinite;
}

.motes i:nth-child(1) { left: 8%; top: 22%; animation-duration: 11s; }
.motes i:nth-child(2) { left: 16%; top: 40%; animation-duration: 15s; animation-delay: -3s; }
.motes i:nth-child(3) { left: 28%; top: 16%; animation-duration: 13s; animation-delay: -6s; }
.motes i:nth-child(4) { left: 74%; top: 14%; animation-duration: 16s; }
.motes i:nth-child(5) { left: 88%; top: 34%; animation-duration: 12s; animation-delay: -4s; }
.motes i:nth-child(6) { left: 80%; top: 46%; animation-duration: 18s; animation-delay: -8s; }
.motes i:nth-child(7) { left: 42%; top: 18%; animation-duration: 14s; animation-delay: -2s; }
.motes i:nth-child(8) { left: 62%; top: 12%; animation-duration: 17s; animation-delay: -5s; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  padding: 2px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(70, 180, 255, 0.16);
}

.frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -55%;
  background: conic-gradient(
    from 0deg,
    transparent 0 74%,
    rgba(154, 230, 255, 0.2) 82%,
    #dff7ff 89%,
    #fff 92%,
    transparent 98%
  );
  animation: spin 7s linear infinite;
}

.wordmark {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 21px;
  overflow: hidden;
  background: #000;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.shine,
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shine {
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 5.4s ease-in-out 1.2s infinite;
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 52%, rgba(5, 6, 8, 0.45) 100%);
}

.symbol {
  margin: 22px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.metal {
  background: linear-gradient(185deg, #ffffff 0%, #d5dde6 38%, #8e98a4 50%, #f7fafc 54%, #aeb6c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(90, 190, 255, 0.22));
}

.lead {
  width: min(46rem, 100%);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.fine {
  margin: 16px auto 0;
  max-width: 42rem;
  color: var(--dim);
  font-size: 14px;
}

.fine a,
.prose a,
.legal a {
  color: var(--cyan);
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.telemetry div {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.telemetry div:last-child {
  border-right: 0;
}

.telemetry span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.telemetry strong {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ad7ff;
  box-shadow: 0 0 10px #7ad7ff;
  animation: pulse 1.8s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #07090c;
  padding: 14px 0;
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  color: #d5dde6;
}

.marquee-group span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group svg {
  width: 7px;
  height: 7px;
  color: var(--cyan);
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.block {
  padding: 108px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
}

.portrait {
  position: relative;
  width: min(460px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.portrait img {
  width: 86%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
  mask-image: radial-gradient(circle at 50% 46%, #000 54%, transparent 74%);
}

.eye-glow {
  position: absolute;
  z-index: 2;
  width: 38%;
  height: 16%;
  left: 31%;
  top: 40%;
  background: radial-gradient(ellipse, rgba(120, 210, 255, 0.75), transparent 70%);
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-a {
  inset: 4%;
  border: 1px dashed rgba(150, 220, 255, 0.35);
  animation: spin 36s linear infinite;
}

.ring-b {
  inset: 0;
  border: 1px solid transparent;
  border-top-color: rgba(180, 235, 255, 0.85);
  border-right-color: rgba(150, 220, 255, 0.15);
  animation: spin 18s linear infinite reverse;
}

h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.prose p {
  margin: 0 0 14px;
  color: var(--muted);
}

.quote {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(143, 223, 255, 0.7);
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.plate {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 42%),
    rgba(12, 14, 18, 0.9);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.plate:hover {
  border-color: rgba(143, 223, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(80, 190, 255, 0.08);
}

.corners {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 14px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left top / 1px 14px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 14px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 1px 14px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left bottom / 14px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 1px 14px no-repeat;
  opacity: 0.45;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(140, 210, 255, 0.3);
  background: rgba(90, 190, 255, 0.06);
  color: var(--cyan);
}

h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.plate p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.spec-panel {
  padding: 8px 28px;
}

.spec {
  margin: 0;
}

.spec div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec div:last-child {
  border-bottom: 0;
}

.spec dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.spec dd {
  margin: 0;
  font-size: 18px;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ca-row code {
  font-family: var(--mono);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.community {
  text-align: center;
}

.community-plate {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 48px 28px;
}

.x-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(143, 223, 255, 0.4);
  box-shadow: 0 0 30px rgba(80, 190, 255, 0.2);
}

.x-mark .icon {
  width: 28px;
  height: 28px;
}

.handle {
  margin: 0 0 10px;
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal,
.copy {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  max-width: 560px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 16px;
  border-radius: 999px;
  background: #10141a;
  color: #fff;
  border: 1px solid rgba(143, 223, 255, 0.4);
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: 0.3s ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

section[id] {
  scroll-margin-top: 84px;
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

@keyframes sheen {
  0%, 42% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

@keyframes drift {
  50% { transform: scale(1.14) translate3d(0, -1.5%, 0); }
}

@keyframes float {
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  50% { opacity: 0.45; }
}

@keyframes mote {
  0% { transform: translateY(0); opacity: 0.25; }
  50% { opacity: 1; }
  100% { transform: translateY(-36px); opacity: 0.2; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .split,
  .telemetry {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .telemetry div:nth-child(1),
  .telemetry div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .telemetry div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    padding: 0 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 14, 0.96);
  }

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

  .nav-links a {
    padding: 14px 12px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .block {
    padding: 72px 0;
  }

  .nav .brand span {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 96px 16px 36px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .telemetry,
  .grid-3,
  .steps,
  .spec div,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-grid {
    justify-items: start;
  }

  .telemetry div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .telemetry div:last-child {
    border-bottom: 0;
  }

  .quote {
    font-size: 18px;
  }
}

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

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

  .frame {
    box-shadow: 0 0 0 1px rgba(154, 230, 255, 0.45), 0 30px 80px rgba(0, 0, 0, 0.5);
  }

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