/* Readiness check (ready.html). Builds on the booking flow styles in styles.css (.book, .step, .pill, .field, .check). */
.rq { width: 100%; display: grid; gap: 14px; }
.rq__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.rq__item:last-child { border-bottom: 1px solid var(--line-dark); }
.rq__item p { font-size: 17px; line-height: 25px; color: var(--white); margin: 0; }
.rq__item .pills { flex-wrap: nowrap; }
.rq__item .pill { min-width: 64px; justify-content: center; text-align: center; }

.score { display: flex; align-items: baseline; gap: 14px; }
.score b { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 9vw, 104px); line-height: 1; letter-spacing: -.02em; color: var(--white); }
.score span { font-size: 16px; line-height: 24px; color: var(--on-dark-muted); }
.band { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--orange); }

.bars { width: 100%; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 16px; align-items: center; font-size: 15px; line-height: 20px; color: var(--on-dark-muted); }
.bars li > span:last-child { text-align: right; color: var(--white); }
.bars i { display: block; height: 6px; background: rgba(255, 255, 255, .16); position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: rgba(255, 255, 255, .7); }
.bars li.is-low { color: var(--white); }
.bars li.is-low i::after { background: var(--orange); }

.ready-form { width: 100%; display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.ready-form h2, .next h2 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.2; color: var(--white); margin: 0; }
.ready-form p { font-size: 15px; line-height: 22px; color: var(--on-dark-muted); margin: 0; }
.ready-form .field__err { margin-top: -8px; }
.ready-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.next { width: 100%; display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.next p { font-size: 16px; line-height: 24px; color: var(--on-dark-muted); margin: 0; max-width: 36em; }
.next__service { font-size: 12px; line-height: 16px; letter-spacing: .6px; text-transform: uppercase; color: var(--orange); }

@media (max-width: 640px) {
  .rq__item { grid-template-columns: minmax(0, 1fr); }
  .bars li { grid-template-columns: 92px minmax(0, 1fr) 36px; gap: 10px; }
  .ready-form { padding: 20px; }
}
/* headings get focus when a new screen opens (for screen readers); no visible ring for that, only for keyboard focus elsewhere */
.ready-page [tabindex="-1"]:focus, .ready-page [tabindex="-1"]:focus-visible { outline: none; }
.ae-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.opts + .field { margin-top: -14px; }
#ready-progress-label { display: none; }
.ready-page .book__progress { gap: 0; }
.ready-form--gate { padding: 36px; gap: 20px; }
.ready-form--gate .step__q { font-size: clamp(30px, 3.4vw, 42px); }
@media (max-width: 640px) { .ready-form--gate { padding: 22px; } }
.ready-form .field__err:empty { display: none; }
.ready-title { color: var(--orange); }
.ready-consents { display: grid; gap: 12px; }
.ready-req { font-weight: 600; color: #F0556A; }
.ready-opt { font-weight: 600; color: var(--on-dark-muted); }
.check.is-missing input { outline: 2px solid #F0556A; outline-offset: 2px; }
.ready-consents .check input { flex: none; width: 18px; height: 18px; }   /* both boxes the same size, however long the text */
.ready-consents .check { align-items: flex-start; }
