:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #070c1b;
  color: #eef8ff;
}
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 70% 0%, #19284b, transparent 60%);
}
main {
  --home-accent: #8defff;
  width: min(42rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: clamp(2rem, 11vh, 7rem);
}
main[data-color="violet"] { --home-accent: #d0b6ff; }
main[data-color="amber"] { --home-accent: #ffdb9e; }
h1 {
  margin: 0 0 1.5rem;
  line-height: 1.02;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  letter-spacing: -.05em;
  color: var(--home-accent);
}
form { display: grid; gap: 1rem; margin-block: 1rem; }
label { display: grid; gap: .4rem; }
input, select, button {
  box-sizing: border-box;
  min-height: 44px;
  padding: .55rem .8rem;
  border-radius: .6rem;
  border: 1px solid #817ba8;
  background: #121a30;
  color: inherit;
  font: inherit;
}
button { justify-self: start; cursor: pointer; }
form:first-of-type button {
  color: #081126;
  background: var(--home-accent);
  border-color: transparent;
  font-weight: 700;
}
:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }
