:root {
  --bg: #faf6f0;
  --card: #ffffff;
  --ink: #2c2623;
  --muted: #6e655f;
  --accent: #e06d53;
  --accent-hover: #c8563c;
  --accent-soft: #fdece6;
  --green: #2d7a53;
  --green-soft: #e6f4ec;
  --border: #e8dfd5;
  --shadow: 0 8px 24px rgba(44, 38, 35, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 18px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 18px 64px;
}

.hero {
  text-align: center;
  background: linear-gradient(135deg, #fff9f2 0%, #eef8f2 100%);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 36px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
}

.hero p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: 15.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(224, 109, 83, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-green:hover {
  background: #236342;
  color: #fff;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 820px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 4px 0 6px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  background: #f5efe6;
  color: #5b524b;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.imagination-box {
  background: #fdfaf5;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 820px) {
  .trio-grid {
    grid-template-columns: 1fr;
  }
}

.stage-box {
  background: #fcfaf7;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.stage-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tag-orig {
  background: #eee8e0;
  color: #5b524b;
}

.tag-awaken {
  background: var(--green-soft);
  color: var(--green);
}

.tag-hatch {
  background: var(--accent-soft);
  color: var(--accent);
}

.stage-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ece4da;
  display: block;
}

.stage-caption {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14.5px;
}

.input, .textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.textarea {
  min-height: 92px;
  resize: vertical;
}

.upload-zone {
  border: 2px dashed #d5c7b8;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  background: #fdfbf8;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.upload-zone:hover {
  border-color: var(--accent);
}

.preview-img {
  max-width: 240px;
  max-height: 240px;
  border-radius: 12px;
  margin: 10px auto 0;
  display: block;
  border: 1px solid var(--border);
}

.preview-img[hidden] {
  display: none !important;
}

.status-banner {
  padding: 14px 16px;
  border-radius: 14px;
  margin: 14px 0;
  font-size: 14px;
}

.status-error {
  background: #fdecea;
  color: #b42318;
  border: 1px solid #f5c2c0;
}

.status-info {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #b7e1c9;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
