:root {
  --bg: #07101a;
  --bg-raise: #0c1624;
  --bg-soft: #0a1420;
  --line: rgba(140, 190, 220, 0.12);
  --line-strong: rgba(140, 190, 220, 0.28);
  --text: #edf3f8;
  --muted: #8fa3b8;
  --dim: #5e738a;
  --teal: #2fd4c0;
  --sky: #4e9fff;
  --glow: linear-gradient(135deg, #2fd4c0 0%, #4e9fff 100%);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --header: 68px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(47, 212, 192, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(78, 159, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 70%, rgba(47, 212, 192, 0.05), transparent 45%),
    var(--bg);
}

.mesh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 190, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 220, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 26, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--glow);
  color: #031018 !important;
  box-shadow: 0 10px 36px rgba(47, 212, 192, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 44px rgba(47, 212, 192, 0.32);
}

.btn-outline {
  background: #0c1624;
  color: #edf3f8 !important;
  border: 1px solid rgba(47, 212, 192, 0.55);
  box-shadow: inset 0 0 0 1px rgba(47, 212, 192, 0.08);
}

.btn-outline:hover {
  background: rgba(47, 212, 192, 0.12);
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  padding: 3.5rem 0 4rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem 3rem;
  align-items: center;
  min-height: calc(100vh - var(--header) - 7rem);
}

.hero-copy {
  min-width: 0;
}

.brand-mark {
  display: block;
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal);
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-platforms {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: var(--dim);
}

/* Orbit graphic */

.hero-orbit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
}

.ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(47, 212, 192, 0.35);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.r2 {
  inset: 14%;
  border-color: rgba(78, 159, 255, 0.4);
  animation-duration: 16s;
  animation-direction: reverse;
}

.r3 {
  inset: 28%;
  border-color: rgba(47, 212, 192, 0.5);
  animation-duration: 11s;
}

.hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: #0c1624;
  border: 1.5px solid rgba(47, 212, 192, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(47, 212, 192, 0.35);
}

.hub img {
  width: 48px;
  height: 48px;
}

.node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px var(--teal);
}

.n1 { animation: orbit-a 18s linear infinite; }
.n2 { animation: orbit-b 13s linear infinite reverse; background: #4e9fff; box-shadow: 0 0 16px #4e9fff; }
.n3 { animation: orbit-c 10s linear infinite; }
.n4 { animation: orbit-d 7s linear infinite reverse; background: #7eb6ff; box-shadow: 0 0 16px #7eb6ff; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-a {
  from { transform: rotate(0deg) translateX(190px); }
  to { transform: rotate(360deg) translateX(190px); }
}

@keyframes orbit-b {
  from { transform: rotate(0deg) translateX(140px); }
  to { transform: rotate(360deg) translateX(140px); }
}

@keyframes orbit-c {
  from { transform: rotate(0deg) translateX(95px); }
  to { transform: rotate(360deg) translateX(95px); }
}

@keyframes orbit-d {
  from { transform: rotate(0deg) translateX(55px); }
  to { transform: rotate(360deg) translateX(55px); }
}

/* Intro */

.intro {
  padding: 0 0 4rem;
}

.intro p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 34rem;
}

.section-header-center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

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

.feature h3,
.split-copy h3,
.trio h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.feature p,
.trio p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: none;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

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

.trio-tight {
  margin-top: 2.5rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-grid span {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raise);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Gallery */

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

.shot {
  margin: 0;
}

.shot img {
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-raise);
  object-fit: cover;
  object-position: top left;
}

.shot figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--dim);
  text-align: center;
}

/* Download */

.section-download {
  padding-bottom: 5rem;
}

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

.download-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-raise);
}

.download-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.download-card p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 3rem;
}

.download-card-soon {
  border-style: dashed;
  display: flex;
  flex-direction: column;
}

.download-card-soon p {
  margin-bottom: 1rem;
}

.soon-pill {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 212, 192, 0.35);
  background: rgba(47, 212, 192, 0.1);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-note {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--dim);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
  flex: 1;
}

.footer-inner > a {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2rem;
  }

  .hero-orbit {
    order: -1;
  }

  .orbit {
    width: min(280px, 70vw);
  }

  .n1 { animation-name: orbit-a-sm; }
  .n2 { animation-name: orbit-b-sm; }
  .n3 { animation-name: orbit-c-sm; }
  .n4 { animation-name: orbit-d-sm; }

  @keyframes orbit-a-sm {
    from { transform: rotate(0deg) translateX(140px); }
    to { transform: rotate(360deg) translateX(140px); }
  }

  @keyframes orbit-b-sm {
    from { transform: rotate(0deg) translateX(105px); }
    to { transform: rotate(360deg) translateX(105px); }
  }

  @keyframes orbit-c-sm {
    from { transform: rotate(0deg) translateX(70px); }
    to { transform: rotate(360deg) translateX(70px); }
  }

  @keyframes orbit-d-sm {
    from { transform: rotate(0deg) translateX(40px); }
    to { transform: rotate(360deg) translateX(40px); }
  }

  .feature-rail,
  .split,
  .trio,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(7, 16, 26, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--header) + 210px);
    left: 1.5rem;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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