* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #fff;
  color: #20211f;
  font-size: 15px;
  line-height: 1.5;
}

.topbar {
  padding: 18px 16px;
  border-bottom: 1px solid #e5e5df;
  text-align: center;
}
.brand-name { font-weight: 700; font-size: 16px; }

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  color: #696b66;
  font-size: 12px;
  margin-bottom: 20px;
}
.breadcrumb a { color: #696b66; text-decoration: none; }
.breadcrumb a:hover { color: #20211f; }

.tool-section { text-align: center; }
.hero-copy h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-copy p {
  color: #696b66;
  font-size: 14px;
  margin-bottom: 24px;
}

.upload-box {
  border: 2px dashed #dfb82e;
  border-radius: 12px;
  background: #fef8e2;
  padding: 32px 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.upload-box.dragover { background: #f8d866; }

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.upload-icon {
  width: 56px;
  height: 56px;
  background: #f5ce4e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.upload-icon svg { width: 26px; height: 26px; color: #20211f; }

.upload-content h2 { font-size: 20px; font-weight: 650; }

.choose-button {
  display: inline-block;
  padding: 12px 26px;
  background: #20211f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.choose-button:hover { background: #3d3e39; }
.choose-button:disabled { opacity: 0.6; cursor: not-allowed; }

.drop-hint { color: #696b66; font-size: 13px; }
.supported-formats { color: #8a7130; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; }
.file-name { color: #48463e; font-size: 12px; }

.preview {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  margin-top: 8px;
}

.status { color: #8a7130; font-size: 13px; }
.error { color: #c0392b; font-size: 13px; }

.privacy-note {
  margin-top: 16px;
  color: #74756f;
  font-size: 12px;
}

.steps-section, .faq-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e5df;
}
.steps-section h2, .faq-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps-list li {
  padding: 16px;
  border: 1px solid #e5e5df;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.steps-list strong {
  color: #a27e15;
  font-size: 12px;
  font-weight: 700;
}
.steps-list span {
  color: #696b66;
  font-size: 13px;
}

.faq-section details {
  border-bottom: 1px solid #e5e5df;
  padding: 14px 0;
}
.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section details p {
  margin-top: 8px;
  color: #696b66;
  font-size: 13px;
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 22px; }
  .steps-list { grid-template-columns: 1fr; }
  .upload-box { padding: 24px 14px; }
}
