:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #102033;
  --muted: #5b6776;
  --line: #d8dee6;
  --accent: #143b63;
  --accent2: #eef4fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px;
}
.narrow { max-width: 680px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16,32,51,.06);
}
.hero .card { max-width: 820px; }
.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 6vw, 72px); margin: 8px 0 12px; }
h2 { margin-top: 0; }
.lead { font-size: 21px; line-height: 1.45; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary {
  background: var(--accent2);
  color: var(--accent);
}
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
input {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
}
pre {
  white-space: pre-wrap;
  background: #111827;
  color: #e5e7eb;
  padding: 18px;
  border-radius: 14px;
  overflow: auto;
}
.scan-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 800;
}
.scan-result.accepted { background: #e8f7ed; }
.scan-result.duplicate, .scan-result.invalid, .scan-result.refunded, .scan-result.void { background: #fdecec; }
