:root {
  --ink: #192631;
  --body: #354551;
  --muted: #516371;
  --paper: #fafafa;
  --white: #fff;
  --navy: #142c41;
  --deep: #20394e;
  --blue: #28587e;
  --link: #24588a;
  --ice: #edf4fa;
  --sand: #f4ebdf;
  --line: #d7e1e9;
  --wide: 1160px;
  --gutter: clamp(20px, 4.7vw, 60px);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  --serif: "SourceHanSerif-CN", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --mono: "JetBrainsMono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.guide-scope, .guide-scope *, .guide-scope *::before, .guide-scope *::after { box-sizing: border-box; }
.page_guide { scroll-padding-top: 94px; }
.guide-scope {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.guide-scope,
.guide-scope h1,
.guide-scope h2,
.guide-scope h3,
.guide-scope p,
.guide-scope figure,
.guide-scope ul,
.guide-scope ol { margin: 0; }
.guide-scope h1,
.guide-scope h2 { font-family: var(--serif); line-height: 1.26; letter-spacing: .01em; text-wrap: balance; }
.guide-scope h1 { font-size: clamp(30px, 4.1vw, 54px); font-weight: 750; }
.guide-scope h2 { font-size: clamp(24px, 2.7vw, 33px); font-weight: 700; }
.guide-scope h3 { font-size: 18.5px; line-height: 1.45; color: var(--ink); }
.guide-scope p { color: var(--body); text-wrap: pretty; }
.guide-scope p + p { margin-top: .82em; }
.guide-scope a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(36, 88, 138, .38);
  text-decoration-color: color-mix(in srgb, var(--link) 42%, transparent);
  text-underline-offset: .24em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
.guide-scope a:visited { color: var(--link); }
.guide-scope a:hover {
  color: var(--guide-primary, #16344f);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}
.guide-scope :where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--guide-accent, #386ca4); outline-offset: 4px; }
.guide-scope img { display: block; max-width: 100%; height: auto; }
.guide-scope.wrap,
.guide-scope .wrap { width: min(var(--wide), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.guide-scope .kicker { margin-bottom: 14px; color: #ecdac0; font-size: 14px; font-weight: 650; }
.guide-scope .lead { margin-top: 20px; color: #e9f1f8; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.75; }
.guide-scope .hero { color: var(--white); background: linear-gradient(to bottom, var(--navy) 0, var(--navy) calc(100% - 46px), var(--paper) calc(100% - 46px)); padding: 44px 0 0; }
.guide-scope .hero-panel { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); background: var(--blue); border-radius: 0 0 78px 0; overflow: hidden; min-height: 420px; }
.guide-scope .hero-copy { align-self: center; padding: clamp(26px, 4.4vw, 58px); }
.guide-scope .hero-copy h1 { max-width: 11em; }
.guide-scope .title-part { display: inline-block; }
.guide-scope .hero-image { position: relative; background: #688393; min-height: 280px; }
.guide-scope .hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.guide-scope .hero .lead a,
.guide-scope .hero .lead a:visited { color: #fff; }
.guide-scope .hero .lead a:hover { color: #fff; text-decoration-thickness: 2px; }
.guide-scope .hero-text { padding: 58px 0 66px; background: var(--navy); }
.guide-scope .hero-text h1 { max-width: 19em; }
.guide-scope .hero-text .lead { max-width: 38em; }
.guide-scope .hero-media { background: var(--navy); padding: 40px 0 48px; }
.guide-scope .hero-media .hero-panel { background: transparent; border-radius: 0; min-height: 0; gap: 32px; }
.guide-scope .hero-media .hero-copy { padding-inline: 0; }
.guide-scope .hero-media .media { align-self: center; background: var(--ice); border-radius: 36px 0 0 0; padding: 20px; }
.guide-scope .hero-media .media figcaption { color: var(--muted); }
.guide-scope .guide-grid { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: clamp(32px, 5.7vw, 76px); padding-top: 58px; margin-bottom: 84px; align-items: start; }
.guide-scope .guide-body { min-width: 0; }
.guide-scope .guide-body > * + * { margin-top: 66px; }
.guide-scope .guide-body > .callout + .callout { margin-top: 16px; }
.guide-scope .toc { position: sticky; top: 24px; padding: 18px 18px 20px; background: #eef2f5; border-radius: 0 28px 0 0; font-size: 14px; }
.guide-scope .toc h2 { font: 650 15px/1.4 var(--sans); margin-bottom: 10px; }
.guide-scope .toc ul { list-style: none; padding: 0; }
.guide-scope .toc li a { display: block; padding: 6px 0; color: var(--body); text-decoration: none; }
.guide-scope .toc li a:visited { color: var(--body); }
.guide-scope .toc li a:hover { color: var(--link); text-decoration: underline; }
.guide-scope .block h2 { margin-bottom: 22px; }
.guide-scope .block-intro { padding: 27px 30px; border-top: 3px solid var(--guide-accent, #537fa7); border-radius: 0 0 36px 0; background: var(--ice); }
.guide-scope .block-intro h2 { font-size: 26px; margin-bottom: 14px; }
.guide-scope .block-intro .media { margin-top: 24px; }
.guide-scope .block-intro .media-frame { background: transparent; border: 0; }
.guide-scope .split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 28px; }
.guide-scope .split-copy { min-width: 0; }
.guide-scope .text-figure { margin-top: 20px; }
.guide-scope .media { min-width: 0; }
.guide-scope .media-frame { display: block; border: 1px solid var(--line); background: #f0f4f6; border-radius: 4px; }
.guide-scope .media-frame img { width: 100%; object-fit: contain; }
.guide-scope .media-screenshot .media-frame { padding: 8px; background: #edf2f4; }
.guide-scope .media-photo .media-frame { border: 0; overflow: hidden; border-radius: 0 0 36px 0; }
.guide-scope .media-photo img { aspect-ratio: 3/2; object-fit: cover; }
.guide-scope .media-photo[data-aspect="4:3"] img { aspect-ratio: 4/3; }
.guide-scope .media-photo[data-aspect="1:1"] img { aspect-ratio: 1; }
.guide-scope .media-diagram .media-frame { padding: 12px; background: #f0f5f7; }
.guide-scope .media-illustration .media-frame { background: #eef4f1; }
.guide-scope .media figcaption,
.guide-scope .group-caption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.guide-scope .media figcaption a { color: var(--muted); text-decoration-color: rgba(81, 99, 113, .38); }
.guide-scope .media figcaption a:visited { color: var(--muted); }
.guide-scope .media figcaption a:hover { color: var(--guide-primary, var(--link)); text-decoration-color: currentColor; }
.guide-scope .media-pending { border: 1px dashed #7890a1; background: #eff4f8; border-radius: 4px; padding: 18px 20px; }
.guide-scope .media-pending p { margin-top: 4px; font-size: 14px; }
.guide-scope .steps { list-style: none; counter-reset: step; padding: 0; }
.guide-scope .steps > li { counter-increment: step; padding: 22px 0; border-top: 1px solid var(--line); }
.guide-scope .steps > li:last-child { border-bottom: 1px solid var(--line); }
.guide-scope .step-copy { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; }
.guide-scope .step-copy::before { content: counter(step, decimal-leading-zero); color: var(--link); font: 700 15px/1.55 var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "zero" 0; }
.guide-scope .step-copy p,
.guide-scope .timeline p:last-child,
.guide-scope .feature p { margin-top: 7px; }
.guide-scope .steps-illustrated > li:has(.media) { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: clamp(22px, 3vw, 34px); }
.guide-scope .steps-overview { margin-bottom: 32px; }
.guide-scope .template-hint { display: none; margin: -10px 0 12px; font-size: 13px; color: var(--muted); }
.guide-scope .template-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-scope .template-grid:has(> li:nth-child(2):last-child),
.guide-scope .template-grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-scope .template-grid:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.guide-scope .template-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--white); border: 1px solid #d5dfe7; border-radius: 8px; transition: border-color .2s ease; }
.guide-scope .template-card:hover { border-color: #7ea0bc; }
.guide-scope .template-grid > li:only-child { grid-template-columns: minmax(210px, .78fr) minmax(0, 1fr); grid-template-rows: 1fr; }
.guide-scope .template-grid > li:only-child:not(:has(.template-media)) { grid-template-columns: 1fr; }
.guide-scope .template-media { position: relative; overflow: hidden; aspect-ratio: 2 / 1; container-type: size; background: #edf2f5; border-bottom: 1px solid #e3ebf0; }
.guide-scope .template-grid > li:only-child .template-media { border-bottom: 0; border-inline-end: 1px solid #e3ebf0; }
.guide-scope .template-cover { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .2s ease; }
.guide-scope .template-preview { position: absolute; left: 0; top: 0; width: 100%; height: auto; min-height: 100%; opacity: 0; pointer-events: none; transform: translateY(0); transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .guide-scope .template-card:is(:hover, :focus-within) .template-media[data-preview] .template-cover { opacity: 0; }
  .guide-scope .template-card:is(:hover, :focus-within) .template-preview { opacity: 1; animation: template-preview-scroll 6.5s ease-in-out forwards; }
}
@keyframes template-preview-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(min(0px, calc(100cqh - 100%))); }
}
.guide-scope .template-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 15px 16px 16px; min-width: 0; }
.guide-scope .template-copy h3 { font-size: 16.5px; line-height: 1.4; font-weight: 650; color: var(--ink); }
.guide-scope .template-copy p { font-size: 13.5px; line-height: 1.62; color: var(--muted); margin-top: 0; }
.guide-scope .template-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; padding-top: 8px; font-size: 13px; }
.guide-scope .template-use {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  background: var(--guide-accent, var(--blue));
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 650;
  border-radius: 4px;
}
.guide-scope .template-use:visited { color: #fff; }
.guide-scope .template-use:hover {
  background: var(--guide-primary, var(--navy));
  color: #fff;
  text-decoration: none;
}
.guide-scope .checks { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.guide-scope .checks > li { position: relative; padding: 14px 8px 14px 28px; border-bottom: 1px solid var(--line); color: var(--body); line-height: 1.68; }
.guide-scope .checks > li::before { content: ""; position: absolute; width: 9px; height: 5px; border: solid var(--guide-accent, #396859); border-width: 0 0 2px 2px; transform: rotate(-45deg); left: 4px; top: 22px; }
.guide-scope .checks.columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(24px, 3.2vw, 36px); border-top: 0; }
.guide-scope .checks.columns > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.guide-scope .features,
.guide-scope .related { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0,1fr)); gap: 16px; }
.guide-scope .feature { padding: 16px 0; border-top: 2px solid #8fa6b9; overflow-wrap: anywhere; }
.guide-scope .feature p,
.guide-scope .related p { font-size: 15px; }
.guide-scope .feature .media { margin-bottom: 14px; }
.guide-scope .features-tint { background: var(--sand); padding: 32px 28px; border-radius: 0 0 36px 0; }
.guide-scope .features-tint .feature { border-color: #bb9d7a; }
.guide-scope .features-tint h2 { font-size: clamp(25px, 2.8vw, 32px); }
.guide-scope .block:has(.table-scroll) { container-type: inline-size; }
.guide-scope .table-scroll { overflow-x: auto; border-top: 2px solid var(--guide-accent, #6d8bab); border-bottom: 1px solid var(--line); }
.guide-scope table { width: 100%; border-collapse: collapse; color: var(--body); font-size: 15px; }
.guide-scope table.wide { min-width: 560px; }
.guide-scope table caption { text-align: left; caption-side: bottom; padding: 8px 0; font-size: 13px; color: var(--muted); }
.guide-scope th,
.guide-scope td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide-scope thead th { color: var(--navy); background: var(--guide-surface, #e8f0f7); }
.guide-scope tbody th { color: var(--ink); font-weight: 600; }
.guide-scope tbody tr:nth-child(even) { background: #f0f4f7; }
.guide-scope .compare tbody th { background: #eaf0f5; }
.guide-scope .table-hint { display: none; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.guide-scope .timeline { list-style: none; margin-left: 7px; padding: 0; }
.guide-scope .timeline > li { position: relative; border-left: 1px solid #8ea7bb; padding: 0 0 25px 24px; }
.guide-scope .timeline > li:last-child { padding-bottom: 0; border-color: transparent; }
.guide-scope .timeline > li::before { content: ""; position: absolute; top: 8px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: #386083; }
.guide-scope .when { color: var(--link); font-size: 14px; font-weight: 650; }
.guide-scope .callout { --callout-line: var(--guide-accent, #3e6a9c); --callout-ink: var(--guide-primary, #244d7c); background: var(--ice); border-inline-start: 3px solid var(--callout-line); border-radius: 0 0 24px 0; padding: 19px 24px; }
.guide-scope .callout h2 { margin: 0 0 7px; font: 700 19px/1.4 var(--sans); }
.guide-scope .callout .tone { margin-bottom: 4px; color: var(--callout-ink); font-size: 13px; font-weight: 700; }
.guide-scope .callout.tip { background: #eaf3ed; --callout-line: #397255; --callout-ink: #285a41; }
.guide-scope .callout.warning { background: #fbefe1; --callout-line: #a76225; --callout-ink: #794313; }
.guide-scope .callout .media { margin-top: 18px; }
.guide-scope .stats { display: grid; grid-template-columns: repeat(var(--cols, 3),minmax(0,1fr)); gap: 1px; background: #587084; border-radius: 0 0 36px 0; overflow: hidden; }
.guide-scope .stat { padding: 23px 20px; background: var(--deep); color: #fff; overflow-wrap: anywhere; }
.guide-scope .stat dt { margin: 6px 0 0; }
.guide-scope .stat dd { margin: 0; }
.guide-scope .stat .value { order: -1; font: 650 clamp(28px, 4vw, 44px)/1.13 var(--serif); color: #f1dfc6; font-variant-numeric: tabular-nums; }
.guide-scope .stat .note { color: #e1eaf3; font-size: 14px; margin-top: 7px; }
.guide-scope .stat dl { display: flex; flex-direction: column; margin: 0; }
.guide-scope .gallery { display: grid; grid-template-columns: repeat(var(--cols, 2),minmax(0,1fr)); align-items: start; gap: 16px; }
.guide-scope .faq { border-top: 1px solid var(--line); }
.guide-scope .faq details { border-bottom: 1px solid var(--line); }
.guide-scope .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 16px 6px 16px 0;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.55;
  min-height: 52px;
  list-style: none;
  transition: color 150ms ease;
}
.guide-scope .faq summary:hover { color: var(--guide-primary, var(--link)); }
.guide-scope .faq summary::-webkit-details-marker { display: none; }
.guide-scope .faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border: solid var(--muted);
  border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg);
  margin: 0 4px 4px 2px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.guide-scope .faq summary:hover::after { border-color: var(--guide-accent, var(--link)); }
.guide-scope .faq details[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; border-color: var(--guide-accent, var(--link)); }
.guide-scope .faq details[open] p { padding: 2px 28px 20px 0; max-width: 65ch; line-height: 1.78; }
.guide-scope .faq details[open] summary { color: var(--link); }
.guide-scope .related,
.guide-scope .resources { list-style: none; padding: 0; }
.guide-scope .related li { background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 4px 4px; padding: 18px 20px; }
.guide-scope .related a { display: inline-block; font-weight: 650; }
.guide-scope .related p { margin-top: 7px; }
.guide-scope .resources { border-top: 1px solid var(--line); }
.guide-scope .resources li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.guide-scope .resources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px;
  margin-block: -6px;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  transition: color 150ms ease;
}
.guide-scope .resources a:visited { color: var(--ink); }
.guide-scope .resources a::after {
  content: "↗" / "";
  flex: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}
.guide-scope .resources a:hover { color: var(--guide-accent, var(--link)); text-decoration: none; }
.guide-scope .resources a:hover::after { color: var(--guide-accent, var(--link)); transform: translate(2px, -2px); }
.guide-scope .resources p { margin-top: 6px; padding-bottom: 2px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.guide-scope .resources.two-up { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(24px, 3.2vw, 36px); border-top: 0; }
.guide-scope .resources.two-up > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.guide-scope .closing { background: var(--navy); color: #fff; padding: clamp(40px, 4.6vw, 54px) 0; }
.guide-scope .closing .wrap { display: flex; gap: 20px 44px; align-items: center; justify-content: space-between; }
.guide-scope .closing p { color: rgba(235, 243, 249, .86); margin-top: 12px; max-width: 40em; line-height: 1.72; }
.guide-scope .closing a,
.guide-scope .closing a:visited { color: #fff; }
.guide-scope .closing a:hover { color: #fff; }
.guide-scope .closing .wrap > div { min-width: 0; }
.guide-scope .closing .button {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 26px;
  background: #fff;
  color: var(--guide-primary, #234968);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 14px 3px 14px 3px;
  transition: background-color 160ms ease, transform 160ms ease;
}
.guide-scope .closing .button:visited { color: var(--guide-primary, #234968); }
.guide-scope .closing .button:hover { background: #eef4f9; color: var(--guide-primary, #234968); text-decoration: none; transform: translateY(-1px); }
.guide-scope .closing .button:focus-visible,
.guide-scope .hero a:focus-visible { outline-color: #f5dbb4; }
.guide-scope .closing.compact { padding: 26px 24px; border-radius: 0 0 28px 0; }
.guide-scope .closing.compact .wrap { width: 100%; }
.guide-scope .closing.compact h2 { font-size: 26px; }






























@media (max-width: 1000px) {
.guide-scope .hero-panel { min-height: 360px; }
  .guide-scope .guide-grid { grid-template-columns: 164px minmax(0,1fr); gap: 30px; }
  
  .guide-scope .features,
.guide-scope .related { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0,1fr)); }
  .guide-scope .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 559px) {
.guide-scope .table-hint { display: block; }
}
@media (max-width: 800px) {
.guide-scope .guide-grid { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 32px; margin-bottom: 52px; }
  .guide-scope .toc { display: none; }
  .guide-scope .toc ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 14px; }
  .guide-scope .toc li a { min-height: 44px; display: flex; align-items: center; }
  .guide-scope .guide-body > * + * { margin-top: 48px; }
  .guide-scope .hero { padding-top: 24px; }
  .guide-scope .hero-panel { grid-template-columns: 1fr; border-radius: 0 0 46px 0; }
  .guide-scope .hero-image { min-height: 220px; }
  .guide-scope .hero-copy h1 { max-width: 20em; }
  .guide-scope .hero-text,
.guide-scope .hero-media { padding-block: 38px 42px; }
  .guide-scope .hero-media .hero-panel { gap: 18px; }
  .guide-scope .hero-media .hero-copy { padding-block: 0; }
  
  .guide-scope .block-intro { padding: 22px; }
  .guide-scope .split,
.guide-scope .steps-illustrated > li:has(.media) { grid-template-columns: 1fr; gap: 14px; }
  .guide-scope .media-diagram:has(picture) img { max-width: 440px; margin-inline: auto; }
  .guide-scope .closing .wrap { flex-wrap: wrap; }
}
@media (max-width: 560px) {
.guide-scope .features,
.guide-scope .related,
.guide-scope .gallery,
.guide-scope .checks.columns,
.guide-scope .resources.two-up { grid-template-columns: 1fr; }
  .guide-scope .checks.columns > li:nth-child(2),
  .guide-scope .resources.two-up > li:nth-child(2) { border-top: 0; }
  .guide-scope .template-hint { display: block; }
  .guide-scope .template-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-scope .template-grid:has(> li:nth-child(3)) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82%, 276px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
  }
  .guide-scope .template-grid:has(> li:nth-child(3)) > li { scroll-snap-align: start; }
  .guide-scope .template-grid > li:only-child { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .guide-scope .template-grid > li:only-child .template-media { border-inline-end: 0; border-bottom: 1px solid #e3ebf0; }
  .guide-scope .stats { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0,1fr)); }
  .guide-scope .stat { padding: 16px 13px; }
  .guide-scope .stat .note { font-size: 13px; }
  .guide-scope .hero-image { min-height: 185px; }
  .guide-scope .features-tint { padding: 24px 20px; }
  .guide-scope .closing { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
.guide-scope, .guide-scope *, .guide-scope *::before, .guide-scope *::after {
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
}
  .guide-scope .template-card:is(:hover, :focus-within) .template-preview {
    animation: none !important;
    transform: translateY(0) !important;
  }
}

/* Tone, texture and placement are independent on each surface. */
.guide-scope .patterned {
  --field: #303b4b;
  --pattern-opacity: .24;
  --texture-alignment: right 78%;
  --pattern-inline: auto 0;
  --pattern-block: auto 0;
  --texture-x: 1;
  --texture-y: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background-color: var(--field);
}
.guide-scope .patterned[data-tone="pine"] { --field: #253d38; }
.guide-scope .patterned[data-tone="dusk"] { --field: #373743; }
.guide-scope .patterned[data-tone="paper"] { --field: #f1e9dc; --pattern-opacity: .2; --texture-filter: brightness(.36) sepia(.25); }
.guide-scope .patterned[data-motif="tide"] { --motif: url("../images/guide/patterns/tide.webp"); }
.guide-scope .patterned[data-motif="contour"] { --motif: url("../images/guide/patterns/contour.webp"); }
.guide-scope .patterned[data-motif="orbit"] { --motif: url("../images/guide/patterns/orbit.webp"); }
.guide-scope .patterned[data-motif="bend"] { --motif: url("../images/guide/patterns/bend.webp"); }
.guide-scope .patterned[data-motif="islets"] { --motif: url("../images/guide/patterns/islets.webp"); }
.guide-scope .patterned[data-motif="loops"] { --motif: url("../images/guide/patterns/loops.webp"); }
.guide-scope .patterned[data-motif="ink"] { --motif: url("../images/guide/patterns/ink.webp"); }

.guide-scope .patterned[data-place^="left"] { --pattern-inline: 0 auto; --texture-x: -1; }
.guide-scope .patterned[data-place$="top"] { --pattern-block: 0 auto; --texture-y: -1; }

.guide-scope .patterned::before,
.guide-scope .patterned[data-layout="pair"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--motif) var(--texture-alignment) / cover no-repeat;
  opacity: var(--pattern-opacity);
  filter: var(--texture-filter, none);
  transform: scale(var(--texture-x), var(--texture-y));
  pointer-events: none;
}
.guide-scope .patterned[data-layout="edge"]::before {
  inset-inline: var(--pattern-inline);
  width: var(--edge-width, 58%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 58%);
  mask-image: linear-gradient(to right, transparent, #000 58%);
}
.guide-scope .patterned[data-layout="stamp"]::before,
.guide-scope .patterned[data-layout="pair"]::before,
.guide-scope .patterned[data-layout="pair"]::after {
  inset-inline: var(--pattern-inline);
  inset-block: var(--pattern-block);
  width: 46%;
  height: 69%;
  background-position: right bottom;
  -webkit-mask-image: radial-gradient(ellipse at 95% 95%, #000 32%, transparent 76%);
  mask-image: radial-gradient(ellipse at 95% 95%, #000 32%, transparent 76%);
}
.guide-scope .patterned[data-layout="pair"]::after {
  inset-inline: 0 auto;
  inset-block: 0 auto;
  width: 39%;
  height: 55%;
  transform: scale(-1);
  opacity: calc(var(--pattern-opacity) * .68);
}
.guide-scope .patterned[data-layout="pair"][data-place="left-top"]::after {
  inset-inline: auto 0;
  inset-block: auto 0;
  transform: none;
}
.guide-scope .patterned[data-layout="band"]::before {
  inset-block: var(--pattern-block);
  height: 43%;
  background-position: right bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 78%);
  mask-image: linear-gradient(to bottom, transparent, #000 78%);
}

.guide-scope.guide-article {
  --paper: #f9f8f5;
  --line: #e2dfd8;
  --line: color-mix(in srgb, var(--guide-primary, var(--ink)) 11%, #e4e1da);
  background: var(--paper);
  padding-bottom: clamp(40px, 5.5vw, 76px);
}
.guide-scope.guide-article .hero {
  padding-top: clamp(8px, 1vw, 16px);
  background: var(--paper);
}
.guide-scope.guide-article .hero-panel {
  min-height: clamp(336px, 26.5vw, 372px);
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  border-radius: 56px 6px 28px 6px;
  --texture-alignment: right 94%;
}
.guide-scope.guide-article .hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px) clamp(28px, 4.2vw, 54px) clamp(28px, 3.2vw, 38px);
}
.guide-scope.guide-article .hero-copy h1 {
  max-width: 13.5em;
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.28;
}
.guide-scope.guide-article .hero-image {
  margin: 18px 18px 18px 0;
  border-radius: 34px 4px 16px 4px;
  outline: 1px solid rgba(255, 255, 255, .14);
  outline-offset: -1px;
  overflow: hidden;
}
.guide-scope.guide-article .hero-image img { object-position: 56% 46%; }
.guide-scope .guide-back {
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin: -10px 0 clamp(12px, 1.6vw, 18px);
  color: rgba(238, 228, 214, .92);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}
.guide-scope .guide-back span:first-child {
  display: inline-block;
  transition: transform 160ms ease;
}
.guide-scope .guide-back:visited { color: rgba(238, 228, 214, .92); }
.guide-scope .guide-back:hover { color: #fff; text-decoration: none; }
.guide-scope .guide-back:hover span:first-child { transform: translateX(-3px); }
.guide-scope .guide-back:hover span + span { text-decoration: underline; text-underline-offset: .22em; }
.guide-scope .hero-copy .lead {
  margin-top: 16px;
  max-width: 28em;
  color: rgba(236, 243, 249, .88);
  font-size: clamp(15.5px, 1.25vw, 17px);
  line-height: 1.74;
  text-wrap: pretty;
}
.guide-scope.guide-article .guide-grid {
  padding-top: clamp(40px, 4.5vw, 56px);
  margin-bottom: clamp(64px, 7vw, 88px);
}
.guide-scope.guide-article .toc {
  background: #f2f0ea;
  border: 1px solid rgba(25, 38, 49, .07);
  border-radius: 4px 24px 4px 4px;
  padding: 18px 16px;
}
.guide-scope.guide-article .toc h2 {
  margin-bottom: 10px;
  padding-inline-start: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.guide-scope.guide-article .toc ul { display: grid; gap: 2px; }
.guide-scope.guide-article .toc li a {
  position: relative;
  display: block;
  padding: 7px 10px 7px 12px;
  border-inline-start: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  color: #465663;
  font-size: 13.5px;
  line-height: 1.48;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.guide-scope.guide-article .toc li a:visited { color: #465663; }
.guide-scope.guide-article .toc li a:hover {
  border-inline-start-color: rgba(50, 108, 102, .5);
  border-inline-start-color: color-mix(in srgb, var(--guide-accent, var(--link)) 55%, transparent);
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  text-decoration: none;
}
.guide-scope.guide-article .toc li a.is-active,
.guide-scope.guide-article .toc li a[aria-current="location"] {
  border-inline-start-color: var(--guide-accent, var(--link));
  background: #fff;
  color: var(--guide-primary, var(--link));
  font-weight: 650;
}
.guide-scope.guide-article .toc li a.is-active:visited,
.guide-scope.guide-article .toc li a[aria-current="location"]:visited {
  color: var(--guide-primary, var(--link));
}
.guide-scope.guide-article .guide-body > * + * { margin-top: clamp(56px, 6vw, 74px); }
.guide-scope.guide-article .block-intro {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.2vw, 38px);
  background: var(--guide-surface, #eaf0f2);
  background: color-mix(in srgb, var(--guide-surface, #eaf0f2) 78%, #fff);
  border: 1px solid rgba(97, 128, 152, .16);
  border-color: color-mix(in srgb, var(--guide-accent, #618098) 16%, transparent);
  border-top: 3px solid var(--guide-accent, #618098);
  border-radius: 2px 2px 32px 2px;
}
.guide-scope.guide-article .block-intro p { max-width: 64ch; }
.guide-scope.guide-article .block h2 { margin-bottom: 20px; }
.guide-scope.guide-article .block-intro h2 { font-size: clamp(23px, 2.5vw, 29px); margin-bottom: 14px; }
.guide-scope.guide-article .steps > li { padding-block: clamp(24px, 2.8vw, 32px); }
.guide-scope.guide-article .step-copy { gap: 14px; }
.guide-scope.guide-article .step-copy::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--guide-surface, #eef4f7);
  background: color-mix(in srgb, var(--guide-accent, #326c66) 13%, #fff);
  border: 0;
  border-radius: 50%;
  color: var(--guide-primary, var(--link));
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 0;
}
.guide-scope.guide-article .step-copy h3 { padding-top: 3px; }
.guide-scope.guide-article .media-screenshot .media-frame,
.guide-scope.guide-article .media-diagram .media-frame,
.guide-scope.guide-article .media-illustration .media-frame {
  padding: clamp(10px, 1.4vw, 16px);
  background: var(--guide-surface, #eaf0f1);
  background: color-mix(in srgb, var(--guide-surface, #eaf0f1) 62%, #fff);
  border-radius: 18px 4px 10px 4px;
  border-color: #d6dfe4;
  border-color: color-mix(in srgb, var(--guide-accent, #618098) 18%, #dce3e8);
}
.guide-scope.guide-article .media-screenshot .media-frame img { border-radius: 6px; }
.guide-scope.guide-article .features-tint {
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid rgba(155, 130, 96, .2);
  border-radius: 30px 4px 18px 4px;
}
.guide-scope.guide-article .features-tint h2 { margin-bottom: 22px; }
.guide-scope.guide-article .features-tint .features {
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  column-gap: clamp(22px, 2.8vw, 32px);
  row-gap: 20px;
}
.guide-scope.guide-article .features-tint .feature {
  padding: 18px 0 4px;
  border-top: 1.5px solid rgba(145, 118, 82, .45);
}
.guide-scope.guide-article .faq details[open] summary { color: var(--guide-primary, var(--link)); }
.guide-scope.guide-article .template-card { border-radius: 16px 3px 10px 3px; border-color: #d6dee4; }
.guide-scope.guide-article .template-card:hover { border-color: #6b8fae; }
.guide-scope.guide-article .closing {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(38px, 4.5vw, 52px) clamp(26px, 4.5vw, 56px);
  border-radius: 46px 6px 22px 6px;
}
.guide-scope.guide-article .closing .wrap { width: 100%; }

.guide-scope .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.guide-scope [hidden] { display: none !important; }
.guide-scope.guide-directory,
.guide-scope .guide-directory {
  --paper: #f9f8f5;
  --line: #e2dfd8;
  max-width: var(--wide);
  padding-block: clamp(44px, 5.5vw, 76px) clamp(56px, 7vw, 96px);
  background: transparent;
}
.page_guide .guide-scope.guide-directory,
.page_guide .guide-scope .guide-directory {
  padding-top: calc(70px + clamp(44px, 5.5vw, 76px));
}
.guide-scope.guide-directory h1,
.guide-scope .guide-directory h1 {
  font-size: clamp(32px, 3.6vw, 44px);
}
.guide-scope .guide-directory-list {
  counter-reset: guide-index;
  margin-top: clamp(26px, 3.4vw, 38px);
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.guide-scope .guide-directory-list li {
  counter-increment: guide-index;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  padding: clamp(24px, 2.8vw, 32px) 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}
.guide-scope .guide-directory-list li:hover {
  background: rgba(255, 255, 255, .55);
}
.guide-scope .guide-directory-list li::before {
  content: counter(guide-index, decimal-leading-zero);
  grid-row: 1 / span 2;
  padding-top: 5px;
  color: var(--muted);
  font: 700 15px/1.5 var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 0;
  transition: color 150ms ease;
}
.guide-scope .guide-directory-list li:hover::before { color: var(--link); }
.guide-scope .guide-directory-list a {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 100%;
  padding-block: 8px;
  margin-block: -8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 25px);
  font-weight: 700;
  line-height: 1.38;
  text-decoration: none;
  transition: color 150ms ease;
}
.guide-scope .guide-directory-list a:visited { color: var(--ink); }
.guide-scope .guide-directory-list a::after {
  content: "→" / "";
  flex: none;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease;
}
.guide-scope .guide-directory-list a:hover {
  color: var(--link);
  text-decoration: none;
}
.guide-scope .guide-directory-list a:hover::after {
  color: var(--link);
  transform: translateX(4px);
}
.guide-scope .guide-directory-list a:focus-visible { outline-offset: 2px; }
.guide-scope .guide-directory-list p {
  grid-column: 2;
  margin-top: 8px;
  max-width: 58em;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .guide-scope.guide-article .features-tint .features { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .guide-scope.guide-article .hero-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 38px 4px 18px 4px; }
  .guide-scope.guide-article .hero-copy { padding: 28px 24px 20px; }
  .guide-scope .guide-back { margin-bottom: 10px; }
  .guide-scope.guide-article .hero-image { margin: 0 16px 16px; border-radius: 24px 4px 12px 4px; }
  .guide-scope.guide-article .guide-grid { padding-top: 32px; margin-bottom: 52px; }
  .guide-scope.guide-article .guide-body > * + * { margin-top: 48px; }
  .guide-scope.guide-article .closing { border-radius: 34px 4px 16px 4px; }
}
@media (max-width: 560px) {
  .guide-scope.guide-article .hero-copy { padding: 26px 20px 18px; }
  .guide-scope.guide-article .hero-image { min-height: 184px; margin: 0 14px 14px; }
  .guide-scope.guide-article .features-tint .features { grid-template-columns: minmax(0, 1fr); }
  .guide-scope .guide-directory-list li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; }
  .guide-scope .patterned { --edge-width: 69%; }
}

.guide-scope h3 { font-weight: 650; }
.page_guide .guide-scope.guide-article .toc { top: 94px; }
@media (max-width: 768px) {
  .page_guide .guide-scope.guide-article .toc { top: 74px; }
  .page_guide .guide-scope.guide-directory,
  .page_guide .guide-scope .guide-directory {
    padding-top: calc(50px + clamp(28px, 6vw, 44px));
    padding-bottom: clamp(44px, 8vw, 64px);
  }
}
