:root {
  color-scheme: light;
  --ink: #36271f;
  --teal: #703d24;
  --muted: #655247;
  --paper: #f7f0e5;
  --line: #e2d4c6;
  --white: #fffbf4;
  font-family: "Source Sans 3", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--teal); text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #9d632f; outline-offset: 3px; }
.wrap { width: min(960px, calc(100% - 36px)); margin-inline: auto; }
header { background: #3b261e; color: #fffbf4; }
.brand { font-size: 1.05rem; font-weight: 750; letter-spacing: .08em; padding-top: 16px; }
nav { display: flex; flex-wrap: wrap; column-gap: 20px; padding: 7px 0 0; }
nav a { color: #f3e6d9; text-decoration: none; padding: 8px 0 10px; border-bottom: 3px solid transparent; }
nav a[aria-current], nav a:hover { color: white; border-bottom-color: #dfb080; }
.skip { position: absolute; left: 12px; top: -100px; background: white; padding: 8px; }
.skip:focus { top: 8px; }
main { padding: 28px 0 54px; }
h1, h2, h3 { line-height: 1.32; color: #3b261e; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 5px; letter-spacing: -.035em; }
h2 { margin: 34px 0 13px; font-size: 1.45rem; }
h3 { font-size: 1.11rem; margin: 0 0 6px; }
p { margin: .55em 0 1em; }
.lead { color: var(--muted); font-size: 1.11rem; margin-bottom: 23px; }
.cards, .steps, .tiles, .compare { display: grid; gap: 14px; }
.cards, .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three, .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .steps li, .tile, .directory, details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.card { overflow: hidden; }
.card-body, .tile, .directory, details { padding: 13px; }
.card-body h2 { margin: 0 0 .5em; font-size: 1.15rem; }
.card-body h3 a, .tile { text-decoration: none; }
.card-body h3 a:hover, .tile:hover strong { text-decoration: underline; }
.card-body p, .tile span, figcaption, .meta, .crumb, footer { color: var(--muted); }
.card-body small { display: block; line-height: 1.45; color: var(--teal); overflow-wrap: anywhere; }
img, video { display: block; width: 100%; height: auto; object-fit: cover; }
.card img, .media { aspect-ratio: 16 / 9; }
.media { position: relative; overflow: hidden; background: #e9dbcc; border-radius: 10px; }
.card .media { border-radius: 0; }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.steps { list-style-position: inside; padding: 0; }
.steps li { padding: 13px; }
.steps li::marker { color: var(--teal); font-weight: bold; }
.steps p { margin-bottom: 0; }
.tile span { display: block; margin-top: 4px; }
.directory, details { margin: 8px 0; }
.directory h2 { margin: 0; font-size: 1.15rem; }
.directory p, details p { margin-bottom: 0; }
.reading { padding-left: 2em; }
figure { margin: 0 0 20px; }
figure img { border-radius: 8px; max-width: 680px; }
figcaption { margin-top: 6px; font-size: .87rem; }
.card figure { margin: 0; }
.card figure img { border-radius: 0; }
.card figcaption { padding: 0 13px; }
.comic { max-width: 630px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; border: 1px solid var(--line); padding: 9px 12px; }
th { background: #f0e2d1; color: var(--teal); }
.tip { background: #f2e4d2; border-left: 4px solid #98603e; padding: 13px 17px; }
main section { scroll-margin-top: 14px; }
main section h3 { margin-top: 24px; }
summary { cursor: pointer; font-weight: 700; }
footer { padding: 18px 0; border-top: 1px solid var(--line); font-size: .9rem; }
footer a { margin-right: 16px; }
footer p { margin-bottom: 0; }
@media (max-width: 760px) {
  .cards, .steps, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { column-gap: 13px; font-size: .89rem; }
}

.demo { max-width: 640px; }
