:root {
  color-scheme: dark;
  --bg: #050b14;
  --surface: rgba(12, 24, 40, .68);
  --line: rgba(191, 224, 255, .14);
  --text: #eef7ff;
  --muted: #91a7ba;
  --ice: #9cddff;
  --blue: #5b8cff;
  --mint: #83f5d0;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: "DM Sans", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 45%), rgba(91,140,255,.11), transparent 30%);
}

a { color: inherit; }

.aurora {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.aurora-one { top: -24vw; right: -8vw; background: var(--blue); }
.aurora-two { bottom: -30vw; left: -12vw; background: var(--mint); animation-delay: -7s; }

.snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    radial-gradient(circle, #dff5ff 1px, transparent 1.5px),
    radial-gradient(circle, #dff5ff .8px, transparent 1.2px);
  background-position: 0 0, 38px 52px;
  background-size: 110px 110px, 86px 86px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(156,221,255,.38);
  border-radius: 10px;
  color: var(--ice);
  background: rgba(156,221,255,.07);
  box-shadow: 0 0 30px rgba(156,221,255,.12);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.status i,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
  animation: pulse 1.8s ease-in-out infinite;
}

main {
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
  padding-block: 76px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--ice);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span { color: var(--muted); }

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(52px, 7vw, 94px);
  line-height: .96;
  letter-spacing: -.065em;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, var(--ice), #b7adff 75%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 590px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 15px 18px 15px 22px;
  border: 1px solid rgba(156,221,255,.28);
  border-radius: 12px;
  color: #06101b;
  background: var(--ice);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(91,140,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary span { font-size: 19px; }
.primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(91,140,255,.28); }

.secondary {
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 5px;
  transition: color .2s ease;
}

.secondary:hover { color: var(--text); }

.build-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  transform: rotate(1.5deg);
}

.card-top,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .13em;
}

.card-top { border-bottom: 1px solid var(--line); }
.card-footer { border-top: 1px solid var(--line); letter-spacing: 0; }
.card-footer strong { color: var(--text); font-weight: 600; }

.terminal {
  min-height: 250px;
  padding: 32px 26px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.terminal p { margin: 0 0 22px; color: var(--muted); }
.terminal p:first-child { margin-bottom: 35px; color: var(--text); }
.prompt { margin-right: 10px; color: var(--ice); }
.ok { margin-right: 11px; color: var(--mint); }
.loader { margin-right: 11px; color: #b7adff; }

.cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 7px;
  vertical-align: -2px;
  background: var(--ice);
  animation: blink 1s steps(1) infinite;
}

footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #64798b;
  font-size: 12px;
}

@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.08); } }

@media (max-width: 820px) {
  .topbar, main, footer { width: min(100% - 32px, 620px); }
  .topbar { min-height: 78px; }
  main { grid-template-columns: 1fr; gap: 55px; padding-block: 64px; }
  .build-card { transform: none; }
  footer { min-height: 80px; }
}

@media (max-width: 480px) {
  .status { font-size: 0; }
  .status i { width: 8px; height: 8px; }
  h1 { font-size: clamp(45px, 14vw, 64px); }
  .actions { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}

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