/* Xenome gated preview. Tokens from the branding kit (xenome). */
:root {
  color-scheme: dark;
  --brand-primary: #C7FF4D;
  --brand-secondary: #8B5CF6;
  --brand-surface: #10131B;
  --brand-font: "Space Grotesk", sans-serif;
  --ui-font: "Inter", sans-serif;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--brand-surface);
  color: var(--text);
  font-family: var(--ui-font);
}

main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5.5rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 3rem;
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mark img {
  display: block;
  height: 3.25rem;
  width: auto;
}

h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 2.4rem 0 0.5rem;
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 1.35rem;
}

p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.lead {
  color: var(--muted);
  max-width: 36rem;
}

.shot {
  position: relative;
  margin: 2.75rem 0 0;
  padding: 0;
  background: var(--brand-surface);
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
}

.shot img,
.shot model-viewer {
  width: 100%;
  background: var(--brand-surface);
}

.loader {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
  background: rgba(16, 19, 27, 0.42);
}

.spinner {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--brand-primary);
  animation: xenome-spin 0.8s linear infinite;
}

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

.action {
  margin-top: 2rem;
}

.action[hidden] {
  display: none !important;
}

.action a {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  background: var(--brand-primary);
  color: var(--brand-surface);
  text-decoration: none;
  font-family: var(--ui-font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
}

.action a:hover,
.action a:focus-visible {
  background: var(--brand-secondary);
  color: var(--text);
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(199, 255, 77, 0.55);
  background: rgba(16, 19, 27, 0.78);
  color: var(--brand-primary);
  cursor: pointer;
}

.hero-prev { left: 0.85rem; }
.hero-next { right: 0.85rem; }

.hero-nav svg { display: block; }

.hero-nav:hover,
.hero-nav:focus-visible {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: var(--text);
  outline: none;
}

.coming {
  margin: 0.9rem 0 0;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-surface);
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 -3px 0 var(--brand-secondary);
}

.still {
  display: none;
  width: 100%;
  height: auto;
  background: var(--brand-surface);
}

.still.is-active { display: block; }
