:root {
  --rose: #F86E87;
  --orchid: #B36CD6;
  --orchid-ink: #7E3FA3;
  --periwinkle: #8AACEB;
  --ink: #2B2340;
  --ink-soft: #5B5470;
  --mist: #F3EEFB;
  --paper: #FFFDFB;
  --line: #E4DCF2;
  --sun: linear-gradient(90deg, var(--rose), var(--orchid) 50%, var(--periwinkle));
  --display: "Nunito", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orchid-ink); }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 800; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; font-family: var(--display); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; }

/* Buttons and inputs */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #3B3157; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; border-radius: 10px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }

input, select {
  font: inherit; font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: var(--ink); background: #fff;
  min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 12px; width: 100%;
}
input::placeholder { color: #8C85A0; font-weight: 700; }
select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B5470' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
select:invalid { color: #8C85A0; }
input:focus, select:focus { border-color: var(--orchid); outline: none; box-shadow: 0 0 0 3px rgba(179,108,214,.22); }
[aria-invalid="true"] { border-color: #C2415B; }

/* Header */
.site-header { padding: 20px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 40px; width: auto; }

/* Hero */
.hero { padding: 48px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 14ch; }
.lede { margin-top: 24px; font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; }
.waitlist { margin-top: 32px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; max-width: 640px; }
.form-note { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); min-height: 1.6em; }
.form-note.is-success { color: #2E7D5B; font-weight: 600; }
.form-note.is-error { color: #B03552; font-weight: 600; }

/* Floor directory: the page's one bold element */
.directory {
  background: var(--ink); color: #EDE8F6;
  border-radius: 22px; padding: 28px 28px 22px;
  position: relative; overflow: hidden;
}
.directory::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sun);
}
.directory-title { font-family: var(--display); font-weight: 700; font-size: .95rem; color: #B9B0CF; margin-bottom: 14px; }
.floors { list-style: none; margin: 0; padding: 0; }
.floors li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.floors li:first-child { border-top: 0; }
.floor-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff;
  border: 2px solid rgba(255,255,255,.25);
  animation: light-up .5s ease forwards; animation-delay: calc(.35s + var(--i) * .22s);
}
.floor-num svg { width: 20px; height: 20px; }
.floor-text { display: flex; flex-direction: column; gap: 2px; }
.floor-text strong { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.floor-text span { font-size: 1rem; line-height: 1.45; color: #C9C1DC; }
.directory-foot { margin-top: 10px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.18); font-size: .95rem; color: #B9B0CF; font-style: italic; }
@keyframes light-up {
  to { border-color: transparent; background: var(--sun); box-shadow: 0 0 0 4px rgba(179,108,214,.18); }
}

/* Bands */
.band { background: var(--mist); padding: 88px 0; }
.band-quiet { background: var(--paper); border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--orchid-ink); margin-bottom: 10px; }
.steps p { margin-top: 8px; font-size: 1.05rem; color: var(--ink-soft); }

/* Split sections */
.split { padding: 96px 0; }
.split-alt { padding-top: 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split-grid > div > p { margin-top: 18px; color: var(--ink-soft); max-width: 30em; }
.criteria { margin: 0; }
.criteria div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.criteria div:last-child { border-bottom: 1px solid var(--line); }
.criteria dt { font-family: var(--display); font-weight: 800; }
.criteria dd { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

.score { justify-self: start; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 22px 26px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; }
.score-ring {
  grid-row: 1 / span 2; width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--orchid) 0 96%, var(--mist) 96% 100%);
  display: grid; place-items: center;
}
.score-ring span { width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.score p { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.score .score-caption { font-family: var(--text); font-weight: 400; font-style: italic; font-size: .9rem; color: var(--ink-soft); }

/* Who */
.who > p { margin-top: 18px; color: var(--ink-soft); max-width: 38em; }
.stages { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stages li { font-family: var(--display); font-weight: 700; font-size: .98rem; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--ink); }
.later { margin-top: 28px; font-style: italic; color: var(--ink-soft); }

/* Join */
.join { background: var(--ink); color: #EDE8F6; padding: 96px 0; position: relative; }
.join::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sun); }
.join-inner { max-width: 760px; }
.join h2 { color: #fff; }
.join-inner > p { margin-top: 14px; color: #C9C1DC; max-width: 34em; }
.waitlist-full { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; margin-top: 32px; }
.waitlist-full .btn, .waitlist-full .form-note { grid-column: 1 / -1; }
.waitlist-full .btn { justify-self: start; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: #EDE8F6; }
.waitlist-full input, .waitlist-full select { border-color: transparent; }
.join .form-note { color: #B9B0CF; margin-top: 2px; }
.join .form-note.is-success { color: #9BE3C1; }
.join .form-note.is-error { color: #FFB3C1; }

/* Footer */
.site-footer { padding: 36px 0 44px; }
.footer-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-row img { height: 30px; width: auto; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.footer-row nav a { color: var(--ink); text-decoration: none; }
.footer-row nav a:hover { color: var(--orchid-ink); text-decoration: underline; }
.copyright { margin-left: auto; font-size: .9rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 16px; }
  .brand img { height: 34px; }
  .hero { padding: 24px 0 64px; }
  .lede { font-size: 1.125rem; }
  .field-row { grid-template-columns: 1fr; }
  .directory { padding: 24px 20px 18px; }
  .band, .split, .join { padding: 64px 0; }
  .split-alt { padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .criteria div { grid-template-columns: 1fr; gap: 4px; }
  .waitlist-full { grid-template-columns: 1fr; }
  .waitlist-full .btn { justify-self: stretch; }
  .copyright { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floor-num { animation-duration: 0s; animation-delay: 0s; }
}
