:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #333;
  --muted: #666;
  --line: #e5e5e5;
  --accent: #e7681b;
  --accent-hover: #c95717;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
}
button,
a {
  font: inherit;
}
a {
  color: #b84f13;
  text-underline-offset: 0.2em;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
  scroll-margin-top: 108px;
}
h1 {
  font-size: clamp(36px, 5vw, 62px);
  margin: 18px 0;
}
h2 {
  font-size: 32px;
  margin: 32px 0 16px;
}
h3 {
  font-size: 23px;
  margin: 28px 0 12px;
}
h4 {
  font-size: 19px;
  margin: 25px 0 10px;
}
.article-top,
.article-layout {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.article-top {
  padding-top: 55px;
  padding-bottom: 12px;
}
.article-top > h1,
.description,
.article-meta,
.outcome {
  max-width: 900px;
}
.description {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 21px;
}
.breadcrumbs a {
  color: #c55515;
  font-weight: 400;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs > span[aria-hidden] {
  color: #aaa;
  font-size: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0 32px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.byline img {
  border-radius: 50%;
  object-fit: cover;
}
.byline strong,
.byline time {
  display: block;
}
.byline time {
  font-size: 11px;
  color: #777;
  margin-top: 2px;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
button,
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 650;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
  box-shadow: none;
}
button:hover {
  background: #f3f3f3;
}
.ui-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 4px;
  box-shadow: none;
}
.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.download.large {
  padding: 12px 18px;
  font-size: 14px;
}
.outcome {
  background: #f4f4f4;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 28px;
}
.outcome > strong {
  font-size: 13px;
  color: #555;
}
.outcome p {
  margin: 8px 0 0;
  font-size: 18px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 900px) 220px;
  gap: 52px;
  padding-top: 12px;
  padding-bottom: 100px;
  align-items: start;
}
.article-content {
  min-width: 0;
}
.article-content > section:first-child > h2 {
  margin-top: 0;
}
.article-content p,
.article-content li {
  max-width: 770px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.article-content p {
  margin: 12px 0 20px;
}
.article-content li + li {
  margin-top: 7px;
}
.article-content section {
  min-width: 0;
}
.toc {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  scrollbar-width: thin;
  border-left: 1px solid var(--line);
  padding-left: 17px;
}
.toc strong {
  display: block;
  font-size: 11px;
  color: #777;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.toc a {
  display: block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  padding: 8px 6px;
  line-height: 1.5;
  border-radius: 3px;
}
.toc a:hover,
.toc a.active,
.toc a[aria-current="location"] {
  color: #ad4811;
  background: #fff5ed;
}
.toc a.active,
.toc a[aria-current="location"] {
  font-weight: 700;
}
.toc a.toc-sub {
  padding-left: 20px;
  font-size: 12px;
}
.copy-block {
  border-radius: 4px;
  overflow: hidden;
  margin: 24px 0;
  background: #292929;
  color: #f1f1f1;
}
.copy-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #4b4b4b;
}
.copy-head > span {
  font-size: 12px;
  margin-right: auto;
  color: #eee;
}
.copy-block pre {
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  max-width: 100%;
  overflow-x: auto;
}
.callout {
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 25px 0;
}
.callout strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.callout p {
  margin: 6px 0 0;
}
.tip {
  background: #fff7ea;
  border-color: #efd1b3;
  border-radius: 6px;
  padding: 18px 24px 20px;
}
.tip strong {
  color: #aa4b22;
  font-size: 20px;
  line-height: 1.4;
  gap: 10px;
}
.tip p {
  color: #5b5b5b;
  margin: 8px 0 0;
}
.warning {
  background: #fff4ec;
  border-color: #f2d9c8;
}
.warning strong {
  color: #a54b19;
}
.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.step h3 {
  margin-top: 3px;
}
.step-number {
  height: 42px;
  background: #fff0e6;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #bb5014;
  font-weight: 750;
}
.article-media {
  margin: 24px 0;
}
.article-media img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}
figcaption {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
}
.quote-card {
  margin: 24px 0 30px;
  padding: 32px 36px;
  background: #f7f7f7;
  border-radius: 4px;
}
.quote-card > .ui-icon {
  display: block;
  width: 33px;
  height: 33px;
  color: var(--accent);
  margin-bottom: 12px;
}
.quote-card blockquote {
  margin: 0;
  color: #333;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.025em;
  font-style: normal;
}
.quote-card figcaption {
  margin-top: 18px;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 390px;
}
caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 10px;
}
th,
td {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #f7f7f7;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  font-weight: 650;
  cursor: pointer;
  padding-right: 12px;
}
.faq details p {
  margin-bottom: 4px;
}
.ending {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 8px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 19px 20px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  text-decoration: none;
  min-height: 150px;
  color: #333;
}
.related-card:hover {
  background: #fcfaf8;
  border-color: var(--accent);
}
.related-card > span {
  font-size: 12px;
  color: #777;
}
.related-card strong {
  font-size: 18px;
  line-height: 1.4;
}
.related-card .related-arrow {
  margin-top: auto;
  color: #b94f12;
  font-size: 13px;
}
.feedback {
  margin-top: 35px;
  background: #f7f7f7;
  padding: 23px;
  border-radius: 4px;
}
.feedback > p {
  font-size: 13px;
  margin: 6px 0 14px;
}
.feedback button {
  margin-right: 8px;
}
.feedback [aria-pressed="true"] {
  border-color: var(--accent);
  background: #fff0e6;
}
.feedback [role="status"] {
  min-height: 1em;
  margin-bottom: 0;
}
.video-block {
  width: min(calc(100% - 48px), 1240px);
  margin: 24px auto 0;
}
.article-content .video-block {
  width: 100%;
}
.video-preview {
  aspect-ratio: 16/9;
  background: #283039;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.video-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0000 25%, #111920db);
  padding: clamp(17px, 4vw, 56px);
  display: flex;
  align-items: flex-end;
}
.video-title {
  color: white !important;
  font-size: clamp(26px, 4.4vw, 56px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 850px;
  margin: 0 !important;
  text-wrap: balance;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.play:hover {
  background: var(--accent-hover);
}
.play .ui-icon {
  width: 28px;
  height: 28px;
}
.video-duration {
  position: absolute;
  right: 24px;
  top: 16px;
  color: #fff;
  font-size: 12px;
}
.video-fallback {
  text-align: center;
  font-size: 13px;
  color: #666;
}
.video-preview iframe,
.video-preview video {
  width: 100%;
  height: 100%;
  border: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
@media (max-width: 950px) {
  .toc {
    display: none;
  }
  .article-layout {
    display: block;
    padding-bottom: 72px;
  }
}
@media (max-width: 800px) {
  .article-meta {
    align-items: flex-start;
  }
  .article-actions {
    width: 100%;
  }
  .article-top {
    padding-top: 35px;
  }
  .outcome {
    padding: 20px;
  }
  .article-layout {
    padding-top: 12px;
  }
}
@media (max-width: 640px) {
  .article-top,
  .article-layout {
    width: min(1120px, calc(100% - 36px));
  }
}
@media (max-width: 620px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .quote-card {
    padding: 25px 24px;
  }
  .step {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }
  .step-number {
    height: 32px;
  }
  .step h3 {
    font-size: 21px;
  }
  .video-block {
    width: calc(100% - 24px);
    margin-top: 12px;
  }
  .video-title {
    font-size: clamp(22px, 5.8vw, 32px) !important;
  }
  .play {
    width: 50px;
    height: 50px;
  }
  .play .ui-icon {
    width: 23px;
    height: 23px;
  }
  .video-duration {
    right: 12px;
    top: 8px;
  }
  h2 {
    font-size: 28px;
  }
}
