/* ============================================================
   ERP Constructor — pre-launch placeholder
   Pure CSS, no external dependencies.
   ============================================================ */

:root {
  --bg: #05070c;
  --bg-soft: #080c14;
  --ink: #eef4fd;
  --ink-dim: #b9c6da;
  --muted: #8d9bb2;
  --faint: #7d8ba0;
  --line: rgba(148, 178, 220, 0.14);
  --line-soft: rgba(148, 178, 220, 0.08);
  --cyan: #5eeaff;
  --violet: #927dff;
  --mint: #7dffc4;
  --coral: #ff8f9d;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --mx: 50vw;
  --my: 40vh;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: rgba(94, 234, 255, 0.26);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  transform: translate(-50%, -160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #05070c;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-color: var(--violet);
}

/* ------------------------------------------------------------
   Background scene
   ------------------------------------------------------------ */

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% -10%, #0a1526 0%, transparent 55%),
    radial-gradient(100% 85% at 92% 108%, #0b0a1e 0%, transparent 58%),
    var(--bg);
}

.scene__grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(126, 166, 224, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 166, 224, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 38%, #000 10%, transparent 78%);
}

.scene__grid--hot {
  background-image:
    linear-gradient(to right, rgba(94, 234, 255, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94, 234, 255, 0.2) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(300px circle at var(--mx) var(--my), #000 0%, transparent 72%);
  mask-image: radial-gradient(300px circle at var(--mx) var(--my), #000 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.has-pointer .scene__grid--hot {
  opacity: 1;
}

.scene__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.7;
  will-change: transform;
}

.scene__aurora--a {
  width: 46vmax;
  height: 46vmax;
  top: -20vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(40, 154, 255, 0.28) 0%, rgba(40, 154, 255, 0) 66%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.scene__aurora--b {
  width: 42vmax;
  height: 42vmax;
  top: -6vmax;
  right: -14vmax;
  background: radial-gradient(circle, rgba(134, 96, 255, 0.26) 0%, rgba(134, 96, 255, 0) 66%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.scene__aurora--c {
  width: 54vmax;
  height: 54vmax;
  bottom: -38vmax;
  left: 26%;
  background: radial-gradient(circle, rgba(0, 224, 198, 0.13) 0%, rgba(0, 224, 198, 0) 64%);
  animation: drift-c 38s ease-in-out infinite alternate;
}

.scene__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.scene__scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 255, 0.55), transparent);
  box-shadow: 0 0 24px rgba(94, 234, 255, 0.35);
  opacity: 0.4;
  transform: translateY(-10vh);
  animation: scan 13s linear infinite;
}

.scene__noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.scene__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, rgba(2, 4, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.5) 0%, transparent 18%, transparent 82%, rgba(2, 4, 8, 0.6) 100%);
}

/* HUD frame */

.frame {
  position: fixed;
  inset: 14px;
  z-index: 8;
  pointer-events: none;
  border: 1px solid rgba(148, 178, 220, 0.08);
  border-radius: 18px;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 84px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(94, 234, 255, 0.55), transparent);
}

.frame::before {
  top: -1px;
}

.frame::after {
  bottom: -1px;
}

.frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(94, 234, 255, 0.55);
}

.frame i:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
  border-top-left-radius: 7px;
}

.frame i:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
  border-top-right-radius: 7px;
}

.frame i:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
  border-bottom-left-radius: 7px;
}

.frame i:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
  border-bottom-right-radius: 7px;
}

/* ------------------------------------------------------------
   Layout shell
   ------------------------------------------------------------ */

.shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1340px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(22px, 4.2vw, 60px);
}

/* Top bar */

.topbar {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 88px;
}

.topbar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 178, 220, 0.16), rgba(148, 178, 220, 0.06) 55%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.brand__mark {
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 0 12px rgba(94, 234, 255, 0.35));
  transition: filter 0.3s ease;
}

.brand:hover .brand__mark {
  filter: drop-shadow(0 0 18px rgba(94, 234, 255, 0.6));
}

.brand__name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dde8f8;
  white-space: nowrap;
}

.brand__name em {
  font-style: normal;
  color: #7f8ca2;
  transition: color 0.3s ease;
}

.brand:hover .brand__name em {
  color: #a9b7cc;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #788699;
}

.build {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.build__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(125, 255, 196, 0.8);
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.topbar__stage {
  color: #748197;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 5.8vh, 64px) 0 clamp(32px, 5vh, 56px);
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #b6c4d9;
  white-space: nowrap;
}

.eyebrow__pulse {
  position: relative;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(125, 255, 196, 0.5);
  animation: pulse-ring 2.6s ease-out infinite;
}

.eyebrow__divider {
  width: 1px;
  height: 9px;
  background: var(--line);
}

.eyebrow__dim {
  color: #6f7d93;
}

.headline {
  margin: 26px 0 0;
  font-size: clamp(2.65rem, 5.5vw, 5.15rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.048em;
  color: #f2f7ff;
  text-wrap: balance;
}

.headline__grad {
  display: inline-block;
  padding-bottom: 0.06em;
  background: linear-gradient(94deg, #f0fbff 0%, #8be9ff 42%, #a38cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 36px rgba(94, 234, 255, 0.16));
}

.lede {
  max-width: 51ch;
  margin: 26px 0 0;
  font-size: clamp(14.5px, 1.18vw, 17px);
  line-height: 1.68;
  color: var(--muted);
  text-wrap: pretty;
}

/* Waitlist form */

.cta {
  max-width: 548px;
  margin-top: 34px;
}

.waitlist {
  margin: 0;
}

.waitlist__box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(148, 178, 220, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px -36px rgba(0, 0, 0, 0.9);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.waitlist__box:focus-within {
  border-color: rgba(94, 234, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 0 0 4px rgba(94, 234, 255, 0.08),
    0 24px 70px -36px rgba(94, 234, 255, 0.55);
}

.waitlist__box.is-error {
  border-color: rgba(255, 143, 157, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 143, 157, 0.08);
}

.waitlist__box.is-success {
  border-color: rgba(125, 255, 196, 0.38);
  box-shadow: 0 0 0 4px rgba(125, 255, 196, 0.06);
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.waitlist__input::placeholder {
  color: #69778d;
  opacity: 1;
}

.waitlist__input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #c6d4e7;
  color: #c6d4e7;
}

.waitlist__btn {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(120deg, #76ecff 0%, #8f7aff 100%);
  color: #05070d;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(94, 234, 255, 0.8);
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.waitlist__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 38px -14px rgba(94, 234, 255, 0.9);
}

.waitlist__btn:active:not(:disabled) {
  transform: translateY(0);
}

.waitlist__btn:disabled {
  cursor: default;
  transform: none;
  filter: none;
}

.waitlist__btn.is-loading::after,
.waitlist__btn.is-done::after {
  display: inline-block;
  font-weight: 700;
}

.waitlist__btn.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(5, 7, 13, 0.3);
  border-top-color: #05070d;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.waitlist__btn.is-loading .waitlist__arrow,
.waitlist__btn.is-done .waitlist__arrow {
  display: none;
}

.waitlist__btn.is-done {
  background: linear-gradient(120deg, #9bffd5 0%, #6fe7ff 100%);
}

.waitlist__btn.is-done::after {
  content: "✓";
  font-size: 15px;
}

.waitlist__arrow {
  transition: transform 0.25s var(--ease);
}

.waitlist__btn:hover .waitlist__arrow {
  transform: translateX(2px);
}

.waitlist__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 2px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #79879d;
  transition: color 0.2s ease;
}

.waitlist__note-icon {
  flex: none;
  margin-top: 1px;
  opacity: 0.8;
}

.waitlist__note.is-error {
  color: var(--coral);
}

.waitlist__note.is-success {
  color: var(--mint);
}

/* Facts */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 548px;
  margin: 38px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts li {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 5px;
  min-width: 118px;
  padding-right: 16px;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: #a7b5c9;
}

.facts li + li {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.facts li span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: #5f7088;
}

/* ------------------------------------------------------------
   Console panel
   ------------------------------------------------------------ */

.console {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 414px;
  border: 1px solid rgba(148, 178, 220, 0.17);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 38, 0.88) 0%, rgba(7, 11, 19, 0.92) 100%);
  box-shadow:
    0 40px 100px -42px rgba(40, 160, 220, 0.45),
    0 30px 80px -40px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.console::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 255, 0.75), transparent);
  opacity: 0.7;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.012);
}

.console__dots {
  display: inline-flex;
  gap: 5px;
}

.console__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.console__dots i:nth-child(1) {
  background: rgba(255, 104, 104, 0.55);
}

.console__dots i:nth-child(2) {
  background: rgba(255, 196, 92, 0.55);
}

.console__dots i:nth-child(3) {
  background: rgba(110, 255, 180, 0.55);
}

.console__title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8393aa;
}

.console__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.console__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(125, 255, 196, 0.8);
  animation: live-pulse 2s ease-in-out infinite;
}

.console__body {
  position: relative;
  min-height: 204px;
  padding: 17px 17px 15px;
  overflow: hidden;
}

.log {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.95;
}

.log__line {
  display: flex;
  gap: 9px;
  white-space: nowrap;
  overflow: hidden;
}

.log__time {
  flex: none;
  color: #4d5e76;
  font-variant-numeric: tabular-nums;
}

.log__mark {
  flex: none;
  width: 8px;
  color: #66768e;
}

.log__text {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #a6b5ca;
}

.log__line[data-tone="ok"] .log__mark {
  color: #79d7b2;
}

.log__line[data-tone="accent"] .log__mark {
  color: var(--cyan);
}

.log__line[data-tone="accent"] .log__text {
  color: #c3e9f5;
}

.log__line[data-tone="dim"] .log__text {
  color: #8595ad;
}

.log__caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(94, 234, 255, 0.9);
  animation: blink 1.1s steps(1, end) infinite;
}

.console__progress {
  position: relative;
  z-index: 1;
  padding: 15px 17px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(0, 0, 0, 0.18);
}

.console__progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8190a7;
}

.console__value {
  color: #d9e6f7;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.console__value b {
  font-weight: 500;
  color: #fff;
}

.progress {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  overflow: hidden;
}

.progress__fill {
  position: relative;
  display: block;
  width: var(--p, 78%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3edcff 0%, #7ce6ff 38%, #927dff 100%);
  box-shadow: 0 0 16px rgba(94, 234, 255, 0.55);
  overflow: hidden;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-110%);
  animation: shimmer 2.8s ease-in-out infinite;
}

.console__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b8aa1;
}

/* ------------------------------------------------------------
   Ticker
   ------------------------------------------------------------ */

.ticker {
  position: relative;
  flex: none;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 34px;
  padding: 19px 34px 19px 0;
}

.ticker__group span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #718097;
  white-space: nowrap;
}

.ticker__group i {
  font-style: normal;
  font-size: 7px;
  color: rgba(94, 234, 255, 0.5);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #738196;
}

.footer p {
  margin: 0;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8695aa;
}

.footer__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(125, 255, 196, 0.7);
  animation: live-pulse 2.4s ease-in-out infinite;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #6f7e93;
}

.footer__meta time {
  color: #9aa9be;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.footer__coords {
  color: #6f7f95;
}

/* ------------------------------------------------------------
   Entrance animation
   ------------------------------------------------------------ */

.rise {
  opacity: 0;
  animation: rise 0.95s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vmax, 3vmax, 0) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(-5vmax, 4vmax, 0) scale(0.95); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.98); }
  to { transform: translate3d(-4vmax, -5vmax, 0) scale(1.06); }
}

@keyframes scan {
  from { transform: translateY(-10vh); }
  to { transform: translateY(110vh); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(125, 255, 196, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(125, 255, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 255, 196, 0); }
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

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

@keyframes shimmer {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 40px;
  }

  .headline {
    font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  }

  .lede {
    max-width: 46ch;
  }
}

@media (max-width: 900px) {
  .shell {
    min-height: 100svh;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .console {
    justify-self: stretch;
    max-width: 560px;
  }

  .headline {
    font-size: clamp(2.7rem, 9.2vw, 4.6rem);
  }

  .lede {
    max-width: 56ch;
  }

  .facts {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .frame {
    inset: 8px;
    border-radius: 14px;
  }

  .topbar {
    height: 74px;
  }

  .brand__name {
    font-size: 10px;
    letter-spacing: 0.17em;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .topbar__stage,
  .topbar__sep {
    display: none;
  }

  .topbar__meta {
    font-size: 8.5px;
  }

  .hero {
    gap: 40px;
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .eyebrow {
    padding: 7px 11px;
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .headline {
    margin-top: 22px;
    font-size: clamp(2.35rem, 10.6vw, 3.7rem);
    letter-spacing: -0.042em;
  }

  .lede {
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.62;
  }

  .cta {
    margin-top: 28px;
  }

  .waitlist__box {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 7px;
    border-radius: 15px;
  }

  .waitlist__input {
    padding: 12px 12px 10px;
    font-size: 16px;
  }

  .waitlist__btn {
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
  }

  .facts {
    margin-top: 30px;
    padding-top: 15px;
  }

  .facts li {
    min-width: 92px;
    padding-right: 10px;
    font-size: 10.5px;
  }

  .facts li + li {
    padding-left: 12px;
  }

  .console__body {
    min-height: 191px;
    padding: 15px 15px 13px;
  }

  .log {
    font-size: 10.5px;
    line-height: 1.92;
  }

  .console__progress {
    padding: 14px 15px 15px;
  }

  .console__progress-meta {
    font-size: 7.5px;
    letter-spacing: 0.08em;
  }

  .ticker__group {
    gap: 26px;
    padding: 16px 26px 16px 0;
  }

  .ticker__group span {
    font-size: 8.5px;
    letter-spacing: 0.22em;
  }

  .footer {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 16px 0 19px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .footer__status {
    order: 3;
    width: 100%;
  }

  .footer__coords {
    display: none;
  }

  .footer__meta {
    gap: 0;
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .shell {
    padding: 0 17px;
  }

  .eyebrow__dim,
  .eyebrow__divider {
    display: none;
  }

  .facts li {
    min-width: 0;
    font-size: 9.5px;
  }

  .console__progress-meta span:first-child {
    display: none;
  }

  .console__progress-meta {
    justify-content: flex-end;
  }
}

/* Short screens: tighten vertical rhythm */
@media (max-height: 840px) and (min-width: 901px) {
  .topbar {
    height: 72px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .headline {
    margin-top: 18px;
    font-size: clamp(2.4rem, 4.7vw, 4.15rem);
  }

  .lede {
    margin-top: 18px;
    font-size: 15px;
  }

  .cta {
    margin-top: 24px;
  }

  .facts {
    margin-top: 24px;
    padding-top: 14px;
  }

  .ticker__group {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .footer {
    padding: 14px 0 16px;
  }
}

/* ------------------------------------------------------------
   Reduced motion & fallbacks
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .scene__scan,
  .progress__fill::after {
    display: none;
  }

  .rise {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .scene__grid--hot {
    display: none;
  }
}
