:root {
  color-scheme: light;
}

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

.home-body {
  margin: 0;
  min-height: 100vh;
  background: #020204;
  color: #f5f7fb;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.app-body {
  background: #ffffff;
}

.home-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background:
    radial-gradient(circle at center, rgba(105, 128, 183, 0.08), transparent 32%),
    linear-gradient(180deg, #020204 0%, #020204 100%);
}

.home-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
}

.home-stage-art {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1440px);
  aspect-ratio: 2880 / 1607;
  transform: translateX(-50%);
  overflow: hidden;
  background:
    url("../img/bg-homepage.jpg") center center / 100% 100% no-repeat;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.home-stage-art::before,
.home-stage-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-stage-art::before {
  background:
    radial-gradient(circle at 50% 46%, rgba(210, 233, 255, 0.13), transparent 17%),
    radial-gradient(circle at 50% 8%, rgba(18, 24, 44, 0.52), transparent 34%);
}

.home-stage-art::after {
  background:
    linear-gradient(180deg, rgba(4, 6, 14, 0.34) 0%, transparent 24%, transparent 76%, rgba(4, 5, 12, 0.56) 100%),
    radial-gradient(circle at 50% 100%, rgba(5, 6, 13, 0.68), transparent 22%);
}

.home-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 18, 0.5) 0%, rgba(8, 10, 18, 0.18) 16%, rgba(8, 10, 18, 0.1) 50%, rgba(8, 10, 18, 0.18) 84%, rgba(8, 10, 18, 0.5) 100%);
  pointer-events: none;
}

.home-copy {
  position: absolute;
  z-index: 2;
}

.home-copy {
  top: 7.5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(86%, 60rem);
  text-align: center;
}

.home-title {
  margin: 0;
  font-size: clamp(3.15rem, 4.1vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #f3f5f8;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.22);
}

.home-subtitle {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.35;
  color: rgba(210, 215, 226, 0.76);
  letter-spacing: -0.02em;
}

.home-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(30vw, 25rem);
  padding: 0.78rem 0.82rem;
  border: 1px solid rgba(229, 234, 244, 0.22);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(51, 54, 67, 0.62), rgba(36, 38, 50, 0.5));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(177, 192, 221, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: inherit;
}

.home-card-assessment {
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
}

.home-card-art,
.home-map-icon {
  position: relative;
  flex: 0 0 auto;
  width: clamp(4rem, 6.6vw, 5.6rem);
  height: clamp(4rem, 6.6vw, 5.6rem);
  border-radius: 0.72rem;
  border: 1px solid rgba(223, 229, 241, 0.12);
  background:
    radial-gradient(circle at 75% 58%, rgba(118, 190, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(102, 110, 136, 0.2), rgba(48, 52, 68, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.home-card-wave,
.home-card-wave::before,
.home-card-wave::after {
  content: "";
  position: absolute;
  left: -12%;
  width: 124%;
  height: 42%;
  border-top: 1.8px solid rgba(235, 241, 255, 0.82);
  border-radius: 50%;
  opacity: 0.82;
}

.home-card-wave {
  top: 44%;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 10px rgba(157, 214, 255, 0.35));
}

.home-card-wave::before {
  top: -52%;
  opacity: 0.5;
}

.home-card-wave::after {
  top: 52%;
  opacity: 0.34;
}

.home-card-copy {
  display: block;
  min-width: 0;
}

.home-card-title,
.home-card-text {
  display: block;
}

.home-card-title {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #f5f7fb;
}

.home-card-text {
  margin-top: 0.45rem;
  max-width: 14rem;
  font-size: clamp(0.58rem, 0.9vw, 0.78rem);
  line-height: 1.35;
  color: rgba(211, 217, 229, 0.58);
}

.home-card-assessment:hover {
  transform: translateX(-50%) translateY(-1px);
}

.home-cube-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-cube-shell {
  inset: 0;
  position: absolute;
}

.home-cube-edge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(241, 246, 255, 0.96);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.32),
    0 2px 12px rgba(0, 0, 0, 0.72);
}

.home-cube-edge-speed {
  left: 43%;
  top: 69.6%;
  transform: translate(-50%, -50%) rotate(10deg) skewX(10deg);
  transform-origin: center;
}

.home-cube-edge-impact {
  left: 36.2%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.home-cube-edge-sentiment {
  left: 57%;
  top: 69.7%;
  transform: translate(-50%, -50%) rotate(-10deg) skewX(-10deg);
  transform-origin: center;
}

.home-archetype {
  position: absolute;
  width: 13rem;
  color: rgba(245, 248, 255, 0.98);
  animation: homeArchetypePulse 14s ease-in-out infinite;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.18),
    0 2px 16px rgba(0, 0, 0, 0.9);
}

.home-archetype-position {
  display: none;
}

.home-archetype h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.home-archetype p {
  display: none;
}

.home-archetype-front-left {
  left: 37.3%;
  top: 62%;
  transform: translate(-50%, -50%) rotate(7deg) skewX(9deg);
  text-align: right;
}

.home-archetype-front-right {
  left: 60%;
  top: 63%;
  transform: translate(-50%, -50%) rotate(-9deg) skewX(-10deg);
  text-align: left;
}

.home-archetype-back-left {
  left: 40.3%;
  top: 36%;
  transform: translate(-50%, -50%) rotate(-10deg) skewX(-10deg);
  text-align: right;
}

.home-archetype-back-right {
  left: 62%;
  top: 36%;
  transform: translate(-50%, -50%) rotate(7deg) skewX(7deg);
  text-align: left;
}

.home-archetype-front-left {
  animation-delay: 0s;
}

.home-archetype-front-right {
  animation-delay: -4.5s;
}

.home-archetype-back-left {
  animation-delay: -9s;
}

.home-archetype-back-right {
  animation-delay: -13.5s;
}

@keyframes homeArchetypePulse {
  0%,
  100% {
    opacity: 0.86;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.12),
      0 2px 14px rgba(0, 0, 0, 0.82);
  }

  50% {
    opacity: 1;
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.26),
      0 2px 20px rgba(0, 0, 0, 0.94);
  }
}

.home-map-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.48rem;
}

.home-map-dot,
.home-map-line {
  position: absolute;
  background: rgba(241, 245, 255, 0.78);
  box-shadow: 0 0 10px rgba(196, 219, 255, 0.45);
}

.home-map-dot {
  width: 0.23rem;
  height: 0.23rem;
  border-radius: 50%;
}

.home-map-dot-a { top: 0.62rem; left: 0.62rem; }
.home-map-dot-b { top: 1.3rem; left: 1.05rem; }
.home-map-dot-c { top: 0.8rem; right: 0.72rem; }
.home-map-dot-d { bottom: 0.75rem; left: 0.8rem; }
.home-map-dot-e { bottom: 0.66rem; right: 0.8rem; }

.home-map-line {
  height: 1px;
  transform-origin: left center;
  opacity: 0.7;
}

.home-map-line-a {
  top: 0.75rem;
  left: 0.75rem;
  width: 1rem;
  transform: rotate(34deg);
}

.home-map-line-b {
  top: 1.4rem;
  left: 1.18rem;
  width: 1rem;
  transform: rotate(-34deg);
}

.home-map-line-c {
  bottom: 0.82rem;
  left: 0.88rem;
  width: 1.18rem;
  transform: rotate(-4deg);
}

@media (max-width: 1280px) {
  .home-cube-edge {
    font-size: 0.7rem;
  }

  .home-archetype {
    width: min(11rem, 18vw);
  }

  .home-archetype h2 {
    font-size: 0.98rem;
  }

  .home-archetype-front-left {
    left: 44.7%;
    top: 62.2%;
  }

  .home-archetype-front-right {
    left: 52.3%;
    top: 62.2%;
  }

  .home-archetype-back-left {
    left: 48%;
    top: 37.3%;
  }

  .home-archetype-back-right {
    left: 55.3%;
    top: 37.3%;
  }
}

@media (max-width: 1080px) {
  .home-cube-edge {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .home-cube-edge-speed {
    top: 71.1%;
  }

  .home-cube-edge-impact {
    left: 36.4%;
    top: 50.2%;
  }

  .home-cube-edge-sentiment {
    left: 41%;
    top: 29.9%;
  }

  .home-archetype {
    width: min(8.6rem, 20vw);
  }

  .home-archetype h2 {
    font-size: 0.88rem;
  }

  .home-archetype-front-left {
    left: 44.3%;
    top: 62.5%;
  }

  .home-archetype-front-right {
    left: 52.7%;
    top: 62.5%;
  }

  .home-archetype-back-left {
    left: 47.7%;
    top: 37.6%;
  }

  .home-archetype-back-right {
    left: 55.6%;
    top: 37.6%;
  }
}

@media (max-width: 900px) {
  .home-copy {
    top: 6%;
    width: min(92%, 34rem);
  }

  .home-title {
    font-size: clamp(2rem, 5.4vw, 2.8rem);
  }

  .home-subtitle {
    margin-top: 0.8rem;
    font-size: clamp(0.92rem, 2vw, 1.04rem);
  }

  .home-cube-edge {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .home-cube-edge-speed {
    top: 71.5%;
  }

  .home-cube-edge-impact {
    left: 36.2%;
    top: 50.4%;
  }

  .home-cube-edge-sentiment {
    left: 40.7%;
    top: 30.2%;
  }

  .home-archetype {
    width: min(6.8rem, 22vw);
  }

  .home-archetype h2 {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .home-archetype-front-left {
    left: 43.7%;
    top: 63%;
  }

  .home-archetype-front-right {
    left: 53.1%;
    top: 63%;
  }

  .home-archetype-back-left {
    left: 47.2%;
    top: 38.1%;
  }

  .home-archetype-back-right {
    left: 56%;
    top: 38.1%;
  }

  .home-card-assessment {
    top: 73.5%;
    width: min(42vw, 22rem);
  }
}

@supports not (height: 100svh) {
  .home-stage {
    width: min(100%, calc(100vh * 1.7921593));
    min-height: min(calc(100vh - 2.5rem), 48rem);
  }
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(193, 148, 61, 0.16), transparent 22%),
    radial-gradient(circle at right center, rgba(167, 130, 67, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f2ea 0%, #fbf8f2 100%);
}

.app-route-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(191, 220, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.page-assessment {
  background:
    radial-gradient(circle at top center, rgba(191, 220, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

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

button {
  cursor: pointer;
}

.tone-index .hero-card,
.tone-index .lane-panel,
.tone-index .metric-card {
  box-shadow: 0 22px 70px rgba(49, 92, 253, 0.08);
}

.app-shell-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(12, 18, 35, 0.08);
  background:
    linear-gradient(180deg, rgba(15, 20, 35, 0.96), rgba(12, 17, 29, 0.92));
  box-shadow: 0 18px 40px rgba(7, 10, 20, 0.16);
  backdrop-filter: blur(16px);
}

.app-shell-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: #edf2ff;
  font-weight: 700;
}

.brand-mark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(200, 228, 255, 0.22);
  background: radial-gradient(circle at 30% 30%, rgba(222, 241, 255, 0.42), rgba(54, 73, 110, 0.5));
  color: #f7fbff;
  font-size: 0.92rem;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark-copy {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.header-progress {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: min(20rem, 42vw);
}

.header-progress-copy {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-progress-label {
  color: rgba(235, 242, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-progress-track {
  position: relative;
  flex: 1 1 auto;
  height: 0.35rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(226, 236, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

.header-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(162, 205, 242, 0.92), rgba(239, 247, 255, 0.98));
  box-shadow: 0 0 16px rgba(168, 211, 244, 0.3);
}

@media (max-width: 980px) {
  .home-page {
    padding: 0;
  }

  .home-stage {
    width: 100vw;
    min-height: 100svh;
    border-radius: 0;
    background-position: center top;
  }

  .home-copy {
    top: 7%;
    width: 90%;
  }

  .home-card-assessment {
    top: 63.5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(36vw, 23rem);
  }
}

@media (max-width: 640px) {
  .home-page {
    min-height: 100svh;
    padding: 0;
  }

  .home-stage {
    min-height: 100svh;
    aspect-ratio: auto;
    background-size: 155% auto;
    background-position: center 36%;
  }

  .home-copy {
    top: 5.8%;
    width: calc(100% - 1.5rem);
  }

  .home-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .home-subtitle {
    margin-top: 0.7rem;
    font-size: clamp(0.92rem, 3.5vw, 1.02rem);
  }

  .home-card {
    gap: 0.8rem;
    padding: 0.72rem 0.74rem;
  }

  .home-card-assessment {
    top: 74%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 21rem;
  }

  .home-card-assessment:hover {
    transform: translateX(-50%) translateY(-1px);
  }

}

@media (max-width: 480px) {
  .home-stage {
    background-size: 170% auto;
    background-position: center 35%;
  }

  .home-copy {
    top: 4.8%;
    width: calc(100% - 1.25rem);
  }

  .home-subtitle {
    max-width: 18rem;
    line-height: 1.28;
  }

  .home-card {
    gap: 0.7rem;
    border-radius: 0.88rem;
  }

  .home-card-assessment {
    top: 73%;
    width: calc(100% - 1.5rem);
  }

  .home-card-art {
    width: 4.5rem;
    height: 4.5rem;
  }

  .home-card-title {
    font-size: clamp(1.75rem, 7vw, 2.15rem);
  }

  .home-card-text {
    max-width: none;
    font-size: 0.68rem;
  }

  .home-map-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

}

@media (max-width: 390px) {
  .home-stage {
    background-size: 182% auto;
    background-position: center 34%;
  }

  .home-title {
    font-size: 1.82rem;
  }

  .home-subtitle {
    font-size: 0.88rem;
  }

  .home-card-assessment {
    top: 72%;
  }

  .home-card-title {
    font-size: 1.58rem;
  }

}

@media (max-height: 760px) {
  .home-copy {
    top: 4.8%;
  }

  .home-card-assessment {
    top: 60%;
  }
}

@media (max-height: 640px) {
  .home-title {
    font-size: clamp(1.9rem, 5vw, 2.6rem);
  }

  .home-subtitle {
    margin-top: 0.55rem;
    font-size: 0.88rem;
  }

  .home-card-assessment {
    top: 77%;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .home-page {
    align-items: flex-start;
    padding: 0;
  }

  .home-stage {
    width: 100vw;
    min-height: 100svh;
    border-radius: 0;
  }

  .home-copy {
    top: 6%;
  }

  .home-card-assessment {
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    width: min(32vw, 19rem);
  }
}

.hero-card,
.lane-panel,
.metric-card {
  border: 1px solid rgba(21, 31, 55, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
  box-shadow:
    0 22px 55px rgba(11, 16, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-card {
  overflow: hidden;
  position: relative;
  border-radius: 2rem;
  padding: 2rem;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), transparent 42%),
    radial-gradient(circle at top right, rgba(187, 226, 255, 0.18), transparent 35%);
}

.hero-card-index::after {
  content: "";
  position: absolute;
  inset: auto auto -4rem -2rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
  background: rgba(182, 214, 246, 0.45);
}

.nav-pill,
.action-primary,
.action-secondary,
.history-item,
.info-icon-button,
.probability-preset {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(215, 225, 235, 0.95);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1rem;
  color: #56647a;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-pill:hover,
.nav-pill-active {
  transform: translateY(-1px);
  border-color: rgba(49, 92, 253, 0.26);
  color: #09111f;
  box-shadow: 0 12px 30px rgba(9, 17, 31, 0.07);
}

.lane-panel {
  border-radius: 1.75rem;
  padding: 1.5rem;
}

.assessment-page-shell {
  padding-bottom: 6.5rem;
}

.assessment-footer-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  border: 0;
  border-top: 1px solid rgba(16, 24, 44, 0.08);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 252, 0.96)),
    rgba(255, 255, 255, 0.95);
  padding: 0.65rem 1rem;
  box-shadow:
    0 -8px 28px rgba(9, 14, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.assessment-footer-nav-inner {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.assessment-footer-actions {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.assessment-footer-nav .action-secondary,
.assessment-footer-nav .action-primary {
  min-width: 8rem;
  border-radius: 0.85rem;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  box-shadow: none;
}

.action-secondary-back {
  min-width: 7.25rem;
}

.assessment-nav-hint {
  color: #61748b;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
}

.desktop-only-hint {
  display: block;
}

.page-assessment .lane-panel,
.page-assessment .assessment-question-card {
  border-color: rgba(16, 24, 44, 0.1);
  box-shadow:
    0 24px 60px rgba(9, 14, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.how-it-works-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 253, 0.92)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(15, 27, 54, 0.08);
}

.how-it-works-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8rem;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(49, 92, 253, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 55%);
}

.how-it-works-header {
  position: relative;
  z-index: 1;
}

.how-it-works-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(49, 92, 253, 0.14);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #315cfd;
}

.how-it-works-kicker {
  margin-top: 1rem;
  max-width: 28rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #09111f;
}

.info-block {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(224, 231, 239, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(15, 27, 54, 0.05);
}

.info-block-topline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.info-block-index {
  display: inline-flex;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(49, 92, 253, 0.12);
  background: rgba(49, 92, 253, 0.08);
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #315cfd;
}

.info-block-divider {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(49, 92, 253, 0.18), rgba(148, 163, 184, 0.14));
}

.info-block-title {
  margin-top: 0.95rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #09111f;
}

.info-block-body {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #56647a;
  text-wrap: pretty;
}

.metric-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
}

.metric-card-top,
.story-card-top,
.profile-hero-topline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.metric-icon-shell,
.story-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.metric-line {
  margin-top: 1rem;
  height: 0.45rem;
  width: 5rem;
  border-radius: 9999px;
}

.metric-speed .metric-icon-shell {
  background: linear-gradient(180deg, rgba(255, 204, 124, 0.26), rgba(255, 152, 61, 0.18));
  color: #b95d07;
}

.metric-impact .metric-icon-shell {
  background: linear-gradient(180deg, rgba(111, 205, 191, 0.22), rgba(32, 136, 127, 0.16));
  color: #0f766e;
}

.metric-sentiment .metric-icon-shell {
  background: linear-gradient(180deg, rgba(142, 178, 255, 0.24), rgba(91, 120, 232, 0.15));
  color: #315cfd;
}

.metric-speed .metric-line {
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.metric-impact .metric-line {
  background: linear-gradient(90deg, #14b8a6, #5eead4);
}

.metric-sentiment .metric-line {
  background: linear-gradient(90deg, #315cfd, #86a4ff);
}

.action-primary,
.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 9999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.action-primary {
  border: 1px solid rgba(18, 28, 52, 0.14);
  background: linear-gradient(180deg, #24324e, #151f34);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(16, 23, 41, 0.18);
}

.action-primary:hover,
.action-secondary:hover,
.history-item:hover,
.info-icon-button:hover,
.probability-preset:hover {
  transform: translateY(-1px);
}

.action-primary-index {
  background: linear-gradient(135deg, #374969, #171f31);
}

.action-primary-neutral {
  border-color: rgba(32, 24, 15, 0.16);
  background: linear-gradient(135deg, #29231d, #15110d);
  box-shadow: 0 16px 32px rgba(31, 23, 13, 0.16);
}

.action-secondary {
  border: 1px solid rgba(191, 205, 224, 0.7);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 244, 249, 0.94));
  color: #162033;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.action-secondary-share {
  border-color: rgba(197, 178, 146, 0.72);
  background: linear-gradient(180deg, rgba(251, 246, 238, 0.98), rgba(245, 236, 223, 0.95));
  color: #5e4524;
}

.action-secondary-retake {
  border-color: rgba(151, 162, 181, 0.7);
  background: linear-gradient(180deg, rgba(241, 245, 250, 0.98), rgba(232, 238, 245, 0.95));
  color: #203047;
}

.action-download-secondary {
  width: 100%;
}

.action-share-primary {
  width: 100%;
  justify-content: center;
  border-color: rgba(38, 53, 84, 0.24);
  background: linear-gradient(135deg, #243656, #16233a);
  color: #f8fbff;
  box-shadow: 0 16px 32px rgba(22, 35, 58, 0.2);
}

.history-item {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(215, 225, 235, 0.95);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  text-align: left;
}

.history-item:hover {
  box-shadow: 0 12px 34px rgba(9, 17, 31, 0.08);
}

.assessment-question-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(205, 230, 248, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(246, 249, 252, 0.98));
  box-shadow: 0 22px 52px rgba(15, 27, 54, 0.08);
}

.assessment-question-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.assessment-question-kicker,
.assessment-answer-kicker {
  margin: 0;
  color: #5f7085;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.assessment-question-text {
  margin: 0.85rem 4.6rem 0 0;
  color: #09111f;
  font-size: clamp(1.28rem, 1rem + 0.8vw, 1.78rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.assessment-answer-block {
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(205, 216, 229, 0.78);
}

.assessment-answer-kicker {
  margin-bottom: 0.95rem;
}

.info-icon-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(191, 205, 224, 0.7);
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(238, 243, 249, 0.94));
  padding: 0.7rem 0.95rem;
  color: #3b4f67;
}

.info-icon-button:hover {
  border-color: rgba(121, 158, 190, 0.42);
  color: #121b2b;
  box-shadow: 0 12px 30px rgba(9, 17, 31, 0.06);
}

.assessment-question-info {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 1;
}

.resolution-info-panel {
  background: linear-gradient(180deg, rgba(223, 232, 255, 0.28), rgba(255, 255, 255, 0.9));
}

.probability-input-shell {
  border-radius: 1.5rem;
  border: 1px solid rgba(191, 205, 224, 0.7);
  background:
    radial-gradient(circle at top right, var(--probability-accent-soft, rgba(124, 164, 196, 0.14)), transparent 32%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(243, 247, 251, 0.96));
  padding: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.probability-input-shell-readonly {
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(255, 255, 255, 0.96));
}

.probability-number-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.probability-number-input {
  width: 5rem;
  border-radius: 1rem;
  border: 1px solid rgba(191, 205, 224, 0.72);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.7rem 0.8rem;
  text-align: center;
  color: #09111f;
  font-weight: 600;
}

.probability-number-input:focus,
.probability-slider:focus,
.probability-preset:focus,
.info-icon-button:focus,
.nav-pill:focus,
.history-item:focus {
  outline: 2px solid var(--probability-accent, #49627b);
  outline-offset: 2px;
}

.probability-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.85rem;
  border-radius: 9999px;
  background:
    linear-gradient(90deg, var(--probability-accent, #49627b) 0%, var(--probability-track-active, #8fb2d0) var(--probability-fill), rgba(223, 228, 238, 0.95) var(--probability-fill), rgba(223, 228, 238, 0.95) 100%);
  outline: none;
}

.probability-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 4px solid #ffffff;
  background: #182338;
  box-shadow: 0 10px 24px rgba(9, 17, 31, 0.2);
}

.probability-slider::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 4px solid #ffffff;
  background: #182338;
  box-shadow: 0 10px 24px rgba(9, 17, 31, 0.2);
}

.probability-slider::-moz-range-track {
  height: 0.85rem;
  border-radius: 9999px;
  background: rgba(223, 228, 238, 0.95);
}

.probability-scale-helper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #56647a;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.probability-scale-helper span:last-child {
  text-align: right;
}

.probability-interpretation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.9rem 1rem;
}

.probability-sentiment {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 8rem;
}

.probability-cue {
  min-width: 3.6rem;
  color: var(--probability-accent, #49627b);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.probability-signal-bars {
  display: inline-flex;
  align-items: end;
  gap: 0.28rem;
}

.probability-signal-bar {
  width: 0.28rem;
  border-radius: 9999px;
  background: rgba(160, 173, 188, 0.45);
}

.probability-signal-bar:nth-child(1) {
  height: 0.5rem;
}

.probability-signal-bar:nth-child(2) {
  height: 0.72rem;
}

.probability-signal-bar:nth-child(3) {
  height: 0.94rem;
}

.probability-signal-bar:nth-child(4) {
  height: 1.16rem;
}

.probability-signal-bar:nth-child(5) {
  height: 1.38rem;
}

.probability-signal-bar-active {
  background: var(--probability-accent, #49627b);
  box-shadow: 0 0 0 1px var(--probability-accent-soft, rgba(124, 164, 196, 0.18));
}

.probability-interpretation-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.probability-interpretation-label {
  margin: 0;
  color: #09111f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.probability-interpretation-description {
  margin: 0.2rem 0 0;
  color: #56647a;
  font-size: 0.87rem;
  line-height: 1.55;
}

.probability-preset {
  border-radius: 9999px;
  border: 1px solid rgba(191, 205, 224, 0.68);
  background: linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(238, 243, 248, 0.94));
  padding: 0.55rem 0.9rem;
  color: #46596f;
  font-size: 0.85rem;
  font-weight: 600;
}

.probability-preset:hover,
.probability-preset-active {
  border-color: rgba(122, 156, 184, 0.48);
  background: linear-gradient(180deg, rgba(234, 244, 252, 0.98), rgba(225, 237, 247, 0.96));
  color: #09111f;
  box-shadow: 0 10px 24px rgba(9, 17, 31, 0.08);
}

.option-tile-active {
  border-color: rgba(49, 92, 253, 0.28);
  background: linear-gradient(180deg, rgba(223, 232, 255, 0.45), rgba(255, 255, 255, 0.92));
  box-shadow: 0 16px 34px rgba(49, 92, 253, 0.12);
}

.choice-card {
  width: 100%;
  border-radius: 1.3rem;
  border: 1px solid rgba(191, 205, 224, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(244, 248, 252, 0.97));
  padding: 1rem 1.1rem;
  text-align: left;
  color: #132033;
  font-weight: 600;
  line-height: 1.6;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.choice-card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.9rem;
}

.choice-card-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(179, 196, 216, 0.8);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 243, 249, 0.95));
  color: #40536a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.choice-card-copy {
  display: block;
  padding-top: 0.08rem;
}

.choice-card:hover,
.choice-card-active {
  transform: translateY(-1px);
  border-color: rgba(128, 164, 194, 0.42);
  background: linear-gradient(180deg, rgba(236, 246, 255, 0.96), rgba(247, 250, 252, 0.98));
  box-shadow: 0 14px 28px rgba(15, 27, 54, 0.07);
}

.choice-card:hover .choice-card-marker,
.choice-card-active .choice-card-marker {
  border-color: rgba(111, 147, 177, 0.55);
  background: linear-gradient(180deg, rgba(227, 240, 251, 0.98), rgba(214, 229, 242, 0.96));
  color: #172335;
}

.info-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 15, 27, 0.6);
  backdrop-filter: blur(10px);
}

.info-modal-card {
  width: min(54rem, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  border-radius: 2rem;
  border: 1px solid rgba(92, 112, 142, 0.45);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.985), rgba(12, 18, 31, 0.98));
  padding: 1.5rem;
  box-shadow: 0 28px 90px rgba(9, 17, 31, 0.25);
}

.info-modal-handle {
  display: none;
  width: 3rem;
  height: 0.3rem;
  margin: -0.35rem auto 1rem;
  border-radius: 9999px;
  background: rgba(144, 157, 176, 0.55);
}

.info-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(87, 103, 130, 0.34);
}

.info-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(107, 126, 154, 0.5);
  background: rgba(27, 37, 55, 0.92);
  padding: 0.7rem 0.95rem;
  color: #eef4ff;
  white-space: nowrap;
}

.info-modal-close:hover {
  border-color: rgba(176, 198, 225, 0.5);
  background: rgba(38, 49, 71, 0.96);
  color: #ffffff;
  box-shadow: none;
}

.info-modal-panel {
  border-radius: 1.4rem;
  border: 1px solid rgba(87, 103, 130, 0.48);
  background: linear-gradient(180deg, rgba(24, 33, 49, 0.98), rgba(18, 25, 39, 0.98));
  padding: 1rem 1.05rem;
}

.info-modal-title {
  margin: 0;
  color: rgba(213, 225, 241, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-modal-header .text-slate {
  color: rgba(195, 210, 230, 0.76);
}

.info-modal-header .text-ink {
  color: #f5f8ff;
}

.info-modal-panel .text-slate {
  color: rgba(231, 238, 249, 0.88);
}

.result-bullet {
  border-radius: 1.25rem;
  border: 1px solid rgba(191, 205, 224, 0.65);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(243, 246, 250, 0.95));
  padding: 0.95rem 1rem;
  color: #56647a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.answer-audit-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(191, 205, 224, 0.65);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 246, 250, 0.95));
  padding: 1rem;
}

.profile-hero-main {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  align-items: start;
}

.profile-hero-copy {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.profile-action-panel {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  border-radius: 1.35rem;
  border: 1px solid rgba(197, 208, 222, 0.72);
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(244, 248, 252, 0.94));
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.profile-hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(193, 226, 255, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 252, 0.98));
}

.profile-hero::before,
.profile-hero::after {
  z-index: 0;
}

.profile-page-toolbar {
  display: block;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.profile-hero-meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.profile-back-link,
.profile-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.profile-back-link {
  color: #1a2c46;
}

.profile-reset-link {
  color: #69788c;
}

.profile-back-link:hover,
.profile-reset-link:hover {
  color: #09111f;
}

.profile-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.profile-title-lockup {
  max-width: 58rem;
}

.profile-archetype-eyebrow {
  margin: 0;
  color: #7d6336;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-main-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  margin: 0.8rem 0 0;
  color: #09111f;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.profile-name-prefix {
  color: #7a8597;
}

.profile-main-description {
  margin: 1.1rem 0 0;
  max-width: 52rem;
  color: #4f5f75;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.profile-meta-line {
  margin: 0;
  width: fit-content;
  color: #69788c;
  font-size: 0.84rem;
  text-align: right;
  line-height: 1.6;
}

.profile-profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.65rem;
  border: 1px solid rgba(204, 214, 227, 0.75);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(240, 245, 250, 0.94));
  padding: 1.4rem 1.45rem;
}

.profile-profile-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.3rem;
  background: linear-gradient(90deg, #d8a449, #a9bfdc 56%, #dbe7f2);
}

.profile-card-label {
  margin: 0;
  color: #56647a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-card-body {
  margin: 0.85rem 0 0;
  color: #182437;
  font-size: 1rem;
  line-height: 1.8;
}

.profile-action-heading {
  display: grid;
  gap: 0.2rem;
}

.profile-action-kicker {
  margin: 0;
  color: #7d6336;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-action-caption {
  margin: 0;
  color: #56647a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-primary-action {
  display: block;
}

.profile-download-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-action-feedback {
  margin: 0;
  color: #56647a;
  font-size: 0.88rem;
  line-height: 1.55;
}

.profile-link-preview {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid rgba(209, 187, 152, 0.5);
  background: rgba(252, 248, 241, 0.92);
  padding: 0.7rem 0.85rem;
  overflow: hidden;
  color: #6d5530;
  font-size: 0.84rem;
  line-height: 1.5;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-shared-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(210, 174, 110, 0.22);
  background: rgba(246, 234, 206, 0.72);
  padding: 0.3rem 0.65rem;
  color: #8b641f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card {
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  opacity: 0.12;
  filter: blur(4px);
}

.story-summary .story-card-icon {
  background: linear-gradient(180deg, rgba(90, 126, 255, 0.18), rgba(49, 92, 253, 0.1));
  color: #315cfd;
}

.story-summary::before {
  background: #315cfd;
}

.story-blindspot .story-card-icon {
  background: linear-gradient(180deg, rgba(255, 189, 105, 0.22), rgba(224, 167, 36, 0.14));
  color: #b56700;
}

.story-blindspot::before {
  background: #f59e0b;
}

.story-neighbor .story-card-icon {
  background: linear-gradient(180deg, rgba(84, 199, 171, 0.22), rgba(15, 118, 110, 0.12));
  color: #0f766e;
}

.story-neighbor::before {
  background: #14b8a6;
}

.story-card-footer {
  margin: 1rem 0 0;
  color: #315cfd;
  font-size: 0.88rem;
  font-weight: 700;
}

.matrix-chart {
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(191, 205, 224, 0.7);
  background:
    radial-gradient(circle at top right, rgba(188, 220, 244, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.97));
}

.matrix-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

.matrix-plane {
  stroke: rgba(177, 194, 214, 0.9);
  stroke-width: 1.2;
}

.matrix-plane-back {
  fill: rgba(215, 230, 245, 0.42);
}

.matrix-plane-front {
  fill: rgba(255, 255, 255, 0.78);
}

.matrix-depth-edge {
  stroke: rgba(150, 170, 194, 0.72);
  stroke-width: 1.2;
}

.matrix-grid-line {
  stroke: rgba(148, 163, 184, 0.26);
  stroke-width: 1;
}

.matrix-point-glow {
  fill: rgba(49, 92, 253, 0.16);
}

.matrix-point-shadow {
  fill: rgba(49, 92, 253, 0.18);
  stroke: rgba(49, 92, 253, 0.14);
  stroke-width: 1;
}

.matrix-point-core {
  fill: #1c2a44;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3;
}

.matrix-corner-label,
.matrix-axis-label {
  fill: #56647a;
  font-size: 12px;
  font-weight: 700;
}

.matrix-corner-label-end {
  text-anchor: end;
}

.matrix-axis-label-x {
  text-anchor: middle;
}

.matrix-axis-label-y {
  transform: rotate(-90deg);
  transform-origin: 18px 172px;
}

@media (max-width: 768px) {
  .app-shell-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .header-progress {
    min-width: 0;
  }

  .header-progress-copy {
    justify-content: center;
  }

  .hero-card,
  .lane-panel,
  .metric-card {
    border-radius: 1.5rem;
  }

  .desktop-only-hint {
    display: none;
  }

  .hero-card {
    padding: 1.5rem;
  }

  .lane-panel {
    padding: 1.15rem;
  }

  .probability-number-wrap,
  .probability-scale-helper,
  .probability-interpretation-row {
    width: 100%;
  }

  .probability-number-wrap,
  .probability-scale-helper,
  .probability-interpretation-row {
    flex-direction: column;
    align-items: stretch;
  }

  .probability-number-input {
    width: 100%;
    max-width: none;
  }

  .probability-sentiment {
    justify-content: space-between;
  }

  .info-modal-backdrop {
    align-items: flex-end;
    padding: 0;
    background: rgba(10, 15, 27, 0.52);
  }

  .info-modal-card {
    width: 100%;
    max-height: min(85svh, 85vh);
    border-radius: 1.6rem 1.6rem 0 0;
    border-bottom: 0;
    border-color: rgba(124, 145, 176, 0.28);
    background:
      linear-gradient(180deg, rgba(14, 19, 31, 0.995), rgba(10, 15, 25, 0.99));
    padding: 0.9rem 1rem 1rem;
    box-shadow: 0 -18px 48px rgba(9, 17, 31, 0.24);
  }

  .info-modal-handle {
    display: block;
    background: rgba(198, 212, 233, 0.38);
  }

  .info-modal-header {
    position: sticky;
    top: -0.9rem;
    z-index: 1;
    margin: 0 -1rem;
    padding: 0.2rem 4.75rem 1rem 1rem;
    background: linear-gradient(180deg, rgba(14, 19, 31, 0.995), rgba(14, 19, 31, 0.9));
    border-bottom: 1px solid rgba(83, 98, 123, 0.44);
  }

  .info-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    padding: 0.58rem 0.8rem;
    border-color: rgba(107, 126, 154, 0.5);
    background: rgba(27, 37, 55, 0.92);
    color: #eef4ff;
    box-shadow: none;
  }

  .info-modal-close:hover {
    border-color: rgba(176, 198, 225, 0.5);
    background: rgba(38, 49, 71, 0.96);
    color: #ffffff;
  }

  .profile-hero-main {
    grid-template-columns: 1fr;
  }

  .profile-action-panel {
    min-width: 0;
  }

  .profile-hero-actions {
    align-items: flex-start;
  }

  .profile-hero-meta {
    justify-items: start;
  }

  .profile-main-title {
    font-size: clamp(2.15rem, 7vw, 3.25rem);
  }

  .profile-main-description {
    font-size: 1rem;
    line-height: 1.72;
  }

  .profile-meta-line {
    width: auto;
    text-align: left;
  }

  .profile-link-preview {
    white-space: normal;
    word-break: break-word;
  }

  .profile-download-grid {
    grid-template-columns: 1fr;
  }

  .matrix-corner-label,
  .matrix-axis-label {
    font-size: 11px;
  }

  .assessment-question-card {
    padding: 1.15rem;
    border-radius: 1.4rem;
  }

  .assessment-page-shell {
    padding-bottom: 5.75rem;
  }

  .assessment-footer-nav {
    padding: 0.55rem 0.7rem;
  }

  .assessment-footer-nav-inner {
    justify-content: stretch;
  }

  .assessment-footer-actions {
    width: 100%;
  }

  .assessment-footer-nav .action-secondary,
  .assessment-footer-nav .action-primary {
    min-width: 0;
    border-radius: 0.75rem;
    padding: 0.68rem 0.75rem;
  }

  .action-secondary-back {
    flex: 0 0 auto;
  }

  .assessment-question-head {
    display: block;
  }

  .assessment-question-text {
    margin-top: 0.55rem;
    margin-right: 4rem;
    font-size: 1.18rem;
    line-height: 1.45;
  }

  .assessment-answer-block {
    margin-top: 1.2rem;
    padding-top: 0.95rem;
  }

  .assessment-question-info {
    top: 1rem;
    right: 1rem;
  }

  .info-icon-button {
    padding: 0.58rem 0.8rem;
  }

  .choice-card {
    border-radius: 1.1rem;
    padding: 0.9rem 0.92rem;
    line-height: 1.5;
  }

  .choice-card-inner {
    gap: 0.72rem;
  }

  .choice-card-marker {
    min-width: 1.8rem;
    height: 1.8rem;
    font-size: 0.76rem;
  }

  .choice-card-copy {
    font-size: 0.94rem;
  }

  .home-cube-scene {
    inset: 0;
  }

  .home-cube-edge {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .home-cube-edge-speed {
    top: 71.7%;
  }

  .home-cube-edge-impact {
    left: 36.1%;
    top: 50.5%;
  }

  .home-cube-edge-sentiment {
    left: 40.5%;
    top: 30.4%;
  }

  .home-archetype {
    width: min(6rem, 22vw);
  }

  .home-archetype h2 {
    font-size: 0.68rem;
    line-height: 1.08;
  }

  .home-archetype-front-left {
    left: 43.5%;
    top: 63.4%;
  }

  .home-archetype-front-right {
    left: 53.3%;
    top: 63.4%;
  }

  .home-archetype-back-left {
    left: 46.9%;
    top: 38.4%;
  }

  .home-archetype-back-right {
    left: 56.2%;
    top: 38.4%;
  }
}

@media (max-width: 560px) {
  .app-shell-nav {
    padding: 0.85rem 1rem;
  }

  .header-progress {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .header-progress-label {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .home-cube-scene {
    inset: 0;
  }

  .home-cube-edge {
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }

  .home-cube-edge-speed {
    top: 26.5%;
  }

  .home-cube-edge-impact {
    left: 36%;
    top: 18.8%;
  }

  .home-cube-edge-sentiment {
    left: 57.1%;
    top: 26.5%;
  }

  .home-archetype {
    width: min(4.9rem, 23vw);
  }

  .home-archetype h2 {
    font-size: 0.56rem;
    line-height: 1.05;
  }

  .home-archetype-front-left {
    left: 40%;
    top: 24%;
  }

  .home-archetype-front-right {
    left: 57%;
    top: 24%;
  }

  .home-archetype-back-left {
    left: 44.2%;
    top: 12.8%;
  }

  .home-archetype-back-right {
    left: 59.6%;
    top: 13%;
  }

  .assessment-question-card {
    padding: 1rem;
  }

  .info-modal-header {
    display: block;
  }

  .assessment-question-kicker,
  .assessment-answer-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .assessment-question-text {
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .choice-card {
    padding: 0.85rem 0.82rem;
  }

  .choice-card-inner {
    gap: 0.65rem;
  }

  .choice-card-marker {
    min-width: 1.65rem;
    height: 1.65rem;
  }

  .choice-card-copy {
    font-size: 0.91rem;
    line-height: 1.48;
  }
}

@media (max-width: 700px) {
  .home-stage {
    min-height: 100svh;
  }

  .home-stage-art {
    position: absolute;
    top: 0;
    left: 50%;
    width: 150vw;
    min-height: 100svh;
    aspect-ratio: auto;
    transform: translateX(-50%);
    background-size: 100% auto;
    background-position: center top;
    box-shadow: none;
  }

  .home-stage-art::before {
    background:
      radial-gradient(circle at 50% 28%, rgba(210, 233, 255, 0.14), transparent 20%),
      radial-gradient(circle at 50% 5%, rgba(18, 24, 44, 0.56), transparent 34%);
  }

  .home-stage-art::after {
    background:
      linear-gradient(180deg, rgba(4, 6, 14, 0.3) 0%, rgba(4, 6, 14, 0.12) 26%, rgba(4, 5, 12, 0.62) 100%);
  }

  .home-overlay {
    background:
      linear-gradient(180deg, rgba(8, 10, 18, 0.12) 0%, rgba(8, 10, 18, 0.1) 34%, rgba(8, 10, 18, 0.44) 100%);
  }

  .home-copy {
    top: 1.5rem;
    width: calc(100% - 2rem);
  }

  .home-title {
    font-size: 2.15rem;
    line-height: 1;
  }

  .home-subtitle {
    margin-top: 0;
    max-width: 24rem;
    font-size: 0.9rem;
    line-height: 1.2;
    color: rgba(220, 227, 238, 0.78);
  }

  .home-card-assessment {
    left: 50%;
    right: auto;
    top: 21rem;
    bottom: auto;
    width: min(calc(100vw - 2rem), 22rem);
    gap: 0.8rem;
    padding: 0.85rem 0.9rem;
    transform: translateX(-50%);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(28, 33, 46, 0.78), rgba(16, 20, 31, 0.7));
  }

  .home-card-assessment:hover {
    transform: translateX(-50%);
  }

  .home-card-art {
    width: 3.5rem;
    height: 3.5rem;
  }

  .home-card-title {
    font-size: 1.2rem;
  }

  .home-card-text {
    margin-top: 0.35rem;
    max-width: none;
    font-size: 0.7rem;
    line-height: 1.4;
    color: rgba(219, 227, 239, 0.68);
  }
}

@media (max-width: 420px) {
  .assessment-question-card {
    padding: 0.9rem;
  }

  .assessment-question-text {
    margin-right: 3.5rem;
    font-size: 1rem;
  }

  .assessment-question-info {
    top: 0.9rem;
    right: 0.9rem;
  }

  .info-icon-button {
    padding: 0.52rem 0.72rem;
  }

  .info-modal-card {
    max-height: min(88svh, 88vh);
    padding: 0.8rem 0.85rem 0.9rem;
  }

  .info-modal-header {
    top: -0.8rem;
    margin: 0 -0.85rem;
    padding: 0.15rem 4.2rem 0.9rem 0.85rem;
  }

  .info-modal-close {
    top: 0.65rem;
    right: 0.85rem;
    padding: 0.5rem 0.7rem;
  }

  .choice-card {
    padding: 0.78rem 0.78rem;
    border-radius: 1rem;
  }

  .choice-card-marker {
    min-width: 1.55rem;
    height: 1.55rem;
    font-size: 0.72rem;
  }
}
