:root{--ink:#272c33;--muted:#60646b;--green:#81a835;--green-dark:#526d20;--lime:#e9f2d1;--paper:#f3f4f6;--line:#dfe4e7;--white:#fff;--shadow:0 24px 70px rgba(39,44,51,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}.topbar{height:72px;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.brand{display:flex;gap:11px;align-items:center;color:var(--ink);text-decoration:none;font-size:18px}.brand b{color:var(--green-dark)}.mark{display:grid;place-items:center;width:34px;height:34px;background:var(--green);color:white;border-radius:9px;font-weight:900}.topbar nav{display:flex;align-items:center;gap:22px}.search-open{border:1px solid var(--line);background:white;border-radius:10px;padding:9px 12px;color:var(--muted);font-size:14px}.search-open span{font-size:19px;margin-right:6px}.search-open kbd{margin-left:26px;border:1px solid var(--line);padding:1px 6px;border-radius:5px;background:var(--paper)}.progress-label{font-size:14px;color:var(--muted)}.progress-label b{color:var(--green-dark)}main{max-width:1240px;margin:auto;padding:0 24px}.intro{min-height:500px;display:grid;grid-template-columns:1.7fr .8fr;gap:80px;align-items:center;padding:70px 0 54px}.eyebrow{color:var(--green-dark);font-size:12px;letter-spacing:.14em;font-weight:800;margin:0 0 14px}.intro h1{font-size:clamp(42px,6vw,76px);letter-spacing:-.055em;line-height:.98;margin:0;max-width:850px}.intro h1 em{font-style:normal;color:var(--green-dark)}.lede{font-size:19px;color:var(--muted);max-width:720px;margin-top:26px}.start-card{background:var(--ink);color:white;border-radius:24px;padding:28px;box-shadow:var(--shadow);transform:rotate(1.5deg)}.start-card p{color:var(--lime);font-size:12px;letter-spacing:.13em;font-weight:800}.start-card strong{display:block;font-size:27px;line-height:1.15}.start-card span{display:block;color:#c1c1c1;margin:10px 0 28px}.start-card button{width:100%;display:flex;justify-content:space-between;border:0;background:var(--green);color:white;padding:15px 17px;border-radius:12px;font-size:16px;font-weight:750}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-head h2{font-size:38px;letter-spacing:-.035em;margin:0}.section-head>p{color:var(--muted);max-width:360px;margin:0}.map{padding:65px 0}.chapter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.chapter-card{text-align:left;border:1px solid var(--line);background:white;border-radius:16px;padding:20px;min-height:160px;display:flex;flex-direction:column;cursor:pointer;transition:.2s}.chapter-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(39,44,51,.09);border-color:#81a835}.chapter-card.done{background:#f2f7df}.chapter-card .num{color:var(--green-dark);font-weight:800;font-size:13px}.chapter-card strong{font-size:18px;line-height:1.2;margin-top:auto}.chapter-card small{color:var(--muted);margin-top:5px}.viewer{display:grid;grid-template-columns:240px 1fr;gap:24px;min-height:680px;padding:70px 0}.rail{position:sticky;top:96px;height:max-content;border-left:1px solid var(--line)}.rail button{display:block;width:100%;text-align:left;background:none;border:0;border-left:3px solid transparent;margin-left:-2px;padding:11px 18px;color:var(--muted);font-size:14px}.rail button.active{border-color:var(--green);color:var(--ink);font-weight:750}.rail button.done:after{content:'✓';float:right;color:var(--green-dark)}.chapter{background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(39,44,51,.06)}.chapter-copy{padding:34px 38px 28px}.chapter-copy .count{color:var(--green-dark);font-size:12px;font-weight:800;letter-spacing:.12em}.chapter h2{font-size:42px;line-height:1.05;letter-spacing:-.04em;margin:8px 0 14px}.chapter .summary{font-size:19px;color:var(--muted);max-width:760px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.compare div{background:var(--paper);padding:17px;border-radius:12px}.compare span{display:block;font-size:11px;letter-spacing:.11em;font-weight:800;color:var(--muted);margin-bottom:7px}.compare b{font-size:15px}.tips{margin:20px 0 0;padding:0;list-style:none}.tips li{padding:9px 0 9px 26px;position:relative}.tips li:before{content:'→';position:absolute;left:0;color:var(--green-dark);font-weight:800}.shot-wrap{position:relative;background:#e4e7ea;padding:22px}.shot-wrap img{width:100%;display:block;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.2);cursor:zoom-in}.shot-wrap button{position:absolute;right:36px;bottom:36px;border:0;background:rgba(39,44,51,.94);color:white;padding:10px 13px;border-radius:9px}.chapter-actions{padding:22px 38px 30px;display:flex;align-items:center;justify-content:space-between}.complete{border:1px solid var(--green);background:white;color:var(--green-dark);padding:12px 16px;border-radius:10px;font-weight:750}.complete.done{background:var(--green);color:white}.next{border:0;background:var(--ink);color:white;padding:13px 18px;border-radius:10px;font-weight:750}.cheatsheet{padding:80px 0}.moves{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white}.moves div{padding:24px;border-bottom:1px solid var(--line)}.moves div:nth-child(odd){border-right:1px solid var(--line)}.moves div:nth-last-child(-n+2){border-bottom:0}.moves span{display:block;color:var(--muted);font-size:14px;margin-bottom:6px}.moves b{font-size:17px}footer{max-width:1240px;margin:auto;padding:30px 24px 50px;border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;color:var(--muted)}footer span{font-weight:800;color:var(--ink)}footer p{margin:0}footer button{margin-left:auto;border:0;background:none;color:var(--green-dark);font-weight:700}dialog{border:0;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.3);padding:0;width:min(620px,calc(100vw - 30px))}dialog::backdrop{background:rgba(39,44,51,.68);backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 12px}.dialog-head button,.image-dialog button{border:0;background:none;font-size:28px}#searchInput{width:calc(100% - 44px);margin:0 22px 14px;padding:14px;border:1px solid var(--line);border-radius:10px;font-size:16px}.results{padding:0 14px 18px;max-height:420px;overflow:auto}.result{display:block;width:100%;border:0;background:white;text-align:left;padding:13px;border-radius:10px}.result:hover{background:var(--paper)}.result b{display:block}.result span{color:var(--muted);font-size:13px}.image-dialog{width:min(1500px,96vw);background:transparent;box-shadow:none}.image-dialog img{width:100%;border-radius:12px}.image-dialog button{position:fixed;right:20px;top:16px;color:white;background:#272c33;border-radius:50%;width:44px;height:44px}.empty{padding:25px;color:var(--muted)}@media(max-width:900px){.intro{grid-template-columns:1fr;gap:30px}.start-card{transform:none}.chapter-grid{grid-template-columns:1fr 1fr}.viewer{grid-template-columns:1fr}.rail{position:static;display:flex;overflow:auto;border-left:0;border-bottom:1px solid var(--line);padding-bottom:8px}.rail button{min-width:170px;border-left:0;border-bottom:3px solid transparent}.rail button.active{border-bottom-color:var(--green)}.chapter h2{font-size:34px}}@media(max-width:580px){.topbar{height:64px}.progress-label,.search-open kbd{display:none}.intro{padding-top:48px;min-height:auto}.intro h1{font-size:43px}.chapter-grid,.moves,.compare{grid-template-columns:1fr}.moves div,.moves div:nth-child(odd){border-right:0;border-bottom:1px solid var(--line)}.section-head{align-items:start;flex-direction:column;gap:10px}.section-head h2{font-size:32px}.chapter-copy{padding:26px 22px}.shot-wrap{padding:10px}.chapter-actions{padding:18px 22px}.chapter-actions span{display:none}}
/* Revelation logo palette: vivid blue, red, green and orange with crisp neutrals. */
:root{--blue:#0868d9;--blue-dark:#064ca8;--blue-soft:#e8f2ff;--red:#f12623;--red-soft:#fff0ef;--green:#77c62b;--green-dark:#3d861c;--green-soft:#effadf;--orange:#ff9c0a;--orange-hover:#ed8800;--orange-soft:#fff3d7;--lime:var(--green-soft);--paper:#f6f8fb;--line:#dce3ec;--shadow:0 24px 70px rgba(6,76,168,.14)}
.brand b,.progress-label b,.eyebrow,.chapter-copy .count{color:var(--green-dark)}
.mark{background:linear-gradient(145deg,var(--blue),var(--blue-dark));color:white;box-shadow:0 7px 18px rgba(8,104,217,.25)}
.intro h1 em{color:var(--green)}
.start-card{background:linear-gradient(145deg,#252c38,#0b4384)}
.start-card p{color:var(--green)}
.start-card button{background:var(--orange);color:#252c38}
.start-card button:hover{background:var(--orange-hover)}
.chapter-card{border-top:5px solid var(--blue)}
.chapter-card:nth-child(4n+2){border-top-color:var(--red)}
.chapter-card:nth-child(4n+3){border-top-color:var(--green)}
.chapter-card:nth-child(4n){border-top-color:var(--orange)}
.chapter-card:hover{border-color:var(--blue);box-shadow:0 16px 38px rgba(8,104,217,.14)}
.chapter-card.done{background:var(--blue-soft)}
.chapter-card .num{color:var(--green-dark)}
.rail button.active{border-color:var(--blue);color:var(--green-dark)}
.rail button.done:after,.tips li:before{color:var(--green-dark)}
.compare div:first-child{background:var(--red-soft)}
.compare div:last-child{background:var(--green-soft)}
.shot-wrap{background:linear-gradient(135deg,var(--blue-soft),var(--orange-soft))}
.complete{border-color:var(--green);color:var(--green-dark)}
.complete.done{background:var(--green);color:#17360c}
.next{background:var(--blue)}
.next:hover{background:var(--blue-dark)}
footer button{color:var(--green-dark)}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.brand .mark{width:42px;height:42px;object-fit:contain;background:transparent;border-radius:0;box-shadow:none}
@media(max-width:580px){.brand .mark{width:38px;height:38px}}
