@charset "UTF-8";

:root{--paper:#f6eedc;--paper-deep:#eee1c1;--ink:#342d25;--muted:#736b5d;--line:#d9ccb0;--red:#913d2c;--red-dark:#713021;--gold:#ae873f;--serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,"Noto Serif CJK SC",serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;color:inherit}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--red);outline-offset:5px}
button{border:0;background:none}
::selection{background:#dec391;color:var(--ink)}
[hidden]{display:none!important}
.skip-link{position:fixed;top:8px;left:16px;z-index:500;background:var(--ink);color:var(--paper);padding:10px 20px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.site-header{position:absolute;inset:0 0 auto;z-index:30;background:transparent}
.nav-wrap{height:86px;max-width:1320px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:50px}
.brand{display:flex;align-items:center;gap:11px;font-family:var(--serif);font-size:29px;font-weight:bold;letter-spacing:-1.2px;white-space:nowrap}

.main-nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.main-nav a{font-size:14px;color:#665b47;transition:color .2s}
.main-nav a:hover{color:var(--red)}
.nav-actions{display:flex;align-items:center;gap:23px}
.language-button{font-size:14px;padding:5px 0;min-width:30px}
.nav-model{display:flex;align-items:center;white-space:nowrap;gap:22px;border:1px solid #ac986f;padding:9px 14px;font-size:13px;transition:background .2s}
.nav-model:hover{background:#e6d5b2}
.menu-button{display:none;width:32px;height:32px;padding:6px}
.menu-button span{display:block;height:1px;background:var(--ink);margin:6px 0;transition:transform .2s}
.hero{position:relative;height:100vh;height:100dvh;overflow:hidden;background:#efdaa9;display:flex;justify-content:center;text-align:center}
.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.hero-wash{position:absolute;inset:0;background:linear-gradient(180deg,#f3e8ce66 0%,#f4e4bf40 30%,transparent 65%)}
.hero-content{position:relative;z-index:2;padding:clamp(130px,16vh,230px) 24px 0;width:100%;max-width:900px}
.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2px;font-weight:500;line-height:1.5}

h1{position:relative;width:max-content;max-width:100%;margin:0 auto 1px;font-family:var(--serif);font-size:116px;line-height:1.18;font-weight:400;letter-spacing:-6px;color:#382d1d;opacity:.8}

.content{max-width:1060px;margin:0 auto;padding:22px 40px 36px}
.content-section{padding:48px 0;border-bottom:1px solid #e5e0d6}
.content-section:last-child{border-bottom:0}
.content-section h2{margin:0 0 20px;font-family:var(--serif);font-size:32px;font-weight:600;line-height:1.3;letter-spacing:-.5px;color:#342d25}
.content-section p{font-size:16px;line-height:1.85;margin:0 0 16px;color:#514d45}
.content-section a,.site-footer a{color:#85402e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.content-section a:hover,.site-footer a:hover{color:#542819}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:30px 0 0;padding:22px 0 0;border-top:1px solid #e5e0d6}
.metrics dt{font-size:24px;font-weight:500;font-variant-numeric:lining-nums;line-height:1.3;color:#342d25}
.metrics dd{margin:7px 0 0;font-size:13px;line-height:1.6;color:#746e63}
.paper-figure{margin:28px 0 0}
.figure-button{display:block;width:100%;padding:0;background:#fff;cursor:zoom-in}
.figure-button img{display:block;width:100%;height:auto}
.paper-figure figcaption{margin-top:16px;font-size:13px;line-height:1.8;color:#6f695e}
.figure-hint{color:#8b8477}
.generation-demo{margin-top:36px;padding-top:28px;border-top:1px solid #e5e0d6}
.generation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.generation-heading h3{font-family:var(--serif);font-size:24px;font-weight:500;line-height:1.4;margin:0}
.generation-controls{display:flex;gap:8px;flex-shrink:0}
.generation-controls button{padding:6px 13px;border:1px solid #d5ccba;font-size:12px;color:#6c4c35}
.generation-controls button:first-child{background:#f4efe4;min-width:68px}
.generation-controls button:hover{border-color:#947449}
.content-section p.generation-intro{font-size:13px;color:#7a7265;margin-bottom:20px}
.generation-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.generation-panel{min-width:0;padding:18px;border:1px solid #e5e0d6}
.generation-panel h4{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;font-size:17px;font-weight:600;line-height:1.5;margin:0 0 9px}
.generation-panel h4 span{font-size:12px;font-weight:400;color:#7a7265}
.content-section .generation-panel p{font-size:13px;line-height:1.8;min-height:47px;margin-bottom:18px}
.generation-tokens{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:3px}
.generation-token{display:flex;align-items:center;justify-content:center;min-width:0;height:27px;border:1px solid #ece9e3;color:#715b37;font:12px/1 "SFMono-Regular",Consolas,monospace}
.generation-token.is-prefix{background:#e9e1d0;border-color:#bfae8b;color:#54432c;font-weight:600}
.generation-token.is-masked{background:#f3f2ef;border-color:#e2ded5;color:#b0a590;font-size:10px}
.generation-token.is-generated{background:#f0e5cc;border-color:#d5c098}
.generation-token.is-latest{background:#dfc18b;border-color:#a58047}
.generation-token.is-next{border-bottom-color:#a58047}
.generation-counts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:15px;font-size:11px;color:#817664}
.generation-counts strong{font-weight:500;color:#564b39;margin-left:4px;font-variant-numeric:tabular-nums}
.generation-footer{display:flex;align-items:baseline;gap:18px;margin-top:15px;font-size:11px;line-height:1.8;color:#8a8070}
.generation-footer>span:first-child{color:#725436;flex-shrink:0;min-width:48px}
@media(max-width:700px){.generation-heading{align-items:flex-start;flex-direction:column;gap:14px}.generation-comparison{grid-template-columns:1fr;gap:16px}.generation-panel{padding:16px}.content-section .generation-panel p{min-height:0}.generation-tokens{grid-template-columns:repeat(12,minmax(0,1fr))}.generation-heading h3{font-size:22px}.generation-footer{align-items:flex-start;gap:12px}}
.benchmark-table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:24px;text-align:left;font-size:15px;line-height:1.75}
.benchmark-table th,.benchmark-table td{padding:15px 0;border-bottom:1px solid #e5e0d6;vertical-align:top;overflow-wrap:break-word}
.benchmark-table thead th{font-size:13px;font-weight:600;color:#6a6357;border-bottom:1px solid #cfc7b7;padding-top:0;padding-bottom:12px}
.benchmark-table th:first-child{width:36%;padding-right:28px}
.benchmark-table tbody th{font-weight:500;color:#342d25}
.benchmark-table td{color:#625c51}
.content-section p.requirements{font-size:13px;color:#7d7567;margin-bottom:18px}
.code-block{background:#f6f5f2;border:1px solid #e5e0d6;margin:20px 0;min-width:0}
.code-tools{display:flex;justify-content:flex-end;padding:8px 14px 0}
.code-tools button{padding:3px 0;font-size:12px;color:#6d6455}
.code-tools button:hover{color:#85402e}
.code-block pre{overflow:auto;margin:0;padding:6px 20px 22px;line-height:1.9;font-size:13px;color:#38332a;tab-size:4}
.code-block code{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
.resource-list{margin:20px 0 0}
.resource-list>div{display:grid;grid-template-columns:170px 1fr;gap:28px;padding:18px 0;border-bottom:1px solid #e5e0d6}
.resource-list>div:last-child{border-bottom:0;padding-bottom:0}
.resource-list dt{font-size:15px;font-weight:500;line-height:1.75}
.resource-list dd{margin:0;font-size:15px;line-height:1.75;color:#625c51}
.release-status{display:block;font-size:12px;font-weight:400;color:#81786a}
.author-list{display:flex;flex-wrap:wrap;gap:10px 28px;list-style:none;margin:0 0 18px;padding:0;font-size:17px;line-height:1.7;font-weight:500}
.author-list li{white-space:nowrap}
.author-list sup{font-size:.7em}
.content-section p.author-affiliation{max-width:760px;margin-bottom:12px}
.content-section p.author-correspondence{font-size:14px;margin-bottom:0;overflow-wrap:anywhere}
.site-footer{border-top:1px solid #e5e0d6;background:#fbfaf7}
.footer-content{max-width:1060px;margin:auto;padding:28px 40px 34px}
.footer-content p{font-size:13px;line-height:1.8;margin:7px 0;color:#71695c}
.footer-content p.art-credit{font-size:12px;color:#928878}
.footer-separator{padding:0 10px;color:#b0a491}
.figure-dialog{padding:24px;border:1px solid #d8d2c5;background:#fff;color:var(--ink);width:min(1150px,95vw);max-height:94vh}
.figure-dialog::backdrop{background:#27231de6}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.dialog-heading h2{font-size:22px;font-family:var(--serif);font-weight:500;line-height:1.4;margin:0}
.dialog-heading button{font-size:28px;line-height:1;padding:0 5px;color:#85402e}
.figure-dialog img{display:block;width:100%;height:auto}
.figure-dialog p{font-size:13px;color:#6f695e;line-height:1.8;margin:15px 0 0}
body.dialog-open{overflow:hidden}
.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#342d25;color:#fff;font-size:13px;padding:10px 18px;z-index:120;opacity:0;pointer-events:none}
.toast.visible{opacity:1}
html[lang=zh-CN] .content-section h2{font-size:29px;letter-spacing:0}
@media(min-width:1800px){h1{font-size:138px}}
@media(max-width:1080px){.nav-wrap{gap:18px;padding:0 24px}.main-nav{gap:15px}.nav-actions{gap:16px}.content{padding-left:30px;padding-right:30px}.footer-content{padding-left:30px;padding-right:30px}}
@media(max-width:800px){.nav-wrap{height:72px;padding:0 22px;gap:20px}.brand{font-size:26px}.main-nav{gap:15px}.main-nav a{font-size:12px}.nav-model{display:none}.nav-actions{gap:15px}.hero-art{object-position:center bottom}h1{font-size:100px}.content{padding-left:28px;padding-right:28px}.footer-content{padding-left:28px;padding-right:28px}}
@media(max-width:600px){html{scroll-padding-top:30px}.nav-wrap{height:68px;padding:0 20px}.brand{font-size:26px}.nav-actions{margin-left:auto;gap:20px}.menu-button{display:block}.main-nav{display:none;position:absolute;top:67px;left:0;right:0;background:#f3e8ce;border-bottom:1px solid var(--line);padding:16px 24px 22px;box-shadow:0 10px 15px #3027160d}.main-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.main-nav a{padding:10px 0;font-size:15px}.menu-button[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-button[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.hero-art{object-position:53% bottom}.hero-wash{background:linear-gradient(180deg,#f5e6c8cf,#f5e6c8a6 40%,transparent 80%)}.hero-content{padding:clamp(120px,16vh,170px) 22px 0}.hero h1{font-size:87px;letter-spacing:-4px;line-height:1.3}.content{padding:10px 22px 24px}.content-section{padding:36px 0}.content-section h2{font-size:28px;margin-bottom:18px}.content-section p{font-size:15px;line-height:1.85}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;margin-top:24px}.metrics dt{font-size:23px}.metrics dd{font-size:12px}.paper-figure{margin-top:22px}.paper-figure figcaption{font-size:12px}.benchmark-table{font-size:13px;line-height:1.75;margin-top:20px}.benchmark-table th,.benchmark-table td{padding:13px 0}.benchmark-table th:first-child{width:40%;padding-right:16px}.benchmark-table thead th{font-size:12px}.content-section p.requirements{font-size:12px}.code-block pre{font-size:11px;padding:6px 16px 18px}.code-tools{padding-right:16px}.resource-list>div{grid-template-columns:1fr;gap:5px;padding:18px 0}.resource-list dt,.resource-list dd{font-size:14px}.release-status{display:inline;font-size:11px;margin-left:10px}.footer-content{padding:24px 22px 30px}.footer-content p{font-size:12px}.figure-dialog{padding:15px}.dialog-heading h2{font-size:19px}.figure-dialog p{font-size:12px}.toast{font-size:12px;white-space:nowrap}html[lang=zh-CN] .content-section h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
