:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-deep: #f1e7d8;
  --ink: #1b1612;
  --muted: #6c6056;
  --accent: #d04f2f;
  --accent-strong: #a83b22;
  --card: rgba(255, 255, 255, 0.78);
  --stroke: rgba(27, 22, 18, 0.12);
  --shadow: 0 26px 60px rgba(27, 22, 18, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: radial-gradient(circle at 5% 10%, #fff9f0 0, transparent 50%),
    radial-gradient(circle at 90% 0, #ffe6cf 0, transparent 45%),
    linear-gradient(120deg, var(--bg), var(--bg-deep));
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(208, 79, 47, 0.14), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 219, 179, 0.5), transparent 55%);
  z-index: -1;
}

.shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  gap: 32px;
}

.hero {
  display: grid;
  gap: 12px;
  max-width: 680px;
  animation: floatIn 0.8s ease;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1;
}

.lede {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.6s ease;
}

.card--link {
  align-content: start;
}

.card__header h2 {
  margin: 0 0 6px;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 24px;
}

.card__header p {
  margin: 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 600;
}

input[type="file"],
select,
input[type="number"],
input[type="text"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

input[type="text"] {
  background: #fff;
}

.row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: none;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(208, 79, 47, 0.3);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(208, 79, 47, 0.35);
}

.ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid rgba(208, 79, 47, 0.3);
}

.link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

.status {
  min-height: 20px;
  font-size: 13px;
  color: var(--muted);
}

.progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(27, 22, 18, 0.08);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #f27b4f);
  transition: width 0.2s ease;
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 48px 18px 64px;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .link-box {
    grid-template-columns: 1fr;
  }
}
