:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --bg: #eef4ee;
  --card: #ffffff;
  --green: #24553c;
  --green-dark: #173727;
  --gold: #d5a247;
  --muted: #647067;
  --border: #d8e1d9;
  --error: #9a2c2c;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top left, rgba(213, 162, 71, 0.18), transparent 32rem), var(--bg);
  color: var(--green-dark);
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.card {
  width: min(100%, 44rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 1.5rem 4rem rgba(23, 55, 39, 0.14);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 0.95;
  white-space: nowrap;
}

.intro {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.upload-form {
  display: grid;
  gap: 1rem;
}

.drop-zone {
  display: grid;
  min-height: 12rem;
  place-items: center;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 1rem;
  background: #f8fbf8;
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--gold);
  background: #fffaf0;
  transform: translateY(-1px);
}

.drop-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}

.drop-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.file-summary {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #eef6ef;
  color: var(--green-dark);
  font-weight: 700;
}

button {
  min-height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.status.success {
  color: var(--green);
}

.status.error {
  color: var(--error);
}

@media (max-width: 36rem) {
  .shell {
    padding: 1rem;
  }

  .card {
    border-radius: 1rem;
  }

  .drop-zone {
    min-height: 10rem;
  }
}
