@font-face {
  font-family: Bricolage;
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-style: normal; font-weight: 200 800; font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #132340; --quiet: #495970; --blue: #123dc6; --line: #cdd6e4;
  --paper: #f6f8fd; --display: Bricolage, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: .08em; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #c44d07; outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(91%, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: -5rem; padding: .65rem 1rem; background: white; }
.skip:focus { top: .5rem; }
header { border-bottom: 1px solid var(--line); background: #fff; }
.nav-wrap,.menu,.brand,.foot,.foot nav,.actions { display: flex; align-items: center; }
.nav-wrap { justify-content: space-between; min-height: 4.75rem; gap: 1rem; }
.brand { gap: .65rem; color: var(--ink); font: 800 1.5rem/1 var(--display); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: .66rem; display: block; }
.menu { gap: clamp(.85rem,2.8vw,2.3rem); flex-wrap: wrap; }
.menu a,.foot a { color: var(--quiet); font-weight: 600; font-size: .95rem; text-decoration: none; }
.menu a:hover,.foot a:hover { color: var(--blue); text-decoration: underline; }
.menu a[aria-current] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.menu a.language { font-size: .875rem; padding: .25rem .7rem; border: 1px solid var(--line); border-radius: 1rem; }
h1,h2,h3,.button,.contact>a { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem,5.8vw,5.5rem); line-height: 1; letter-spacing: -.065em; }
h2 { font-size: clamp(2rem,3.8vw,3.45rem); line-height: 1.1; letter-spacing: -.05em; }
h3 { font-size: clamp(1.55rem,2.5vw,2.1rem); line-height: 1.15; letter-spacing: -.035em; }
p { margin: 0 0 1rem; }
.overline { color: var(--blue); font: 750 .875rem/1.5 var(--display); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .9rem; }
.hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.2fr); gap: clamp(1.5rem,4vw,4rem); align-items: center; padding: clamp(3rem,6.4vw,6rem) 0; }
.hero-copy h1 { font-size: clamp(3.25rem,6.8vw,6.3rem); }
.title-dot { color: #d66312; }
.lead { font-size: clamp(1.03rem,1.7vw,1.27rem); line-height: 1.55; max-width: 35rem; color: var(--quiet); margin: 1.2rem 0 1.75rem; }
.actions { flex-wrap: wrap; gap: 1.3rem; }
.button { display: inline-block; background: var(--blue); color: white; padding: .72rem 1.2rem; border-radius: .65rem; text-decoration: none; }
.button:hover { background: #0d2f98; text-decoration: none; }
.text-link { font-weight: 680; }
.hero-art { margin: 0; padding: .42rem; background: white; border: 1px solid var(--line); border-radius: 1.45rem; box-shadow: 0 1rem 2.4rem -1rem #182d6c45; transform: rotate(-1.5deg); }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 1.05rem; }
.section { padding: clamp(2.5rem,5vw,4.6rem) 0; border-top: 1px solid var(--line); }
.section .overline { margin-bottom: .45rem; }
.modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin-top: 1.8rem; }
.mode { border: 1px solid var(--line); background: white; border-radius: 1.15rem; overflow: hidden; }
.mode-art { height: clamp(12rem,22vw,17rem); overflow: hidden; display: grid; place-items: center; }
.table-art { background: #e1e9fa; }
.table-art img { width: 70%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.jar-art { background: #f6e1ee; }
.jar-art img { width: 75%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.mode-copy { padding: 1.3rem clamp(1rem,2.5vw,2rem) 1.55rem; }
.mode-copy p { color: var(--quiet); margin: .55rem 0 0; }
.developer { display: grid; grid-template-columns: minmax(13rem,.65fr) 1.35fr; gap: 2.2rem; padding: 2.25rem clamp(1.4rem,4vw,3.6rem); margin: 0 0 3.5rem; background: #dfebff; border-radius: 1.15rem; }
.developer .overline { margin-bottom: .35rem; }
.article-grid { display: grid; grid-template-columns: 13rem minmax(0,47rem); gap: clamp(2.5rem,6vw,6rem); padding: clamp(2.5rem,6vw,5.1rem) 0 5rem; justify-content: center; }
.toc nav { border-left: 2px solid var(--line); padding-left: 1.25rem; position: sticky; top: 2rem; }
.toc a { display: block; color: var(--quiet); line-height: 1.4; padding-block: .36rem; text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.prose { min-width: 0; }
.prose h1 { font-size: clamp(2.8rem,5.8vw,4.8rem); margin: 0 0 1rem; }
.prose .policy-date { color: var(--quiet); margin-bottom: 1.8rem; font-size: .95rem; }
.prose h2 { font-size: clamp(1.45rem,3vw,2.1rem); margin: 2rem 0 .85rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.prose p { line-height: 1.72; }
.prose code { overflow-wrap: anywhere; font-size: .94em; }
.intro { font-size: 1.17rem; color: var(--quiet); }
.contact { border-radius: 1rem; background: #dfebff; padding: 1.4rem clamp(1rem,2vw,1.8rem); margin: 1.5rem 0; }
.contact .overline { margin: 0; }
.contact>a { font-size: clamp(1.35rem,3.5vw,2.25rem); letter-spacing: -.035em; }
footer { border-top: 1px solid var(--line); background: #fff; }
.foot { min-height: 5.25rem; justify-content: space-between; color: var(--quiet); padding-block: 1rem; gap: 1rem; }
.foot nav { flex-wrap: wrap; gap: 1.2rem; }
:lang(zh-Hans) h2,:lang(zh-Hans) h3 { letter-spacing: -.025em; }
@media(max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 1.7rem; }
  .hero-art { transform: none; max-width: 38rem; }
  .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc { display: none; }
  .nav-wrap { min-height: 4.2rem; }
  .developer { grid-template-columns: 1fr; gap: .8rem; }
}
@media(max-width: 35rem) {
  .nav-wrap { flex-wrap: wrap; gap: .7rem; padding-block: .85rem; }
  .menu { flex: 1 1 100%; gap: 1rem; }
  .menu a.language { margin-left: auto; }
  .modes { grid-template-columns: 1fr; }
  .mode-art { height: 13rem; }
  .foot { align-items: start; flex-direction: column; }
}
@media(prefers-reduced-motion: no-preference) { .button { transition: background .15s ease; } }
