@font-face {
  font-family: GFIS;
  src: local("Avenir Next"), local("Aptos"), local("Arial");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f4f3ed;
  color: #203831;
  font-family: GFIS, Arial, sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  background: #254f43;
  color: white;
  border: 1px solid #254f43;
  border-radius: 5px;
  padding: 10px 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}
button.secondary,
.button.secondary {
  background: transparent;
  color: #254f43;
}
button:hover,
.button:hover {
  background: #386752;
  color: white;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #bb853e;
  outline-offset: 4px;
}
header {
  position: sticky;
  top: 0;
  background: #f4f3edf5;
  backdrop-filter: blur(16px);
  z-index: 20;
  border-bottom: 1px solid #d7ded5;
}
.top {
  max-width: 1440px;
  margin: auto;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 23px;
  font-size: 13px;
  align-items: center;
}
nav a {
  text-decoration: none;
}
.menu {
  display: none;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 62px 36px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 55px;
  align-items: center;
  min-height: 610px;
  padding-top: 60px;
  padding-bottom: 70px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #647364;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(38px, 4.5vw, 65px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 24px;
}
h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}
.lead {
  font-size: 18px;
  max-width: 650px;
  color: #526059;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.scene {
  height: 415px;
  background: linear-gradient(150deg, #e3e8dc, #c9d7c7);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.scene-label {
  position: absolute;
  left: 18px;
  bottom: 15px;
  background: #f5f5ebed;
  padding: 8px 12px;
  font-size: 11px;
  max-width: 85%;
}
.band {
  border-top: 1px solid #d6ddd3;
  border-bottom: 1px solid #d6ddd3;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.band strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
}
.section {
  margin-top: 65px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fffef8;
  border: 1px solid #dce0d6;
  border-radius: 7px;
  padding: 26px;
  min-width: 0;
}
.card p {
  color: #57665e;
  font-size: 14px;
}
.number {
  font-size: 12px;
  color: #966b32;
  letter-spacing: 0.1em;
}
.dark {
  background: #233e35;
  color: #f7f8f0;
}
.dark p {
  color: #d5dfd5;
}
.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
}
.muted {
  color: #647268;
  font-size: 13px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}
.toolbar label {
  font-size: 12px;
  display: grid;
  gap: 5px;
  min-width: 150px;
}
select,
input[type="number"] {
  padding: 8px;
  border: 1px solid #b6c3b6;
  border-radius: 4px;
  background: #fffef8;
  max-width: 100%;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.metric {
  padding: 16px;
  background: white;
  border-bottom: 3px solid #6c8976;
  min-width: 0;
}
.metric strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
}
.metric small {
  font-size: 11px;
}
.chart {
  width: 100%;
  height: 220px;
  background: #fffefa;
  border: 1px solid #dce0d6;
}
.status {
  padding: 14px;
  background: #e5ebdf;
  margin: 14px 0;
  font-size: 14px;
}
.status.warn {
  background: #f4e6cd;
}
.status.critical {
  background: #f2d8d2;
}
.event {
  padding: 12px 0;
  border-bottom: 1px solid #d4dbd1;
  font-size: 13px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #d8dfd5;
  vertical-align: top;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.reader {
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  gap: 60px;
}
.reader aside {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 13px;
}
.reader aside a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
}
.reader article {
  background: #fffef9;
  padding: 42px;
  border: 1px solid #dce0d6;
}
.reader article h2 {
  scroll-margin-top: 110px;
}
.reader article p {
  font-size: 15px;
}
.reading-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.footer {
  margin-top: 80px;
  background: #213a32;
  color: #e1e7dd;
  padding: 40px 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
}
.footer a {
  margin-right: 12px;
}
.pill {
  font-size: 11px;
  border: 1px solid #bcc8b8;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
}
.workflow {
  display: flex;
  gap: 6px;
  align-items: stretch;
  flex-wrap: wrap;
}
.workflow div {
  flex: 1;
  min-width: 120px;
  border-top: 3px solid #527b61;
  padding: 12px;
  background: #e7ece0;
  font-size: 13px;
}
.network {
  width: 100%;
  height: auto;
}
.hidden {
  display: none !important;
}
details {
  border-bottom: 1px solid #dce0d6;
  padding: 15px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.page-title {
  max-width: 780px;
  margin-bottom: 35px;
}
.progress {
  accent-color: #456d54;
  width: 100%;
}
.skip {
  position: absolute;
  top: -80px;
}
.skip:focus {
  top: 8px;
  background: white;
  z-index: 100;
}
.task {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-bottom: 1px solid #dce0d6;
}
.task input {
  margin-top: 7px;
}
.task.checked {
  text-decoration: line-through;
  opacity: 0.6;
}
.toast {
  min-height: 26px;
  font-size: 13px;
}
.doc-index a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid #dce0d6;
  text-decoration: none;
}
.doc-index a:hover {
  color: #946926;
}
code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  background: #e9eee3;
  padding: 16px;
}
.source {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.reader.big article p {
  font-size: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.media-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.media-library audio,
.media-library video {
  display: block;
  width: 100%;
  margin: 18px 0;
}
.media-library audio {
  min-height: 44px;
}
.media-library video {
  aspect-ratio: 16 / 9;
  background: #18251f;
  border: 1px solid #dce0d6;
  border-radius: 5px;
}
.deck-player {
  background: #fffef8;
  border: 1px solid #dce0d6;
  border-radius: 7px;
  padding: 26px;
  margin-bottom: 36px;
}
.deck-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}
.deck-heading h2,
.deck-heading .eyebrow {
  margin-top: 0;
}
.deck-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8e9e2;
  border: 1px solid #cfd7cc;
  box-shadow: 0 14px 38px #213a3218;
}
.deck-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 12px;
}
.deck-controls output {
  min-width: 92px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.deck-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.deck-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.deck-thumbnails button {
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #f4f3ed;
  border: 2px solid transparent;
}
.deck-thumbnails button[aria-current="true"] {
  border-color: #bb853e;
}
.deck-thumbnails img {
  display: block;
  width: 100%;
  height: auto;
}
.deck-help {
  margin-bottom: 0;
}
.deck-player:fullscreen {
  border: 0;
  border-radius: 0;
  background: #17251f;
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center;
}
.deck-player:fullscreen .deck-heading,
.deck-player:fullscreen .deck-help {
  display: none;
}
.deck-player:fullscreen .deck-stage {
  height: calc(100vh - 150px);
  width: min(100%, calc((100vh - 150px) * 16 / 9));
  margin: auto;
}
.deck-player:fullscreen .deck-controls output {
  color: #f4f3ed;
}
@media (max-width: 850px) {
  .top {
    padding: 14px 20px;
    flex-wrap: wrap;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }
  nav.open {
    display: flex;
  }
  .wrap {
    padding: 35px 20px;
  }
  .hero,
  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero {
    min-height: 0;
  }
  .scene {
    height: 320px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .deck-player {
    padding: 14px;
  }
  .deck-heading {
    display: block;
  }
  .deck-heading .button {
    margin-top: 10px;
  }
  .deck-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .reader {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reader aside {
    position: static;
  }
  .reader article {
    padding: 22px;
  }
  .band {
    flex-wrap: wrap;
  }
  .footer-inner {
    flex-direction: column;
  }
  h1 {
    font-size: 42px;
  }
  .toolbar label {
    min-width: 130px;
    flex: 1;
  }
}
@media print {
  @page {
    size: A4;
    margin: 18mm;
  }
  header,
  .footer,
  .reader aside,
  .reading-tools,
  button,
  .no-print {
    display: none !important;
  }
  body {
    background: white;
    color: #152c22;
    font-size: 11pt;
  }
  .wrap {
    padding: 0;
    max-width: none;
  }
  .reader {
    display: block;
  }
  .reader article {
    border: 0;
    padding: 0;
  }
  h1 {
    font-size: 29pt;
  }
  h2 {
    font-size: 19pt;
    break-after: avoid;
  }
  .card,
  figure,
  tr {
    break-inside: avoid;
  }
  a {
    text-decoration: none;
  }
  .reader article p {
    font-size: 11pt;
  }
  .section {
    margin-top: 20px;
  }
  .grid {
    display: block;
  }
  .card {
    margin-bottom: 15px;
  }
  .page-break {
    break-before: page;
  }
}
