:root {
  --ink: #18211f;
  --muted: #68736e;
  --paper: #f4f1e9;
  --lime: #d4ef55;
  --line: rgba(24, 33, 31, 0.16);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.23;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.shell { width: min(1120px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; padding: 30px 0 24px; display: flex; flex-direction: column; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .08em; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 20px; line-height: 1; }
.status { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #85a739; box-shadow: 0 0 0 4px rgba(133, 167, 57, .16); }
.hero { max-width: 720px; margin: clamp(110px, 17vh, 190px) 0 70px; }
.eyebrow { margin: 0 0 26px; color: var(--muted); font: 500 11px var(--mono); letter-spacing: .13em; }
h1 { margin: 0; font-size: clamp(52px, 8vw, 104px); line-height: .96; letter-spacing: -.065em; font-weight: 800; }
h1 em { color: #78913a; font-style: normal; }
.intro { max-width: 420px; margin: 32px 0 48px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.lookup-form { max-width: 620px; }
.lookup-form label { display: block; margin-bottom: 9px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.input-row { display: flex; align-items: center; border-bottom: 2px solid var(--ink); }
.input-prefix { padding: 0 12px 13px 0; color: #78913a; font: 500 25px var(--mono); }
input { min-width: 0; flex: 1; padding: 0 10px 13px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: 600 25px var(--sans); }
input::placeholder { color: #a6aaa2; }
button { display: flex; align-items: center; gap: 20px; margin-bottom: 9px; padding: 13px 17px; border: 0; color: var(--ink); background: var(--lime); font: 700 12px var(--mono); letter-spacing: .04em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
button:hover { background: #c3e33c; transform: translateY(-2px); }
button:disabled { cursor: wait; opacity: .6; transform: none; }
.form-message { min-height: 18px; margin: 12px 0 0; color: #a64f3f; font: 11px var(--mono); }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; max-width: 900px; padding: 20px 0 24px; border-top: 1px solid var(--line); }
.social-label { margin-right: 8px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; }
.social-links a { color: var(--ink); font: 500 11px var(--mono); text-decoration: none; }
.social-links a span { color: #78913a; }
.social-links a:hover { color: #78913a; }
.result { max-width: 720px; padding: 28px 0; border-top: 1px solid var(--line); animation: rise .4s ease both; }
.result-card { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start; }
.avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: #dfe2d7; }
.result h2 { margin: 2px 0 5px; font-size: 25px; letter-spacing: -.04em; }
.handle { margin: 0 0 18px; color: var(--muted); font: 11px var(--mono); }
.stats { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font: 11px var(--mono); }
.stats strong { color: var(--ink); font-weight: 500; }
.bio { margin: 20px 0 0; max-width: 500px; color: var(--muted); line-height: 1.6; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.details div { min-width: 0; }
.details dt { color: var(--muted); font: 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.details dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.details a { color: inherit; }
.footer { margin-top: auto; padding-top: 60px; color: var(--muted); }
.footer-line { width: 45%; height: 1px; background: var(--line); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .shell { width: min(100% - 32px, 1120px); padding-top: 22px; } .hero { margin-top: 100px; } h1 { font-size: 54px; } .input-row { align-items: flex-end; flex-wrap: wrap; } input { width: calc(100% - 35px); } button { width: 100%; justify-content: space-between; margin-top: 16px; } .result-card { grid-template-columns: 64px 1fr; gap: 16px; } .avatar { width: 64px; height: 64px; } .details { grid-template-columns: 1fr; } .footer { gap: 12px; font-size: 9px; } .footer-line { flex: 1; } }