:root {
  color-scheme: light;
  --blue: #005ea8;
  --blue-2: #1689f2;
  --cyan: #22c7ff;
  --red: #e21a2d;
  --ink: #112033;
  --muted: #63758d;
  --line: rgba(0, 94, 168, 0.18);
  --panel: rgba(255, 255, 255, 0.92);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 10% 5%, rgba(34, 199, 255, 0.28), transparent 25rem),
    radial-gradient(circle at 90% 0%, rgba(0, 94, 168, 0.18), transparent 24rem),
    linear-gradient(145deg, #f7fbff, #eaf4ff 55%, #ffffff);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px;
}

.topbar,
.brand,
.grid,
dl div {
  align-items: center;
  display: flex;
}

.topbar {
  justify-content: space-between;
  margin-bottom: 26px;
}

.brand {
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(0, 94, 168, 0.2);
  display: inline-flex;
  height: 86px;
  justify-content: center;
  overflow: hidden;
  padding: 9px;
  width: 86px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  color: var(--blue);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.brand p,
.result,
dd,
.mono {
  color: var(--muted);
}

.pill {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  padding: 12px 18px;
}

.hero,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(0, 94, 168, 0.12);
}

.hero {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  margin-bottom: 20px;
  padding: clamp(26px, 5vw, 54px);
}

.eyebrow {
  color: var(--blue);
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.3rem, 6vw, 5rem);
  letter-spacing: 0;
  line-height: 0.96;
}

.search {
  align-self: end;
  display: grid;
  gap: 12px;
}

.search input {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  outline: none;
  padding: 16px;
  width: 100%;
}

.search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 199, 255, 0.18);
}

.search button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border: 0;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 54px;
}

.grid {
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  flex: 1;
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
}

dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

dl div {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  padding-top: 12px;
}

dl div.stacked {
  align-items: flex-start;
  display: block;
  gap: 6px;
}

dl div.stacked dt,
dl div.stacked dd {
  display: block;
  width: 100%;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  font-weight: 900;
  margin: 0;
  text-align: right;
}

dl div.stacked dd {
  font-size: 0.86rem;
  line-height: 1.25;
  margin-top: 6px;
  text-align: left;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.results-card {
  min-height: 170px;
}

.result {
  background: #f4f9ff;
  border: 1px solid var(--line);
  border-radius: 22px;
  font-size: 1.05rem;
  line-height: 1.5;
  min-height: 82px;
  padding: 18px;
}

.ok {
  color: #087b43;
}

.warn {
  color: #a35e00;
}

@media (max-width: 780px) {
  .shell {
    padding: 16px;
  }

  .topbar,
  .hero,
  .grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pill {
    justify-self: start;
  }
}
