:root {
  --bg: #191919;
  --card: #232323;
  --text: #f6f0ea;
  --muted: #c7b9ad;
  --accent: #724b39;
  --line: rgba(246, 240, 234, 0.18);
  --good: #b6dfb6;
  --warn: #f4d28b;
  --bad: #f0a6a6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 24px;
}

.wrap { width: min(920px, 100%); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.eyebrow {
  color: var(--accent);
  font-size: 18px;
  font-style: italic;
  margin: 0 0 12px;
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  margin: 0 0 16px;
  font-weight: 400;
}

.intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dropzone {
  display: block;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 22px;
  cursor: pointer;
  background: rgba(255,255,255,.03);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--muted);
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
}

.dropzone input { display: none; }

.label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.dropzone strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
  word-break: break-word;
}

.dropzone small {
  color: var(--muted);
  line-height: 1.5;
}

button {
  margin-top: 22px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-line;
}

.status.good { color: var(--good); }
.status.warn { color: var(--warn); }
.status.bad { color: var(--bad); }

.details {
  margin-top: 18px;
  color: var(--muted);
}

.details summary {
  cursor: pointer;
  color: var(--text);
}

.details ol {
  columns: 2;
  padding-left: 22px;
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .details ol { columns: 1; }
}
