:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #0f172a;
  background: #eef2f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  border-block-start: 6px solid #0f284b;
}

.panel {
  width: min(100%, 35rem);
  padding: clamp(24px, 7vw, 48px);
  background: white;
  border: 1px solid #d7e0ec;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 8%), 0 4px 6px -4px rgb(15 23 42 / 8%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  color: #243f64;
}

.monogram {
  padding: 4px 8px;
  border-block: 2px solid currentColor;
  font-size: 0.875rem;
  font-weight: 800;
}

h1 {
  margin: 32px 0 12px;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0; color: #42536b; text-wrap: pretty; }

form { margin-block-start: 28px; }

button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  background: #153b69;
  font: inherit;
  font-weight: 650;
  text-align: start;
  cursor: pointer;
}

button:hover { background: #0e2d52; }
button:focus-visible, a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }

.secondary { border-color: #c6d2e2; background: white; color: #153b69; }
.secondary:hover { background: #eef2f6; }

.account { border-block-start: 1px solid #d7e0ec; padding-block-start: 16px; margin-block: 24px 0; }
dt { color: #42536b; font-size: 0.875rem; }
dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }

.error { margin-block-start: 16px; color: #9f1239; }
