/* Two-step book form styles, extracted from book-landing.css on 2026-11-06 for /book/ (which keeps the site chrome from styles.css). Keep in sync when book-landing.css changes. */
body.modal-open {overflow: hidden;}
p, li, .opt span {text-wrap: pretty;}
.btn:focus-visible, a:focus-visible, input:focus-visible {outline: 2px solid var(--accent); outline-offset: 2px;}
.btn[aria-busy="true"] {opacity: .7; cursor: progress; transform: none;}
.ph {color: var(--ink-2); font-size: .85em; font-weight: 600; white-space: nowrap;}
.fcard .ph {color: var(--ink-2);}
.ph-line {margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.7); max-width: 560px;}
.vsl {max-width: 760px; margin: 0 auto 28px;}
.vsl .frame {position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35);}
.vsl .frame iframe, .vsl .frame video {position: absolute; inset: 0; width: 100%; height: 100%; border: 0;}
.fcard {background: var(--white); color: var(--ink); text-align: left; border-radius: 10px; padding: 24px; max-width: 560px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); scroll-margin-top: 96px;}
.fcard p {color: var(--ink-2); margin: 0; max-width: none; text-align: left;}
.f-progress {margin-bottom: 22px;}
.f-progress .lab {font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-3);}
.f-bar {height: 6px; background: var(--paper-2); border-radius: 99px; margin-top: 10px; overflow: hidden;}
.f-bar i {display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .25s ease;}
.fld {display: grid; gap: 8px; margin-bottom: 18px;}
.fld label {font-weight: 700; font-size: 14.5px; color: var(--ink);}
.fld input {font: inherit; font-size: 16px; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%;}
.fld input[aria-invalid="true"], fieldset.q[aria-invalid="true"] .opt {border-color: var(--err);}
.err {color: var(--err); font-size: 14px; font-weight: 600; line-height: 1.4;}
.err-submit {margin-top: 12px;}
.fcard .f-note {margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: left;}
.f-note a {text-decoration: underline; text-underline-offset: 3px; color: var(--navy); font-weight: 600;}
.step-head {font-size: clamp(22px, 2.2vw, 26px); color: var(--navy); margin-bottom: 10px;}
.fcard .step-line {color: var(--ink-2); font-size: 15.5px; margin-bottom: 24px;}
fieldset.q {border: 0; margin: 0 0 26px; min-width: 0; display: grid; gap: 10px;}
fieldset.q legend {font-weight: 800; font-size: 16.5px; line-height: 1.4; color: var(--ink); padding: 0; margin-bottom: 4px; text-wrap: balance;}
fieldset.q .help {font-size: 14px; color: var(--ink-3); margin-bottom: 2px;}
.opt {display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: 15.5px; color: var(--ink); line-height: 1.4; transition: border-color .15s, background .15s;}
.opt:hover {border-color: var(--navy-3);}
.opt input {appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--white); margin: 0; cursor: pointer;}
.opt input:checked {border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--white);}
.opt:has(input:checked) {border-color: var(--accent); background: rgba(27,58,102,.06);}
.opt:has(input:focus-visible) {outline: 2px solid var(--accent); outline-offset: 2px;}
.opt input:focus-visible {outline: 0;}
.ty h3 {color: var(--navy); margin-bottom: 22px; font-size: clamp(24px, 2.4vw, 30px);}
.ty-steps {list-style: none; display: grid; gap: 0;}
.ty-steps > li {padding: 20px 0; border-top: 1px solid var(--line);}
.ty-steps h4 {color: var(--navy); margin-bottom: 8px;}
.ty-steps h4 .n {font-family: var(--display); color: var(--navy-3);}
.fcard .ty-steps p {color: var(--ink-2); font-size: 15.5px;}
.fcard .ty-steps p + p, .ty-steps p + .ty-btn, .fcard .ty-btn + p {margin-top: 12px;}
.ty-btn {margin-top: 12px;}
.ty-steps .textlink {font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--brass); padding-bottom: 1px;}
dialog.fdialog {border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; background: var(--paper); color: var(--ink); overflow-y: auto;}
dialog.fdialog::backdrop {background: rgba(11,26,46,.72);}
.dlg-top {display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 12px 0 var(--gutter);}
.dlg-x {width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-family: inherit;}
.dlg-in {padding: 20px var(--gutter) 32px;}
.dlg-in h2 {font-size: clamp(28px, 3vw, 34px); color: var(--ink);}
.dlg-in .sub {color: var(--ink-2); margin: 12px 0 22px; font-size: 16px;}
.dlg-in .fcard {box-shadow: none; padding: 0; background: transparent;}
.done > h2, .done > .sub, .done > .vsl {display: none;}
.hero.free .fcard {color: var(--ink);}
.hero.free .ty h3 {color: var(--navy);}
@media (prefers-reduced-motion: reduce) {
  .btn, .f-bar i {transition: none;}
}
@media (min-width: 600px) {
  .fcard {padding: 32px;}
}
@media (min-width: 860px) {
  dialog.fdialog {width: min(600px, 92vw); height: auto; max-height: 92dvh; margin: auto; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.5);}
  .dlg-top {padding-left: 32px; padding-right: 16px; padding-top: 16px;}
  .dlg-in {padding: 8px 32px 36px;}
  .hero.free .fcard {margin: 0; max-width: 520px;}
}
.book .fcard { box-shadow: 0 12px 40px rgba(0,0,0,.08); max-width: none; margin: 22px 0 0; }
