:root {
  --paper: #f5f2ea;
  --ink: #142d35;
  --teal: #006b63;
  --amber: #ba5a29;
  --line: #c9d0c8;
  --muted: #526368;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #dde0db;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.viewport {
  height: calc(100dvh - 68px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stage-wrap {
  position: relative;
}
.stage {
  width: 1600px;
  height: 900px;
  transform-origin: top left;
  background: var(--paper);
}
.slide {
  width: 1600px;
  height: 900px;
  padding: 46px 72px 34px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.running-head {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex: none;
}
.running-head::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.slide-header {
  margin-top: 44px;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 90px;
  line-height: 1.03;
  letter-spacing: -4px;
  font-weight: 750;
}
h2 {
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 750;
  max-width: 1400px;
}
h3 {
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.subtitle {
  font-size: 29px;
  line-height: 1.35;
  margin-top: 17px;
  max-width: 1340px;
}
.accent-rule {
  width: 80px;
  height: 6px;
  background: var(--amber);
  margin-top: 26px;
}
.slide-body {
  flex: 1;
  min-height: 0;
  padding-top: 37px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  font-size: 30px;
  line-height: 1.35;
}
.slide-foot {
  flex: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--muted);
}
.slide-foot a {
  color: inherit;
}
.slide-number {
  font:
    17px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: nowrap;
}
.mono,
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
code {
  font-size: 0.85em;
}
strong {
  font-weight: 750;
}
.teal {
  color: var(--teal);
}
.amber {
  color: var(--amber);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 23px;
  line-height: 1.4;
}
.tiny {
  font-size: 20px;
  line-height: 1.4;
}
.lead {
  font-size: 43px;
  line-height: 1.22;
  letter-spacing: -0.8px;
  max-width: 1300px;
}
.callout {
  border-left: 5px solid var(--amber);
  padding: 7px 0 7px 24px;
  font-size: 28px;
  line-height: 1.4;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.columns.wide-left {
  grid-template-columns: 1.45fr 1fr;
}
.columns.wide-right {
  grid-template-columns: 1fr 1.5fr;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rule-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 32px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}
.rule-row:first-child {
  border-top: 0;
}
.rule-row .id {
  font-size: 45px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}
.rule-row h3 {
  margin-bottom: 8px;
}
.rule-row p {
  font-size: 27px;
  line-height: 1.35;
}
.metric {
  font-size: 96px;
  line-height: 1;
  letter-spacing: -4px;
  font-weight: 750;
  color: var(--teal);
}
.metric-label {
  font-size: 27px;
  line-height: 1.3;
  margin-top: 12px;
}
.metrics {
  display: flex;
  gap: 65px;
  align-items: start;
}
.metric-block {
  flex: 1;
}
.diagram {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
}
.figure {
  margin: 0;
  min-height: 0;
}
.figure img {
  width: 100%;
  display: block;
}
.figure figcaption {
  font-size: 22px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.cover .slide-body {
  padding-top: 0;
}
.cover-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.cover h1 {
  max-width: 800px;
}
.cover .subtitle {
  max-width: 720px;
  margin-top: 32px;
  font-size: 35px;
}
.cover-image {
  width: 100%;
  mix-blend-mode: multiply;
}
.cover-meta {
  margin-top: 45px;
  font-size: 22px;
  line-height: 1.7;
  color: var(--muted);
}
.cover-caption {
  font-size: 18px;
  text-align: center;
  color: var(--muted);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 27px;
  line-height: 1.25;
}
.table th {
  text-align: left;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 20px 18px 0;
  border-bottom: 2px solid var(--ink);
}
.table td {
  padding: 21px 20px 21px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th:not(:first-child),
.table td:not(:first-child) {
  text-align: right;
}
.table.comparison {
  table-layout: fixed;
}
.table.comparison th:not(:first-child),
.table.comparison td:not(:first-child) {
  text-align: left;
  padding-left: 30px;
}
.table.comparison td:first-child {
  font-size: 24px;
  color: var(--muted);
  width: 24%;
}
.table.compact {
  font-size: 25px;
}
.table.compact td {
  padding: 16px 16px 16px 0;
}
.reference-list {
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 27px;
}
.reference-list p {
  line-height: 1.35;
}
.reference-list a {
  font-weight: 700;
}
.reference-list span {
  display: block;
  font-size: 22px;
  color: var(--muted);
  margin-top: 4px;
}
.limitations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
}
.limitations p {
  border-top: 1px solid var(--line);
  padding: 21px 0;
  font-size: 27px;
  line-height: 1.35;
}
.limitations strong {
  display: block;
  font-size: 30px;
  margin-bottom: 8px;
}
.toolbar {
  height: 68px;
  position: fixed;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 1px solid #b4c0ba;
  background: var(--paper);
  font-size: 16px;
  gap: 20px;
  z-index: 10;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 20px;
}
.toolbar button {
  background: none;
  border: 0;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.toolbar button:disabled {
  opacity: 0.3;
  cursor: default;
}
.toolbar svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toolbar a {
  text-decoration: none;
  font-weight: 700;
}
.toolbar a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.toolbar .separator {
  width: 1px;
  height: 24px;
  background: var(--line);
}
.counter {
  font:
    16px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  min-width: 75px;
  text-align: center;
}
.progress {
  position: fixed;
  left: 0;
  bottom: 67px;
  height: 3px;
  background: var(--teal);
  z-index: 11;
  transition: width 0.2s;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 15px 25px;
  z-index: 30;
  font-size: 17px;
  max-width: 90vw;
}
.dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  max-width: 850px;
  width: 90vw;
  max-height: 85dvh;
  padding: 35px;
  box-shadow: 0 10px 80px #142d3520;
}
.dialog::backdrop {
  background: #142d3570;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: start;
  margin-bottom: 25px;
}
.dialog-head h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
}
.dialog-head button {
  border: 1px solid var(--line);
  background: none;
  padding: 8px 14px;
  font-size: 17px;
}

.overview-list {
  display: grid;
  gap: 0;
}
.overview-list button {
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 15px 0;
  font-size: 18px;
  line-height: 1.4;
}
.overview-list button[aria-current] {
  color: var(--teal);
  font-weight: 700;
}
.help {
  font-size: 16px;
  color: var(--muted);
  margin-top: 25px;
}
.no-js {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--amber);
  color: white;
  padding: 12px;
  z-index: 40;
}
.table.comparison td {
  padding-top: 16px;
  padding-bottom: 16px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
@media (max-width: 700px) {
  .viewport {
    justify-items: normal;
    align-items: normal;
  }
  .stage-wrap {
    min-width: 0;
    width: 100% !important;
    max-width: 100%;
  }
  .stage,
  .slide,
  .slide-body,
  .figure,
  .table-scroll {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  :root {
    background: var(--paper);
  }
  .viewport {
    display: block;
    height: auto;
    min-height: calc(100dvh - 64px);
    overflow: visible;
    padding-bottom: 70px;
  }
  .stage-wrap {
    width: auto !important;
    height: auto !important;
  }
  .stage {
    width: 100%;
    height: auto;
    transform: none !important;
  }
  .slide {
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 68px);
    padding: 28px 23px 24px;
    overflow: visible;
  }
  .running-head {
    font-size: 13px;
    gap: 18px;
  }
  .slide-header {
    margin-top: 35px;
  }
  h1 {
    font-size: 54px;
    letter-spacing: -2.3px;
  }
  h2 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }
  h3 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 21px;
    margin-top: 17px;
  }
  .accent-rule {
    width: 55px;
    height: 4px;
    margin-top: 20px;
  }
  .slide-body {
    padding-top: 28px;
    gap: 25px;
    font-size: 22px;
  }
  .slide-foot {
    font-size: 12px;
    gap: 15px;
    margin-top: 35px;
    padding-top: 15px;
  }
  .slide-number {
    font-size: 12px;
  }
  .cover-grid,
  .columns,
  .columns.wide-left,
  .columns.wide-right {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cover-grid {
    padding-top: 45px;
  }
  .cover .subtitle {
    font-size: 25px;
    margin-top: 25px;
  }
  .cover-meta {
    font-size: 16px;
    margin-top: 30px;
  }
  .cover-image {
    max-height: 250px;
    object-fit: contain;
  }
  .cover-caption {
    font-size: 12px;
  }
  .rule-row {
    grid-template-columns: 60px 1fr;
    gap: 15px;
    padding: 21px 0;
  }
  .rule-row .id {
    font-size: 32px;
  }
  .rule-row p {
    font-size: 20px;
  }
  .lead {
    font-size: 30px;
  }
  .small {
    font-size: 19px;
  }
  .tiny {
    font-size: 16px;
  }
  .callout {
    font-size: 21px;
    padding-left: 17px;
  }
  .metric {
    font-size: 66px;
    letter-spacing: -2px;
  }
  .metric-label {
    font-size: 20px;
  }
  .metrics {
    gap: 25px;
    flex-wrap: wrap;
  }
  .metric-block {
    flex-basis: 40%;
  }
  .figure {
    overflow-x: auto;
  }
  .figure .diagram {
    min-width: 660px;
  }
  .figure figcaption {
    font-size: 16px;
  }
  .table {
    font-size: 18px;
    min-width: 650px;
  }
  .table th {
    font-size: 16px;
  }
  .table.compact {
    font-size: 18px;
  }
  .table.comparison td:first-child {
    font-size: 17px;
  }
  .table-scroll {
    overflow-x: auto;
  }
  .limitations {
    grid-template-columns: 1fr;
  }
  .limitations p {
    font-size: 21px;
  }
  .limitations strong {
    font-size: 24px;
  }
  .reference-list {
    font-size: 20px;
  }
  .reference-list span {
    font-size: 17px;
  }
  .toolbar {
    height: 64px;
    padding: 0 15px;
    gap: 10px;
    font-size: 14px;
  }
  .toolbar-group {
    gap: 14px;
  }
  .toolbar button {
    font-size: 14px;
    padding: 12px 0;
  }
  .toolbar svg {
    width: 23px;
    height: 23px;
  }
  .toolbar .button-text,
  .toolbar .separator,
  .toolbar .fullscreen-control {
    display: none;
  }
  .counter {
    font-size: 14px;
    min-width: 58px;
  }
  .progress {
    bottom: 63px;
  }
  .dialog {
    padding: 24px;
  }
  .dialog-head h2 {
    font-size: 25px;
  }
}
@media print {
  @page {
    size: 1600px 900px;
    margin: 0;
  }
  :root {
    background: var(--paper);
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  body {
    margin: 0;
  }
  .viewport,
  .stage-wrap,
  .stage {
    display: contents !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    overflow: visible !important;
  }
  .slide,
  .slide[hidden] {
    display: flex !important;
    page-break-after: always;
    break-after: page;
    width: 1600px;
    height: 900px;
  }
  .slide:last-child {
    page-break-after: auto;
    break-after: auto;
  }
  .toolbar,
  .progress,
  .dialog,
  .toast,
  .sr-only,
  .no-js {
    display: none !important;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}

.reference-list .reference-label { font-size:27px; font-weight:700; color:var(--teal); margin-top:0; }
@media(max-width:700px){.reference-list .reference-label{font-size:20px}}
