:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f2f0e9;
  color: #17211b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(207, 167, 83, 0.18), transparent 36rem),
    #f2f0e9;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px 16px;
}

.upload-card {
  width: min(100%, 520px);
  padding: clamp(28px, 8vw, 52px) clamp(22px, 7vw, 54px);
  border: 1px solid rgba(23, 33, 27, 0.12);
  border-radius: 24px;
  background: rgba(255, 254, 249, 0.92);
  box-shadow: 0 22px 70px rgba(23, 33, 27, 0.12);
}

.label {
  margin: 0 0 14px;
  color: #92702c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  margin: 22px 0 30px;
  color: #536059;
  font-size: 1rem;
  line-height: 1.6;
}

.file-picker {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1.5px dashed #92702c;
  border-radius: 14px;
  color: #17211b;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.file-picker:hover,
.file-picker:focus-within {
  border-color: #17211b;
  background: #f8f2df;
}

.file-picker:active {
  transform: translateY(1px);
}

.file-picker-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #d9bd78;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-info {
  min-height: 24px;
  margin: 10px 2px 18px;
  overflow: hidden;
  color: #6e776f;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-button {
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: #17211b;
  color: #fffef9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.upload-button:hover:not(:disabled) {
  background: #2b4032;
}

.upload-button:active:not(:disabled) {
  transform: translateY(1px);
}

.upload-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.status {
  min-height: 28px;
  margin: 18px 2px 0;
  color: #2f6041;
  font-weight: 700;
  line-height: 1.45;
}

.status.error {
  color: #9c382d;
}

@media (max-width: 420px) {
  .page-shell {
    align-items: start;
    padding-top: 28px;
  }

  .upload-card {
    border-radius: 20px;
  }
}
