/* PALETTE (from brochure)
   - Light blue:   #d6eaf0
   - Light cream:  #f3efe3
   - Light green:  #dce8d0
   - Green accent: #5faf56
   - Yellow accent:#ffde59
   - Teal accent:  #18b3b5
*/

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background: #f3efe3;
  color: #123041;
}

#salish-sea-role-finder {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.25rem;
}

#salish-sea-role-finder h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #18b3b5;
  margin-bottom: 0.4rem;
}

#salish-sea-role-finder p {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

.salish-role-app {
  margin-top: 1.6rem;
}

/* Card */

.salish-role-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.7rem 1.5rem;
  border: 2px solid #d6eaf0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

/* Question text */

.salish-role-question {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #123041;
}

/* Options */

.salish-role-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.salish-role-option-btn {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 2px solid #dce8d0;
  background: #f3efe3;
  cursor: pointer;
  font-size: 0.95rem;
  color: #123041;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    transform 0.05s ease,
    box-shadow 0.05s ease,
    font-weight 0.05s ease;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.05);
}

.salish-role-option-btn:hover,
.salish-role-option-btn:focus {
  background: #d6eaf0;
  border-color: #18b3b5;
  outline: none;
  transform: translateY(-1px);
  font-weight: 600;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.06);
}

.salish-role-style-points {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.salish-role-style-points li {
  margin-bottom: 0.25rem;
}

.salish-fun-fact {
  margin: 0.6rem 0 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #d6eaf0;
  border: 1px solid #18b3b5;
}

.salish-fun-fact-title {
  margin: 0 0 0.3rem;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #18b3b5;
}

/* Progress */

.salish-role-progress {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #607286;
}

/* Result view */

.salish-role-result .salish-role-image {
  max-width: 180px;
  display: block;
  margin: 0 auto 1rem;
}

.salish-role-title {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-align: center;
  font-size: 1.3rem;
  color: #18b3b5;
  margin-bottom: 0.3rem;
}

.salish-role-insight,
.salish-role-action {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  margin: 0.75rem 0;
}

/* Resources blocks */

.salish-role-resources {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 2px solid #d6eaf0;
}

.salish-role-resources h5 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5faf56;
}

.salish-role-resources p {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.salish-role-resources ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.7rem;
}

.salish-role-resources li {
  margin-bottom: 0.25rem;
}

/* Links */

.salish-role-resources a {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  color: #18b3b5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.salish-role-resources a:hover {
  font-weight: 600;
  color: #5faf56;
}

/* Retake button */

.salish-role-retake {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 1.2rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 2px solid #ffde59;
  background: #5faf56;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.05);
}

.salish-role-retake:hover {
  background: #18b3b5;
  border-color: #ffde59;
}

/* Pie chart wrapper */

.salish-role-pie-wrapper {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.salish-role-pie-wrapper canvas {
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

/* Responsive */

@media (max-width: 600px) {
  #salish-sea-role-finder {
    padding: 2rem 1rem 2.5rem;
  }

  .salish-role-card {
    padding: 1.4rem 1.15rem;
  }
}
