:root {
  --bg: #f5f5f2;
  --bg-soft: #fbfbf9;
  --canvas: rgba(255, 255, 255, 0.82);
  --canvas-strong: rgba(255, 255, 255, 0.96);
  --text: #111112;
  --muted: #5f626c;
  --line: rgba(18, 18, 18, 0.08);
  --line-strong: rgba(18, 18, 18, 0.12);
  --shadow: 0 28px 80px rgba(14, 20, 34, 0.08);
  --shadow-soft: 0 16px 45px rgba(14, 20, 34, 0.06);
  --blue: #4588ff;
  --blue-dark: #2d64d9;
  --orange: #ff8a2b;
  --orange-dark: #ff5d00;
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 213, 110, 0.34), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(109, 167, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 75%, rgba(255, 177, 129, 0.12), transparent 30%),
    linear-gradient(180deg, #fcfcfa 0%, #f2f0ea 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.shell {
  position: relative;
  width: min(1320px, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 1.75rem 0 2.5rem;
}

.canvas {
  position: relative;
  background: var(--canvas);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-top: 0.9rem;
}

.nav-cta,
.cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #5aa0ff, #2d78ff);
  color: white;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 36px rgba(69, 136, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.nav-cta:hover,
.cta-large:hover,
.search-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(69, 136, 255, 0.36);
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.6rem 1.5rem 3rem;
}

.hero-brand-shell {
  position: absolute;
  top: 1.7rem;
  left: 2.25rem;
  z-index: 2;
}

.hero-copy {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  margin-top: -76px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #17181c;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.eyebrow {
  display: inline-block;
  margin: 3.4rem 0 1rem;
  color: #6f7380;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
}

h1,
.panel-title,
.footer-wordmark {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 700;
  max-width: 10.4ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.lede,
.hero-trust,
.panel-copy,
.privacy-card p,
.step-card p,
.footer-copy,
.footer-links,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.lookup-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

.lookup-grid-single {
  max-width: 680px;
  margin: 0 auto;
}

.search-panel,
.footer-cta {
  background: var(--canvas-strong);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.search-panel {
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.panel-header {
  margin-bottom: 1.2rem;
}

.panel-kicker {
  margin: 0 0 0.5rem;
  color: #6f7380;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.search-form {
  display: grid;
  gap: 0.8rem;
}

.search-label {
  font-size: 0.95rem;
  color: #212229;
  font-weight: 700;
}

.input-row {
  display: grid;
  gap: 0.75rem;
}

.search-input {
  width: 100%;
  min-height: 58px;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #17181c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-input::placeholder {
  color: #9195a1;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #5aa0ff, #2d78ff);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 36px rgba(69, 136, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.search-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.helper-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.helper-chip,
.step-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.05);
  color: #3d4250;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feedback {
  min-height: 24px;
  color: #394050;
  line-height: 1.55;
}

.feedback:not([hidden]) {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(18, 18, 18, 0.04);
}

.feedback.is-error {
  background: rgba(255, 93, 0, 0.08);
  border-color: rgba(255, 93, 0, 0.14);
  color: #8b3f14;
}

.feedback.is-success {
  background: rgba(69, 136, 255, 0.08);
  border-color: rgba(69, 136, 255, 0.14);
  color: #2657b8;
}

.feedback.is-neutral {
  border-color: rgba(20, 20, 24, 0.06);
}

.suggestions {
  display: none;
}

.official-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 1.5rem;
  color: #5f6675;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(20, 20, 24, 0.08);
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-wordmark {
  color: #17181c;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-column {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-title {
  color: #17181c;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-cta {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(20, 20, 24, 0.04);
  border: 1px solid rgba(20, 20, 24, 0.06);
}

.footer-cta p {
  margin: 0 0 0.9rem;
}

.footer-cta .cta-large {
  width: 100%;
}

.footer-bottom {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(20, 20, 24, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-input:focus-visible,
.search-button:focus-visible,
.nav-cta:focus-visible,
.cta-large:focus-visible {
  outline: 2px solid rgba(69, 136, 255, 0.4);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .input-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-button {
    min-width: 190px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) minmax(260px, 0.95fr);
    align-items: start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 1rem, 1120px);
    padding-top: 0;
  }

  .canvas {
    border-radius: 22px;
    padding-top: 0.35rem;
  }

  .hero {
    padding: 1.25rem 1rem 1.7rem;
  }

  .hero-brand-shell {
    top: 0.35rem;
    left: 0.9rem;
  }

  .hero-copy {
    margin-top: 0;
    max-width: 100%;
  }

  .hero-brand {
    gap: 0.55rem;
    margin-bottom: 0;
  }

  .brand-mark {
    width: 1.1rem;
    height: 1.1rem;
    flex-basis: 1.1rem;
  }

  .brand-wordmark {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .eyebrow {
    margin-top: 0;
  }

  .official-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-cta,
  .search-button,
  .cta-large {
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
