:root {
  --bg: #f3efe9;
  --ink: #1c1d23;
  --muted: #5b5f6f;
  --card: #fff9f0;
  --line: #e7dcc8;
  --accent: #006d77;
  --accent-2: #ef476f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60% 70% at 100% 0%, #f6d7a7 0%, transparent 65%),
    linear-gradient(180deg, #fff8ec 0%, var(--bg) 100%);
}

.app {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.subtitle {
  color: var(--muted);
  margin-top: 8px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--card);
}

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

label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

select,
input,
textarea,
button {
  font: inherit;
}

select,
input,
textarea {
  border: 1px solid #d8c9b0;
  border-radius: 10px;
  padding: 10px;
  background: #fffdf8;
}

button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0d8f9a);
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  filter: brightness(1.05);
}

pre {
  margin-top: 10px;
  background: #f2f7ff;
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
}

.question {
  border: 1px dashed #c8b69a;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  background: #fffdf9;
}

.question h3 {
  margin: 0;
  font-size: 1rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

#downloadLinks {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-link {
  text-decoration: none;
  color: #0b5cab;
  font-weight: 600;
}

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