:root{color-scheme:light;--sans:"PingFang SC","Microsoft YaHei",sans-serif;--serif:"Noto Serif SC","Songti SC",STSong,"SimSun",serif;--ink:#22382d;--muted:#526458;--paper:#f5f0e6;--accent:#233e31;--line:#d7d5c7}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.65}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{line-height:1.12;text-wrap:balance}
h1{font-size:clamp(2.65rem,5.5vw,5.4rem)}
h2{font-size:clamp(2rem,4.2vw,4rem)}
h3{font-size:clamp(1.18rem,2vw,1.6rem)}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:3px solid #bb792d;outline-offset:4px}
.wrap{width:min(1280px,calc(100% - 112px));margin-inline:auto}
.site-head,.site-foot{display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-head{min-height:88px}
.site-foot{min-height:77px;font-size:.88rem;border-top:1px solid var(--line)}
.site-foot span{color:var(--muted)}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:1.23rem;font-weight:700;white-space:nowrap;line-height:1.2}
.brand img{border-radius:9px}
nav,.actions{display:flex;align-items:center;gap:clamp(10px,2.5vw,30px)}
nav>a:not(.button):hover,.site-foot a:hover{text-decoration:underline;text-underline-offset:4px}
.eyebrow{font-size:.9rem;letter-spacing:.16em;font-weight:700}
.lead{font-size:clamp(1rem,1.55vw,1.22rem);line-height:1.9;color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.58rem 1.16rem;border:1px solid transparent;line-height:1.3;border-radius:var(--radius,4px);white-space:nowrap;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.primary{background:var(--accent);color:var(--accent-text,#fffaf1)}
.primary:hover{background:var(--accent-hover,#365845)}
.outline{border-color:var(--button-line,var(--line));background:transparent;color:inherit}
.outline:hover{background:var(--outline-hover,#deded1)}
.code-band{display:flex;align-items:center;justify-content:space-between;gap:42px;padding-block:75px}
.code-band h2{margin:.55rem 0 1.1rem}
.code-band .mobile-hint{margin-top:.45rem;color:var(--muted);font-size:.9rem;max-width:42ch}
.code-link{flex:none;display:grid;justify-items:center;gap:12px;font-size:.9rem;width:max-content}
.code-link img,.code-dialog img{background:#fff;padding:9px;border-radius:12px}
.code-link:hover span{text-decoration:underline;text-underline-offset:4px}
dialog{max-height:calc(100dvh - 32px);border:1px solid #d9ddce;padding:0;max-width:calc(100% - 32px);border-radius:18px;color:#22382d;background:#fbf8ee;box-shadow:0 15px 55px #10171055}
dialog::backdrop{background:#0a120fcc}
.code-dialog{width:370px;text-align:center;padding:35px 25px 30px}
.code-dialog h2{font-size:1.65rem;margin:12px 0}
.code-dialog img{margin:14px auto;width:218px}
.code-dialog p{font-size:.9rem;color:#526458;margin-bottom:15px}
.code-dialog .button{background:#223e31;color:#fff}
.dialog-close{position:absolute;top:9px;right:9px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#e8ece3;color:#29352d;font-size:1.5rem;line-height:1;cursor:pointer}
.review{background:#eeeae0}
.review-header{display:flex;align-items:center;gap:12px;padding-block:28px;border-bottom:1px solid var(--line);font-weight:700}
.review-header img{border-radius:9px}
.review main{padding-block:55px}
.review h1{font-family:var(--serif);font-size:clamp(2.35rem,5vw,4.9rem);margin-bottom:16px}
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:36px}
.review-grid a{display:block;background:#faf7ef;border:1px solid #d4d0c3;transition:transform .18s}
.review-grid a:hover{transform:translateY(-3px)}
.review-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}
.review-grid a:last-child img{object-position:center 33%}
.review-grid a div{padding:20px}
.review-grid a p{margin-top:8px;color:var(--muted)}
@media(max-width:950px){.wrap{width:calc(100% - 64px)}}
@media(max-width:640px){.wrap{width:calc(100% - 36px)}.site-head{min-height:70px}.site-head nav>a:not(.button){display:none}.brand{font-size:1.1rem}.brand img{width:33px;height:33px}.button{min-height:43px;padding-inline:.88rem}.code-band{padding-block:48px;flex-direction:column;align-items:start;gap:22px}.code-link img{width:156px}.review-grid{grid-template-columns:1fr}.review main{padding-block:34px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
