:root {
  --navy: #071B33;
  --blue: #0045AA;
  --cyan: #1DA9FF;
  --amber: #F4B84A;
  --cloud: #F6F8FB;
  --steel: #62748A;
  --ink: #14263c;
  --white: #ffffff;
  --line: #d9e1eb;
  --success: #18845b;
  --danger: #b84b4b;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(29,169,255,.045), transparent 320px),
    var(--cloud);
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.brandbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(7,27,51,.08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.brand-text { font-family: Sora, Arial, sans-serif; font-weight: 700; letter-spacing: -.025em; }
.brand-line { color: var(--steel); font-size: .95rem; }
main { flex: 1; }
.panel {
  display: none;
  width: min(var(--max), calc(100% - 40px));
  margin: 42px auto 72px;
  background: var(--white);
  border: 1px solid rgba(7,27,51,.08);
  box-shadow: 0 18px 50px rgba(7,27,51,.06);
  padding: clamp(28px, 6vw, 70px);
}
.panel.active { display: block; }
.hero-panel { position: relative; overflow: hidden; }
.kicker, .mini-kicker {
  display: block;
  color: var(--blue);
  font-family: Sora, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h1, h2, h3 { font-family: Sora, Arial, sans-serif; color: var(--navy); line-height: 1.1; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.9rem); max-width: 900px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 12px; }
p { font-size: 1.08rem; line-height: 1.65; }
.hero-copy { max-width: 780px; color: #42556c; font-size: 1.24rem; }
.microcopy { max-width: 800px; color: var(--steel); font-size: .98rem; margin: 28px 0 24px; }
.hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 10px; max-width: 760px; }
.signal-card { border-top: 3px solid var(--blue); background: var(--cloud); padding: 18px; min-height: 118px; }
.signal-number { display: block; font-family: Sora, sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); }
.signal-label { color: var(--steel); }
.btn {
  border: 0;
  min-height: 50px;
  padding: 13px 22px;
  font-family: Sora, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; }
.btn-secondary { background: #eaf0f6; color: var(--navy); }
.btn-accent { background: var(--amber); color: var(--navy); }
.full { width: 100%; }
.progress-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.progress-row h2 { margin-bottom: 0; max-width: 760px; }
.progress-copy { color: var(--steel); white-space: nowrap; }
.progress-track { width: 100%; height: 6px; background: #e4ebf3; margin: 24px 0 46px; }
.progress-bar { height: 100%; width: 8%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .25s ease; }
.question-block { max-width: 820px; }
.question-eyebrow { color: var(--steel); font-size: .92rem; margin-bottom: 8px; }
.question-title { font-family: Sora, Arial, sans-serif; font-size: clamp(1.45rem, 3vw, 2.15rem); color: var(--navy); font-weight: 600; line-height: 1.25; margin-bottom: 24px; }
.option-list { display: grid; gap: 12px; }
.option-card { display: block; position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.option-card span::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #9cadbf;
  border-radius: 50%;
  margin-right: 13px;
  flex: 0 0 auto;
}
.option-card input:checked + span { border-color: var(--blue); background: #f4f8ff; box-shadow: inset 4px 0 0 var(--blue); }
.option-card input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff; background: var(--blue); }
.number-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.number-grid label, .gate-form label { display: grid; gap: 7px; font-weight: 600; color: var(--navy); }
.number-grid input, .number-grid select, .gate-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  outline: none;
}
.number-grid input:focus, .number-grid select:focus, .gate-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,69,170,.08); }
.helper { color: var(--steel); font-size: .9rem; margin-top: 12px; }
.form-nav { display: flex; justify-content: space-between; margin-top: 46px; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 7vw, 82px); align-items: start; }
.gate-form { background: var(--cloud); padding: 28px; display: grid; gap: 18px; border-top: 4px solid var(--blue); }
.privacy-note { margin-top: 26px; border-left: 3px solid var(--cyan); padding-left: 14px; color: var(--steel); }
.error-text { min-height: 1.2em; color: var(--danger); font-size: .92rem; margin: 0; }
.results-panel { padding-top: 46px; }
.results-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.results-header h2 { max-width: 760px; margin-bottom: 0; }
.score-orbit { width: 148px; height: 148px; border: 8px solid #e9eff6; border-top-color: var(--amber); border-right-color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; }
.score-number { font-family: Sora, sans-serif; font-size: 2.2rem; line-height: 1; font-weight: 700; color: var(--navy); }
.score-denom { color: var(--steel); font-size: .8rem; margin-top: 4px; }
.result-summary { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; margin: 28px 0 42px; }
.result-summary-block { background: var(--cloud); padding: 24px; border-top: 3px solid #b6c3d1; }
.result-summary-block.primary { border-top-color: var(--amber); }
.result-summary-block h3 { margin-bottom: 8px; }
.strength-row { display: flex; flex-direction: column; gap: 6px; }
.strength-row strong { font-family: Sora, sans-serif; font-size: 2rem; color: var(--blue); }
.strength-row span { color: var(--steel); }
.results-section { padding: 40px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 820px; margin-bottom: 24px; }
.category-bars { display: grid; gap: 16px; }
.category-row { display: grid; grid-template-columns: 190px 1fr 74px; gap: 16px; align-items: center; }
.category-name { font-weight: 600; color: var(--navy); }
.bar-track { height: 12px; background: #e9eef4; overflow: hidden; }
.bar-fill { height: 100%; background: var(--blue); }
.category-score { text-align: right; color: var(--steel); font-weight: 600; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.opportunity-card { background: var(--cloud); padding: 22px; border-top: 4px solid var(--blue); }
.opportunity-card:first-child { border-top-color: var(--amber); }
.opportunity-rank { font-family: Sora, sans-serif; font-size: .8rem; color: var(--steel); margin-bottom: 8px; }
.opportunity-card p { font-size: .98rem; color: var(--steel); margin-bottom: 0; }
.scenario-section { background: #f9fbfd; padding-left: 24px; padding-right: 24px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scenario-grid > div { background: white; padding: 20px; border: 1px solid var(--line); }
.scenario-grid span { display: block; color: var(--steel); font-size: .9rem; min-height: 44px; }
.scenario-grid strong { display: block; font-family: Sora, sans-serif; font-size: 1.75rem; color: var(--navy); }
.scenario-grid .scenario-delta { border-color: var(--amber); }
.scenario-grid .scenario-delta strong { color: #8a5c00; }
.disclaimer { color: var(--steel); font-size: .9rem; }
.next-move-section { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--navy); color: white; padding: 34px; border-top: 0; }
.next-move-section h3, .next-move-section .kicker { color: white; }
.next-move-section p { color: #cfdae8; max-width: 760px; margin-bottom: 0; }
.note-section { color: var(--steel); padding-bottom: 0; }
.note-section p { font-size: .95rem; }
.hidden { display: none !important; }
.hidden-field { position: absolute !important; left: -9999px !important; }
footer { width: min(var(--max), calc(100% - 40px)); margin: auto auto 28px; text-align: center; color: var(--steel); font-size: .9rem; }
@media (max-width: 760px) {
  .brand-line { display: none; }
  .panel { width: min(100% - 20px, var(--max)); margin-top: 16px; padding: 26px 20px 34px; }
  .hero-grid, .opportunity-grid, .scenario-grid, .result-summary, .two-col, .number-grid { grid-template-columns: 1fr; }
  .results-header { grid-template-columns: 1fr; }
  .score-orbit { width: 120px; height: 120px; }
  .category-row { grid-template-columns: 1fr; gap: 7px; }
  .category-score { text-align: left; }
  .progress-row { align-items: start; }
  .next-move-section { grid-template-columns: 1fr; }
}
.profile-section { background: linear-gradient(180deg, rgba(0,69,170,.035), rgba(0,69,170,0)); padding-left: 24px; padding-right: 24px; }
.profile-copy { max-width: 860px; font-size: 1.12rem; color: #42556c; margin-bottom: 28px; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.decision-card { background: #fff; border: 1px solid var(--line); padding: 24px; }
.decision-card h4 { font-family: Sora, Arial, sans-serif; color: var(--navy); font-size: 1.25rem; margin: 0 0 8px; }
.decision-card p { margin: 0; color: var(--steel); font-size: .98rem; }
.do-card { border-top: 4px solid var(--blue); }
.defer-card { border-top: 4px solid var(--amber); }
.scenario-insight { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--blue); background: #fff; color: var(--navy); font-weight: 600; }
.share-section { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.share-section p { margin-bottom: 0; color: var(--steel); }
.share-status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; color: var(--blue) !important; font-size: .92rem; }
@media (max-width: 760px) {
  .decision-grid, .share-section { grid-template-columns: 1fr; }
}

.system-map { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 28px; }
.system-map li { padding: 10px; border: 1px solid var(--line); font-size: .85rem; color: var(--steel); }
.system-map .complete { background: #edf6ff; color: var(--blue); }
.system-map [aria-current] { border-color: var(--blue); font-weight: 700; }
.section-transition, .preview-card { padding: 20px; background: #edf6ff; border-left: 4px solid var(--blue); margin-bottom: 24px; }
.response-timeline { grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--cyan); padding-top: 16px; }
.response-timeline .option-card span { height: 100%; }
.option-card input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.scenario-controls { display: grid; gap: 10px; max-width: 560px; margin-bottom: 24px; }
.scenario-controls input[type=range] { width: 100%; min-height: 44px; accent-color: var(--blue); }
.scenario-controls input[type=number] { padding: 10px; width: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) { .system-map, .response-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* AI-to-Revenue opportunity experience */
[hidden] { display: none !important; }
.journey { display: flex; gap: 12px; padding: 0; margin: 0 0 32px; list-style: none; }
.journey li { flex: 1; padding: 10px 12px; color: var(--steel); border-bottom: 2px solid var(--line); font-size: .85rem; }
.journey [aria-current=step] { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.progress-track { margin-bottom: 18px; }
.option-card input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
h4 { font-family: Sora, sans-serif; color: var(--navy); }
.brand-icon { flex-shrink: 0; }
@media (max-width: 600px) { .brandbar { gap: 10px; } .brand-text { font-size: .9rem; } .journey { gap: 5px; } .journey li { padding: 8px 3px; font-size: .75rem; } .response-timeline { grid-template-columns: 1fr; } h1 { font-size: 2.3rem; } }
@media print { .brandbar, footer, .form-nav, .next-move-section, .scenario-controls { display: none !important; } .panel { display: none !important; } #results.active { display:block !important; width:100%; margin:0; padding:0; border:0; box-shadow:none; } .results-section { break-inside:avoid; } body { background:#fff; } }
