:root {
  color-scheme: dark;
  --paper: #10051f;
  --panel: #160a2c;
  --ink: #f8f7ff;
  --muted: #c4b8db;
  --line: rgba(196, 181, 253, 0.2);
  --accent: #8b5cf6;
  font:
    16px/1.65 "Segoe UI",
    system-ui,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 8% 15%, #6d28d929, transparent 55%);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
.topbar,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 20px #8b5cf680;
}
.back {
  font-size: 0.9rem;
  color: var(--muted);
}
.welcome {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  min-height: calc(100svh - 175px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 80px;
  padding: 64px 0;
}
.eyebrow {
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.7rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 26px;
  overflow-wrap: anywhere;
}
h1 span {
  display: block;
  font-size: 0.54em;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-top: 22px;
  font-weight: 500;
}
.intro {
  color: var(--muted);
  max-width: 450px;
}
.preview {
  max-width: 420px;
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(125deg, #25133f, #160a2c);
  border-radius: 18px;
  transform: rotate(-2deg);
}
.preview-top {
  display: flex;
  justify-content: space-between;
  color: #ddd6fe;
  font-size: 0.8rem;
}
.preview p {
  font-size: 0.8rem;
  margin: 14px 0 0;
  color: var(--muted);
}
.bars {
  display: flex;
  align-items: end;
  height: 64px;
  gap: 12px;
  margin-top: 14px;
}
.bars i {
  flex: 1;
  height: 50%;
  background: linear-gradient(#a78bfa, #6d28d9);
  border-radius: 5px 5px 0 0;
}
.bars i:nth-child(2) {
  height: 70%;
}
.bars i:nth-child(3) {
  height: 60%;
}
.bars i:nth-child(4) {
  height: 100%;
}
.bars i:nth-child(5) {
  height: 85%;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.features li::before {
  content: "✓ ";
  color: #c4b5fd;
}
.entry {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #160a2ce6;
  box-shadow: 0 24px 80px #0003;
  padding: 36px;
}
.entry-mark {
  font-size: 1.8rem;
  color: #c4b5fd;
  margin-bottom: 30px;
}
.entry h2 {
  font-size: 2rem;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.entry > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
}
form {
  margin-top: 30px;
}
label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 9px;
}
input,
button {
  font: inherit;
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  padding: 12px 15px;
}
input {
  color: var(--ink);
  background: #10051f;
  border: 1px solid #65517f;
}
button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid #a78bfa;
  background: #6d28d9;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: #7c3aed;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.entry .entry-note {
  margin: 24px 0 0;
  font-size: 0.75rem;
}
.error {
  color: #fecaca;
  font-size: 0.85rem;
}
:focus-visible {
  outline: 3px solid #c4b5fd;
  outline-offset: 4px;
}
footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--panel);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
@media (max-width: 800px) {
  .welcome {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 42px 0;
  }
  .preview {
    display: none;
  }
  .features {
    margin-top: 22px;
  }
  .entry {
    max-width: 560px;
    width: 100%;
  }
  .entry-mark {
    display: none;
  }
}
@media (max-width: 420px) {
  .topbar,
  footer,
  .welcome {
    width: calc(100% - 32px);
  }
  .entry {
    padding: 25px;
  }
  footer {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .back {
    font-size: 0.8rem;
  }
}

.pilot-notice {
  max-width: 75rem;
  margin: 1rem auto;
  padding: 1rem 1.5rem;
  color: #c9bed8;
  line-height: 1.6;
}
footer a {
  color: inherit;
}
