:root {
  --kliker-ink: #080f31;
  --kliker-muted: #4a5168;
  --kliker-green: #7ab52d;
  --kliker-green-dark: #5f9220;
  --kliker-orange: #ff6700;
  --kliker-gold: #ffaa00;
  --kliker-purple: #5a58f7;
  --pastel-lilac: #e8ecfb;
  --pastel-green: #d5f2c2;
  --pastel-peach: #fee5d3;
  --pastel-mint: #c7f7e9;
  --pastel-pink: #ffd4d8;
}

html, body {
  background: #fff;
  color: #080f31;
  font-family: "Satoshi", "Segoe UI", sans-serif;
}

h1, h2, h3, h4, .page-title {
  font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
  color: #080f31;
  letter-spacing: -0.01em;
}

.kliker-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.kliker-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.kliker-header__inner {
  max-width: 1544px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup { text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }

.wordmark {
  font-weight: 800;
  color: #080f31;
  text-decoration: none;
}

.logo-slot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #7ab52d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.public-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 16px;
  box-sizing: border-box;
}

.wizard-head {
  width: 100%;
  margin: 0 0 20px;
}

.wizard-head__sub,
.wizard-head__intro {
  margin: 0;
  color: #4a5168;
}

.wizard-head .page-title {
  margin-bottom: 0.5rem;
}

.wizard-extra {
  margin: 20px 0 0;
  text-align: left;
}

.wizard-extra a {
  color: #080f31;
  font-weight: 700;
  text-decoration: none;
}

.wizard-extra a:hover {
  color: #7ab52d;
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 8px -8px;
  color: #080f31;
  text-decoration: none;
  border-radius: 50%;
}

.wizard-back:hover,
.wizard-back:focus {
  background: var(--pastel-lilac);
  color: #080f31;
}

.step-indicator {
  font-size: 0.95rem;
  font-weight: 700;
  color: #7ab52d;
}

.panel {
  width: 100%;
  box-sizing: border-box;
  border-radius: 24px;
  padding: 28px 24px;
}

.panel--lilac { background: var(--pastel-lilac); }
.panel--green { background: var(--pastel-green); }
.panel--peach { background: var(--pastel-peach); }
.panel--mint { background: var(--pastel-mint); }
.panel--pink { background: var(--pastel-pink); }

.panel p:last-child { margin-bottom: 0; }

.field,
.choice-group {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choice-group legend,
.field-label {
  float: none;
  display: block;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #080f31;
}

.field-help {
  margin: 0 0 0.45rem;
  color: #4a5168;
  font-size: 0.95rem;
}

.field-error {
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.9rem;
}

.choice {
  display: block;
  margin: 0 0 0.55rem;
}

.choice:last-of-type {
  margin-bottom: 0;
}

.choice label,
label.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}

.choice-input,
input[type="radio"].choice-input,
input[type="checkbox"].choice-input {
  position: static;
  float: none;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: #7ab52d;
}

.required-note {
  margin: 0;
  color: #4a5168;
}

.card-soft {
  background: var(--pastel-lilac);
  border: 0;
  border-radius: 24px;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
  align-items: stretch;
}

.btn-kliker,
.btn-kliker-alt,
.main-button,
a.btn-kliker,
a.btn-kliker-alt,
button.btn-kliker,
button.btn-kliker-alt {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 50px;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 52px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  vertical-align: top;
  white-space: nowrap;
}

.btn-row > .btn-kliker,
.btn-row > .btn-kliker-alt {
  width: 100%;
}

button.btn-kliker::-moz-focus-inner,
button.btn-kliker-alt::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.btn-kliker,
.main-button {
  background: var(--kliker-green);
}

.btn-kliker:hover,
.btn-kliker:focus,
.main-button:hover {
  background: var(--kliker-green-dark);
  color: #fff;
}

.btn-kliker-alt {
  background: var(--kliker-orange);
}

.btn-kliker-alt:hover,
.btn-kliker-alt:focus {
  background: #e05a00;
  color: #fff;
}

.btn-ghost,
.btn.btn-ghost,
.btn-outline-secondary {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 50px;
  background: var(--kliker-orange);
  color: #fff;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}

.btn-ghost:hover,
.btn-outline-secondary:hover {
  background: #e05a00;
  color: #fff;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: #080f31;
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover { color: #7ab52d; }

.term-list {
  display: grid;
  gap: 16px;
  width: 100%;
}

.term-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 20px;
  padding: 20px 22px;
  color: #080f31;
  background: var(--pastel-peach);
}

.term-list form:nth-child(4n+1) .term-card { background: var(--pastel-peach); }
.term-list form:nth-child(4n+2) .term-card { background: var(--pastel-green); }
.term-list form:nth-child(4n+3) .term-card { background: var(--pastel-mint); }
.term-list form:nth-child(4n+4) .term-card { background: var(--pastel-pink); }

.term-card:hover,
.term-card:focus {
  color: #080f31;
  box-shadow: inset 0 0 0 2px #080f31;
}

.term-card__title {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.term-card__meta {
  color: #4a5168;
}

.form-control, .form-select {
  border-radius: 16px;
  border: 0;
  min-height: 3.1rem;
  background: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: #7ab52d;
  box-shadow: 0 0 0 0.18rem rgba(122, 181, 45, 0.25);
}

.form-label, legend.col-form-label {
  font-weight: 700;
  color: #080f31;
}

.form-text {
  color: #4a5168;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.badge-soft {
  background: #eee;
  color: #080f31;
  font-weight: 600;
}

.progress { height: 0.65rem; background: #eee; }
.progress-bar { background: #7ab52d; }

.staff-nav a {
  color: #080f31;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
}

.staff-nav a:hover, .staff-nav a.active { background: #d5f2c2; }

.table thead th {
  color: #555;
  font-weight: 600;
  font-size: 0.85rem;
}

.main-footer {
  width: 100%;
  max-width: 1120px;
  margin: 16px auto 32px;
  padding: 0 20px 24px;
}

.main-footer__content {
  border: 1px solid #d9d9d9;
  border-radius: 24px;
  background: #fff;
  padding: 24px 28px;
  text-align: left;
}

.main-footer__name {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #080f31;
}

.main-footer__meta,
.main-footer__meta a {
  margin: 0 0 4px;
  color: #4a5168;
  text-decoration: none;
}

.main-footer__meta a:hover { color: #7ab52d; }

@media (min-width: 768px) {
  .kliker-header__inner { padding: 16px 64px; }
  .main-footer { padding: 0 48px 40px; }
  .main-footer__content { padding: 28px 36px; }
  .public-main { padding: 48px 48px 16px; }
  .panel { padding: 36px 40px; }
  .btn-row {
    grid-template-columns: 1fr 1fr;
  }
  .btn-row > :only-child {
    grid-column: 1;
    max-width: 240px;
  }
}
