@font-face {
  font-family: WelcomeOutfit;
  src: url("/media/welcome/Outfit-Regular.woff2") format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: WelcomeOutfit;
  src: url("/media/welcome/Outfit-SemiBold.woff2") format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: WelcomeOutfit;
  src: url("/media/welcome/Outfit-Bold.woff2") format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.lookup-page {
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  background: #fff;
  color: #173f46;
  font: 400 16px/1.6 WelcomeOutfit, sans-serif;
}
.lookup-welcome {
  width: 100%;
  max-width: 920px;
  margin-bottom: 40px;
  text-align: center;
}
.lookup-welcome h1 {
  margin: 0;
  font: 700 clamp(46px, 7vw, 76px)/1.08 WelcomeOutfit, sans-serif;
  text-wrap: balance;
}
.lookup-page .lookup-intro {
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.45;
  text-wrap: balance;
}
.lookup-entry {
  width: 100%;
  max-width: 440px;
}
.lookup-description {
  margin: 0 0 26px;
  color: #466067;
  text-align: center;
  text-wrap: balance;
}
.lookup-form { display: grid; gap: 10px; }
.lookup-form label { font-weight: 600; }
.lookup-form input[type='text'] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid #788e92;
  border-radius: 8px;
  background: #fff;
  color: #173f46;
  font: inherit;
}
.lookup-form input::placeholder { color: #62777b; opacity: 1; }
.lookup-page .lookup-button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  padding: 13px 18px;
  border: 1px solid #a9364b;
  border-radius: 8px;
  background: #a9364b;
  color: #fff;
  font: 600 17px/1.5 WelcomeOutfit, sans-serif;
  cursor: pointer;
  white-space: normal;
  transition: background-color .15s;
}
.lookup-page .lookup-button:hover { background: #902a3d; }
.lookup-page .lookup-button:disabled { opacity: .7; cursor: wait; }
.lookup-page input:focus-visible,
.lookup-page a:focus-visible { outline: 3px solid #173f46; outline-offset: 4px; }
.lookup-page a { color: #173f46; text-decoration: underline; text-underline-offset: 3px; }
.lookup-page .lookup-help { margin: 28px 0 0; color: #466067; font-size: 14px; text-align: center; }
.lookup-results { margin-top: 32px; padding-top: 26px; border-top: 1px solid #d5dfe1; }
.lookup-result-intro { margin: 0 0 20px; font-size: 22px; font-weight: 600; text-align: center; }
.lookup-match { margin-top: 24px; }
.lookup-match + .lookup-match { padding-top: 24px; border-top: 1px solid #d5dfe1; }
.lookup-page .lookup-household { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lookup-email { margin: 6px 0 14px; color: #466067; font-size: 15px; overflow-wrap: anywhere; }
.lookup-not-found { margin: 0; color: #466067; }

@media (max-width: 480px) {
  .lookup-page { padding: 48px 24px; }
  .lookup-welcome { margin-bottom: 32px; }
  .lookup-welcome h1 { font-size: 46px; }
  .lookup-page .lookup-intro { margin-top: 20px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .lookup-page .lookup-button { transition: none; }
}
