:root {
  --ink: #07152f;
  --ink-soft: #293650;
  --navy: #07152f;
  --navy-2: #10264c;
  --navy-3: #17345f;
  --gold: #b9872e;
  --gold-bright: #d7ae55;
  --gold-pale: #f4e8c8;
  --cream: #faf8f2;
  --paper: #fffefa;
  --line: #ded9ca;
  --muted: #6d7481;
  --error: #ad342d;
  --success: #1c7156;
  --shadow: 0 28px 80px rgba(7, 21, 47, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, rgba(215, 174, 85, 0.13), transparent 25rem),
    linear-gradient(135deg, #fbfaf6 0%, #fff 48%, #f7f3e9 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(1520px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(185, 135, 46, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px minmax(220px, 560px) 220px;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(18px, 3vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 21, 47, 0.1);
}

.brand {
  width: 190px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.brand img {
  display: block;
  width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.topbar-center {
  width: 100%;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: #e7e3d9;
  border-radius: 20px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e4c371);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(185, 135, 46, 0.4);
  transition: width 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.save-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.save-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border: 2px solid #d5eee5;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(28, 113, 86, 0.08);
}

.landing-view {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(620px, 1.28fr);
  min-height: calc(100vh - 115px);
}

.landing-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 174, 85, 0.13), transparent 21rem),
    linear-gradient(155deg, #061329 0%, #0a1e3e 60%, #0f2d54 100%);
}

.landing-art::before,
.context-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}

.dna-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(56%, 310px);
  max-height: 72%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
}

.dna-mark > path {
  stroke: url(#gold);
  stroke: #d4aa52;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dna-rungs path {
  stroke: rgba(244, 232, 200, 0.72);
  stroke-width: 1.25;
}

.dna-orbit {
  position: absolute;
  border: 1px solid rgba(215, 174, 85, 0.23);
  border-radius: 50%;
}

.dna-orbit-one {
  top: 9%;
  left: -37%;
  width: 88%;
  aspect-ratio: 1;
}

.dna-orbit-two {
  right: -50%;
  bottom: 1%;
  width: 95%;
  aspect-ratio: 1;
}

.art-index,
.art-caption {
  position: absolute;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.art-index {
  top: 34px;
  left: 34px;
  color: var(--gold-bright);
}

.art-caption {
  right: 34px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.7;
  text-align: right;
}

.landing-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.landing-content h1,
.success-view h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.landing-content h1 em,
.success-view h1 em {
  color: var(--gold);
  font-weight: 400;
}

.landing-lead {
  max-width: 760px;
  margin: 24px 0 34px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

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

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid #ddd7c7;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.path-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -92px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(185, 135, 46, 0.24);
  border-radius: 50%;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.path-card:hover,
.path-card:focus-visible {
  z-index: 2;
  border-color: var(--gold);
  outline: none;
  transform: translateY(-6px);
  box-shadow: 0 26px 46px rgba(7, 21, 47, 0.13);
}

.path-card:hover::after,
.path-card:focus-visible::after {
  transform: scale(1.35);
}

.path-card-dark {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.path-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #9aa0aa;
  font-family: var(--serif);
  font-size: 13px;
}

.path-card-dark .path-number {
  color: rgba(255, 255, 255, 0.43);
}

.path-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
  background: #f8f1df;
  border: 1px solid #e6d5ac;
  border-radius: 50%;
}

.path-card-dark .path-icon {
  color: var(--gold-bright);
  background: rgba(215, 174, 85, 0.1);
  border-color: rgba(215, 174, 85, 0.3);
}

.path-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.path-kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.path-card strong {
  max-width: 300px;
  margin: 9px 0 11px;
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.path-copy {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.path-card-dark .path-copy {
  color: rgba(255, 255, 255, 0.64);
}

.path-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
}

.path-card-dark .path-meta {
  color: rgba(255, 255, 255, 0.58);
}

.path-meta b {
  color: inherit;
}

.path-meta i {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.path-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 21, 47, 0.12);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.path-card-dark .path-action {
  border-color: rgba(255, 255, 255, 0.15);
}

.path-action b {
  color: var(--gold);
  font-size: 18px;
  transition: transform 220ms ease;
}

.path-card:hover .path-action b {
  transform: translate(3px, -3px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin-top: 30px;
  color: #5f6775;
  font-size: 11px;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  width: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.form-view {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.28fr);
  min-height: calc(100vh - 115px);
}

.context-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(40px, 5vw, 74px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 87%, rgba(215, 174, 85, 0.19), transparent 18rem),
    linear-gradient(155deg, #061329, #0d2850);
}

.context-panel::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -155px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(215, 174, 85, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(215, 174, 85, 0.04), 0 0 0 90px rgba(215, 174, 85, 0.025);
}

.context-index {
  color: rgba(215, 174, 85, 0.72);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.context-copy {
  margin: auto 0;
}

.context-kicker {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.context-copy h2 {
  max-width: 460px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.context-copy > p:last-child {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.68;
}

.context-panel blockquote {
  max-width: 440px;
  margin: 0 0 44px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

.context-signature {
  color: rgba(255, 255, 255, 0.28);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.context-signature span {
  color: var(--gold);
}

.question-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 47, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 58px 100%;
}

.question-wrap {
  display: flex;
  align-items: center;
  width: min(820px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0 42px;
}

#step-content {
  width: 100%;
}

.step-head {
  margin-bottom: 28px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.step-badge::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.step-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.step-subtitle {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.fields-stack {
  display: grid;
  gap: 22px;
}

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

.field {
  min-width: 0;
}

.field-label,
.field legend {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
}

.field legend {
  padding: 0;
}

.required-mark {
  margin-left: 4px;
  color: var(--gold);
}

.field-help {
  display: block;
  margin-top: 7px;
  color: #7c8390;
  font-size: 11px;
  line-height: 1.45;
}

.text-input,
.text-area,
.select-input {
  width: 100%;
  color: var(--ink);
  background: rgba(250, 248, 242, 0.52);
  border: 1px solid #cfcabd;
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.text-input,
.select-input {
  min-height: 54px;
  padding: 0 16px;
}

.text-area {
  min-height: 132px;
  padding: 15px 16px;
  line-height: 1.55;
  resize: vertical;
}

.text-input::placeholder,
.text-area::placeholder {
  color: #9ba0a8;
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 135, 46, 0.11);
}

.number-wrap {
  position: relative;
}

.number-wrap .text-input {
  padding-right: 118px;
}

.number-unit {
  position: absolute;
  top: 50%;
  right: 14px;
  max-width: 96px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 740;
  line-height: 1.2;
  text-align: right;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-error .text-input,
.field-error .text-area,
.field-error .select-input {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(173, 52, 45, 0.08);
}

.error-message {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--error);
  font-size: 11px;
  font-weight: 650;
}

.error-message::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

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

.choice-grid.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-option label {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink-soft);
  background: rgba(250, 248, 242, 0.62);
  border: 1px solid #d8d3c7;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choice-option label:hover {
  color: var(--ink);
  background: #fff;
  border-color: #bcae8d;
  transform: translateY(-1px);
}

.choice-option input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.choice-option input:checked + label {
  color: var(--ink);
  background: #fffaf0;
  border-color: var(--gold);
  box-shadow: inset 3px 0 0 var(--gold), 0 7px 18px rgba(7, 21, 47, 0.06);
}

.choice-key {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  color: #8f8061;
  border: 1px solid #d4c8ae;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.choice-option input:checked + label .choice-key {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.choice-text {
  min-width: 0;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
}

.slider-field {
  padding: 14px 16px 16px;
  background: rgba(250, 248, 242, 0.68);
  border: 1px solid #ddd8cd;
  border-radius: 8px;
}

.slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.slider-top label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 720;
}

.slider-value {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 16px;
}

.range-input {
  width: 100%;
  height: 4px;
  margin: 8px 0;
  appearance: none;
  background: linear-gradient(90deg, var(--gold) var(--range-progress, 50%), #d7d4cc var(--range-progress, 50%));
  border-radius: 20px;
  outline: none;
}

.range-input::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  appearance: none;
  background: #fff;
  border: 5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(7, 21, 47, 0.2);
  cursor: grab;
}

.range-input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: #fff;
  border: 5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(7, 21, 47, 0.2);
  cursor: grab;
}

.range-input:focus-visible {
  box-shadow: 0 0 0 4px rgba(185, 135, 46, 0.12);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  color: #858b94;
  font-size: 9px;
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(90deg, var(--cream) 50%, transparent 50%),
    linear-gradient(90deg, var(--cream) 50%, transparent 50%),
    linear-gradient(0deg, var(--cream) 50%, transparent 50%),
    linear-gradient(0deg, var(--cream) 50%, transparent 50%);
  background-position: top, bottom, left, right;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 12px 1px, 12px 1px, 1px 12px, 1px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.upload-zone:hover,
.upload-zone.dragging {
  background-color: #fffaf0;
  transform: translateY(-2px);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 13px;
  color: var(--gold);
  background: #fff;
  border: 1px solid #e1d2af;
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(7, 21, 47, 0.08);
}

.upload-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.upload-zone strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.upload-zone small {
  color: var(--muted);
  font-size: 11px;
}

.file-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  background: #f8f5ed;
  border: 1px solid #ded5c2;
  border-radius: 7px;
  font-size: 11px;
}

.file-chip button {
  padding: 3px 6px;
  color: var(--error);
  background: none;
  border: 0;
  cursor: pointer;
}

.consent-list {
  display: grid;
  gap: 12px;
}

.consent-row {
  position: relative;
}

.consent-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-row label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px;
  color: var(--ink-soft);
  background: #faf9f5;
  border: 1px solid #ddd9cf;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
}

.consent-box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: transparent;
  background: #fff;
  border: 1px solid #b9b4a9;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 850;
}

.consent-row input:checked + label {
  background: #fffaf0;
  border-color: var(--gold);
}

.consent-row input:checked + label .consent-box {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.consent-row input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.review-card {
  padding: 22px;
  background: #faf8f2;
  border: 1px solid #ded8c9;
  border-radius: 10px;
}

.review-card + .review-card {
  margin-top: 12px;
}

.review-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.review-card h3 span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
}

.review-item span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-item strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.review-answer {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
}

.contract-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contract-checks span {
  padding: 8px 10px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid #d9d4c7;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 720;
}

.contract-checks .is-ok {
  color: var(--success);
  border-color: rgba(28, 113, 86, 0.25);
}

.contract-checks .is-alert {
  color: var(--error);
  border-color: rgba(173, 52, 45, 0.25);
}

.review-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.review-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 9px;
  color: var(--ink-soft);
  text-align: left;
  background: #fff;
  border: 1px solid #dfd9cc;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.review-step:hover,
.review-step:focus-visible {
  border-color: var(--gold);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(7, 21, 47, 0.06);
}

.review-step span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
}

.review-step b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-step i {
  color: var(--success);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(24px, 4vw, 64px);
  background: rgba(250, 248, 242, 0.72);
  border-top: 1px solid #ddd9cf;
}

.control-back,
.text-button {
  justify-self: start;
  padding: 12px 0;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.control-back:hover,
.control-back:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  color: var(--ink);
  outline: none;
}

.control-back span {
  display: inline-block;
  margin-right: 6px;
  transition: transform 160ms ease;
}

.control-back:hover span {
  transform: translateX(-3px);
}

.keyboard-hint {
  margin: 0;
  color: #8a8f97;
  font-size: 10px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 23px;
  margin-right: 4px;
  padding: 0 6px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid #d3cec2;
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 760;
}

.control-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 20px;
  min-width: 148px;
  min-height: 48px;
  padding: 0 19px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(7, 21, 47, 0.18);
  cursor: pointer;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.control-next:hover,
.control-next:focus-visible {
  background: var(--navy-2);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(7, 21, 47, 0.22);
}

.control-next span:last-child {
  font-size: 16px;
  transition: transform 160ms ease;
}

.control-next:hover span:last-child {
  transform: translateX(3px);
}

.control-next[disabled] {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.success-view {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 115px);
  padding: 60px 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 174, 85, 0.13), transparent 28rem),
    #fff;
}

.success-view::before,
.success-view::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185, 135, 46, 0.16);
  border-radius: 50%;
}

.success-view::before {
  top: -260px;
  left: -160px;
}

.success-view::after {
  right: -180px;
  bottom: -280px;
}

.success-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  color: var(--gold);
  background: #fffaf0;
  border: 1px solid #e1c98f;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(7, 21, 47, 0.12);
}

.success-emblem span {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(185, 135, 46, 0.25);
  border-radius: 50%;
  animation: success-pulse 2.4s ease-in-out infinite;
}

.success-emblem svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-view > p:not(.eyebrow, .demo-note) {
  max-width: 620px;
  margin: 22px 0;
  color: var(--muted);
  line-height: 1.65;
}

.success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  width: min(560px, 100%);
  margin-top: 16px;
  border-top: 1px solid #dcd6c8;
  border-bottom: 1px solid #dcd6c8;
}

.success-details div {
  padding: 19px;
}

.success-details div + div {
  border-left: 1px solid #dcd6c8;
}

.success-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.success-details strong {
  font-size: 12px;
}

.success-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}

.success-actions .control-next {
  justify-self: auto;
}

.success-actions .text-button {
  justify-self: auto;
}

.demo-note {
  margin-top: 20px !important;
  color: #8a8f97 !important;
  font-size: 10px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 48px));
  padding: 14px 18px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(215, 174, 85, 0.4);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(7, 21, 47, 0.24);
  font-size: 12px;
  line-height: 1.45;
}

.step-enter-forward {
  animation: enter-forward 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.step-enter-back {
  animation: enter-back 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.step-exit-forward {
  animation: exit-forward 190ms ease both;
}

.step-exit-back {
  animation: exit-back 190ms ease both;
}

.landing-exit {
  animation: landing-exit 360ms ease both;
}

.form-enter {
  animation: form-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes enter-forward {
  from { opacity: 0; transform: translate3d(28px, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes enter-back {
  from { opacity: 0; transform: translate3d(-28px, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes exit-forward {
  to { opacity: 0; transform: translate3d(-24px, -5px, 0); }
}

@keyframes exit-back {
  to { opacity: 0; transform: translate3d(24px, -5px, 0); }
}

@keyframes landing-exit {
  to { opacity: 0; transform: scale(0.985); }
}

@keyframes form-enter {
  from { opacity: 0; transform: scale(1.012); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes success-pulse {
  50% { opacity: 0.25; transform: scale(1.12); }
}

@media (max-width: 1120px) {
  .app-shell {
    width: calc(100% - 20px);
    min-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .topbar {
    grid-template-columns: 180px 1fr 160px;
    padding-inline: 24px;
  }

  .brand {
    width: 162px;
  }

  .landing-view {
    grid-template-columns: 0.54fr 1.46fr;
  }

  .landing-content {
    padding: 48px;
  }

  .form-view {
    grid-template-columns: 0.56fr 1.44fr;
  }

  .context-panel {
    padding: 44px 34px;
  }

  .question-wrap {
    width: calc(100% - 48px);
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    grid-template-columns: 150px 1fr;
    min-height: 76px;
    padding: 12px 20px;
  }

  .brand {
    width: 145px;
  }

  .topbar-center {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 9px;
  }

  .progress-meta {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .save-state {
    font-size: 10px;
  }

  .landing-view,
  .form-view {
    display: block;
    min-height: calc(100vh - 76px);
  }

  .landing-art {
    display: none;
  }

  .landing-content {
    min-height: calc(100vh - 76px);
    padding: 46px 22px 32px;
  }

  .landing-content h1 {
    font-size: clamp(38px, 10.7vw, 56px);
  }

  .landing-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .context-panel {
    display: none;
  }

  .question-panel {
    min-height: calc(100vh - 110px);
    background-size: 42px 100%;
  }

  .question-wrap {
    align-items: flex-start;
    width: calc(100% - 40px);
    padding: 44px 0 116px;
  }

  .form-controls {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    grid-template-columns: auto 1fr;
    min-height: 74px;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -10px 30px rgba(7, 21, 47, 0.08);
    backdrop-filter: blur(14px);
  }

  .keyboard-hint {
    display: none;
  }

  .control-next {
    width: min(230px, 100%);
    min-width: 0;
  }

  .success-view {
    min-height: calc(100vh - 76px);
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: 128px 1fr;
    min-height: 68px;
    padding: 9px 16px;
  }

  .brand {
    width: 124px;
  }

  .brand img {
    height: 36px;
  }

  .save-state {
    gap: 6px;
  }

  .save-dot {
    width: 7px;
    height: 7px;
  }

  .landing-content {
    justify-content: flex-start;
    padding-top: 36px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 280px;
    padding: 22px;
  }

  .path-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  .path-card strong {
    max-width: 270px;
    font-size: 25px;
  }

  .trust-row {
    gap: 13px 20px;
    margin-top: 24px;
  }

  .question-wrap {
    width: calc(100% - 32px);
    padding-top: 32px;
  }

  .step-head {
    margin-bottom: 22px;
  }

  .step-title {
    font-size: clamp(31px, 9.3vw, 43px);
  }

  .fields-grid,
  .choice-grid,
  .choice-grid.choice-grid-three,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .choice-option label {
    min-height: 54px;
  }

  .form-controls {
    gap: 16px;
  }

  .control-back {
    width: 44px;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .control-back span {
    margin-right: 0;
    font-size: 17px;
  }

  .review-step-list {
    grid-template-columns: 1fr;
  }

  .success-details {
    grid-template-columns: 1fr;
  }

  .success-details div + div {
    border-top: 1px solid #dcd6c8;
    border-left: 0;
  }

  .success-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .success-actions .control-next {
    width: 100%;
  }
}

/* Runda 3: język graficzny okładki Career DNA */

@font-face {
  font-family: "Career Display";
  src: url("./assets/FreeSerif.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Career Sans";
  src: url("./assets/Lato-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Career Sans";
  src: url("./assets/Lato-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #f7f0df;
  --ink-soft: #ddd4c2;
  --navy: #07142d;
  --navy-2: #0a1b38;
  --navy-3: #10284b;
  --gold: #cf8b16;
  --gold-bright: #e4aa36;
  --gold-pale: #f0d49b;
  --cream: #07142d;
  --paper: #081730;
  --line: rgba(218, 151, 31, 0.42);
  --muted: #aaa493;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --serif: "Career Display", "Times New Roman", serif;
  --sans: "Career Sans", Lato, Arial, sans-serif;
}

html,
body {
  background: #020817;
}

body {
  background: #020817;
  font-family: var(--sans);
}

body::before {
  display: none;
}

.app-shell {
  width: min(1500px, calc(100% - 40px));
  min-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(218, 151, 31, 0.56);
  border-radius: 0;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.topbar {
  grid-template-columns: 1fr minmax(260px, 560px) 1fr;
  min-height: 92px;
  padding: 16px 52px;
  background: #050f24;
  border-bottom: 1px solid rgba(218, 151, 31, 0.46);
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  transform: none;
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.brand-wordmark b {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.brand-chevrons {
  width: 52px;
  height: 31px;
  fill: var(--gold-bright);
  filter: none;
}

.save-state {
  grid-column: 3;
  color: rgba(247, 240, 223, 0.56);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.save-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  border: 0;
  box-shadow: 0 0 10px rgba(228, 170, 54, 0.32);
}

.mode-form .brand,
.mode-success .brand {
  grid-column: 1;
  justify-self: start;
}

.mode-form .brand-wordmark b,
.mode-success .brand-wordmark b {
  font-size: 24px;
}

.mode-form .brand-chevrons,
.mode-success .brand-chevrons {
  width: 41px;
  height: 25px;
}

.mode-form .topbar-center {
  grid-column: 2;
  grid-row: 1;
}

.progress-meta {
  margin-bottom: 12px;
  color: var(--gold-pale);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.progress-track {
  position: relative;
  height: 1px;
  overflow: visible;
  background: rgba(218, 151, 31, 0.22);
  box-shadow: none;
}

.progress-track span {
  height: 1px;
  background: var(--gold-bright);
  box-shadow: none;
}

.landing-view {
  position: relative;
  display: block;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.landing-view::after {
  display: none;
}

.landing-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: none;
  border: 0;
  pointer-events: none;
}

.landing-art::before,
.context-panel::before {
  display: none;
}

.dna-mark {
  top: 50%;
  left: -72px;
  width: 280px;
  max-height: 94%;
  opacity: 0.48;
  transform: translateY(-50%);
  filter: none;
}

.dna-mark > path {
  stroke: var(--gold-bright);
  stroke-width: 0.72;
}

.dna-rungs path {
  stroke: rgba(228, 170, 54, 0.58);
  stroke-width: 0.52;
}

.dna-orbit {
  display: none;
}

.art-index,
.art-caption {
  display: none;
}

.landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 133px);
  padding: 58px 180px 48px;
  overflow: hidden;
  text-align: center;
  background: none;
}

.landing-content > :not(.constellation-mark) {
  position: relative;
  z-index: 2;
}

.constellation-mark {
  top: -44px;
  right: -84px;
  width: 430px;
  opacity: 0.28;
  filter: none;
}

.constellation-lines path {
  stroke: var(--gold-bright);
  stroke-width: 0.66;
}

.constellation-nodes circle {
  fill: var(--gold-bright);
  opacity: 0.86;
}

.cover-separator {
  position: relative;
  width: min(520px, 64vw);
  height: 22px;
  margin-inline: auto;
}

.cover-separator::before,
.cover-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 10px);
  height: 1px;
  background: var(--gold);
}

.cover-separator::before {
  left: 0;
}

.cover-separator::after {
  right: 0;
}

.cover-separator span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold-bright);
  transform: translate(-50%, -50%) rotate(45deg);
}

.cover-separator-top::before,
.cover-separator-top::after {
  width: calc(50% - 9px);
}

.cover-separator-rays {
  width: min(270px, 42vw);
  height: 44px;
  margin-top: 22px;
}

.cover-separator-rays span::before,
.cover-separator-rays span::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 1px;
  height: 25px;
  background: var(--gold);
  transform-origin: top;
}

.cover-separator-rays span::before {
  transform: translateX(-50%) rotate(24deg);
}

.cover-separator-rays span::after {
  transform: translateX(-50%) rotate(-24deg);
}

.eyebrow {
  margin: 8px 0 38px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-shadow: none;
  text-transform: uppercase;
}

.landing-content h1 {
  max-width: 1020px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(70px, 7.2vw, 112px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.78;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
}

.landing-content h1 span,
.landing-content h1 em {
  display: block;
}

.landing-content h1 em {
  margin-top: 28px;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 400;
}

.landing-lead {
  max-width: 780px;
  margin: 6px auto 32px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
}

.path-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: min(940px, 100%);
  margin: 8px auto 0;
  border: 1px solid rgba(218, 151, 31, 0.72);
}

.path-grid::before,
.path-grid::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.path-grid::before {
  top: -4px;
  left: -4px;
}

.path-grid::after {
  right: -4px;
  bottom: -4px;
}

.path-card,
.path-card-dark {
  min-height: 270px;
  padding: 25px 34px 22px;
  align-items: center;
  color: var(--ink);
  text-align: center;
  background: rgba(3, 11, 27, 0.14);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.path-card:first-child {
  border-right: 1px solid rgba(218, 151, 31, 0.58);
}

.path-card::before,
.path-card::after {
  display: none;
}

.path-card:hover,
.path-card:focus-visible {
  z-index: 2;
  background: rgba(218, 151, 31, 0.055);
  border-color: transparent;
  outline: 1px solid var(--gold-bright);
  outline-offset: -6px;
  transform: none;
  box-shadow: none;
}

.path-number {
  top: 17px;
  right: 20px;
  color: rgba(228, 170, 54, 0.54);
  font-size: 10px;
}

.path-icon,
.path-card-dark .path-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 17px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.path-icon svg {
  width: 25px;
  stroke-width: 1.1;
}

.path-kicker {
  color: var(--gold-bright);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-shadow: none;
}

.path-card strong {
  max-width: 370px;
  margin: 8px 0 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.path-copy,
.path-card-dark .path-copy {
  max-width: 350px;
  color: rgba(247, 240, 223, 0.62);
  font-size: 10px;
  line-height: 1.55;
}

.path-meta,
.path-card-dark .path-meta {
  margin-top: auto;
  padding-top: 12px;
  color: rgba(247, 240, 223, 0.44);
  font-size: 8px;
}

.path-action,
.path-card-dark .path-action {
  align-self: stretch;
  margin-top: 11px;
  padding-top: 10px;
  color: var(--gold-pale);
  border-color: rgba(218, 151, 31, 0.46);
  font-size: 9px;
}

.cover-facts {
  justify-content: center;
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: rgba(247, 240, 223, 0.47);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-facts svg {
  width: 15px;
  stroke-width: 1.1;
}

.form-view {
  position: relative;
  display: block;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.context-panel {
  display: none !important;
}

.question-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 133px);
  overflow: hidden;
  background: var(--navy);
}

.form-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.24;
  filter: none;
  pointer-events: none;
}

.form-dna path,
.form-network path {
  stroke: var(--gold-bright);
  stroke-width: 0.58;
  vector-effect: non-scaling-stroke;
}

.form-network circle {
  fill: var(--gold-bright);
}

.question-wrap {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  width: min(900px, calc(100% - 140px));
  margin: 0 auto;
  padding: 78px 0 120px;
}

.step-head {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.step-head::after {
  content: "◇";
  display: block;
  width: min(290px, 50vw);
  height: 18px;
  margin: 28px auto 0;
  color: var(--gold-bright);
  background: linear-gradient(
    to bottom,
    transparent calc(50% - 0.5px),
    rgba(218, 151, 31, 0.64) calc(50% - 0.5px),
    rgba(218, 151, 31, 0.64) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
  font-family: var(--sans);
  font-size: 14px;
  line-height: 18px;
}

.step-badge {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-bright);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-shadow: none;
}

.step-badge::before {
  display: none;
}

.step-title {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(49px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-shadow: none;
  text-transform: uppercase;
}

.step-title span,
.step-title em {
  display: block;
}

.step-title em {
  margin-top: 7px;
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 400;
}

.step-subtitle {
  max-width: 690px;
  margin: 20px auto 0;
  color: rgba(247, 240, 223, 0.56);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.fields-stack,
.consent-list,
#step-content > .review-card {
  width: min(760px, 100%);
  margin-inline: auto;
}

.fields-stack {
  gap: 28px;
}

.field-label,
.field legend,
.slider-top label {
  margin-bottom: 11px;
  color: var(--gold-pale);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.text-input,
.text-area,
.select-input {
  color: var(--ink);
  background: rgba(1, 7, 19, 0.22);
  border: 1px solid rgba(218, 151, 31, 0.42);
  border-radius: 0;
  box-shadow: none;
}

.text-input,
.select-input {
  min-height: 58px;
}

.text-area {
  min-height: 144px;
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  color: var(--ink);
  background: rgba(1, 7, 19, 0.34);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(228, 170, 54, 0.18);
}

.field-help,
.number-unit {
  color: rgba(247, 240, 223, 0.38);
  font-size: 9px;
}

.choice-grid {
  gap: 12px;
}

.choice-option label {
  min-height: 62px;
  color: rgba(247, 240, 223, 0.72);
  background: rgba(1, 7, 19, 0.16);
  border: 1px solid rgba(218, 151, 31, 0.36);
  border-radius: 0;
  box-shadow: none;
}

.choice-option label:hover {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.035);
  border-color: var(--gold-bright);
  box-shadow: none;
  transform: none;
}

.choice-option input:checked + label {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.07);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(228, 170, 54, 0.19);
}

.choice-key {
  color: var(--gold-bright);
  border-color: rgba(218, 151, 31, 0.62);
  border-radius: 50%;
}

.choice-option input:checked + label .choice-key {
  color: var(--gold-bright);
  background: transparent;
  border-color: var(--gold-bright);
}

.slider-field {
  padding: 18px 20px;
  background: rgba(1, 7, 19, 0.16);
  border: 1px solid rgba(218, 151, 31, 0.36);
  border-radius: 0;
  box-shadow: none;
}

.slider-value {
  width: 42px;
  height: 42px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: none;
}

.range-input {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright) var(--range-progress, 50%), rgba(218, 151, 31, 0.22) var(--range-progress, 50%));
}

.range-input::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  background: var(--navy);
  border: 2px solid var(--gold-bright);
  box-shadow: none;
}

.upload-zone {
  min-height: 190px;
  color: var(--ink);
  background: rgba(1, 7, 19, 0.14);
  border: 1px solid rgba(218, 151, 31, 0.42);
  border-radius: 0;
}

.upload-zone:hover,
.upload-zone.dragging {
  background: rgba(218, 151, 31, 0.04);
  border-color: var(--gold-bright);
  transform: none;
}

.upload-icon {
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.consent-list {
  gap: 14px;
}

.consent-row label {
  color: rgba(247, 240, 223, 0.7);
  background: rgba(1, 7, 19, 0.14);
  border: 1px solid rgba(218, 151, 31, 0.34);
  border-radius: 0;
}

.consent-row input:checked + label {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.055);
  border-color: var(--gold-bright);
}

.consent-box {
  border-color: rgba(218, 151, 31, 0.68);
  border-radius: 0;
}

.consent-row input:checked + label .consent-box {
  color: var(--gold-bright);
  background: transparent;
  border-color: var(--gold-bright);
}

.review-card {
  padding: 24px 28px;
  color: var(--ink);
  background: rgba(1, 7, 19, 0.12);
  border: 1px solid rgba(218, 151, 31, 0.4);
  border-radius: 0;
  box-shadow: none;
}

.review-card + .review-card {
  margin-top: 15px;
}

.review-card h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.review-step,
.contract-checks span {
  color: var(--ink-soft);
  background: transparent;
  border-color: rgba(218, 151, 31, 0.32);
  border-radius: 0;
}

.review-step:hover,
.review-step:focus-visible {
  color: var(--ink);
  background: rgba(218, 151, 31, 0.04);
  border-color: var(--gold-bright);
  box-shadow: none;
  transform: none;
}

.form-controls {
  min-height: 84px;
  background: #050f24;
  border-top: 1px solid rgba(218, 151, 31, 0.46);
  box-shadow: none;
  backdrop-filter: none;
}

.control-next {
  min-width: 178px;
  color: var(--gold-pale);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}

.control-next:hover,
.control-next:focus-visible {
  color: var(--navy);
  background: var(--gold-bright);
  outline: 0;
  box-shadow: none;
  transform: none;
}

.control-back,
.text-button {
  color: rgba(247, 240, 223, 0.52);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

kbd {
  color: var(--gold-pale);
  background: transparent;
  border-color: rgba(218, 151, 31, 0.42);
  border-radius: 0;
}

.success-view {
  min-height: calc(100vh - 133px);
  color: var(--ink);
  background: var(--navy);
}

.success-view::before,
.success-view::after {
  border-width: 1px;
  border-color: rgba(218, 151, 31, 0.24);
  box-shadow: none;
}

.success-emblem {
  width: 82px;
  height: 82px;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
}

.success-view h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.success-view h1 em {
  display: block;
  margin-top: 7px;
  color: var(--gold-bright);
  font-style: normal;
}

.success-details {
  border-color: rgba(218, 151, 31, 0.5);
}

.success-details div + div {
  border-color: rgba(218, 151, 31, 0.5);
}

.toast {
  color: var(--ink);
  background: var(--navy-2);
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1120px) {
  .landing-content {
    padding-inline: 120px;
  }

  .landing-content h1 {
    font-size: clamp(66px, 8vw, 92px);
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
  }

  .topbar {
    grid-template-columns: 1fr auto 1fr;
    min-height: 74px;
    padding: 12px 18px;
    background: #050f24;
  }

  .brand {
    grid-column: 2;
  }

  .brand-wordmark {
    gap: 8px;
  }

  .brand-wordmark b {
    font-size: 23px;
  }

  .brand-chevrons {
    width: 38px;
    height: 23px;
  }

  .save-state {
    grid-column: 3;
    font-size: 0;
  }

  .mode-form .topbar,
  .mode-success .topbar {
    grid-template-columns: 1fr 1fr;
  }

  .mode-form .brand,
  .mode-success .brand {
    grid-column: 1;
  }

  .mode-form .save-state,
  .mode-success .save-state {
    grid-column: 2;
  }

  .mode-form .topbar-center {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .landing-view,
  .form-view,
  .question-panel {
    min-height: calc(100vh - 74px);
  }

  .landing-art {
    position: absolute;
    inset: 0;
    display: block;
  }

  .dna-mark {
    left: -78px;
    width: 220px;
    opacity: 0.32;
  }

  .constellation-mark {
    top: -22px;
    right: -170px;
    width: 390px;
    opacity: 0.2;
  }

  .landing-content {
    min-height: calc(100vh - 74px);
    padding: 56px 48px 42px;
    background: none;
  }

  .landing-content h1 {
    font-size: clamp(58px, 11vw, 78px);
  }

  .landing-lead {
    font-size: 10px;
  }

  .question-panel {
    background: var(--navy);
  }

  .question-wrap {
    width: min(760px, calc(100% - 64px));
    padding: 58px 0 120px;
  }

  .step-title {
    font-size: clamp(43px, 8vw, 58px);
  }

  .form-atmosphere {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    opacity: 0.18;
  }

  .form-controls {
    background: #050f24;
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 68px;
    padding: 11px 16px;
  }

  .brand,
  .mode-form .brand,
  .mode-success .brand {
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .brand-wordmark b,
  .mode-form .brand-wordmark b,
  .mode-success .brand-wordmark b {
    font-size: 20px;
  }

  .brand-chevrons,
  .mode-form .brand-chevrons,
  .mode-success .brand-chevrons {
    width: 34px;
    height: 21px;
  }

  .landing-content {
    justify-content: flex-start;
    min-height: calc(100vh - 68px);
    padding: 48px 22px 36px;
  }

  .cover-separator {
    width: min(300px, 76vw);
  }

  .eyebrow {
    margin-bottom: 30px;
    font-size: 8px;
    letter-spacing: 0.23em;
  }

  .landing-content h1 {
    font-size: clamp(49px, 15vw, 64px);
    line-height: 0.82;
  }

  .landing-content h1 em {
    margin-top: 20px;
  }

  .cover-separator-rays {
    margin-top: 17px;
  }

  .landing-lead {
    margin-bottom: 28px;
    font-size: 9px;
    line-height: 1.7;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-card,
  .path-card-dark {
    min-height: 292px;
    padding: 25px 25px 20px;
  }

  .path-card:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(218, 151, 31, 0.58);
  }

  .path-card strong {
    font-size: 22px;
  }

  .cover-facts {
    gap: 12px 20px;
  }

  .question-wrap {
    width: calc(100% - 40px);
    padding: 46px 0 116px;
  }

  .step-head {
    margin-bottom: 36px;
  }

  .step-title {
    font-size: clamp(36px, 11.2vw, 48px);
  }

  .step-subtitle {
    font-size: 10px;
  }

  .choice-grid,
  .choice-grid.choice-grid-three,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 20px;
  }

  .form-controls {
    min-height: 74px;
  }

  .control-next {
    width: min(230px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Career DNA Dark Edition, poprawka klienta 20.07 */

:root {
  --ink: #f8f0dc;
  --ink-soft: #e4dac3;
  --navy: #07152f;
  --navy-2: #0b2144;
  --navy-3: #12345e;
  --gold: #d6a13a;
  --gold-bright: #f0c96f;
  --gold-pale: #f6e6bd;
  --cream: #081731;
  --paper: #0a1a38;
  --line: rgba(221, 174, 77, 0.25);
  --muted: #b1aa9a;
  --error: #ff8d7f;
  --success: #83d0ad;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
}

html {
  background: #020817;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 161, 58, 0.13), transparent 25rem),
    radial-gradient(circle at 90% 84%, rgba(36, 83, 139, 0.25), transparent 33rem),
    linear-gradient(145deg, #020817 0%, #06132d 48%, #020918 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 14% 19%, rgba(240, 201, 111, 0.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 31%, rgba(240, 201, 111, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 55% 78%, rgba(240, 201, 111, 0.35) 0 1px, transparent 1.5px);
  background-size: 160px 160px, 220px 220px, 270px 270px;
  pointer-events: none;
}

::selection {
  color: #07152f;
  background: var(--gold-bright);
}

* {
  scrollbar-color: rgba(214, 161, 58, 0.5) rgba(4, 13, 31, 0.7);
}

.app-shell {
  background:
    linear-gradient(rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.012)),
    #07152f;
  border-color: rgba(224, 177, 79, 0.42);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
}

.topbar {
  background: rgba(3, 12, 30, 0.94);
  border-bottom-color: rgba(224, 177, 79, 0.27);
  box-shadow: 0 11px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  width: 188px;
  min-height: 44px;
  padding: 5px 11px;
  background: linear-gradient(135deg, #fff 0%, #fbf7eb 100%);
  border: 1px solid rgba(240, 201, 111, 0.72);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), inset 0 0 16px rgba(214, 161, 58, 0.06);
}

.brand img {
  width: 100%;
  height: 31px;
  object-position: center;
  mix-blend-mode: normal;
  transform: scale(1.35);
}

.progress-meta {
  color: var(--gold-pale);
}

.progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.42);
}

.progress-track span {
  background: linear-gradient(90deg, #b77918, var(--gold-bright), #d59d31);
  box-shadow: 0 0 18px rgba(240, 201, 111, 0.45);
}

.save-state {
  color: rgba(248, 240, 220, 0.72);
}

.save-dot {
  background: #6bd1a4;
  border-color: rgba(107, 209, 164, 0.25);
  box-shadow: 0 0 0 4px rgba(107, 209, 164, 0.08), 0 0 15px rgba(107, 209, 164, 0.3);
}

.landing-view {
  position: relative;
  background: #06142e;
}

.landing-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(240, 201, 111, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 201, 111, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(100deg, transparent 28%, #000 62%, transparent 100%);
  pointer-events: none;
}

.landing-art {
  z-index: 1;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 45%, rgba(240, 201, 111, 0.14), transparent 20rem),
    radial-gradient(circle at 0% 100%, rgba(29, 78, 132, 0.3), transparent 28rem),
    linear-gradient(155deg, #020b1c 0%, #071832 56%, #0d2a52 100%);
  border-right: 1px solid rgba(224, 177, 79, 0.26);
}

.landing-art::before,
.context-panel::before {
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(240, 201, 111, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 201, 111, 0.11) 1px, transparent 1px);
}

.dna-mark {
  width: min(63%, 335px);
  max-height: 78%;
  opacity: 0.94;
  filter: drop-shadow(0 0 18px rgba(235, 183, 74, 0.2)) drop-shadow(0 30px 65px rgba(0, 0, 0, 0.42));
}

.dna-mark > path {
  stroke: var(--gold-bright);
  stroke-width: 2;
}

.dna-rungs path {
  stroke: rgba(246, 230, 189, 0.82);
}

.dna-orbit {
  border-color: rgba(240, 201, 111, 0.3);
  box-shadow: 0 0 60px rgba(214, 161, 58, 0.03);
}

.art-caption {
  color: rgba(248, 240, 220, 0.66);
}

.landing-content {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 17%, rgba(214, 161, 58, 0.13), transparent 21rem),
    radial-gradient(circle at 10% 94%, rgba(31, 78, 131, 0.22), transparent 25rem),
    linear-gradient(135deg, #0a1c3b 0%, #07152f 56%, #06132c 100%);
}

.landing-content > :not(.constellation-mark) {
  position: relative;
  z-index: 2;
}

.constellation-mark {
  position: absolute;
  top: -48px;
  right: -82px;
  z-index: 0;
  width: min(54%, 560px);
  opacity: 0.34;
  filter: drop-shadow(0 0 18px rgba(240, 201, 111, 0.15));
  pointer-events: none;
}

.constellation-lines path {
  stroke: var(--gold-bright);
  stroke-width: 1.1;
}

.constellation-nodes circle {
  fill: var(--gold-bright);
}

.eyebrow,
.path-kicker {
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(240, 201, 111, 0.18);
}

.landing-content h1,
.success-view h1 {
  color: var(--ink);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.landing-content h1 em,
.success-view h1 em {
  color: var(--gold-bright);
}

.landing-lead {
  color: rgba(248, 240, 220, 0.75);
}

.path-grid {
  gap: 18px;
}

.path-card,
.path-card-dark {
  min-height: 382px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(5, 18, 42, 0.88);
  border: 1px solid rgba(226, 181, 85, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 20px 44px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(8px);
}

.path-card-dark {
  background:
    radial-gradient(circle at 86% 8%, rgba(214, 161, 58, 0.13), transparent 10rem),
    linear-gradient(155deg, rgba(14, 45, 82, 0.95), rgba(3, 14, 34, 0.96));
  border-color: rgba(240, 201, 111, 0.58);
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(125deg, transparent 10%, rgba(240, 201, 111, 0.09) 48%, transparent 80%);
  transform: translateX(-60%);
  transition: opacity 260ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.path-card:hover::before,
.path-card:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.path-card:hover,
.path-card:focus-visible {
  border-color: var(--gold-bright);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(240, 201, 111, 0.12);
}

.path-card::after {
  border-color: rgba(240, 201, 111, 0.27);
  box-shadow: 0 0 0 26px rgba(240, 201, 111, 0.025), 0 0 0 58px rgba(240, 201, 111, 0.018);
}

.path-number,
.path-card-dark .path-number {
  color: rgba(240, 201, 111, 0.54);
}

.path-icon,
.path-card-dark .path-icon {
  color: var(--gold-bright);
  background: rgba(240, 201, 111, 0.08);
  border-color: rgba(240, 201, 111, 0.45);
  box-shadow: inset 0 0 20px rgba(240, 201, 111, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.path-card strong {
  color: var(--ink);
  font-size: clamp(22px, 1.7vw, 28px);
}

.path-copy,
.path-card-dark .path-copy {
  color: rgba(248, 240, 220, 0.68);
}

.path-meta,
.path-card-dark .path-meta {
  color: rgba(248, 240, 220, 0.58);
}

.path-action,
.path-card-dark .path-action {
  color: var(--gold-pale);
  border-color: rgba(240, 201, 111, 0.24);
}

.path-action b {
  color: var(--gold-bright);
}

.trust-row {
  color: rgba(248, 240, 220, 0.62);
}

.trust-row svg {
  stroke: var(--gold-bright);
}

.form-view {
  background: #06142d;
}

.context-panel {
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 78%, rgba(214, 161, 58, 0.18), transparent 20rem),
    radial-gradient(circle at 90% 10%, rgba(29, 76, 132, 0.25), transparent 23rem),
    linear-gradient(155deg, #020b1d, #071832 58%, #0c2950);
  border-right: 1px solid rgba(224, 177, 79, 0.24);
}

.context-panel::after {
  border-color: rgba(240, 201, 111, 0.28);
  box-shadow: 0 0 0 40px rgba(240, 201, 111, 0.025), 0 0 0 90px rgba(240, 201, 111, 0.014);
}

.context-index,
.context-kicker {
  color: var(--gold-bright);
}

.context-copy h2 {
  color: var(--ink);
}

.context-copy > p:last-child,
.context-panel blockquote {
  color: rgba(248, 240, 220, 0.69);
}

.context-panel blockquote {
  border-left-color: var(--gold-bright);
}

.context-signature {
  color: rgba(248, 240, 220, 0.28);
}

.question-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 12%, rgba(214, 161, 58, 0.11), transparent 24rem),
    radial-gradient(circle at 6% 92%, rgba(27, 75, 130, 0.2), transparent 28rem),
    linear-gradient(rgba(240, 201, 111, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 201, 111, 0.035) 1px, transparent 1px),
    #081a37;
  background-size: auto, auto, 58px 58px, 58px 58px, auto;
}

.form-atmosphere {
  position: absolute;
  right: -155px;
  bottom: -170px;
  z-index: -1;
  width: min(88%, 880px);
  opacity: 0.15;
  filter: drop-shadow(0 0 18px rgba(240, 201, 111, 0.12));
  pointer-events: none;
}

.form-dna path,
.form-network path {
  stroke: var(--gold-bright);
  stroke-width: 1.35;
}

.form-network circle {
  fill: var(--gold-bright);
}

.question-wrap {
  position: relative;
  z-index: 2;
}

.step-badge {
  color: var(--gold-bright);
}

.step-badge::before {
  background: var(--gold-bright);
  box-shadow: 0 0 11px rgba(240, 201, 111, 0.4);
}

.step-title {
  color: var(--ink);
}

.step-subtitle {
  color: rgba(248, 240, 220, 0.66);
}

.field-label,
.field legend,
.slider-top label {
  color: var(--gold-pale);
}

.required-mark {
  color: var(--gold-bright);
}

.field-help {
  color: rgba(248, 240, 220, 0.48);
}

.text-input,
.text-area,
.select-input {
  color: var(--ink);
  caret-color: var(--gold-bright);
  background: rgba(1, 9, 24, 0.55);
  border-color: rgba(240, 201, 111, 0.26);
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.18);
}

.text-input::placeholder,
.text-area::placeholder {
  color: rgba(248, 240, 220, 0.33);
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  color: #fff9ea;
  background: rgba(2, 12, 31, 0.82);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(214, 161, 58, 0.13), 0 11px 30px rgba(0, 0, 0, 0.18);
}

.select-input option {
  color: var(--ink);
  background: #081a37;
}

.number-unit {
  color: rgba(248, 240, 220, 0.52);
}

.choice-option label {
  color: rgba(248, 240, 220, 0.77);
  background: rgba(2, 12, 31, 0.55);
  border-color: rgba(240, 201, 111, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.choice-option label:hover {
  color: var(--ink);
  background: rgba(15, 43, 79, 0.94);
  border-color: rgba(240, 201, 111, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.choice-option input:checked + label {
  color: #06132a;
  background: linear-gradient(135deg, #f3d889 0%, #d7a33e 72%, #b97919 100%);
  border-color: var(--gold-bright);
  box-shadow: inset 3px 0 0 #fff0b8, 0 10px 26px rgba(0, 0, 0, 0.28), 0 0 22px rgba(214, 161, 58, 0.11);
}

.choice-key {
  color: var(--gold-pale);
  border-color: rgba(240, 201, 111, 0.42);
}

.choice-option input:checked + label .choice-key {
  color: var(--gold-pale);
  background: #07152f;
  border-color: #07152f;
}

.slider-field {
  background: rgba(2, 12, 31, 0.54);
  border-color: rgba(240, 201, 111, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.slider-value {
  color: #07152f;
  background: linear-gradient(135deg, var(--gold-bright), #c68721);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.range-input {
  background: linear-gradient(90deg, var(--gold-bright) var(--range-progress, 50%), rgba(255, 255, 255, 0.14) var(--range-progress, 50%));
}

.range-input::-webkit-slider-thumb {
  background: #07152f;
  border-color: var(--gold-bright);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(240, 201, 111, 0.08);
}

.range-input::-moz-range-thumb {
  background: #07152f;
  border-color: var(--gold-bright);
}

.slider-scale {
  color: rgba(248, 240, 220, 0.46);
}

.upload-zone {
  color: var(--ink);
  background: rgba(2, 12, 31, 0.48);
  border: 1px dashed rgba(240, 201, 111, 0.47);
}

.upload-zone:hover,
.upload-zone.dragging {
  background: rgba(16, 48, 88, 0.78);
  border-color: var(--gold-bright);
}

.upload-icon {
  color: var(--gold-bright);
  background: rgba(240, 201, 111, 0.08);
  border-color: rgba(240, 201, 111, 0.42);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.25);
}

.upload-zone small {
  color: rgba(248, 240, 220, 0.52);
}

.file-chip {
  color: var(--ink-soft);
  background: rgba(2, 12, 31, 0.62);
  border-color: rgba(240, 201, 111, 0.25);
}

.consent-row label {
  color: rgba(248, 240, 220, 0.72);
  background: rgba(2, 12, 31, 0.53);
  border-color: rgba(240, 201, 111, 0.23);
}

.consent-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 201, 111, 0.42);
}

.consent-row input:checked + label {
  color: var(--ink);
  background: rgba(214, 161, 58, 0.11);
  border-color: var(--gold-bright);
}

.consent-row input:checked + label .consent-box {
  color: #07152f;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.review-card {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(2, 12, 31, 0.58);
  border-color: rgba(240, 201, 111, 0.27);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 14px 34px rgba(0, 0, 0, 0.12);
}

.review-card h3,
.review-answer,
.review-item strong {
  color: var(--ink);
}

.review-item span {
  color: rgba(248, 240, 220, 0.5);
}

.contract-checks span,
.review-step {
  color: var(--ink-soft);
  background: rgba(6, 27, 57, 0.82);
  border-color: rgba(240, 201, 111, 0.22);
}

.contract-checks .is-ok,
.review-step i {
  color: var(--success);
}

.review-step:hover,
.review-step:focus-visible {
  color: var(--ink);
  background: rgba(17, 51, 91, 0.92);
  border-color: var(--gold-bright);
}

.form-controls {
  background: rgba(2, 10, 25, 0.94);
  border-top-color: rgba(240, 201, 111, 0.25);
  box-shadow: 0 -13px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.control-back,
.text-button {
  color: rgba(248, 240, 220, 0.62);
}

.control-back:hover,
.control-back:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  color: var(--gold-bright);
}

.keyboard-hint {
  color: rgba(248, 240, 220, 0.42);
}

kbd {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(240, 201, 111, 0.32);
}

.control-next {
  color: #07152f;
  background: linear-gradient(135deg, #f2d681 0%, #d9a63e 64%, #bb7c1a 100%);
  border-color: var(--gold-bright);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(214, 161, 58, 0.12);
}

.control-next:hover,
.control-next:focus-visible {
  color: #020a19;
  background: linear-gradient(135deg, #fff0b8, #e6b755 65%, #c68a24);
  outline-color: #fff0b8;
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.4), 0 0 28px rgba(240, 201, 111, 0.19);
}

.success-view {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 44%, rgba(214, 161, 58, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 90%, rgba(30, 82, 139, 0.25), transparent 28rem),
    linear-gradient(145deg, #06142e, #081a37 52%, #041027);
}

.success-view::before,
.success-view::after {
  border-color: rgba(240, 201, 111, 0.24);
  box-shadow: 0 0 0 34px rgba(240, 201, 111, 0.018), 0 0 0 76px rgba(240, 201, 111, 0.012);
}

.success-emblem {
  color: var(--gold-bright);
  background: rgba(240, 201, 111, 0.08);
  border-color: rgba(240, 201, 111, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 36px rgba(214, 161, 58, 0.12);
}

.success-view > p:not(.eyebrow, .demo-note),
.demo-note {
  color: rgba(248, 240, 220, 0.62) !important;
}

.success-details {
  border-color: rgba(240, 201, 111, 0.28);
}

.success-details div + div {
  border-color: rgba(240, 201, 111, 0.28);
}

.success-details span {
  color: var(--gold-bright);
}

.success-details strong {
  color: var(--ink);
}

.toast {
  color: var(--ink);
  background: #0b2345;
  border-color: rgba(240, 201, 111, 0.58);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.52);
}

@media (max-width: 860px) {
  .topbar {
    background: rgba(3, 12, 30, 0.97);
  }

  .landing-content {
    background:
      radial-gradient(circle at 93% 4%, rgba(214, 161, 58, 0.13), transparent 18rem),
      linear-gradient(145deg, #0a1c3b, #06142d 62%, #081a36);
  }

  .constellation-mark {
    top: 8px;
    right: -132px;
    width: 420px;
    opacity: 0.2;
  }

  .question-panel {
    background:
      radial-gradient(circle at 100% 5%, rgba(214, 161, 58, 0.1), transparent 17rem),
      linear-gradient(rgba(240, 201, 111, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(240, 201, 111, 0.035) 1px, transparent 1px),
      #081a37;
    background-size: auto, 42px 42px, 42px 42px, auto;
  }

  .form-atmosphere {
    right: -280px;
    bottom: -110px;
    width: 830px;
    opacity: 0.09;
  }

  .form-controls {
    background: rgba(2, 10, 25, 0.96);
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.36);
  }
}

@media (max-width: 620px) {
  .brand {
    width: 124px;
    min-height: 38px;
    padding: 3px 7px;
  }

  .brand img {
    height: 28px;
  }

  .path-card,
  .path-card-dark {
    min-height: 360px;
  }

  .landing-content h1 {
    text-shadow: 0 7px 24px rgba(0, 0, 0, 0.26);
  }
}
