:root {
  --background: #020c0c;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-border: rgba(0, 212, 184, 0.22);
  --foreground: #f5fbfb;
  --muted: #8fa8a8;
  --primary: #00d4b8;
  --primary-dark: #021111;
  --input: rgba(255, 255, 255, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 212, 184, 0.14), transparent 34rem),
    linear-gradient(180deg, rgba(0, 212, 184, 0.05), transparent 16rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(0, 212, 184, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 184, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.hero-card {
  width: min(100%, 720px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 212, 184, 0.38);
  border-radius: 8px;
  background: rgba(0, 212, 184, 0.11);
  box-shadow: 0 0 24px rgba(0, 212, 184, 0.24);
}

.brand-mark span {
  display: block;
  width: 18px;
  height: 18px;
  border: 5px solid var(--primary);
  border-radius: 2px;
}

.brand-wordmark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-wordmark strong {
  color: var(--primary);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.lookup-form {
  display: grid;
  gap: 10px;
}

label {
  color: rgba(245, 251, 251, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--foreground);
  background: var(--input);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 184, 0.14);
}

button {
  border: 0;
  border-radius: 12px;
  padding: 0 24px;
  color: var(--primary-dark);
  background: var(--primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(0, 212, 184, 0.3);
}

button:hover {
  background: #20efd5;
  box-shadow: 0 0 42px rgba(0, 212, 184, 0.46);
}

.result-card {
  margin-top: 28px;
  border: 1px solid rgba(0, 212, 184, 0.24);
  border-radius: 14px;
  padding: 20px;
  background: rgba(0, 212, 184, 0.07);
}

.result-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  color: #dffcf7;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 560px) {
  .hero-card {
    padding: 24px;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  button {
    min-height: 50px;
  }
}
