:root {
  --bg: #0e0e0e;
  --bg-2: #151515;
  --glass: linear-gradient(180deg, rgba(205, 205, 205, .075), rgba(205, 205, 205, .022));
  --glass-hi: linear-gradient(180deg, rgba(205, 205, 205, .12), rgba(205, 205, 205, .04));
  --line: rgba(205, 205, 205, .11);
  --line-2: rgba(205, 205, 205, .2);
  --line-3: rgba(220, 220, 220, .36);
  --edge: inset 0 1px 0 rgba(238, 238, 238, .1);
  --tx: #f2f2f2;
  --tx-2: #acacac;
  --tx-3: #6e6e6e;
  --acc-ink: #0e0e0e;
  --glow: rgba(215, 215, 215, .22);
  --silver: linear-gradient(180deg, #f5f5f5 0%, #d8d8d8 45%, #aeaeae 100%);
  --up: #45e08f;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--tx);
  font: 400 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(206, 206, 206, .35); }

.mono { font-family: var(--mono); }
.fine { font-size: 12.5px; color: var(--tx-3); margin: 18px 0 0; }

/* ---- ambient art (from auton intro) ---- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(205, 205, 205, .06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(205, 205, 205, .04), transparent 60%),
    var(--bg);
}

.art {
  position: absolute;
  inset: -8% -5%;
  width: 110%;
  height: 116%;
  opacity: .35;
}

.art .ln,
.art .dash,
.art .beam,
.art .plus {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s var(--ease) forwards;
}

.art .dash { animation-delay: .15s; }
.art .beam { animation-delay: .35s; opacity: .7; }
.art .plus,
.art .node { animation: fade-in .8s var(--ease) .9s forwards; opacity: 0; }

.vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, .15) 0%, transparent 30%, rgba(14, 14, 14, .55) 85%, var(--bg) 100%),
    radial-gradient(ellipse 55% 50% at 50% 45%, transparent 20%, rgba(14, 14, 14, .75) 100%);
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(69, 224, 143, .45); }
  50% { opacity: .75; box-shadow: 0 0 0 6px rgba(69, 224, 143, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- header ---- */
.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  animation: rise .7s var(--ease) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(215, 215, 215, .18));
}

.brand .word {
  height: 22px;
  width: auto;
  display: block;
}

.x-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--tx-2);
  transition: color .2s, border-color .2s, background .2s;
}

.x-btn svg { width: 15px; height: 15px; fill: currentColor; }
.x-btn:hover {
  color: var(--tx);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .06);
}

/* ---- hero ---- */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid rgba(215, 215, 215, .28);
  background: linear-gradient(180deg, rgba(206, 206, 206, .14), rgba(206, 206, 206, .04));
  box-shadow: var(--edge), 0 0 24px -10px var(--glow);
  font: 600 12px/1 var(--sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tx-2);
  animation: rise .75s var(--ease) .1s both;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.1rem, 6.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--tx);
  animation: rise .8s var(--ease) .18s both;
}

.hero h1 .tick {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, #ffffff, #cfcfcf, #ffffff, #bdbdbd);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

.sub {
  margin: 18px 0 0;
  max-width: 420px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--tx-2);
  animation: rise .85s var(--ease) .28s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  margin-top: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  box-shadow: var(--edge);
  font-weight: 600;
  font-size: 15px;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s var(--ease);
  white-space: nowrap;
  animation: rise .9s var(--ease) .38s both;
}

.btn:hover { background: var(--glass-hi); border-color: var(--line-3); }
.btn:active { transform: scale(.98); }

.btn.primary {
  color: var(--acc-ink);
  border-color: rgba(255, 255, 255, .55);
  background: var(--silver);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -6px 12px -8px rgba(0, 0, 0, .35),
    0 6px 20px -8px rgba(215, 215, 215, .35);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e3e3e3 45%, #bbbbbb 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -6px 12px -8px rgba(0, 0, 0, .35),
    0 8px 26px -8px rgba(215, 215, 215, .5);
}

@media (max-width: 600px) {
  .top { padding: 16px 18px; }
  .brand .word { height: 18px; }
  .hero { padding: 24px 18px 64px; }
  .sub { font-size: 15px; }
  .btn { width: min(100%, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  .art .ln,
  .art .dash,
  .art .beam,
  .art .plus,
  .art .node,
  .pill,
  .hero h1,
  .sub,
  .btn,
  .top,
  .hero h1 .tick,
  .pulse {
    animation: none !important;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}
