:root{
  --paper:#fdfbf7;
  --wash:#f5f5f5;
  --ink:#1a1a1a;
  --line:#e4ded3;
  --soft:#f0ece3;
  --mute:#6f685e;
  --round:"Varela Round","Nunito Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --read:"Nunito Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  --wrap:1100px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--read);
  font-size:1.0625rem;
  line-height:1.78;
  overflow-wrap:break-word;
  word-break:break-word;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:60;
  pointer-events:none;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.62'/%3E%3C/svg%3E");
}

:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
  border-radius:2px;
}

a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:.22em}
img{max-width:100%;height:auto}
h1,h2,h3{font-family:var(--round);font-weight:400;line-height:1.25;letter-spacing:.01em}
p{margin:0 0 1.1em}

.masthead{
  position:sticky;
  top:0;
  z-index:20;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.masthead__row{
  max-width:var(--wrap);
  margin:0 auto;
  padding:12px 20px 4px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  max-width:100%;
  padding:0 2px;
  font-family:var(--round);
  font-size:1.0625rem;
  letter-spacing:.08em;
  text-decoration:none;
}

.brand__mark{display:block;border-radius:4px}

.tabs{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
  overflow:hidden;
}

.tabs__list{
  display:flex;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0 0 2px;
  overflow-x:auto;
  scrollbar-width:none;
}

.tabs__list::-webkit-scrollbar{display:none}

.tab{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  font-size:1rem;
  white-space:nowrap;
  text-decoration:none;
  color:var(--mute);
  border-bottom:2px solid transparent;
}

.tab:hover,
.tab:focus-visible{
  color:var(--ink);
  border-bottom-color:var(--ink);
}

.spread{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
}

.spread > *{min-width:0}

@media (min-width:980px){
  .spread{grid-template-columns:minmax(0,1fr) 216px;column-gap:48px}
}

.sheet{min-width:0;max-width:100%}

.hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  min-height:70vh;
  min-height:70svh;
  padding:80px 0 48px;
  scroll-margin-top:150px;
}

.hero::before{
  content:"01";
  position:absolute;
  right:-.06em;
  bottom:-.16em;
  z-index:0;
  font-family:var(--round);
  font-size:clamp(9rem,26vw,21rem);
  line-height:.78;
  letter-spacing:-.04em;
  color:var(--soft);
  pointer-events:none;
}

.hero__title{
  position:relative;
  z-index:1;
  margin:0;
  max-width:15ch;
  font-size:clamp(2.2rem,6.4vw,3.9rem);
  line-height:1.12;
  text-wrap:balance;
}

article > div{
  padding:52px 0;
  scroll-margin-top:150px;
}

article > div:not(.hero){
  border-top:1px solid var(--line);
}

.hero{border-top:0}

.sheet h2{
  margin:0 0 18px;
  font-size:clamp(1.45rem,3.6vw,2rem);
}

.sheet h2 > span{box-shadow:inset 0 -.4em 0 var(--soft)}
.sheet h3{margin:28px 0 10px;font-size:1.2rem}
.sheet p{max-width:66ch}
.sheet ul,
.sheet ol{padding-left:1.3em}
.sheet li{margin:.4em 0}
.sheet blockquote{
  margin:24px 0;
  padding:2px 0 2px 18px;
  border-left:3px solid var(--ink);
  color:var(--mute);
}

.sheet img,
.sheet svg,
.sheet video,
.sheet iframe{
  max-width:100%;
  height:auto;
}

.sheet img{border-radius:4px;margin:18px 0}

.sheet figure{max-width:100%;margin:18px 0}
.sheet figcaption{font-size:.95rem;color:var(--mute)}

.sheet table{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  margin:20px 0;
  font-size:1rem;
  -webkit-overflow-scrolling:touch;
}

.sheet table th,
.sheet table td{
  padding:9px 12px;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

.sheet table th{background:var(--wash);font-weight:600}

.sheet pre{
  max-width:100%;
  overflow-x:auto;
  margin:20px 0;
  padding:14px 16px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:4px;
  font-size:.95rem;
  line-height:1.6;
  -webkit-overflow-scrolling:touch;
}

.sheet pre code{white-space:pre;overflow-wrap:normal;word-break:normal}
.sheet code{overflow-wrap:break-word}

.sheet hr{border:0;border-top:1px solid var(--line);margin:28px 0}

.rail{
  align-self:start;
  margin-top:8px;
  padding:26px 0 40px;
  border-top:1px solid var(--line);
  min-width:0;
}

@media (min-width:980px){
  .rail{
    position:sticky;
    top:150px;
    margin-top:0;
    padding:56px 0 0;
    border-top:0;
  }
}

.rail__head{
  margin:0 0 12px;
  font-size:.98rem;
  letter-spacing:.18em;
  color:var(--mute);
}

.rail__list{list-style:none;margin:0;padding:0}

.rail__list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 0;
  font-size:1rem;
  text-decoration:none;
  border-bottom:1px solid var(--wash);
}

.rail__list a:hover{padding-left:6px}

.foot{
  margin-top:72px;
  padding:64px 20px 28px;
  border-top:1px solid var(--line);
  background:var(--wash);
}

.foot__cta{
  max-width:var(--wrap);
  margin:0 auto 44px;
  padding-bottom:36px;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.foot__brand{
  margin:0;
  max-width:100%;
  font-size:clamp(1.9rem,5.4vw,3.2rem);
  line-height:1.15;
  letter-spacing:.02em;
}

.foot__jump{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0 26px;
  border:1px solid var(--ink);
  border-radius:4px;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 2px 0 rgba(26,26,26,.12);
}

.foot__jump:hover{background:var(--ink);color:var(--paper)}

.foot__cols{
  max-width:var(--wrap);
  margin:0 auto;
  display:grid;
  gap:32px;
}

@media (min-width:720px){
  .foot__cols{grid-template-columns:1.4fr 1fr 1fr}
}

.foot__addr{
  font-style:normal;
  line-height:1.9;
  color:var(--mute);
  overflow-wrap:anywhere;
}

.foot__links{list-style:none;margin:0;padding:0}
.foot__links a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  font-size:1rem;
  text-decoration:none;
}
.foot__links a:hover{text-decoration:underline}

.foot__base{
  max-width:var(--wrap);
  margin:40px auto 0;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  font-size:.95rem;
  color:var(--mute);
}

.foot__to{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
}

.js article > div{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .22s ease-out,transform .22s ease-out;
}

.js article > div.in{
  opacity:1;
  transform:none;
}

.js .rail__list li{
  opacity:0;
  transform:translateY(8px);
  transition:opacity .2s ease-out,transform .2s ease-out;
}

.js .rail.in li{opacity:1;transform:none}
.js .rail.in li:nth-child(2){transition-delay:.04s}
.js .rail.in li:nth-child(3){transition-delay:.08s}
.js .rail.in li:nth-child(4){transition-delay:.12s}
.js .rail.in li:nth-child(5){transition-delay:.16s}
.js .rail.in li:nth-child(6){transition-delay:.2s}
.js .rail.in li:nth-child(7){transition-delay:.24s}

@media (max-width:600px){
  body{font-size:1rem}
  .masthead__row{padding:8px 16px 0}
  .tabs{padding:0 16px}
  .spread{padding:0 16px}
  .foot{padding:48px 16px 24px}
  .hero{min-height:56vh;min-height:56svh;padding:56px 0 40px}
  .hero__title{max-width:100%}
  article > div{padding:40px 0;scroll-margin-top:150px}
  .sheet table{margin-left:0;margin-right:0}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js article > div,
  .js .rail__list li{
    opacity:1;
    transform:none;
    transition:none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
