:root {
  --void:        var(--myx-void);
  --obsidian:    var(--myx-obsidian);
  --slate:       var(--myx-slate);
  --graphite:    #1f1c2b;
  --hairline:    var(--myx-hairline);
  --signal:      var(--myx-signal);
  --signal-lift: var(--myx-signal-lift);
  --signal-deep: var(--myx-signal-deep);
  --haze:        var(--myx-haze);
  --chrome:      var(--myx-chrome);
  --live:        var(--myx-live);
  --warn:        var(--myx-warn);
  --down:        var(--myx-down);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-data:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1040px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { text-transform: lowercase; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body {
  background: var(--void);
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
button, a, label, input, select, textarea, ::placeholder { text-transform: lowercase; }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1; margin: 0; }

::selection { background: var(--signal); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--signal-lift); outline-offset: 3px;
}

.cut-right { clip-path: none; }
.glow {
  background: radial-gradient(60% 60% at 50% 38%,
    rgba(139, 107, 255, 0.20), rgba(100, 61, 255, 0.08) 45%, transparent 70%);
}

.slides {
  height: 100vh; height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 24px 32px;
  overflow: hidden;
}
.slide--alt { background: var(--obsidian); }
.slide-inner {
  flex: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.slide h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); letter-spacing: -0.02em; max-width: 20ch; }
.lead { color: var(--haze); max-width: 52ch; margin: 18px auto 0; }

.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: #fff; background: none; border: 0; cursor: pointer;
  padding: 0.9rem 2rem;
  transition: color 0.15s ease, transform 0.1s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-13deg);
  background: var(--signal); border: 1px solid var(--signal);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover::before { background: var(--signal-lift); border-color: var(--signal-lift); }
.btn:active { transform: translateY(1px); }
.btn:active::before { background: var(--signal-deep); border-color: var(--signal-deep); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-outline {
  position: relative; isolation: isolate;
  background: none; color: var(--haze); border: 0;
  font-family: var(--font-data); font-weight: 500; cursor: pointer;
  padding: 0.82rem 1.35rem; font-size: 0.9rem;
  transition: color 0.15s ease;
}
.btn-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-13deg);
  border: 1px solid var(--hairline); transition: border-color 0.15s ease;
}
.btn-outline:hover { color: var(--chrome); }
.btn-outline:hover::before { border-color: var(--signal); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;

  background: rgba(8,7,14,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; }

.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; min-height: 42px; }
.logo span { color: var(--signal); }
.nav-links { display: flex; align-items: center; gap: 22px; font-family: var(--font-data); font-size: 0.85rem; color: var(--haze); }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 42px; padding: 0 2px; }
.nav-links a:not(.btn):hover { color: var(--chrome); }

.nav-links .btn { font-size: 0.9rem; padding: 0.62rem 1.4rem; }

.slide--hero .glow { position: absolute; inset: -10% -10% auto -10%; height: 90%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.splash-number {
  font-family: var(--font-data); font-weight: 500;
  font-size: clamp(1.05rem, 5.4vw, 3.4rem); letter-spacing: 0.12em;
  color: var(--chrome); cursor: pointer; user-select: none;
  padding: 4px 8px; transition: opacity 0.12s ease;
  white-space: nowrap; max-width: 100%;
}
.splash-number:hover { color: var(--signal-lift); }
.hero-tag { font-size: clamp(2.3rem, 7.4vw, 4.6rem); letter-spacing: -0.03em; margin-top: 14px; }
.hero-tag.is-error { color: var(--down); font-size: clamp(1.3rem, 4vw, 1.8rem); }
.hero-tag .accent { color: var(--signal); }
.hero-lead { margin-top: 20px; font-size: 1.02rem; }
.hero-cta { margin-top: 30px; }

.proof {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-family: var(--font-data); font-size: 0.84rem; color: var(--haze);
}
.proof li { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.proof li::before { content: "/"; color: var(--signal); }

.hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 600px; position: relative; z-index: 1; }
.hero-text .splash-number { font-size: clamp(0.9rem, 4.4vw, 2.3rem); padding-left: 0; }
.hero-text .hero-tag { font-size: clamp(2rem, 5.4vw, 3.7rem); }
.hero-text .route { justify-content: flex-start; }
.hero-text .hero-lead { margin-left: 0; max-width: 44ch; }
.hero-globe { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-globe canvas { width: 100%; height: 100%; display: block; }

.route {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-top: 22px;
  font-family: var(--font-data); font-size: clamp(0.76rem, 2.3vw, 0.94rem);
  letter-spacing: 0.04em; color: var(--haze);
}
.route .node { color: var(--haze); }
.route .hub { color: var(--chrome); }

.route .slash {
  display: inline-block; transform: skewX(-12deg); letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--signal) 0%, var(--signal) 42%, var(--chrome) 50%, var(--signal) 58%, var(--signal) 100%);
  background-size: 250% 100%; background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: route-flow 1.5s linear infinite;
}
@keyframes route-flow { from { background-position: 120% 0; } to { background-position: -120% 0; } }

@keyframes exit-arrive { 0% { transform: scale(1); } 40% { transform: scale(1.85); } 100% { transform: scale(1); } }
.route .exit.arrive .dot { animation: exit-arrive 0.5s ease; }
.route .exit {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; color: var(--chrome);
  padding: 6px 13px; transition: opacity 0.15s ease;
}
.route .exit::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-13deg); background: var(--slate); border: 1px solid var(--hairline); }
.route .exit .geo { color: var(--haze); }
.route .exit .dot { width: 7px; height: 7px; background: var(--live); flex: none; }
.stats {
  margin-top: 34px; font-family: var(--font-data);
  font-size: 0.76rem; letter-spacing: 0.06em; color: var(--haze);
}
.stats .sep { color: var(--hairline); } .stats .live { color: var(--live); }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-data); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--haze); display: flex; gap: 8px; align-items: center;
}
.scroll-hint span { color: var(--signal); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.scroll-hint:hover { color: var(--chrome); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 52px; width: 100%; }
.step { text-align: left; }
.step .num { font-family: var(--font-data); font-size: 0.9rem; color: var(--signal); letter-spacing: 0.1em; }
.step h3 { font-size: 1.3rem; margin: 14px 0 0; }
.step .rule { height: 1px; background: var(--hairline); margin: 16px 0; }
.step p { color: var(--haze); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; width: 100%; }
.feature {
  text-align: left; background: var(--slate); border: 1px solid var(--hairline); padding: 26px 24px;
}
.feature .tag { font-family: var(--font-data); font-size: 0.8rem; color: var(--signal-lift); letter-spacing: 0.08em; }
.feature p { color: var(--haze); margin: 12px 0 0; font-size: 0.94rem; }

.price { text-align: left; background: var(--slate); border: 1px solid var(--hairline); padding: 30px 26px; position: relative; }
.price.is-featured { border-color: var(--signal); }
.price .badge {
  position: absolute; top: 0; right: 0; background: var(--signal); color: #fff;
  font-family: var(--font-data); font-size: 0.66rem; letter-spacing: 0.1em; padding: 4px 12px;
}
.price .name { font-family: var(--font-data); font-size: 0.85rem; color: var(--haze); letter-spacing: 0.1em; }
.price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; margin: 14px 0 0; letter-spacing: -0.02em; }
.price .amount small { font-family: var(--font-data); font-size: 0.8rem; font-weight: 400; color: var(--haze); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.price li { color: var(--haze); font-size: 0.9rem; padding: 6px 0 6px 22px; position: relative; }
.price li::before { content: "/"; position: absolute; left: 0; color: var(--signal); font-family: var(--font-data); }
.price .btn, .price .btn-outline { width: 100%; justify-content: center; text-align: center; }
.price { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.price:not(.is-featured):hover { transform: translateY(-4px); border-color: var(--signal-deep); }
.price.is-featured:hover { transform: translateY(-4px); }

.see-all {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; align-self: center; margin-top: 30px;
  font-family: var(--font-data); font-size: 0.86rem; color: var(--signal-lift);
  border: 0; padding: 11px 22px; transition: color 0.15s ease;
}
.see-all::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-13deg); border: 1px solid var(--hairline); transition: border-color 0.15s ease; }
.see-all:hover::before { border-color: var(--signal); }
.see-all span { color: var(--signal); }
.see-all:hover { color: var(--chrome); border-color: var(--signal); background: rgba(100,61,255,0.08); }

.constel-inner { align-items: stretch; justify-content: center; }
.constellation { position: relative; width: 100%; flex: 1; min-height: 440px; height: min(64vh, 600px); }
.constel-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.cl-lines line { stroke-width: 1; stroke-opacity: 0.32; stroke-dasharray: 3 5; animation: clflow 5s linear infinite; }
@keyframes clflow { to { stroke-dashoffset: -16; } }
.cl-stars circle { opacity: 0.5; animation: cltwinkle 3.6s ease-in-out infinite; }
.cl-stars circle:nth-child(even) { animation-delay: 1.2s; }
.cl-stars circle:nth-child(3n) { animation-delay: 2.1s; }
@keyframes cltwinkle { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.7; } }
.constel-head { position: absolute; top: 0; left: 0; max-width: 34ch; text-align: left; z-index: 3; }
.constel-eyebrow { font-family: var(--font-data); font-size: 0.74rem; letter-spacing: 0.18em; color: var(--haze); }
.constel-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 12px; text-align: left; max-width: none; }
.constel-muted { color: var(--haze); }
.constel-head .lead { margin: 14px 0 0; text-align: left; font-size: 0.92rem; max-width: 36ch; }
.star { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; cursor: pointer; padding: 0; z-index: 2; }
.star-dot { display: block; width: 9px; height: 9px; margin: 0 auto; border-radius: 50%; background: var(--signal-lift);
  box-shadow: 0 0 10px 2px rgba(139,107,255,0.5); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.star-lab { display: block; margin-top: 13px; text-align: center; white-space: nowrap; pointer-events: none; }
.star-lab b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; color: var(--chrome); letter-spacing: -0.01em; }
.star-lab small { display: block; font-family: var(--font-data); font-size: 0.74rem; color: var(--haze); margin-top: 3px; }
.star-lab em { display: block; font-family: var(--font-data); font-style: normal; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--signal-lift); margin-top: 4px; }
.star:hover .star-dot, .star:focus-visible .star-dot { transform: scale(1.45); box-shadow: 0 0 18px 4px rgba(139,107,255,0.75); }
.star:hover .star-lab b, .star:focus-visible .star-lab b { color: var(--signal-lift); }

.star.flagship .star-dot { width: 16px; height: 16px; background: #fff; animation: nova 3.4s ease-in-out infinite; }
@keyframes nova {
  0%, 100% { box-shadow: 0 0 0 6px rgba(139,107,255,0.15), 0 0 26px 8px rgba(100,61,255,0.45); }
  50% { box-shadow: 0 0 0 9px rgba(139,107,255,0.22), 0 0 42px 15px rgba(100,61,255,0.62); }
}
.star.flagship .star-lab b { font-size: 1.22rem; font-weight: 700; }
.star.flagship .star-lab small { color: var(--signal-lift); }
.constel-cta { position: absolute; right: 0; bottom: 0; margin-top: 0; z-index: 3; }

.site-footer {
  width: 100%; max-width: var(--maxw); margin: 24px auto 0;

  display: grid; grid-template-columns: minmax(150px, 1.5fr) repeat(auto-fit, minmax(120px, 1fr));
  gap: 26px 30px; align-items: start;
  border-top: 1px solid var(--hairline); padding: 28px 24px 40px;
  font-family: var(--font-data); font-size: 0.84rem; color: var(--haze); text-align: left;
}

.foot-wrap { margin-top: 48px; }
.foot-brand .logo { font-size: 1.3rem; }
.foot-brand p { margin: 12px 0 0; color: var(--haze); font-size: 0.78rem; line-height: 1.65; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h { color: var(--signal-lift); letter-spacing: 0.06em; font-size: 0.72rem; margin-bottom: 2px; }
.foot-col a { color: var(--haze); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--chrome); }
.foot-tg {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  color: var(--signal-lift); padding: 9px 17px; margin-bottom: 2px; transition: color 0.15s ease;
}
.foot-tg::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-13deg); background: rgba(100,61,255,0.12); border: 1px solid var(--signal-deep); transition: background 0.15s ease, border-color 0.15s ease; }
.foot-tg svg { flex: none; }
.foot-tg:hover { background: var(--signal); color: #fff; border-color: var(--signal); }
.foot-handle { color: var(--haze); font-size: 0.74rem; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.04em; }

.dots {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 14px;
}
.dots .dot {
  width: 14px; height: 2px; background: var(--hairline); transform: skewX(-30deg);
  transition: background 0.2s ease, width 0.2s ease;
}
.dots .dot:hover { background: var(--haze); }
.dots .dot.active { background: var(--signal); width: 22px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(4, 3, 9, 0.78); backdrop-filter: blur(6px); }
.modal.open { display: grid; }
.modal-card { width: 100%; max-width: 460px; background: var(--slate); border: 1px solid var(--hairline); padding: 32px; text-align: left; }
.modal-card h3 { font-size: 1.5rem; }.modal-number { font-family: var(--font-data); font-size: 1.5rem; letter-spacing: 0.16em; color: var(--chrome); background: var(--void); border: 1px solid var(--hairline); padding: 18px 20px; margin: 22px 0 14px; word-break: break-all; }
.modal-warn { font-family: var(--font-data); font-size: 0.76rem; line-height: 1.6; color: var(--warn); margin: 0 0 22px; }
.modal-row { display: flex; gap: 12px; margin-bottom: 18px; }
.modal-row .btn-outline { flex: 1; justify-content: center; }
.gate { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-data); font-size: 0.82rem; color: var(--haze); margin-bottom: 20px; cursor: pointer; }
.gate input { accent-color: var(--signal); margin-top: 2px; }
.modal .btn { width: 100%; justify-content: center; }
.field { width: 100%; background: var(--void); border: 1px solid var(--hairline); color: var(--chrome); font-family: var(--font-data); font-size: 1.1rem; letter-spacing: 0.12em; padding: 14px 16px; margin: 20px 0 8px; }
.field:focus { border-color: var(--signal); outline: none; }
.form-error { color: var(--down); font-family: var(--font-data); font-size: 0.8rem; min-height: 1.2em; margin-bottom: 14px; }
.modal-close { float: right; background: none; border: 0; color: var(--haze); font-family: var(--font-data); font-size: 1rem; cursor: pointer; }
.modal-close:hover { color: var(--chrome); }

@media (max-width: 860px) {
  .dots { display: none; }

  .nav-links { gap: 13px; }
  .nav-links a:not(.btn) { font-size: 0.8rem; }
  .nav .btn { padding: 0.58rem 1.05rem; font-size: 0.85rem; white-space: nowrap; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .slide { padding-left: 18px; padding-right: 18px; }

  .hero-inner { justify-content: center; text-align: center; }

  .slide--hero .hero-inner { justify-content: flex-start; }
  .hero-text { align-items: center; max-width: 100%; margin-top: 9vh; }
  .hero-text .route { justify-content: center; }
  .hero-text .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-globe { opacity: 0.42; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-brand { grid-column: 1 / -1; }

  .constel-svg { display: none; }
  .constellation { height: auto; min-height: 0; display: flex; flex-direction: column;
    align-items: stretch; gap: 9px; width: 100%; max-width: 440px; margin: 0 auto; }
  .constel-head { position: static; max-width: 100%; margin: 0 0 18px; }
  .constel-head h2, .constel-head .lead { text-align: left; }
  .constel-head .lead { margin-left: 0; margin-right: 0; }
  .star { position: static !important; left: auto !important; top: auto !important; transform: none !important;
    display: flex; flex-direction: row; align-items: center; gap: 13px; width: 100%;
    background: var(--slate); border: 1px solid var(--hairline); padding: 13px 15px;
    transition: border-color 0.18s ease, background 0.18s ease; }
  .star:hover, .star:focus-visible { border-color: var(--signal); background: var(--graphite); }
  .star-dot { margin: 0; flex: none; }
  .star:hover .star-dot, .star:focus-visible .star-dot { transform: none; }
  .star-lab { display: flex; flex-direction: row; align-items: baseline; gap: 10px;
    flex: 1; min-width: 0; margin: 0; text-align: left; white-space: nowrap; }
  .star-lab b { font-size: 1rem; order: 0; overflow: hidden; text-overflow: ellipsis; }
  .star-lab em { display: inline-block; order: 1; margin: 0; flex: none; }
  .star-lab small { order: 2; margin: 0 0 0 auto; flex: none; }
  .star.flagship { border-color: var(--signal-deep); background: rgba(100,61,255,0.08); }
  .star.flagship .star-dot { width: 12px; height: 12px; }
  .star.flagship .star-lab b { font-size: 1.05rem; }
  .constel-cta { position: static; align-self: stretch; justify-content: center; margin-top: 7px; }
}

@media (max-width: 720px) {

  .nav-links a.nav-more { display: none; }
}

@media (max-width: 400px) {
  .nav .wrap { padding: 0 16px; }
  .nav-links { gap: 10px; }
  .nav .btn { padding: 0.58rem 0.85rem; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .splash-number { letter-spacing: 0.06em; }
}

@media (max-width: 520px), (max-height: 760px) {
  .slides { scroll-snap-type: y proximity; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .slides { scroll-snap-type: none; scroll-behavior: auto; }
  .splash-number, .scroll-hint span { transition: none; animation: none; }

  .route .slash { animation: none; color: var(--signal); -webkit-text-fill-color: var(--signal); }
  .route .exit.arrive .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
