:root {
  --gkma-green: #96e85d;
  --gkma-teal: #2f9f91;
  --gkma-ink: #201d1f;
  --gkma-blue: #244554;
  --gkma-cream: #f8f2e8;
  --gkma-white: #ffffff;
}

.gkma-wrap {
  max-width: 980px;
  margin: 30px auto;
  background: var(--gkma-cream);
  color: var(--gkma-ink);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(32, 29, 31, 0.16);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.gkma-wrap *, .gkma-wrap *::before, .gkma-wrap *::after { box-sizing: border-box; }

.gkma-hero {
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
  background: linear-gradient(180deg, #fbf7ee 0%, #f8f2e8 100%);
  border-bottom: 10px solid var(--gkma-green);
}

.gkma-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gkma-green);
  color: var(--gkma-white);
  width: 96px;
  height: 96px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: -0.08em;
  transform: rotate(-7deg);
  margin-bottom: 18px;
  font-size: 22px;
}

.gkma-hero h2 {
  margin: 0 auto 14px;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.92;
  max-width: 820px;
  font-weight: 950;
  letter-spacing: -0.065em;
  color: var(--gkma-ink);
  text-transform: uppercase;
}

.gkma-hero p {
  margin: 0 auto;
  color: var(--gkma-blue);
  max-width: 680px;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 22px);
}

.gkma-form { padding: clamp(22px, 4vw, 48px); }

.gkma-progress {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(32, 29, 31, 0.12);
  overflow: hidden;
  border: 2px solid rgba(32, 29, 31, 0.08);
}

.gkma-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gkma-green), var(--gkma-teal));
  transition: width 0.35s ease;
}

.gkma-progress-text {
  text-align: right;
  margin: 10px 0 22px;
  color: var(--gkma-blue);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gkma-step { display: none; }
.gkma-step.is-active { display: block; animation: gkmaFade 0.25s ease both; }

@keyframes gkmaFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.gkma-card {
  background: var(--gkma-white);
  border: 5px solid var(--gkma-ink);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 12px 12px 0 var(--gkma-green);
}

.gkma-card h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.gkma-card > p { margin: 0 0 24px; color: var(--gkma-blue); font-weight: 700; }

.gkma-question {
  padding: 20px 0;
  border-top: 2px dashed rgba(32, 29, 31, 0.18);
}

.gkma-question:first-of-type { border-top: 0; }

.gkma-label {
  display: block;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 12px;
}

.gkma-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  gap: 10px;
}

.gkma-rating input, .gkma-choice input { position: absolute; opacity: 0; pointer-events: none; }

.gkma-rating label, .gkma-choice label {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gkma-ink);
  border-radius: 16px;
  background: #fff;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.gkma-rating label:hover, .gkma-choice label:hover { transform: translateY(-2px); }
.gkma-rating input:checked + span, .gkma-choice input:checked + span { background: var(--gkma-green); }
.gkma-rating label span, .gkma-choice label span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 12px; padding: 12px; }
.gkma-rating input:checked + span, .gkma-choice input:checked + span { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55); }

.gkma-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gkma-blue);
  font-weight: 800;
  margin-top: 8px;
}

.gkma-select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 3px solid var(--gkma-ink);
  background: #fff;
  font-size: 17px;
  font-weight: 800;
  color: var(--gkma-ink);
}

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

.gkma-choice label { justify-content: flex-start; text-align: left; min-height: 58px; }
.gkma-choice label span { justify-content: flex-start; }

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

.gkma-field label {
  display: block;
  font-weight: 900;
  margin-bottom: 7px;
}

.gkma-field input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 3px solid var(--gkma-ink);
  font-size: 17px;
  font-weight: 800;
}

.gkma-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.gkma-btn {
  border: 0;
  border-radius: 999px;
  background: var(--gkma-ink);
  color: #fff;
  padding: 17px 30px;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 0 var(--gkma-green);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.gkma-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--gkma-green); }
.gkma-btn:disabled { opacity: 0.55; cursor: wait; }
.gkma-btn-secondary { background: var(--gkma-teal); }

.gkma-error {
  min-height: 24px;
  color: #b00020;
  font-weight: 900;
  margin: 20px 0 0;
}

.gkma-results {
  padding: clamp(22px, 4vw, 48px);
  background: var(--gkma-teal);
  color: white;
}

.gkma-result-card {
  background: #fff;
  color: var(--gkma-ink);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  border: 6px solid var(--gkma-green);
}

.gkma-score-ring {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: conic-gradient(var(--gkma-green) var(--score), #ece7dc 0);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 6px solid var(--gkma-ink);
}
.gkma-score-ring span {
  width: 132px;
  height: 132px;
  border-radius: inherit;
  display: grid;
  place-items: center;
  background: white;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.gkma-result-card h3 {
  text-align: center;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.95;
  margin: 0 0 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.gkma-result-card .gkma-summary { text-align: center; max-width: 720px; margin: 0 auto 26px; color: var(--gkma-blue); font-weight: 800; }

.gkma-priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.gkma-priority { background: var(--gkma-cream); border: 3px solid var(--gkma-ink); border-radius: 20px; padding: 16px; }
.gkma-priority strong { display: block; font-size: 20px; margin-bottom: 6px; }
.gkma-priority small { font-weight: 950; color: var(--gkma-teal); font-size: 18px; }
.gkma-result-card li { margin-bottom: 10px; font-weight: 700; }

@media (max-width: 740px) {
  .gkma-choice, .gkma-details-grid, .gkma-priority-grid { grid-template-columns: 1fr; }
  .gkma-rating { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .gkma-rating label { min-height: 44px; }
  .gkma-card { box-shadow: 7px 7px 0 var(--gkma-green); }
  .gkma-actions { flex-direction: column; }
  .gkma-btn { width: 100%; }
}
