:root{color-scheme:dark;--b:#071014;--p:#12272b;--h:#eaf6ee;--t:#c6dbd1;--l:#324a49;--a:#88e2b3;--gold:#f6d784}*{box-sizing:border-box}body{margin:0;background:var(--b);color:var(--h);font:16px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif}h1,h2,h3{line-height:1.19;letter-spacing:-.028em}h1{font-size:clamp(2.2rem,5vw,4.15rem)}h2{font-size:clamp(1.5rem,3vw,2.3rem)}h3{font-size:1.23rem}a{color:var(--a);text-underline-offset:3px}p{margin:.3em 0 1.1em}.home-container{max-width:1150px;width:calc(100% - 34px);margin:auto}.home-header{max-width:1350px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:19px 20px;gap:20px;border-bottom:1px solid #23423c}.home-brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-weight:900;font-size:1.17rem;letter-spacing:.055em;white-space:nowrap}.home-header nav{display:flex;flex-wrap:wrap;gap:18px}.home-header nav a{text-decoration:none;color:#d5e8df;font-size:.93rem}.home-header nav a:hover{text-decoration:underline;color:#a1ffd0}.home-hero{position:relative;background:radial-gradient(ellipse at 88% 15%,#1b654e 0%,#12352d 29%,#071014 70%);padding:clamp(40px,6vw,95px) 0 65px;overflow:hidden}.home-hero .home-container{position:relative;z-index:2}.home-hero h1{max-width:790px;margin:10px 0 24px}.home-hero .home-container>p:not(.home-label){max-width:715px;color:#d4e7dc;font-size:1.15rem}.home-label{font-size:.81rem;letter-spacing:.15em;color:#9cebc4;font-weight:900}.home-chess-art{font-size:175px;position:absolute;right:7%;top:9%;opacity:.11;transform:rotate(-15deg);pointer-events:none;letter-spacing:-.3em}.home-chess-art span{font-size:.6em}.home-cta{display:flex;flex-wrap:wrap;gap:11px;margin-top:26px}.home-btn{display:inline-flex;justify-content:center;align-items:center;padding:10px 20px;min-height:45px;border-radius:10px;color:#f6fff8;background:#1e3d38;border:1px solid #638477;text-decoration:none;font:700 .95rem/1.3 system-ui,sans-serif;cursor:pointer}.home-btn.primary{background:#84e1ad;border-color:#84e1ad;color:#09251a}.home-btn.outline{background:transparent}.home-btn:hover,.home-btn:focus-visible{filter:brightness(1.18);box-shadow:0 0 0 3px #86e0ae55}.home-section{padding:58px 0}.home-section>h2{margin:0 0 26px}.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:16px}.home-card,.home-step{background:linear-gradient(160deg,#152d2c,#0f2128);border:1px solid #31534b;border-radius:14px;padding:22px}.home-card h3,.home-step h3{margin:0 0 12px}.home-card p,.home-step p{color:var(--t);font-size:.97rem}.home-card a{font-weight:750}.home-band{background:#102428;border-top:1px solid #203e3a;border-bottom:1px solid #203e3a}.home-feature{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(200px,1fr);gap:30px;align-items:center;padding:58px 0}.home-feature p,.home-two p,.home-wide-p,.home-about p{color:#d0e1da;max-width:800px;font-size:1.06rem}.home-feature-visual{height:250px;border:1px solid #375e4e;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(130deg,#23513c,#122e36)}.home-feature-visual span{font-size:90px;color:#e8d3a0}.home-feature-visual b{font-size:2.4rem;color:#a8eac1}.home-text-link{font-weight:800}.home-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;padding:58px 0}.home-about{border-top:1px solid #25443b}.home-footer{background:#08191e;border-top:1px solid #31534b;padding:30px 0;color:#c0d2cf}.home-links{display:flex;flex-wrap:wrap;gap:10px 24px}.home-langs{margin:18px 0;display:flex;gap:14px;flex-wrap:wrap}.home-footer small{color:#91ada3}.home-policy{max-width:900px;padding:45px 0 75px}.home-policy section{margin:28px 0}.home-policy p{color:#c8dad4}.home-policy h2{margin-bottom:8px}dialog{border:1px solid #537e6c;border-radius:16px;background:#132a2d;color:white;padding:24px;max-width:440px;box-shadow:0 25px 85px #000c}dialog::backdrop{background:#000a}dialog h2{font-size:1.4rem;margin:0 0 12px}dialog p{color:#d1e6db}
@media(max-width:800px){.home-header{flex-direction:column;align-items:flex-start;padding:12px 16px;gap:10px}.home-header nav{gap:7px 17px}.home-header nav a{font-size:.85rem}.home-hero{padding:35px 0 50px}.home-hero .home-container>p:not(.home-label){font-size:1.02rem}.home-chess-art{font-size:110px;top:16%;right:6%;opacity:.05}.home-feature{grid-template-columns:1fr}.home-feature-visual{height:130px}.home-feature-visual span{font-size:55px}.home-two{grid-template-columns:1fr;gap:30px}.home-section{padding:38px 0}.home-container{width:calc(100% - 24px)}}

/* AAB52: dedicated Play CTA beside the analyzer and Academy on all four Homes. */
.home-cta .home-btn-play{background:#1d4737;border-color:#71bd8c;color:#ecfff3}
@media(max-width:480px){.home-hero .home-cta .home-btn{flex:1 1 42%;padding:9px 10px;text-align:center}}

/* R14: research links use the existing Home buttons, without changing the card grid. */
#mca-research .home-card h3 > .home-btn{width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
#mca-research .home-langs{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
