:root {
  --kp-blue: #0a3eb1;
  --kp-blue-dark: #062b82;
  --kp-yellow: #f5b700;
  --kp-green: #2f9e44;
  --kp-ink: #121826;
  --kp-muted: #667085;
  --kp-line: #dbe4f2;
  --kp-soft: #f7faff;
  --kp-font: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body,
button,
input,
select {
  font-family: var(--kp-font);
}

body {
  margin: 0;
  color: var(--kp-ink);
  background: #fffdf7;
}

.kp-tunnel {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0, rgba(245, 183, 0, .18), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(10, 62, 177, .12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fffdf7 100%);
}

.kp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(10, 62, 177, .10);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(10, 62, 177, .07);
}

.kp-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: auto;
  padding: 12px 22px;
}

.kp-logo {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  text-decoration: none;
}

.kp-logo img {
  display: block;
  width: auto;
  max-width: 238px;
  max-height: 54px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kp-tools {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kp-language,
.kp-help {
  min-height: 42px;
  border: 1px solid var(--kp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kp-ink);
  padding: 0 14px;
  font-weight: 850;
}

.kp-help {
  cursor: pointer;
  color: var(--kp-blue);
}

.kp-help-wrap {
  position: relative;
}

.kp-help-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(330px, calc(100vw - 30px));
  border: 1px solid var(--kp-line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(18, 24, 38, .16);
}

.kp-help-panel strong {
  display: block;
  color: var(--kp-blue);
  font-size: 18px;
}

.kp-help-panel p {
  margin: 8px 0 12px;
  color: var(--kp-muted);
  line-height: 1.45;
}

.kp-help-panel a {
  display: inline-flex;
  color: var(--kp-blue);
  font-weight: 950;
}

.kp-progress {
  width: min(980px, calc(100% - 36px));
  margin: 28px auto 0;
}

.kp-progress-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--kp-muted);
  font-size: 14px;
  font-weight: 850;
}

.kp-progress-line strong {
  color: var(--kp-blue);
}

.kp-progress-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e9eef8;
}

.kp-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--kp-green), var(--kp-blue));
  transition: width .22s ease;
}

.kp-progress-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}

.kp-progress-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dce4f2;
}

.kp-progress-dots span.is-active,
.kp-progress-dots span.is-done {
  background: var(--kp-green);
}

.kp-intro {
  width: min(920px, calc(100% - 36px));
  margin: 28px auto 24px;
  text-align: center;
}

.kp-kicker {
  display: inline-flex;
  border: 1px solid #ffe08a;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff9e8;
  color: var(--kp-blue);
  font-size: 13px;
  font-weight: 950;
}

.kp-intro h1 {
  margin: 12px 0 8px;
  color: var(--kp-ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.kp-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--kp-muted);
  font-size: 18px;
  line-height: 1.55;
}

.kp-proof-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kp-proof-row span {
  border: 1px solid #ffe08a;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #28364d;
  font-size: 13px;
  font-weight: 900;
}

.kp-proof-row span::before {
  content: "+";
  margin-right: 6px;
  color: var(--kp-green);
}

.kp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 36px;
}

.kp-main-card,
.kp-sidebar > * {
  border: 1px solid rgba(10, 62, 177, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 50px rgba(10, 62, 177, .08);
}

.kp-main-card {
  min-height: 500px;
  padding: 28px;
}

.kp-panel[hidden] {
  display: none;
}

.kp-panel-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.kp-panel-head > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #082f91, #0f5ed7);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.kp-panel h2,
.kp-panel h3 {
  margin: 0 0 10px;
  color: var(--kp-blue);
  line-height: 1.15;
}

.kp-panel h2 {
  font-size: clamp(24px, 2vw, 30px);
}

.kp-panel h3 {
  margin-top: 24px;
  font-size: 20px;
}

.kp-panel-head p {
  margin: 0;
  color: var(--kp-muted);
  line-height: 1.5;
}

.kp-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kp-options-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-options-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kp-option {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 148px;
  border: 1px solid var(--kp-line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  color: var(--kp-ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 28px rgba(18, 24, 38, .04);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.kp-option:hover,
.kp-option:focus-visible {
  border-color: rgba(10, 62, 177, .35);
  box-shadow: 0 18px 36px rgba(10, 62, 177, .10);
  outline: none;
  transform: translateY(-1px);
}

.kp-option.is-selected {
  border-color: var(--kp-green);
  background: linear-gradient(180deg, #fff, #f6fff8);
  box-shadow: 0 0 0 4px rgba(47, 158, 68, .14), 0 18px 36px rgba(18, 24, 38, .08);
}

.kp-option.is-selected::after {
  content: "OK";
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--kp-green);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.kp-option-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--kp-blue);
  font-weight: 950;
}

.kp-option strong {
  max-width: calc(100% - 48px);
  color: var(--kp-ink);
  font-size: 18px;
  line-height: 1.25;
}

.kp-option small {
  color: var(--kp-muted);
  font-size: 14px;
  line-height: 1.4;
}

.kp-dynamic,
.kp-mini,
.kp-consent {
  border: 1px solid #ffe08a;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fff9e8);
}

.kp-dynamic {
  margin-top: 16px;
}

.kp-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kp-fields--single {
  grid-template-columns: minmax(240px, 420px);
  margin-top: 18px;
}

.kp-field-group-title {
  margin: 22px 0 6px;
  color: var(--kp-ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 850;
}

.kp-panel-head + .kp-field-group-title {
  margin-top: 10px;
}

.kp-field-group-lead {
  max-width: 620px;
  margin: 0 0 10px;
  color: var(--kp-muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 620;
}

.kp-fields label {
  display: grid;
  gap: 7px;
  color: var(--kp-ink);
  font-weight: 950;
}

.kp-fields input,
.kp-fields select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--kp-line);
  border-radius: 12px;
  background: #fff;
  padding: 0 13px;
  color: var(--kp-ink);
  font-size: 16px;
  font-weight: 750;
}

.kp-fields input:focus,
.kp-fields select:focus {
  outline: 4px solid rgba(10, 62, 177, .13);
  border-color: var(--kp-blue);
}

.kp-fields label.is-invalid input,
.kp-fields label.is-invalid select {
  border-color: #d8212a;
  background: #fff7f8;
  box-shadow: 0 0 0 4px rgba(216, 33, 42, .11);
}

.kp-fields small {
  color: var(--kp-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.kp-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.kp-mini h3 {
  margin-top: 0;
  color: var(--kp-ink);
  font-size: 18px;
}

.kp-segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.kp-segments button {
  min-height: 46px;
  border: 1px solid var(--kp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kp-ink);
  cursor: pointer;
  font-weight: 950;
}

.kp-segments button.is-selected {
  border-color: var(--kp-green);
  background: #f6fff8;
  color: var(--kp-green);
  box-shadow: 0 0 0 3px rgba(47, 158, 68, .13);
}

.kp-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--kp-ink);
  font-weight: 850;
  line-height: 1.4;
}

.kp-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--kp-green);
}

.kp-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.kp-summary,
.kp-trust-card {
  padding: 18px;
}

.kp-summary > span,
.kp-trust-card strong {
  display: block;
  color: var(--kp-blue);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.kp-summary dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.kp-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(10, 62, 177, .09);
  padding-bottom: 9px;
}

.kp-summary div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kp-summary dt {
  color: var(--kp-muted);
  font-weight: 850;
}

.kp-summary dd {
  margin: 0;
  color: var(--kp-ink);
  font-weight: 950;
  text-align: right;
}

.kp-trust-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--kp-muted);
}

.kp-trust-card li + li {
  margin-top: 8px;
}

.kp-actions {
  grid-column: 1 / -1;
  position: sticky;
  bottom: 14px;
  z-index: 15;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(10, 62, 177, .11);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(10, 62, 177, .16);
}

.kp-nav {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
}

.kp-nav--back {
  border: 1px solid var(--kp-line);
  background: #fff;
  color: var(--kp-ink);
}

.kp-nav--next {
  background: linear-gradient(135deg, #082f91, #0f5ed7);
  color: #fff;
  box-shadow: 0 14px 26px rgba(10, 62, 177, .22);
}

.kp-nav[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.kp-action-copy {
  display: grid;
  gap: 2px;
  color: var(--kp-muted);
  font-size: 14px;
  text-align: center;
}

.kp-action-copy strong {
  color: var(--kp-ink);
}

.kp-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: -4px 0 0;
  color: #d8212a;
  font-weight: 950;
}

.kp-message:not(:empty) {
  border: 1px solid #ffc7cc;
  border-left: 5px solid #d8212a;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff7f8;
}

.kp-message.is-success {
  border-color: #bde8c6;
  border-left-color: var(--kp-green);
  background: #f6fff8;
  color: var(--kp-green);
}

@media (max-width: 980px) {
  .kp-shell {
    grid-template-columns: 1fr;
  }

  .kp-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .kp-header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .kp-tools {
    width: 100%;
    justify-content: center;
  }

  .kp-help-panel {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .kp-main-card {
    padding: 18px;
  }

  .kp-panel-head,
  .kp-options-grid,
  .kp-options-grid--three,
  .kp-options-grid--two,
  .kp-fields,
  .kp-fields--single,
  .kp-mini-grid,
  .kp-actions {
    grid-template-columns: 1fr;
  }

  .kp-panel-head > span {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .kp-option {
    min-height: 116px;
  }

  .kp-nav {
    width: 100%;
  }
}

/* Warm visual layer */
.kp-tunnel {
  background:
    radial-gradient(circle at 10% 3%, rgba(245, 183, 0, .24), transparent 29%),
    radial-gradient(circle at 88% 9%, rgba(10, 62, 177, .14), transparent 30%),
    radial-gradient(circle at 50% 54%, rgba(47, 158, 68, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8e7 55%, #f4f8ff 100%);
}

.kp-header {
  background: rgba(255, 255, 255, .92);
}

.kp-progress-bar span {
  background: linear-gradient(90deg, var(--kp-yellow), var(--kp-green), var(--kp-blue));
}

.kp-kicker {
  background: linear-gradient(135deg, #fff, #fff6cf);
  box-shadow: 0 10px 22px rgba(245, 183, 0, .11);
}

.kp-intro h1 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.kp-proof-row span {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(10, 62, 177, .06);
}

.kp-proof-row span::before {
  content: "OK";
  font-size: 11px;
}

.kp-main-card {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 253, 247, .96)),
    radial-gradient(circle at 88% 12%, rgba(245, 183, 0, .18), transparent 24%);
  box-shadow: 0 28px 70px rgba(10, 62, 177, .11);
}

.kp-sidebar > * {
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(10, 62, 177, .10);
}

.kp-option {
  min-height: 190px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 255, .98));
  box-shadow: 0 16px 34px rgba(18, 24, 38, .055);
}

.kp-option:hover,
.kp-option:focus-visible {
  transform: translateY(-3px);
}

.kp-option.is-selected {
  background:
    radial-gradient(circle at 90% 10%, rgba(47, 158, 68, .16), transparent 28%),
    linear-gradient(180deg, #fff, #f5fff7);
  box-shadow: 0 0 0 4px rgba(47, 158, 68, .14), 0 22px 44px rgba(18, 24, 38, .10);
}

.kp-option strong {
  font-size: 19px;
}

.kp-option-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .78), transparent 28%),
    linear-gradient(135deg, #eef4ff, #fff6cf);
  box-shadow: inset 0 0 0 1px rgba(10, 62, 177, .08), 0 14px 28px rgba(10, 62, 177, .10);
}

.kp-option-illustration::before,
.kp-option-illustration::after,
.kp-option-illustration span::before,
.kp-option-illustration span::after {
  content: "";
  position: absolute;
  display: block;
}

.kp-illus-shield::before {
  width: 38px;
  height: 44px;
  background: linear-gradient(180deg, var(--kp-blue), #4b7ee8);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
}

.kp-illus-shield::after {
  width: 20px;
  height: 10px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg) translate(1px, 2px);
}

.kp-illus-home::before,
.kp-illus-combo::before,
.kp-illus-house::before {
  z-index: 2;
  width: 44px;
  height: 30px;
  bottom: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--kp-blue);
}

.kp-illus-home::after,
.kp-illus-combo::after,
.kp-illus-house::after {
  width: 35px;
  height: 35px;
  top: 16px;
  background: var(--kp-yellow);
  transform: rotate(45deg);
  border-radius: 7px;
}

.kp-illus-home span::before,
.kp-illus-combo span::before,
.kp-illus-house span::before {
  z-index: 3;
  width: 10px;
  height: 16px;
  bottom: 16px;
  border-radius: 5px 5px 0 0;
  background: var(--kp-blue);
}

.kp-illus-combo span::after {
  z-index: 4;
  right: 13px;
  bottom: 13px;
  width: 24px;
  height: 28px;
  background: var(--kp-green);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
}

.kp-illus-person::before {
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kp-blue);
}

.kp-illus-person::after {
  bottom: 13px;
  width: 42px;
  height: 27px;
  border-radius: 22px 22px 10px 10px;
  background: var(--kp-yellow);
}

.kp-illus-family::before,
.kp-illus-family::after,
.kp-illus-family span::before {
  bottom: 14px;
  width: 24px;
  height: 36px;
  border-radius: 16px 16px 9px 9px;
  background: var(--kp-blue);
}

.kp-illus-family::before {
  left: 14px;
  transform: scale(.82);
  background: var(--kp-yellow);
}

.kp-illus-family::after {
  left: 26px;
}

.kp-illus-family span::before {
  right: 14px;
  transform: scale(.72);
  background: var(--kp-green);
}

.kp-illus-key::before {
  left: 15px;
  width: 28px;
  height: 28px;
  border: 6px solid var(--kp-blue);
  border-radius: 50%;
}

.kp-illus-key::after {
  right: 15px;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: var(--kp-yellow);
}

.kp-illus-owner::before {
  width: 46px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--kp-blue), #4b7ee8);
}

.kp-illus-owner::after {
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.kp-illus-apartment::before {
  width: 42px;
  height: 52px;
  border-radius: 9px;
  background: var(--kp-blue);
}

.kp-illus-apartment::after {
  left: 21px;
  top: 19px;
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 12px 0 #fff, 24px 0 #fff, 0 13px #fff, 12px 13px #fff, 24px 13px #fff, 0 26px #fff, 12px 26px #fff, 24px 26px #fff;
}

.kp-mini {
  position: relative;
  overflow: hidden;
}

.kp-mini::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(245, 183, 0, .18);
}

.kp-mini > * {
  position: relative;
  z-index: 1;
}

.kp-home-visual {
  position: relative;
  overflow: hidden;
  min-height: 222px;
  padding: 22px;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, .9), transparent 23%),
    linear-gradient(145deg, #fff7d9, #eef6ff 56%, #f7fff8);
}

.kp-home-sun {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--kp-yellow);
  box-shadow: 0 0 0 14px rgba(245, 183, 0, .16);
}

.kp-home-card {
  position: relative;
  width: 150px;
  height: 130px;
  margin: 22px auto 10px;
}

.kp-home-roof {
  position: absolute;
  left: 29px;
  top: 0;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: var(--kp-yellow);
  transform: rotate(45deg);
  box-shadow: 0 16px 26px rgba(245, 183, 0, .18);
}

.kp-home-body {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 114px;
  height: 86px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 4px var(--kp-blue), 0 16px 36px rgba(10, 62, 177, .15);
}

.kp-home-body::before {
  content: "";
  position: absolute;
  left: 47px;
  bottom: 0;
  width: 24px;
  height: 40px;
  border-radius: 12px 12px 0 0;
  background: var(--kp-blue);
}

.kp-home-shield {
  position: absolute;
  right: 5px;
  bottom: 2px;
  width: 48px;
  height: 55px;
  background: var(--kp-green);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
}

.kp-home-shield::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 19px;
  height: 10px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.kp-home-visual p {
  margin: 12px 0 0;
  color: var(--kp-blue);
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

.kp-nav {
  border-radius: 15px;
}

.kp-nav--next:hover,
.kp-nav--next:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .kp-option {
    min-height: 148px;
  }

  .kp-home-visual {
    min-height: 190px;
  }
}

/* Always reachable navigation */
.kp-shell {
  padding-bottom: 108px;
}

.kp-actions {
  position: fixed !important;
  left: 50% !important;
  bottom: 14px !important;
  z-index: 80 !important;
  width: min(680px, calc(100% - 28px)) !important;
  transform: translateX(-50%) !important;
  grid-template-columns: 132px minmax(0, 1fr) 180px !important;
  padding: 10px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .90) !important;
}

.kp-nav {
  min-height: 50px !important;
}

.kp-actions.is-first-step {
  left: auto !important;
  right: 18px !important;
  width: min(290px, calc(100% - 36px)) !important;
  transform: none !important;
  grid-template-columns: 1fr !important;
}

.kp-actions.is-first-step .kp-nav--back {
  display: none !important;
}

.kp-actions.is-first-step .kp-action-copy {
  display: none !important;
}

@media (max-width: 760px) {
  .kp-shell {
    padding-bottom: 96px;
  }

  .kp-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .kp-actions.is-first-step {
    grid-template-columns: 1fr !important;
    right: 14px !important;
    width: min(290px, calc(100% - 28px)) !important;
  }

  .kp-action-copy {
    display: none !important;
  }
}

/* Refined typography and lead step */
:root {
  --kp-font: "Segoe UI Variable Text", "Aptos", "Inter", "Segoe UI", system-ui, sans-serif;
}

body,
button,
input,
select {
  font-family: var(--kp-font);
}

.kp-language,
.kp-help,
.kp-progress-line,
.kp-proof-row span,
.kp-fields label,
.kp-segments button,
.kp-nav,
.kp-summary dt,
.kp-consent {
  font-weight: 620 !important;
}

.kp-kicker,
.kp-panel-head > span,
.kp-panel h2,
.kp-panel h3,
.kp-option strong,
.kp-summary dd,
.kp-summary > span,
.kp-trust-card strong,
.kp-action-copy strong {
  font-weight: 760 !important;
}

.kp-intro h1 {
  font-weight: 820 !important;
  letter-spacing: -.018em;
}

.kp-fields input,
.kp-fields select {
  font-weight: 520 !important;
}

.kp-panel[data-step="3"].is-active {
  position: relative;
}

.kp-panel[data-step="3"].is-active::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255,255,255,.9), transparent 24%),
    linear-gradient(135deg, rgba(25,182,255,.14), rgba(245,183,0,.16));
  transform: rotate(8deg);
  pointer-events: none;
}

.kp-panel[data-step="3"].is-active > * {
  position: relative;
  z-index: 1;
}

.kp-panel[data-step="3"] .kp-fields {
  margin-top: 8px;
}

.kp-panel[data-step="3"] .kp-fields label {
  border: 1px solid rgba(10, 62, 177, .10);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(249,252,255,.82));
  box-shadow: 0 12px 28px rgba(18,24,38,.045);
}

.kp-panel[data-step="3"] .kp-fields input {
  border-color: rgba(10, 62, 177, .12);
  background: rgba(255,255,255,.92);
}

.kp-panel[data-step="3"] .kp-fields label:focus-within {
  border-color: rgba(25, 182, 255, .42);
  box-shadow: 0 0 0 4px rgba(25, 182, 255, .10), 0 16px 34px rgba(10,62,177,.08);
}

.kp-consent {
  border-color: rgba(47, 158, 68, .20) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,255,248,.88)) !important;
  box-shadow: 0 12px 28px rgba(18,24,38,.06);
  color: var(--kp-ink);
}

.kp-consent input {
  appearance: none;
  flex: 0 0 auto;
  width: 24px !important;
  height: 24px !important;
  border: 1.5px solid rgba(10, 62, 177, .28);
  border-radius: 8px;
  margin-top: 1px !important;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.kp-consent input:checked {
  border-color: var(--kp-green);
  background: linear-gradient(135deg, var(--kp-green), #77d66b);
  box-shadow: 0 8px 20px rgba(47, 158, 68, .18);
}

.kp-consent input:checked::after {
  content: "";
  display: block;
  width: 11px;
  height: 6px;
  margin: 6px 0 0 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.kp-consent a {
  display: inline-flex;
  color: var(--kp-blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.kp-consent a:hover {
  text-decoration: underline;
}

/* Avant-garde refinement */
:root {
  --kp-electric: #19b6ff;
  --kp-lime: #77d66b;
  --kp-coral: #ff7d66;
  --kp-violet: #6757ff;
}

.kp-tunnel {
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 182, 255, .18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(245, 183, 0, .22), transparent 30%),
    radial-gradient(circle at 50% 68%, rgba(119, 214, 107, .14), transparent 36%),
    linear-gradient(180deg, #fbfdff 0%, #fffaf0 48%, #f3f8ff 100%);
}

.kp-header {
  border-bottom-color: rgba(10, 62, 177, .08);
}

.kp-intro h1 {
  letter-spacing: -.01em;
}

.kp-main-card {
  border-color: rgba(255, 255, 255, .74);
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.68)),
    radial-gradient(circle at 14% 12%, rgba(25, 182, 255, .09), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(245, 183, 0, .16), transparent 24%);
  backdrop-filter: blur(18px);
}

.kp-option {
  overflow: hidden;
  align-content: start;
  min-height: 176px;
  border-color: rgba(10, 62, 177, .10);
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(249,252,255,.84));
}

.kp-option::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(25, 182, 255, .10), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(245, 183, 0, .18), transparent 28%);
  opacity: .72;
}

.kp-option > * {
  position: relative;
  z-index: 1;
}

.kp-option.is-selected {
  border-color: rgba(47, 158, 68, .58);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,255,247,.9));
}

.kp-option.is-selected::after {
  content: "OK";
  top: 14px;
  right: 14px;
  background: #101828;
  color: #fff;
  letter-spacing: .06em;
}

.kp-option-illustration {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(236,246,255,.78));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 0 -18px 28px rgba(10, 62, 177, .08),
    0 18px 35px rgba(10, 62, 177, .13);
}

.kp-option-illustration::before,
.kp-option-illustration::after,
.kp-option-illustration span::before,
.kp-option-illustration span::after {
  content: none !important;
}

.kp-option-illustration svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--kp-blue);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 12px rgba(10, 62, 177, .16));
}

.kp-option:nth-child(2n) .kp-option-illustration svg {
  stroke: #1388df;
}

.kp-option.is-selected .kp-option-illustration {
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,255,240,.86));
}

.kp-option.is-selected .kp-option-illustration svg {
  stroke: var(--kp-green);
}

.kp-home-visual {
  min-height: 282px;
  border-color: rgba(255,255,255,.7);
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,248,255,.78)),
    radial-gradient(circle at 85% 18%, rgba(245,183,0,.25), transparent 28%),
    radial-gradient(circle at 20% 82%, rgba(25,182,255,.17), transparent 30%);
  backdrop-filter: blur(16px);
}

.kp-home-sun,
.kp-home-card,
.kp-home-roof,
.kp-home-body,
.kp-home-shield {
  display: none !important;
}

.kp-hero-visual {
  display: block;
  width: min(260px, 100%);
  margin: 0 auto 8px;
  overflow: visible;
}

.kp-orbit {
  fill: none;
  stroke: rgba(25, 182, 255, .42);
  stroke-width: 2;
  stroke-dasharray: 5 8;
}

.kp-orbit-two {
  stroke: rgba(245, 183, 0, .52);
}

.kp-svg-home-roof,
.kp-svg-home-body,
.kp-svg-door,
.kp-svg-window {
  fill: none;
  stroke: url(#homeGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kp-svg-home-body {
  fill: rgba(255,255,255,.74);
  stroke-width: 7;
}

.kp-svg-door,
.kp-svg-window {
  stroke: #0a3eb1;
  stroke-width: 6;
}

.kp-svg-shield {
  fill: url(#goldGradient);
  stroke: #101828;
  stroke-width: 5;
  stroke-linejoin: round;
}

.kp-svg-check {
  fill: none;
  stroke: #101828;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kp-home-visual p {
  color: #101828;
  font-size: 21px;
  letter-spacing: -.01em;
}

.kp-summary {
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,251,236,.86));
}

.kp-nav--next {
  background:
    linear-gradient(135deg, #082f91 0%, #0f5ed7 52%, #19b6ff 100%);
}

/* Mobile full-width refinement */
@media (max-width: 720px) {
  html,
  body,
  .kp-tunnel {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .kp-header,
  .kp-header-inner,
  .kp-layout,
  .kp-content,
  .kp-main,
  .kp-panel,
  .kp-sidebar,
  .kp-actions,
  .kp-progress,
  .kp-screen,
  .kp-flow-message {
    width: 100% !important;
    max-width: none !important;
  }

  .kp-header-inner,
  .kp-layout,
  .kp-content,
  .kp-main,
  .kp-progress,
  .kp-screen,
  .kp-flow-message {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .kp-panel,
  .kp-sidebar > *,
  .kp-consent,
  .kp-option,
  .kp-home-visual,
  .kp-result-card {
    border-radius: 8px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .kp-actions {
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .kp-nav--next,
  .kp-nav--prev,
  .kp-primary,
  .kp-secondary,
  .kp-premium-cta {
    width: 100% !important;
  }
}
