:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #0b0d10;
  color: #f4f4f5;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #25202b, #0b0d10 55%);
}

.shell {
  width: min(760px, calc(100% - 48px));
  padding: 64px 0;
}

.eyebrow,
footer,
small {
  color: #a1a1aa;
}

h1 {
  margin: 6px 0;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: -0.06em;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 16px #22c55e;
}

section {
  margin: 56px 0;
}

.components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #34343a;
  border-radius: 14px;
  background: rgb(24 24 27 / 75%);
}

form {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

input,
button {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  font: inherit;
}

input {
  background: #18181b;
  color: inherit;
}

button {
  cursor: pointer;
  border-color: #7c3aed;
  background: #7c3aed;
  color: white;
}

.error {
  color: #fca5a5;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.toolbar form {
  min-width: 120px;
}

.enrollment-code {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: clamp(1.6rem, 7vw, 3rem);
  letter-spacing: 0.14em;
}
