:root {
  color-scheme: light;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #f4f4f0;
  color: #111;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(17,17,17,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.045) 1px, transparent 1px),
    #f4f4f0;
  background-size: 32px 32px;
}

a { color: inherit; }

main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #111;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}

.mark { font-size: 22px; }
.protocol { color: #666; font-size: 13px; }

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid #111;
}

.eyebrow,
.stats,
.result-meta,
.address,
footer {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow { margin: 0 0 18px; color: #555; }

h1 {
  margin: 0;
  max-width: 780px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(52px, 10vw, 116px);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.07em;
}

form {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 56px;
  border: 1px solid #111;
  background: #fff;
  box-shadow: 7px 7px 0 #111;
}

input,
textarea,
button {
  border-radius: 0;
  font: inherit;
}

input,
button { min-height: 58px; }

input {
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
}

button {
  padding: 0 24px;
  border: 0;
  border-left: 1px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
}

button:hover { background: #333; }
.stats { margin: 22px 0 0; color: #666; }

.results { padding: 36px 0 96px; }
.result-meta { margin: 0 0 26px; color: #666; }

.result {
  padding: 28px 0;
  border-top: 1px solid #aaa;
}

.result:last-child { border-bottom: 1px solid #aaa; }
.address {
  overflow: hidden;
  color: #666;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}

.result h2 {
  margin: 9px 0 7px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: -.03em;
}

.result h2 a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.result-actions {
  margin: 0 0 12px;
  font-size: 12px;
}
.result-actions a {
  color: #555;
  text-underline-offset: 3px;
}
.result-actions a:hover { color: #111; }
.snippet {
  max-width: 760px;
  margin: 0;
  color: #444;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.removal-page {
  padding: 80px 0 96px;
}

.page-title {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 92px);
}

.page-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #444;
  line-height: 1.7;
}

.removal-form {
  display: block;
  max-width: 760px;
  padding: 24px;
}

.removal-form label {
  display: block;
  margin-bottom: 22px;
}

.removal-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.removal-form small {
  color: #666;
  text-transform: none;
  letter-spacing: 0;
}

.removal-form input,
.removal-form textarea {
  width: 100%;
  border: 1px solid #aaa;
  background: #fff;
  padding: 14px;
  outline: none;
}

.removal-form textarea {
  min-height: 130px;
  resize: vertical;
}

.removal-form button {
  border-left: 0;
}

.form-note {
  margin: 16px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

.state { margin: 20px 0; color: #666; }
.error { color: #8a1b1b; }
.success { color: #176b2c; }

footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #111;
  color: #555;
}

@media (max-width: 600px) {
  .hero { padding-top: 64px; }
  form { grid-template-columns: 1fr; box-shadow: 5px 5px 0 #111; }
  button { border-top: 1px solid #111; border-left: 0; }
  .removal-form { box-shadow: 5px 5px 0 #111; }
  .removal-form button { border-top: 0; }
  footer { gap: 16px; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .result { animation: enter .28s ease both; }
  @keyframes enter {
    from { opacity: 0; transform: translateY(6px); }
  }
}
