:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #172033;
  background: #eef1f5;
}

* { box-sizing: border-box; }

body { margin: 0; }

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
}

.card {
  background: #fff;
  border: 1px solid #d9dee8;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(18, 31, 53, 0.08);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #566277;
}

h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.intro { color: #596579; line-height: 1.5; }

fieldset {
  border: 0;
  border-top: 1px solid #e2e6ed;
  padding: 24px 0 0;
  margin: 28px 0 0;
}

legend {
  padding: 0 12px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bfc7d4;
  border-radius: 7px;
  padding: 9px 11px;
  font: inherit;
  color: inherit;
  background: #fff;
}

input:focus {
  outline: 2px solid #243f72;
  outline-offset: 1px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #243f72;
  cursor: pointer;
}

button:disabled { opacity: 0.6; cursor: wait; }
.status { min-height: 24px; margin-top: 18px; line-height: 1.4; }
.status.success { color: #176638; }
.status.error { color: #a32626; }

@media (max-width: 620px) {
  .shell { margin: 20px auto; }
  .card { padding: 22px; }
  .grid.two { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
