:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #10233d;
  background: #eef4fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(20, 190, 226, .18), transparent 28rem),
    radial-gradient(circle at 85% 85%, rgba(37, 99, 235, .14), transparent 30rem),
    #eef4fb;
}

.portal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.lookup-card {
  width: min(100%, 500px);
  padding: 36px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(130, 153, 181, .26);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(21, 54, 93, .16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0b2b59;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }
.intro { margin: 30px 0 28px; }

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #1670d2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.intro p {
  margin: 14px 0 0;
  color: #5a6b80;
  font-size: 16px;
  line-height: 1.6;
}

label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 750; }

.input-wrap { position: relative; }
.input-wrap svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  fill: none;
  stroke: #6a7c91;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px 0 50px;
  color: #10233d;
  background: #f8fafc;
  border: 1px solid #cbd7e5;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 16px;
  transition: border-color .16s, box-shadow .16s, background .16s;
}

input:focus {
  background: #fff;
  border-color: #1670d2;
  box-shadow: 0 0 0 4px rgba(22, 112, 210, .13);
}

button {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0e58b4, #128bd4);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14, 88, 180, .22);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  transition: transform .16s, box-shadow .16s;
}

button:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(14, 88, 180, .28); }
button:active { transform: translateY(0); }
button:focus-visible { outline: 3px solid rgba(18, 139, 212, .3); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .75; transform: none; }

.message {
  margin: 13px 0 0;
  padding: 12px 14px;
  color: #9b2c2c;
  background: #fff1f1;
  border: 1px solid #f2c5c5;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.help {
  margin-top: 28px;
  padding-top: 22px;
  color: #6a7c91;
  border-top: 1px solid #e2e9f1;
  font-size: 13px;
  line-height: 1.6;
}

.help a { color: #0e67c2; font-weight: 700; text-decoration: none; }
.help a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .portal-shell { padding: 16px; }
  .lookup-card { padding: 28px 22px; border-radius: 20px; }
}
