/* Root tokens */
:root {
  --bg: #050510;
  --bg-elevated: #0b0b1a;
  --bg-soft: #101022;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.2);
  --accent-secondary: #22d3ee;
  --accent-secondary-soft: rgba(34, 211, 238, 0.25);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --border-width: 1px;
  --container-width: 1120px;
  --nav-height: 76px;
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

h1 {
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 0.75rem;
}

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

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.section-inner--stacked {
  align-items: center;
  text-align: center;
}

.section-header {
  max-width: 640px;
}

.section-header--center {
  margin: 0 auto 1.5rem;
}

.section-description {
  color: var(--text-soft);
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid--apps {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(5, 5, 16, 0.96),
      rgba(5, 5, 16, 0.82),
      transparent
    )
    border-box;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.primary-nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--accent),
    var(--accent-secondary)
  );
  transition: width var(--transition-fast);
}

.primary-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.16),
      transparent
    ),
    rgba(15, 23, 42, 0.85);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero */
.hero {
  position: relative;
  padding: 3.75rem 0 4.5rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: -120px 0 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    circle at top left,
    rgba(250, 204, 21, 0.08),
    transparent 60%
  );
}

.hero-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.9;
}

.hero-gradient--one {
  top: -120px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.95),
    transparent 65%
  );
}

.hero-gradient--two {
  bottom: -40px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.9),
    transparent 65%
  );
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
}

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

.hero-subtitle {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.headline-highlight {
  display: inline-block;
  padding: 0.08rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.12);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    background var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #020617;
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.55);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.75);
}

.btn-subtext {
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.9);
}

.btn-ghost .btn-subtext {
  color: var(--text-soft);
}

.hero-signals {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.hero-signals dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-secondary);
  margin-bottom: 0.25rem;
}

.hero-signals dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-card {
  background: radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(34, 211, 238, 0.1),
      transparent 60%
    ),
    rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.hero-card--secondary {
  background: radial-gradient(
      circle at top right,
      rgba(34, 211, 238, 0.2),
      transparent 60%
    ),
    rgba(15, 23, 42, 0.96);
  border-style: dashed;
}

.hero-illustration {
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(15, 23, 42, 0.8);
  object-fit: cover;
}

.hero-illustration--secondary {
  aspect-ratio: 4 / 3;
}

.card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-top: 0.55rem;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.45rem;
}

.card-body {
  font-size: 0.9rem;
}

/* Cards / lists */
.card {
  background: radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.15),
      transparent 65%
    ),
    rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.text-link {
  color: var(--accent-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.text-link span {
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "✺";
  margin-right: 0.45rem;
  font-size: 0.7rem;
  color: var(--accent-secondary);
}

.app-card--upcoming {
  background: radial-gradient(
      circle at top right,
      rgba(34, 211, 238, 0.22),
      transparent 65%
    ),
    rgba(15, 23, 42, 0.98);
}

.app-card--qr {
  background: radial-gradient(
      circle at top left,
      rgba(168, 85, 247, 0.22),
      transparent 65%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(236, 72, 153, 0.15),
      transparent 60%
    ),
    rgba(15, 23, 42, 0.98);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
}

/* Lab section */
.section--lab {
  border-top: 1px solid rgba(15, 23, 42, 1);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(
      circle at center left,
      rgba(249, 115, 22, 0.1),
      transparent 60%
    ),
    radial-gradient(
      circle at center right,
      rgba(34, 211, 238, 0.1),
      transparent 60%
    ),
    var(--bg-elevated);
}

.lab-copy {
  max-width: 540px;
}

.lab-visual-frame {
  padding: 0.65rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(
    circle at top,
    rgba(249, 115, 22, 0.45),
    rgba(15, 23, 42, 0.9)
  );
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 1);
}

.lab-image {
  border-radius: calc(var(--radius-xl) - 12px);
  border: 1px solid rgba(15, 23, 42, 0.92);
  object-fit: cover;
}

.lab-caption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Merch */
.section--merch {
  background: radial-gradient(
      circle at top center,
      rgba(34, 211, 238, 0.18),
      transparent 60%
    ),
    var(--bg);
}

.merch-visual {
  text-align: center;
}

.merch-orbit {
  width: 210px;
  height: 210px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at top,
    rgba(249, 115, 22, 0.28),
    rgba(15, 23, 42, 0.96)
  );
  box-shadow: 0 20px 60px rgba(15, 23, 42, 1);
}

.merch-logo {
  width: 70%;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.92);
}

.merch-note {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.merch-gallery {
  margin-top: 2.4rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(
      145deg,
      rgba(249, 115, 22, 0.1),
      rgba(34, 211, 238, 0.08),
      rgba(15, 23, 42, 0.9)
    )
    border-box;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: var(--text);
}

.merch-gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.merch-gallery-copy h3 {
  margin: 0 0 0.35rem;
}

.merch-gallery .section-description {
  color: var(--text-muted);
}

.merch-gallery-link {
  align-self: flex-start;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.merch-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.merch-tile {
  background: var(--bg-elevated);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.merch-tile img {
  width: 90%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0.65rem auto 0.35rem;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.8),
    rgba(2, 6, 23, 0.95)
  );
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.merch-tile figcaption {
  padding: 0.85rem 0.95rem;
}

.merch-tile-title {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-weight: 600;
}

.merch-tile-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Newsletter */
.section--newsletter {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding-bottom: 4rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 460px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.newsletter-form .btn-primary {
  width: 100%;
  justify-content: center;
}

.form-footnote {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 1.6rem 0 2.1rem;
  background: radial-gradient(
      circle at top center,
      rgba(15, 23, 42, 0.95),
      rgba(2, 6, 23, 1)
    )
    border-box;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

/* Scroll reveals */
.reveal-up {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 320ms ease-out, opacity 320ms ease-out;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-visual {
    order: -1;
  }

  .section-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .primary-nav {
    position: absolute;
    inset: calc(var(--nav-height) - 6px) 1.25rem auto;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.9rem;
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    align-items: center;
  }

  .btn-subtext {
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .merch-gallery {
    padding: 1.1rem;
  }
}

@media (max-width: 520px) {
  .brand-tagline {
    display: none;
  }

  .hero-signals {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .merch-gallery-header {
    flex-direction: column;
  }
}
