/* Editorial ebook jackets, built as crisp responsive artwork. */
/* A cohesive set of bound editorial covers, with a separate color per volume. */
html[data-theme] .program-card .program-art{display:grid;place-items:center;height:424px;padding:34px 26px;background:#f5e9e2;overflow:hidden;perspective:1200px}
html[data-theme] .program-card[data-weeks="8"] .program-art{background:#f6e5df}
html[data-theme] .program-card[data-weeks="12"] .program-art{background:#e5efed}
html[data-theme] .program-card[data-weeks="16"] .program-art{background:#f5f0dc}
.program-card .ebook{--jacket:#e9a397;--binding:#c57e74;position:relative;width:228px;height:330px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:23px 22px 18px 26px;border-radius:2px 7px 7px 2px;border:0;border-left:7px solid var(--binding);background:linear-gradient(90deg,#0000000e,transparent 12%,#ffffff15 65%,transparent),var(--jacket);color:#252527;transform:rotate(-4deg) rotateY(-8deg);box-shadow:2px 2px 0 #fdf9ee,5px 4px 0 #d4cec1,7px 5px 0 #fdf9ee,18px 23px 30px #25252725;transition:transform .35s ease,box-shadow .35s ease;isolation:isolate}
.program-card[data-weeks="12"] .ebook{--jacket:#b8dfe2;--binding:#84b2b7;transform:rotate(2deg) rotateY(-8deg)}
.program-card[data-weeks="16"] .ebook{--jacket:#f4e7a9;--binding:#cfbd76;transform:rotate(-3deg) rotateY(-8deg)}
.program-card .ebook:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,#ffffff08 0 1px,transparent 1px 3px);border-radius:inherit;pointer-events:none;z-index:-1}
.program-card .ebook:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:5px;border-left:1px solid #ffffff40;border-right:1px solid #0000000d;pointer-events:none}
.program-card:hover .ebook{transform:rotate(0) rotateY(-3deg) translateY(-5px);box-shadow:2px 2px 0 #fdf9ee,5px 4px 0 #d4cec1,7px 5px 0 #fdf9ee,20px 28px 34px #25252729}
.ebook .ebook-edition{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid #25252755;font:700 6.5px/1.4 Arial,sans-serif;letter-spacing:.12em;color:#252527}
.ebook .ebook-brand{font:800 25px/.95 Manrope,Arial,sans-serif;letter-spacing:-.035em;text-align:left;margin-top:17px;color:#252527}
.ebook .ebook-coach{font:600 8px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.025em;text-transform:none;margin-top:8px;color:#252527}
.ebook .ebook-motif{position:absolute;right:20px;top:119px;width:83px;height:83px;border:1px solid #25252730;border-radius:50%;z-index:-1}
.ebook .ebook-motif:before,.ebook .ebook-motif:after{content:"";position:absolute;inset:8px -9px;border:1px solid #25252730;border-radius:50%;transform:rotate(42deg)}
.ebook .ebook-motif:after{inset:-9px 8px;transform:rotate(42deg)}
.ebook .ebook-title{font:400 26px/1.04 Georgia,serif;letter-spacing:-.045em;text-transform:none;margin-top:25px;z-index:1;color:#252527}
.ebook .ebook-duration{display:flex;gap:9px;align-items:center;margin-top:14px;color:#252527}
.ebook .ebook-weeks{font:500 43px/.95 Manrope,Arial,sans-serif;letter-spacing:-.07em;color:#252527}
.ebook .ebook-label{font:700 7px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.13em;color:#252527}
.ebook .ebook-footer{margin-top:auto;padding-top:10px;border-top:1px solid #25252755;display:flex;align-items:center;justify-content:space-between;gap:10px;font:700 6px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.08em;color:#252527}
.ebook .ebook-symbol{width:38px;height:25px;margin:0;object-fit:contain;filter:none}
.program-card .program-paths{display:grid;gap:9px;margin-top:20px}
html[data-theme] .program-paths button{border:1px solid #73969a;border-radius:24px;min-height:46px;padding:12px 16px;margin:0;width:100%;font-weight:700;text-align:center;display:block;background:#193b42;color:white}
html[data-theme] .program-paths button+button{background:transparent;color:var(--text,#193b42)}
.plan-builder{display:grid;gap:20px;margin-top:22px}.plan-builder fieldset{padding:17px;border:1px solid #8fa9ac;border-radius:16px;margin:0;min-width:0}.plan-builder legend{font-weight:700;padding:0 8px}.plan-builder .plan-choice{display:flex;align-items:flex-start;gap:12px;padding:12px 0;cursor:pointer;font-size:16px;line-height:1.6}.plan-choice input{margin-top:5px;width:20px;height:20px;flex:none}.plan-choice strong,.plan-choice small{display:block}.plan-choice small{font-size:14px;line-height:1.6}.plan-builder select{width:100%;padding:14px;border-radius:10px;margin:12px 0;font-size:16px}.plan-review{background:#80bec626;border:1px solid #80bec6;border-radius:14px;padding:18px}.plan-review p{margin:5px 0}.plan-builder .button{width:100%;text-align:center;justify-content:center}.plan-checkin-note{font-size:14px;line-height:1.6}.plan-availability{font-size:14px;line-height:1.7}.plan-builder [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.ebook,.program-card:hover .ebook{transition:none;transform:none}}
@media(max-width:600px){html[data-theme] .program-card .program-art{height:390px;padding:28px 20px}.program-card .ebook{width:216px;height:318px;padding:21px 20px 17px 24px}.ebook .ebook-brand{font-size:24px}.ebook .ebook-weeks{font-size:41px}.plan-builder fieldset{padding:13px}dialog:has(.plan-builder){width:calc(100vw - 24px);max-width:640px}.plan-builder{gap:14px}}
html[data-theme=dark] .program-paths button+button{color:#f4f1f3;border-color:#99b5ba}
html[data-theme=dark] .plan-choice small,html[data-theme=dark] .plan-checkin-note,html[data-theme=dark] .plan-availability{color:#d8d5d8}

@media(prefers-reduced-motion:reduce){.program-card .ebook,.program-card:hover .ebook{transition:none;transform:none}}
/* Keep the full cover hierarchy comfortably inside the binding. */
html[data-theme] .program-card .program-art{height:448px}
.program-card .ebook{height:374px;padding:18px 22px 16px 26px}
.ebook .ebook-brand{margin-top:12px;font-size:24px}
.ebook .ebook-coach{margin-top:6px}
.ebook .ebook-title{margin-top:18px;font-size:25px}
.ebook .ebook-duration{margin-top:10px}
.ebook .ebook-footer{padding-top:8px}
@media(max-width:600px){html[data-theme] .program-card .program-art{height:426px}.program-card .ebook{width:216px;height:364px;padding:18px 20px 16px 24px}.ebook .ebook-title{font-size:24px}.ebook .ebook-brand{font-size:23px}}
html[data-theme] body:has(.hero) .program-card[data-weeks="8"] .program-art{background:#f6e5df}
html[data-theme] body:has(.hero) .program-card[data-weeks="12"] .program-art{background:#e5efed}
html[data-theme] body:has(.hero) .program-card[data-weeks="16"] .program-art{background:#f5f0dc}
