/* Business Operational Needs Assessment */
.assessment { background: var(--paper); }
.assessment .site-header { position: static; }
.back-link { font-weight: 600; text-decoration: none; }

.progress { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--rule); }
.progress-inner { display: flex; align-items: center; gap: 1rem; min-height: 52px; }
.bar { flex: 1; height: 8px; background: #e3e9ef; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--teal-mid)); border-radius: 99px; transition: width .3s ease; }
#progress-text { margin: 0; font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.saved { margin: 0; font-size: .85rem; color: var(--ok); opacity: 0; transition: opacity .3s ease; white-space: nowrap; }
.saved.show { opacity: 1; }
@media (max-width: 560px) { .saved { display: none; } }

.title-band { background: var(--navy); color: var(--white); padding: 2.75rem 0 3rem; }
.title-grid { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.title-band .seal { width: 150px; height: 150px; border-radius: 50%; background: var(--white); padding: 7px; }
.presents { margin: 0 0 .35rem; color: var(--teal-bright); font-weight: 600; }
.title-band h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .35rem; }
.confidential { margin: 0; color: #cdd7ea; font-size: 1.05rem; }
@media (max-width: 640px) {
  .title-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .title-band .seal { width: 104px; height: 104px; }
}

.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem 0 4rem; }
.side ol { list-style: none; margin: 0; padding: 0; position: sticky; top: 72px; display: grid; gap: .15rem; }
.side a { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem .7rem; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: .93rem; line-height: 1.3; }
.side a:hover { background: var(--white); }
.side a.active { background: var(--white); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--teal-mid); }
.side em { font-style: normal; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.side em.done { color: var(--ok); font-weight: 600; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .side { display: none; } }

.main { max-width: 820px; }
.purpose { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--teal-mid); border-radius: var(--radius-m); padding: 1.5rem 1.75rem; margin-bottom: 2rem; }
.purpose p:last-of-type { margin-bottom: .75rem; }
.purpose-notes { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .95rem; }

.sec { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 2rem 1.9rem 1rem; margin-bottom: 1.75rem; scroll-margin-top: 70px; }
.sec-num { margin: 0 0 .2rem; color: var(--teal); font-weight: 700; font-size: .95rem; }
.sec h2 { font-size: 1.85rem; margin-bottom: .35rem; }
.sec-intro { color: var(--muted); margin-bottom: 1.4rem; }
@media (max-width: 560px) { .sec { padding: 1.5rem 1.1rem .5rem; border-radius: 10px; } }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q { margin: 1.6rem 0 1.9rem; }
.q-label { display: flex; gap: .7rem; align-items: baseline; font-weight: 600; font-size: 1.05rem; line-height: 1.45; margin: 0 0 .75rem; padding: 0; color: var(--ink); }
.q-num { flex: none; min-width: 2.1rem; height: 2.1rem; padding: 0 .4rem; display: inline-grid; place-items: center; border-radius: 99px; background: #e6f4f6; color: var(--teal); font-size: .88rem; font-weight: 700; transform: translateY(-1px); }
.q .hint { margin: -.35rem 0 .7rem; }
.q > input[type=text], .q > textarea { margin-top: .1rem; }

.opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem .95rem; border: 1px solid #b9c5d3; border-radius: 99px; background: var(--white); font-size: .97rem; line-height: 1.25; transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.opt:hover span { border-color: var(--teal-mid); }
.opt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.opt input[type=checkbox]:checked + span::before { content: ""; width: .55rem; height: .3rem; border-left: 2px solid var(--teal-bright); border-bottom: 2px solid var(--teal-bright); transform: rotate(-45deg) translateY(-2px); }
.opt input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }

.follow, .other { margin-top: .9rem; margin-bottom: 0; }
.follow label, .other label { font-weight: 500; color: var(--muted); font-size: .95rem; }

.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 640px) { .details-grid { grid-template-columns: 1fr; } }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
.numbers-grid label { font-weight: 500; font-size: .95rem; }
@media (max-width: 760px) { .numbers-grid { grid-template-columns: 1fr; } }
.numbered-line { display: grid; grid-template-columns: 1.6rem 1fr; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.numbered-line label { font-weight: 700; color: var(--teal); }

.grid-block { margin: 1.4rem 0 2rem; }
.scale { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; padding: .75rem 1rem; margin: 0 0 .75rem; background: var(--paper); border-radius: var(--radius-s); font-size: .9rem; color: var(--muted); }
.scale b { color: var(--navy); margin-right: .15rem; }
.grid-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem 1rem; padding: .7rem 0; border-bottom: 1px solid #e7ecf1; }
.grid-row legend { float: left; padding: 0; font-size: 1rem; line-height: 1.35; }
.rates { display: flex; gap: .35rem; }
.rate { position: relative; cursor: pointer; }
.rate input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rate span[aria-hidden] { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #b9c5d3; border-radius: 8px; font-weight: 600; color: var(--navy); background: var(--white); transition: background-color .12s ease, color .12s ease; }
.rate:hover span[aria-hidden] { border-color: var(--teal-mid); }
.rate input:checked + span { background: var(--teal-mid); border-color: var(--teal-mid); color: var(--white); }
.rate input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
@media (max-width: 600px) {
  .grid-row { grid-template-columns: 1fr; }
  .rates { justify-content: space-between; }
  .rate span[aria-hidden] { width: 3rem; height: 2.7rem; }
}

.submit-block { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.75rem; text-align: left; }
.btn-submit { font-size: 1.08rem; padding: 1.05rem 1.8rem; }
.form-error { background: #fdecec; color: #8a1c1c; border-radius: var(--radius-s); padding: .8rem 1rem; font-weight: 600; }
.invalid { border-color: #c0392b !important; box-shadow: 0 0 0 3px rgba(192,57,43,.15) !important; }

.mini-footer { background: var(--navy-deep); color: #9fb0cc; font-size: .88rem; padding: 1.4rem 0; }
.mini-footer p { margin: 0; }

/* Thank-you page */
.thanks-main { max-width: 760px; padding: 4rem 0 5rem; }
.thanks-main .seal { width: 140px; height: 140px; border-radius: 50%; background: var(--white); padding: 7px; margin-bottom: 1.5rem; border: 1px solid var(--rule); }
.thanks-main .lead { font-size: 1.2rem; }
.signature { border-top: 1px solid var(--rule); margin: 2rem 0; padding-top: 1.5rem; }
.sig-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.sig-tag { font-family: var(--script); font-size: 1.7rem; color: var(--teal); margin-top: .5rem; }
