:root {
  --navy-950: #050505;
  --navy-900: #111111;
  --navy-800: #2a2a2a;
  --cream: #f2f0e9;
  --paper: #ffffff;
  --gold: #f8c500;
  --gold-light: #ffe16a;
  --gold-ink: #876300;
  --brand-red: #d52332;
  --ink: #151515;
  --muted: #666666;
  --line: #d7d4cc;
  --success: #26705c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 900;
  left: 12px;
  padding: 12px 16px;
  position: fixed;
  top: -80px;
  z-index: 9999;
}

.skip-link:focus {
  top: 12px;
}

.noscript-warning {
  background: #fff3c4;
  border-left: 5px solid var(--gold-ink);
  margin: 40px auto;
  max-width: 900px;
  padding: 22px 26px;
}

.noscript-warning p {
  margin: 7px 0 0;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  align-items: center;
  background: var(--navy-950);
  border-bottom: 4px solid var(--gold);
  display: flex;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
}

.brand {
  align-items: center;
  color: white;
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--gold);
  color: var(--navy-950);
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  letter-spacing: -0.03em;
  width: 44px;
}

.brand-logo {
  background: white;
  display: block;
  height: 52px;
  object-fit: contain;
  padding: 4px;
  width: 55px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-action {
  align-items: center;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
}

.header-action:hover {
  color: var(--gold-light);
}

.header-action svg,
.primary-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(248, 197, 0, 0.15), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: white;
  overflow: hidden;
  padding: 82px 24px 88px;
  position: relative;
}

.hero::before {
  background: repeating-linear-gradient(
    135deg,
    var(--gold) 0,
    var(--gold) 28px,
    var(--navy-950) 28px,
    var(--navy-950) 56px
  );
  content: "";
  height: 13px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero::after {
  border: 1px solid rgba(248, 197, 0, 0.2);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -210px;
  top: -250px;
  width: 520px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  color: var(--gold-light);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  max-width: 790px;
}

.hero h1 span {
  background: var(--gold);
  box-decoration-break: clone;
  color: var(--navy-950);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
}

.hero-lead {
  color: #dddddd;
  font-size: 18px;
  line-height: 1.7;
  margin: 28px 0 0;
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.primary-button {
  align-items: center;
  background: var(--gold);
  border: 0;
  color: var(--navy-950);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
}

.primary-button:hover {
  background: var(--gold-light);
}

.privacy-note {
  color: #bdbdbd;
  font-size: 13px;
}

.result-preview {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  padding: 30px;
  transform: rotate(1.1deg);
}

.preview-topline,
.preview-score {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.preview-topline {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.preview-badge {
  background: var(--navy-900);
  color: white;
  padding: 6px 9px;
}

.preview-kicker {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 800;
  margin: 26px 0 18px;
}

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

.result-preview li {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  gap: 11px;
  line-height: 1.45;
}

.check-icon {
  color: var(--success);
  display: inline-flex;
  flex: 0 0 auto;
}

.check-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.preview-score {
  background: var(--cream);
  margin-top: 24px;
  padding: 18px;
}

.preview-score span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preview-score strong {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
}

.trust-strip {
  background: var(--gold);
  color: var(--navy-950);
  display: grid;
  font-size: 11px;
  font-weight: 900;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  letter-spacing: 0.1em;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span {
  border-left: 1px solid rgba(0, 0, 0, 0.24);
  padding: 18px 12px;
}

.trust-strip span:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.24);
}

.test-intro {
  display: grid;
  gap: 72px;
  grid-template-columns: 0.7fr 1.3fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: 110px 24px;
}

.section-number {
  color: var(--gold-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 48px;
}

.test-intro .section-label {
  color: var(--brand-red);
  margin: 14px 0 12px;
}

.test-intro h2 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.test-intro > div:first-child > p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.dimension-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}

.dimension-grid article {
  background: var(--paper);
  min-height: 210px;
  padding: 30px;
}

.dimension-grid article > span {
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 900;
}

.dimension-grid h3 {
  color: var(--navy-900);
  font-size: 18px;
  margin: 38px 0 10px;
}

.dimension-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .test-intro {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .result-preview {
    max-width: 560px;
    transform: none;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-copy small,
  .header-action {
    display: none;
  }

  .hero {
    padding: 58px 20px 64px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .primary-button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span,
  .trust-strip span:last-child {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  }

  .test-intro {
    gap: 42px;
    padding: 76px 20px;
  }

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

.primary-button:disabled {
  background: #d7d2c7;
  color: #8b8b86;
  cursor: not-allowed;
}

.secondary-button,
.text-button {
  align-items: center;
  background: transparent;
  border: 1px solid #cfc9bc;
  color: var(--navy-900);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
}

.secondary-button:hover {
  background: #eee9df;
}

.secondary-button svg,
.text-button svg,
.result-actions svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.text-button {
  border: 0;
  color: var(--muted);
}

.test-area {
  scroll-margin-top: 20px;
}

.intro-button {
  margin-top: 28px;
}

.data-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 430px;
}

.test-shell {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  margin: 70px auto 110px;
  max-width: 1240px;
  min-height: 760px;
  scroll-margin-top: 24px;
}

.test-sidebar {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(248, 197, 0, 0.11), transparent 35%),
    var(--navy-950);
  color: white;
  padding: 34px 25px;
}

.sidebar-kicker {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.test-sidebar ol {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.test-sidebar li {
  align-items: center;
  color: #9a9a9a;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px 1fr;
  min-height: 66px;
  padding: 10px;
  transition: 180ms ease;
}

.test-sidebar li > span {
  align-items: center;
  border: 1px solid #3b3b3b;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.test-sidebar li div {
  display: grid;
  gap: 4px;
}

.test-sidebar li strong {
  font-size: 13px;
}

.test-sidebar li small {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.test-sidebar li.active {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

.test-sidebar li.active > span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.test-sidebar li.done {
  color: #c8c8c8;
}

.test-sidebar li.done > span {
  border-color: var(--success);
  color: #66bca4;
}

.sidebar-privacy {
  border-top: 1px solid #333333;
  margin-top: 38px;
  padding: 26px 10px 0;
}

.sidebar-privacy strong {
  color: var(--gold-light);
  font-size: 12px;
}

.sidebar-privacy p {
  color: #a5a5a5;
  font-size: 11px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.test-content {
  background: var(--paper);
  min-width: 0;
  padding: 46px 54px;
}

.step-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 35px;
  justify-content: space-between;
  margin-bottom: 38px;
  padding-bottom: 32px;
}

.step-eyebrow,
.result-section-label,
.report-brand {
  color: var(--brand-red);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-heading h2 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3.6vw, 47px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
}

.step-heading p {
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 0;
  max-width: 650px;
}

.progress-ring {
  align-items: center;
  background:
    radial-gradient(circle, var(--paper) 61%, transparent 63%),
    conic-gradient(var(--gold) var(--progress), #e5e0d5 0);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.progress-ring.complete {
  --progress: 100%;
}

.progress-ring span {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 900;
}

.question-list {
  display: grid;
  gap: 24px;
}

.question-card {
  border: 1px solid #dfdbd1;
  margin: 0;
  padding: 28px;
}

.question-card legend {
  color: var(--navy-900);
  float: left;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  padding: 0;
  width: 100%;
}

.question-card legend + * {
  clear: both;
}

.question-card legend > span {
  color: var(--gold-ink);
}

.question-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 20px;
}

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

.answer-option {
  align-items: flex-start;
  background: #f6f3ec;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
  position: relative;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.answer-option:hover {
  border-color: #c7b787;
  transform: translateY(-1px);
}

.answer-option.selected {
  background: #fff8e7;
  border-color: var(--gold);
}

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

.answer-option input:focus-visible + .radio-mark {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.radio-mark {
  background: white;
  border: 1px solid #a5a399;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 18px;
  margin-top: 2px;
  position: relative;
  width: 18px;
}

.answer-option.selected .radio-mark {
  border-color: var(--navy-900);
}

.answer-option.selected .radio-mark::after {
  background: var(--navy-900);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 10px;
}

.answer-copy {
  display: grid;
  gap: 6px;
}

.answer-copy strong {
  color: var(--navy-900);
  font-size: 13px;
}

.answer-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.step-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 28px;
}

.step-actions > div {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.remaining-note {
  color: #9a6531;
  font-size: 11px;
}

.number-step-heading {
  margin-bottom: 26px;
}

.calculation-notice {
  align-items: center;
  background: #eef5f2;
  border-left: 4px solid var(--success);
  display: grid;
  gap: 6px 16px;
  grid-template-columns: auto 1fr auto;
  margin-bottom: 28px;
  padding: 18px 20px;
}

.calculation-notice strong {
  color: var(--success);
  font-size: 12px;
  text-transform: uppercase;
}

.calculation-notice p {
  color: #45625a;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.calculation-notice button {
  background: transparent;
  border: 0;
  color: var(--success);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.number-group {
  border: 1px solid var(--line);
  margin-top: 22px;
  padding: 28px;
}

.number-group-heading {
  display: grid;
  gap: 16px;
  grid-template-columns: 38px 1fr;
  margin-bottom: 25px;
}

.number-group-heading > span {
  align-items: center;
  background: var(--navy-900);
  color: white;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.number-group-heading h3 {
  color: var(--navy-900);
  font-size: 17px;
  margin: 0 0 5px;
}

.number-group-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

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

.number-field {
  min-width: 0;
}

.number-field > label {
  color: var(--navy-900);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
}

.number-field > label span {
  color: #a54f3b;
}

.input-shell {
  align-items: center;
  background: white;
  border: 1px solid #cfc9bc;
  display: flex;
  min-height: 52px;
  padding: 0 14px;
}

.input-shell:focus-within {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.input-shell.input-error {
  border-color: #b6523b;
}

.input-shell input {
  background: transparent;
  border: 0;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 800;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

.input-shell > span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  margin-left: 10px;
}

.number-field > small {
  color: var(--muted);
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 6px;
}

.number-field > small.field-error {
  color: #a33f2e;
  font-weight: 700;
}

.data-consistency-warning {
  background: #fff6eb;
  border-left: 5px solid #bd5c45;
  margin-top: 24px;
  padding: 18px 20px;
}

.data-consistency-warning strong {
  color: #8d3d2c;
  display: block;
  font-size: 12px;
}

.data-consistency-warning p {
  color: #744d42;
  font-size: 11px;
  line-height: 1.6;
  margin: 6px 0 0;
}

.horizon-picker {
  align-items: center;
  background: #f2eee5;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 26px;
  padding: 20px 22px;
}

.horizon-picker strong {
  color: var(--navy-900);
  font-size: 13px;
}

.horizon-picker p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  margin: 5px 0 0;
  max-width: 480px;
}

.horizon-options {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.horizon-options button {
  background: white;
  border: 1px solid #cfc9bc;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 13px;
}

.horizon-options button:hover {
  border-color: var(--gold);
}

.horizon-options button.selected {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.calculate-actions {
  margin-top: 30px;
}

.result-shell {
  display: block;
  max-width: 1100px;
}

.result-shell .test-content {
  padding: 0;
}

.result-report {
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.report-header {
  align-items: center;
  background: var(--navy-950);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 26px 42px;
}

.report-brand-lockup {
  align-items: center;
  display: flex;
  gap: 16px;
}

.report-brand-lockup > img {
  background: white;
  display: block;
  height: 46px;
  object-fit: contain;
  padding: 3px;
  width: 49px;
}

.report-header p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 7px 0 0;
}

.report-header .report-brand {
  color: var(--gold-light);
  margin: 0;
}

.report-date {
  color: #b0b0b0;
  font-size: 11px;
}

.result-hero {
  align-items: center;
  background:
    linear-gradient(115deg, rgba(248, 197, 0, 0.13), transparent 40%),
    var(--navy-900);
  color: white;
  display: grid;
  gap: 38px;
  grid-template-columns: 150px 1fr;
  padding: 48px 54px;
}

.score-circle {
  align-items: center;
  background:
    radial-gradient(circle, var(--navy-900) 61%, transparent 63%),
    conic-gradient(var(--gold) var(--score), #333333 0);
  border-radius: 50%;
  display: flex;
  height: 138px;
  justify-content: center;
  width: 138px;
}

.score-circle > div {
  align-items: baseline;
  display: flex;
}

.score-circle strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
}

.score-circle span {
  color: #b0b0b0;
  font-size: 12px;
  margin-left: 3px;
}

.result-profile > span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-profile h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 10px 0 15px;
}

.result-profile p {
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}

.confidence-badge {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  gap: 14px;
  margin-top: 20px;
  padding: 10px 13px;
}

.confidence-badge span {
  color: #b6b6b6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-badge strong {
  color: white;
  font-size: 11px;
}

.confidence-badge.confidence-strong {
  border-color: rgba(102, 188, 164, 0.55);
}

.confidence-badge.confidence-medium {
  border-color: rgba(248, 197, 0, 0.62);
}

.confidence-badge.confidence-low {
  border-color: rgba(211, 105, 82, 0.58);
}

.result-numbers {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-number {
  background: #f2eee5;
  min-height: 190px;
  padding: 32px 36px;
}

.result-number.primary-result {
  background: var(--gold);
}

.result-number > span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-number strong {
  color: var(--navy-900);
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 18px 0 10px;
}

.result-number small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  line-height: 1.55;
}

.primary-result > span,
.primary-result small {
  color: #4a3d20;
}

.horizon-plan {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 35px;
  grid-template-columns: 0.75fr 1.25fr;
  padding: 40px 54px;
}

.horizon-plan h3 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.horizon-plan dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.horizon-plan dl > div {
  background: #f2eee5;
  padding: 16px 18px;
}

.horizon-plan dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.horizon-plan dd {
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 900;
  margin: 8px 0 0;
}

.result-comparison {
  display: grid;
  gap: 45px;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 54px;
}

.result-comparison h3,
.constraint-card h3,
.result-section-heading h3,
.report-notes h3 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.result-comparison p,
.constraint-card p,
.report-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.comparison-metrics {
  background: #f2eee5;
  display: grid;
  padding: 6px 25px;
}

.comparison-metrics > div {
  border-bottom: 1px solid #d8d2c7;
  display: grid;
  gap: 7px;
  padding: 17px 0;
}

.comparison-metrics > div:last-child {
  border-bottom: 0;
}

.comparison-metrics span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-metrics strong {
  color: var(--navy-900);
  font-size: 17px;
}

.comparison-metrics .positive strong {
  color: var(--success);
}

.comparison-metrics .negative strong {
  color: #ad4936;
}

.marketing-decision-section {
  background: #fcfaf5;
  border-top: 1px solid var(--line);
  padding: 54px;
}

.marketing-decision-section .result-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 820px;
}

.marketing-decision-callout {
  background: white;
  border-left: 7px solid var(--gold);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  padding: 27px 30px;
}

.marketing-decision-callout > span {
  color: #94722b;
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.marketing-decision-callout h3 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}

.marketing-decision-callout p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 10px 0 0;
  max-width: 850px;
}

.marketing-decision-callout.decision-improve {
  background: #fff5f1;
  border-left-color: #bd5c45;
}

.marketing-decision-callout.decision-improve > span {
  color: #a34834;
}

.marketing-decision-callout.decision-ready {
  background: #eef7f3;
  border-left-color: var(--success);
}

.marketing-decision-callout.decision-ready > span {
  color: var(--success);
}

.budget-bridge {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.budget-bridge article {
  background: white;
  border-top: 4px solid #d8d2c7;
  min-height: 182px;
  padding: 23px 21px;
}

.budget-bridge article.metric-warning {
  background: #fff7f3;
  border-top-color: #bd5c45;
}

.budget-bridge article.metric-positive {
  background: #f1f8f5;
  border-top-color: var(--success);
}

.budget-bridge span {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.45;
  min-height: 27px;
  text-transform: uppercase;
}

.budget-bridge strong {
  color: var(--navy-900);
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 16px 0 9px;
}

.budget-bridge small {
  color: var(--muted);
  display: block;
  font-size: 10px;
  line-height: 1.55;
}

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

.decision-detail-grid > article {
  background: white;
  border: 1px solid var(--line);
  min-width: 0;
}

.decision-detail-heading {
  background: var(--navy-900);
  color: white;
  padding: 21px 23px;
}

.decision-detail-heading span {
  color: var(--gold-light);
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.decision-detail-heading h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.decision-detail-grid dl {
  margin: 0;
  padding: 4px 22px;
}

.decision-detail-grid dl > div {
  align-items: center;
  border-bottom: 1px solid #e2ddd3;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 0;
}

.decision-detail-grid dl > div:last-child {
  border-bottom: 0;
}

.decision-detail-grid dt {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  max-width: 60%;
}

.decision-detail-grid dd {
  color: var(--navy-900);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.decision-detail-grid .detail-warning dd {
  color: #ad4936;
}

.decision-gates {
  background: var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.decision-gates article {
  background: white;
  border-top: 4px solid #b8b6af;
  min-height: 150px;
  padding: 20px;
}

.decision-gates article > span {
  color: var(--muted);
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.decision-gates strong {
  color: var(--navy-900);
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.decision-gates small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 8px;
}

.decision-gates .gate-pass {
  border-top-color: var(--success);
}

.decision-gates .gate-warning {
  background: #fff7f3;
  border-top-color: #bd5c45;
}

.decision-gates .gate-neutral {
  background: #f3f0e9;
  border-top-color: #a6a198;
}

.constraint-card {
  background: #fff4d9;
  border-left: 7px solid var(--gold);
  margin: 0 54px 54px;
  padding: 30px 34px;
}

.constraint-card > span {
  color: #94722b;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.constraint-card p {
  margin-bottom: 0;
}

.lever-section,
.execution-section {
  border-top: 1px solid var(--line);
  padding: 54px;
}

.lever-section .result-section-heading p,
.execution-section .result-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 760px;
}

.lever-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lever-card {
  background: #f7f3eb;
  border: 1px solid var(--line);
  min-width: 0;
  padding: 24px;
}

.lever-card-heading {
  align-items: flex-start;
  display: grid;
  gap: 13px;
  grid-template-columns: 34px 1fr;
  margin-bottom: 22px;
}

.lever-card-heading > span {
  align-items: center;
  background: var(--navy-900);
  color: var(--gold);
  display: flex;
  font-size: 10px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.05em;
  width: 34px;
}

.lever-card h4 {
  color: var(--navy-900);
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}

.lever-card-heading p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.lever-card dl {
  margin: 0;
}

.lever-card dl > div {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  min-height: 66px;
  padding: 10px 0;
}

.lever-card dt {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.lever-card dd {
  margin: 0;
  text-align: right;
}

.lever-card dd strong {
  color: var(--navy-900);
  display: block;
  font-size: 13px;
}

.lever-card dd small {
  display: block;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 4px;
}

.delta-negative {
  color: var(--success);
}

.delta-positive {
  color: #9b7122;
}

.delta-neutral {
  color: var(--muted);
}

.lever-note,
.execution-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  margin: 15px 0 0;
}

.execution-section {
  background: #f6f2e9;
}

.execution-summary-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 28px;
}

.execution-summary-grid article {
  background: white;
  border-top: 4px solid var(--gold);
  min-height: 132px;
  padding: 20px 17px;
}

.execution-summary-grid article:nth-child(2),
.execution-summary-grid article:nth-child(4) {
  border-top-color: var(--success);
}

.execution-summary-grid span {
  color: var(--muted);
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.execution-summary-grid strong {
  color: var(--navy-900);
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin: 13px 0 6px;
}

.execution-summary-grid small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  line-height: 1.45;
}

.execution-table-wrap {
  background: white;
  overflow-x: auto;
}

.execution-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.execution-table th,
.execution-table td {
  border-bottom: 1px solid var(--line);
  padding: 17px 15px;
  text-align: right;
  vertical-align: middle;
}

.execution-table thead th {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.execution-table th:first-child {
  text-align: left;
  width: 25%;
}

.execution-table tbody th strong {
  color: var(--navy-900);
  display: block;
  font-size: 13px;
}

.execution-table tbody th small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 3px;
}

.execution-table tbody td {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}

.execution-table tbody tr:last-child {
  background: #fff4d9;
}

.scenario-section {
  border-top: 1px solid var(--line);
  padding: 54px;
}

.scenario-section .result-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 760px;
}

.scenario-table-wrap {
  overflow-x: auto;
}

.scenario-table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}

.scenario-table th,
.scenario-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px 15px;
  text-align: right;
  vertical-align: middle;
}

.scenario-table thead th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-table th:first-child {
  text-align: left;
  width: 35%;
}

.scenario-table tbody th strong {
  color: var(--navy-900);
  display: block;
  font-size: 14px;
}

.scenario-table tbody th small {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  margin-top: 4px;
}

.scenario-table tbody td {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

.scenario-table .base-scenario {
  background: #fff5d9;
}

.confidence-explanation {
  align-items: center;
  background: #eef5f2;
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr;
  margin-top: 24px;
  padding: 20px 22px;
}

.confidence-explanation span {
  color: var(--success);
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.confidence-explanation strong {
  color: var(--navy-900);
  font-size: 13px;
}

.confidence-explanation p {
  color: #45625a;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}

.scenario-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  margin: 14px 0 0;
}

.dimension-results,
.action-plan,
.report-notes {
  border-top: 1px solid var(--line);
  padding: 54px;
}

.result-section-heading {
  margin-bottom: 30px;
}

.dimension-bars {
  display: grid;
  gap: 20px;
}

.dimension-bar > div:first-child {
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dimension-bar strong {
  color: var(--navy-900);
}

.bar-track {
  background: #e6e1d7;
  height: 9px;
  overflow: hidden;
}

.bar-track > span {
  background: linear-gradient(90deg, var(--gold), var(--success));
  display: block;
  height: 100%;
}

.weakest-advice {
  background: #eef5f2;
  margin-top: 30px;
  padding: 22px 25px;
}

.weakest-advice strong {
  color: var(--success);
  font-size: 13px;
}

.weakest-advice p {
  color: #45625a;
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0 0;
}

.action-plan {
  background: #f6f2e9;
}

.action-plan ol {
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.action-plan li {
  background: var(--paper);
  display: grid;
  gap: 25px;
  grid-template-columns: 95px 1fr;
  padding: 25px;
}

.action-plan li > span {
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-plan strong {
  color: var(--navy-900);
  font-size: 14px;
}

.action-plan p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.report-notes h3 {
  font-size: 24px;
}

.report-notes p:last-child {
  margin-bottom: 0;
}

.methodology {
  background: #f2eee5;
  border: 1px solid var(--line);
  margin: 24px 0;
}

.methodology summary {
  color: var(--navy-900);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  list-style: none;
  padding: 18px 52px 18px 20px;
  position: relative;
}

.methodology summary::-webkit-details-marker {
  display: none;
}

.methodology summary::after {
  color: var(--success);
  content: "+";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 400;
  position: absolute;
  right: 20px;
  top: 10px;
}

.methodology[open] summary {
  border-bottom: 1px solid var(--line);
}

.methodology[open] summary::after {
  content: "−";
}

.methodology summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.methodology > p {
  margin: 0;
  padding: 0 20px 20px;
}

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

.formula-grid > div {
  background: white;
  padding: 17px 19px;
}

.formula-grid strong {
  color: var(--navy-900);
  display: block;
  font-size: 10px;
  margin-bottom: 7px;
}

.formula-grid code {
  color: #555555;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.55;
  white-space: normal;
}

.result-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 54px;
}

.book-recommendation {
  background: var(--gold);
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  position: relative;
}

.book-recommendation::before {
  background: repeating-linear-gradient(
    135deg,
    var(--navy-950) 0,
    var(--navy-950) 25px,
    var(--gold) 25px,
    var(--gold) 50px
  );
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.book-visual {
  align-items: center;
  background: var(--navy-950);
  display: flex;
  min-height: 440px;
  padding: 48px 40px 38px;
  position: relative;
}

.book-visual img {
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.35);
  display: block;
  height: auto;
  transform: rotate(-1.2deg);
  width: 100%;
}

.book-visual span {
  background: var(--brand-red);
  bottom: 24px;
  color: white;
  font-size: 9px;
  font-weight: 900;
  left: 40px;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  position: absolute;
  text-transform: uppercase;
}

.book-copy {
  align-self: center;
  color: var(--navy-950);
  padding: 64px 58px 54px;
}

.book-eyebrow {
  border-left: 5px solid var(--brand-red);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  padding-left: 11px;
  text-transform: uppercase;
}

.book-copy h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 18px 0;
}

.book-copy p {
  color: #3f361d;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.book-copy ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
}

.book-copy li {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  padding-left: 19px;
  position: relative;
}

.book-copy li::before {
  background: var(--brand-red);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 7px;
}

.book-button {
  align-items: center;
  background: var(--navy-950);
  color: var(--gold-light);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 13px;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  text-decoration: none;
}

.book-button:hover {
  background: #292929;
}

.book-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.result-cta {
  align-items: center;
  background: var(--navy-950);
  color: white;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
  padding: 48px 54px;
}

.result-cta > div > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-cta h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.15;
  margin: 10px 0;
}

.result-cta p {
  color: #b0b0b0;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}

.result-cta a {
  text-decoration: none;
}

.education-section {
  background: var(--paper);
  padding: 110px 24px;
}

.education-heading {
  margin: 0 auto 50px;
  max-width: 820px;
  text-align: center;
}

.education-heading .section-label {
  color: var(--brand-red);
}

.education-heading h2 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.education-heading p {
  color: var(--muted);
  line-height: 1.75;
  margin: 22px auto 0;
  max-width: 730px;
}

.education-cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.education-cards article {
  background: var(--cream);
  min-height: 260px;
  padding: 34px;
}

.education-cards article > span {
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 900;
}

.education-cards h3 {
  color: var(--navy-900);
  font-size: 18px;
  margin: 52px 0 13px;
}

.education-cards p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.site-footer {
  background: var(--navy-950);
  border-top: 8px solid var(--gold);
  color: white;
  padding: 62px max(24px, calc((100vw - 1180px) / 2)) 24px;
}

.footer-logo {
  background: white;
  display: block;
  height: auto;
  margin-bottom: 18px;
  max-width: 126px;
  padding: 7px;
  width: 100%;
}

.footer-top {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.3fr 1fr 0.7fr;
}

.footer-top > div:first-child p {
  color: #a5a5a5;
  font-size: 13px;
  line-height: 1.7;
  max-width: 310px;
}

.footer-top h3 {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.footer-top p,
.footer-top a {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  text-decoration: none;
}

.footer-top a:hover {
  color: white;
}

.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-bottom {
  border-top: 1px solid #2d2d2d;
  color: #858585;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 20px;
}

@media (max-width: 1100px) {
  .test-shell {
    margin-left: 20px;
    margin-right: 20px;
  }

  .test-content {
    padding: 40px 35px;
  }

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

@media (max-width: 900px) {
  .test-shell {
    grid-template-columns: 1fr;
  }

  .test-sidebar {
    padding: 20px;
  }

  .sidebar-kicker,
  .sidebar-privacy {
    display: none;
  }

  .test-sidebar ol {
    grid-template-columns: repeat(5, 1fr);
  }

  .test-sidebar li {
    display: flex;
    justify-content: center;
    min-height: 46px;
    padding: 5px;
  }

  .test-sidebar li div {
    display: none;
  }

  .number-grid,
  .result-comparison,
  .decision-detail-grid,
  .result-cta {
    grid-template-columns: 1fr;
  }

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

  .budget-bridge,
  .decision-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .horizon-plan {
    grid-template-columns: 1fr;
  }

  .result-cta {
    align-items: flex-start;
  }

  .book-recommendation {
    grid-template-columns: 1fr;
  }

  .book-visual {
    min-height: 0;
  }

  .education-cards {
    grid-template-columns: 1fr;
  }

  .education-cards article {
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .test-shell {
    margin: 36px 0 70px;
  }

  .test-sidebar {
    overflow-x: auto;
    padding: 14px 12px;
  }

  .test-sidebar ol {
    min-width: 335px;
  }

  .test-sidebar li > span {
    height: 31px;
    width: 31px;
  }

  .test-content {
    padding: 30px 18px;
  }

  .step-heading {
    gap: 14px;
  }

  .progress-ring {
    height: 58px;
    width: 58px;
  }

  .question-card,
  .number-group {
    padding: 20px 16px;
  }

  .answer-option {
    min-height: 82px;
  }

  .step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .step-actions > div {
    align-items: stretch;
  }

  .step-actions .secondary-button,
  .step-actions .primary-button {
    width: 100%;
  }

  .calculation-notice {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .horizon-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .horizon-options {
    width: 100%;
  }

  .horizon-options button {
    flex: 1;
  }

  .number-grid,
  .result-numbers {
    grid-template-columns: 1fr;
  }

  .report-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
  }

  .report-brand-lockup {
    align-items: flex-start;
  }

  .result-hero {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .score-circle {
    height: 112px;
    width: 112px;
  }

  .score-circle strong {
    font-size: 36px;
  }

  .result-number {
    min-height: 165px;
    padding: 28px 24px;
  }

  .result-comparison,
  .marketing-decision-section,
  .horizon-plan,
  .lever-section,
  .execution-section,
  .scenario-section,
  .dimension-results,
  .action-plan,
  .report-notes,
  .result-actions,
  .result-cta {
    padding: 36px 24px;
  }

  .confidence-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .confidence-explanation {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .budget-bridge,
  .decision-gates,
  .formula-grid {
    grid-template-columns: 1fr;
  }

  .budget-bridge article,
  .decision-gates article {
    min-height: 0;
  }

  .execution-summary-grid {
    grid-template-columns: 1fr;
  }

  .execution-summary-grid article {
    min-height: 0;
  }

  .lever-card {
    padding: 21px 18px;
  }

  .decision-detail-grid dl > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .decision-detail-grid dt {
    max-width: none;
  }

  .decision-detail-grid dd {
    text-align: left;
  }

  .constraint-card {
    margin: 0 24px 36px;
    padding: 25px;
  }

  .action-plan li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions .primary-button,
  .result-actions .secondary-button,
  .result-actions .text-button {
    width: 100%;
  }

  .book-visual {
    padding: 44px 20px 30px;
  }

  .book-visual span {
    bottom: 18px;
    left: 20px;
  }

  .book-copy {
    padding: 42px 24px;
  }

  .book-copy h3 {
    font-size: 31px;
  }

  .book-button {
    width: 100%;
  }

  .education-section {
    padding: 76px 20px;
  }

  .education-cards article {
    padding: 28px;
  }

  .education-cards h3 {
    margin-top: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

.seo-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 100px 24px;
}

.seo-heading {
  max-width: 780px;
}

.seo-heading h2,
.seo-explainer h2,
.faq-section h2,
.author-section h2,
.static-book-recommendation h2 {
  color: var(--navy-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.seo-heading > p,
.seo-explainer > p,
.author-section > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.seo-content-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
}

.seo-content-grid article {
  background: white;
  min-height: 245px;
  padding: 34px;
}

.seo-content-grid h3 {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.seo-content-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.seo-explainer {
  align-items: start;
  background: var(--gold);
  display: grid;
  gap: 55px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 70px;
  padding: 48px;
}

.seo-explainer .section-label {
  color: #6a190f;
}

.seo-explainer > p {
  color: #332900;
  margin: 0;
}

.faq-section {
  margin-top: 90px;
}

.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-list summary {
  color: var(--navy-900);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
  padding: 22px 42px 22px 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--gold-ink);
  content: "+";
  font-size: 28px;
  line-height: 1;
  position: absolute;
  right: 4px;
  top: 19px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  max-width: 850px;
  padding: 0 0 24px;
}

.static-book-recommendation {
  margin: 0 auto 100px;
  max-width: 1180px;
}

.static-book-recommendation .book-copy h2 {
  color: white;
}

.author-section {
  align-items: start;
  background: white;
  border-left: 8px solid var(--gold);
  display: grid;
  gap: 50px;
  grid-template-columns: 0.65fr 1.35fr;
  margin: 0 auto 100px;
  max-width: 1180px;
  padding: 48px;
}

.author-section > p {
  margin: 0;
}

.calculator-result-visible .seo-section,
.calculator-result-visible .static-book-recommendation,
.calculator-result-visible .author-section {
  display: none;
}

@media (max-width: 900px) {
  .seo-explainer,
  .author-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .seo-section {
    padding: 76px 20px;
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .seo-content-grid article {
    min-height: 0;
    padding: 28px;
  }

  .seo-explainer,
  .author-section {
    gap: 25px;
    margin-top: 50px;
    padding: 30px 24px;
  }

  .static-book-recommendation {
    margin-bottom: 70px;
  }
}

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

  body {
    background: white;
    color: #111;
  }

  .no-print,
  .test-sidebar {
    display: none !important;
  }

  .test-area,
  .test-shell,
  .test-content,
  .result-report {
    background: white;
    box-shadow: none;
    display: block;
    margin: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
    width: 100%;
  }

  .report-header,
  .result-hero {
    background: #050505 !important;
    color: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .report-header {
    padding: 16px 20px;
  }

  .report-brand-lockup > img {
    height: 38px;
    width: 41px;
  }

  .result-hero {
    gap: 24px;
    grid-template-columns: 110px 1fr;
    padding: 24px 28px;
  }

  .score-circle {
    height: 95px;
    width: 95px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .score-circle strong {
    font-size: 32px;
  }

  .result-profile h2 {
    font-size: 36px;
  }

  .result-profile p {
    font-size: 10px;
  }

  .result-number,
  .constraint-card,
  .horizon-plan,
  .marketing-decision-section,
  .marketing-decision-callout,
  .budget-bridge article,
  .decision-gates article,
  .lever-section,
  .lever-card,
  .execution-section,
  .execution-summary-grid article,
  .scenario-section,
  .weakest-advice,
  .action-plan,
  .comparison-metrics {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .result-number {
    min-height: 115px;
    padding: 18px 22px;
  }

  .result-number strong {
    font-size: 27px;
    margin: 9px 0 6px;
  }

  .result-number small {
    font-size: 8px;
  }

  .result-comparison,
  .horizon-plan,
  .lever-section,
  .execution-section,
  .scenario-section,
  .dimension-results,
  .action-plan,
  .report-notes {
    break-inside: avoid;
    padding: 25px 28px;
  }

  .marketing-decision-section {
    padding: 25px 28px;
  }

  .horizon-plan {
    gap: 20px;
    grid-template-columns: 0.75fr 1.25fr;
  }

  .marketing-decision-callout,
  .budget-bridge article,
  .decision-gates article,
  .decision-detail-grid > article {
    break-inside: avoid;
  }

  .budget-bridge,
  .decision-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .execution-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lever-card,
  .execution-summary-grid article {
    break-inside: avoid;
  }

  .lever-card {
    padding: 14px 16px;
  }

  .lever-card dl > div {
    min-height: 48px;
    padding: 6px 0;
  }

  .execution-summary-grid article {
    min-height: 0;
    padding: 12px;
  }

  .execution-summary-grid strong {
    font-size: 13px;
  }

  .execution-table {
    min-width: 0;
  }

  .execution-table th,
  .execution-table td {
    font-size: 8px;
    padding: 8px 6px;
  }

  .budget-bridge article,
  .decision-gates article {
    min-height: 0;
    padding: 14px 16px;
  }

  .decision-detail-heading {
    padding: 14px 16px;
  }

  .decision-detail-grid dl > div {
    min-height: 42px;
    padding: 7px 0;
  }

  .methodology > :not(summary) {
    display: block !important;
  }

  .horizon-plan h3 {
    font-size: 20px;
  }

  .scenario-table {
    min-width: 0;
  }

  .scenario-table th,
  .scenario-table td {
    font-size: 8px;
    padding: 9px 7px;
  }

  .confidence-explanation {
    padding: 13px 16px;
  }

  .constraint-card {
    break-inside: avoid;
    margin: 0 28px 25px;
    padding: 18px 22px;
  }

  .result-comparison h3,
  .constraint-card h3,
  .result-section-heading h3 {
    font-size: 22px;
  }

  .result-comparison p,
  .constraint-card p,
  .report-notes p,
  .action-plan p {
    font-size: 9px;
  }

  .action-plan li {
    padding: 15px 18px;
  }
}
