:root {
  color-scheme: dark;
  --alpy-black: #050505;
  --alpy-charcoal: #111317;
  --alpy-graphite: #1d2027;
  --alpy-steel: #8f98a3;
  --alpy-silver: #e2e6e9;
  --alpy-red: #d71935;
  --alpy-red-bright: #ff304d;
  --alpy-red-deep: #7d0c1d;
  --alpy-gold: #d8b35f;
  --panel-border: rgba(226, 230, 233, 0.14);
  --panel-bg: rgba(13, 15, 18, 0.82);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #050505 0%, #0b0c0e 48%, #050505 100%);
  color: var(--alpy-silver);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

::selection {
  background: rgba(255, 48, 77, 0.34);
  color: #fff;
}

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

.cosmos-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.16) contrast(1.08) brightness(1.05);
  z-index: -2;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.76) 0%, rgba(5, 5, 5, 0.48) 48%, rgba(5, 5, 5, 0.68) 100%),
    linear-gradient(165deg, rgba(215, 25, 53, 0.1), transparent 28rem),
    linear-gradient(20deg, rgba(216, 179, 95, 0.08), transparent 22rem);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(226, 230, 233, 0.1);
  border-radius: 0.5rem;
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(226, 230, 233, 0.22), 0 0.75rem 2rem rgba(215, 25, 53, 0.18);
}

nav {
  display: flex;
  gap: 1.2rem;
  color: rgba(226, 230, 233, 0.74);
  font-size: 0.94rem;
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a:hover {
  color: #fff;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--alpy-gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.button {
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0 1.05rem;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.button.is-loading {
  position: relative;
  padding-left: 2.65rem;
  opacity: 0.92;
}

.button.is-loading::before {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  animation: alpy-spin 760ms linear infinite;
}

@keyframes alpy-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.button-primary {
  background: linear-gradient(135deg, var(--alpy-red-bright), var(--alpy-red-deep));
  box-shadow: 0 1rem 2.2rem rgba(215, 25, 53, 0.28);
}

.button-primary:not(:disabled):hover {
  box-shadow: 0 1.2rem 2.7rem rgba(215, 25, 53, 0.38);
}

.button-secondary {
  background: rgba(17, 19, 23, 0.76);
  border-color: rgba(226, 230, 233, 0.18);
}

.button-secondary:not(:disabled):hover {
  border-color: rgba(216, 179, 95, 0.5);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.2);
}

main {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 5.5rem;
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--alpy-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  max-width: 52rem;
  font-size: clamp(2.9rem, 6.2vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.lede {
  max-width: 42rem;
  color: rgba(226, 230, 233, 0.78);
  font-size: 1.18rem;
  line-height: 1.7;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(216, 179, 95, 0.22);
  border-radius: 0.5rem;
  padding: 0 0.8rem;
  background: rgba(5, 5, 5, 0.42);
  color: rgba(226, 230, 233, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}

.status-line,
.provision-status {
  color: rgba(226, 230, 233, 0.7);
  line-height: 1.5;
}

.launch-panel,
.feature-grid article {
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(22px);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
}

.launch-panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.launch-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--alpy-red-bright), var(--alpy-gold));
  content: "";
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 800;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--alpy-red-bright);
  box-shadow: 0 0 1.4rem rgba(255, 48, 77, 0.9);
}

dl {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.4rem;
}

dt {
  color: var(--alpy-steel);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.2rem 0 0;
  color: rgba(226, 230, 233, 0.84);
  line-height: 1.5;
}

.section {
  padding: 5.4rem 0;
  border-top: 1px solid rgba(226, 230, 233, 0.12);
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 3rem;
}

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

.feature-grid article {
  min-height: 11rem;
  padding: 1.35rem;
  border-radius: 0.5rem;
}

.feature-grid article:hover {
  border-color: rgba(216, 179, 95, 0.32);
}

.feature-grid p,
.trading-band p,
.beta-section p {
  color: rgba(226, 230, 233, 0.76);
  line-height: 1.65;
}

.trading-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: 3rem;
  align-items: center;
  padding-bottom: 7rem;
}

.ticker-strip {
  display: grid;
  gap: 0.7rem;
}

.ticker-strip span {
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(226, 230, 233, 0.11);
  border-left: 3px solid var(--alpy-red-bright);
  border-radius: 0.5rem;
  background: rgba(5, 5, 5, 0.64);
  color: rgba(226, 230, 233, 0.86);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.18);
}

.success {
  color: #d8f7df;
}

.error {
  color: #ffb0ba;
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.dialog-overlay[hidden] {
  display: none;
}

.dialog-panel {
  position: relative;
  width: min(100%, 28rem);
  overflow: hidden;
  border: 1px solid rgba(226, 230, 233, 0.16);
  border-radius: 0.5rem;
  padding: 1.35rem;
  background: rgba(9, 10, 12, 0.94);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}

.dialog-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--alpy-red-bright), var(--alpy-gold));
  content: "";
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(226, 230, 233, 0.14);
  border-radius: 0.5rem;
  background: rgba(17, 19, 23, 0.72);
  color: rgba(226, 230, 233, 0.86);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: rgba(216, 179, 95, 0.44);
  color: #fff;
}

.dialog-kicker {
  margin-bottom: 0.55rem;
  padding-right: 2.6rem;
  color: var(--alpy-gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-title {
  margin: 0 2.5rem 0.7rem 0;
  font-size: 1.55rem;
  line-height: 1.12;
}

.dialog-message {
  margin-bottom: 1.15rem;
  color: rgba(226, 230, 233, 0.76);
  line-height: 1.6;
}

.dialog-form {
  display: grid;
  gap: 0.7rem;
}

.dialog-label {
  color: rgba(226, 230, 233, 0.9);
  font-size: 0.84rem;
  font-weight: 800;
}

.dialog-input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(226, 230, 233, 0.16);
  border-radius: 0.5rem;
  padding: 0 0.95rem;
  background: rgba(5, 5, 5, 0.58);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dialog-input:focus {
  border-color: rgba(216, 179, 95, 0.62);
  box-shadow: 0 0 0 3px rgba(216, 179, 95, 0.13);
}

.dialog-input::placeholder {
  color: rgba(226, 230, 233, 0.38);
}

.dialog-error {
  min-height: 1.25rem;
  margin: 0;
  color: #ffb0ba;
  font-size: 0.86rem;
  line-height: 1.45;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.dialog-actions .button {
  min-width: 6.5rem;
}

body.dialog-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .hero,
  .split-section,
  .trading-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

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

@media (max-width: 520px) {
  .dialog-panel {
    padding: 1.15rem;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .dialog-actions .button {
    width: 100%;
  }
}
