@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #f4f1ed;
  --card: #ffffff;
  --ink: #1d1c1a;
  --muted: #6e6a63;
  --accent: #c46b3b;
  --accent-2: #2f6f6d;
  --border: #d7d2cc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fdf9f5 0%, #f4f1ed 45%, #e8e3dc 100%);
  min-height: 100vh;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(29, 28, 26, 0.08);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px;
  font-size: 14px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  background: #fcfbf9;
  resize: vertical;
  min-height: 160px;
}

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

input[type="number"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 15px;
}

select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  margin-top: 6px;
}

.file {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-weight: 600;
  color: var(--ink);
}

.file input[type="file"] {
  font-weight: 400;
}

.note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 600;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-2);
}

button {
  background: linear-gradient(135deg, var(--accent), #d97f4e);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 20px rgba(196, 107, 59, 0.25);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(196, 107, 59, 0.3);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.status {
  font-size: 14px;
  color: var(--muted);
}

.hint {
  margin-top: 18px;
  color: var(--muted);
}

.hint summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-2);
}

.hint ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

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