:root {
  --bg: #121212;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --text: #d7d7d7;
  --text-muted: #969696;
  --red: #d84c3f;
  --accent: #d4d4d4;
  --accent-soft: rgba(212, 212, 212, 0.16);
  --radius: 24px;
  --nav-height: 64px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Saira Semi Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  background: radial-gradient(1200px 700px at 76% 84%, #1b1b1b 0%, var(--bg) 58%);
  overflow-x: hidden;
}

body { padding: 20px; }

.shell {
  position: relative;
  min-height: calc(100vh - 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.5px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  background-size: 3px 3px, 100% 4px;
  mix-blend-mode: overlay;
}

.content-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0.4) 34%, rgba(12, 12, 12, 0.1) 58%, rgba(12, 12, 12, 0.02) 100%);
}

.topbar {
  position: relative;
  z-index: 3;
  height: var(--nav-height);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.88), rgba(19, 19, 19, 0.4));
}

.brand {
  position: absolute;
  left: 26px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 1.14rem;
  color: var(--text);
  text-decoration: none;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border-radius: 50%;
  transform: scale(1.34);
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link,
.nav-link-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: #efefef;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
  transition: color 180ms ease, text-shadow 180ms ease;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link-box:hover,
.nav-link-box:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.22);
  outline: none;
}

main {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 40px - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: end;
  padding: 36px 26px 30px;
}

.panel {
  max-width: 760px;
  animation: rise 900ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.kicker {
  margin: 0;
  color: #7f7f7f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
}

.email-signup {
  max-width: 500px;
  margin-top: 14px;
}

.email-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}

.email-input {
  width: 100%;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 12, 12, 0.7);
  color: #d4d4d4;
  padding: 0 14px;
  font-size: 0.95rem;
  font-family: "Saira Semi Condensed", "Avenir Next Condensed", sans-serif;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.submit-btn {
  height: 44px;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  cursor: pointer;
  color: #141414;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
  background: linear-gradient(180deg, #cecece, #b4b4b4);
  transition: transform 180ms ease, filter 180ms ease;
}

.submit-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.msg {
  display: none;
  margin-top: 10px;
  font-size: 0.85rem;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.01em;
}

.msg.success { color: #cfcfcf; }
.msg.error { color: #bcbcbc; }

.launch-countdown {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0;
  animation: riseClock 900ms 160ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.countdown-value {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
  color: var(--red);
  font-size: clamp(2.67rem, 5.6vw, 4.13rem);
  text-shadow: none;
}

.stats {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  align-content: end;
  gap: 10px;
  font-family: "Share Tech Mono", "SFMono-Regular", monospace;
  color: #8b8b8b;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  animation: rise 900ms 120ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.dotline {
  width: min(340px, 64vw);
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.27) 0 2px, transparent 2px 8px);
}

.telemetry {
  width: min(360px, 72vw);
  height: 84px;
  opacity: 0.92;
}

.telemetry text {
  fill: #8a8a8a;
  font: 11px "Share Tech Mono", monospace;
  letter-spacing: 0.12em;
}

.telemetry .curve-base {
  stroke: #5e5e5e;
  stroke-width: 1.6;
  fill: none;
  opacity: 0.7;
}

.telemetry .curve-hot {
  stroke: var(--red);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
}

.telemetry .point { fill: var(--red); }

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

@keyframes riseClock {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 960px) {
  .topbar { padding: 0 16px; }

  main {
    padding: 30px 16px 22px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .stats { justify-items: start; }

  .dotline { width: min(100%, 420px); }
}

@media (max-width: 640px) {
  body { padding: 10px; }

  .shell { min-height: calc(100vh - 20px); }

  .content-shade {
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.74) 0%, rgba(11, 11, 11, 0.54) 48%, rgba(11, 11, 11, 0.2) 75%, rgba(11, 11, 11, 0.04) 100%);
  }

  .topbar {
    padding: 0 12px;
    justify-content: space-between;
    gap: 8px;
  }

  .brand {
    position: static;
    flex: 0 0 auto;
  }

  .nav {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }

  .nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .nav-link-box {
    min-height: 30px;
    padding: 5px 9px;
  }

  main {
    min-height: calc(100vh - 20px - 94px);
    padding: 26px 12px 18px;
  }

  .launch-countdown {
    position: static;
    transform: none;
    margin: 8px 0 12px;
    text-align: center;
    pointer-events: none;
    animation: rise 900ms 160ms cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
  }

  .email-form { grid-template-columns: 1fr; }
}
