:root {
  color-scheme: light;
  --ink: #171718;
  --paper: #faf9f7;
  --muted: #535357;
  --line: #cfcdca;
  --red: #be0011;
  --gutter: clamp(1.15rem, 5.5vw, 5.5rem);
  font-family: "Source Sans 3", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body { line-height: 1.7; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #1657c4; outline-offset: 3px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 83rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { left: 1rem; top: .5rem; transform: none; }
.masthead, footer { background: #101011; color: white; }
.head-inner, .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.head-inner { min-height: 4.5rem; }
.brand img { display: block; width: clamp(7.5rem, 14vw, 11rem); height: auto; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
.masthead a, footer a { text-decoration: none; }
.masthead nav a, footer a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .95rem; }
.masthead nav a:hover, footer a:hover { text-decoration: underline; }
.cover {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--ink);
}
.cover-text { max-width: 36rem; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.65rem); letter-spacing: -.065em; line-height: 1.18; }
h1::before { content: ""; display: block; width: 2.5rem; height: .3rem; margin-bottom: 1.1rem; background: var(--red); transform: skew(-25deg); }
.cover p { margin-top: 1rem; font-size: clamp(1rem, 1.35vw, 1.19rem); line-height: 1.9; }
.cover img { display: block; width: 100%; height: auto; }
figcaption { margin-top: .35rem; font-size: .8125rem; color: var(--muted); text-align: right; }
.guide-body {
  display: grid;
  grid-template-columns: minmax(10rem, .63fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.contents { position: sticky; top: 1.25rem; }
.contents h2 { font-size: .9375rem; color: var(--muted); font-weight: 600; }
.contents ul { list-style: none; margin: .65rem 0 0; padding: 0; border-left: 2px solid var(--line); }
.contents a { display: block; width: fit-content; padding: .55rem 1rem; font-weight: 600; text-decoration: none; }
.contents a:hover { color: var(--red); text-decoration: underline; }
.article { max-width: 49rem; }
.article section { scroll-margin-block-start: 1rem; padding-block: clamp(2.25rem, 4.4vw, 4rem); border-top: 1px solid var(--line); }
.article section:first-child { padding-block-start: 0; border: 0; }
.article section:last-child { padding-block-end: 0; }
.article h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.26; letter-spacing: -.04em; }
.article p { margin-top: .85rem; color: var(--muted); }
.article ul { margin: 1.25rem 0 .65rem; padding-left: 1.3rem; }
.article li + li { margin-top: .55rem; }
.article li::marker { color: var(--red); }
.topic-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .3rem; color: var(--red); font-weight: 700; }
.article dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .9rem 1.3rem; margin-top: 1.3rem; }
dt { font-weight: 700; }
dd { color: var(--muted); }
.comparison { background: #f1efec; padding-inline: clamp(1.25rem, 3vw, 2rem); }
.final-action { display: inline-flex; align-items: center; min-height: 2.85rem; margin-top: 1.6rem; padding: .55rem 1.15rem; color: white; background: var(--red); font-weight: 700; text-decoration: none; }
.final-action:hover { background: #91000d; }
.foot-inner { min-height: 4.25rem; }
@media (max-width: 720px) {
  .head-inner { min-height: 3.75rem; }
  .cover { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 2rem 1.5rem; }
  .guide-body { grid-template-columns: 1fr; gap: 2.1rem; padding-top: 1.25rem; }
  .contents { position: static; }
  .contents ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; border: 0; }
  .contents li { border-bottom: 1px solid var(--line); }
  .contents a { width: 100%; padding: .6rem 0; }
  .article dl { grid-template-columns: 1fr; gap: .15rem; }
  .article dd + dt { margin-top: .55rem; }
}
@media print {
  :root { background: white; color: black; }
  .wrap { width: 100%; }
  .masthead, footer, .contents, .topic-link, .final-action, .skip { display: none; }
  .guide-body { display: block; }
  .article { max-width: none; }
  h1, h2, dt { break-after: avoid; }
}
