/* Exit Readiness Assessment — matches main site theme */

:root {
  --good: #1E7A3D;
  --near: #9C7A1E;
  --prog: #A8662A;
  --low:  #A12B36;
}

/* Make nav permanently "solid" on this page */
nav#nav.solid {
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 48px;
}
nav#nav.solid .logo-img { height: 48px; }
@media (max-width: 900px) {
  nav#nav.solid { padding: 12px 22px; }
  nav#nav.solid .logo-img { height: 36px; }
}

.assessment-progress {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 90;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
@media (max-width: 900px) {
  .assessment-progress { top: 62px; padding: 10px 0; }
}
.assessment-progress .wrap {
  max-width: 880px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 16px;
}
.assessment-progress .pcount {
  font-family: var(--font-body); font-weight: 500; font-size: .82rem;
  color: var(--ink); letter-spacing: .08em; white-space: nowrap;
}
.assessment-progress .ptrack {
  flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden;
}
.assessment-progress .pfill {
  height: 100%; width: 0; background: var(--blue);
  border-radius: 99px; transition: width .35s ease;
}

.assessment-hero {
  padding: 180px 32px 56px;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) {
  .assessment-hero { padding: 140px 22px 40px; }
}
.assessment-hero .a-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px;
}
.assessment-hero .a-eyebrow .line {
  width: 50px; height: 1px; background: var(--blue);
}
.assessment-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); max-width: 900px; margin-bottom: 24px;
}
.assessment-hero p {
  font-family: var(--font-body); font-weight: 300;
  font-size: 18px; line-height: 1.75; color: var(--ink-soft);
  max-width: 620px; margin-bottom: 32px;
}
.assessment-hero .meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: 14px;
  color: var(--muted); letter-spacing: 0.04em;
}
.assessment-hero .meta span b {
  font-family: var(--font-display); font-weight: 400; font-size: 28px;
  color: var(--ink); margin-right: 8px; letter-spacing: -0.02em;
}

.assessment-main {
  max-width: 880px; margin: 0 auto; padding: 24px 32px 80px;
}

.pillar {
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 32px; margin-bottom: 20px;
  transition: border-color .3s ease;
}
.pillar-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 12px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pnum {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  color: var(--blue); font-size: 1.6rem; line-height: 1;
}
.ptitle {
  font-family: var(--font-display); font-weight: 400;
  color: var(--ink); font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.2;
}
.pweight {
  margin-left: auto; font-family: var(--font-body); font-size: .72rem;
  color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap;
}
.pweight b {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: .95rem; color: var(--blue); margin-left: 6px;
}

.q { padding: 18px 0; border-top: 1px dashed var(--line); }
.pillar .q:first-of-type { border-top: none; margin-top: 6px; }
.qtext {
  font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; line-height: 1.7; color: var(--ink); margin-bottom: 14px;
}
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.opt {
  font-family: var(--font-body); font-weight: 300;
  font-size: .85rem; line-height: 1.4; color: var(--ink-soft);
  background: transparent; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 10px; cursor: pointer; text-align: center;
  transition: all .15s ease;
}
.opt:hover { border-color: var(--blue-soft); color: var(--ink); }
.opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt.sel {
  background: var(--ink); border-color: var(--ink);
  color: var(--bg-cream); font-weight: 400;
}
.opt .on {
  display: block; font-family: var(--font-display); font-style: italic;
  font-weight: 300; font-size: .8rem; color: var(--blue); margin-bottom: 4px;
}
.opt.sel .on { color: var(--blue-soft); }

.compute { text-align: center; margin: 44px 0 12px; }
.btn {
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all .25s ease;
}
.btn-primary {
  background: var(--ink); color: var(--bg-cream);
  padding: 18px 36px;
  border-radius: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateX(2px);
}
.btn-primary:disabled {
  background: var(--line); color: var(--muted); cursor: not-allowed;
  transform: none;
}
.hint {
  font-family: var(--font-body); font-size: .92rem;
  color: var(--muted); margin-top: 16px;
}

.lead-form-wrap { margin-top: 36px; }
.lead-form-wrap.show { animation: rise .5s ease; }
.lead-card {
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: 18px; padding: 40px 36px;
}
.lead-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; color: var(--ink); margin-bottom: 12px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.lead-card > p {
  font-family: var(--font-body); font-size: .95rem;
  color: var(--ink-soft); line-height: 1.75; margin-bottom: 28px;
}
.lead-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-bottom: 24px;
}
.lead-field label {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .72rem; color: var(--ink); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px;
}
.lead-field label .req { color: var(--low); margin-left: 4px; font-weight: 400; }
.lead-field input {
  width: 100%; font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  border-radius: 0; padding: 10px 0;
  transition: border-color .15s;
}
.lead-field input:focus { outline: none; border-bottom-color: var(--blue); }
.lead-field input.invalid { border-bottom-color: var(--low); }
.lead-status {
  padding: 12px 16px; border-radius: 8px; font-size: .9rem; margin-bottom: 18px;
  font-family: var(--font-body);
}
.lead-status.error {
  background: #fdf0ef; color: var(--low); border: 1px solid #f5cdd1;
}
.lead-card .btn-primary { width: 100%; padding: 18px 24px; }
.lead-card .btn-primary.loading { opacity: .7; cursor: wait; }
.lead-privacy {
  font-family: var(--font-body); font-size: .82rem;
  color: var(--muted); margin-top: 18px; text-align: center; line-height: 1.6;
}

#result { display: none; margin-top: 40px; }
#result.show { display: block; animation: rise .5s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.res-card {
  background: var(--ink); color: var(--bg-cream);
  border-radius: 20px; padding: 52px 36px;
  text-align: center; position: relative; overflow: hidden;
}
.res-card::after {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--blue); opacity: .14; bottom: -180px; right: -130px;
}
.relz { position: relative; z-index: 2; }
.dial { position: relative; width: 220px; height: 220px; margin: 6px auto 18px; }
.dial svg { transform: rotate(-90deg); }
.dial .track { stroke: rgba(253, 252, 247, 0.12); }
.dial .fill {
  stroke: var(--blue); stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(.22, 1, .36, 1);
}
.dial .ctr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.dial .pct {
  font-family: var(--font-display); font-weight: 400; font-size: 3.4rem;
  line-height: 1; letter-spacing: -0.03em;
}
.dial .pl {
  font-family: var(--font-body); font-size: .76rem;
  color: rgba(253, 252, 247, 0.7); letter-spacing: 0.22em;
  text-transform: uppercase; margin-top: 8px;
}
.band {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.7rem; margin-bottom: 14px; letter-spacing: -0.01em;
}
.band-sub {
  font-family: var(--font-body); font-size: 1rem;
  color: rgba(253, 252, 247, 0.88); max-width: 560px; margin: 0 auto; line-height: 1.75;
}

.breakdown {
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px 30px; margin-top: 20px;
}
.breakdown h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.25rem; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.01em;
}
.barrow { margin-bottom: 20px; }
.barrow:last-child { margin-bottom: 0; }
.barrow .lab {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-body); font-size: .98rem;
  color: var(--ink-soft); margin-bottom: 8px;
}
.barrow .lab b {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  color: var(--blue); font-size: 1.1rem;
}
.track2 { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.fill2 {
  height: 100%; width: 0; border-radius: 99px;
  transition: width 1s cubic-bezier(.22, 1, .36, 1);
}

.reco {
  background: var(--bg-white); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px 30px; margin-top: 20px;
}
.reco h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.25rem; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em;
}
.reco p {
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ink-soft); line-height: 1.8;
}
.reco .start {
  margin-top: 20px; padding: 20px 24px;
  background: var(--bg-cream); border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: .95rem;
  color: var(--ink); line-height: 1.75;
}
.reco .start b {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  color: var(--blue);
}

.cta {
  background: var(--blue); color: var(--bg-cream);
  border-radius: 18px; padding: 44px 36px; margin-top: 20px; text-align: center;
}
.cta h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.55rem; margin-bottom: 12px; letter-spacing: -0.01em;
  color: var(--bg-cream);
}
.cta p {
  font-family: var(--font-body); font-size: 1rem;
  color: rgba(253, 252, 247, 0.88); margin: 0 auto 26px; line-height: 1.75;
  max-width: 520px;
}
.cta a {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-cream); color: var(--ink); text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 28px; transition: all .3s;
}
.cta a:hover { background: var(--ink); color: var(--bg-cream); transform: translateX(4px); }
.cta .web {
  display: block; margin-top: 20px;
  font-family: var(--font-body); font-size: .78rem;
  color: rgba(253, 252, 247, 0.6); letter-spacing: 0.12em;
}

.tools {
  display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap;
}
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 12px 22px; font-family: var(--font-body); font-size: 11px;
  font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.assessment-disc {
  max-width: 780px; margin: 28px auto 0; padding: 0 32px;
  font-family: var(--font-body); font-size: .85rem;
  color: var(--muted); line-height: 1.7; text-align: center;
}

@media (max-width: 900px) {
  .assessment-progress .wrap { padding: 0 22px; }
  .assessment-hero { padding: 50px 22px 40px; }
  .assessment-main { padding: 18px 22px 60px; }
}
@media (max-width: 600px) {
  .pillar { padding: 28px 22px; }
  .pillar-head { gap: 10px; }
  .pweight { margin-left: 0; width: 100%; margin-top: 4px; }
  .opts { grid-template-columns: repeat(2, 1fr); }
  .lead-grid { grid-template-columns: 1fr; gap: 18px; }
  .lead-card { padding: 28px 24px; }
  .dial { width: 180px; height: 180px; }
  .dial .pct { font-size: 2.6rem; }
  .res-card { padding: 40px 24px; }
  .breakdown, .reco, .cta { padding: 28px 22px; }
  .assessment-hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .assessment-hero .meta { gap: 24px; }
  .assessment-hero .meta span b { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .assessment-progress, .compute, .tools, nav, footer, .lead-form-wrap { display: none; }
  .res-card::after { display: none; }
  body { background: #fff; }
  .pillar { box-shadow: none; break-inside: avoid; }
}
