:root {
  --bg-top: #dff3ff;
  --bg-bottom: #4f87b8;
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(255, 255, 255, 0.45);
  --text: #16334c;
  --muted: #4e6780;
  --accent: #0c6ab8;
  --shadow: 0 24px 60px rgba(18, 42, 66, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, var(--bg-top), transparent 45%),
    linear-gradient(160deg, #9cc8ee 0%, var(--bg-bottom) 100%);
}

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

.card {
  width: min(720px, 100%);
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.lead {
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.steps {
  margin: 24px 0;
  padding-left: 20px;
  line-height: 1.7;
}

.steps li + li {
  margin-top: 8px;
}

.upload {
  display: block;
  padding: 18px 20px;
  border: 2px dashed rgba(12, 106, 184, 0.35);
  border-radius: 18px;
  background: rgba(12, 106, 184, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.upload:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 106, 184, 0.65);
  background: rgba(12, 106, 184, 0.1);
}

.upload-title,
.upload-subtitle {
  display: block;
}

.upload-title {
  font-size: 1rem;
  font-weight: 700;
}

.upload-subtitle {
  margin-top: 4px;
  color: var(--muted);
}

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

.status {
  margin: 16px 0 0;
  min-height: 1.5em;
  color: var(--muted);
}

.help {
  margin-top: 20px;
  border-top: 1px solid rgba(22, 51, 76, 0.12);
  padding-top: 16px;
}

.help summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}

.help-content {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.help-content p {
  margin: 0;
}

.help-content p + p {
  margin-top: 10px;
}

code {
  padding: 0.15em 0.4em;
  border-radius: 999px;
  background: rgba(12, 106, 184, 0.1);
  font-size: 0.95em;
}

@media (max-width: 640px) {
  .card {
    padding: 24px;
    border-radius: 20px;
  }
}
