:root {
  color-scheme: light;
  --ink: #192d38;
  --body: #324650;
  --quiet: #53666f;
  --rule: #d5dfe1;
  --accent: #08635e;
  --rail: #f6f8f7;
  --rail-width: clamp(220px, 17.4vw, 262px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 16px/1.78 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); }
.skip, .skip-link {
  position: fixed; inset: .5rem auto auto .5rem; z-index: 5;
  padding: .4rem .8rem; background: white; transform: translateY(-160%);
}
.skip:focus, .skip-link:focus { transform: none; }
.document { display: grid; grid-template-columns: var(--rail-width) minmax(0, 1fr); align-items: start; }

.toc {
  position: sticky; top: 0; z-index: 2; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 15px 18px 21px; background: var(--rail); border-right: 1px solid var(--rule);
}
.toc .brand {
  display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 32px;
}
.toc .brand img { display: block; height: 31px; width: auto; }
.toc .toc-title {
  display: inline-block; color: var(--ink); text-decoration: none;
  font-size: 20px; line-height: 1.35; font-weight: 720; letter-spacing: -.02em;
}
.toc .rail-label, .toc .toc-label { color: var(--quiet); font-size: 12px; font-weight: 650; }
.toc nav { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc nav ul, .toc nav ol { padding: 0; list-style: none; }
.toc nav a {
  display: block; padding: 4px 9px; border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0; color: var(--body); text-decoration: none;
  font-size: 14px; line-height: 1.55;
}
.toc nav .toc-main { margin-top: 11px; color: var(--ink); font-weight: 680; }
.toc nav .toc-sub { padding-left: 22px; font-size: 13px; color: var(--quiet); }
.toc nav a:hover { background: #e9efed; color: var(--ink); }
.toc nav a[aria-current="location"] {
  border-left-color: var(--accent); background: #dfefea; color: #104f49; font-weight: 680;
}
.toc nav .toc-parent-active { color: var(--accent); }
.toc-toggle { display: none; }

main#content {
  width: 100%; max-width: 1120px; min-width: 0; margin-inline: auto;
  padding: 0 clamp(32px, 5vw, 80px) 72px;
}
main > header { padding: clamp(34px, 4.3vw, 67px) 0 24px; border-bottom: 2px solid var(--ink); }
main h1 { font-size: clamp(30px, 3vw, 46px); line-height: 1.26; font-weight: 720; letter-spacing: -.035em; }
main > header p { max-width: 48em; }
main > header h1 + p { margin-top: 12px; }
.meta, .eyebrow, .kicker, .page-kicker, .section-number {
  color: var(--accent); font-size: 13px; font-weight: 650; line-height: 1.55;
}
main > header :is(.meta, .eyebrow, .kicker) { margin: 0 0 9px; }
.page { padding-top: 35px; }
.page + .page { border-top: 2px solid var(--ink); }
.page-head { margin-bottom: 8px; }
.page-head h2, .source-notes h2 {
  font-size: clamp(24px, 2.25vw, 34px); line-height: 1.34; font-weight: 700; letter-spacing: -.025em;
}
.page-head :is(.eyebrow, .kicker, .section-number, .page-kicker) { margin-bottom: 5px; }
.page-summary { max-width: 48em; color: var(--body); }
.feature { min-width: 0; padding: 24px 0 32px; scroll-margin-top: -24px; }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -.012em; font-weight: 680; }
.feature-copy { width: 100%; max-width: 48em; }
.feature-copy p, .feature-copy dl, .feature-copy :is(ul, ol) { margin-top: 7px; }
.feature-copy :is(ol, ul), .source-notes :is(ul, ol) { padding-inline-start: 1.4em; }
.feature-copy li + li, .source-notes li + li { margin-top: 3px; }
.feature-copy dt { margin-top: 9px; font-weight: 650; color: var(--ink); }
.feature-copy dd { margin-top: 2px; }
.feature-copy strong { color: var(--ink); font-weight: 650; }
.scope-note {
  margin-top: 12px; padding: 5px 0 5px 12px; border-left: 2px solid #9dbdb2;
  color: var(--quiet); font-size: 14px; line-height: 1.7;
}
.page-summary p + p, .source-notes p + p { margin-top: 7px; }
.feature-views {
  display: grid; width: min(100%, 730px); margin-top: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 308px), 1fr));
  align-items: start; gap: 16px 22px;
}
.screen { width: 100%; min-width: 0; max-width: 354px; }
.screen figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  min-height: 35px; padding-bottom: 7px; color: var(--ink); font-size: 14px; line-height: 1.55; font-weight: 600;
}
.device {
  position: relative; isolation: isolate; width: 100%; aspect-ratio: 440 / 956;
  overflow: hidden; border-radius: 9px; background: #f0f3f3;
  box-shadow: 0 0 0 1px #c6d2d5, 0 2px 7px rgba(25, 45, 56, .07);
}
.device iframe {
  position: absolute; left: 0; top: 0; display: block; width: 440px; height: 956px;
  max-width: none; border: 0; background: white;
  transform: scale(var(--frame-scale, 1)); transform-origin: top left;
}
.reset {
  flex: none; border: 0; border-radius: 3px; background: transparent;
  color: var(--quiet); font-size: 12px; line-height: 1.5; font-weight: 500; padding: 4px 6px;
  text-decoration: underline; text-underline-offset: .2em;
}
.reset:hover { background: #edf4f1; color: var(--accent); }
.screen > .reset { margin-top: 4px; }
.source-notes {
  margin-top: 16px; padding-top: 26px; border-top: 2px solid var(--ink);
  color: var(--quiet); font-size: 15px;
}
.source-notes h2 { margin-bottom: 12px; font-size: 23px; }
.source-notes h3 { margin-top: 16px; font-size: 17px; }
.nav-compare h4 { margin-top: 16px; font-size: 15px; }
.nav-compare iframe.home-compare-frame {
  height: min(844px, 82vh);
  height: min(844px, 82svh);
}
.home-compare-captures { margin: 10px 0 20px; }
.home-compare-captures summary {
  width: fit-content; padding-block: 4px; color: var(--accent); cursor: pointer;
}
.home-compare-captures figure { max-width: 580px; margin-top: 12px; }
.home-compare-captures figcaption { margin-bottom: 4px; }
.home-compare-captures img { display: block; width: 100%; height: auto; }

@media (max-width: 920px) {
  :root { --rail-width: 190px; }
  .toc { padding-inline: 13px; }
  main#content { padding-inline: 26px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .document { display: block; }
  .toc {
    height: auto; min-height: 48px; display: block; padding: 9px 18px;
    border: 0; border-bottom: 1px solid var(--rule);
  }
  .toc :is(.toc-top, .toc-header, .toc-head, .brandbar) {
    display: flex; align-items: center; justify-content: space-between; min-height: 30px; gap: 12px;
  }
  .toc .brand img { height: 24px; }
  .toc .toc-title { font-size: 17px; line-height: 30px; }
  .toc .toc-label, .toc .rail-label { display: none; }
  .toc-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 31px; padding: 2px 9px; border: 1px solid #bdcac8; border-radius: 4px;
    color: var(--body); background: white; font-size: 14px; line-height: 1.45;
  }
  .toc > .toc-toggle { float: right; }
  .toc-toggle::after {
    content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .toc-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .toc nav { clear: both; max-height: 69vh; max-height: 69dvh; padding: 6px 0 8px; }
  .js-review .toc nav {
    display: none; position: absolute; inset: 100% 0 auto;
    padding: 4px 18px 14px; background: var(--rail); border-bottom: 1px solid var(--rule);
    box-shadow: 0 7px 12px rgba(25, 45, 56, .08);
  }
  .js-review .toc.is-open nav { display: block; }
  .toc nav a { padding-block: 6px; }
  main#content { padding: 0 clamp(16px, 4vw, 28px) 48px; }
  main > header { padding: 27px 0 19px; }
  .page { padding-top: 25px; }
  .feature { padding: 19px 0 26px; scroll-margin-top: -19px; }
}
@media (max-width: 600px) {
  .feature-views { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .screen { max-width: 390px; }
}
@media print {
  .toc, .skip, .skip-link, .reset { display: none; }
  .document { display: block; }
  main#content { padding: 0; max-width: none; }
  .feature-copy { break-after: avoid; }
  .screen { break-inside: avoid; }
}
