body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 153, 0, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 166, 255, 0.15), transparent 30%),
    linear-gradient(180deg, #0d1117 0%, #111927 100%);
  color: #f4f7fb;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: rgba(12, 18, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  max-width: 14ch;
}

.lede,
.form-note,
#statusMessage {
  color: #b8c4d6;
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  color: #ffbf66;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.form-card,
.status-card {
  min-height: 520px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 16px;
}

textarea,
input,
select,
button {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  margin-top: 8px;
  font: inherit;
  box-sizing: border-box;
}

textarea,
input,
select {
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7fb;
}

button,
.download-link {
  background: linear-gradient(135deg, #ff8f00, #ff5f6d);
  color: white;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
}

.row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
}

.status-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.meter {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 24px 0 14px;
}

#progressBar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4cc9f0, #ff8f00);
}

.payload {
  background: #071019;
  color: #9bc0df;
  padding: 16px;
  border-radius: 18px;
  min-height: 260px;
  overflow: auto;
}

.download-row.hidden {
  display: none;
}

@media (max-width: 900px) {
  .grid,
  .row {
    grid-template-columns: 1fr;
  }
}

