*{box-sizing:border-box}body{margin:0;background:#07151b;color:#eef8f9;font:16px/1.65 system-ui,Arial}a{color:#77e6df}.leaf{width:32px;vertical-align:middle;margin-right:8px}main{width:100%;min-width:0}h1{font-size:clamp(32px,5vw,72px);line-height:1.1;margin:20px 0}h2{font-size:clamp(24px,3vw,40px)}.card{border:1px solid #ffffff30;background:linear-gradient(135deg,#16303b,#0b1920);border-radius:14px;padding:24px;margin:16px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}.grid img{width:100%;height:180px;object-fit:cover;border-radius:8px}.button,button{display:inline-block;background:#a7e7e0;color:#07232b;padding:12px 22px;border:0;border-radius:6px;font-weight:700;cursor:pointer;text-decoration:none}.muted{color:#a5bbc1}.tag{color:#8ad8d2;letter-spacing:.14em;text-transform:uppercase;font-size:12px}.source{white-space:pre-wrap;overflow-wrap:anywhere;background:#0d252f;border:1px solid #34505b;border-radius:12px;padding:24px}.pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:9px}.pages a{padding:12px;border:1px solid #34505b;text-decoration:none;border-radius:7px}.reference{width:100%;max-height:800px;object-fit:contain;background:#fff}input,select{padding:12px;background:#102a32;color:white;border:1px solid #5b8389;border-radius:6px;max-width:100%}

body{min-height:100vh;min-height:100dvh}

.full-toggle{margin-inline-start:auto;padding:0;width:44px;height:44px;flex:none;border:0;border-radius:0;background:transparent;color:#eef8f9;font-size:24px;line-height:1}
.full-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.opening{position:relative;isolation:isolate;display:grid;align-content:end;min-height:100vh;min-height:100dvh;padding:clamp(24px,5vw,90px) 5vw}
.opening .hero,.opening::before{position:absolute;inset:0;width:100%;height:100%}
.opening .hero{z-index:-2;object-fit:cover}
.opening::before{content:"";z-index:-1;background:linear-gradient(0deg,rgba(5,17,23,.97),rgba(5,17,23,.72) 29%,transparent 78%)}
.opening-copy{max-width:78ch;color:white}
.opening-copy h1{margin:12px 0;text-wrap:balance}
.opening-copy p{max-width:68ch;margin-bottom:0}
.chapter-content{padding:32px 4vw;min-width:0}
@media(max-width:650px){.leaf{width:24px;margin-right:4px}.opening-copy h1{font-size:clamp(30px,8vw,46px)}.chapter-content{padding:22px 4vw}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}}
