:root {
  --blush: #f6e9e6;
  --blush-deep: #e9c9c2;
  --sage: #a9b79b;
  --sage-deep: #7f9270;
  --cream: #fffaf5;
  --ink: #4a3f3a;
  --ink-soft: #8a7a72;
  --error: #b3564a;
  --error-bg: #fbe9e7;
  --success: #4f7a52;
  --success-bg: #e9f3e8;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 45%);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.hero__eyebrow {
  margin: 0 0 4px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}

.hero__year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin: 4px 0 0;
  color: var(--blush-deep);
  font-weight: 600;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(180, 140, 130, 0.14);
  flex: 1;
}

.card__intro {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.dropzone {
  border: 2px dashed var(--blush-deep);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  background: var(--blush);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.dropzone.dropzone--active {
  border-color: var(--sage-deep);
  background: #f1f6ee;
}

.dropzone__icon {
  color: var(--sage-deep);
  margin-bottom: 8px;
}

.dropzone__text {
  margin: 0 0 12px;
  font-weight: 500;
  color: var(--ink);
}

.dropzone__or {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.btn {
  background: var(--sage-deep);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: #6e7f60;
}

.btn:active {
  transform: scale(0.98);
}

.dropzone__hint {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.banner {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.banner--error {
  background: var(--error-bg);
  color: var(--error);
}

.banner--success {
  background: var(--success-bg);
  color: var(--success);
}

.file-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  background: #faf7f4;
  border-radius: 12px;
  padding: 12px 14px;
}

.file-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.file-item__name {
  font-size: 0.88rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item__status {
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.file-item__status--success {
  color: var(--success);
}

.file-item__status--error {
  color: var(--error);
}

.progress-track {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: #eee0d9;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--sage-deep);
  border-radius: 999px;
  transition: width 0.15s ease;
}

.footer {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.6rem;
  }
  .card {
    padding: 24px 18px;
  }
}
