/* Visual identity aligned with the game: gold, jade, coral and rounded type. */
:root{--paper:#f5faf6;--white:#fff;--ink:#143c31;--muted:#5b7168;--line:#d8e7de;--red:#b72a28;--serif:'Trebuchet MS',Arial,sans-serif}
body{background:#f5faf6;color:#17392e}
.site-header{background:#fffef8f5;border-bottom-color:#e3ebdf}
.brand{font-family:var(--serif);font-weight:900;letter-spacing:-1px;color:#164936}.brand svg{color:#cb3a27}
.brand small{font-family:var(--sans);letter-spacing:2px;font-weight:500}
.hero-shell{max-width:1440px;margin:auto;padding:24px 28px 0}
.hero{min-height:610px;border-radius:28px;background:#ffcb32;border:1px solid #e7b938;box-shadow:0 16px 44px #b68a1514;isolation:isolate}
.hero-art{width:100%;height:100%;inset:0;object-fit:cover;object-position:center center}
.hero:after{background:linear-gradient(90deg,#ffdf75 0%,#ffdf75eb 22%,#ffe39496 39%,#ffe39400 55%)}
.hero-copy{width:51%;padding:48px 50px;color:#184a34}
.hero .kicker{color:#885212;font-size:10px;font-weight:800;letter-spacing:2px}
.hero h1{font:900 clamp(50px,5.7vw,80px)/.99 var(--serif);letter-spacing:-3.5px;margin:26px 0 22px;color:#154c34;text-shadow:0 2px #fff4b866}
.hero h1 em{display:block;font:700 17px/1.4 var(--sans);letter-spacing:.2px;color:#8d321e;margin-top:20px}
.hero-period{color:#c13220}.hero-copy>p{font-size:16px;line-height:1.75;color:#4f542c;max-width:365px}
.hero .hero-note{color:#605728}.hero .age{border-color:#866e3970}
.btn{border-radius:11px;font-weight:800;transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-2px)}
.btn-red{background:#c63625;color:#fff;box-shadow:0 4px 0 #952b1e}.btn-red:hover{background:#a9271e}
.hero .btn-gold{background:#c63625;color:white;box-shadow:0 5px 0 #952b1e;border:1px solid #b92e20}
.hero .btn-light{background:#fff5cb;color:#174b35;border:1px solid #dbb456;box-shadow:0 4px 0 #caa44555}
.hero .art-credit{color:#fff;background:#173b329c;padding:5px 10px;border-radius:7px;right:16px;bottom:13px}
.facts-bar{background:#fff;border:1px solid #e1e9d8;border-radius:18px;margin:22px 0 0;padding:27px 12px;box-shadow:0 5px 24px #204b3505}
.fact strong{font-weight:800;font-size:24px;color:#20533e}.fact span{color:#6c7866}.fact small{color:#6c7866}
.section-head h2,.large-title,.game-card h3,.article-body h2,.article-head h1,.game-detail-copy h1,.demo-copy h2,.cta-page h1,.author-strip h3{font-family:var(--serif);font-weight:800;letter-spacing:-1.2px}
.section-head h2,.large-title{font-size:38px;line-height:1.15}.eyebrow.kicker{color:#9d5523;font-weight:800}
.game-card{border-radius:20px;background:#fff;border:1px solid #d8e7de;box-shadow:0 9px 26px #16433207}
.game-image img{object-position:72% center}.game-card .tag{background:#fff9db;color:#5f431b;border:1px solid #e3c86f}.game-card.jade .tag,.game-card.lucky .tag{background:#eaffde;color:#244c2d}
.game-meta{color:#94711f;font-weight:800}.game-body .text-link{color:#a62d20}
.demo-section{background:#e5f1e7;border-top:1px solid #cfdfcd;border-bottom:1px solid #cfdfcd}
.demo-stage{border-radius:20px;border:5px solid #fff;box-shadow:0 10px 28px #23543e1a}
.demo-stage>img{object-position:75% center}.demo-cover{background:linear-gradient(90deg,#0d3a2be8,#133b2eb8);color:#fff9e5;padding:30px}
.demo-cover h3{font:800 36px/1.15 var(--serif);letter-spacing:-1px}.demo-cover p{color:#e7edcf}.demo-cover .btn-gold{background:#ffd24a;color:#25402c;border:1px solid #f3b928;box-shadow:0 4px 0 #a97919}
.demo-badge{font-size:10px;letter-spacing:2px;font-weight:800;color:#fadb72;display:block;margin-bottom:15px}
.demo-instructions{margin-top:18px;background:#fff;padding:22px 25px;border-radius:13px;border:1px solid #cfe0d3;font-size:13px}.demo-instructions p{font-size:12px!important;color:#586c5d}.demo-instructions ol{font-size:13px;padding-left:20px}.demo-instructions a{text-decoration:underline}
.spec-panel{background:#164c37;color:#fff6d3;border:1px solid #246848;border-radius:21px}.spec-panel h3{font-weight:800}.spec-panel .small-note{color:#c7d7bf}.spec-panel .spec-row{border-color:#ffffff24}.spec-panel .spec-row span{color:#c4d4bb}
.guide-row{border-color:#d7e5d6}.guide-number{color:#b1984f}.guide-row h3{font-weight:800}.author-strip{background:#fff;border:1px solid #dfebdc;border-radius:18px;padding:30px}
.game-detail-hero,.game-detail-hero.lucky{background:#dfefc7;color:#174232;border-radius:24px;border:1px solid #c8d9b5;grid-template-columns:1fr 1fr}.game-detail-copy{padding:42px}.game-detail-copy p{color:#4c6953}.game-detail-copy .eyebrow{color:#8e6921}.game-detail-copy h1{font-size:54px;line-height:1.08}.game-detail-copy h1 em{font-style:normal;color:#9e431b;font-size:30px;display:block;margin-top:12px}.game-detail-hero>img{object-position:72% center}.game-detail-copy .btn-light{background:#fff9e1;border-color:#d7cd9a;color:#264b32}
.toc{border-color:#2d7850}.toc .toc-next,.calculator,.status-note,.contact-panel{background:#e8f1e3}.table-wrap{background:#fff;border-color:#d5e1d3}th{background:#e8f1e3;color:#395343}.related a{background:#fff;border-color:#d7e4d5}.choice{background:#fff}.choice img{object-position:72% center}.choice[aria-pressed=true]{border-color:#c03c26;box-shadow:0 0 0 2px #c03c26}
.site-footer{background:#103d2c}.footer-col a,.footer-about p{color:#b9cdb9}.site-footer .brand{color:#fff0c5}.footer-bottom{color:#b1c5b1}.mobile-sticky{background:#fffef6}.mobile-sticky strong{font-weight:800}
@media(max-width:1100px){.hero-copy{padding:40px;width:53%}.hero h1{font-size:64px}.hero{min-height:570px}.hero-actions{flex-wrap:wrap;gap:13px}.game-detail-copy h1{font-size:44px}}
@media(max-width:800px){.hero-shell{padding:14px 14px 0}.hero{min-height:0;border-radius:21px;background:#ffdd69}.hero-copy{width:100%;padding:30px 27px 15px}.hero h1{font-size:57px;letter-spacing:-2.5px;margin:19px 0}.hero h1 em{font-size:14px;margin-top:14px}.hero .kicker{font-size:9px}.hero-copy>p{font-size:14px;max-width:100%;color:#46532b}.hero-art{position:relative;inset:auto;height:340px;width:100%;margin:0;object-fit:cover;object-position:83% center;mask-image:linear-gradient(transparent,black 12%)}.hero-actions{gap:12px}.hero-note{margin-top:22px}.hero .art-credit{font-size:7px}.facts-bar{margin-top:15px;padding:22px 0;gap:25px}.fact strong{font-size:21px}.section-head h2,.large-title{font-size:31px}.game-card{grid-template-columns:40% 60%}.game-card .game-image{min-height:230px}.game-image img{object-position:78% center}.demo-cover h3{font-size:29px}.demo-stage,.demo-cover{min-height:360px}.game-detail-hero,.game-detail-hero.lucky{grid-template-columns:1fr}.game-detail-copy{padding:29px}.game-detail-hero>img{height:300px;object-position:70% center}.game-detail-copy h1{font-size:44px}.game-detail-copy h1 em{font-size:26px}.author-strip{padding:22px}.toc{background:#edf4e9}.article-head h1{font-size:36px}.footer-grid{gap:30px 20px}}
@media(max-width:400px){.hero h1{font-size:53px}.hero-art{height:310px}.hero-actions .btn{font-size:10px;padding:12px 11px;gap:7px}.game-card h3{font-size:23px}}
.brand{gap:11px;flex-shrink:0;letter-spacing:0}.brand svg{width:54px;height:54px}.brand-wordmark{display:block}.brand .brand-prefix{display:block;font:800 10px/1.1 var(--sans);letter-spacing:2px;text-transform:uppercase;color:#42644e}.brand-wordmark>strong{display:block;font:900 29px/.98 var(--serif);letter-spacing:-1.5px;margin:3px 0}.brand-dot{color:#c53624}.brand small{font-size:7px;line-height:1.1;letter-spacing:1.5px;margin-top:6px;color:#617467}.site-footer .brand svg{box-shadow:0 0 0 1px #edce7540;border-radius:17px}.site-footer .brand .brand-prefix{color:#e9c967}.site-footer .brand small{color:#b3c9b7}.site-footer .brand-dot{color:#f5c74e}@media(max-width:800px){.brand svg{width:46px;height:46px}.brand-wordmark>strong{font-size:26px}.brand .brand-prefix{font-size:9px}.brand small{font-size:6px;letter-spacing:1.3px;margin-top:5px}.brand{gap:9px}}
.topic-jumps{display:flex;gap:12px;flex-wrap:wrap;padding-top:24px;padding-bottom:25px}.topic-jumps a{padding:10px 16px;border:1px solid #ccdccd;border-radius:30px;background:#fff;font-size:13px;font-weight:700;color:#24533b}.topic-jumps a:hover{background:#e5f1e7}
.screen-window{width:352px;max-width:100%;aspect-ratio:352/720;margin:auto;overflow:hidden;border-radius:8px}.game-evidence .screen-window img{width:100%;height:100%;object-fit:cover;object-position:center}
.screen-window.fortune-window{width:406px;aspect-ratio:406/720}
.cta-direct{min-height:65vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:64px 20px;gap:20px}.cta-direct h1{font-size:clamp(42px,7vw,82px);line-height:1.06;margin:0;letter-spacing:-.04em}.cta-direct p{margin:0;font-size:18px}.cta-direct .btn{min-width:240px;margin-top:12px}
/* Shared CTA path and on-page demonstration window. */
body{padding-bottom:104px}
.header-cta{margin-left:auto;flex-shrink:0}.header-cta .btn{white-space:nowrap}
.site-cta{position:fixed;inset:auto 0 0;z-index:80;background:#103d2c;color:#fff9e5;border-top:1px solid #bdcfad;box-shadow:0 -6px 28px #102d2520;padding:14px 0 calc(14px + env(safe-area-inset-bottom))}
.site-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.site-cta-inner>div{display:grid;grid-template-columns:auto auto;column-gap:24px;align-items:center}.site-cta .eyebrow{grid-column:1/-1;color:#dacf99;font-size:10px}.site-cta strong{font-size:22px}.site-cta .cta-caption{font-size:14px;color:#d1dfcf}.site-cta .btn{min-width:190px}.demo-stage button{font:inherit;cursor:pointer}
.demo-modal{width:min(1120px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #8d9e8b;border-radius:18px;background:#102e24;color:#fff9e5;overflow:hidden;box-shadow:0 25px 100px #0007}
.demo-modal::backdrop{background:#081c15d9;backdrop-filter:blur(4px)}.demo-window{height:100%;display:flex;flex-direction:column}.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:#fffdf4;color:#173e2e}.demo-toolbar h2{margin:2px 0 0;font-size:22px;line-height:1.2}.demo-toolbar .eyebrow{font-size:9px}.demo-tools{display:flex;gap:8px}.demo-tools button{padding:10px 14px;border:1px solid #b9c8b5;border-radius:8px;background:#fffdf4;color:#163e2e;cursor:pointer;font:inherit;font-size:13px;font-weight:700}.demo-tools .demo-close{background:#173e2e;color:white}.demo-load-note{font-size:12px;line-height:1.4;margin:0;padding:8px 18px;color:#e0e8da}.demo-frame-host{flex:1;min-height:0;background:#0c211a}.demo-frame-host iframe{display:block;width:100%;height:100%;border:0}.demo-is-open{overflow:hidden}.demo-is-open .site-cta{visibility:hidden}
@media(max-width:760px){body{padding-bottom:100px}.header-inner{gap:10px}.header-cta .btn{padding:10px 12px;font-size:12px;min-height:40px}.header-cta .arrow{display:none}.site-cta{padding:10px 0 calc(10px + env(safe-area-inset-bottom))}.site-cta-inner{gap:12px}.site-cta-inner>div{display:block}.site-cta strong{display:block;font-size:16px}.site-cta .eyebrow{font-size:8px}.site-cta .cta-caption{display:none}.site-cta .btn{min-width:0;padding:12px 18px;font-size:13px}.demo-modal{width:100vw;height:100dvh;border:0;border-radius:0;margin:0}.demo-toolbar{padding:10px;gap:8px}.demo-toolbar h2{font-size:17px}.demo-tools{gap:5px}.demo-tools button{font-size:11px;padding:9px 8px}.demo-load-note{padding:7px 10px;font-size:11px}}
.game-evidence{margin:26px auto;background:#fff;border:1px solid #d5e1d3;border-radius:16px;padding:18px;max-width:100%;overflow:hidden}.game-evidence img{display:block;max-width:100%;height:auto;margin:auto;border-radius:8px}.game-evidence figcaption{font-size:12px;line-height:1.6;color:#556851;margin-top:13px}.game-evidence.portrait{max-width:328px}.game-evidence.portrait img{max-height:520px;width:auto}
.game-explainer{display:grid;grid-template-columns:328px minmax(0,1fr);gap:55px;align-items:start}.game-explainer .game-evidence{margin:0}.game-explainer h3{font-size:24px;margin-top:22px;color:#204e36}.game-explainer h3:first-child{margin-top:0}.game-explainer p{line-height:1.85}
.evidence-sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.evidence-sequence .game-evidence{margin:12px 0;padding:9px}.evidence-sequence figcaption{font-size:11px}
.worked-example{background:#164c37;color:#fff7db;border-radius:15px;padding:25px;margin:24px 0}.worked-example>strong{font-size:25px;line-height:1.4}.worked-example p{color:#e3ecd9!important;margin-bottom:0}.practical-steps{padding-left:25px}.practical-steps li{padding:2px 0 10px 8px}.practical-steps li::marker{font-weight:800;color:#b13b26}.practical-steps h3{margin:8px 0!important;font-size:20px}.practical-steps p{margin:0!important}.verification-note{padding:12px 16px;background:#fff9de;border:1px solid #e2d39f;border-radius:10px;font-size:13px!important;color:#55451c!important}
@media(max-width:800px){.game-explainer{grid-template-columns:1fr;gap:24px}.game-explainer .game-evidence{margin:auto}.topic-jumps{gap:8px}.topic-jumps a{font-size:12px;padding:9px 12px}.game-evidence{padding:12px}.evidence-sequence{grid-template-columns:1fr}.evidence-sequence .game-evidence{max-width:310px;margin:8px auto}.worked-example{padding:20px}.worked-example>strong{font-size:21px}.game-explainer h3{font-size:22px}}
@media(max-width:360px){.site-cta .eyebrow{font-size:7px;letter-spacing:.1em;white-space:nowrap}.site-cta .btn{padding:12px 14px}.site-cta strong{font-size:15px}}
@media(max-width:760px){.empty-page h1{font-size:clamp(38px,10vw,58px);overflow-wrap:anywhere}}
