/* Shared navigation: fixed bar with a mobile disclosure. */
:root{--site-nav-height:5rem}
html{scroll-padding-top:var(--site-nav-height)}
body{padding-top:var(--site-nav-height)}
body>.wrap{min-height:calc(100svh - var(--site-nav-height))}
.site-header{position:fixed;inset:0 0 auto;z-index:100;width:100%;max-width:none;height:var(--site-nav-height);min-height:0;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:16px max(var(--page,32px),calc((100% - 1376px)/2));flex-wrap:nowrap;background:#101010;line-height:1.5}
.chapter-nav{top:calc(var(--site-nav-height) + 24px)}
.rail{top:var(--site-nav-height)}
.skip{z-index:110}
.site-brand{display:inline-flex;align-items:center;min-height:44px;flex:none}
.site-brand img{display:block;width:142px;height:auto}
.site-nav{display:flex;gap:32px;align-items:center;font-size:0.9375rem;width:auto;order:initial}
.site-nav a{display:flex;align-items:center;min-height:44px;color:#c1b8aa;text-decoration:none;white-space:nowrap}
.site-nav a:hover,.site-nav a[aria-current=page]{color:#ffe3b0}
.site-nav a[aria-current=page]{text-decoration:none;font-weight:600}
.site-nav a:active,.site-brand:active{transform:scale(.97)}
.site-nav a:focus-visible,.site-brand:focus-visible,.site-menu-toggle:focus-visible,.policy-home:focus-visible{outline:3px solid #ffe3b0;outline-offset:4px}
.site-menu-toggle{display:none;align-items:center;justify-content:center;gap:12px;border:0;background:transparent;color:#ffe3b0;min-width:88px;min-height:48px;padding:10px 0 10px 12px;font:inherit;font-size:0.9375rem;cursor:pointer}
.menu-icon{position:relative;display:block;width:22px;height:18px;flex:none}
.menu-icon::before,.menu-icon::after{content:'';position:absolute;left:0;width:22px;height:2px;background:currentColor;transition:transform .2s ease;transform-origin:center}
.menu-icon::before{top:5px}.menu-icon::after{top:12px}
.site-menu-toggle[aria-expanded=true] .menu-icon::before{transform:translateY(3.5px) rotate(45deg)}
.site-menu-toggle[aria-expanded=true] .menu-icon::after{transform:translateY(-3.5px) rotate(-45deg)}
.policy-home{display:inline-flex;align-items:center;min-height:44px;margin-bottom:20px;color:inherit;text-decoration:none;font-size:1rem}
.policy-home:hover{text-decoration:underline}.policy-home+.language-switch{float:right}.policy-home:active{transform:scale(.97)}
.site-footer{position:relative;z-index:1;display:block;width:100%;flex:none;margin:0;border:0;background:#101010;color:#f3e8d7;padding:1.875rem 1.25rem 1.625rem;text-align:center}
.footer-inner{width:100%;max-width:82.5rem;margin-inline:auto}
.footer-brand{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;text-decoration:none}
.footer-brand img{display:block;width:8.5rem;height:auto;max-width:100%}
.site-footer .footer-legal{display:block;margin-top:.875rem;font-size:.8125rem;line-height:1.6;letter-spacing:.01em;text-align:center;color:inherit}
.site-footer a:hover{color:inherit;opacity:.85}
@media(max-width:800px){
 :root{--site-nav-height:4.5rem}
 .site-header{padding:12px 20px;gap:16px;flex-wrap:wrap}
 .site-brand img{width:125px}.site-menu-toggle:not([hidden]){display:inline-flex}
 .site-nav{width:100%;flex-direction:column;align-items:stretch;gap:0;font-size:1.125rem;order:2}
 .site-nav a{min-height:54px;white-space:normal}
 .site-header[data-menu-ready=true] .site-nav{display:none;position:absolute;inset:100% 0 auto;background:#ffe3b0;color:#242424;padding:12px 20px 18px;box-shadow:0 12px 20px #0002} /* taste-skill-ignore: shadow belongs to the open navigation overlay */
 .site-header[data-menu-ready=true][data-menu-open=true] .site-nav{display:flex;animation:menu-enter .18s ease-out}
 .site-header[data-menu-ready=true] .site-nav a{min-height:56px;padding:12px 14px;color:#242424;justify-content:space-between;font-size:1.125rem;line-height:1.4}
 .site-header[data-menu-ready=true] .site-nav a::after{content:'↗';font-size:1.25rem}
 .site-header[data-menu-ready=true] .site-nav a:hover,.site-header[data-menu-ready=true] .site-nav a[aria-current=page]{background:#f4d39e}
 .site-header[data-menu-ready=true] .site-nav a:focus-visible{outline-color:#242424;outline-offset:-3px}
 .policy-home+.language-switch{float:none}.policy-home{margin-bottom:16px}
}
@media(max-width:760px){.rail{top:auto}}
@media print{.site-header{display:none}body{padding-top:0}}
@keyframes menu-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.menu-icon::before,.menu-icon::after{transition:none}.site-header[data-menu-open=true] .site-nav{animation:none}}

/* Shared reading, touch, and type rules. Page colors remain brand colors. */
html{font-size:100%;-webkit-text-size-adjust:100%;font-optical-sizing:auto}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:1.0625rem;line-height:1.7;font-kerning:normal}
h1,h2,h3{font-optical-sizing:auto}
p,li,dd{letter-spacing:0}
img{max-width:100%;height:auto}
button,input,summary,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button,input{font:inherit}
button,.button,.download,.submit,.close{min-height:2.75rem}
button:active,.button:active,.download:active{opacity:.82;transition:opacity 80ms ease-out}
.site-menu-toggle{font-weight:500}
.download-page,.tracking-page,.error-page-body{display:flex;flex-direction:column;min-height:100svh}
.download-page>.wrap,.tracking-page>.wrap{min-height:0;flex:1}
.error-page-body>main{flex:1}
.download-page .platform p{font-size:1rem;line-height:1.65}
.download-page .testing-note{font-size:.875rem;line-height:1.6}
.download-page .download{font-size:1rem;min-height:3rem}
.download-page .download-help{text-align:center;margin:-2rem 0 3.5rem}
.download-page .download-help button{padding:.625rem 1rem;min-height:2.75rem;border:0;background:transparent;color:#f3e8d7;text-decoration:underline;text-underline-offset:.3em;font-size:1rem}
.download-page .close{width:2.75rem;min-width:2.75rem;height:2.75rem}
.download-page .guide p{font-size:1rem;line-height:1.7}
.download-page .guide .notice{font-size:.875rem}
.tracking-page label,.tracking-page .intro{font-size:1rem}
.tracking-page .message,.tracking-page .result-note{font-size:.875rem;line-height:1.7}
.privacy-page main>section,.privacy-page main>.hero{max-width:50rem}
.privacy-page .rail::before{display:none}
.privacy-page .rail .desktop-toc a{font-size:.875rem;min-height:2.75rem;line-height:1.5}
.privacy-page h1{font-size:clamp(2.25rem,4vw,3rem);letter-spacing:-.025em;line-height:1.2}
.privacy-page h1 span{letter-spacing:-.02em}
.privacy-page h2{font-size:1.625rem;line-height:1.35;letter-spacing:-.02em}
.privacy-page h3{font-size:1.125rem;line-height:1.5;letter-spacing:-.01em}
.privacy-page section,.privacy-page .intro,.privacy-page .data-list p,.privacy-page dd,.privacy-page .provider-list article>p:not(.provider-name),.privacy-page .notice{font-size:1rem;line-height:1.8}
.privacy-page .lead{font-size:1.375rem;line-height:1.55}
.privacy-page .data-list h3,.privacy-page dt{font-size:1rem}
.privacy-page .document-meta,.privacy-page .keynote,.privacy-page .keynote strong,.privacy-page .provider-name,.privacy-page .provider-list a,.privacy-page .contact-label,.privacy-page .contact-block>p:last-child,.privacy-page .contact-block small{font-size:.875rem;line-height:1.65}
.privacy-page .mobile-toc{font-size:1rem}
.privacy-page .mobile-toc a{min-height:2.75rem;display:flex;align-items:center}
.privacy-page .language-switch a{min-height:2.75rem;font-size:.875rem}
.privacy-page .contact-button{font-size:1rem;line-height:1.5}
@media(max-width:800px){.site-footer{padding-bottom:1.5rem}}
@media(max-width:760px){
 .download-page .platform{grid-template-columns:2rem minmax(0,1fr);column-gap:1rem;row-gap:1rem;padding-block:1.75rem}
 .download-page .platform h2{font-size:1.5rem;line-height:1.25}
 .download-page .platform>.download,.download-page .download-options{grid-column:1/-1;width:100%}
 .download-page .download-options{gap:.75rem}
 .download-page .download-help{margin-top:-1rem;margin-bottom:2.5rem}
 .privacy-page .document-meta{flex-wrap:wrap;gap:.5rem 1rem}
 .privacy-page h2{font-size:1.5rem}
 .privacy-page .section-heading{align-items:baseline}
 .privacy-page .section-heading>span{font-size:.75rem;flex:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a,button,input,summary,.reveal-in{animation:none!important;transition:none!important}a:active,button:active{transform:none}}
@media(prefers-contrast:more){.site-nav a,.privacy-page .desktop-toc a,.download-page .testing-note,.download-page .platform p{color:#f3e8d7}}

.privacy-page .policy-tools{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-bottom:1.5rem}
.privacy-page .policy-tools .policy-home,.privacy-page .policy-tools .language-switch{float:none;margin:0}
@media(max-width:760px){.privacy-page .rail{display:none}}
