:root {
  color-scheme: dark;
  --ink: #f7f7ff;
  --muted: #b1b6d2;
  --line: #373e69;
  --accent: #aab8ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #101123;
}
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a49eff; outline-offset: 4px; }
.nav, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1216px;
  margin: auto;
  padding: 22px clamp(18px, 4vw, 40px);
}
.brand { font-size: 23px; font-weight: 780; letter-spacing: -.055em; }
.mark {
  display: inline-grid;
  place-items: center;
  color: #171838;
  background: #bbbaff;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  margin-right: 4px;
  font-size: 16px;
  vertical-align: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 22px; }
.describe-link, .login-link { font-size: 13px; font-weight: 600; }
.login-link { border: 0; background: transparent; color: var(--ink); padding: 9px 0; }
.navcta {
  background: #f1f0ff;
  color: #20213f;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 13px;
  font-weight: 680;
  font-size: 13px;
}
.navcta span { color: var(--accent); }
main {
  background: radial-gradient(ellipse 58% 53% at 74% 77%, #513ca5, transparent),
    radial-gradient(ellipse 72% 67% at 26% 73%, #214ed0, transparent);
}
.hero { text-align: center; max-width: 940px; margin: auto; padding: 82px 24px 0; }
h1 { font-size: clamp(46px, 6.6vw, 84px); letter-spacing: -.055em; line-height: 1.06; margin: 0 0 23px; }
h1 em { color: #bdc5ff; font-style: normal; }
.lede { margin: 0 auto 34px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.composer {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 17px 17px 14px 19px;
  border-radius: 20px;
  box-shadow: 0 14px 38px #080e4790;
  background: #f9f9ff;
  color: #171831;
  color-scheme: light;
}
textarea {
  display: block;
  background: transparent;
  color: inherit;
  border: 0;
  resize: vertical;
  width: 100%;
  padding: 7px;
  min-height: 76px;
  max-height: 190px;
  line-height: 1.4;
}
textarea::placeholder { color: #60617d; }
.composer-footer, .choices { display: flex; align-items: center; gap: 6px; }
.choices { flex: 1; flex-wrap: wrap; }
.choices button {
  border: 1px solid #dcdffc;
  border-radius: 100px;
  background: #f0f1ff;
  color: #383878;
  font-size: 11px;
  padding: 5px 9px;
  line-height: 1.2;
}
.choices button[aria-pressed=true] { border-color: #a9b3ff; background: #e2e7ff; }
.arrow {
  flex: 0 0 42px;
  height: 42px;
  border: 0;
  color: white;
  background: #3739b7;
  border-radius: 12px;
  font-size: 25px;
}
.concept { max-width: 1040px; margin: 78px auto 0; padding: 0 24px 64px; }
.preview-intro { text-align: center; margin-bottom: 25px; }
.preview-intro h2 { margin: 0 0 9px; font-size: 25px; letter-spacing: -.035em; }
.preview-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.window {
  border: 1px solid #5c65aa;
  border-radius: 20px;
  background: #191e3d;
  overflow: hidden;
  box-shadow: 0 23px 54px #11124e75;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
}
.dots { color: #a0a9e3; font-size: 9px; }
.badge { color: #cdd3ff; background: #333b70; font-size: 10px; padding: 5px 8px; border-radius: 20px; white-space: nowrap; }
.workspace { display: grid; grid-template-columns: 150px 1fr 240px; min-height: 220px; }
.rail, .dashboard, .access { padding: 19px 16px; }
.rail { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.rail small, .eyebrow, .overview span { color: var(--accent); font-size: 10px; font-weight: 720; letter-spacing: .08em; }
.rail strong { font-size: 15px; }
.rail span { padding: 7px; color: var(--muted); }
.rail .selected { border-radius: 7px; background: #2b3467; color: var(--ink); }
.dashboard h2, .access h3 { margin: 5px 0; letter-spacing: -.04em; }
.dashboard p { font-size: 13px; color: var(--muted); margin: 0 0 13px; }
.overview { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 10px; padding: 11px; font-size: 14px; }
.bars { display: flex; gap: 5px; }
.bars i { height: 4px; flex: 1; border-radius: 5px; background: #444f97; }
.bars i:first-child { background: #a4a6ff; }
.access { border-left: 1px solid var(--line); background: #222a52; }
.rule { display: grid; gap: 2px; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 12px; }
.rule span, footer { color: var(--muted); }
footer { font-size: 12px; }
dialog {
  position: relative;
  width: min(460px, calc(100% - 30px));
  max-height: calc(100% - 30px);
  padding: 29px;
  color: var(--ink);
  background: #191d3b;
  border: 1px solid #535985;
  border-radius: 20px;
  box-shadow: 0 20px 75px #070816b0;
}
dialog::backdrop { background: #070819b8; }
dialog h2 { margin: 0 2rem 6px 0; font-size: 28px; letter-spacing: -.04em; }
dialog p { color: var(--muted); line-height: 1.5; margin: 0 0 18px; }
#signup-form, #email-form { display: grid; gap: 9px; font-size: 14px; }
#email { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #11142e; color: var(--ink); }
.consent { display: flex; align-items: baseline; gap: 6px; color: var(--muted); }
dialog button { border: 0; border-radius: 10px; padding: 13px; background: #bfbcff; color: #191a3e; font-weight: 750; }
dialog button:disabled { opacity: .65; cursor: progress; }
#consent-note { margin: 0 0 8px; font-size: 12px; }
#waitlist-feedback { color: var(--accent); margin: 0; padding: 25px 0 10px; font-size: 14px; }
#status { margin: 12px 0 0; color: #e1ddff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 670px) {
  .nav { padding: 16px; }
  .hero { padding: 58px 18px 0; }
  .nav-actions { gap: 16px; }
  .describe-link { display: none; }
  .concept { margin-top: 55px; padding-inline: 18px; }
  .preview-intro h2 { font-size: 23px; }
  .workspace { grid-template-columns: 1fr 1fr; }
  .rail { display: none; }
  .dashboard, .access { padding: 14px 10px; }
  .dashboard h2, .access h3 { font-size: 16px; }
  .bar { padding: 12px; }
}

dialog .dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 27px;
  font-weight: 400;
}
dialog .dialog-close:hover { background: #303658; color: var(--ink); }

.form-note, #email-status, #consent-status { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
