:root {
  --bg: #f7f1e7;
  --bg-soft: #efe5d3;
  --card: #fffdf8;
  --ink: #1c2230;
  --muted: #5a647a;
  --accent: #b68a2a;
  --ring: rgba(182, 138, 42, 0.22);
  --shadow: 0 18px 45px rgba(27, 33, 46, 0.11);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fef4de 0%, var(--bg) 45%, var(--bg-soft) 100%);
  line-height: 1.45;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", serif;
  margin: 0;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

p {
  margin: 0;
}

small {
  color: var(--muted);
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.4;
}

.shape-one {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  right: -10vw;
  background: radial-gradient(circle at center, rgba(182, 138, 42, 0.5), rgba(182, 138, 42, 0.05));
  animation: drift 9s ease-in-out infinite;
}

.shape-two {
  width: 40vw;
  height: 40vw;
  left: -13vw;
  bottom: -15vw;
  background: radial-gradient(circle at center, rgba(51, 65, 85, 0.38), rgba(51, 65, 85, 0.08));
  animation: drift 11s ease-in-out infinite reverse;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 36, 53, 0.028) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2.6vh);
  }
}

.app-shell {
  width: min(1240px, 94vw);
  margin: 3.4rem auto;
}

.screen {
  display: none;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(28, 34, 48, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  backdrop-filter: blur(7px);
  animation: rise 280ms ease;
}

.screen.is-active {
  display: grid;
  gap: 1rem;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--accent);
}

.lead {
  color: var(--muted);
  max-width: 64ch;
}

.value-strip {
  display: flex;
  gap: 0.6rem;
  padding: 0;
  margin: 0.2rem 0 0.6rem;
  list-style: none;
  flex-wrap: wrap;
}

.value-strip li {
  background: linear-gradient(130deg, #f8eed8, #fdf8ee);
  border: 1px solid rgba(182, 138, 42, 0.26);
  color: #6f5519;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

#screen-hero {
  padding: clamp(1.25rem, 3vw, 2.05rem);
  min-height: min(900px, calc(100vh - 4rem));
  align-content: start;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.hero-main {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-items: start;
  text-align: left;
  padding-bottom: 0.2rem;
}

.hero-title {
  display: grid;
  gap: 0.22rem;
  max-width: 21ch;
  text-align: left;
}

.hero-title-accent {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.68rem, 4.2vw, 2.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.02;
  color: #0f3d6e;
  letter-spacing: -0.01em;
}

.hero-lead {
  max-width: 64ch;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  color: #334155;
  margin: 0;
}

.hero-cta-row {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  width: 100%;
}

#screen-hero #start-btn {
  justify-self: start;
  min-width: 300px;
}

.hero-subnote {
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
}

#screen-hero .value-strip {
  justify-content: flex-start;
}

.hero-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  padding-left: 0;
  border-left: 0;
  width: 100%;
  max-width: 100%;
}

.framework-card {
  border: 1px solid rgba(15, 61, 110, 0.2);
  border-radius: 14px;
  background: linear-gradient(150deg, #ffffff 0%, #f7fbff 46%, #fdf7ec 100%);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 0.88rem;
  display: grid;
  gap: 0.58rem;
}

.framework-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.framework-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.71rem;
  color: #0f3d6e;
  font-weight: 800;
}

.framework-tag {
  border: 1px solid rgba(51, 65, 85, 0.28);
  background: rgba(51, 65, 85, 0.08);
  color: #334155;
  border-radius: 999px;
  padding: 0.23rem 0.52rem;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.framework-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.framework-chip-row span {
  border: 1px solid rgba(15, 61, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f3d6e;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.5rem;
}

.framework-points {
  margin: 0;
  padding: 0 0 0 1rem;
  display: grid;
  gap: 0.42rem;
}

.framework-points li {
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero-signal-grid {
  display: grid;
  gap: 0.58rem;
  align-content: start;
}

.signal-card {
  border: 1px solid rgba(20, 30, 48, 0.12);
  border-radius: 12px;
  padding: 0.68rem 0.72rem;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 0.3rem;
  position: relative;
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(182, 138, 42, 0.82), rgba(51, 65, 85, 0.75));
}

.signal-title {
  margin: 0;
  font-size: 0.72rem;
  color: #0f3d6e;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.signal-copy {
  margin: 0;
  color: #475569;
  font-size: 0.8rem;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.hero-preview,
.hero-method {
  border: 1px solid rgba(20, 30, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.82rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.hero-bottom-title {
  margin: 0 0 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #0f3d6e;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.preview-tile {
  border: 1px solid rgba(15, 61, 110, 0.16);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(247, 251, 255, 0.95), rgba(255, 250, 240, 0.9));
  padding: 0.58rem 0.6rem;
  display: grid;
  gap: 0.28rem;
}

.preview-tile span {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 800;
}

.preview-tile strong {
  color: #0f172a;
  font-size: 0.82rem;
}

.preview-bars {
  display: grid;
  gap: 0.24rem;
}

.preview-bars i {
  display: block;
  height: 5px;
  border-radius: 999px;
  width: var(--w, 60%);
  background: linear-gradient(90deg, #b68a2a, #334155);
}

.method-list {
  margin: 0;
  padding: 0 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.method-list li {
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.4;
}

.hero-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-list-card {
  border: 1px solid rgba(20, 30, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.86rem;
}

.hero-section-title {
  margin: 0 0 0.62rem;
  font-size: 1.08rem;
  color: #0f172a;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.hero-feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: flex-start;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.38;
  padding: 0.54rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
}

.hero-feature-list li:first-child {
  padding-top: 0.1rem;
  border-top: 0;
}

.hero-feature-list li span {
  color: #0f3d6e;
  line-height: 1.2;
}

.hero-research {
  border: 1px solid rgba(20, 30, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.hero-research-head {
  display: grid;
  gap: 0.3rem;
}

.hero-research-head p {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
}

.hero-research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.research-card {
  border: 1px solid rgba(15, 61, 110, 0.16);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(250, 253, 255, 0.95), rgba(255, 250, 241, 0.92));
  padding: 0.62rem;
  display: grid;
  gap: 0.28rem;
}

.research-badge {
  width: fit-content;
  border: 1px solid rgba(15, 61, 110, 0.2);
  border-radius: 999px;
  padding: 0.16rem 0.42rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #0f3d6e;
  background: #fff;
}

.research-code {
  margin: 0;
  color: #0f3d6e;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.research-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.28;
}

.research-card p {
  margin: 0;
  color: #475569;
  font-size: 0.74rem;
  line-height: 1.35;
}

.btn {
  border: none;
  border-radius: 13px;
  padding: 0.9rem 1.2rem;
  min-height: 48px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  color: #fcfaf6;
  background: linear-gradient(135deg, #b68a2a, #986816);
  box-shadow: 0 10px 24px rgba(152, 104, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(152, 104, 22, 0.36);
}

.quiz-top {
  display: grid;
  gap: 0.5rem;
}

#progress-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(18, 26, 42, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 2.5%;
  height: 100%;
  background: linear-gradient(90deg, #b68a2a, #334155);
  transition: width 180ms ease;
}

.scale-caption {
  color: var(--muted);
  font-size: 0.9rem;
}

.likert-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.likert-btn {
  min-height: 72px;
  padding: 0.55rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 30, 48, 0.12);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.likert-btn strong {
  font-size: 1rem;
}

.likert-btn span {
  font-size: 0.7rem;
  color: var(--muted);
}

.likert-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(182, 138, 42, 0.6);
  box-shadow: 0 8px 18px rgba(33, 41, 58, 0.12);
}

#screen-analyzing {
  min-height: min(620px, calc(100vh - 5.2rem));
  align-content: center;
}

.analyzing-shell {
  width: min(760px, 100%);
  justify-self: center;
  display: grid;
  gap: 0.8rem;
}

.analyzing-shell h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
}

.analyzing-shell > p {
  color: #3f4a60;
  max-width: 60ch;
}

.loader-ring {
  width: 68px;
  height: 68px;
  border: 4px solid rgba(182, 138, 42, 0.22);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 0 7px rgba(182, 138, 42, 0.08);
}

.analyzing-meter {
  border: 1px solid rgba(20, 30, 48, 0.12);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(251, 244, 231, 0.92));
  padding: 0.74rem 0.8rem;
  display: grid;
  gap: 0.46rem;
}

.analyzing-meter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.analyzing-meter-meta strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.86rem;
  color: #0f172a;
  letter-spacing: 0.01em;
}

#analyzing-progress-percent {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #0f3d6e;
  font-size: 0.9rem;
}

.analyzing-meter-track {
  width: 100%;
  height: 11px;
  background: rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.analyzing-meter-fill {
  width: 4%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b68a2a 0%, #0f3d6e 100%);
  transition: width 220ms ease;
}

.analyzing-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.analyzing-step {
  border: 1px solid rgba(20, 30, 48, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.58rem 0.62rem;
  display: flex;
  gap: 0.56rem;
  align-items: flex-start;
}

.analyzing-step strong {
  display: block;
  margin-bottom: 0.13rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: #1e293b;
}

.analyzing-step p {
  color: #5a647a;
  font-size: 0.74rem;
  line-height: 1.34;
}

.step-dot {
  margin-top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(15, 61, 110, 0.25);
  background: rgba(255, 255, 255, 0.92);
  flex: 0 0 auto;
}

.analyzing-step.is-active {
  border-color: rgba(15, 61, 110, 0.33);
  box-shadow: 0 8px 20px rgba(15, 61, 110, 0.08);
}

.analyzing-step.is-active .step-dot {
  border-color: #0f3d6e;
  background: #0f3d6e;
}

.analyzing-step.is-done {
  border-color: rgba(182, 138, 42, 0.36);
  background: rgba(250, 243, 225, 0.9);
}

.analyzing-step.is-done .step-dot {
  border-color: #b68a2a;
  background: #b68a2a;
}

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

.codename-chip {
  width: fit-content;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.04);
  color: #1e293b;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
}

.hook-line {
  font-size: 1.03rem;
  line-height: 1.5;
  color: #334155;
}

.paywall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 0.95rem;
  align-items: start;
}

.paywall-content {
  display: grid;
  gap: 0.8rem;
}

.paywall-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.paywall-highlights li {
  position: relative;
  padding-left: 1rem;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.42;
}

.paywall-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #b68a2a;
}

.locked-stack {
  display: grid;
  gap: 0.58rem;
}

.locked-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 30, 48, 0.13);
  border-radius: var(--radius-md);
  padding: 0.84rem 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 239, 227, 0.86));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
}

.locked-card::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(20, 30, 48, 0.08));
}

.locked-card > div,
.locked-badge {
  position: relative;
  z-index: 1;
}

.locked-card > div {
  display: grid;
  gap: 0.2rem;
}

.locked-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.locked-card p {
  margin: 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.38;
}

.locked-badge {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.5rem;
  white-space: nowrap;
}

.offer-panel {
  border: 1px solid rgba(182, 138, 42, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(182, 138, 42, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(255, 251, 242, 0.96), rgba(253, 247, 233, 0.9));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  padding: 0.95rem;
  display: grid;
  gap: 0.8rem;
}

.offer-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7a5c15;
}

.offer-price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-end;
}

.price {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: #0f172a;
  font-weight: 800;
}

.price-compare {
  margin: 0;
  display: grid;
  gap: 0.1rem;
  justify-items: end;
}

.price-compare span {
  color: #64748b;
  font-size: 0.79rem;
  text-decoration: line-through;
}

.price-compare strong {
  font-size: 0.83rem;
  color: #7a5c15;
}

.unlock-btn {
  width: 100%;
}

.offer-note {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
}

.paywall-status {
  min-height: 1.1rem;
  margin: 0;
  color: #475569;
  font-size: 0.81rem;
  line-height: 1.35;
}

.paywall-status.is-error {
  color: #9a3412;
}

.paywall-status.is-success {
  color: #166534;
}

.offer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.offer-chip-row span {
  border: 1px solid rgba(20, 30, 48, 0.14);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.offer-list li {
  position: relative;
  padding-left: 0.92rem;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.4;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #334155;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 0.9rem;
  align-items: start;
}

.checkout-card {
  border: 1px solid rgba(18, 26, 42, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  gap: 0.75rem;
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.checkout-head h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.checkout-pill {
  border: 1px solid rgba(20, 30, 48, 0.14);
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #334155;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.checkout-includes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.checkout-includes li {
  position: relative;
  padding-left: 0.9rem;
  color: #334155;
  font-size: 0.86rem;
}

.checkout-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #b68a2a;
}

.checkout-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.11);
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.93rem;
  color: #334155;
  align-items: baseline;
}

.checkout-row strong {
  color: #0f172a;
  font-size: 1.01rem;
}

.checkout-row.muted {
  color: #64748b;
  font-size: 0.86rem;
}

.checkout-row.savings {
  color: #7a5c15;
}

.checkout-row.savings strong {
  color: #7a5c15;
}

.checkout-side {
  border: 1px solid rgba(20, 30, 48, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.95rem;
  display: grid;
  gap: 0.7rem;
}

.checkout-side-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
}

.checkout-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.checkout-side-list li {
  position: relative;
  padding-left: 0.95rem;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.42;
}

.checkout-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #334155;
}

.checkout-side-note {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
}

.checkout-card small {
  color: #64748b;
}

.report-hero {
  display: grid;
  gap: 0.8rem;
}

.report-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.report-download-btn {
  min-height: 40px;
  padding: 0.56rem 0.86rem;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fcfaf6;
  border: 1px solid rgba(152, 104, 22, 0.56);
  background: linear-gradient(135deg, #b68a2a, #986816);
  box-shadow: 0 10px 24px rgba(152, 104, 22, 0.28);
}

.report-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(152, 104, 22, 0.34);
}

.report-download-btn:disabled {
  transform: none;
  opacity: 0.74;
  cursor: wait;
}

.pdf-export-status {
  margin: 0;
  min-height: 1rem;
  font-size: 0.79rem;
  color: #64748b;
}

.pdf-export-status.is-error {
  color: #b91c1c;
}

.pdf-export-status.is-success {
  color: #166534;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats > div {
  flex: 1;
  min-width: 190px;
  border: 1px solid rgba(20, 30, 48, 0.11);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.85rem;
  display: grid;
  gap: 0.25rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-stats strong {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
}

.verdict-grid {
  display: grid;
  gap: 0.45rem;
}

.verdict-label {
  margin: 0;
  font-weight: 800;
  color: #7e1f19;
  letter-spacing: 0.01em;
}

.subtype-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.subtype-card {
  border: 1px solid rgba(20, 30, 48, 0.11);
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
  display: grid;
  gap: 0.2rem;
}

.subtype-card span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.subtype-card strong {
  font-size: 1.05rem;
}

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

.snapshot-card {
  border: 1px solid rgba(20, 30, 48, 0.11);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
  display: grid;
  gap: 0.25rem;
}

.snapshot-card span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.snapshot-card strong {
  font-size: 0.98rem;
}

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

.duo-column {
  display: grid;
  gap: 0.6rem;
}

.duo-label {
  margin: 0;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.01em;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.loop-step {
  border: 1px solid rgba(20, 30, 48, 0.11);
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem;
  display: grid;
  gap: 0.32rem;
  position: relative;
}

.loop-step span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.loop-step strong {
  font-size: 0.95rem;
}

.loop-step p {
  margin: 0;
  color: #334155;
  font-size: 0.86rem;
}

.loop-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(31, 42, 61, 0.5);
  font-weight: 700;
}

.card {
  border: 1px solid rgba(20, 30, 48, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

#radar-canvas {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(18, 26, 42, 0.12);
  background: linear-gradient(180deg, #fffefa, #fbf7ef);
  cursor: crosshair;
}

.radar-shell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.radar-tooltip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -112%);
  pointer-events: none;
  width: min(170px, calc(100vw - 72px));
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(15, 61, 110, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  padding: 0.5rem 0.6rem;
  display: grid;
  gap: 0.12rem;
  z-index: 3;
}

.radar-tooltip strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.radar-tooltip span {
  font-size: 0.77rem;
  color: #0f3d6e;
  font-weight: 700;
}

.radar-hint {
  color: var(--muted);
  font-size: 0.79rem;
}

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

.trait-card {
  border: 1px solid rgba(18, 26, 42, 0.12);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fff;
  display: grid;
  gap: 0.4rem;
}

.trait-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
}

.trait-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.trait-score {
  color: #6f5519;
  font-weight: 800;
}

.trait-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(18, 26, 42, 0.1);
}

.trait-bar > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b68a2a, #334155);
}

.trait-band {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
}

.list-stack {
  display: grid;
  gap: 0.75rem;
}

.list-item {
  border: 1px solid rgba(18, 26, 42, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 0.72rem;
  display: grid;
  gap: 0.35rem;
}

.list-item strong {
  font-size: 0.93rem;
}

.metric-inline {
  color: var(--muted);
  font-size: 0.78rem;
}

.strength-item strong {
  color: #334155;
}

.risk-item strong {
  color: #8b3327;
}

.list-item p {
  color: #334155;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 0.6rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  border: 1px solid rgba(18, 26, 42, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: 0.72rem;
}

.timeline-day {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f5e8cd, #fdf7ea);
  border: 1px solid rgba(182, 138, 42, 0.25);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #684f18;
}

.timeline-body {
  display: grid;
  gap: 0.3rem;
}

.timeline-phase {
  display: inline-flex;
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(182, 138, 42, 0.35);
  color: #6f5519;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.2rem 0.52rem;
  background: rgba(182, 138, 42, 0.12);
}

.timeline-body strong {
  font-size: 0.89rem;
}

.timeline-body p {
  margin: 0;
  color: #334155;
  font-size: 0.88rem;
}

.report-screen {
  background:
    radial-gradient(1000px 500px at 14% -18%, rgba(196, 154, 58, 0.12), transparent 65%),
    radial-gradient(900px 460px at 86% -10%, rgba(15, 61, 110, 0.08), transparent 62%),
    linear-gradient(180deg, #faf7f0 0%, #f8f4eb 100%);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

.report-screen .eyebrow {
  color: #c49a3a;
}

.report-screen h2,
.report-screen h3 {
  color: #0f172a;
}

.report-screen .lead {
  color: #475569;
}

.report-screen .report-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 260px at 85% -35%, rgba(196, 154, 58, 0.18), transparent 62%),
    linear-gradient(160deg, #fffdf8 0%, #f8f2e6 62%, #f7efe2 100%);
  border: 1px solid rgba(196, 154, 58, 0.3);
  border-radius: 18px;
  padding: 1rem;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.report-screen .report-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(196, 154, 58, 0.82), rgba(15, 61, 110, 0.42));
}

.report-screen .report-hero h2 {
  color: #0f172a;
}

.report-screen .report-hero .lead {
  color: #334155;
}

.report-screen .report-hero .eyebrow {
  color: #8b6a23;
}

.report-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-chip-low {
  color: #475569;
  border-color: rgba(100, 116, 139, 0.34);
  background: rgba(148, 163, 184, 0.14);
}

.status-chip-moderate {
  color: #334155;
  border-color: rgba(51, 65, 85, 0.32);
  background: rgba(51, 65, 85, 0.1);
}

.status-chip-high,
.status-chip-very_high {
  color: #9a3412;
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.1);
}

.status-chip-neutral {
  color: #475569;
  border-color: rgba(71, 85, 105, 0.26);
  background: rgba(148, 163, 184, 0.12);
}

.report-screen .report-hero .hero-stats > div {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 6px 14px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.report-screen .report-hero .hero-stats span {
  color: #64748b;
}

.report-screen .report-hero .hero-stats strong {
  color: #0f172a;
}

.report-screen .report-download-btn:disabled {
  border-color: rgba(152, 104, 22, 0.42);
  color: rgba(252, 250, 246, 0.85);
}

.report-screen .snapshot-card,
.report-screen .subtype-card,
.report-screen .loop-step,
.report-screen .trait-card,
.report-screen .list-item,
.report-screen .timeline-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.report-screen .card {
  background: #ffffff;
  border-color: #e2e8f0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-screen .report-hero {
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-screen .snapshot-card span,
.report-screen .subtype-card span,
.report-screen .loop-step span,
.report-screen .trait-band,
.report-screen .metric-inline {
  color: #64748b;
}

.report-screen .snapshot-card strong,
.report-screen .subtype-card strong,
.report-screen .trait-name,
.report-screen .list-item strong,
.report-screen .timeline-body strong,
.report-screen .duo-label {
  color: #0f172a;
}

.report-screen .trait-score {
  color: #0f3d6e;
}

.report-screen .verdict-label {
  color: #0f3d6e;
}

.report-screen .loop-step p,
.report-screen .list-item p,
.report-screen .timeline-body p {
  color: #475569;
}

.report-screen .loop-step:not(:last-child)::after {
  color: rgba(100, 116, 139, 0.7);
}

.report-screen #radar-canvas {
  border-color: #dbe3ef;
  background: linear-gradient(180deg, #fffdf8, #f8fbff);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.report-screen .radar-shell {
  border: 1px solid #dbe3ef;
  background: linear-gradient(180deg, #fffefb, #f7faff);
}

.report-screen .radar-shell:hover #radar-canvas {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.report-screen .radar-tooltip {
  border-color: rgba(15, 61, 110, 0.24);
  background: rgba(255, 255, 255, 0.98);
}

.report-screen .radar-hint {
  color: #64748b;
}

.report-screen .trait-bar {
  position: relative;
  background: #e2e8f0;
}

.report-screen .trait-bar::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 50%;
  border-left: 1px dashed rgba(148, 163, 184, 0.65);
}

.report-screen .trait-bar > div {
  background: linear-gradient(90deg, #b68a2a, #334155);
}

.trait-scale {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.meaning-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.8rem;
  background: #f8fbff;
}

.meaning-title {
  margin: 0 0 0.22rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f3d6e;
  font-weight: 800;
}

.intensity-stack {
  display: grid;
  gap: 0.75rem;
}

.intensity-card {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 0.8rem;
  background: #ffffff;
  display: grid;
  gap: 0.65rem;
}

.intensity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.intensity-head p {
  margin: 0;
}

.intensity-title {
  color: #0f172a;
  font-weight: 700;
}

.intensity-subtitle {
  color: #64748b;
  font-size: 0.82rem;
}

.ring-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ring-meter {
  --meter-value: 40%;
  --meter-color: #4f8dff;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: conic-gradient(var(--meter-color) var(--meter-value), rgba(148, 163, 184, 0.22) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.ring-meter::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: #ffffff;
}

.ring-meter strong {
  position: relative;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1;
}

.ring-meter span {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  color: #64748b;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.intensity-score {
  color: #0f3d6e;
  font-size: 0.94rem;
}

.intensity-summary {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
}

.hard-truth-card {
  border-color: rgba(122, 25, 26, 0.24);
  background:
    radial-gradient(520px 150px at 95% -40%, rgba(180, 63, 63, 0.14), transparent 62%),
    linear-gradient(180deg, #fffdf9, #fff9f8);
}

.hard-truth-line {
  margin: 0;
  color: #7f1d1d;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 700;
}

.perception-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.perception-panel {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.74rem;
  background: #fff;
  display: grid;
  gap: 0.32rem;
}

.perception-label {
  margin: 0;
  color: #6b7280;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.perception-copy {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
}

.gap-bars {
  display: grid;
  gap: 0.62rem;
}

.gap-row {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.72rem;
  background: #fff;
  display: grid;
  gap: 0.5rem;
}

.gap-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
}

.gap-row-head strong {
  color: #0f172a;
  font-size: 0.85rem;
}

.gap-row-head span {
  color: #64748b;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.gap-meter-group {
  display: grid;
  gap: 0.42rem;
}

.gap-meter {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.gap-meter-label {
  color: #64748b;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.gap-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.gap-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b68a2a, #6b7280);
}

.gap-track-external i {
  background: linear-gradient(90deg, #475569, #1f2937);
}

.gap-meter-score {
  color: #334155;
  font-weight: 700;
  font-size: 0.8rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.scenario-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.74rem;
  background: #fff;
  display: grid;
  gap: 0.34rem;
}

.scenario-kicker {
  margin: 0;
  color: #6f5519;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.scenario-card strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.scenario-card p {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
}

.screen p,
.screen li {
  overflow-wrap: anywhere;
}

.strength-item strong {
  color: #334155;
}

.risk-item strong {
  color: #dc2626;
}

.benchmark-overview {
  display: grid;
  gap: 0.65rem;
}

.benchmark-pill {
  width: fit-content;
  border: 1px solid rgba(15, 61, 110, 0.22);
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(248, 251, 255, 0.92), rgba(255, 249, 237, 0.9));
  padding: 0.35rem 0.78rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.benchmark-pill span {
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.benchmark-pill strong {
  color: #0f3d6e;
  font-size: 1rem;
}

.benchmark-rows {
  display: grid;
  gap: 0.62rem;
}

.benchmark-row {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
  display: grid;
  gap: 0.38rem;
}

.benchmark-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.benchmark-row-head strong {
  color: #0f172a;
  font-size: 0.88rem;
}

.benchmark-row-head span {
  color: #0f3d6e;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.benchmark-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.benchmark-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b68a2a, #0f3d6e);
}

.benchmark-row p {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
}

.matrix-grid {
  margin-top: 0.2rem;
}

.matrix-item {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
  display: grid;
  gap: 0.26rem;
}

.matrix-item strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.matrix-item p {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
}

.matrix-item-toxic {
  border-left: 3px solid rgba(220, 38, 38, 0.45);
}

.matrix-item-ideal {
  border-left: 3px solid rgba(182, 138, 42, 0.7);
}

.matrix-conflict-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(180deg, #fff, #f9fbff);
  display: grid;
  gap: 0.34rem;
}

.matrix-conflict-card p {
  margin: 0;
  color: #334155;
  font-size: 0.88rem;
}

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

.career-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.72rem;
  background: #fff;
  display: grid;
  gap: 0.3rem;
}

.career-card p {
  margin: 0;
  color: #334155;
  font-size: 0.88rem;
}

.career-leverage-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 0.8rem;
  background: linear-gradient(180deg, #fff, #fffdf8);
  display: grid;
  gap: 0.45rem;
}

.career-leverage-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.38rem;
}

.career-leverage-list li {
  color: #475569;
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    padding-left: 0;
    border-left: 0;
  }

  #screen-hero #start-btn {
    justify-self: stretch;
    min-width: 0;
  }

  .hero-main {
    justify-items: start;
    text-align: left;
  }

  .hero-title {
    text-align: left;
  }

  #screen-hero .value-strip {
    justify-content: flex-start;
  }

  #screen-hero {
    min-height: 0;
  }

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

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

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

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

  .analyzing-steps {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .loop-step::after {
    display: none;
  }

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

  .report-title-row {
    align-items: flex-start;
  }

  .report-hero-top {
    align-items: flex-start;
  }

  .paywall-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .perception-dual,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .app-shell {
    width: min(930px, 95vw);
    margin: 1.4rem auto;
  }

  .screen {
    padding: 1rem;
    border-radius: 18px;
  }

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

  #screen-analyzing {
    min-height: 0;
  }

  .analyzing-meter-meta {
    flex-wrap: wrap;
  }

  .likert-btn {
    min-height: 64px;
  }

  .snapshot-grid,
  .loop-grid {
    grid-template-columns: 1fr;
  }

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

  .ring-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats > div {
    min-width: 100%;
  }

  .report-download-btn {
    width: 100%;
    justify-content: center;
  }

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

  .locked-card {
    flex-direction: column;
  }

  .locked-badge {
    align-self: flex-start;
  }

  .offer-price-row {
    align-items: center;
  }

  .checkout-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body.print-report-mode {
    background: #f8f4eb !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.print-report-mode .backdrop,
  body.print-report-mode #screen-hero,
  body.print-report-mode #screen-quiz,
  body.print-report-mode #screen-analyzing,
  body.print-report-mode #screen-ready,
  body.print-report-mode #screen-checkout {
    display: none !important;
  }

  body.print-report-mode .app-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.print-report-mode #screen-report {
    display: grid !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: linear-gradient(180deg, #faf7f0 0%, #f8f4eb 100%) !important;
    padding: 0 !important;
  }

  body.print-report-mode #screen-report .report-hero {
    background: linear-gradient(160deg, #fffdf8 0%, #f8f2e6 100%) !important;
  }

  body.print-report-mode #download-pdf-btn,
  body.print-report-mode #pdf-export-status {
    display: none !important;
  }

  body.print-report-mode .report-screen,
  body.print-report-mode .report-screen * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
