:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: var(--color-bg-canvas, #020203);
  color: var(--color-text-primary, #eeeeee);
}

html.nv-access-checking body { visibility: hidden; }

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--color-bg-canvas, #020203);
  color: var(--color-text-primary, #eeeeee);
}

.prelaunch-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  pointer-events: none;
}

.prelaunch-brand,
.prelaunch-header__actions { pointer-events: auto; }

.prelaunch-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prelaunch-header__button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--color-surface-muted, rgba(255, 255, 255, .07));
  color: var(--color-text-primary, #eeeeee);
  font: 500 14px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.prelaunch-header__button:hover,
.prelaunch-header__button:focus-visible {
  background: var(--color-surface-muted-hover, rgba(255, 255, 255, .11));
  outline: none;
}

.prelaunch-header__button:focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg-canvas), 0 0 0 4px var(--color-text-secondary);
}

.prelaunch-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px clamp(28px, 6vw, 112px) 96px;
  background: var(--color-bg-canvas, #020203);
}

.prelaunch-card {
  width: min(1180px, 100%);
  text-align: center;
}

.prelaunch-kinetic-title {
  margin: 0;
  color: var(--color-text-primary, #eeeeee);
  font-family: var(--font-serif, "Instrument Serif", ui-serif, Georgia, serif);
  font-size: clamp(42px, 5.15vw, 78px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.prelaunch-word {
  position: relative;
  inset-block-start: -.055em;
  display: inline-flex;
  align-items: center;
  gap: .17em;
  margin: .05em .03em;
  border: 0;
  border-radius: .34em;
  padding: .035em .18em .105em .15em;
  background: var(--color-surface-muted, rgba(255, 255, 255, .07));
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  vertical-align: baseline;
  cursor: pointer;
  transition: background-color 150ms ease, scale 150ms ease;
}

.prelaunch-word-group {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.prelaunch-word:hover,
.prelaunch-word:focus-visible {
  background: var(--color-surface-muted-hover, rgba(255, 255, 255, .11));
  outline: none;
}

.prelaunch-word:focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg-canvas), 0 0 0 4px var(--color-text-secondary);
}

.prelaunch-word:active { scale: .96; }

.prelaunch-word__icon,
.prelaunch-word__label {
  transition: opacity 160ms cubic-bezier(.2, 0, 0, 1), translate 160ms cubic-bezier(.2, 0, 0, 1), filter 160ms cubic-bezier(.2, 0, 0, 1);
}

.prelaunch-word__icon {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--color-text-secondary, rgba(238, 238, 238, .7));
  font-family: Inter, system-ui, sans-serif;
  font-size: .66em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.prelaunch-word__label { line-height: 1; }

.prelaunch-word.is-changing .prelaunch-word__icon,
.prelaunch-word.is-changing .prelaunch-word__label {
  opacity: 0;
  translate: 0 .16em;
  filter: blur(4px);
}

@media (max-width: 760px) {
  .prelaunch-header {
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px;
  }
  .prelaunch-brand {
    font-size: 26px;
    padding-inline-start: 0;
  }
  .prelaunch-header__actions { gap: 6px; }
  .prelaunch-header__button {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 13px;
  }
  .prelaunch-main {
    padding: calc(88px + env(safe-area-inset-top, 0px)) 20px calc(48px + env(safe-area-inset-bottom, 0px));
  }
  .prelaunch-kinetic-title { font-size: clamp(34px, 9vw, 52px); }
}

@media (max-width: 480px) {
  .prelaunch-main { padding-inline: 16px; }
  .prelaunch-kinetic-title {
    font-size: clamp(30px, 9.5vw, 40px);
    line-height: 1.06;
  }
}

@media (max-width: 360px) {
  .prelaunch-header__button {
    min-height: 36px;
    padding-inline: 11px;
  }
  .prelaunch-kinetic-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .prelaunch-word,
  .prelaunch-word__icon,
  .prelaunch-word__label { transition: none; }
}
