/* Pre-checkout details form for The Clarity Reset (Wes, 29 Oct 2026). Self-contained palette. */
.crd { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-top: 3px solid #d92f31; border-radius: 8px; background: #ffffff; color: #0d0d47; box-shadow: 0 40px 80px -30px #0d0d4780; }
.crd::backdrop { background: #0d0d47b3; backdrop-filter: blur(3px); }
.crd__in { position: relative; padding: clamp(24px, 5vw, 40px); }
.crd__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font: 400 28px/1 Georgia, serif; color: #3d4280; cursor: pointer; }
.crd__eyebrow { margin: 0 0 8px; font: 600 12px/1.4 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #9e1b18; }
.crd__h { margin: 0 0 8px; font: 500 clamp(28px, 4vw, 36px)/1.1 "Cormorant Garamond", Georgia, serif; color: #0d0d47; }
.crd__lede { margin: 0 0 20px; font: 16px/1.55 Arial, sans-serif; color: #262a63; }
.crd form { display: grid; gap: 14px; }
.crd label { font: 600 15px/1.4 Arial, sans-serif; color: #0d0d47; }
.crd .crd__opt { font-weight: 400; color: #3d4280; }
.crd input[type="text"], .crd input[type="email"], .crd input[type="tel"] { display: block; width: 100%; min-height: 50px; margin-top: 6px; padding: 0 14px; border: 1px solid #0d0d4740; border-radius: 6px; background: #fff; color: #0d0d47; font: 17px/1.3 Arial, sans-serif; box-sizing: border-box; }
.crd input:focus-visible { outline: 2px solid #9e1b18; outline-offset: 1px; }
.crd__check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid #0d0d4726; border-radius: 6px; background: #f5f6fc; }
.crd__check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #9e1b18; }
.crd__check label { font-weight: 400; }
.crd__go { min-height: 52px; margin-top: 4px; border: 0; border-radius: 999px; background:#d92f31;color:#ffffff; font: 600 16px/1 Arial, sans-serif; cursor: pointer; }
.crd__go[disabled] { opacity: .65; cursor: progress; }
.crd__msg { margin: 0; min-height: 1em; font: 14px/1.5 Arial, sans-serif; color: #9a3b1f; }
.crd__msg:empty { min-height: 0; }
.crd__small { margin: 0; font: 13px/1.55 Arial, sans-serif; color: #3d4280; }
.crd__small a { color: #9e1b18; }
.crd__vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* glass restyle 30 Oct 2026: match home .x-modal */
.crd { border: 1px solid rgb(255 255 255 / .75); border-radius: 24px; background: linear-gradient(135deg, rgb(255 255 255 / .9), rgb(246 247 253 / .96)); }
.crd__go:hover { background: #b8231f; }
.crd__check { background: rgb(230 232 246 / .6); }
.crd [hidden] { display: none !important; }
