/* Distinct homepage compositions: an open clue trail, then a feature spotlight. */
body.home-page #how-to-play{background:#fff9e9;color:#2c1942;border:0}
body.home-page #how-to-play .section-heading{max-width:720px;margin-bottom:38px}
body.home-page #how-to-play .eyebrow{color:#76528e}
body.home-page #how-to-play .section-heading>p:last-child{color:#716077}
body.home-page #how-to-play .how-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:40px;max-width:1100px;margin:0 auto;align-items:stretch;text-align:center}
body.home-page #how-to-play .how-card{position:relative;display:grid;justify-items:center;grid-template-rows:auto auto auto auto;min-width:0;padding:0 8px;border:0;border-radius:0;background:none;box-shadow:none}
body.home-page #how-to-play .step-icon{position:relative;z-index:1;display:grid;place-items:center;width:104px;height:104px;margin:0 0 22px;border:0;border-radius:50%;background:radial-gradient(circle,#fffefb 55%,#f8e9b8 100%);box-shadow:0 5px 0 #e8dbc3,0 0 0 8px #fff9e9;overflow:visible;transition:transform .22s ease}
body.home-page #how-to-play .step-icon>img{display:block;width:72px;height:72px;max-width:none;object-fit:contain;border:0;border-radius:0;clip-path:none;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 3px 0 #29164212)}
body.home-page #how-to-play .step-number{position:absolute;z-index:2;left:calc(50% + 25px);right:auto;top:76px;display:grid;place-items:center;width:31px;min-width:31px;height:31px;margin:0;padding:0;border:3px solid #fff9e9;border-radius:50%;background:#6b40bc;color:#fff;font:17px/1 var(--display);box-shadow:none}
body.home-page #how-to-play .how-card h3{margin:0 0 12px;color:#39214b;font-size:28px;line-height:1.12;text-wrap:balance}
body.home-page #how-to-play .how-card>p{max-width:33ch;margin:0 auto;color:#6b5875;font-size:14px;line-height:1.75}
body.home-page #how-to-play .clue-note{align-self:center;justify-self:center;margin:19px 0 0;padding:11px 15px;border:0;border-radius:9px;background:#fff0b9;color:#6a4633;font:17px/1.35 var(--display);transform:rotate(-2deg);box-shadow:0 3px 0 #e8d5a0}
body.home-page #how-to-play .clue-note::before{content:none}
body.home-page #how-to-play .tiny-grid{align-self:center;justify-self:center;grid-template-columns:repeat(3,25px);grid-template-rows:repeat(3,24px);gap:2px;margin:19px 0 0;padding:3px;border:0;border-radius:5px;background:#d9c5e8;transform:rotate(2deg);overflow:hidden;box-shadow:0 3px 0 #c8b1d7}
body.home-page #how-to-play .tiny-grid>span{border-radius:1px;background:#f6f0fa;color:#a58ab9}
body.home-page #how-to-play .tiny-grid>.suspect-cell{background:#ebe0f5;color:#68438a}
body.home-page #how-to-play .tiny-grid>span img{display:block;width:100%;height:100%;object-fit:contain}
body.home-page #how-to-play .solved-stamp{align-self:center;justify-self:center;gap:7px;margin:19px 0 0;padding:9px 13px;border:0;border-radius:9px;background:#e7f1dc;color:#4e753e;font:18px/1.3 var(--display);transform:rotate(-2deg);box-shadow:0 3px 0 #cadcba}
body.home-page #how-to-play .solved-stamp>img{display:block;width:23px;height:23px;object-fit:contain}
body.home-page #how-to-play .how-card:hover .step-icon{transform:translateY(-4px) rotate(-3deg)}
body.home-page #how-to-play :focus-visible{outline-color:#6b40bc}

body.home-page #features{position:relative;color:#fff8df;background:radial-gradient(ellipse at 12% 42%,#5e3c7b55,transparent 52%),#271744;border:0}
body.home-page #features .section-heading{max-width:760px;margin-bottom:40px}
body.home-page #features .eyebrow{color:#c4a5e9}
body.home-page #features .section-heading>p:last-child{color:#cfbde4}
body.home-page #features .feature-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;max-width:1100px;margin:0 auto;align-items:start}
body.home-page #features .feature-card{position:relative;min-width:0;padding:0 8px;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;transition:none;transform:none}
body.home-page #features .feature-card:hover{border:0;box-shadow:none;transform:none}
body.home-page #features .feature-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border:0;border-radius:0;background:none;box-shadow:none;color:#ffdb72;overflow:visible}
body.home-page #features .feature-icon>img{display:block;width:50px;height:50px;max-width:none;object-fit:contain;border:0;border-radius:0;clip-path:none;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 3px 0 #10091d55)}
body.home-page #features .feature-icon.feature-symbol{width:52px;height:52px;margin:0 auto 14px;border:0;border-radius:0;background:none;box-shadow:none;color:#e1c8ff}
body.home-page #features .feature-icon>svg,body.home-page #features .feature-icon.feature-symbol>svg{width:42px;height:42px;stroke-width:1.8}
body.home-page #features .feature-card h3{margin:0 0 10px;color:#fff8df;font-size:25px;line-height:1.14;text-wrap:balance}
body.home-page #features .feature-card p{max-width:35ch;margin:0 auto;color:#d8c9ea;font-size:14px;line-height:1.75}
body.home-page #features .feature-card p strong{color:#fff5d7;font-weight:650}
body.home-page #features .feature-card:first-child{padding:8px 14px 30px;border-bottom:1px solid #b99ad333}
body.home-page #features .feature-card:first-child .feature-icon{width:76px;height:76px;margin-bottom:8px}
body.home-page #features .feature-card:first-child .feature-icon>img{width:72px;height:72px;transform:rotate(-10deg)}
body.home-page #features .case-count{display:block;margin:0 0 4px;color:#ffda6b;font:clamp(60px,8vw,84px)/1 var(--display);letter-spacing:-.025em;text-shadow:0 4px 0 #40264f}
body.home-page #features .feature-card:first-child h3{font-size:30px}
body.home-page #features .feature-card:first-child p{max-width:34ch}
body.home-page #features .premium-card{display:grid;justify-items:center;gap:0;padding:26px 8px 0;border:0;border-top:1px solid #b99ad333;border-radius:0;background:none;box-shadow:none}
body.home-page #features .premium-card h3{font-size:25px}
body.home-page #features .premium-note{display:block;margin:12px 0 0;color:#e6c67f;font-size:12px;line-height:1.6}

@media(min-width:600px){
 body.home-page #features .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 30px}
 body.home-page #features .feature-card:first-child{grid-column:1/-1;padding:0 18px 30px}
 body.home-page #features .premium-card{grid-column:1/-1;max-width:760px;width:100%;margin:0 auto}
 body.home-page #features .premium-card p{max-width:65ch}
}
@media(max-width:699px){
 body.home-page #how-to-play{padding-block:56px}
 body.home-page #how-to-play .section-heading{margin-bottom:30px}
 body.home-page #how-to-play .how-grid{gap:30px}
 body.home-page #how-to-play .step-icon{width:88px;height:88px;margin-bottom:18px}
 body.home-page #how-to-play .step-icon>img{width:62px;height:62px}
 body.home-page #how-to-play .step-number{top:62px;left:calc(50% + 20px)}
 body.home-page #how-to-play .how-card h3{font-size:26px}
 body.home-page #how-to-play .how-card>p{max-width:36ch;font-size:14px;line-height:1.7}
 body.home-page #how-to-play .clue-note{max-width:100%;font-size:clamp(15px,4.4vw,17px);overflow-wrap:anywhere}
 body.home-page #how-to-play .solved-stamp{max-width:100%;font-size:clamp(16px,4.6vw,18px);overflow-wrap:anywhere}
}
@media(min-width:700px) and (max-width:899px){
 body.home-page #how-to-play .how-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 body.home-page #how-to-play .how-grid::before{content:'';position:absolute;top:44px;left:16.666%;right:16.666%;border-top:3px dotted #c5a97066;pointer-events:none}
 body.home-page #how-to-play .how-card{grid-template-rows:110px auto 1fr 96px;padding:0 4px}
 body.home-page #how-to-play .step-icon{width:88px;height:88px;margin-bottom:0}
 body.home-page #how-to-play .step-icon>img{width:62px;height:62px}
 body.home-page #how-to-play .step-number{top:62px;left:calc(50% + 20px)}
 body.home-page #how-to-play .how-card h3{font-size:24px}
 body.home-page #how-to-play .how-card>p{max-width:33ch;font-size:13.5px;line-height:1.7}
 body.home-page #how-to-play .clue-note,body.home-page #how-to-play .solved-stamp{max-width:100%;font-size:16px;overflow-wrap:anywhere}
 body.home-page #how-to-play .clue-note,body.home-page #how-to-play .tiny-grid,body.home-page #how-to-play .solved-stamp{margin-top:12px}
}
@media(min-width:900px){
 body.home-page #how-to-play .section-heading{margin-bottom:45px}
 body.home-page #how-to-play .how-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
 body.home-page #how-to-play .how-grid::before{content:'';position:absolute;top:52px;left:16.666%;right:16.666%;border-top:3px dotted #c5a97066;pointer-events:none}
 body.home-page #how-to-play .how-card{grid-template-rows:126px auto 1fr 108px;padding:0 8px}
 body.home-page #how-to-play .step-icon{margin-bottom:0}
 body.home-page #how-to-play .clue-note,body.home-page #how-to-play .tiny-grid,body.home-page #how-to-play .solved-stamp{margin-top:12px}
 body.home-page #features .feature-grid{grid-template-columns:1.12fr 1fr 1fr;gap:38px 42px}
 body.home-page #features .feature-card:first-child{grid-column:1;grid-row:1/3;align-self:center;margin:0;padding:20px 35px 20px 0;border:0;border-right:1px solid #b99ad333}
 body.home-page #features .feature-card:nth-child(2){grid-column:2;grid-row:1}
 body.home-page #features .feature-card:nth-child(3){grid-column:3;grid-row:1}
 body.home-page #features .feature-card:nth-child(4){grid-column:2;grid-row:2}
 body.home-page #features .feature-card:nth-child(5){grid-column:3;grid-row:2}
 body.home-page #features .premium-card{grid-column:1/-1;grid-row:3;grid-template-columns:62px minmax(0,.8fr) minmax(0,1.4fr);column-gap:22px;align-items:center;justify-items:start;max-width:none;padding:28px 34px 0;text-align:left}
 body.home-page #features .premium-card .feature-icon{grid-column:1;grid-row:1/3;margin:0}
 body.home-page #features .premium-card h3{grid-column:2;grid-row:1;margin-bottom:5px}
 body.home-page #features .premium-card p{grid-column:3;grid-row:1/3;margin:0;max-width:60ch;font-size:14px}
 body.home-page #features .premium-card .premium-note{grid-column:2;grid-row:2;margin:0;max-width:29ch}
}
@media(prefers-reduced-motion:reduce){body.home-page #how-to-play .step-icon,body.home-page #how-to-play .how-card:hover .step-icon{transition:none;transform:none}}

body.home-page #screenshots{color:#2b1841;background:#fff9e9;border:0;color-scheme:light}
body.home-page #screenshots .eyebrow{color:#76528e}
body.home-page #screenshots .section-heading h2{color:#2e1844}
body.home-page #screenshots .section-heading>p:last-child{color:#716077}
body.home-page .promo-gallery{gap:15px}
body.home-page .promo-shot{border:1px solid #d3bedf;border-radius:15px;background:#efe5f4;outline-offset:5px;box-shadow:0 5px 0 #e0d1e7,0 9px 20px #3c25531a}
body.home-page .promo-shot img{display:block;width:100%;height:auto}
body.home-page .promo-shot:hover{box-shadow:0 8px 0 #d4bde2,0 12px 25px #3c255326}
body.home-page .promo-shot:focus-visible{outline:3px solid #6b40bc;outline-offset:5px}
body.home-page .shot-enlarge{width:34px;height:34px;right:8px;bottom:8px;border:1px solid #ddc9f07a;background:#3b225ced;color:#fff8df}

body.home-page #events{color:#fff8df;background:#20113e;border:0}
body.home-page #events .eyebrow{color:#c6a6ed}
body.home-page .event-copy h2{color:#fff8df}
body.home-page .event-copy h2>span{color:#ffd45e}
body.home-page .event-copy>p:not(.eyebrow){color:#d4c1e8;line-height:1.75}
body.home-page .event-label{gap:8px;color:#f6d990;font-size:12px;line-height:1.5}
body.home-page .event-label>img{display:block;width:30px;height:30px;object-fit:contain;flex:none}
body.home-page .event-banner,body.home-page .event-strip figure{overflow:hidden;border:1px solid #73538b8c;border-radius:15px;background:#2c1b43;box-shadow:0 4px 0 #10071f50}
body.home-page .event-banner img,body.home-page .event-strip img{display:block;width:100%;height:auto;border-radius:0}
body.home-page .event-banner figcaption,body.home-page .event-strip figcaption{padding:10px 15px 12px;color:#fff5d9;font:20px/1.15 var(--display)}
body.home-page .event-strip{gap:16px;margin-top:22px}
body.home-page .event-strip figcaption{font-size:18px}

@media(min-width:600px){
 body.home-page .promo-gallery{gap:18px}
 body.home-page .event-strip{gap:16px}
}
@media(min-width:900px){
 body.home-page .promo-gallery{gap:17px}
 body.home-page .event-feature{gap:42px}
 body.home-page .event-feature .event-banner img{border-radius:0}
 body.home-page .event-strip{gap:20px;margin-top:26px}
}
@media(max-width:599px){
 body.home-page #how-to-play .section-heading{margin-bottom:25px}
 body.home-page .promo-gallery{gap:13px}
 body.home-page .promo-shot{border-radius:12px;box-shadow:0 4px 0 #e0d1e7}
 body.home-page .shot-enlarge{width:30px;height:30px;right:6px;bottom:6px}
 body.home-page .event-banner figcaption,body.home-page .event-strip figcaption{padding:10px 13px 12px;font-size:19px}
 body.home-page .event-strip{gap:15px;margin-top:18px}
}
@media(prefers-reduced-motion:reduce){
}

/* Real Book I artwork, presented only on the homepage. */
body.home-page #books{background:#fff9e9;color:#2b1841;color-scheme:light;border:0}
body.home-page #books::before{content:none;display:none}
body.home-page #books .books-grid{gap:30px;align-items:center}
body.home-page #books .home-book-art{min-width:0;margin:0}
body.home-page .book-showcase{position:relative;isolation:isolate;width:100%;max-width:580px;aspect-ratio:1.36;margin:0 auto}
body.home-page .book-showcase *{box-sizing:border-box}
body.home-page .book-showcase img{display:block;width:100%;height:100%;object-fit:contain}
body.home-page .showcase-spread{position:absolute;z-index:1;left:36%;top:24%;width:62%;aspect-ratio:1.4;display:flex;background:#fff;border-radius:3px 6px 6px 3px;transform:rotate(3deg);box-shadow:0 2px 0 #d4c8b4,0 5px 0 #e4d9c6,0 16px 25px #4e392b19}
body.home-page .showcase-spread::after{content:'';position:absolute;inset:0;border:1px solid #d8cdbb;border-radius:inherit;pointer-events:none}
body.home-page .showcase-page{position:relative;flex:1;min-width:0;background:#fff;overflow:hidden}
body.home-page .showcase-page:first-child{border-radius:3px 0 0 3px}
body.home-page .showcase-page:last-child{border-radius:0 6px 6px 0}
body.home-page .showcase-page:first-child::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 83%,#5c493010);pointer-events:none}
body.home-page .showcase-page:last-child::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#5c493018,transparent 12%);pointer-events:none}
body.home-page .showcase-book{position:absolute;z-index:2;left:5%;top:4%;width:43%;aspect-ratio:700/1007;transform:rotate(-4deg);filter:drop-shadow(8px 16px 12px #49322224)}
body.home-page .showcase-book::before{content:'';position:absolute;z-index:1;left:-6px;top:0;bottom:0;width:10px;border-radius:5px 0 0 5px;background:linear-gradient(90deg,#063f3d,#147d72 65%,#056257);box-shadow:inset 1px 0 #c6fff029;pointer-events:none}
body.home-page .showcase-book::after{content:'';position:absolute;z-index:-1;inset:3px -6px -6px 2px;border:1px solid #c4b99f;border-right:3px solid #095c54;border-bottom:3px solid #095c54;border-radius:2px 5px 6px 2px;background:repeating-linear-gradient(0deg,#f9f4e6 0 2px,#d5ccba 2px 3px)}
body.home-page .showcase-book img{position:relative;border-radius:2px 5px 5px 2px;background:#08756b;box-shadow:inset 0 0 0 1px #055149}
body.home-page #books .books-copy{min-width:0}
body.home-page #books .books-copy>.eyebrow{color:#76528e}
body.home-page #books .books-copy h2{color:#2e1844;font-size:clamp(38px,4.2vw,54px);line-height:1.05}
body.home-page #books .books-copy h2>span{color:#7044a0}
body.home-page #books .books-copy>p:not(.eyebrow){color:#6b5678;font-size:16px;line-height:1.75;max-width:43ch}
body.home-page #books .book-facts{gap:8px 17px;margin-top:19px;color:#62496e;font-size:12px;font-weight:600}
body.home-page #books .book-facts li::before{color:#aa7421}
body.home-page #books .books-actions{gap:11px;margin-top:25px}
body.home-page #books .books-actions .button{min-height:49px;font-size:16px;padding:13px 18px}
body.home-page #books .home-books-outline{background:#fffefb;border:1px solid #a68bb9;color:#5c347a;box-shadow:0 3px 0 #e4d7ec}
body.home-page #books .home-books-outline:hover{background:#f0e7f6;border-color:#785293}
body.home-page #books .books-copy>.books-note{font-size:12px!important;color:#806a89;max-width:43ch;line-height:1.65}
body.home-page #books :focus-visible{outline:3px solid #6b40bc;outline-offset:4px}
@media(min-width:900px){
 body.home-page #books .books-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:48px}
 body.home-page .book-showcase{margin-left:-6px;width:calc(100% + 6px)}
}
@media(max-width:599px){
 body.home-page #books .books-grid{gap:25px}
 body.home-page .book-showcase{max-width:410px;aspect-ratio:1.36}
 body.home-page .showcase-book{left:5%;width:43%;top:4%}
 body.home-page .showcase-book::before{left:-4px;width:7px;border-radius:3px 0 0 3px}
 body.home-page .showcase-book::after{inset:2px -4px -4px 2px;border-right-width:2px;border-bottom-width:2px}
 body.home-page #books .books-copy h2{font-size:40px}
 body.home-page #books .books-copy>p:not(.eyebrow){font-size:15px}
 body.home-page #books .books-actions{align-items:stretch;gap:10px}
 body.home-page #books .books-actions .button{font-size:15px;min-height:48px;padding:12px 15px}
}



@media(max-width:599px){body.home-page #books .books-actions{display:grid;grid-template-columns:1fr}body.home-page #books .books-actions .button{width:100%}}
@media(min-width:600px) and (max-width:899px){body.home-page .book-showcase{max-width:500px}}

