.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(72px, 10vw, 120px);
}

.doc-head { margin-bottom: clamp(28px, 4vw, 44px); }
.doc-head h1 { font-size: clamp(2.4rem, 1rem + 5vw, 4.2rem); }
.doc-head .lead { margin-top: 20px; }

.doc-body { font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.doc-body > *:first-child { margin-top: 0; }
.doc-body p { margin: 0 0 20px; }
.doc-body strong, .doc-body b { color: #fff; font-weight: 600; }
.doc-body em { color: #fff; font-style: normal; font-weight: 600; }

.doc-body h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.1rem);
  color: #fff;
  margin: 48px 0 16px;
}

.doc-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
}

.doc-body ul, .doc-body ol { margin: 0 0 20px; padding-left: 22px; }
.doc-body li { margin-bottom: 10px; }
.doc-body li::marker { color: rgba(255, 255, 255, .4); }

.doc-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.doc-body a:hover { text-decoration-color: #fff; }

.doc-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.doc-meta { font-size: 15px; color: rgba(255, 255, 255, .45); }

.article-lede { font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .88); margin-bottom: 36px; }

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
}

.code {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #17171C;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.6;
}

.code code { background: none; padding: 0; color: rgba(255, 255, 255, .9); white-space: pre; }

.note { font-size: 15px; color: rgba(255, 255, 255, .5); }

figure { margin: 32px 0; }
figcaption { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .45); }

.shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .8); }

.anatomy { margin: 36px 0 40px; }

.anatomy-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  padding-bottom: 12%;
  background:
    radial-gradient(40% 60% at 50% 35%, rgba(255, 186, 120, .5), transparent 70%),
    radial-gradient(35% 55% at 82% 25%, rgba(0, 188, 231, .3), transparent 70%),
    linear-gradient(180deg, #2B2433, #0D0C10);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

.anatomy-cap {
  margin: 0;
  max-width: 88%;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(22px, 5.4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.anatomy-cap[data-box="on"] { background: rgba(8, 8, 8, .75); padding: .1em .35em; border-radius: 2px; }
.anatomy-cap[data-heavy="on"] { font-weight: 900; letter-spacing: -.03em; }
.anatomy-cap[data-outline="on"] {
  --o: .032em;
  --d: .023em;
  color: var(--yellow);
  text-shadow:
    var(--o) 0 0 #000, calc(var(--o) * -1) 0 0 #000, 0 var(--o) 0 #000, 0 calc(var(--o) * -1) 0 #000,
    var(--d) var(--d) 0 #000, calc(var(--d) * -1) calc(var(--d) * -1) 0 #000,
    var(--d) calc(var(--d) * -1) 0 #000, calc(var(--d) * -1) var(--d) 0 #000;
}
.anatomy-cap[data-shadow="on"] { filter: drop-shadow(0 .09em .12em rgba(0, 0, 0, .6)); }
.anatomy-cap[data-karaoke="on"] .w { opacity: 0; transform: scale(.7) translateY(.08em); }
.anatomy-cap[data-karaoke="on"] .w.on { opacity: 1; transform: none; }
.anatomy-cap .w { display: inline-block; transition: opacity .12s, transform .28s cubic-bezier(.3, 1.4, .5, 1); }

.anatomy-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.anatomy-controls button {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  -webkit-tap-highlight-color: transparent;
}

.anatomy-controls button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #111; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 42px; margin-bottom: 18px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.doc-body details { border-top: 1px solid rgba(255, 255, 255, .1); }
.doc-body details:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.doc-body summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17.5px;
  font-weight: 600;
  color: #fff;
}
.doc-body summary::-webkit-details-marker { display: none; }
.doc-body summary::after { content: "+"; font-size: 24px; line-height: 1; color: rgba(255, 255, 255, .5); transition: transform .3s var(--k); }
.doc-body details[open] summary::after { transform: rotate(45deg); }
.doc-body details p { margin: 0 0 20px; }

.doc-cta {
  margin-top: 56px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  display: grid;
  gap: 16px;
  justify-items: start;
}

.doc-cta p { margin: 0; color: rgba(255, 255, 255, .7); max-width: 34em; }
.doc-cta strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
