:root {
  --green: #28b56f;
  --green-dark: #16824e;
  --orange: #ff7a1a;
  --red: #ef3d2d;
  --blue: #2489d7;
  --ink: #20362b;
  --muted: #6a786f;
  --paper: #fffaf1;
  --panel: #ffffff;
  --line: #e9dcc8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 26, 0.16), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(36, 137, 215, 0.14), transparent 22%),
    linear-gradient(135deg, #fff7e7 0%, #f0fff5 54%, #fff8ed 100%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.brand,
.hero-copy,
.upload-panel,
.info-strip {
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(32, 54, 43, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.brand {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 24px 24px 8px 24px;
}

.brand-logo {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
  background: white;
  border: 3px solid var(--green);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  border-radius: 24px 24px 24px 8px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 96px;
  height: 62px;
  border-radius: 50%;
  border: 8px dashed rgba(40, 181, 111, 0.28);
  transform: rotate(-10deg);
}

.hero-copy h2 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.upload-panel {
  margin-top: 24px;
  padding: 26px;
  border-radius: 24px 8px 24px 24px;
}

.upload-form {
  display: grid;
  gap: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(40, 181, 111, 0.14);
}

textarea {
  resize: vertical;
}

.drop-zone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 250px;
  padding: 30px;
  border: 3px dashed var(--green);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(40, 181, 111, 0.08) 50%, transparent 0) 0 0 / 28px 28px,
    #fbfff6;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.drop-zone.is-dragover {
  transform: translateY(-3px);
  border-color: var(--orange);
  background-color: #fff8e8;
}

.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 46px;
  line-height: 1;
  box-shadow: 5px 5px 0 rgba(32, 54, 43, 0.15);
}

.drop-zone h3 {
  margin-bottom: 0;
  font-size: 25px;
}

.drop-zone p {
  max-width: 560px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.6;
}

button {
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ghost-button {
  position: relative;
  z-index: 2;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 11px 24px;
  background: white;
  color: var(--green-dark);
}

.file-list-wrap {
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  overflow: hidden;
}

.list-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff3dc;
  font-weight: 900;
}

.list-heading button {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: white;
}

.file-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.file-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: white;
  word-break: break-word;
}

.file-list .empty {
  color: var(--muted);
}

.file-size {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.submit-button {
  min-height: 58px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--green);
  color: white;
  font-size: 20px;
  box-shadow: 5px 5px 0 rgba(32, 54, 43, 0.18);
}

.submit-button:hover {
  background: var(--green-dark);
}

.progress-wrap {
  display: grid;
  gap: 8px;
}

.progress-track {
  height: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff3dc;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: width 120ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.status-text {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

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

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
}

.info-strip div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: white;
}

.info-strip div + div {
  border-left: 2px solid var(--line);
}

.info-strip strong {
  font-size: 18px;
}

.info-strip span {
  color: var(--muted);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 20px, 640px);
    padding-top: 14px;
  }

  .hero,
  .field-grid,
  .info-strip {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 88px;
    height: 88px;
  }

  .hero-copy,
  .upload-panel {
    padding: 20px;
  }

  .drop-zone {
    min-height: 220px;
    padding: 22px 16px;
  }

  .info-strip div + div {
    border-left: 0;
    border-top: 2px solid var(--line);
  }
}
