:root {
  color-scheme: light;
  --green-900: #2d5016;
  --green-700: #4a7c2f;
  --earth-600: #8b7355;
  --earth-300: #d4a574;
  --blue-600: #1e88a8;
  --white: #ffffff;
  --ink-900: #1f2a1f;
  --ink-700: #304030;
  --surface: #f6f4ee;
  --card: #ffffff;
  --border: #d8d2c6;
  --shadow: 0 10px 30px rgba(45, 80, 22, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--ink-900);
  background: var(--surface);
  line-height: 1.5;
}

header {
  background: linear-gradient(120deg, var(--green-700), var(--blue-600));
  color: var(--white);
  padding: 32px 16px;
}

header .wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

main {
  max-width: 1100px;
  margin: -24px auto 60px;
  padding: 0 16px;
}

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

.section h2 {
  margin-top: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(30, 136, 168, 0.12);
  color: var(--blue-600);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

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

input[type="text"],
textarea,
select,
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: var(--green-700);
  color: var(--white);
  text-decoration: none;
}

button.secondary,
.button.secondary {
  background: var(--earth-600);
}

.progress-bar {
  height: 12px;
  background: #e7e2d8;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--earth-300), var(--green-700));
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.list-item a {
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
}

.notice {
  background: rgba(212, 165, 116, 0.2);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--earth-600);
}

.footer {
  text-align: center;
  color: var(--ink-700);
  padding: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(45, 80, 22, 0.1);
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid var(--border);
}

.sdg-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.sdg-option input {
  width: auto;
}

.prompt-card {
  background: rgba(30, 136, 168, 0.12);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-bottom: 12px;
}

.brainstorm {
  display: grid;
  gap: 12px;
}

.idea-list {
  display: grid;
  gap: 10px;
}

@media (max-width: 720px) {
  header {
    padding: 24px 16px;
  }

  main {
    margin-top: -16px;
  }
}
