:root {
  --ink: #000000;
  --muted: #5c5c66;
  --line: #dedeee;
  --paper: #ffffff;
  --panel: #ffffff;
  --sage: #f4f4fb;
  --mint: #f0f0ff;
  --coral: #fcaca9;
  --yellow: #fcaca9;
  --blue: #3d3bff;
  --violet: #3d3bff;
  --green: #3d3bff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.result-diagnostic-hero {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 86% 8%, rgba(184, 255, 44, 0.14), transparent 30%),
    linear-gradient(145deg, #101115 0%, #050506 68%);
  color: #ffffff;
  padding: 24px;
  display: grid;
  gap: 22px;
  overflow: hidden;
  position: relative;
}

.diagnostic-head {
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.diagnostic-head > p {
  display: inline-flex;
  align-items: center;
  margin: 0;
  width: fit-content;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.diagnostic-head h1 {
  margin: 0;
  color: #b8ff2c;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.state-summary-frame {
  margin-top: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.state-explain {
  display: grid;
  gap: 6px;
}

.state-support {
  margin: 0;
  max-width: 920px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.28;
  font-weight: 800;
}

.state-explain strong,
.state-explain span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.28;
}

.state-explain strong {
  color: #ffffff;
}

.result-hero-visual {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 2;
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: center;
  border-radius: 24px;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.02);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.answer-evidence {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.answer-evidence div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.answer-evidence span {
  font-size: 24px;
}

.answer-evidence small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.answer-evidence strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.state-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-tags span {
  border-radius: 999px;
  background: #b8ff2c;
  color: #050506;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.diagnostic-layout {
  display: grid;
  gap: 14px;
}

.diagnostic-panel,
.signal-card,
.result-meaning-card,
.meaning-points div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.diagnostic-panel {
  border-radius: 24px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(184, 255, 44, 0.14);
  display: grid;
  place-items: center;
}

.panel-title strong {
  font-size: 20px;
  line-height: 1.12;
}

.diagnostic-panel .state-indicators {
  grid-template-columns: 1fr;
  gap: 14px;
}

.diagnostic-panel .state-indicator {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  gap: 8px;
}

.diagnostic-panel .state-indicator .state-indicator-row {
  height: auto;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.state-indicator-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.state-indicator-row span,
.diagnostic-panel .state-indicator small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.state-indicator-row span {
  color: #050506;
  font-size: clamp(42px, 5.3vw, 64px);
  font-weight: 900;
}

.diagnostic-panel .state-indicator small {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.25;
  font-weight: 700;
}

.state-indicator-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.state-indicator-row strong {
  color: #ffffff;
  flex: 0 0 auto;
  min-width: 78px;
  text-align: right;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.diagnostic-panel .state-bar {
  height: 10px;
  border-radius: 999px;
  background: #272932;
  overflow: hidden;
}

.diagnostic-panel .state-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5964, #ffb020);
}

.diagnostic-panel .state-indicator.warning .state-bar i {
  background: linear-gradient(90deg, #ff8a3d, #ffd166);
}

.diagnostic-panel .state-indicator.stable .state-bar i {
  background: linear-gradient(90deg, #b8ff2c, #62f6aa);
}

.diagnostic-signals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.signal-card {
  min-height: 128px;
  border-radius: 22px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.signal-card span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.signal-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.signal-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.28;
}

.signal-card.accent {
  border-color: rgba(184, 255, 44, 0.48);
  background: rgba(184, 255, 44, 0.1);
}

.signal-card.accent strong {
  color: #b8ff2c;
}

.diagnostic-summary {
  border-radius: 24px;
  background: rgba(184, 255, 44, 0.08);
  border: 1px solid rgba(184, 255, 44, 0.28);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.summary-step {
  display: grid;
  gap: 4px;
}

.summary-step span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-step strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
}

.diagnostic-summary i {
  display: none;
}

.result-meaning-card {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 255, 44, 0.12), transparent 30%),
    #050506;
}

.result-meaning-card > div:first-child {
  display: grid;
  gap: 12px;
}

.meaning-points {
  display: grid;
  gap: 10px;
}

.meaning-points div {
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
}

.meaning-points span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(184, 255, 44, 0.16);
  color: #b8ff2c;
  font-weight: 900;
}

.meaning-points strong {
  font-size: 15px;
  line-height: 1.15;
}

.meaning-points .accent {
  background: #b8ff2c;
  color: #050506;
}

.meaning-points .accent span {
  background: #050506;
  color: #b8ff2c;
}

.result-section-title {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.05;
}

@media (min-width: 720px) {
  .result-diagnostic-hero {
    padding: 38px;
  }

  .diagnostic-layout {
    grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
    align-items: stretch;
    gap: 18px;
  }

  .diagnostic-signals {
    grid-template-columns: 1fr 1fr;
  }

  .diagnostic-summary {
    grid-template-columns: 1fr 24px 1fr 24px 1fr;
    align-items: center;
  }

  .diagnostic-summary i {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: rgba(184, 255, 44, 0.68);
  }

  .result-meaning-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    "Graphik LC TT",
    "Graphik",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(61, 59, 255, 0.08) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 18% 10%, rgba(252, 172, 169, 0.42), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(61, 59, 255, 0.26), transparent 30%),
    #f5f5fb;
}

button,
input,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.phone {
  position: relative;
  width: min(100%, 440px);
  height: min(860px, calc(100vh - 36px));
  background:
    linear-gradient(180deg, rgba(61, 59, 255, 0.04), transparent 210px),
    var(--paper);
  border: 2px solid #000000;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 18px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.brand-logo {
  width: 82px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.brand-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.phone.result-mode {
  width: min(100%, 1260px);
  height: calc(100vh - 36px);
  background:
    radial-gradient(circle at 78% 16%, rgba(61, 59, 255, 0.38), transparent 30%),
    radial-gradient(circle at 22% 66%, rgba(252, 172, 169, 0.22), transparent 28%),
    #000000;
  border-color: rgba(255, 255, 255, 0.08);
}

.phone.result-mode {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}

.phone.result-mode .brand-line {
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 90;
  justify-content: space-between;
  gap: 16px;
}

.result-header-cta {
  border: 1px solid rgba(48, 54, 201, 0.32);
  border-radius: 12px;
  background: #eef1ff;
  box-shadow:
    0 8px 18px rgba(61, 59, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  color: #3036c9;
  cursor: pointer;
  font: 900 14px/1.1 inherit;
  padding: 11px 16px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.result-header-cta:not(:disabled):hover {
  transform: translateY(-1px);
  background: #e3e7ff;
  border-color: rgba(48, 54, 201, 0.48);
  box-shadow:
    0 12px 24px rgba(61, 59, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.result-header-cta:disabled {
  cursor: default;
  opacity: 0.86;
}

.result-header-cta.success {
  background: #e9f8ee;
  box-shadow: none;
  color: #16743a;
  max-width: 360px;
  white-space: normal;
  text-align: center;
}

@media (max-width: 767px) {
  .result-header-cta {
    display: none;
  }
}

.phone.result-mode .topbar {
  color: white;
}

.phone.result-mode .icon-button {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: white;
}

.phone.result-mode #backButton {
  display: none;
}

.phone.result-mode .progress-track {
  background: rgba(255, 255, 255, 0.16);
}

.phone.result-mode .progress-meta {
  color: rgba(255, 255, 255, 0.72);
}

.phone.result-mode .screen {
  padding: 22px;
  min-height: auto;
  overflow: visible;
}

.phone.intro-mode .topbar {
  display: none;
}

.phone.intro-mode .icon-button,
.phone.intro-mode #stepLabel,
.phone.intro-mode #timeLabel,
.phone.intro-mode .progress-track {
  display: none;
}

.phone.intro-mode .progress-meta {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.phone.intro-mode .screen {
  padding: 12px 18px 16px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.phone.intro-mode {
  height: min(920px, calc(100dvh - 36px));
  min-height: min(640px, calc(100dvh - 36px));
}

.fixed-bottom-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
  pointer-events: auto;
}

.fixed-bottom-cta .primary {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  margin: 0;
  transform: none;
}

.content.fixed-cta-content {
  padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

.fixed-bottom-cta .quick-actions {
  width: 100%;
}

.topbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: var(--panel);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.icon-button span {
  font-size: 32px;
  line-height: 1;
  transform: translateY(-2px);
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.icon-button:not(:disabled):active {
  transform: scale(0.96);
}

.progress-wrap {
  width: 100%;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #ececff;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.progress-fill {
  height: 100%;
  width: 4%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  transition: width 0.35s ease;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: rise 0.28s ease both;
}

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

.eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 9vw, 46px);
}

h2 {
  font-size: clamp(27px, 7vw, 36px);
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

mark {
  border-radius: 8px;
  background: rgba(61, 59, 255, 0.1);
  color: inherit;
  padding: 1px 5px;
  font-weight: 900;
}

.reflection-quote {
  margin: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  border-radius: 16px;
  background: rgba(61, 59, 255, 0.06);
  color: #30313a;
  padding: 15px 16px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.reflection-quote span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(61, 59, 255, 0.1);
  font-size: 15px;
}

.reflection-quote em {
  font-style: italic;
}

.intro-steps {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.intro-content {
  gap: 14px;
  flex: 0 0 auto;
  padding-bottom: 124px;
}

.intro-content .eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.1;
}

.intro-content h1 {
  max-width: 100%;
  font-size: clamp(23px, 5.1vw, 28px);
  line-height: 1.06;
}

.intro-content p {
  font-size: 13px;
  line-height: 1.26;
}

.intro-content .primary {
  margin-top: auto;
  bottom: auto;
  z-index: auto;
  min-height: 52px;
  padding: 14px 18px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(61, 59, 255, 0.28);
  border: 2px solid #000000;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: introCtaPulse 3.2s ease-in-out infinite;
}

.intro-content .primary::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -45%;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: introCtaShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.intro-content .primary:not(:disabled):active {
  transform: scale(0.985);
  box-shadow: 0 4px 12px rgba(61, 59, 255, 0.26);
}

.intro-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 0;
  padding: 10px 20px calc(13px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.intro-cta-stack .primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0;
  width: 100%;
  min-height: 46px;
  border-radius: 15px;
  font-size: clamp(16px, 3.8vw, 20px);
  font-weight: 900;
  box-shadow: 0 9px 24px rgba(61, 59, 255, 0.2);
  animation: introCtaPulse 3.2s ease-in-out infinite;
}

.intro-cta-stack .primary::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -45%;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: introCtaShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.intro-cta-stack .primary:not(:disabled):active {
  transform: scale(0.985);
  box-shadow: 0 6px 18px rgba(61, 59, 255, 0.18);
}

.intro-burnout-note {
  border-left: 4px solid var(--coral);
  border-radius: 14px;
  background: #fff0ef;
  color: var(--muted);
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.intro-step {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
  border-radius: 10px;
  background: transparent;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(6px);
  animation: checkStep 0.42s ease forwards;
}

.intro-step span {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--coral);
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  transform: scale(0.72);
  animation: checkPop 0.38s ease forwards;
}

.intro-step span::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid rgba(252, 172, 169, 0.7);
  opacity: 0;
  transform: scale(0.7);
  animation: checkHalo 0.56s ease forwards;
}

.intro-step strong {
  font-size: 12px;
  line-height: 1.25;
}

.intro-step:nth-child(1) {
  animation-delay: 0.08s;
}

.intro-step:nth-child(1) span {
  animation-delay: 0.16s;
}

.intro-step:nth-child(1) span::after {
  animation-delay: 0.16s;
}

.intro-step:nth-child(2) {
  animation-delay: 0.2s;
}

.intro-step:nth-child(2) span {
  animation-delay: 0.28s;
}

.intro-step:nth-child(2) span::after {
  animation-delay: 0.28s;
}

.intro-step:nth-child(3) {
  animation-delay: 0.32s;
}

.intro-step:nth-child(3) span {
  animation-delay: 0.4s;
}

.intro-step:nth-child(3) span::after {
  animation-delay: 0.4s;
}

.intro-step:nth-child(4) {
  animation-delay: 0.44s;
}

.intro-step:nth-child(4) span {
  animation-delay: 0.52s;
}

.intro-step:nth-child(4) span::after {
  animation-delay: 0.52s;
}

.intro-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0 0;
  color: var(--muted);
  font-size: clamp(11px, 2.7vw, 14px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.intro-proof strong {
  color: inherit;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20c66b;
  box-shadow: 0 0 0 6px rgba(32, 198, 107, 0.16);
  flex: 0 0 auto;
}

.intro-gifts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  background: transparent;
  padding: 2px 0 0;
}

.intro-gifts-label {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-gift {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
}

.intro-gift span {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 6px 14px rgba(61, 59, 255, 0.14);
}

.intro-gift strong {
  color: #000000;
  font-size: 12px;
  line-height: 1.25;
}

@keyframes checkStep {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkPop {
  70% {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes checkHalo {
  35% {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes introCtaShine {
  0%,
  36% {
    left: -45%;
  }
  70%,
  100% {
    left: 115%;
  }
}

@keyframes introCtaPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(61, 59, 255, 0.28);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(61, 59, 255, 0.34);
  }
}

.hero-art {
  position: relative;
  min-height: 154px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 28%),
    radial-gradient(circle at 22% 20%, rgba(252, 172, 169, 0.95), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(61, 59, 255, 0.86), transparent 34%),
    #000000;
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
}

.result-preview,
.preview-card {
  position: relative;
}

.result-preview {
  width: min(100%, 250px);
  min-height: 108px;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.95);
  padding: 12px;
  display: grid;
  gap: 7px;
  transform: rotate(-1.5deg);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.preview-header strong {
  border-radius: 12px;
  background: var(--coral);
  color: #000000;
  padding: 5px 8px;
}

.preview-title {
  color: #000000;
  font-size: 18px;
  font-weight: 900;
}

.preview-line {
  height: 8px;
  width: 62%;
  border-radius: 999px;
  background: #ececf7;
}

.preview-line.wide {
  width: 86%;
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.preview-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-checks span,
.preview-card {
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 900;
}

.preview-card.small-a {
  right: 28px;
  top: 28px;
  background: var(--coral);
  color: #000000;
  transform: rotate(6deg);
}

.preview-card.small-b {
  right: 36px;
  bottom: 20px;
  background: var(--blue);
  transform: rotate(-5deg);
}

.hero-chip {
  position: relative;
  z-index: 2;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.intro-note {
  color: var(--muted);
  font-size: clamp(11px, 2.7vw, 13px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  margin-top: -2px;
}

.stage-panel {
  position: relative;
  border: 2px solid #000000;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(252, 172, 169, 0.9), transparent 24%),
    linear-gradient(145deg, #000000 0 58%, var(--blue) 58% 100%);
  padding: 20px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-tags span {
  border-radius: 999px;
  padding: 10px 12px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
}

.stage-source {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #000000;
  padding: 14px;
  display: grid;
  gap: 4px;
  border: 2px solid #000000;
}

.stage-source span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-source strong {
  font-size: 14px;
  line-height: 1.28;
}

.stage-mini-badge {
  border: 1px solid rgba(61, 59, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(61, 59, 255, 0.06), rgba(252, 172, 169, 0.16)),
    #ffffff;
  color: #000000;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.stage-bullets {
  display: grid;
  gap: 10px;
}

.stage-bullet {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  background: rgba(61, 59, 255, 0.06);
  padding: 11px 12px;
}

.stage-bullet span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  font-size: 17px;
}

.stage-bullet strong {
  color: #30313a;
  font-size: 14px;
  line-height: 1.25;
}

.stage-image {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f7f7ff;
  min-height: 210px;
}

.stage-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stage-image.recovery {
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f7f7ff;
}

.stage-image.recovery img {
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.stage-image.work {
  min-height: 0;
}

.stage-image.work img {
  aspect-ratio: 16 / 8.4;
  object-position: center 62%;
}

.stage-image.research {
  min-height: 0;
}

.stage-image.research img {
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.stage-image.compact {
  min-height: 118px;
  border-radius: 18px;
}

.stage-image.compact img {
  aspect-ratio: 16 / 5;
}

.insight-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.insight-fact {
  min-height: 0;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background:
    radial-gradient(circle at 88% 14%, rgba(252, 172, 169, 0.38), transparent 30%),
    #ffffff;
  color: #000000;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr;
  gap: 12px;
  align-items: center;
  box-shadow: none;
}

.insight-fact strong {
  font-size: 34px;
  line-height: 0.92;
  font-weight: 900;
  white-space: nowrap;
}

.insight-fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.18;
  font-weight: 900;
}

.new-start-visual {
  position: relative;
  min-height: 132px;
  border-radius: 22px;
  border: 2px solid #000000;
  background:
    radial-gradient(circle at 22% 62%, rgba(252, 172, 169, 0.45), transparent 24%),
    radial-gradient(circle at 78% 30%, rgba(61, 59, 255, 0.28), transparent 32%),
    #ffffff;
  overflow: hidden;
}

.start-path {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 66px;
  height: 42px;
  border-top: 5px solid #000000;
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

.start-dot {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: var(--coral);
  box-shadow: 4px 4px 0 #000000;
}

.start-dot.one {
  left: 34px;
  top: 70px;
}

.start-dot.two {
  left: 48%;
  top: 42px;
  background: #ffffff;
}

.start-dot.three {
  right: 34px;
  top: 24px;
  background: var(--blue);
}

.new-start-visual strong {
  position: absolute;
  left: 24px;
  top: 20px;
  max-width: 190px;
  color: #000000;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.support-card {
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: #000000;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  box-shadow: none;
}

.support-card span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--coral);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.support-card strong {
  font-size: 22px;
  line-height: 1.08;
}

.support-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

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

.support-cards.compact .support-card {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 14px;
}

.support-cards.compact .support-card span {
  grid-row: auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-size: 20px;
}

.support-cards.compact .support-card strong {
  font-size: 16px;
  line-height: 1.12;
}

.support-cards.compact .support-card p {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.mini-story-scroll-hint {
  width: fit-content;
  border-radius: 999px;
  background: rgba(61, 59, 255, 0.08);
  color: #000000;
  padding: 8px 11px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.story-content {
  padding-bottom: 96px;
}

.support-content {
  padding-bottom: 96px;
}

.story-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.story-cta-stack .primary {
  margin-top: 0;
  width: 100%;
}

.mini-story-scroll-hint strong {
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
}

.mini-story-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 78%);
  gap: 12px;
  overflow-x: auto;
  padding: 0 28px 8px 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.mini-story-card {
  min-height: 420px;
  border-radius: 24px;
  background: #ffffff;
  color: #000000;
  overflow: hidden;
  display: grid;
  grid-template-rows: 260px minmax(160px, auto);
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.mini-story-photo {
  width: 100%;
  height: 260px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%),
    var(--story-photo) center top / contain no-repeat,
    var(--story-bg);
}

.mini-story-copy {
  padding: 15px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.mini-story-copy span {
  width: fit-content;
  border-radius: 999px;
  background: var(--mint);
  color: #000000;
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.mini-story-copy strong {
  color: #000000;
  font-size: 20px;
  line-height: 1.08;
}

.mini-story-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.stage-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.stage-line span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #ffffff);
}

.stage-visual {
  position: relative;
  min-height: 168px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 24%, var(--coral) 0 20px, transparent 21px),
    radial-gradient(circle at 76% 76%, #ffffff 0 18px, transparent 19px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(61, 59, 255, 0.68));
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.stage-visual.insight {
  background:
    radial-gradient(circle at 22% 22%, var(--coral) 0 24px, transparent 25px),
    radial-gradient(circle at 82% 28%, var(--blue) 0 22px, transparent 23px),
    #000000;
}

.visual-orbit {
  position: absolute;
  inset: 22px;
  border: 12px solid rgba(255, 255, 255, 0.22);
  border-left-color: var(--coral);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.visual-orbit span {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
}

.visual-orbit span:nth-child(1) {
  width: 76px;
  height: 24px;
  left: 12px;
  top: 32px;
}

.visual-orbit span:nth-child(2) {
  width: 46px;
  height: 46px;
  right: 24px;
  top: 6px;
  background: var(--coral);
}

.visual-orbit span:nth-child(3) {
  width: 94px;
  height: 22px;
  right: 8px;
  bottom: 22px;
  background: var(--blue);
}

.visual-pulse {
  position: absolute;
  inset: 20px;
  display: grid;
  place-items: center;
}

.visual-pulse span {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.68);
}

.visual-pulse span:nth-child(1) {
  width: 62px;
  height: 62px;
  background: var(--coral);
  border-color: #ffffff;
}

.visual-pulse span:nth-child(2) {
  width: 118px;
  height: 118px;
  border-color: rgba(252, 172, 169, 0.72);
}

.visual-pulse span:nth-child(3) {
  width: 176px;
  height: 176px;
  border-color: rgba(255, 255, 255, 0.24);
}

.stage-visual.work .visual-orbit {
  border-radius: 24px;
  transform: rotate(4deg);
  border-color: rgba(252, 172, 169, 0.72);
}

.stage-visual.work .visual-orbit span:nth-child(1),
.stage-visual.directions .visual-orbit span:nth-child(1) {
  width: 42px;
  height: 42px;
}

.stage-visual.directions .visual-orbit {
  border-radius: 22px 80px 22px 80px;
}

.stage-visual.route .visual-orbit {
  border-left-color: #ffffff;
  border-right-color: var(--coral);
}

.stage-visual.plan .visual-orbit {
  border-radius: 28px;
  border-color: var(--coral);
}

.visual-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  box-shadow: 7px 7px 0 #000000;
  padding: 14px;
  display: grid;
  gap: 3px;
}

.visual-card strong {
  font-size: 24px;
  line-height: 1;
}

.visual-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.options {
  display: grid;
  gap: 10px;
}

.choice {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  min-height: 54px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.choice:active {
  transform: scale(0.985);
}

.choice:disabled {
  cursor: default;
  opacity: 0.38;
  filter: grayscale(0.35);
}

.choice:disabled:active {
  transform: none;
}

.choice.selected {
  border-color: #000000;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 6px 6px 0 #000000;
}

.choice-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #cad0c7;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
}

.choice.selected .choice-mark {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--blue);
}

.choice-icon,
.option-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f3f2ff;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.choice.selected .choice-icon {
  background: var(--coral);
}

.choice.selected .choice-note {
  color: rgba(255, 255, 255, 0.78);
}

.choice-text {
  display: grid;
  gap: 4px;
}

.choice-title {
  font-size: 15px;
  font-weight: 800;
}

.choice-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.reveal-options {
  gap: 9px;
}

.reveal-content {
  padding-bottom: 96px;
}

.reveal-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.reveal-cta-stack .primary {
  margin-top: 0;
  width: 100%;
}

.multi-content {
  padding-bottom: 96px;
}

.multi-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.multi-cta-stack .primary {
  margin-top: 0;
  width: 100%;
}

.reveal-note {
  border: 2px solid #000000;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(61, 59, 255, 0.08), rgba(252, 172, 169, 0.24)),
    #ffffff;
  padding: 16px;
  display: grid;
  gap: 7px;
  box-shadow: 7px 7px 0 rgba(61, 59, 255, 0.14);
}

.reveal-note span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.reveal-note p {
  color: #000000;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 500;
}

.slider-stack {
  display: grid;
  gap: 12px;
}

.slider-content {
  padding-bottom: 96px;
}

.slider-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.slider-cta-stack .primary {
  margin-top: 0;
  width: 100%;
}

.work-slider {
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 13px;
  display: grid;
  gap: 10px;
}

.slider-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.slider-labels span:last-child {
  text-align: right;
}

.work-slider input {
  appearance: none;
  background: transparent;
  cursor: pointer;
  height: 44px;
  margin: 0;
  touch-action: pan-y;
}

.work-slider input::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(252, 172, 169, 0.92), rgba(61, 59, 255, 0.92)),
    #f3f2ff;
}

.work-slider input::-webkit-slider-thumb {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 4px 14px rgba(61, 59, 255, 0.32),
    0 0 0 8px rgba(61, 59, 255, 0.12);
  margin-top: -12px;
}

.work-slider input::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(252, 172, 169, 0.92), rgba(61, 59, 255, 0.92)),
    #f3f2ff;
}

.work-slider input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 4px 14px rgba(61, 59, 255, 0.32),
    0 0 0 8px rgba(61, 59, 255, 0.12);
}

.quick-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
}

.quick-progress strong {
  color: var(--coral);
}

.quick-card {
  min-height: 260px;
  border: 2px solid #000000;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 16%, rgba(252, 172, 169, 0.7), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(61, 59, 255, 0.26), transparent 34%),
    #ffffff;
  padding: 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.1);
}

.quick-card span {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #f3f2ff;
  display: grid;
  place-items: center;
  font-size: 38px;
}

.quick-card strong {
  font-size: 25px;
  line-height: 1.12;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-pill,
.secondary-pill {
  min-height: 56px;
  border-radius: 16px;
  border: 2px solid #000000;
  font-weight: 900;
  cursor: pointer;
}

.primary-pill {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 7px 0 #000000;
}

.secondary-pill {
  background: #ffffff;
  color: #000000;
}

.favorite-work {
  display: grid;
  gap: 12px;
}

.bead-work {
  gap: 16px;
}

.bead-string {
  position: relative;
  min-height: 178px;
  border-radius: 24px;
  border: 2px solid var(--line);
  background:
    radial-gradient(circle at 50% 35%, rgba(252, 172, 169, 0.18), transparent 36%),
    #ffffff;
  padding: 18px;
  overflow: hidden;
}

.bead-counter {
  position: relative;
  z-index: 2;
  width: fit-content;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.bead-cord {
  position: absolute;
  inset: 54px 22px auto;
  height: 74px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.22);
  border-radius: 0 0 50% 50%;
}

.bead-cord span {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateX(-50%);
}

.selected-beads {
  position: relative;
  z-index: 1;
  min-height: 118px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
}

.selected-beads em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.selected-bead {
  border: 2px solid #000000;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
}

.bead-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.work-bead {
  border: 2px solid #e1e1ef;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  padding: 8px 11px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.work-bead span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f0ff;
}

.work-bead.selected {
  border-color: #000000;
  background: var(--coral);
  box-shadow: 4px 4px 0 #000000;
}

.favorite-group {
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 8px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.08);
}

.favorite-group > strong {
  font-size: 13px;
  line-height: 1.2;
}

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

.favorite-chip {
  border: 2px solid #e1e1ef;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 247, 255, 0.9)),
    #ffffff;
  color: #000000;
  min-height: 52px;
  padding: 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.favorite-chip:hover {
  transform: translateY(-1px);
}

.favorite-chip.selected {
  border-color: #000000;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 5px 5px 0 #000000;
}

.mini-task-content {
  gap: 18px;
  background:
    radial-gradient(circle at 18% 22%, rgba(61, 59, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 80%, rgba(252, 172, 169, 0.12), transparent 28%),
    #171822;
  margin: -18px;
  padding: 18px;
  border-radius: 0 0 26px 26px;
}

.mini-visual {
  min-height: 210px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: #202231;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.mini-task-card {
  border-radius: 28px;
  background: #ffffff;
  color: #000000;
  padding: 24px;
  display: grid;
  gap: 18px;
}

.mini-task-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-task-meta span {
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.mini-task-meta strong {
  color: #b6b6bd;
  font-size: 30px;
  line-height: 1;
}

.mini-task-card h2 {
  font-size: clamp(30px, 8vw, 42px);
}

.mini-task-card p {
  color: #000000;
  font-size: 18px;
  line-height: 1.25;
}

.mini-options {
  display: grid;
  gap: 10px;
}

.mini-options .choice {
  border-color: #e5e5e5;
  min-height: 64px;
}

.mini-options .choice-mark,
.mini-options .choice-icon {
  margin-left: auto;
  order: 3;
}

.mini-options .choice-icon {
  display: none;
}

.closet-frame {
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 24%),
    #5b331d;
  border: 8px solid #7b4a2f;
}

.closet-frame .rail {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 20%;
  height: 6px;
  background: #d7b18d;
}

.cloth,
.pile {
  position: absolute;
  border-radius: 10px;
}

.cloth {
  top: 22%;
  width: 11%;
  height: 46%;
}

.c1 { left: 15%; background: #fcaca9; }
.c2 { left: 28%; background: #3d3bff; }
.c3 { left: 42%; background: #ffffff; }
.c4 { left: 57%; background: #111111; }

.pile {
  height: 18px;
  left: 20%;
  right: 18%;
  transform: rotate(-4deg);
}

.p1 { bottom: 22%; background: #3d3bff; }
.p2 { bottom: 30%; background: #fcaca9; transform: rotate(5deg); }
.p3 { bottom: 38%; background: #ffffff; transform: rotate(-8deg); }
.p4 { bottom: 46%; background: #111111; transform: rotate(8deg); }

.chart-frame {
  position: absolute;
  inset: 30px;
  border-left: 3px solid rgba(255, 255, 255, 0.28);
  border-bottom: 3px solid rgba(255, 255, 255, 0.28);
}

.grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.grid-line.a { top: 18%; }
.grid-line.b { top: 46%; }
.grid-line.c { top: 74%; }

.bar {
  position: absolute;
  bottom: 0;
  width: 22%;
  border-radius: 10px 10px 0 0;
}

.bar-a {
  left: 14%;
  height: 82%;
  background: #b6ff1f;
}

.bar-b {
  left: 52%;
  height: 41%;
  background: var(--blue);
}

.legend {
  position: absolute;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.legend.a { left: 12%; }
.legend.b { left: 50%; }

.maze-frame {
  position: absolute;
  inset: 28px;
  background: #ffffff;
  border-radius: 18px;
}

.wall {
  position: absolute;
  background: #000000;
  border-radius: 999px;
}

.w1 { left: 22%; top: 16%; width: 56%; height: 6px; }
.w2 { left: 22%; top: 16%; width: 6px; height: 68%; }
.w3 { right: 22%; top: 16%; width: 6px; height: 68%; }
.w4 { left: 22%; bottom: 16%; width: 56%; height: 6px; }
.w5 { left: 34%; top: 32%; width: 30%; height: 6px; }
.w6 { left: 34%; top: 32%; width: 6px; height: 28%; }
.w7 { left: 48%; top: 48%; width: 6px; height: 24%; }
.w8 { left: 48%; top: 60%; width: 22%; height: 6px; }

.maze-frame b,
.maze-frame strong {
  position: absolute;
  font-size: 12px;
  text-transform: uppercase;
}

.maze-frame b {
  left: 24%;
  bottom: 8%;
}

.maze-frame strong {
  right: 20%;
  top: 8%;
}

.site-frame,
.ui-card-preview {
  position: absolute;
  inset: 26px;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.24);
}

.site-frame span,
.ui-card-preview span {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.site-top {
  left: 18px;
  right: 18px;
  top: 16px;
  height: 18px;
  background: #ececff;
}

.site-title {
  left: 22px;
  top: 52px;
  width: 48%;
  height: 18px;
  background: #000000;
}

.site-copy.a {
  left: 22px;
  top: 84px;
  width: 70%;
  height: 10px;
  background: #cfd0df;
}

.site-copy.b {
  left: 22px;
  top: 104px;
  width: 54%;
  height: 10px;
  background: #cfd0df;
}

.site-button {
  left: 22px;
  bottom: 24px;
  width: 82px;
  height: 30px;
  background: var(--blue);
}

.site-alert {
  right: 20px;
  bottom: 24px;
  width: 64px;
  height: 30px;
  background: var(--coral);
  color: #000000;
  display: grid !important;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.ui-image {
  left: 18px;
  top: 18px;
  width: 86px;
  height: 86px;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 34% 35%, var(--coral) 0 16px, transparent 17px),
    radial-gradient(circle at 70% 70%, var(--blue) 0 22px, transparent 23px),
    #ececff;
}

.ui-title {
  left: 122px;
  top: 28px;
  width: 44%;
  height: 16px;
  background: #000000;
}

.ui-price {
  left: 122px;
  top: 62px;
  width: 34%;
  height: 14px;
  background: #cfd0df;
}

.ui-button {
  left: 122px;
  bottom: 26px;
  width: 82px;
  height: 34px;
  background: #d8d8df;
  color: #777985;
  display: grid !important;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.ui-warning {
  right: 20px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: var(--coral);
}

.primary {
  position: static;
  z-index: 20;
  width: 100%;
  border: 2px solid #000000;
  border-radius: 16px;
  background: var(--blue);
  color: white;
  min-height: 58px;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 10px 0 #000000;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.primary:disabled {
  opacity: 0.4;
  cursor: default;
}

.primary:not(:disabled):active {
  transform: translateY(4px);
  box-shadow: 0 6px 0 #000000;
}

.secondary {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-weight: 800;
  padding: 10px;
  cursor: pointer;
}

.meter-card,
.insight-card,
.loop-card,
.result-card,
.proof-card,
.form-card,
.interaction-card,
.loader-card {
  border: 2px solid #000000;
  background:
    radial-gradient(circle at 14% 10%, rgba(252, 172, 169, 0.6), transparent 26%),
    radial-gradient(circle at 86% 86%, rgba(61, 59, 255, 0.24), transparent 30%),
    #ffffff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 8px 8px 0 rgba(61, 59, 255, 0.14);
}

.insight-card {
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at 84% 12%, rgba(252, 172, 169, 0.7), transparent 26%),
    #ffffff;
}

.research-insight {
  background:
    linear-gradient(135deg, rgba(61, 59, 255, 0.08), rgba(252, 172, 169, 0.18)),
    #ffffff;
}

.research-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  border-radius: 18px;
  background: #000000;
  color: #ffffff;
  padding: 15px;
}

.research-stat strong {
  grid-row: 1 / span 2;
  color: var(--coral);
  font-size: 52px;
  line-height: 0.95;
}

.research-stat span {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.14;
}

.research-stat small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.research-bars {
  display: grid;
  gap: 7px;
}

.research-bars span {
  height: 11px;
  width: var(--bar);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.insight-card .stage-visual {
  min-height: 150px;
}

.range-wrap {
  display: grid;
  gap: 16px;
}

input[type="range"] {
  accent-color: var(--blue);
  width: 100%;
}

.meter-card input[type="range"] {
  height: 34px;
  margin: 4px 0 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.meter-card input[type="range"]::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(90deg, var(--coral), var(--blue)) 0 / var(--range-fill, 40%) 100% no-repeat,
    rgba(0, 0, 0, 0.12);
}

.meter-card input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 30px;
  height: 30px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  margin-top: -10px;
}

.meter-card input[type="range"]::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.meter-card input[type="range"]::-moz-range-progress {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
}

.meter-card input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.range-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.range-value strong {
  font-size: 48px;
  line-height: 1;
}

.drag-area {
  display: grid;
  gap: 12px;
}

.drag-bank,
.drop-zones {
  display: grid;
  gap: 10px;
}

.drag-item,
.drop-zone {
  border: 2px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 14px;
  min-height: 54px;
}

.drag-item {
  cursor: grab;
  font-weight: 800;
  touch-action: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drag-item:active {
  cursor: grabbing;
}

.drop-zone {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  border-style: dashed;
}

.drop-zone strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.drop-zone.active {
  border-color: var(--blue);
  background: var(--mint);
  color: var(--ink);
}

.drop-zone.filled {
  border-style: solid;
  border-color: var(--blue);
}

.ranking-list {
  display: grid;
  gap: 8px;
}

.ranking-pyramid {
  justify-items: center;
}

.ranking-card {
  min-height: 64px;
  border: 2px solid #000000;
  border-radius: 16px;
  background: var(--panel);
  padding: 12px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: grab;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.08);
}

.ranking-card.rank-level-1 {
  width: 82%;
  background: var(--blue);
  color: #ffffff;
}

.ranking-card.rank-level-2 {
  width: 90%;
}

.ranking-card.rank-level-3,
.ranking-card.rank-level-4 {
  width: 100%;
}

.ranking-card strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  grid-column: 2;
}

.ranking-card em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  grid-column: 2;
}

.ranking-card.rank-level-1 em {
  color: rgba(255, 255, 255, 0.74);
}

.ranking-card.dragging {
  opacity: 0.5;
}

.rank-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.rank-actions {
  display: flex;
  gap: 6px;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.rank-actions button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.battery-card {
  min-height: 136px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #f7f7fa;
  padding: 14px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 14px;
}

.battery-content {
  padding-bottom: 96px;
}

.battery-cta-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 12px 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #ffffff 44%),
    #ffffff;
  border-top: 2px solid #000000;
  box-shadow: 0 -18px 46px rgba(61, 59, 255, 0.16);
}

.battery-cta-stack .primary {
  margin-top: 0;
  width: 100%;
}

.battery-meter {
  --charge: 0%;
  width: 72px;
  height: 108px;
  border: 3px solid #151515;
  border-radius: 16px;
  position: relative;
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
}

.battery-meter::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  height: max(0px, calc(var(--charge) - 16px));
  min-height: 0;
  border-radius: 10px;
  background: linear-gradient(0deg, var(--blue) 0%, #6260ff 38%, #d7ff46 100%);
  transition: height 0.42s ease;
}

.battery-meter::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 26px;
  height: 11px;
  border: 3px solid #151515;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #ffffff;
}

.battery-meter span {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.battery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: center;
}

.battery-chips span,
.battery-chips em {
  border-radius: 999px;
  background: #ffffff;
  padding: 7px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}

.battery-chips em {
  color: var(--muted);
  font-weight: 700;
}

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

.battery-option {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  min-height: 58px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.battery-option.selected {
  border-color: #000000;
  background: var(--blue);
  color: #ffffff;
}

.battery-option:active {
  transform: scale(0.99);
}

.battery-option .option-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 18px;
}

.battery-option span:last-child {
  min-width: 0;
  line-height: 1.18;
}

.draw-board {
  border: 2px solid #000000;
  background: var(--panel);
  border-radius: 20px;
  padding: 12px;
}

.draw-board canvas {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  display: block;
  touch-action: none;
}

.inline-actions {
  display: flex;
  justify-content: center;
}

.scene-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 46px;
}

.scene-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scene-zone {
  min-height: 210px;
  border: 2px dashed #000000;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.scene-zone strong {
  font-size: 14px;
}

.scene-zone.active {
  border-color: var(--blue);
  background: var(--mint);
}

.scene-card {
  border: 2px solid #000000;
  border-radius: 999px;
  background: var(--panel);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: grab;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scene-zone .scene-card {
  border-radius: 14px;
  width: 100%;
}

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

.tag {
  border-radius: 999px;
  padding: 9px 11px;
  background: #f1f3ef;
  color: #3c4240;
  font-size: 13px;
  font-weight: 800;
}

.proof-content h2 {
  font-size: clamp(23px, 5.4vw, 30px);
}

.proof-content {
  padding-bottom: 96px;
}

.proof-cta-stack {
  display: block;
}

.proof-cta-stack .primary {
  margin: 0;
}

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

.proof-card {
  position: relative;
  width: 100%;
  min-height: 150px;
  border: 2px solid #000000;
  background:
    radial-gradient(circle at 14% 10%, rgba(252, 172, 169, 0.6), transparent 26%),
    radial-gradient(circle at 86% 86%, rgba(61, 59, 255, 0.24), transparent 30%),
    #ffffff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  gap: 11px;
  padding: 16px 16px 46px;
  color: #000000;
  text-align: left;
  cursor: pointer;
  animation: proofCardIn 0.5s ease both;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.proof-card:nth-child(2) {
  animation-delay: 0.06s;
}

.proof-card:nth-child(3) {
  animation-delay: 0.12s;
}

.proof-card:nth-child(4) {
  animation-delay: 0.18s;
}

.proof-card:nth-child(5) {
  animation-delay: 0.24s;
}

.proof-card:nth-child(6) {
  animation-delay: 0.3s;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(61, 59, 255, 0.18);
}

.proof-card.reacted {
  border-color: var(--blue);
}

.proof-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(61, 59, 255, 0.12);
}

.proof-card-copy {
  display: grid;
  gap: 8px;
}

.proof-card strong {
  font-size: 16px;
  line-height: 1.08;
}

.proof-card p {
  font-size: 12px;
  line-height: 1.3;
}

.proof-reaction-badge {
  position: absolute;
  right: 16px;
  bottom: 14px;
  min-width: 62px;
  height: 30px;
  border-radius: 999px;
  background: rgba(45, 156, 255, 0.1);
  border: 1px solid rgba(45, 156, 255, 0.24);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 4px 9px;
  font-size: 15px;
  box-shadow:
    0 7px 18px rgba(45, 156, 255, 0.08),
    0 2px 0 rgba(0, 0, 0, 0.14);
  animation: reactionPop 0.22s ease both;
}

.proof-reaction-badge.active {
  background: #2d9cff;
  border-color: #2d9cff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 9px 22px rgba(45, 156, 255, 0.34),
    0 2px 0 rgba(0, 0, 0, 0.14);
}

.proof-reaction-badge b {
  font-size: 15px;
  line-height: 1;
}

.proof-reaction-badge strong {
  color: currentColor;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

@keyframes reactionPop {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.78);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes proofCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.review-carousel {
  border: 2px solid #000000;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(61, 59, 255, 0.06), rgba(252, 172, 169, 0.2)),
    #ffffff;
  padding: 18px;
  display: grid;
  gap: 11px;
  box-shadow: 8px 8px 0 rgba(61, 59, 255, 0.18);
}

.review-label {
  width: fit-content;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-stars {
  width: fit-content;
  border-radius: 8px;
  background: #00b67a;
  color: #ffffff;
  padding: 3px 6px;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.review-head strong {
  color: #000000;
  font-size: 18px;
  line-height: 1.12;
}

.review-head span {
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.review-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.36;
}

.review-author {
  font-size: 14px;
}

.review-dots {
  display: flex;
  gap: 7px;
}

.review-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #d8d8e8;
  padding: 0;
  cursor: pointer;
}

.review-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: var(--blue);
}

.scenario {
  background:
    linear-gradient(160deg, rgba(61, 59, 255, 0.11), rgba(252, 172, 169, 0.28)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.loop-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.loop-step {
  padding: 14px;
  border-radius: 14px;
  background: var(--sage);
  font-weight: 800;
}

.fields {
  display: grid;
  gap: 12px;
}

.result-gate {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: center;
}

.locked-result-preview {
  position: relative;
  display: grid;
  gap: 12px;
  opacity: 0.76;
  transform: scale(0.98);
  pointer-events: none;
}

.locked-result-preview::after {
  content: "🔒";
  position: absolute;
  left: 0;
  right: 0;
  top: 38px;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  margin: auto;
  font-size: 36px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.locked-result-preview .locked-card {
  filter: blur(7px);
}

.locked-card {
  border: 2px solid #000000;
  border-radius: 22px;
  background: #ffffff;
  color: #000000;
  padding: 18px;
  display: grid;
  gap: 8px;
  box-shadow: 8px 8px 0 rgba(61, 59, 255, 0.16);
}

.locked-card.main {
  position: relative;
  min-height: 180px;
}

.lock-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.locked-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.locked-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.locked-card.main strong {
  font-size: 36px;
}

.locked-card div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.locked-card b {
  color: var(--blue);
  font-size: 42px;
}

.locked-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.lead-unlock-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.lead-unlock-card.fields {
  gap: 6px;
}

.lead-unlock-card .consent-check {
  align-items: center;
}

.lead-unlock-card .consent-check input {
  margin-top: 0;
}

.lead-unlock-card .primary {
  margin-top: 0;
}

.lead-unlock-title {
  color: #000000;
  font-size: 24px;
  line-height: 1.1;
}

.lead-unlock-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.name-greeting {
  justify-content: center;
}

.name-emoji {
  width: 104px;
  height: 104px;
  border-radius: 30px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(252, 172, 169, 0.68), transparent 32%),
    radial-gradient(circle at 78% 74%, rgba(61, 59, 255, 0.38), transparent 34%),
    #ffffff;
  border: 2px solid #000000;
  font-size: 54px;
}

.name-meaning {
  border: 2px solid #000000;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(61, 59, 255, 0.15), rgba(252, 172, 169, 0.42)),
    #ffffff;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.name-meaning span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.name-meaning p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 2px solid #000000;
  background: #fff;
  padding: 14px;
  color: var(--ink);
}

.field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #000000 50%) calc(100% - 22px) 23px / 8px 8px no-repeat,
    linear-gradient(135deg, #000000 50%, transparent 50%) calc(100% - 17px) 23px / 8px 8px no-repeat,
    #ffffff;
  padding-right: 42px;
}

.field input:focus,
.field select:focus {
  outline: 4px solid rgba(61, 59, 255, 0.16);
  border-color: var(--blue);
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 100%;
}

.ads-consent-check {
  opacity: 0.86;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.consent-check a,
.lead-legal-note a {
  color: #9b4dff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.lead-legal-note {
  margin: 0;
  color: var(--muted);
  font-size: inherit;
  line-height: 1.35;
  font-weight: 500;
}

.lead-cta-stack {
  display: grid;
  gap: 9px;
}

.lead-cta-stack .lead-legal-note,
.lead-cta-stack .consent-check {
  color: rgba(92, 94, 105, 0.78);
}

.lead-cta-stack .consent-check {
  font-size: 11px;
}

.lead-cta-stack .consent-check input {
  margin-top: 0;
}

.lead-unlock-card .lead-legal-note {
  color: #8f9199;
  font-weight: 500;
}

.lead-unlock-card .ads-consent-check {
  color: var(--muted);
  font-weight: 500;
}

.lead-unlock-card .lead-legal-note a,
.lead-unlock-card .ads-consent-check a,
.lead-unlock-card .consent-check a {
  color: inherit;
  font-weight: inherit;
}

.lead-unlock-card .ads-consent-check input {
  appearance: none;
  position: relative;
  border: 1px solid #d8d9df;
  border-radius: 3px;
  background: #ececf1;
  accent-color: #d8d9df;
  opacity: 0.72;
}

.lead-unlock-card .ads-consent-check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #8f9199;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lead-unlock-card .lead-legal-note {
  margin-top: 8px;
  margin-left: 27px;
}

.phone:not(.result-mode):not(.intro-mode) .lead-unlock-card .lead-legal-note {
  font-size: 11px;
  line-height: 1.35;
}

.error {
  color: #b4432f;
  font-size: 13px;
  min-height: 18px;
}

.loader-card {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(61, 59, 255, 0.1), rgba(252, 172, 169, 0.32)),
    var(--panel);
}

.loader-card.technical {
  min-height: 260px;
  padding: 0;
  gap: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content:has(.loader-card.technical) h2 {
  font-size: clamp(27px, 7vw, 38px);
  line-height: 1.05;
}

.content:has(.loader-card.technical) > p {
  max-width: 560px;
  font-size: clamp(18px, 3.2vw, 24px);
  line-height: 1.35;
}

.loader-orbit {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 8px auto;
  position: relative;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.loader-orbit::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px dashed rgba(61, 59, 255, 0.34);
  animation: spin 3s linear infinite;
}

.loader-orbit span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: absolute;
  background: var(--blue);
  left: 57px;
  top: 8px;
  transform-origin: 9px 58px;
  animation: spin 1.8s linear infinite;
}

.loader-orbit span:nth-child(2) {
  background: var(--coral);
  animation-delay: -0.6s;
}

.loader-orbit span:nth-child(3) {
  background: var(--ink);
  animation-delay: -1.2s;
}

.loader-symbol {
  width: 112px;
  height: 112px;
  border-radius: 32px;
  margin: 8px auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--coral));
  border: 2px solid #000000;
  box-shadow: 8px 8px 0 #000000;
  font-size: 48px;
  animation: loaderSymbolPulse 1.3s ease-in-out infinite;
}

.loader-card.technical .loader-symbol {
  width: 54px;
  height: 54px;
  margin: 0;
  justify-self: start;
  border-radius: 16px;
  background: rgba(184, 255, 44, 0.08);
  border: 1px solid rgba(184, 255, 44, 0.18);
  box-shadow: none;
  color: #b8ff2c;
  font-size: 28px;
  animation: technicalBlink 1.4s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderSymbolPulse {
  50% {
    transform: translateY(-4px) rotate(-2deg);
  }
}

@keyframes technicalBlink {
  50% {
    opacity: 0.58;
  }
}

.loader-steps {
  display: grid;
  gap: 9px;
}

.loader-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.loader-card.technical .loader-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.loader-progress span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  transform-origin: left;
  animation: loader-fill var(--loader-duration, 16000ms) linear forwards;
}

@keyframes loader-fill {
  from {
    transform: scaleX(0.02);
  }
  to {
    transform: scaleX(1);
  }
}

.loader-step {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.loader-card.technical .loader-steps {
  gap: 6px;
}

.loader-card.technical .loader-step {
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.42);
  padding: 7px 0 7px 20px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.loader-card.technical .loader-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.loader-step.active {
  background: var(--blue);
  color: white;
  transform: translateX(4px);
}

.discount-game {
  display: grid;
  gap: 16px;
}

.discount-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.discount-card {
  position: relative;
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 255, 0.95)),
    #ffffff;
  color: #000000;
  padding: 14px 10px;
  display: grid;
  align-content: end;
  gap: 8px;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.discount-card::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto;
  height: 74px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 32%, var(--blue) 0 18px, transparent 19px),
    radial-gradient(circle at 74% 64%, var(--coral) 0 13px, transparent 14px),
    linear-gradient(135deg, rgba(61, 59, 255, 0.16), rgba(252, 172, 169, 0.3));
}

.discount-card:not(:disabled):active {
  transform: scale(0.96);
}

.discount-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.discount-card strong {
  font-size: 30px;
  line-height: 1;
}

.discount-card.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.discount-card.selected::before {
  background:
    radial-gradient(circle at 30% 32%, #ffffff 0 18px, transparent 19px),
    radial-gradient(circle at 74% 64%, var(--coral) 0 13px, transparent 14px),
    rgba(255, 255, 255, 0.18);
}

.discount-card.selected span {
  color: rgba(255, 255, 255, 0.78);
}

.discount-card.revealed:not(.selected) {
  opacity: 0.55;
}

.discount-drumroll {
  position: relative;
  min-height: 86px;
  border-radius: 18px;
  background: #000000;
  color: #ffffff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.discount-drumroll strong {
  position: relative;
  z-index: 2;
  font-size: 18px;
}

.discount-drumroll span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  animation: drumDot 0.5s ease-in-out infinite alternate;
}

.discount-drumroll span:nth-child(3) {
  animation-delay: 0.12s;
}

.discount-drumroll span:nth-child(4) {
  animation-delay: 0.24s;
}

.discount-drumroll::before,
.discount-drumroll::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 12px solid rgba(61, 59, 255, 0.6);
  animation: drumPulse 0.75s ease-in-out infinite;
}

.discount-drumroll::after {
  width: 78px;
  height: 78px;
  border-color: rgba(252, 172, 169, 0.7);
  animation-delay: 0.18s;
}

.fireworks-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.fireworks-overlay span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  background: var(--coral);
  box-shadow:
    0 0 0 5px rgba(252, 172, 169, 0.18),
    0 0 18px rgba(252, 172, 169, 0.72);
  animation: firework 1.25s ease-out both;
}

.fireworks-overlay span:nth-child(1) {
  --x: -180px;
  --y: -280px;
}

.fireworks-overlay span:nth-child(2) {
  background: #ffffff;
  animation-delay: 0.08s;
  --x: 220px;
  --y: -250px;
}

.fireworks-overlay span:nth-child(3) {
  background: var(--blue);
  animation-delay: 0.16s;
  --x: -250px;
  --y: -70px;
}

.fireworks-overlay span:nth-child(4) {
  background: #b6ff1f;
  animation-delay: 0.24s;
  --x: 245px;
  --y: 30px;
}

.fireworks-overlay span:nth-child(5) {
  background: var(--coral);
  animation-delay: 0.32s;
  --x: -150px;
  --y: 260px;
}

.fireworks-overlay span:nth-child(6) {
  background: #ffffff;
  animation-delay: 0.4s;
  --x: 170px;
  --y: 250px;
}

.fireworks-overlay span:nth-child(7) {
  background: var(--blue);
  animation-delay: 0.48s;
  --x: 10px;
  --y: -330px;
}

.fireworks-overlay span:nth-child(8) {
  background: #b6ff1f;
  animation-delay: 0.56s;
  --x: 0px;
  --y: 330px;
}

.discount-confetti {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
}

.discount-confetti span {
  position: absolute;
  left: var(--left, 50%);
  top: -24px;
  width: var(--size, 10px);
  height: calc(var(--size, 10px) * 1.55);
  border-radius: 4px 1px 4px 1px;
  background: var(--color, #b8ff2c);
  box-shadow: 0 0 16px color-mix(in srgb, var(--color, #b8ff2c) 72%, transparent);
  opacity: 0;
  transform: translate3d(0, -20px, 0) rotate(0deg);
  animation: discountConfettiFall var(--duration, 3s) cubic-bezier(0.16, 0.72, 0.28, 1) var(--delay, 0s) both;
}

.discount-confetti span:nth-child(3n) {
  border-radius: 50%;
}

.discount-confetti span:nth-child(4n) {
  width: calc(var(--size, 10px) * 1.6);
  height: calc(var(--size, 10px) * 0.55);
  border-radius: 999px;
}

.discount-result,
.discount-hint,
.result-discount {
  border-radius: 18px;
  background: #000000;
  color: #ffffff;
  padding: 16px;
}

.discount-result {
  display: grid;
  gap: 7px;
}

.discount-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.discount-modal .discount-result {
  width: min(100%, 430px);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.discount-modal .discount-result strong {
  font-size: clamp(23px, 6vw, 34px);
  line-height: 1.06;
}

.discount-modal .discount-result span {
  font-size: 16px;
  line-height: 1.28;
}

.discount-modal .primary {
  width: min(100%, 430px);
  justify-self: center;
  margin-top: 12px;
}

.discount-result strong {
  color: var(--coral);
  font-size: 19px;
}

.discount-result span,
.discount-hint {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.35;
}

.discount-result b {
  color: #ffffff;
  letter-spacing: 0.04em;
}

@keyframes drumDot {
  to {
    transform: translateY(-8px) scale(1.18);
    opacity: 0.72;
  }
}

@keyframes drumPulse {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  45% {
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes firework {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, -70px))) scale(1.5);
    opacity: 0;
  }
}

@keyframes discountConfettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 0px), 112vh, 0) rotate(var(--spin, 360deg));
  }
}

.result-discount {
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 72%, rgba(184, 255, 44, 0.46), transparent 32%),
    linear-gradient(125deg, #ffc79f 0%, #f1df94 48%, #d9ff62 100%);
  color: #000000;
  font-weight: 800;
  position: relative;
  top: auto;
  z-index: 1;
  width: 100%;
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  backdrop-filter: blur(12px);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: 0 28px 54px rgba(30, 36, 54, 0.14);
}

.result-discount-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.result-discount-copy strong {
  color: #000000;
  max-width: 560px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.result-discount-copy span {
  width: fit-content;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.32);
  color: #000000;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-discount-copy p,
.result-discount-copy small {
  margin: 0;
  max-width: 560px;
  color: rgba(5, 5, 6, 0.76);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.32;
  font-weight: 800;
}

.result-discount-copy small {
  display: block;
  color: #3d3bff;
  font-size: 14px;
  font-weight: 950;
}

.discount-action-stack {
  display: grid;
  gap: 12px;
  align-content: center;
}

.discount-reserve {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  padding: 15px 18px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
}

.discount-countdown {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
  padding: 16px 20px;
  display: grid;
  gap: 8px;
  color: #000000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 34px rgba(30, 36, 54, 0.12);
}

.discount-countdown span,
.discount-countdown small {
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
  letter-spacing: 0.08em;
}

.discount-countdown span {
  color: #050506;
}

.discount-countdown small {
  display: block;
}

.discount-countdown strong {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.result-hero {
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(135deg, var(--mint), #fff1c7 58%, #e7f4ff);
  display: grid;
  gap: 10px;
}

.result-page {
  color: white;
  display: grid;
  gap: 24px;
  animation: rise 0.28s ease both;
}

.result-kicker {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.result-top-grid,
.result-two-grid {
  display: grid;
  gap: 16px;
}

.result-card-light,
.result-card-dark {
  border-radius: 26px;
  padding: 24px;
}

.result-card-light {
  background: #ffffff;
  color: #000000;
}

.result-card-dark {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.profession-main {
  display: grid;
  gap: 28px;
}

.profession-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.profession-main h2,
.profession-copy h2,
.archetype-card h2 {
  color: #12182a;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.06;
}

.result-muted {
  color: #5f626b;
  font-size: 19px;
  font-weight: 700;
}

.result-muted.dark {
  color: rgba(255, 255, 255, 0.68);
}

.match-badge {
  width: 140px;
  min-height: 98px;
  border-radius: 14px;
  background: #2f64e4;
  color: #ffffff;
  padding: 14px 16px;
  display: grid;
  align-content: center;
  justify-self: start;
  box-shadow: 0 14px 28px rgba(47, 100, 228, 0.28);
}

.match-badge span {
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-badge strong {
  font-size: 42px;
  line-height: 0.95;
}

.profession-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.profession-characteristics {
  display: grid;
  gap: 14px;
  min-width: min(100%, 460px);
}

.profession-characteristics p {
  margin: 0;
  color: #5d626d;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips-row span {
  border-radius: 999px;
  background: #edf3fb;
  color: #12182a;
  border: 0;
  padding: 14px 24px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 500;
}

.state-profile-card {
  display: grid;
  gap: 18px;
}

.state-profile-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.state-profile-card h1 {
  margin: 0;
  color: #000000;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 0.98;
}

.state-profile-card > p {
  margin: 0;
  max-width: 760px;
  color: #5f626b;
  font-size: 18px;
  line-height: 1.35;
}

.state-illustration {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.74), transparent 28%),
    linear-gradient(135deg, var(--coral), var(--blue));
  border: 2px solid #000000;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.state-illustration span {
  font-size: 52px;
  z-index: 1;
}

.state-illustration b {
  position: absolute;
  inset: auto -18px -28px 18px;
  height: 74px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

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

.state-indicator {
  border: 2px solid #000000;
  border-radius: 18px;
  padding: 13px;
  display: grid;
  gap: 9px;
  background: #f7f7ff;
}

.state-indicator span {
  color: #5f626b;
  font-size: 12px;
  font-weight: 900;
}

.state-indicator strong {
  color: #000000;
  font-size: 28px;
  line-height: 1;
}

.state-indicator div {
  height: 8px;
  border-radius: 999px;
  background: #e7eadf;
  overflow: hidden;
}

.state-indicator i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.state-key-grid,
.why-fit-grid,
.support-micro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.state-key-grid div,
.why-fit-grid div {
  border-radius: 18px;
  background: #000000;
  color: #ffffff;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.state-key-grid span {
  font-size: 24px;
}

.state-key-grid strong,
.why-fit-grid strong {
  font-size: 14px;
  line-height: 1.1;
}

.state-key-grid p,
.why-fit-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.result-bridge {
  display: grid;
  gap: 12px;
}

.result-bridge > span {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  width: fit-content;
  max-width: max-content;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--coral);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.result-bridge h2 {
  margin: 0;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.02;
}

.result-bridge p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.35;
}

.self-help-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  overflow: hidden;
}

.self-help-copy {
  display: grid;
  gap: 10px;
}

.self-help-copy > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--blue);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.self-help-copy h2 {
  margin: 0;
  color: #050506;
  max-width: 820px;
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.04;
}

.self-help-copy p {
  margin: 0;
  max-width: 780px;
  color: #555862;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.self-help-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.self-help-list div {
  border: 2px solid #000000;
  border-radius: 24px;
  background: #f7f7ff;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-height: 280px;
}

.self-help-visual {
  height: 164px;
  border-radius: 24px;
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.self-help-list strong {
  color: #050506;
  font-size: 23px;
  line-height: 1.12;
}

.self-help-list p {
  margin: 0;
  color: #5f626b;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 750;
}

.direction-bridge {
  border-radius: 20px;
  background: #3d3bff;
  color: #ffffff;
  padding: 18px;
  display: grid;
  gap: 6px;
  font-weight: 900;
  line-height: 1.28;
}

.direction-bridge span {
  font-size: 13px;
  text-transform: uppercase;
  opacity: 0.78;
}

.direction-bridge strong {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.08;
}

.state-map,
.specialist-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.state-map b,
.specialist-flow span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.state-map i,
.specialist-flow i {
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.compact-discount {
  position: relative;
  top: auto;
}

.visual-profession {
  grid-template-columns: 1fr;
  align-items: start;
  border: 0;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(18, 24, 38, 0.08);
}

.visual-profession .why-fit-grid {
  grid-column: 1 / -1;
}

.profession-cover {
  width: 86px;
  height: 86px;
  border-radius: 16px;
  background: #f8faff;
  color: #2f64e4;
  border: 1px solid #edf1f7;
  display: grid;
  place-items: center;
  font-size: 38px;
  box-shadow: 0 12px 28px rgba(18, 24, 38, 0.06);
}

.why-fit-grid div {
  grid-template-columns: 24px 1fr;
  align-items: start;
}

.why-fit-grid span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #000000;
  font-weight: 900;
}

.salary-box small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.salary-box.accent small {
  color: rgba(0, 0, 0, 0.62);
}

.specialist-flow {
  margin-top: 6px;
}

.specialist-flow span {
  background: var(--mint);
  color: #000000;
}

.vacancy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vacancy-tags span {
  border-radius: 999px;
  background: #f0f0ff;
  color: #000000;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
}

.result-emoji-row,
.mini-learning-grid,
.task-grid,
.salary-grid {
  display: grid;
  gap: 10px;
}

.result-emoji-row {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-emoji-row span,
.mini-learning-grid span,
.task-pill {
  border: 2px solid #000000;
  border-radius: 16px;
  background: #f7f7ff;
  color: #000000;
  padding: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.top-three {
  display: grid;
  gap: 18px;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 100, 228, 0.14), transparent 36%),
    #0f1a32;
  box-shadow: 0 22px 48px rgba(18, 24, 38, 0.18);
}

.top-profession {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  padding: 22px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.top-profession span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffc2dd;
  color: #0f1a32;
  font-weight: 900;
}

.top-profession-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.top-profession-head b {
  color: #ffc2dd;
  font-size: 24px;
  line-height: 1;
}

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

.bridge-flow div {
  position: relative;
}

.bridge-flow div:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 30px;
  font-weight: 950;
}

.work-signal-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.work-signal-card > strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.15;
}

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

.work-signal-grid div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.work-signal-grid span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--coral);
  color: #050506;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.work-signal-grid p,
.work-signal-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.32;
  font-weight: 500;
}

.work-signal-card > p {
  border-radius: 18px;
  background: rgba(184, 255, 44, 0.1);
  padding: 14px;
}

.work-signal-card b {
  color: #b8ff2c;
}

.section-mini-head {
  display: grid;
  gap: 8px;
}

.section-mini-head > span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(61, 59, 255, 0.1);
  color: #3d3bff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.section-mini-head h2 {
  margin: 0;
  color: #050506;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.04;
}

.section-mini-head p {
  margin: 0;
  color: #5f626b;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
}

.diagnostic-map-card,
.simple-meaning-card,
.activity-directions-card,
.next-step-card {
  display: grid;
  gap: 18px;
}

.activity-directions-card {
  gap: 38px;
  padding: 48px 28px;
  border: 0;
  background: #f6f8fc;
  box-shadow: none;
}

.activity-directions-card .section-mini-head {
  justify-items: center;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  gap: 14px;
}

.activity-directions-card .section-mini-head > span {
  background: #e8f0ff;
  color: #2f64e4;
  box-shadow: 0 8px 18px rgba(47, 100, 228, 0.12);
}

.activity-directions-card .section-mini-head h2 {
  max-width: 760px;
  color: #12182a;
  font-size: clamp(34px, 5.8vw, 54px);
  line-height: 0.98;
}

.activity-directions-card .section-mini-head p {
  max-width: 720px;
  color: #435069;
  font-size: 18px;
  line-height: 1.45;
}

.diagnostic-map-grid,
.simple-card-grid,
.activity-direction-grid,
.next-step-grid {
  display: grid;
  gap: 12px;
}

.diagnostic-map-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diagnostic-map-item,
.simple-card-grid div,
.activity-direction-grid div,
.next-step-grid div,
.recommendation-reasons div {
  border: 1px solid #edf1f7;
  border-radius: 16px;
  background: #f8faff;
  padding: 16px;
}

.diagnostic-map-item {
  display: grid;
  gap: 10px;
  align-content: start;
}

.diagnostic-map-item em {
  justify-self: start;
  border-radius: 999px;
  background: #3d3bff;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.diagnostic-map-item.warning {
  background:
    linear-gradient(0deg, rgba(61, 59, 255, 0.06), rgba(61, 59, 255, 0.06)),
    #ffffff;
}

.diagnostic-map-item.uncertain {
  border-color: #3d3bff;
  background:
    linear-gradient(0deg, rgba(252, 172, 169, 0.18), rgba(252, 172, 169, 0.18)),
    #ffffff;
}

.diagnostic-map-item.uncertain em {
  background: #fcaca9;
  color: #050506;
}

.diagnostic-map-item small {
  color: #3d3bff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.map-item-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.map-item-head span {
  font-size: 22px;
}

.map-item-head strong {
  color: #050506;
  font-size: 15px;
  line-height: 1.15;
}

.map-item-head b {
  color: #3d3bff;
  font-size: 24px;
  line-height: 1;
}

.map-bar {
  height: 10px;
  border-radius: 999px;
  background: #e6e6f4;
  overflow: hidden;
}

.map-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d3bff, #fcaca9);
}

.diagnostic-map-item p,
.simple-card-grid p,
.activity-direction-grid p,
.next-step-grid p,
.recommendation-reasons p {
  margin: 0;
  color: #5f626b;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 750;
}

.diagnostic-map-summary {
  border: 0;
  border-left: 5px solid #3d3bff;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(18, 24, 42, 0.08);
  padding: 22px 26px;
  color: #283044;
  font-size: 17px;
  line-height: 1.34;
  font-weight: 500;
}

.diagnostic-map-summary strong {
  color: #283044;
  font-weight: 950;
}

.simple-card-grid,
.activity-direction-grid,
.next-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-direction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.next-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.simple-card-grid span,
.activity-direction-grid span,
.next-step-grid span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fcaca9;
  color: #050506;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 950;
}

.simple-card-grid strong,
.activity-direction-grid strong,
.next-step-grid strong {
  color: #050506;
  font-size: 20px;
  line-height: 1.12;
}

.simple-card-grid div,
.activity-direction-grid div,
.next-step-grid div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.activity-match-card {
  position: relative;
  overflow: hidden;
  min-height: 306px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(18, 24, 38, 0.08);
  padding: 28px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-content: start;
}

.activity-match-card::after {
  content: "";
  position: absolute;
  top: -74px;
  right: -74px;
  width: 186px;
  height: 186px;
  border-radius: 50%;
  background: rgba(61, 59, 255, 0.08);
  pointer-events: none;
}

.activity-match-card.tone-2::after {
  background: rgba(184, 92, 255, 0.1);
}

.activity-match-card.tone-3::after {
  background: rgba(255, 151, 57, 0.1);
}

.activity-match-card.tone-4::after {
  background: rgba(17, 195, 162, 0.1);
}

.activity-match-card .activity-match-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #edf1ff;
  color: #3d3bff;
  display: grid;
  place-items: center;
  font-size: 23px;
  line-height: 1;
  z-index: 1;
}

.activity-match-card.tone-2 .activity-match-icon {
  background: #f5e9ff;
  color: #b85cff;
}

.activity-match-card.tone-3 .activity-match-icon {
  background: #fff2df;
  color: #ff7a00;
}

.activity-match-card.tone-4 .activity-match-icon {
  background: #e7fbf6;
  color: #11bfa0;
}

.activity-match-card dl {
  margin: 0;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.activity-match-card dt {
  width: fit-content;
  border-radius: 6px;
  background: #edf1ff;
  color: #3d3bff;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.activity-match-card dd {
  margin: -4px 0 10px;
  color: #172033;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 500;
}

.activity-match-card section {
  grid-column: 1 / -1;
  border-top: 1px solid #e9edf5;
  margin-top: 6px;
  padding-top: 22px;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.activity-direction-grid em {
  justify-self: start;
  border-radius: 6px;
  background: #3d3bff;
  color: #ffffff;
  padding: 7px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

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

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

.recommendation-reasons span {
  display: block;
  margin-bottom: 14px;
  color: #2f64e4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.recommendation-mini {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
}

.recommendation-mini div {
  display: grid;
  gap: 8px;
}

.recommendation-mini small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.42;
  font-weight: 750;
}

.recommendation-mini ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.recommendation-mini li {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.24;
  font-weight: 700;
}

.recommendation-mini li b {
  color: #ffffff;
  font-size: inherit;
}

.recommendation-mini em {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.28;
  font-style: normal;
  font-weight: 800;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.recommendation-mini em i {
  color: #ffffff;
  font-style: normal;
  white-space: nowrap;
}

.profession-intro-section {
  border-radius: 30px;
  background:
    radial-gradient(circle at 68% 18%, rgba(61, 59, 255, 0.34), transparent 32%),
    linear-gradient(135deg, #111722 0%, #101441 54%, #11072b 100%);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 18px;
  color: #ffffff;
  overflow: hidden;
}

.profession-intro-copy,
.profession-entry-card {
  border-radius: 28px;
  padding: clamp(26px, 4vw, 48px);
}

.profession-intro-copy {
  background: #ffffff;
  color: #12182a;
  display: grid;
  gap: 28px;
}

.profession-intro-copy h2 {
  margin: 0;
  max-width: 640px;
  color: #12182a;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
}

.profession-intro-copy p {
  margin: 0;
  max-width: 720px;
  color: #5d626d;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.36;
  font-weight: 600;
}

.profession-entry-card {
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 28px;
}

.profession-start-salary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 32px);
  display: grid;
  gap: 12px;
}

.profession-start-salary span {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.28;
  font-weight: 750;
}

.profession-start-salary strong {
  color: #3d5cff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 950;
}

.profession-entry-list {
  display: grid;
  gap: 18px;
}

.profession-entry-list h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.profession-entry-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.profession-entry-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.28;
  font-weight: 650;
}

.profession-entry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #62f6aa, #b8ff2c);
}

.profession-entry-note {
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1597ff, #7b16ff);
  color: #ffffff;
  padding: 18px 26px;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.24;
  font-weight: 700;
}

.cta-reassurance {
  margin: -12px 0 0;
  color: #5f626b;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.profession-copy,
.archetype-card {
  display: grid;
  gap: 18px;
}

.profession-copy p,
.archetype-card p {
  color: #5f626b;
  font-size: 17px;
  line-height: 1.45;
}

.skills-card,
.qualities-card {
  display: grid;
  gap: 20px;
}

.skills-card h3,
.qualities-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

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

.salary-box {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.salary-box.accent {
  background: var(--coral);
  color: #000000;
}

.salary-box.accent span,
.salary-box.accent strong {
  color: #000000;
}

.salary-box span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.salary-box strong {
  color: var(--coral);
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1;
}

.salary-growth-section {
  border-radius: 30px;
  border: 0;
  background: #ffffff;
  color: #12182a;
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  gap: clamp(48px, 7vw, 82px);
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(18, 24, 38, 0.08);
}

.salary-growth-head {
  display: grid;
  gap: 18px;
}

.salary-growth-head h2 {
  margin: 0;
  max-width: 720px;
  color: #12182a;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.salary-growth-head p {
  margin: 0;
  max-width: 720px;
  color: #46546d;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.42;
  font-weight: 650;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
}

.salary-growth-head p span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  color: #3d3bff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.salary-growth-grid {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
}

.salary-stage {
  min-height: 150px;
  border-radius: 26px;
  border: 1px solid #dfe6f2;
  background: #ffffff;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.salary-stage strong {
  color: #12182a;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1;
  white-space: nowrap;
}

.salary-stage div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.salary-stage span {
  border-radius: 999px;
  background: #12182a;
  color: #ffffff;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 900;
}

.salary-stage small {
  color: #697791;
  font-size: 16px;
  font-weight: 800;
}

.result-tasks-grid {
  grid-template-columns: 1fr;
}

.money-card p,
.task-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.task-card p {
  color: #5f626b;
}

.task-grid {
  margin: 6px 0;
}

.task-pill {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  background: #ffffff;
}

.progress-card {
  display: grid;
  gap: 30px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  background: #ffffff;
}

.roadmap-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}

.roadmap-visual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d63ff 0%, #8478ff 48%, #6d63ff 100%);
  box-shadow: 0 8px 18px rgba(61, 59, 255, 0.16);
}

.roadmap-point {
  position: relative;
  z-index: 1;
  min-height: 170px;
  border: 1px solid #eef1f7;
  border-radius: 16px;
  background: #ffffff;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 13px;
  box-shadow: 0 18px 38px rgba(18, 24, 38, 0.07);
}

.roadmap-point i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef2ff;
  color: #3d3bff;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-style: normal;
}

.roadmap-point span {
  color: #3d3bff;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.roadmap-point strong {
  color: #344052;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.28;
  font-weight: 500;
}

.point-1 {
  min-height: 230px;
  align-self: start;
}

.point-2 {
  min-height: 150px;
  align-self: end;
}

.point-2 i {
  background: #e7fbf4;
  color: #13b68f;
}

.point-3 {
  min-height: 230px;
  align-self: start;
}

.point-3 i {
  background: #f2e6ff;
  color: #9d4dff;
}

.point-4 {
  min-height: 150px;
  align-self: end;
}

.point-4 i {
  background: #fff5de;
  color: #ee9a00;
}

.point-5 {
  min-height: 230px;
  align-self: start;
}

.point-5 i {
  background: #ffe8ee;
  color: #f05677;
}

.point-6 {
  border-color: rgba(61, 59, 255, 0.42);
  background:
    radial-gradient(circle at 82% 12%, rgba(184, 255, 44, 0.66), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef1ff 100%);
  box-shadow:
    0 24px 54px rgba(61, 59, 255, 0.18),
    0 0 0 1px rgba(61, 59, 255, 0.12);
  min-height: 150px;
  align-self: end;
  animation: roadmapFinalPulse 3.2s ease-in-out infinite;
}

.point-6 i {
  background: linear-gradient(135deg, #3d3bff 0%, #b8ff2c 100%);
  color: #6d63ff;
  box-shadow: 0 12px 28px rgba(61, 59, 255, 0.24);
}

.point-6 span,
.point-6 strong {
  color: #12182a;
}

.roadmap-final-note {
  position: static;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(61, 59, 255, 0.2);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 24, 42, 0.12);
  color: #283044;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: center;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 800;
  text-transform: none;
  transform: none;
  overflow-wrap: anywhere;
}

.roadmap-final-note b {
  font-size: 24px;
  line-height: 1;
}

@keyframes roadmapFinalPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 24px 54px rgba(61, 59, 255, 0.18),
      0 0 0 1px rgba(61, 59, 255, 0.12);
  }

  50% {
    transform: translateY(-4px);
    box-shadow:
      0 30px 68px rgba(61, 59, 255, 0.26),
      0 0 0 4px rgba(184, 255, 44, 0.22);
  }
}

.dream-card {
  border-radius: 24px;
  background: linear-gradient(135deg, #2b0b3f 0%, #0f1a32 100%);
  color: #ffffff;
  padding: clamp(24px, 3vw, 38px);
  display: grid;
  gap: 12px;
}

.dream-card span {
  font-size: 30px;
}

.dream-card b {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
}

.dream-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 920px;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.35;
}

.vacancy-shots,
.student-stories,
.success-stories-showcase {
  display: grid;
  gap: 14px;
}

.vacancy-shot,
.story-card {
  border: 2px solid #000000;
  border-radius: 22px;
  background: #ffffff;
  color: #000000;
  padding: 18px;
  box-shadow: 8px 8px 0 rgba(61, 59, 255, 0.42);
}

.vacancy-shot {
  display: grid;
  gap: 10px;
}

.vacancy-shot > div {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.hh-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #d6001c;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.vacancy-shot small,
.vacancy-shot p,
.story-card p {
  margin: 0;
  color: #5f626b;
  line-height: 1.35;
}

.vacancy-shot h3,
.story-card strong {
  margin: 0;
  font-size: 21px;
  line-height: 1.14;
}

.vacancy-shot strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.compact-result h2 {
  font-size: clamp(30px, 7vw, 44px);
}

.light-list p {
  color: #000000;
  padding-left: 0;
}

.light-list p::before {
  display: none;
}

.skillbox-result {
  display: grid;
}

.skillbox-proof-grid {
  display: grid;
  gap: 10px;
}

.skillbox-proof-grid div {
  border: 2px solid #000000;
  border-radius: 18px;
  background: #f7f7ff;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.skillbox-proof-grid span,
.story-card span {
  font-size: 30px;
}

.skillbox-proof-grid strong {
  font-size: 19px;
  line-height: 1.1;
}

.skillbox-proof-grid p {
  margin: 0;
  color: #5f626b;
  line-height: 1.32;
}

.story-card {
  display: grid;
  gap: 8px;
}

.success-stories-showcase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.success-story-card {
  min-height: 210px;
  border: 0;
  border-radius: 26px;
  padding: 16px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.8) 100%),
    var(--story-photo) top center / contain no-repeat,
    var(--story-bg);
  display: grid;
  align-content: end;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.success-story-card::before {
  content: none;
}

.story-emoji {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 22px;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.story-title,
.story-meta {
  position: relative;
  z-index: 1;
}

.story-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
}

.story-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.story-shift-1,
.story-shift-2 {
  min-height: 250px;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(9, 12, 22, 0.78);
  backdrop-filter: blur(10px);
}

.story-modal-card {
  width: min(100%, 980px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 32px;
  background: #ffffff;
  color: #050506;
  padding: 22px;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1001;
}

.story-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #050506;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.story-modal-copy {
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.story-modal-copy > p:first-child {
  margin: 0;
  color: #5f626b;
  font-size: 16px;
  font-weight: 900;
}

.story-modal-copy h2 {
  margin: 0;
  color: #050506;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 0.96;
}

.story-modal-copy > p:not(:first-child) {
  margin: 0;
  max-width: 620px;
  color: #24252b;
  font-size: 19px;
  line-height: 1.42;
}

.story-course,
.story-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.story-course span,
.story-modal-actions span {
  border-radius: 14px;
  background: #f0f0ff;
  color: #050506;
  padding: 10px 12px;
  font-weight: 900;
}

.story-course strong {
  color: #050506;
  text-decoration: underline;
}

.story-modal-actions span:first-child {
  background: #3d3bff;
  color: #ffffff;
}

.story-modal-photo {
  min-height: 360px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.46), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 100%),
    var(--story-photo) top center / contain no-repeat,
    var(--story-bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.skills-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.skills-card li,
.qualities-list p {
  margin: 0;
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.skills-card li::before,
.qualities-list p::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 7px;
}

.gradient-note {
  border-radius: 999px;
  padding: 15px 18px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  line-height: 1.25;
}

.result-section-title {
  margin: 18px 0 0;
  color: white;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.1;
}

.blue-text {
  color: var(--blue);
  font-weight: 900;
}

.photo-strip {
  min-height: 130px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent),
    linear-gradient(135deg, var(--coral) 0%, #ffffff 48%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.photo-strip::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--coral);
  right: 124px;
  top: 22px;
}

.photo-strip::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 48px;
  border-radius: 999px;
  border: 15px solid var(--blue);
  border-left-color: #ffffff;
  right: 184px;
  top: 42px;
  transform: rotate(-3deg);
}

.photo-strip span {
  position: absolute;
  width: 130px;
  height: 180px;
  border-radius: 60px 60px 0 0;
  background: #000000;
  right: 50px;
  top: 64px;
}

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

.result-insights {
  grid-template-columns: 1fr;
}

.result-page > .primary {
  position: relative;
  bottom: auto;
  max-width: 420px;
  justify-self: center;
}

.score-row {
  display: grid;
  gap: 10px;
}

.score-line {
  display: grid;
  gap: 6px;
}

.score-line span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
}

.mini-track {
  height: 8px;
  border-radius: 999px;
  background: #e7eadf;
  overflow: hidden;
}

.mini-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.direction-list {
  display: grid;
  gap: 10px;
}

.direction {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 15px;
  display: grid;
  gap: 5px;
}

.direction strong {
  font-size: 16px;
}

.interaction-list {
  display: grid;
  gap: 10px;
}

.interaction-card {
  display: grid;
  gap: 7px;
}

.offer {
  border-radius: 20px;
  padding: 18px;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 12px;
}

.offer p {
  color: rgba(255, 255, 255, 0.74);
}

.offer .primary {
  background: var(--coral);
  color: var(--ink);
}

.hidden {
  display: none !important;
}

.loader-orbit {
  background: #000000;
}

.loader-progress {
  border: 2px solid #000000;
  background: #ffffff;
}

.loader-step {
  border: 2px solid #000000;
}

.loader-step.active {
  background: var(--blue);
  color: white;
  transform: translateX(4px);
  box-shadow: 4px 4px 0 #000000;
}

.discount-card {
  border: 2px solid #000000;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
}

.discount-card.selected {
  border-color: #000000;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 8px 8px 0 #000000;
}

.discount-result,
.discount-hint,
.result-discount {
  border: 2px solid #ffffff;
}

.result-kicker {
  width: fit-content;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  border: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
}

.result-card-light,
.result-card-dark {
  border: 2px solid #ffffff;
  box-shadow: 10px 10px 0 rgba(61, 59, 255, 0.38);
}

.result-card-light {
  border-color: #000000;
}

.result-card-dark {
  background:
    radial-gradient(circle at 94% 10%, rgba(61, 59, 255, 0.5), transparent 28%),
    #000000;
}

.match-badge {
  border: 0;
  box-shadow: 0 14px 28px rgba(47, 100, 228, 0.28);
}

.chips-row span {
  border: 1px solid #dfe6f2;
  background: #f8faff;
}

.top-profession {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.top-profession span {
  background: #ffc2dd;
  color: #0f1a32;
}

.salary-box {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.gradient-note {
  border: 2px solid #ffffff;
  background: linear-gradient(90deg, var(--blue), #000000);
}

.photo-strip {
  border: 2px solid #000000;
}

.offer {
  border: 2px solid #000000;
  box-shadow: 10px 10px 0 var(--blue);
}

.fixed-bottom-cta.story-cta-stack,
.fixed-bottom-cta.reveal-cta-stack,
.fixed-bottom-cta.multi-cta-stack,
.fixed-bottom-cta.slider-cta-stack,
.fixed-bottom-cta.battery-cta-stack {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 719px) {
  .result-hero-visual {
    width: 100%;
    max-height: 190px;
    opacity: 1;
    order: -1;
  }

  .answer-evidence,
  .diagnostic-map-grid,
  .simple-card-grid,
  .activity-direction-grid,
  .next-step-grid,
  .bridge-flow,
  .work-signal-grid,
  .recommendation-reasons {
    grid-template-columns: 1fr;
  }

  .bridge-flow div:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 18px;
    top: auto;
    bottom: -27px;
    transform: none;
  }

  .recommendation-mini {
    grid-template-columns: 36px 1fr;
  }

  .profession-head {
    grid-template-columns: 1fr;
  }

  .profession-meta-row {
    gap: 16px;
  }

  .profession-characteristics p {
    font-size: 22px;
  }

  .chips-row span {
    font-size: 18px;
    padding: 12px 18px;
  }

  .top-profession-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .recommendation-mini em {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-mini-head h2 {
    font-size: 30px;
  }
}

@media (min-width: 720px) {
  .shell {
    padding: 32px;
  }

  .phone {
    height: min(940px, calc(100vh - 28px));
  }

  .phone.result-mode {
    border-radius: 20px;
  }

  .phone.result-mode .screen {
    padding: 32px 56px 54px;
  }

  .result-discount {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: 30px;
  }

  .result-diagnostic-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
  }

  .result-diagnostic-hero .diagnostic-head {
    max-width: 760px;
  }

  .result-diagnostic-hero .state-summary-frame {
    max-width: 680px;
  }

  .discount-reserve {
    width: 100%;
  }

  .result-top-grid,
  .result-two-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .state-indicators {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .state-key-grid,
  .why-fit-grid,
  .self-help-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .self-help-list div {
    grid-template-columns: 1fr;
  }

  .direction-bridge {
    grid-column: 1 / -1;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: center;
    padding: 24px;
  }

  .visual-profession {
    grid-template-columns: 112px 1fr auto;
  }

  .profession-intro-section {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    align-items: stretch;
  }

  .salary-grid,
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }

  .salary-growth-section {
    padding: 56px;
  }

  .salary-growth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .salary-stage.junior {
    min-height: 190px;
  }

  .salary-stage.middle {
    min-height: 270px;
  }

  .salary-stage.lead {
    min-height: 340px;
  }

  .task-pill:first-child {
    grid-column: 1 / -1;
  }

  .vacancy-shots,
  .student-stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .student-stories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .success-stories-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .success-story-card {
    min-height: 280px;
  }

  .story-shift-1 {
    transform: translateY(48px);
  }

  .story-shift-2 {
    transform: translateY(92px);
  }

  .story-shift-3 {
    transform: translateY(22px);
  }

  .story-modal-card {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 34px;
  }

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

  .profession-main {
    grid-template-columns: 1fr;
  }

  .result-card-light,
  .result-card-dark {
    border-radius: 34px;
    padding: 38px;
  }

  .visual-profession .recommendation-reasons {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-insights {
    grid-template-columns: repeat(3, 1fr);
  }

  .qualities-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding: 18px;
  }

  .phone:not(.result-mode):not(.intro-mode) {
    width: min(100%, 500px);
    height: min(920px, calc(100vh - 36px));
  }

  .phone:not(.result-mode):not(.intro-mode) .brand-line {
    padding: 11px 20px 9px;
  }

  .phone:not(.result-mode):not(.intro-mode) .topbar {
    padding: 11px 20px 8px;
  }

  .phone:not(.result-mode):not(.intro-mode) .screen {
    padding: 17px 24px 21px;
  }

  .phone:not(.result-mode):not(.intro-mode) .content {
    gap: 15px;
    padding-bottom: 110px;
  }

  .phone:not(.result-mode):not(.intro-mode) .content > .primary {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 21px;
    width: auto;
    transform: none;
    min-height: 56px;
    padding: 14px 18px;
    margin-top: 0;
    z-index: 80;
  }

  .phone.intro-mode {
    width: min(100%, 480px);
    height: min(920px, calc(100vh - 36px));
  }

  .phone.intro-mode .brand-line {
    padding: 12px 20px 10px;
  }

  .phone.intro-mode .screen {
    padding: 14px 20px 18px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .phone.intro-mode .intro-content {
    gap: 16px;
    padding-bottom: 138px;
  }

  .phone.intro-mode .intro-content h1 {
    font-size: clamp(28px, 2.46vw, 34px);
    line-height: 1.06;
  }

  .phone.intro-mode .intro-content p {
    font-size: 16px;
    line-height: 1.32;
  }

  .phone.intro-mode .intro-content > .primary {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    width: auto;
    transform: none;
    margin-top: 0;
    z-index: 80;
  }

  .phone.intro-mode .intro-cta-stack .primary {
    width: 100%;
  }

  .phone:not(.result-mode):not(.intro-mode) .content > .primary:not(:disabled):active {
    transform: translateY(4px);
  }

  .phone.intro-mode .intro-content > .primary:not(:disabled):active {
    transform: scale(0.985);
  }

  .mini-story-card {
    min-height: 350px;
    grid-template-rows: 190px minmax(150px, auto);
  }

  .mini-story-photo {
    height: 190px;
  }

  .mini-story-copy {
    gap: 8px;
    padding: 13px;
  }

  .mini-story-copy strong {
    font-size: 18px;
  }

  .result-gate {
    min-height: 500px;
    align-items: start;
  }

  .locked-result-preview {
    gap: 8px;
    transform: scale(0.78);
    transform-origin: top center;
  }

  .locked-result-preview::after {
    top: 20px;
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .locked-card {
    padding: 14px;
    gap: 6px;
  }

  .locked-card.main {
    min-height: 130px;
  }

  .locked-card strong {
    font-size: 20px;
  }

  .locked-card.main strong {
    font-size: 28px;
  }

  .locked-card b {
    font-size: 32px;
  }

  .lead-unlock-card {
    padding: 14px;
    gap: 10px;
    bottom: 4px;
  }

  .lead-unlock-card .field {
    gap: 6px;
  }

  .lead-unlock-card .field input {
    min-height: 50px;
    padding: 12px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .phone:not(.result-mode):not(.intro-mode) .brand-line {
    padding-block: 8px;
  }

  .phone:not(.result-mode):not(.intro-mode) .topbar {
    padding-block: 8px 6px;
  }

  .phone:not(.result-mode):not(.intro-mode) .screen {
    padding-block: 14px 18px;
  }

  .phone:not(.result-mode):not(.intro-mode) .content {
    gap: 13px;
    padding-bottom: 82px;
  }

  .phone:not(.result-mode):not(.intro-mode) h2 {
    font-size: clamp(28px, 4.4vw, 40px);
    line-height: 1.02;
  }

  .phone:not(.result-mode):not(.intro-mode) p {
    font-size: 15px;
    line-height: 1.32;
  }

  .phone:not(.result-mode):not(.intro-mode) .choice {
    min-height: 50px;
    padding: 10px;
  }

  .phone:not(.result-mode):not(.intro-mode) .content > .primary {
    min-height: 52px;
    padding-block: 12px;
  }

  .support-cards.compact {
    gap: 8px;
  }

  .support-cards.compact .support-card {
    gap: 6px;
    padding: 12px;
  }

  .support-cards.compact .support-card span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 17px;
  }

  .support-cards.compact .support-card strong {
    font-size: 15px;
  }

  .support-cards.compact .support-card p {
    font-size: 11px;
    line-height: 1.18;
  }

  .stage-image.recovery img {
    aspect-ratio: 16 / 4.6;
  }

  .stage-image.work img {
    aspect-ratio: 16 / 8.2;
    object-position: center 62%;
  }

  .stage-image.research img {
    aspect-ratio: 16 / 4.8;
  }

  .mini-story-card {
    min-height: 320px;
    grid-template-rows: 165px minmax(145px, auto);
  }

  .mini-story-photo {
    height: 165px;
  }

  .mini-story-copy strong {
    font-size: 17px;
  }

  .result-gate {
    min-height: 460px;
  }

  .locked-result-preview {
    transform: scale(0.7);
  }

  .lead-unlock-card {
    padding: 12px;
  }

  .lead-unlock-card .field input {
    min-height: 46px;
  }
}

@media (max-width: 719px) {
  .lead-content .result-gate {
    min-height: 0;
    align-items: stretch;
    gap: 12px;
  }

  .lead-content .locked-result-preview {
    display: none;
  }

  .lead-content .lead-unlock-card {
    position: relative;
    inset: auto;
  }
}

@media (max-height: 760px) {
  .lead-content .result-gate {
    min-height: 0;
    align-items: stretch;
  }

  .lead-content .locked-result-preview {
    display: none;
  }

  .lead-content .lead-unlock-card {
    position: relative;
    inset: auto;
  }
}

/* Final result: light theme */
.phone.result-mode {
  background:
    radial-gradient(circle at 84% 10%, rgba(61, 59, 255, 0.18), transparent 30%),
    radial-gradient(circle at 12% 66%, rgba(252, 172, 169, 0.28), transparent 28%),
    #f6f6fb;
  border-color: #000000;
}

.phone.result-mode .topbar {
  color: #4d4f59;
}

.phone.result-mode .icon-button {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
}

.phone.result-mode .progress-track {
  background: #e7e7f7;
  border-color: rgba(0, 0, 0, 0.14);
}

.phone.result-mode .progress-meta {
  color: #555762;
}

.result-page {
  color: #050506;
}

.result-diagnostic-hero {
  border: 2px solid #000000;
  background:
    radial-gradient(circle at 88% 8%, rgba(61, 59, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f0f0ff 100%);
  color: #050506;
  box-shadow: 10px 10px 0 rgba(61, 59, 255, 0.2);
}

.diagnostic-head > p {
  color: #3d3bff;
  background: rgba(61, 59, 255, 0.08);
}

.diagnostic-head h1 {
  color: #3d3bff;
}

.result-hero-visual {
  opacity: 1;
  mix-blend-mode: normal;
}

.state-support {
  display: block;
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #050506;
  font-weight: 500;
  text-transform: none;
}

.state-summary-frame,
.answer-evidence div {
  background: rgba(61, 59, 255, 0.08);
}

.state-explain strong {
  color: #050506;
}

.state-explain span,
.answer-evidence strong {
  color: #4f525d;
}

.answer-evidence small {
  color: #3d3bff;
}

.state-tags span {
  background: #3d3bff;
  color: #ffffff;
}

.diagnostic-panel,
.signal-card,
.result-meaning-card,
.meaning-points div {
  border: 2px solid #000000;
  background: #ffffff;
}

.diagnostic-panel .state-indicator-row span,
.diagnostic-panel .state-indicator small {
  color: #5b5e68;
}

.diagnostic-panel .state-indicator-row span {
  color: #050506;
}

.diagnostic-panel .state-indicator-row strong {
  color: #050506;
  min-width: 78px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  white-space: nowrap;
}

.diagnostic-panel .state-bar {
  background: #ececf8;
}

.signal-card span {
  background: #f0f0ff;
}

.signal-card strong {
  color: #050506;
}

.signal-card p {
  color: #60636d;
}

.signal-card.accent {
  border-color: #000000;
  background: #3d3bff;
  color: #ffffff;
}

.signal-card.accent strong,
.signal-card.accent p {
  color: #ffffff;
}

.diagnostic-summary {
  border: 2px solid #000000;
  background: #fcaca9;
}

.summary-step span {
  color: rgba(0, 0, 0, 0.58);
}

.summary-step strong {
  color: #000000;
}

.diagnostic-summary i {
  background: rgba(0, 0, 0, 0.56);
}

.result-meaning-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(61, 59, 255, 0.1), transparent 30%),
    #ffffff;
  color: #050506;
}

.result-meaning-card.result-card-dark {
  color: #050506;
}

.result-meaning-card > div:first-child > span,
.result-bridge > span {
  color: #3d3bff;
  background: rgba(61, 59, 255, 0.08);
}

.result-meaning-card > div:first-child > span {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  width: fit-content;
  max-width: max-content;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.result-meaning-card h2 {
  color: #050506;
}

.result-meaning-card p {
  color: #50535d;
}

.result-meaning-card .work-signal-card {
  border: 2px solid #000000;
  background: #ffffff;
}

.result-meaning-card .work-signal-card > strong {
  color: #050506;
}

.result-meaning-card .work-signal-grid div {
  background: #f7f7ff;
}

.result-meaning-card .work-signal-grid span {
  background: #3d3bff;
  color: #ffffff;
}

.result-meaning-card .work-signal-grid p,
.result-meaning-card .work-signal-card > p {
  color: #50535d;
}

.result-meaning-card .work-signal-card > p {
  background: rgba(61, 59, 255, 0.08);
}

.result-meaning-card .work-signal-card b {
  color: #3d3bff;
}

.meaning-points span {
  background: #3d3bff;
  color: #ffffff;
}

.meaning-points strong {
  color: #050506;
}

.meaning-points .accent {
  background: #3d3bff;
  color: #ffffff;
}

.meaning-points .accent span {
  background: #ffffff;
  color: #3d3bff;
}

.meaning-points .accent strong {
  color: #ffffff;
}

.result-section-title {
  color: #050506;
}

.salary-growth-section {
  border: 0;
  background: #ffffff;
  color: #050506;
  box-shadow: 0 24px 54px rgba(18, 24, 38, 0.08);
}

.profession-details-card {
  display: grid;
  gap: 18px;
  border: 2px solid #000000;
  box-shadow: 10px 10px 0 rgba(61, 59, 255, 0.35);
}

.profession-details-card h2 {
  margin: 0;
  color: #050506;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.04;
}

.profession-details-card > p {
  margin: 0;
  max-width: 860px;
  color: #50535d;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.28;
  font-weight: 750;
}

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

.profession-fact-grid div {
  border-radius: 18px;
  background: #f1f1ff;
  border: 2px solid #000000;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.profession-fact-grid span,
.profession-details-card small {
  color: #5d606a;
  font-weight: 900;
  line-height: 1.2;
}

.profession-fact-grid span {
  font-size: 12px;
  text-transform: uppercase;
}

.profession-fact-grid strong {
  color: #050506;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.profession-details-card small {
  display: block;
  max-width: 900px;
  font-size: 14px;
}

.salary-growth-head h2,
.salary-stage strong {
  color: #12182a;
}

.salary-growth-head p {
  color: #46546d;
}

.salary-growth-head p span {
  background: #eef2ff;
  color: #3d3bff;
}

.salary-stage {
  background: #ffffff;
  border: 1px solid #dfe6f2;
}

.salary-stage span {
  background: #12182a;
  color: #ffffff;
}

.salary-stage small {
  color: #697791;
}

.diagnostic-panel .state-indicator .state-indicator-row {
  height: auto;
  min-height: 32px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.diagnostic-panel .state-indicator .state-indicator-row strong {
  display: block;
  align-self: center;
}

.diagnostic-panel .state-indicator .state-indicator-row > span {
  color: #050506;
  font-size: clamp(18px, 1.55vw, 24px) !important;
  font-weight: 950;
  line-height: 1.15;
}

.diagnostic-panel .state-indicator .state-indicator-row strong {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
}

.diagnostic-panel .state-indicator small {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.25;
  font-weight: 750;
}

.diagnostic-panel .state-bar {
  margin-top: 2px;
}

/* Result page sizing pass */
.phone.result-mode .screen {
  padding: 24px 32px 40px;
}

.result-page {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  gap: 22px;
}

.result-diagnostic-hero,
.result-card-light,
.result-card-dark,
.activity-directions-card,
.profession-intro-section,
.salary-growth-section {
  padding: clamp(24px, 3vw, 40px);
}

.result-diagnostic-hero {
  min-height: auto;
}

.diagnostic-head h1 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.state-support {
  font-size: clamp(18px, 1.8vw, 22px);
}

.state-explain span,
.result-meaning-card p,
.activity-directions-card .section-mini-head p,
.profession-intro-copy p,
.salary-growth-head p {
  font-size: clamp(16px, 1.55vw, 20px);
}

.activity-directions-card .section-mini-head h2,
.result-section-title,
.salary-growth-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
}

.profession-main h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}

.result-muted {
  font-size: clamp(15px, 1.35vw, 17px);
}

.match-badge {
  width: 118px;
  min-height: 88px;
  padding: 12px 14px;
}

.match-badge strong {
  font-size: clamp(34px, 3.4vw, 44px);
}

.profession-meta-row {
  gap: 20px;
}

.profession-characteristics {
  min-width: 0;
}

.profession-characteristics p {
  font-size: clamp(18px, 1.65vw, 22px);
}

.chips-row span {
  padding: 10px 18px;
  font-size: clamp(16px, 1.45vw, 20px);
}

.top-three {
  gap: 14px;
}

.top-profession {
  padding: 18px;
}

.top-profession-head b {
  font-size: 22px;
}

.profession-stage {
  max-width: 1080px;
  justify-self: center;
  width: 100%;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(61, 59, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f5f5ff 100%);
  border: 0;
  box-shadow: 0 24px 58px rgba(18, 24, 38, 0.08);
  padding: clamp(24px, 3vw, 42px);
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
  overflow: hidden;
}

.profession-stage-title {
  display: block;
  max-width: 780px;
  margin: 0;
  color: #12182a;
  font-size: clamp(30px, 3.35vw, 42px);
  line-height: 1.08;
  text-align: left;
}

.profession-stage .result-top-grid {
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 30px);
}

.profession-stage .visual-profession {
  min-height: 0;
  border: 1px solid #edf1f7;
  border-radius: 22px;
  background: #ffffff;
  padding: clamp(22px, 2.4vw, 32px);
  grid-template-columns: 1fr;
  gap: clamp(22px, 2.5vw, 34px);
  box-shadow: none;
}

.profession-stage .profession-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.profession-stage .profession-head > div {
  min-width: 0;
}

.profession-stage .profession-head > div:first-child {
  max-width: calc(100% - 150px);
}

.profession-stage .result-muted {
  margin: 0 0 8px;
  color: #5d626d;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.2;
  font-weight: 500;
  text-transform: none;
}

.profession-stage .profession-main h2 {
  max-width: none;
  font-size: clamp(30px, 2.75vw, 40px);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.profession-stage .match-badge {
  width: clamp(130px, 9.5vw, 142px);
  min-height: 88px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1597ff 0%, #3d3bff 46%, #7b16ff 100%);
  color: #ffffff;
  padding: 12px;
  box-shadow: none;
}

.profession-stage .match-badge span {
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.profession-stage .match-badge strong {
  color: #b8ff2c;
  font-size: clamp(34px, 3vw, 44px);
}

.profession-stage .profession-characteristics p {
  font-size: clamp(14px, 1.2vw, 17px);
}

.profession-stage .chips-row {
  gap: 8px;
}

.profession-stage .chips-row span {
  padding: 8px 14px;
  font-size: clamp(13px, 1vw, 15px);
}

.profession-stage .profession-intro-section {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #edf1f7;
  overflow: hidden;
  align-items: stretch;
  display: block;
}

.profession-stage .profession-intro-copy {
  height: 100%;
  border-radius: 22px;
  padding: clamp(22px, 2.4vw, 32px);
}

.profession-stage .profession-intro-copy {
  gap: 18px;
}

.profession-stage .profession-intro-copy h2 {
  max-width: 380px;
  font-size: clamp(26px, 2.4vw, 34px);
}

.profession-stage .profession-intro-copy p {
  max-width: 520px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.42;
}

.profession-benefits {
  display: grid;
  gap: 18px;
}

.profession-benefits h3 {
  margin: 0;
  color: #12182a;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  text-align: center;
}

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

.profession-benefit-card {
  min-height: 150px;
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: #ffffff;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.profession-benefit-card span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1597ff, #7b16ff);
  display: grid;
  place-items: center;
  font-size: 19px;
}

.profession-benefit-card strong {
  color: #12182a;
  font-size: 17px;
  line-height: 1.18;
}

.profession-benefit-card p {
  margin: 0;
  color: #697791;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 650;
}

.profession-stage .profession-entry-card {
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(18px, 2.4vw, 32px);
}

.profession-stage .profession-start-salary {
  border: 1px solid #dfe6f2;
  border-radius: 22px;
  background: #ffffff;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 34px);
  grid-template-columns: 1fr;
  align-content: center;
  gap: clamp(22px, 2.6vw, 34px);
}

.profession-stage .salary-metric {
  display: grid;
  align-content: center;
  gap: 14px;
}

.profession-stage .salary-metric-potential {
  border-top: 1px solid #dfe6f2;
  padding-top: clamp(18px, 2.2vw, 26px);
}

.profession-stage .salary-metric span {
  color: #46546d;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.35;
  font-weight: 650;
}

.profession-stage .salary-metric strong {
  color: #3d3bff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
  max-width: 100%;
  overflow-wrap: normal;
}

.profession-stage .salary-metric:first-child strong {
  font-size: clamp(36px, 3.6vw, 54px);
  white-space: nowrap;
}

.profession-stage .profession-entry-list {
  border: 1px solid #edf1f7;
  border-radius: 22px;
  background: #ffffff;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 34px);
}

.profession-stage .profession-entry-list h3 {
  color: #12182a;
  font-size: clamp(21px, 1.9vw, 28px);
}

.profession-stage .profession-entry-list li {
  color: #4f5b73;
  font-size: clamp(14px, 1.15vw, 16px);
}

.profession-stage .profession-entry-note {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: clamp(16px, 1.35vw, 19px);
  box-shadow: 0 12px 26px rgba(61, 59, 255, 0.18);
}

.profession-intro-section {
  min-height: 560px;
  gap: clamp(18px, 2.2vw, 30px);
  align-items: start;
}

.profession-intro-copy,
.profession-entry-card {
  padding: clamp(24px, 2.8vw, 38px);
}

.profession-intro-copy {
  gap: 20px;
}

.profession-intro-copy h2 {
  max-width: 520px;
  font-size: clamp(32px, 4.4vw, 56px);
}

.profession-entry-card {
  align-self: start;
  gap: 20px;
}

.profession-start-salary {
  padding: clamp(18px, 2vw, 26px);
}

.profession-start-salary span {
  font-size: clamp(16px, 1.55vw, 20px);
}

.profession-start-salary strong {
  font-size: clamp(38px, 4.6vw, 64px);
}

.profession-entry-list {
  gap: 14px;
}

.profession-entry-list h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.profession-entry-list li {
  font-size: clamp(16px, 1.55vw, 20px);
}

.profession-entry-note {
  border-radius: 24px;
  padding: 16px 22px;
  font-size: clamp(16px, 1.55vw, 20px);
}

.salary-growth-section {
  gap: clamp(34px, 4.5vw, 56px);
}

.salary-growth-head h2 {
  max-width: 660px;
}

.salary-stage {
  padding: 22px;
}

.salary-stage strong {
  font-size: clamp(34px, 4.6vw, 64px);
}

@media (min-width: 768px) {
  .phone.result-mode {
    width: min(100%, 1480px);
  }

  .profession-intro-section {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  }

  .result-top-grid,
  .result-two-grid {
    gap: 28px;
  }

  .salary-growth-section {
    padding: 44px;
  }

  .salary-stage.junior {
    min-height: 160px;
  }

  .salary-stage.middle {
    min-height: 220px;
  }

  .salary-stage.lead {
    min-height: 280px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .profession-stage .result-top-grid,
  .profession-stage .profession-entry-card {
    grid-template-columns: 1fr;
  }

  .profession-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .phone.result-mode .screen {
    padding: 16px 18px 28px;
  }

  .result-page {
    gap: 18px;
  }

  .result-diagnostic-hero,
  .result-card-light,
  .result-card-dark,
  .activity-directions-card,
  .profession-intro-section,
  .salary-growth-section {
    padding: 18px;
    border-radius: 22px;
  }

  .profession-intro-section {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .profession-stage {
    border-radius: 24px;
    padding: 18px;
    gap: 22px;
  }

  .profession-stage .result-top-grid,
  .profession-stage .profession-entry-card,
  .profession-stage .profession-start-salary {
    grid-template-columns: 1fr;
  }

  .profession-stage .visual-profession {
    min-height: 0;
    padding: 20px;
    border-radius: 24px;
  }

  .profession-stage .profession-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profession-stage .profession-head > div:first-child {
    max-width: none;
  }

  .profession-stage .match-badge {
    justify-self: start;
    width: 136px;
    min-height: 78px;
    padding: 10px 12px;
  }

  .profession-stage .match-badge span {
    font-size: 10px;
  }

  .profession-stage .match-badge strong {
    font-size: 30px;
  }

  .profession-stage .result-muted {
    font-size: 16px;
  }

  .profession-stage .profession-characteristics p {
    font-size: 15px;
  }

  .profession-stage .profession-main h2,
  .profession-stage .profession-intro-copy h2 {
    font-size: 27px;
  }

  .profession-stage .profession-main h2 {
    max-width: none;
  }

  .profession-stage .chips-row span {
    padding: 7px 10px;
    font-size: 13px;
  }

  .profession-stage .profession-intro-copy,
  .profession-stage .profession-entry-card {
    border-radius: 24px;
  }

  .profession-stage .profession-intro-copy {
    padding: 20px;
  }

  .profession-stage .profession-intro-copy {
    gap: 14px;
  }

  .profession-stage .profession-intro-copy p {
    font-size: 15px;
  }

  .profession-stage .profession-start-salary strong {
    font-size: clamp(30px, 8.5vw, 34px);
  }

  .profession-stage .salary-metric:first-child strong {
    font-size: clamp(32px, 9vw, 38px);
  }

  .profession-benefits {
    gap: 14px;
  }

  .profession-benefits h3 {
    text-align: left;
    font-size: 24px;
  }

  .profession-benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .profession-benefit-card {
    min-height: 124px;
    padding: 14px;
    border-radius: 16px;
  }

  .profession-benefit-card span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 15px;
  }

  .profession-benefit-card strong {
    font-size: 14px;
  }

  .profession-benefit-card p {
    font-size: 12px;
  }

  .profession-stage .profession-start-salary,
  .profession-stage .profession-entry-list {
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  .profession-stage .profession-entry-list h3 {
    font-size: 21px;
  }

  .profession-stage .profession-entry-note {
    padding: 16px;
    font-size: 14px;
  }

  .result-top-grid,
  .result-two-grid,
  .salary-growth-grid {
    grid-template-columns: 1fr;
  }

  .profession-intro-copy h2,
  .activity-directions-card .section-mini-head h2,
  .result-section-title,
  .salary-growth-head h2 {
    font-size: 34px;
  }

  .profession-main h2 {
    font-size: 34px;
  }

  .match-badge {
    width: 112px;
  }

  .chips-row span {
    padding: 10px 16px;
  }

  .salary-growth-grid {
    gap: 14px;
  }

  .progress-card {
    padding: 18px;
    gap: 18px;
  }

  .roadmap-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 12px 0 12px 26px;
    align-items: stretch;
  }

  .roadmap-visual::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 28px;
    bottom: 28px;
    width: 5px;
    height: auto;
    border-radius: 999px;
    background: linear-gradient(180deg, #3d3bff, #9d4dff, #fcaca9);
    box-shadow: 0 0 0 7px rgba(61, 59, 255, 0.06);
    z-index: 0;
  }

  .roadmap-line {
    display: none;
  }

  .roadmap-point,
  .point-1,
  .point-2,
  .point-3,
  .point-4,
  .point-5,
  .point-6 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }

  .roadmap-point {
    min-height: 0;
    padding: 18px 16px;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    overflow: visible;
    box-shadow: 0 14px 30px rgba(18, 24, 38, 0.07);
    z-index: 1;
  }

  .roadmap-point::before {
    content: "";
    position: absolute;
    left: -23px;
    right: auto;
    top: 28px;
    bottom: auto;
    width: 13px;
    height: 13px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: #3d3bff;
    box-shadow: 0 0 0 3px rgba(61, 59, 255, 0.22), 0 8px 18px rgba(61, 59, 255, 0.24);
  }

  .roadmap-point i {
    width: 34px;
    height: 34px;
    grid-row: 1 / 3;
    font-size: 15px;
  }

  .roadmap-point span {
    font-size: 11px;
  }

  .roadmap-point strong {
    font-size: 14px;
  }

  .roadmap-final-note {
    grid-column: 1 / -1;
  }

  .dream-card {
    border-radius: 20px;
    padding: 20px;
  }

  .dream-card b {
    font-size: 24px;
  }

  .dream-card p {
    font-size: 15px;
  }

  .salary-stage,
  .salary-stage.junior,
  .salary-stage.middle,
  .salary-stage.lead {
    min-height: 150px;
  }
}

/* Final result sizing tuned for the unified 1080px grid. */
.result-page {
  gap: 18px;
}

.result-page > .result-diagnostic-hero,
.result-page > .diagnostic-map-card,
.result-page > .result-meaning-card,
.result-page > .activity-directions-card,
.result-page > .result-discount,
.result-page > .profession-stage,
.result-page > .profession-recommendation,
.result-page > .profession-comparison,
.result-page > .progress-card {
  padding: clamp(26px, 3vw, 38px);
}

.result-diagnostic-hero {
  grid-template-columns: minmax(0, 0.48fr) minmax(380px, 0.52fr);
  gap: clamp(26px, 3.2vw, 42px);
}

.diagnostic-head h1 {
  max-width: 520px;
  font-size: clamp(42px, 4.7vw, 58px);
  line-height: 0.98;
}

.state-summary-frame {
  max-width: 460px;
  padding: 18px 22px;
}

.state-support {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.36;
}

.result-hero-visual {
  max-width: 500px;
  justify-self: end;
}

.diagnostic-map-card .section-mini-head h2,
.result-meaning-card h2,
.activity-directions-card .section-mini-head h2,
.profession-recommendation h2,
.progress-card .roadmap-title {
  font-size: clamp(30px, 3.35vw, 42px);
  line-height: 1.08;
}

.diagnostic-map-card .section-mini-head p,
.result-meaning-card p,
.activity-directions-card .section-mini-head p {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.42;
}

.result-meaning-card {
  grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
}

.result-meaning-card > div:first-child {
  max-width: 540px;
}

.result-meaning-card .work-signal-card {
  padding: 16px;
  border-radius: 22px;
}

.result-meaning-card .work-signal-card > strong {
  font-size: 18px;
}

.result-meaning-card .work-signal-grid {
  gap: 10px;
}

.result-meaning-card .work-signal-grid div {
  min-height: 128px;
  padding: 14px;
  border-radius: 16px;
}

.result-meaning-card .work-signal-grid span {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.result-meaning-card .work-signal-grid p {
  font-size: 15px;
  line-height: 1.24;
}

.activity-directions-card {
  gap: 28px;
}

.activity-directions-card .section-mini-head {
  max-width: 760px;
}

.activity-direction-grid {
  gap: 18px;
}

.activity-match-card {
  min-height: 0;
}

.activity-directions-card {
  gap: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(61, 59, 255, 0.12), transparent 32%),
    linear-gradient(145deg, #f7f8ff 0%, #efefff 100%);
}

.activity-directions-card .section-mini-head {
  max-width: 760px;
  gap: 10px;
  justify-items: start;
  margin: 0;
  text-align: left;
}

.activity-directions-card .section-mini-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.activity-directions-card .section-mini-head p {
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 700;
}

.activity-direction-grid {
  gap: 16px;
}

.activity-match-card {
  min-height: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  padding: 18px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px 16px;
}

.activity-match-card::after {
  display: none;
}

.activity-match-card .activity-match-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(18, 24, 38, 0.08);
}

.activity-match-card dl {
  gap: 8px;
}

.activity-match-card dt {
  position: relative;
  background: transparent;
  padding: 0 0 0 12px;
  color: #2f64e4;
}

.activity-match-card dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.activity-match-card dd {
  margin: -5px 0 8px;
  font-size: 14px;
  line-height: 1.28;
}

.activity-match-card section {
  margin-top: 2px;
  padding-top: 16px;
  gap: 5px;
}

.activity-direction-grid em {
  display: none;
}

.activity-match-card strong {
  color: #5b62ff;
  font-size: 19px;
}

.activity-match-card section p {
  font-size: 14px;
  line-height: 1.28;
}

.compact-discount {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 26px;
}

.compact-discount .result-discount-copy strong {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
}

.compact-discount .result-discount-copy p {
  max-width: 560px;
  font-size: 17px;
}

.profession-stage .profession-main h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.profession-stage .profession-intro-copy h2,
.profession-benefits h3,
.profession-stage .profession-entry-list h3 {
  font-size: clamp(24px, 2.45vw, 32px);
}

.profession-stage .profession-intro-copy p,
.profession-stage .profession-entry-list li,
.profession-benefit-card p {
  font-size: 15px;
}

.recommendation-talent-head strong {
  font-size: clamp(28px, 2.8vw, 38px);
}

.phone.result-mode .screen {
  padding-bottom: 70px;
}

.phone.result-mode.result-sticky-hidden .screen {
  padding-bottom: 24px;
}

.result-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  gap: 14px;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 64px;
  border-radius: 0;
  padding: 8px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  background: #b8ffb1;
  box-shadow: 0 -8px 22px rgba(18, 24, 42, 0.08);
  box-sizing: border-box;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.result-sticky-cta.is-hidden-near-form {
  transform: translateY(calc(100% + 18px));
  opacity: 0;
  pointer-events: none;
}

.result-sticky-cta-copy {
  display: block;
  gap: 5px;
  min-width: 0;
}

.result-sticky-cta-copy strong {
  color: #05070d;
  font-size: 19px;
  line-height: 1.16;
  font-weight: 950;
}

.result-sticky-cta-copy span {
  max-width: none;
  color: rgba(5, 7, 13, 0.72);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 600;
}

.result-sticky-cta-copy b {
  color: #443bff;
  font-weight: 950;
  white-space: nowrap;
}

.result-sticky-mobile-text,
.result-button-mobile-text {
  display: none;
}

.result-sticky-mobile-timer {
  display: block;
  color: rgba(5, 7, 13, 0.76);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-sticky-mobile-timer b {
  color: #443bff;
  font-weight: 950;
}

.result-sticky-cta-controls {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  justify-content: start;
  align-items: center;
  width: auto;
  max-width: none;
}

.result-sticky-cta-controls::before {
  content: "👉";
  align-self: center;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 7px 10px rgba(5, 7, 13, 0.16));
  animation: consultationFingerPoint 2.2s ease-in-out infinite;
  pointer-events: none;
}

.result-sticky-cta-offer {
  display: none;
  min-width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 2px;
  align-items: baseline;
}

.result-sticky-cta-offer span,
.result-sticky-cta-offer em {
  color: rgba(5, 7, 13, 0.72);
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.result-sticky-cta-offer strong {
  color: #05070d;
  font-size: 20px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.result-sticky-cta-offer b {
  color: #05070d;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

.result-sticky-cta-button {
  position: relative;
  width: auto;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f38ff 0%, #5d63ff 100%);
  box-shadow: 0 12px 26px rgba(47, 56, 255, 0.24);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 950 15px/1.08 inherit;
  padding: 10px 18px;
  white-space: nowrap;
  animation: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.result-sticky-cta-button::after {
  display: none;
}

.result-sticky-cta-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(47, 56, 255, 0.32);
}

.result-sticky-cta-button:disabled {
  cursor: default;
  opacity: 0.86;
}

.result-sticky-cta-button.success {
  background: #e9f8ee;
  box-shadow: none;
  color: #16743a;
  animation: none;
  line-height: 1.2;
}

.result-sticky-cta-button.success::after,
.result-sticky-cta-button:disabled::after {
  display: none;
}

@keyframes consultationPulse {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(47, 56, 255, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  50% {
    box-shadow:
      0 18px 42px rgba(47, 56, 255, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

@keyframes consultationFingerTap {
  0%,
  58%,
  100% {
    transform: translate(0, 0) rotate(-10deg) scale(1);
  }

  68% {
    transform: translate(-4px, -8px) rotate(-10deg) scale(0.94);
  }

  78% {
    transform: translate(-2px, -4px) rotate(-10deg) scale(1.02);
  }
}

@keyframes consultationFingerPoint {
  0%,
  58%,
  100% {
    transform: translateX(0) scale(1);
  }

  68% {
    transform: translateX(7px) scale(0.96);
  }

  78% {
    transform: translateX(3px) scale(1.02);
  }
}

@keyframes resultPlanBgDrift {
  0% {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, -2%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(4%, 2%, 0) scale(1.02);
  }
}

.result-sticky-cta-error {
  display: none;
  grid-column: 1 / -1;
  min-height: 14px;
  color: #9a2424;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

.recommendation-quality-card h3 {
  font-size: clamp(23px, 2.1vw, 30px);
}

.recommendation-reason-item p,
.recommendation-quality-grid p,
.recommendation-summary {
  font-size: 14px;
  line-height: 1.38;
}

.progress-card {
  gap: 22px;
}

@media (min-width: 768px) and (max-width: 1160px) {
  .result-page > .result-diagnostic-hero,
  .result-page > .diagnostic-map-card,
  .result-page > .result-meaning-card,
  .result-page > .activity-directions-card,
  .result-page > .result-discount,
  .result-page > .profession-stage,
  .result-page > .profession-recommendation,
  .result-page > .progress-card {
    max-width: calc(100vw - 64px);
  }

  .diagnostic-head h1 {
    font-size: clamp(40px, 4.6vw, 52px);
  }
}

@media (max-width: 767px) {
  .result-page {
    gap: 16px;
  }

  .result-page > .result-diagnostic-hero,
  .result-page > .diagnostic-map-card,
  .result-page > .result-meaning-card,
  .result-page > .activity-directions-card,
  .result-page > .result-discount,
  .result-page > .profession-stage,
  .result-page > .profession-recommendation,
  .result-page > .progress-card {
    padding: 18px;
  }

  .result-diagnostic-hero,
  .result-meaning-card,
  .compact-discount {
    grid-template-columns: 1fr;
  }

  .diagnostic-head h1 {
    font-size: clamp(34px, 10.4vw, 42px);
  }

  .diagnostic-map-card .section-mini-head h2,
  .result-meaning-card h2,
  .activity-directions-card .section-mini-head h2,
  .profession-recommendation h2,
  .progress-card .roadmap-title {
    font-size: 30px;
  }

  .result-meaning-card .work-signal-grid,
  .diagnostic-map-grid {
    grid-template-columns: 1fr;
  }

  .result-meaning-card .work-signal-grid div {
    min-height: 0;
  }

  .phone.result-mode .screen {
    padding-bottom: 86px;
  }

  .result-sticky-cta {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 76px;
    padding: 8px 14px;
  }

  .result-sticky-cta-copy strong {
    font-size: 16px;
    line-height: 1.08;
  }

  .result-sticky-desktop-text,
  .result-button-desktop-text {
    display: none;
  }

  .result-sticky-mobile-text,
  .result-button-mobile-text {
    display: inline;
  }

  .result-sticky-mobile-text {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    line-height: 1.12;
  }

  .result-sticky-mobile-text b {
    color: #05070d;
    font-size: 15px;
    white-space: nowrap;
  }

  .result-sticky-mobile-text small {
    color: rgba(5, 7, 13, 0.72);
    font-size: 12px;
    line-height: 1.16;
    font-weight: 800;
  }

  .result-sticky-cta-copy span {
    font-size: 15px;
  }

  .result-sticky-cta-controls {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    justify-content: stretch;
  }

  .result-sticky-cta-controls::before {
    font-size: 22px;
  }

  .result-sticky-cta-offer {
    display: none;
  }

  .result-sticky-cta-button,
  .result-sticky-cta-button.success {
    width: 100%;
    min-height: 38px;
    font-size: 13px;
    padding: 9px 12px;
  }

  .result-sticky-cta-button::after {
    right: 10px;
    bottom: -26px;
    font-size: 32px;
  }

.result-sticky-mobile-timer {
    grid-column: 1 / -1;
    display: none;
    color: rgba(5, 7, 13, 0.78);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
  }
}

.result-side-nav {
  position: fixed;
  top: 156px;
  right: max(18px, calc((100vw - 1400px) / 2));
  z-index: 40;
  width: 118px;
  border: 1px solid rgba(18, 24, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(18, 24, 42, 0.07);
  backdrop-filter: blur(14px);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.result-side-nav span {
  margin: 0 0 4px;
  color: #7a8190;
  font-size: 10px;
  line-height: 1.12;
  font-weight: 800;
  text-transform: uppercase;
}

.result-side-nav a {
  border-radius: 10px;
  color: #535b70;
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.result-side-nav a:hover {
  background: rgba(61, 59, 255, 0.08);
  color: #3d3bff;
}

.phone.result-mode .screen {
  scroll-behavior: smooth;
}

#result-summary,
#result-diagnostics,
#result-work,
#result-growth-tasks,
#result-discount,
#result-profession,
#result-recommendation,
#result-roadmap {
  scroll-margin-top: 18px;
}

@media (max-width: 1320px) {
  .result-side-nav {
    display: none;
  }
}

/* Keep the final result page soft: no black frames or offset purple shadows. */
.phone.result-mode .result-card-light,
.phone.result-mode .result-card-dark,
.phone.result-mode .result-diagnostic-hero,
.phone.result-mode .diagnostic-map-card,
.phone.result-mode .result-meaning-card,
.phone.result-mode .activity-directions-card,
.phone.result-mode .profession-stage,
.phone.result-mode .profession-recommendation,
.phone.result-mode .profession-comparison,
.phone.result-mode .progress-card {
  border: 0;
  box-shadow: 0 24px 58px rgba(18, 24, 38, 0.08);
}

.phone.result-mode .diagnostic-map-summary,
.phone.result-mode .result-meaning-card .work-signal-card,
.phone.result-mode .result-plan-lead-card,
.phone.result-mode .profession-stage .visual-profession,
.phone.result-mode .profession-stage .profession-intro-section,
.phone.result-mode .profession-stage .profession-start-salary,
.phone.result-mode .profession-stage .profession-entry-list,
.phone.result-mode .profession-benefit-card,
.phone.result-mode .recommendation-talent-card,
.phone.result-mode .recommendation-quality-card,
.phone.result-mode .recommendation-reason-item,
.phone.result-mode .recommendation-quality-grid div,
.phone.result-mode .profession-comparison-list,
.phone.result-mode .comparison-row {
  border: 1px solid #edf1f7;
  box-shadow: none;
}

.phone.result-mode .diagnostic-map-summary {
  border: 0;
  border-left: 5px solid #3d3bff;
  box-shadow: 0 18px 44px rgba(18, 24, 42, 0.08);
}

.profession-comparison {
  width: 100%;
  max-width: 1080px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(61, 59, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f5f7ff 100%);
  padding: clamp(26px, 3vw, 38px);
  display: grid;
  gap: 20px;
}

.result-plan-lead-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1080px;
  border: 2px solid rgba(5, 7, 13, 0.34);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 255, 44, 0.92), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(255, 170, 165, 0.72), transparent 38%),
    linear-gradient(120deg, #fff2da 0%, #edf1ff 48%, #d9ddff 100%);
  box-shadow: 0 28px 70px rgba(61, 59, 255, 0.18);
  padding: clamp(24px, 3vw, 38px);
  box-sizing: border-box;
  isolation: isolate;
}

.phone.result-mode .result-plan-lead-card {
  border: 2px solid rgba(5, 7, 13, 0.34);
}

.result-plan-lead-card::before {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 74%, rgba(255, 170, 165, 0.64), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(184, 255, 44, 0.72), transparent 30%),
    radial-gradient(circle at 58% 48%, rgba(61, 59, 255, 0.18), transparent 34%);
  animation: resultPlanBgDrift 8s ease-in-out infinite alternate;
  will-change: transform;
}

.result-plan-lead-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
}

.result-plan-lead-copy {
  display: grid;
  gap: 14px;
}

.result-plan-lead-copy > span {
  width: fit-content;
  border: 1px solid rgba(61, 59, 255, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: #3d3bff;
  box-shadow: 0 8px 20px rgba(61, 59, 255, 0.08);
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.result-plan-lead-copy h2 {
  margin: 0;
  color: #12182a;
  font-size: clamp(30px, 3.45vw, 46px);
  line-height: 1.04;
}

.result-plan-lead-copy ul {
  margin: 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 9px;
  list-style: none;
}

.result-plan-lead-copy p {
  max-width: 720px;
  margin: 0;
  color: #4f5b73;
  font-size: 18px;
  line-height: 1.34;
  font-weight: 650;
}

.result-plan-lead-copy li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #4f5b73;
  font-size: 18px;
  line-height: 1.36;
  font-weight: 650;
  white-space: nowrap;
}

.result-plan-lead-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #3d3bff;
}

.result-plan-promo {
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  border-radius: 0;
  background: transparent;
  color: #12182a;
  padding: 0 10px;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 900;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

.result-plan-promo b {
  color: #3d3bff;
}

.result-plan-fields {
  border: 1px solid rgba(61, 59, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(18, 24, 42, 0.1);
  padding: 18px;
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.result-plan-fields .field {
  gap: 7px;
}

.result-plan-fields label {
  color: #687287;
  font-size: 13px;
  font-weight: 850;
}

.result-plan-fields input {
  min-height: 48px;
  border: 1px solid #dfe5f0;
  border-radius: 14px;
  background: #ffffff;
  color: #12182a;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 14px;
  box-sizing: border-box;
}

.result-plan-submit {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f38ff 0%, #5d63ff 100%);
  box-shadow: 0 14px 30px rgba(47, 56, 255, 0.24);
  color: #ffffff;
  cursor: pointer;
  font: 950 16px/1.1 inherit;
  padding: 12px 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.result-plan-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(47, 56, 255, 0.32);
}

.result-plan-submit:disabled {
  cursor: default;
  opacity: 0.86;
}

.result-plan-submit.success {
  background: #e9f8ee;
  box-shadow: none;
  color: #16743a;
  line-height: 1.2;
}

.result-plan-form-error,
.result-plan-form-success {
  min-height: 16px;
  font-size: 13px;
  line-height: 1.18;
  font-weight: 850;
}

.result-plan-form-error {
  color: #a12a2a;
}

.result-plan-form-success {
  color: #16743a;
}

.result-final-short-cta {
  width: 100%;
  max-width: 1080px;
  border: 2px solid rgba(5, 7, 13, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(184, 255, 44, 0.55), transparent 32%),
    linear-gradient(120deg, #fff4e9 0%, #f3f5ff 56%, #eef1ff 100%);
  box-shadow: 0 18px 42px rgba(18, 24, 42, 0.08);
  padding: clamp(22px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
  box-sizing: border-box;
}

.result-final-short-cta h2 {
  margin: 0 0 8px;
  color: #12182a;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.04;
}

.result-final-short-cta h2 .mobile-title {
  display: none;
}

.result-final-short-cta-copy p {
  max-width: 640px;
  margin: 0;
  color: #4f5b73;
  font-size: 17px;
  line-height: 1.36;
  font-weight: 650;
  text-wrap: balance;
}

.result-final-short-cta-copy ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.result-final-short-cta-copy li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #4f5b73;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 650;
}

.result-final-short-cta-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #3d3bff;
}

.result-final-short-cta-controls {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.result-final-short-cta-button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f38ff 0%, #5d63ff 100%);
  box-shadow: 0 14px 30px rgba(47, 56, 255, 0.24);
  color: #ffffff;
  cursor: pointer;
  font: 950 16px/1.12 inherit;
  padding: 12px 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.result-final-short-cta-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(47, 56, 255, 0.32);
}

.result-final-short-cta-button:disabled {
  cursor: default;
  opacity: 0.86;
}

.result-final-short-cta-button.success {
  background: #e9f8ee;
  box-shadow: none;
  color: #16743a;
}

.result-final-short-cta-note {
  margin: 0;
  color: #30384d;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 850;
  text-align: center;
}

.result-final-short-cta-timer {
  color: #3d3bff;
  font-weight: 950;
}

.result-final-short-cta-error {
  min-height: 15px;
  color: #b42318;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.skillbox-support-block {
  width: 100%;
  max-width: 1080px;
  border-radius: 30px;
  background: #f3f3f3;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 24px;
  box-sizing: border-box;
}

.skillbox-support-block h2 {
  max-width: 940px;
  margin: 0 0 4px;
  color: #12182a;
  font-size: clamp(30px, 3.35vw, 42px);
  line-height: 1.08;
  font-weight: 850;
  text-align: left;
}

.skillbox-support-tabs {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 999px;
  background: #e9e9e9;
  padding: 4px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.skillbox-support-tabs::-webkit-scrollbar {
  display: none;
}

.skillbox-support-tabs button {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #05070d;
  cursor: pointer;
  font: 850 14px/1.1 inherit;
  padding: 10px 18px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.skillbox-support-tabs button.active {
  background: #05070d;
  color: #ffffff;
}

.skillbox-support-carousel {
  min-width: 0;
}

.skillbox-support-slide {
  min-height: 480px;
  border-radius: 28px;
  background: #ffffff;
  padding: clamp(28px, 4vw, 48px);
  display: none;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  box-sizing: border-box;
}

.skillbox-support-slide.active {
  display: grid;
}

.skillbox-support-copy {
  display: grid;
  gap: 18px;
}

.skillbox-support-copy h3,
.skillbox-support-extra-card h3 {
  margin: 0;
  color: #05070d;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  font-weight: 800;
}

.skillbox-support-copy p,
.skillbox-support-extra-card p {
  margin: 0;
  color: #30384d;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

.skillbox-support-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(18, 24, 42, 0.1);
}

.skillbox-support-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skillbox-support-extra-card {
  min-height: 250px;
  border-radius: 26px;
  background: #ffffff;
  padding: 28px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 10px;
  box-sizing: border-box;
}

.skillbox-support-extra-card span {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2a94ff 0%, #6924ff 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.skillbox-support-extra-card h3 {
  font-size: 25px;
  line-height: 1.08;
}

.skillbox-support-extra-card p {
  font-size: 16px;
  line-height: 1.32;
}

.skillbox-support-extra-card.dark {
  background: #05070d;
}

.skillbox-support-extra-card.dark h3,
.skillbox-support-extra-card.dark p {
  color: #ffffff;
}

.skillbox-support-extra-card.dark span {
  background: linear-gradient(135deg, #3d3bff 0%, #b8ff2c 100%);
}

.skillbox-support-extra-card.wide {
  grid-column: span 2;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  align-items: center;
  align-content: center;
}

.skillbox-support-extra-card.wide img {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  border-radius: 20px;
  object-fit: cover;
}

.skillbox-support-extra-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.skillbox-support-extra-card.stat {
  background: #ffffff;
  align-content: center;
}

.skillbox-support-extra-card.stat span {
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  color: #05070d;
  font-size: clamp(58px, 7vw, 86px);
}

.profession-comparison h2 {
  margin: 0;
  color: #12182a;
  font-size: clamp(30px, 3.35vw, 42px);
  line-height: 1.08;
}

.profession-comparison-list {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.comparison-row {
  position: relative;
  min-height: 58px;
  border-radius: 16px;
  background: #ffffff;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.comparison-row.recommended {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
}

.comparison-row span {
  color: #12182a;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.comparison-row strong {
  color: #3d3bff;
  font-size: 24px;
  line-height: 1;
}

.comparison-row em {
  position: absolute;
  top: -10px;
  left: 16px;
  border-radius: 999px;
  background: #b8ff2c;
  color: #12182a;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 767px) {
  .result-plan-lead-card {
    max-width: 100%;
    border-radius: 24px;
    padding: 18px;
  }

  .result-plan-lead-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .result-plan-lead-copy {
    gap: 12px;
  }

  .result-plan-lead-copy > span {
    display: none;
  }

  .result-plan-lead-copy h2 {
    font-size: 29px;
  }

  .result-plan-lead-copy li,
  .result-plan-lead-copy p,
  .result-plan-promo {
    font-size: 15px;
  }

  .result-plan-lead-copy li {
    white-space: normal;
  }

  .result-plan-fields {
    border-radius: 20px;
    padding: 14px;
  }

  .diagnostic-map-summary {
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.34;
  }

  .result-final-short-cta {
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 22px;
    padding: 20px;
    text-align: left;
  }

  .result-final-short-cta h2 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.12;
    text-align: left;
  }

  .result-final-short-cta h2 .desktop-title {
    display: none;
  }

  .result-final-short-cta h2 .mobile-title {
    display: inline;
  }

  .result-final-short-cta-copy p,
  .result-final-short-cta-copy li {
    font-size: 15px;
  }

  .result-final-short-cta-copy ul {
    gap: 10px;
  }

  .result-final-short-cta-copy li {
    padding-left: 20px;
    line-height: 1.25;
    text-align: left;
  }

  .result-final-short-cta-copy li::before {
    top: 0.5em;
    width: 7px;
    height: 7px;
  }

  .result-final-short-cta-button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    padding: 12px 14px;
  }

  .result-final-short-cta-note {
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .profession-comparison {
    border-radius: 24px;
    padding: 18px;
  }

  .profession-comparison-list {
    grid-template-columns: 1fr;
  }
}

.result-diagnostic-hero {
  border: 2px solid rgba(5, 7, 13, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 16%, rgba(61, 59, 255, 0.14), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(252, 172, 169, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8f8ff 54%, #eeeeff 100%);
  color: #12182a;
  box-shadow: 0 28px 74px rgba(61, 59, 255, 0.14);
  padding: clamp(28px, 4.2vw, 56px);
  gap: clamp(22px, 4vw, 44px);
}

.diagnostic-head {
  gap: 18px;
  align-content: center;
}

.diagnostic-head > p {
  border: 1px solid rgba(61, 59, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(61, 59, 255, 0.08);
  color: #3d3bff;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
}

.result-block-tag::before,
.diagnostic-head > p::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6f63ff;
}

.diagnostic-head h1 {
  max-width: 650px;
  color: #12182a;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 0.96;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-title-main,
.hero-title-accent {
  display: block;
}

.hero-title-accent {
  color: #3d3bff;
}

.hero-title-mobile {
  display: none;
}

.state-summary-frame {
  max-width: 520px;
  margin-top: 2px;
  border-radius: 20px;
  border-left: 5px solid #3d3bff;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(18, 24, 42, 0.08);
  padding: 24px 28px;
}

.state-support {
  color: #283044;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.34;
  font-weight: 500;
}

.result-hero-visual {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 3;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(18, 24, 42, 0.16);
}

.result-page {
  max-width: none;
  justify-items: center;
}

.result-page > .result-diagnostic-hero,
.result-page > .diagnostic-map-card,
.result-page > .result-meaning-card,
.result-page > .activity-directions-card,
.result-page > .result-discount,
.result-page > .profession-stage,
.result-page > .profession-recommendation,
.result-page > .profession-comparison,
.result-page > .progress-card {
  width: 100%;
  max-width: 1080px;
  justify-self: center;
  box-sizing: border-box;
}

.result-page > .result-kicker {
  justify-self: start;
  margin-left: max(32px, calc((100% - 1320px) / 2));
}

.result-page > .activity-directions-card {
  padding: clamp(28px, 3vw, 42px);
}

.progress-card .roadmap-title {
  margin: 0;
  max-width: 820px;
  color: #12182a;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
}

.profession-recommendation {
  width: 100%;
  max-width: 1080px;
  justify-self: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 6%, rgba(252, 172, 169, 0.18), transparent 28%),
    radial-gradient(circle at 94% 16%, rgba(61, 59, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f5f7ff 100%);
  box-shadow: 0 24px 58px rgba(18, 24, 38, 0.08);
  padding: clamp(26px, 3.2vw, 46px);
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.profession-recommendation h2 {
  margin: 0;
  max-width: 780px;
  color: #12182a;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
}

.recommendation-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.recommendation-talent-card,
.recommendation-quality-card {
  border: 1px solid #edf1f7;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(22px, 2.5vw, 34px);
}

.recommendation-label {
  display: block;
  color: #687287;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.recommendation-talent-head {
  margin-top: 8px;
  display: grid;
  gap: 0;
}

.recommendation-talent-head strong {
  color: #12182a;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.recommendation-reason-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.recommendation-reason-item {
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.recommendation-reason-item > span,
.recommendation-quality-grid span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff2ff;
  color: #3d3bff;
  display: grid;
  place-items: center;
  font-size: 19px;
}

.recommendation-reason-item b,
.recommendation-quality-grid b {
  display: block;
  color: #12182a;
  font-size: 17px;
  line-height: 1.2;
}

.recommendation-reason-item p,
.recommendation-quality-grid p,
.recommendation-summary {
  margin: 6px 0 0;
  color: #4f5b73;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 600;
}

.recommendation-summary {
  margin-top: 4px;
  border-left: 4px solid #3d3bff;
  border-radius: 0 16px 16px 0;
  background: #eef2ff;
  padding: 18px 20px;
}

.recommendation-quality-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f1ff 100%);
  display: grid;
  align-content: start;
  gap: 18px;
}

.recommendation-quality-card h3 {
  margin: 0;
  max-width: 430px;
  color: #12182a;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.12;
}

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

.recommendation-quality-grid div {
  border: 1px solid rgba(61, 59, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.recommendation-quality-grid span {
  background: linear-gradient(135deg, #1597ff, #7b16ff);
  color: #ffffff;
}

@media (min-width: 720px) {
  .result-diagnostic-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
  }
}

@media (max-width: 767px) {
  .result-diagnostic-hero {
    border-radius: 26px;
    padding: 22px;
    gap: 22px;
  }

  .diagnostic-head {
    gap: 14px;
  }

  .diagnostic-head > p {
    padding: 8px 12px;
    font-size: 11px;
  }

  .diagnostic-head h1 {
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 1.02;
  }

  .hero-title-responsive .hero-title-desktop {
    display: none;
  }

  .hero-title-responsive .hero-title-mobile {
    display: block;
  }

  .state-summary-frame {
    max-width: none;
    border-radius: 18px;
    padding: 18px 18px 18px 20px;
  }

  .state-support {
    font-size: 16px;
  }

  .result-hero-visual {
    max-width: none;
    border-radius: 20px;
  }

  .result-page > .result-kicker {
    justify-self: start;
    margin-left: 0;
  }

  .result-page > .result-diagnostic-hero,
  .result-page > .diagnostic-map-card,
  .result-page > .result-meaning-card,
  .result-page > .activity-directions-card,
  .result-page > .result-discount,
  .result-page > .profession-stage,
  .result-page > .profession-recommendation,
  .result-page > .progress-card {
    max-width: 100%;
  }

  .progress-card .roadmap-title {
    font-size: 30px;
  }

  .profession-recommendation {
    border-radius: 24px;
    padding: 20px;
    gap: 20px;
  }

  .profession-recommendation h2 {
    font-size: 31px;
  }

  .recommendation-layout {
    grid-template-columns: 1fr;
  }

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

  .recommendation-talent-card,
  .recommendation-quality-card {
    border-radius: 20px;
    padding: 18px;
  }

  .recommendation-talent-head strong {
    font-size: 28px;
  }

  .recommendation-reason-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .recommendation-reason-item > span,
  .recommendation-quality-grid span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 16px;
  }

  .recommendation-quality-card h3 {
    font-size: 24px;
  }

  .recommendation-quality-grid div {
    min-height: 134px;
    padding: 12px;
    gap: 7px;
  }

  .recommendation-quality-grid b {
    font-size: 16px;
    line-height: 1.12;
  }

  .recommendation-reason-item p,
  .recommendation-quality-grid p,
  .recommendation-summary {
    font-size: 13px;
    line-height: 1.25;
  }
}

/* Latest unified-grid overrides: keep final result sections visually consistent at 1080px. */
.result-page {
  gap: 18px;
  justify-items: center;
}

.result-page > .result-diagnostic-hero,
.result-page > .diagnostic-map-card,
.result-page > .result-meaning-card,
.result-page > .activity-directions-card,
.result-page > .result-discount,
.result-page > .profession-stage,
.result-page > .profession-recommendation,
.result-page > .profession-comparison,
.result-page > .progress-card {
  width: 100%;
  max-width: 1080px;
  padding: clamp(26px, 3vw, 38px);
  box-sizing: border-box;
}

.result-page > .result-diagnostic-hero {
  max-width: min(1320px, calc(100vw - 64px));
  border: 2px solid rgba(5, 7, 13, 0.34);
}

.phone.result-mode .result-page > .result-diagnostic-hero {
  border: 2px solid rgba(5, 7, 13, 0.34);
}

.result-page .result-block-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(61, 59, 255, 0.2);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(61, 59, 255, 0.08);
  color: #3d3bff;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.result-page .section-mini-head > .result-block-tag,
.result-page .result-meaning-card > div:first-child > .result-block-tag,
.result-page .result-bridge > div:first-child > .result-block-tag,
.result-page .profession-stage > .result-block-tag,
.result-page .profession-recommendation > .result-block-tag,
.result-page .profession-comparison > .result-block-tag,
.result-page .progress-card > .result-block-tag {
  border: 1px solid rgba(61, 59, 255, 0.2);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(61, 59, 255, 0.08);
  color: #3d3bff;
}

.result-page .result-block-tag::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6f63ff;
}

.result-diagnostic-hero {
  grid-template-columns: minmax(560px, 1fr) minmax(440px, 520px);
  gap: clamp(26px, 3.2vw, 42px);
}

.diagnostic-head h1 {
  max-width: 660px;
  font-size: clamp(42px, 4.1vw, 54px);
  line-height: 0.98;
}

.state-summary-frame {
  max-width: 600px;
  padding: 18px 22px;
}

.state-support,
.result-meaning-card p,
.activity-directions-card .section-mini-head p,
.diagnostic-map-card .section-mini-head p {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.38;
}

.result-hero-visual {
  max-width: 500px;
  justify-self: end;
}

.diagnostic-map-card .section-mini-head h2,
.result-meaning-card h2,
.activity-directions-card .section-mini-head h2,
.profession-recommendation h2,
.progress-card .roadmap-title {
  font-size: clamp(30px, 3.35vw, 42px);
  line-height: 1.08;
}

.result-meaning-card {
  grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
}

.result-meaning-card .work-signal-card {
  padding: 16px;
}

.result-meaning-card .work-signal-grid div {
  min-height: 128px;
  padding: 14px;
}

.result-meaning-card .work-signal-grid p {
  font-size: 15px;
  line-height: 1.24;
}

.compact-discount {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 26px;
}

.compact-discount .result-discount-copy strong {
  font-size: clamp(32px, 4vw, 48px);
}

.profession-stage .profession-main h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.profession-stage .profession-intro-copy h2,
.profession-benefits h3,
.profession-stage .profession-entry-list h3 {
  font-size: clamp(24px, 2.45vw, 32px);
}

.recommendation-talent-head strong {
  font-size: clamp(28px, 2.8vw, 38px);
}

@media (min-width: 768px) and (max-width: 1160px) {
  .result-page > .result-diagnostic-hero,
  .result-page > .diagnostic-map-card,
  .result-page > .result-meaning-card,
  .result-page > .activity-directions-card,
  .result-page > .result-discount,
  .result-page > .profession-stage,
  .result-page > .profession-recommendation,
  .result-page > .profession-comparison,
  .result-page > .progress-card {
    max-width: calc(100vw - 64px);
  }

  .result-diagnostic-hero {
    grid-template-columns: minmax(0, 0.54fr) minmax(300px, 0.46fr);
  }

  .diagnostic-head h1 {
    max-width: 560px;
    font-size: clamp(38px, 4vw, 48px);
  }

  .result-hero-visual {
    max-width: 430px;
  }
}

@media (max-width: 767px) {
  .result-page > .result-diagnostic-hero,
  .result-page > .diagnostic-map-card,
  .result-page > .result-meaning-card,
  .result-page > .activity-directions-card,
  .result-page > .result-discount,
  .result-page > .profession-stage,
  .result-page > .profession-recommendation,
  .result-page > .profession-comparison,
  .result-page > .progress-card,
  .result-page > .skillbox-support-block {
    max-width: 100%;
    padding: 18px;
  }

  .phone.result-mode .result-page,
  .phone.result-mode .result-page > *,
  .phone.result-mode .result-diagnostic-hero,
  .phone.result-mode .diagnostic-head,
  .phone.result-mode .state-summary-frame,
  .phone.result-mode .result-hero-visual {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .phone.result-mode .result-diagnostic-hero {
    overflow: hidden;
  }

  .phone.result-mode .result-hero-visual {
    justify-self: stretch;
  }

  .result-diagnostic-hero,
  .result-meaning-card,
  .compact-discount {
    grid-template-columns: 1fr;
  }

  .diagnostic-head h1 {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.04;
    text-wrap: balance;
  }

  .diagnostic-map-card .section-mini-head h2,
  .result-meaning-card h2,
  .activity-directions-card .section-mini-head h2,
  .profession-recommendation h2,
  .progress-card .roadmap-title {
    font-size: 30px;
  }

  .skillbox-support-block {
    border-radius: 24px;
    gap: 16px;
  }

  .skillbox-support-block h2 {
    font-size: 30px;
    line-height: 1.08;
    text-align: left;
  }

  .skillbox-support-tabs {
    width: 100%;
    margin: 0;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .skillbox-support-tabs::-webkit-scrollbar,
  .skillbox-support-carousel::-webkit-scrollbar,
  .skillbox-support-extra-grid::-webkit-scrollbar {
    display: none;
  }

  .skillbox-support-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    font-size: 13px;
    padding: 9px 14px;
    scroll-snap-align: start;
  }

  .skillbox-support-carousel {
    display: flex;
    gap: 14px;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .skillbox-support-slide,
  .skillbox-support-slide.active {
    flex: 0 0 86%;
    min-width: 0;
    min-height: 0;
    border-radius: 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    scroll-snap-align: start;
  }

  .skillbox-support-slide img {
    order: -1;
    border-radius: 16px;
  }

  .skillbox-support-copy {
    gap: 10px;
  }

  .skillbox-support-copy h3 {
    font-size: 24px;
    line-height: 1.08;
  }

  .skillbox-support-copy p {
    font-size: 15px;
    line-height: 1.32;
  }

  .skillbox-support-extra-grid {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .skillbox-support-extra-card,
  .skillbox-support-extra-card.wide,
  .skillbox-support-extra-card.stat {
    flex: 0 0 78%;
    min-width: 0;
    min-height: 230px;
    border-radius: 22px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    align-self: flex-start;
    scroll-snap-align: start;
  }

  .skillbox-support-extra-card.wide img {
    order: -1;
    border-radius: 16px;
    margin-bottom: 8px;
  }

  .skillbox-support-extra-copy {
    gap: 10px;
  }

  .skillbox-support-extra-card span {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    border-radius: 16px;
    font-size: 24px;
  }

  .skillbox-support-extra-card.stat span {
    font-size: 58px;
  }

  .skillbox-support-extra-card h3 {
    font-size: 22px;
    line-height: 1.08;
  }

  .skillbox-support-extra-card p {
    font-size: 14px;
    line-height: 1.3;
  }

  .result-meaning-card .work-signal-grid,
  .diagnostic-map-grid {
    grid-template-columns: 1fr;
  }

  .result-meaning-card .work-signal-grid div {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .phone.result-mode .result-page,
  .phone.result-mode .result-page *,
  .phone.result-mode .result-sticky-cta,
  .phone.result-mode .result-sticky-cta * {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
  }

  .phone.result-mode .profession-stage,
  .phone.result-mode .visual-profession,
  .phone.result-mode .profession-intro-section,
  .phone.result-mode .profession-intro-copy,
  .phone.result-mode .profession-entry-card,
  .phone.result-mode .profession-start-salary,
  .phone.result-mode .profession-entry-list,
  .phone.result-mode .profession-benefit-card,
  .phone.result-mode .profession-recommendation,
  .phone.result-mode .recommendation-talent-card,
  .phone.result-mode .recommendation-quality-card,
  .phone.result-mode .recommendation-quality-grid div,
  .phone.result-mode .recommendation-reason-item,
  .phone.result-mode .activity-match-card,
  .phone.result-mode .diagnostic-map-item,
  .phone.result-mode .work-signal-grid div,
  .phone.result-mode .roadmap-point,
  .phone.result-mode .comparison-row,
  .phone.result-mode .skillbox-support-block,
  .phone.result-mode .skillbox-support-slide,
  .phone.result-mode .skillbox-support-extra-card {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .phone.result-mode .profession-stage .profession-main h2,
  .phone.result-mode .profession-stage .profession-intro-copy h2,
  .phone.result-mode .profession-benefits h3,
  .phone.result-mode .profession-stage .profession-entry-list h3,
  .phone.result-mode .recommendation-talent-head strong,
  .phone.result-mode .recommendation-quality-card h3,
  .phone.result-mode .recommendation-quality-grid b,
  .phone.result-mode .recommendation-quality-grid p,
  .phone.result-mode .activity-match-card strong,
  .phone.result-mode .activity-match-card p,
  .phone.result-mode .comparison-row span,
  .phone.result-mode .roadmap-point strong,
  .phone.result-mode .skillbox-support-block h2,
  .phone.result-mode .skillbox-support-copy h3,
  .phone.result-mode .skillbox-support-copy p,
  .phone.result-mode .skillbox-support-extra-card h3,
  .phone.result-mode .skillbox-support-extra-card p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .phone.result-mode .profession-stage .profession-main h2 {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.08;
  }

  .phone.result-mode .profession-stage .result-muted,
  .phone.result-mode .profession-stage .profession-characteristics p {
    font-size: 15px;
    line-height: 1.22;
  }

  .phone.result-mode .profession-stage .chips-row span {
    max-width: 100%;
    white-space: normal;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .phone.result-mode .recommendation-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .phone.result-mode .recommendation-quality-grid div {
    align-content: start;
    padding: 10px;
    gap: 7px;
  }

  .phone.result-mode .recommendation-quality-grid span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 15px;
  }

  .phone.result-mode .recommendation-quality-grid b {
    font-size: 15px;
    line-height: 1.1;
  }

  .phone.result-mode .recommendation-quality-grid p {
    font-size: 12px;
    line-height: 1.22;
  }

  .phone.result-mode .profession-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone.result-mode .profession-benefit-card {
    padding: 12px;
    gap: 7px;
  }

  .phone.result-mode .profession-benefit-card strong {
    font-size: 14px;
    line-height: 1.12;
  }

  .phone.result-mode .profession-benefit-card p {
    font-size: 12px;
    line-height: 1.22;
  }

  .phone.result-mode .result-plan-lead-card,
  .phone.result-mode .result-plan-lead-form,
  .phone.result-mode .result-plan-lead-copy,
  .phone.result-mode .result-plan-fields,
  .phone.result-mode .result-plan-fields .field,
  .phone.result-mode .result-plan-fields label,
  .phone.result-mode .result-plan-fields input,
  .phone.result-mode .result-plan-submit {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .phone.result-mode .result-plan-lead-form {
    grid-template-columns: 1fr;
  }

  .phone.result-mode .result-plan-lead-copy > span,
  .phone.result-mode .result-plan-promo {
    width: 100%;
    white-space: normal;
  }
}
