:root {
  --bg: #050611;
  --bg-2: #080b1f;
  --text: #f6f7ff;
  --muted: #a9b0cf;
  --muted-2: #7f88aa;
  --line: rgba(255,255,255,.09);
  --purple: #8b5cf6;
  --blue: #4f7cff;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

button,
input { font: inherit; }

button { color: inherit; }

a { color: inherit; }

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(84,58,183,.28), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(43,87,187,.20), transparent 30%),
    radial-gradient(circle at 50% 86%, rgba(88,28,135,.14), transparent 38%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 55%, #050713 100%);
}

.aurora,
.aurora::before,
.aurora::after {
  position: absolute;
  content: "";
  pointer-events: none;
  filter: blur(70px);
  opacity: .42;
  border-radius: 999px;
  z-index: -2;
}

.aurora {
  width: 42vw;
  height: 20vw;
  left: 29vw;
  top: 19vh;
  background: rgba(76,64,255,.15);
  transform: rotate(-13deg);
}

.aurora::before {
  width: 28vw;
  height: 16vw;
  left: -20vw;
  top: 12vh;
  background: rgba(128,70,255,.16);
}

.aurora::after {
  width: 30vw;
  height: 14vw;
  left: 32vw;
  top: 3vh;
  background: rgba(46,112,255,.14);
}

.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .58;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(151,173,255,.6) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.42) 0 1px, transparent 1.5px);
  background-size: 127px 127px, 191px 191px, 263px 263px;
  background-position: 18px 25px, 76px 43px, 134px 8px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.28) 80%, transparent);
}

.topbar {
  width: min(1080px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.02em;
}

main {
  width: 100%;
  flex: 1;
}

.hero {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-simple {
  padding: 104px 0 96px;
  text-align: center;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #aeb9e6;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto;
  max-width: 900px;
  padding-bottom: .08em;
  background: linear-gradient(92deg, #ffffff 6%, #d7d2ff 46%, #8eb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(52px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 790;
  text-wrap: balance;
}

.tagline {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.signup-trigger {
  min-height: 44px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(155,138,255,.32);
  border-radius: 999px;
  background: rgba(13,14,35,.64);
  color: #e8e9ff;
  box-shadow: 0 0 26px rgba(110,86,255,.10), inset 0 1px 0 rgba(255,255,255,.04);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .015em;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.signup-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #b9afff;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signup-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(170,156,255,.58);
  background: rgba(20,20,49,.78);
  box-shadow: 0 0 34px rgba(110,86,255,.16), inset 0 1px 0 rgba(255,255,255,.06);
}

.signup-trigger:focus-visible,
.modal-close:focus-visible,
.signup-submit:focus-visible,
.brand:focus-visible {
  outline: 2px solid #b2a5ff;
  outline-offset: 3px;
}

.section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 92px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.compact-section > h2,
.build-heading h2 {
  margin: 0 auto;
  color: #f4f5ff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 750;
  text-wrap: balance;
}

.compact-section > h2 {
  max-width: 820px;
}

.compact-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}

.compact-grid article {
  padding: 24px 12px 0;
  border-top: 1px solid rgba(255,255,255,.11);
  text-align: center;
}

.compact-grid h3 {
  margin: 0 0 10px;
  color: #eef0ff;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.compact-grid p {
  margin: 0 auto;
  max-width: 280px;
  color: #8f97b7;
  font-size: 12px;
  line-height: 1.65;
}

.compact-build {
  padding-top: 82px;
  padding-bottom: 84px;
}

.build-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.build-heading h2 {
  font-size: clamp(32px, 3.2vw, 42px);
}

.build-log {
  width: min(760px, 100%);
  margin: 30px auto 0;
  padding: 24px 26px 20px;
  border: 1px solid rgba(155,138,255,.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(104,73,214,.10), transparent 38%),
    linear-gradient(155deg, rgba(10,11,30,.78), rgba(7,8,22,.70));
  box-shadow: 0 18px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025);
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.build-log.is-animated {
  opacity: 0;
  translate: 0 10px;
  transition: opacity .55s ease, translate .55s ease;
}

.build-log.is-animated.is-visible {
  opacity: 1;
  translate: 0 0;
}

.build-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.build-timeline li {
  min-height: 46px;
  display: grid;
  grid-template-columns: 58px 20px minmax(0,1fr);
  column-gap: 11px;
  align-items: start;
}

.build-timeline time,
.timeline-date {
  padding-top: 1px;
  color: #68708d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  white-space: nowrap;
}

.timeline-marker {
  position: relative;
  min-height: 46px;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(151,139,255,.30), rgba(151,139,255,.10));
  transform: translateX(-50%);
}

.build-timeline li:last-child .timeline-marker::after { display: none; }

.timeline-dot {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(190,183,255,.68);
  border-radius: 50%;
  background: #7c72d8;
  box-shadow: 0 0 10px rgba(120,103,232,.20);
  transform: translateX(-50%);
}

.timeline-text {
  color: #b5bcd9;
  font-size: 11px;
  line-height: 1.45;
}

.build-timeline li.is-current { margin-top: 4px; }

.is-current .timeline-text { color: #e0e3fa; }

.is-current .timeline-dot {
  width: 9px;
  height: 9px;
  top: 2px;
  background: #a49aff;
  border-color: #d0caff;
  box-shadow: 0 0 14px rgba(145,127,255,.60);
}

.is-current .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(168,157,255,.58);
  border-radius: 50%;
  animation: build-pulse 2.4s ease-out infinite;
}

@keyframes build-pulse {
  0% { transform: scale(.72); opacity: .78; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

.bottom-cta {
  margin-top: 32px;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
}

.bottom-cta p {
  max-width: 620px;
  margin: 0 auto;
  color: #939bbb;
  font-size: 13px;
  line-height: 1.6;
}

.signup-trigger-secondary {
  border-color: rgba(155,138,255,.32);
  background: rgba(13,14,35,.64);
}

.founder-credit {
  margin: 18px 0 0;
  color: #626a8a;
  font-size: 9.5px;
  letter-spacing: .015em;
  text-align: center;
}

footer {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  color: #8e96b7;
  font-size: 12px;
  text-align: center;
}

.footer-company {
  color: #aeb6d8;
  font-weight: 650;
}

footer a {
  color: #b7c1e8;
  text-decoration: none;
  transition: color .2s ease;
}

footer a:hover { color: white; }

.sep { color: #4f5673; }

.signup-modal {
  width: min(520px, calc(100% - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: visible;
  color: var(--text);
  background: transparent;
}

.signup-modal::backdrop {
  background: rgba(2,3,12,.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.signup-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(171,161,255,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(104,73,214,.20), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(57,102,207,.15), transparent 34%),
    linear-gradient(155deg, rgba(12,13,32,.98), rgba(7,8,22,.99));
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 60px rgba(88,65,190,.08);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8f97b7;
  cursor: pointer;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}

.modal-close:hover {
  color: white;
  background: rgba(255,255,255,.05);
}

.modal-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159,143,255,.22);
  border-radius: 13px;
  background: rgba(114,86,226,.10);
  box-shadow: 0 0 26px rgba(114,86,226,.12);
}

.modal-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #c0b7ff;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signup-card h2 {
  margin: 0 auto;
  max-width: 390px;
  color: #f4f4ff;
  font-size: clamp(25px,5vw,32px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 720;
  text-wrap: balance;
}

.modal-copy {
  margin: 13px auto 24px;
  max-width: 360px;
  color: #8f98ba;
  font-size: 13px;
  line-height: 1.55;
}

#signup-form {
  display: grid;
  gap: 12px;
}

.signup-field {
  min-height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(3,5,17,.52);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.signup-field:focus-within {
  border-color: rgba(169,153,255,.52);
  background: rgba(6,7,23,.74);
  box-shadow: 0 0 0 3px rgba(130,104,255,.08);
}

.signup-field svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #777fa2;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signup-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f5ff;
  font-size: 15px;
}

.signup-field input::placeholder { color: #777f9d; }

.signup-submit {
  min-height: 52px;
  margin-top: 2px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, #7458e8, #526fe8);
  color: white;
  box-shadow: 0 10px 28px rgba(86,74,221,.22), inset 0 1px 0 rgba(255,255,255,.18);
  cursor: pointer;
  font-weight: 720;
  font-size: 14px;
  letter-spacing: -.005em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.signup-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 34px rgba(86,74,221,.29), inset 0 1px 0 rgba(255,255,255,.18);
  filter: brightness(1.06);
}

.signup-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.signup-note {
  margin: 2px 0 0;
  color: #68708d;
  font-size: 10px;
}

.signup-status {
  min-height: 18px;
  margin: 0;
  color: #929abb;
  font-size: 12px;
  line-height: 1.45;
}

.signup-status.is-success { color: #b9afff; }
.signup-status.is-error { color: #ffadb5; }

.signup-honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (max-width: 720px) {
  .topbar,
  .hero,
  .section,
  footer {
    width: min(100% - 34px, 980px);
  }

  .topbar {
    min-height: 68px;
  }

  .hero-simple {
    padding: 58px 0 62px;
  }

  h1 {
    font-size: clamp(40px,11.5vw,60px);
  }

  .tagline {
    max-width: 94%;
    font-size: 16px;
  }

  .section {
    padding: 68px 0 72px;
  }

  .compact-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
  }

  .compact-grid article {
    padding: 22px 0;
  }

  .compact-grid p {
    max-width: 360px;
  }

  .build-log {
    width: 100%;
    padding: 18px 16px;
    text-align: center;
  }

  .build-timeline li {
    min-height: auto;
    padding: 14px 0;
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }

  .build-timeline time,
  .timeline-date {
    padding-top: 0;
    text-align: center;
  }

  .timeline-marker {
    display: none;
  }

  .timeline-text {
    text-align: center;
  }

  .bottom-cta {
    margin-top: 26px;
  }

  footer {
    padding-bottom: 24px;
    flex-direction: column;
    gap: 5px;
  }

  .sep { display: none; }

  .signup-card {
    padding: 36px 20px 24px;
    border-radius: 20px;
  }

  .signup-modal { border-radius: 20px; }

  .modal-close {
    top: 9px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .signup-modal[open] .signup-card {
    animation: modal-in .22s ease-out both;
  }

  @keyframes modal-in {
    from { opacity: 0; transform: translateY(8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .build-log.is-animated {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .is-current .timeline-dot::after { animation: none; }
}


/* richer build milestones */
.build-timeline li {
  min-height: 68px;
}

.timeline-marker {
  min-height: 68px;
}

.timeline-text strong {
  display: block;
  color: #eef0ff;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.timeline-text small {
  display: block;
  margin-top: 5px;
  color: #8992b4;
  font-size: 10.5px;
  line-height: 1.5;
}

.is-current .timeline-text strong {
  color: #ffffff;
}

.is-current .timeline-text small {
  color: #aeb5d2;
}

@media (max-width: 720px) {
  .build-timeline li {
    min-height: auto;
    padding: 16px 0;
  }

  .timeline-text strong,
  .timeline-text small {
    text-align: center;
  }
}


/* mid-page waitlist CTA */
.midpage-cta {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}

@media (max-width: 720px) {
  .midpage-cta {
    margin-top: 34px;
  }
}
