body.modal-open{overflow:hidden}
#coverage-dialog{width:min(92vw,760px);max-width:760px;max-height:90dvh;margin:auto;padding:48px;border:0;border-radius:32px;background:#fff;color:#111827;box-shadow:0 32px 90px #00000047;overflow:auto}
#coverage-dialog::backdrop{background:#111827d1;backdrop-filter:blur(10px)}
.marketing-home #coverage-dialog .modal-close{position:absolute;top:24px;right:24px;width:44px;height:44px;min-height:44px;border:0;padding:0;border-radius:50%;background:#f3f4f6;color:#111827}
.modal-close svg{width:20px;height:20px}
.submit-spinner{width:18px;height:18px;flex:none;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:coverage-spin .8s linear infinite}
#submit-contact{gap:10px}
.marketing-home #coverage-dialog h2{font-size:34px;line-height:1.2;letter-spacing:-1.2px;font-weight:600;margin:20px 0 24px}
.marketing-home #coverage-dialog p{max-width:none}
.marketing-home #coverage-dialog .modal-badge{display:inline-block;width:fit-content;padding:9px 16px;border-radius:50px;background:#ecfdf5;color:#166534;font-size:13px;font-weight:600;text-transform:uppercase;margin:0}
.marketing-home #coverage-dialog[data-phase=interest] .modal-badge{background:#fff3c4;color:#92400e}
.checking-step{text-align:center;padding:28px 0 12px}
.marketing-home #coverage-check-message,.marketing-home #journey-summary{font-size:18px;line-height:1.5;color:#52605a;margin:0 0 26px}
.coverage-spinner{display:block;width:56px;height:56px;border:4px solid #e1ece5;border-left-color:#166534;border-radius:50%;margin:0 auto 20px;animation:coverage-spin .8s linear infinite}
.marketing-home #coverage-dialog .modal-pill{width:fit-content;max-width:100%;margin:0 auto 20px;border-radius:50px;background:#f8faf9;padding:12px 18px;font-size:14px;font-weight:500;color:#374151;overflow-wrap:anywhere}
.marketing-home #coverage-dialog .modal-form{padding:0;width:100%;margin:0}
.marketing-home #coverage-dialog .form-panel{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.modal-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 26px}
.modal-summary{display:flex;align-items:center;gap:16px;padding:24px 22px;border:1px solid #e5e7eb;border-radius:24px;background:#eef2f7;min-width:0}
.service-summary{background:#fdf4dc}.modal-summary-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;flex:none;background:#111827;color:#fff;border-radius:18px;box-shadow:0 12px 20px #11182726}.service-summary .modal-summary-icon{background:#ae8226}
.modal-summary-icon svg{width:24px;height:24px}.modal-summary-label{display:block;text-transform:uppercase;font-size:11px;font-weight:600;letter-spacing:.7px;color:#59625e;margin-bottom:8px}.modal-summary strong{font-size:16px;line-height:1.4;display:block;overflow-wrap:anywhere}
.modal-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.modal-contact-grid .full-width{grid-column:1/-1}
.marketing-home #coverage-dialog .modal-contact-grid label{margin:0 0 10px;font-size:14px;font-weight:500;color:#111827}
.marketing-home #coverage-dialog input:not([type=checkbox]){height:52px;padding:12px 18px;background:#fff;border:1px solid #cad3df;border-radius:14px;font-size:14px}
.marketing-home #coverage-dialog .check-label{font-size:13px;line-height:1.6;max-width:none;margin:16px 0}
.marketing-home #coverage-dialog #submit-contact{width:100%;height:54px;font-size:16px;font-weight:400;margin-top:0}
.marketing-home #coverage-dialog[data-phase=interest] .purchase-disclosure{display:none}
.marketing-home #coverage-dialog[data-phase=interest] #contact-help{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#coverage-dialog .actions:not(:has(> :not([hidden]))){display:none}
#journey-status:empty{display:none}.modal-plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;text-align:left}
.marketing-home .modal-plan-list button{display:flex;align-items:flex-start;flex-direction:column;gap:8px;padding:20px;border-radius:20px;border:1px solid #d6dfd9;background:#fff;color:#111827;font-size:14px;text-align:left}
.marketing-home .modal-plan-list button:hover{border-color:#166534;background:#f1f8f3}
@keyframes coverage-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){#coverage-dialog{width:94vw;padding:64px 22px 28px;border-radius:24px}.marketing-home #coverage-dialog h2{font-size:28px}.modal-summary-grid,.modal-contact-grid,.modal-plan-list{grid-template-columns:1fr}.modal-summary{padding:18px}.checking-step{padding-top:0}}
@media(prefers-reduced-motion:reduce){.coverage-spinner{animation:none}}
.change-plan{margin:0 0 24px}
.order-summary{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:12px 20px;margin:24px 0 28px}
.order-summary dt{font-weight:600;color:#111827}
.order-summary dd{margin:0;overflow-wrap:anywhere;color:#52605a}
@media(max-width:640px){.order-summary{grid-template-columns:1fr;gap:6px}.order-summary dd{margin-bottom:12px}}

/* Keep the review focused on the purchase and the next action. */
#coverage-dialog:has(#journey[data-view=review]:not([hidden])){width:min(92vw,640px);padding:40px;border-radius:24px}
.marketing-home #journey[data-view=review] .modal-badge,
.marketing-home #journey[data-view=review] #journey-summary{display:none}
.marketing-home #journey[data-view=review] h2{font-size:28px;letter-spacing:-.8px;margin:0 48px 28px 0}
.order-plan{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border:1px solid #dce9df;background:#f2f8f3;border-radius:16px}
.order-plan>div:first-child{min-width:0}
.order-label{display:block;font-size:12px;line-height:1.5;color:#52605a;margin-bottom:6px}
.marketing-home #coverage-dialog .order-plan h3{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.4px;font-weight:600;overflow-wrap:anywhere}
.order-price{text-align:right;flex-shrink:0}
.order-price strong{display:block;font-size:23px;line-height:1.3;font-weight:600;letter-spacing:-.6px;color:#166534}
.order-price span{display:block;font-size:12px;color:#52605a;margin-top:4px}
#journey[data-view=review] .order-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 24px;margin:24px 0}
.order-detail{min-width:0}
.order-detail:first-child,.order-detail:last-child{grid-column:1/-1}
#journey[data-view=review] .order-summary dt{font-size:12px;font-weight:400;color:#52605a;margin-bottom:5px}
#journey[data-view=review] .order-summary dd{font-size:14px;line-height:1.6;color:#111827;margin:0}
.marketing-home #journey[data-view=review] #journey-status{font-size:13px;line-height:1.6;padding:12px 16px;margin:0 0 20px;border-left:3px solid #a16b0b;background:#fffaef;color:#68470e;border-radius:0 8px 8px 0}
.marketing-home #journey[data-view=review] #journey-status[data-state=Verified]{background:#f2f8f3;border-color:#166534;color:#166534}
.marketing-home #journey[data-view=review] .actions{display:flex;flex-direction:column;gap:8px;margin:0;padding-top:24px;border-top:1px solid #e4e9e6}
.marketing-home #journey[data-view=review] #start-payment{width:100%;min-height:52px;border-radius:12px;font-size:15px;font-weight:600}
.marketing-home #journey[data-view=review] #check-payment{width:100%;min-height:44px;border:0;border-radius:12px;background:transparent;color:#166534;font-size:14px;font-weight:500}
.marketing-home #journey[data-view=review] #check-payment:hover{background:#f2f8f3}
#journey[data-view=review] button:focus-visible{outline:3px solid #166534;outline-offset:3px}
@media(max-width:640px){
  #coverage-dialog:has(#journey[data-view=review]:not([hidden])){width:94vw;padding:64px 24px 24px;border-radius:20px}
  .marketing-home #journey[data-view=review] h2{font-size:26px;margin:0 0 24px}
  .order-plan{gap:12px;padding:18px}
  .marketing-home #coverage-dialog .order-plan h3{font-size:18px}
  .order-price strong{font-size:20px}
  #journey[data-view=review] .order-summary{grid-template-columns:minmax(0,1fr);gap:18px}
  #journey[data-view=review] .order-detail{grid-column:1/-1}
}
