
:root {
  --navy: #0A1330;
  --navy-deep: #030817;
  --navy-soft: #111f46;
  --white: #ffffff;
  --muted: rgba(235, 241, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --orange: #FF6A00;
  --orange-soft: rgba(255, 106, 0, 0.22);
  --success: #7af0bd;
  --error: #ff8a8a;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--navy-deep);
  color-scheme: dark;
}

body {
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 45%, rgba(26, 72, 146, 0.18), transparent 34%),
    radial-gradient(circle at 12% 85%, rgba(255, 106, 0, 0.07), transparent 30%),
    linear-gradient(118deg, #040818 0%, #07122d 42%, #0a1739 100%);
}

#route-canvas {
  position: absolute;
  z-index: -6;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  filter: saturate(0.95) contrast(1.04);
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -5;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.32;
  animation: ambient-drift 15s ease-in-out infinite alternate;
}

.ambient-one {
  width: 44vw;
  height: 28vw;
  right: -14vw;
  top: 18%;
  background: rgba(37, 91, 194, 0.24);
}

.ambient-two {
  width: 26vw;
  height: 20vw;
  left: 24%;
  bottom: -9vw;
  background: rgba(255, 106, 0, 0.10);
  animation-delay: -6s;
}

.grid-overlay {
  position: absolute;
  z-index: -4;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 0%, black 52%, black 100%);
  pointer-events: none;
}

.readability-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 68% 80% at 29% 48%,
      rgba(5, 11, 29, 0.25) 0%,
      rgba(5, 11, 29, 0.56) 58%,
      rgba(5, 11, 29, 0.08) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 8, 23, 0.93) 0%,
      rgba(4, 10, 27, 0.84) 31%,
      rgba(5, 12, 31, 0.40) 60%,
      rgba(4, 9, 24, 0.23) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 8, 23, 0.70) 0%,
      transparent 23%,
      transparent 72%,
      rgba(3, 8, 23, 0.82) 100%
    );
}

.site-header,
.hero-content,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(190px, 17vw, 260px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 17, 43, 0.56);
  backdrop-filter: blur(16px);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.10), 0 0 20px rgba(255, 106, 0, 0.85);
  animation: status-pulse 2.5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(20px, 3vh, 36px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-mark {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--orange);
  transform: skewX(-30deg);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.50);
}

h1 {
  max-width: 920px;
  margin: 20px 0 18px;
  color: var(--white);
  font-size: clamp(2.9rem, 6.4vw, 6.2rem);
  font-weight: 730;
  letter-spacing: -0.064em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(96deg, #ffffff 8%, #e6edfb 50%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.72;
}

.waitlist-form {
  width: min(100%, 670px);
  margin-top: 26px;
}

.form-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(10, 21, 51, 0.72);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-shell:focus-within {
  border-color: rgba(255, 106, 0, 0.70);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(255, 106, 0, 0.09);
}

.form-shell input {
  min-width: 0;
  width: 100%;
  height: 58px;
  padding: 0 18px;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.form-shell input::placeholder {
  color: rgba(255, 255, 255, 0.43);
}

.form-shell button {
  height: 58px;
  min-width: 188px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  color: #081126;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a13, var(--orange));
  box-shadow:
    0 12px 30px rgba(255, 106, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 820;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.form-shell button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 16px 34px rgba(255, 106, 0, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.form-shell button:active {
  transform: translateY(0);
}

.form-shell button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-arrow {
  font-size: 1.1rem;
}

.form-message {
  min-height: 24px;
  margin: 12px 4px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.capabilities span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(8, 19, 48, 0.36);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(100%, 780px);
  margin-top: 38px;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(8, 19, 48, 0.34);
  backdrop-filter: blur(10px);
}

.perk-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 9px;
  background: rgba(255, 106, 0, 0.10);
}

.perk-icon svg {
  width: 17px;
  height: 17px;
}

.perk h3 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.perk p {
  margin: 0;
  color: rgba(235, 241, 255, 0.55);
  font-size: 0.75rem;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 5;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer strong {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.footer-mail {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 160ms ease;
}

.footer-mail:hover {
  color: var(--orange);
}

.edge-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  color: rgba(255, 255, 255, 0.16);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  pointer-events: none;
}

.edge-label-left {
  left: 13px;
  transform: translateY(-50%) rotate(180deg);
}

.edge-label-right {
  right: 13px;
  transform: translateY(-50%);
}

.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;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.70; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes ambient-drift {
  from { transform: translate3d(-2%, -3%, 0) scale(0.96); }
  to { transform: translate3d(4%, 4%, 0) scale(1.08); }
}

@media (max-width: 760px) {
  .hero {
    padding-inline: 20px;
  }

  .site-header {
    min-height: 94px;
  }

  .brand {
    width: 178px;
  }

  .launch-status {
    padding: 0 12px;
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .hero-content {
    min-height: auto;
    padding: 56px 0 48px;
  }

  h1 {
    margin-top: 22px;
    font-size: clamp(3.25rem, 14.5vw, 5.3rem);
    line-height: 0.94;
  }

  .lead {
    max-width: 95%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .waitlist-form {
    margin-top: 30px;
  }

  .form-shell {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-shell button {
    width: 100%;
  }

  .perks {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .site-footer {
    min-height: 104px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }

  .site-footer p {
    margin: 0;
  }

  .edge-label {
    display: none;
  }

  .grid-overlay {
    opacity: 0.08;
  }

  .readability-overlay {
    background:
      linear-gradient(180deg, rgba(3,8,23,0.80), rgba(3,8,23,0.42) 42%, rgba(3,8,23,0.86)),
      linear-gradient(90deg, rgba(3,8,23,0.84), rgba(3,8,23,0.48));
  }
}

@media (max-width: 480px) {
  .launch-status {
    max-width: 135px;
    line-height: 1.25;
  }

  .brand {
    width: 156px;
  }

  .capabilities {
    gap: 8px;
  }

  .capabilities span {
    font-size: 0.66rem;
  }
}

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

  #route-canvas {
    opacity: 0.38;
  }
}
