:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #282828;
  background: #fff4f7;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 10% 10%, #ffcad5 0, transparent 55%),
    radial-gradient(ellipse at 90% 20%, #f5e3ff 0, transparent 50%),
    radial-gradient(ellipse at 50% 100%, #ffefcc 0, transparent 60%);
}

.panel {
  width: 100%;
  max-width: 400px;
  padding: 32px;
  border: 2px solid #282828;
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 #282828;
}

h1 { margin: 0 0 28px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
p { font-size: 14px; line-height: 1.6; color: #555; }
a { color: inherit; text-underline-offset: 3px; }
.field { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
input:not([type="hidden"]) {
  width: 100%;
  min-height: 44px;
  border: 2px solid #282828;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #282828;
  outline-offset: 3px;
}
button {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  background: #ffed52;
  color: #282828;
  border: 2px solid #282828;
  border-radius: 64px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}
button:hover { background: #fff176; }
.errorlist { margin: 8px 0 0; padding: 0; list-style: none; color: #a32626; font-size: 13px; line-height: 1.5; }
.error-summary { margin-bottom: 20px; }
