@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts/instrument-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts/instrument-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/lexend-deca-700.ttf) format('truetype');
}
:root {
    --hc-canvas: #EDEAE4;
    --hc-white: #FFFFFF;
    --hc-ink: #222222;
    --hc-body: #222222;
    --hc-muted: #6B665F;
    --hc-line: #E0DCD4;
    --hc-accent: #F2761E;
    --hc-tint: #F6F4F0;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--hc-body);
    background: var(--hc-canvas);
    line-height: 1.6;
    font-size: 16px;
}
h1, h2, h3, h4 { font-family: "Lexend Deca", sans-serif; font-weight: 700; color: var(--hc-ink); line-height: 1.15; letter-spacing: -0.02em; }
a { color: var(--hc-ink); }
.hc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.hc-strip { background: var(--hc-ink); color: #fff; font-size: 13px; }
.hc-strip .hc-wrap { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.hc-strip a { color: #fff; text-decoration: none; }
.hc-strip a:hover { text-decoration: underline; text-decoration-color: var(--hc-accent); }
.hc-strip-tag { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; color: var(--hc-accent); white-space: nowrap; }

.hc-header { background: rgba(237, 234, 228, .94); border-bottom: 1px solid var(--hc-line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.hc-header .hc-wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.hc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hc-ink); flex-shrink: 0; }
.hc-brand img { height: 32px; width: auto; display: block; }
.hc-brand span { font-weight: 600; font-size: 15px; color: var(--hc-muted); padding-left: 10px; border-left: 1px solid var(--hc-line); }
.hc-nav { display: flex; gap: 20px; flex: 1; }
.hc-nav a { color: var(--hc-ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.hc-nav a:hover { text-decoration: underline; text-decoration-color: var(--hc-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hc-cta-btn { background: var(--hc-ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 10px 18px; white-space: nowrap; }
.hc-cta-btn:hover { background: #000; }

.hc-hero { padding: 80px 0 40px; }
.hc-hero h1 { margin: 0 0 14px; font-size: 56px; letter-spacing: -0.03em; line-height: 1.05; }
.hc-hero p { margin: 0 0 32px; color: var(--hc-muted); font-size: 18px; }

.hc-search { display: flex; gap: 8px; max-width: 640px; }
.hc-search input {
    flex: 1; min-width: 0; padding: 13px 16px; font: inherit; font-size: 16px; border-radius: 10px;
    border: 1px solid var(--hc-line); background: var(--hc-white); color: var(--hc-ink);
}
.hc-search input:focus { outline: 2px solid var(--hc-ink); outline-offset: 1px; }
.hc-search button {
    padding: 0 20px; border: 0; border-radius: 10px; background: var(--hc-ink); color: #fff;
    font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.hc-search button:hover { background: #000; }

.hc-main { padding: 24px 0 96px; }
.hc-crumbs { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hc-muted); margin-bottom: 16px; }
.hc-crumbs a { color: var(--hc-muted); text-decoration: none; }
.hc-crumbs a:hover { text-decoration: underline; text-decoration-color: var(--hc-accent); }
.hc-section-title { font-size: 30px; margin: 72px 0 24px; }
.hc-main > .hc-wrap > .hc-section-title:first-child { margin-top: 24px; }
.hc-section-title a { color: var(--hc-ink); text-decoration: none; }
.hc-section-title a:hover { text-decoration: underline; text-decoration-color: var(--hc-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hc-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border-radius: 14px; border: 1px solid var(--hc-line);
    text-decoration: none; color: var(--hc-body); background: var(--hc-white); transition: border-color .28s, transform .28s;
}
.hc-card:hover { border-color: var(--hc-ink); transform: translateY(-2px); }
.hc-card-icon { position: absolute; right: -22px; bottom: -24px; width: 110px; height: 110px; opacity: .08; transform: rotate(-8deg); pointer-events: none; }
.hc-card > * { position: relative; }
.hc-card > .hc-card-icon { position: absolute; }
.hc-card h3 { margin: 0; display: block; font-family: "Lexend Deca", sans-serif; color: var(--hc-ink); font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.hc-card p { margin: 0; font-size: 15px; line-height: 1.5; min-height: 3em; color: var(--hc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-count { margin-top: auto; padding-top: 10px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-ink); display: flex; align-items: center; gap: 8px; }
.hc-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hc-accent); flex: none; }

.hc-main > .hc-wrap > h1 { font-size: 50px; letter-spacing: -0.03em; line-height: 1.08; margin: 40px 0 32px; }
.hc-list { list-style: none; margin: 0; padding: 8px 32px; background: var(--hc-white); border: 1px solid var(--hc-line); border-radius: 16px; }
.hc-list li { border-bottom: 1px solid var(--hc-line); }
.hc-list li:last-child { border-bottom: 0; }
.hc-list a { display: block; padding: 20px 0; font-size: 17px; text-decoration: none; color: var(--hc-ink); font-weight: 600; }
.hc-list a:hover { text-decoration: underline; text-decoration-color: var(--hc-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hc-list p { margin: -12px 0 20px; font-size: 15px; color: var(--hc-muted); }
.hc-empty { color: var(--hc-muted); }

.hc-columns { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; }
.hc-article { min-width: 0; background: var(--hc-white); border: 1px solid var(--hc-line); border-radius: 16px; padding: clamp(32px, 4vw, 48px) clamp(28px, 4.5vw, 56px) 56px; }
.hc-article h1 { font-size: clamp(32px, 2.4vw + 10px, 42px); letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; margin: 28px 0 0; }
.hc-updated { color: var(--hc-ink); font-size: 14px; margin: 24px 0 36px; display: flex; align-items: center; gap: 10px; }
.hc-updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hc-accent); }
.hc-aside { order: -1; position: sticky; top: 180px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.hc-aside > * { background: var(--hc-white); border: 1px solid var(--hc-line); border-radius: 16px; padding: 24px 22px; }
.hc-aside h2 { font-family: "IBM Plex Mono", monospace; font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--hc-muted); margin: 0 0 16px; }
.hc-aside > h2 { margin: 0 0 -16px; padding-bottom: 0; border-bottom: 0; border-radius: 16px 16px 0 0; }
.hc-aside > h2 + ul { padding-top: 0; border-top: 0; border-radius: 0 0 16px 16px; }
.hc-aside .hc-search { flex-direction: column; }
.hc-aside .hc-search { padding: 14px; flex-direction: column; }
.hc-aside .hc-search input { background: var(--hc-tint); border-color: var(--hc-tint); font-size: 15px; padding: 10px 12px; }
.hc-aside .hc-search button { padding: 10px 14px; font-size: 14px; }
.hc-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hc-aside > nav ul { border-left: 1px solid var(--hc-line); }
.hc-aside li { margin: 0; }
.hc-aside a { display: block; text-decoration: none; color: var(--hc-ink); padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.45; transition: color .2s, border-color .2s; }
.hc-aside a:hover { border-left-color: var(--hc-line); }
.hc-aside a.active { color: var(--hc-ink); border-left-color: var(--hc-accent); font-weight: 600; }

.hc-body { overflow-wrap: break-word; font-size: 18px; line-height: 1.75; max-width: 760px; text-wrap: pretty; }
.hc-body p { margin: 0 0 18px; }
.hc-body a { color: var(--hc-ink); text-decoration: underline; text-decoration-color: var(--hc-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hc-body a:hover { text-decoration-color: var(--hc-ink); }
.hc-body h2 { font-size: 36px; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; margin: 52px 0 18px; scroll-margin-top: 100px; }
.hc-body h3 { font-size: 24px; line-height: 1.25; margin: 44px 0 14px; scroll-margin-top: 100px; }
.hc-body h4 { font-size: 20px; margin: 32px 0 10px; letter-spacing: -0.01em; }
.hc-body ul, .hc-body ol { padding-left: 1.3em; margin: 0 0 24px; }
.hc-body li { margin: 0 0 10px; padding-left: 4px; }
.hc-body ul li::marker { color: var(--hc-accent); }
.hc-body ul.toc { list-style: none; padding-left: 0; }
.hc-body img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--hc-line); margin: 12px 0; }
.hc-body hr { border: 0; border-top: 1px solid var(--hc-line); margin: 48px 0; }
.hc-body table { width: 100%; border-collapse: collapse; margin: 28px 0 36px; display: block; overflow-x: auto; font-size: 16px; line-height: 1.55; }
.hc-body table > tbody { display: table; width: 100%; border-collapse: collapse; }
.hc-body th, .hc-body td { overflow-wrap: normal; word-break: normal; hyphens: none; border-bottom: 1px solid var(--hc-line); padding: 14px 16px; text-align: left; vertical-align: top; }
.hc-body th { background: var(--hc-ink); color: #fff; font-weight: 600; }
.hc-body td:first-child { font-weight: 600; }
.hc-body th:first-child, .hc-body td:first-child { min-width: 150px; }
.hc-body .table-striped td:first-child { font-weight: 400; }
.hc-body .table-striped tr:nth-child(even) td { background: var(--hc-tint); }
.hc-body code, .hc-body .inline-code {
    font-family: "IBM Plex Mono", SFMono-Regular, Consolas, monospace; font-size: 0.85em; background: var(--hc-canvas);
    padding: 2px 6px; border-radius: 6px; color: var(--hc-ink);
}
.hc-body pre { background: var(--hc-ink); color: #EDEAE4; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.hc-body pre code { background: none; color: inherit; padding: 0; }
.hc-body blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--hc-ink); color: var(--hc-muted); }

.hc-body .callout, .hc-body .callout-blue, .hc-body .callout-green, .hc-body .callout-yellow, .hc-body .callout-red {
    margin: 28px 0; padding: 22px 26px; border-radius: 12px; background: var(--hc-tint); border-left: 4px solid var(--hc-ink); font-size: 17px;
}
.hc-body .callout-yellow { background: var(--hc-canvas); border-left-color: var(--hc-accent); }
.hc-body .callout-red { background: #FDEBDD; border-left-color: var(--hc-accent); }
.hc-body .callout p:last-child, .hc-body [class^="callout-"] p:last-child { margin-bottom: 0; }

.hc-body .video { margin: 32px 0; }
.hc-body .video-responsive { position: relative; aspect-ratio: 16 / 9; }
.hc-body .video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.hc-body iframe { max-width: 100%; }
.hc-body figure { margin: 32px 0; }
.hc-body figcaption { color: var(--hc-muted); font-size: 14px; margin-top: 6px; }
.hc-body dt { font-weight: 700; color: var(--hc-ink); margin-top: 1em; }
.hc-body dd { margin: 0 0 0.6em; }

.hc-stuck { margin: 64px 0 0; background: var(--hc-ink); color: #fff; border-radius: 16px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hc-stuck h2 { color: #fff; font-size: 22px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.hc-stuck h2::before { content: ""; width: 16px; height: 3px; background: var(--hc-accent); border-radius: 1px; }
.hc-stuck p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 15px; }
.hc-stuck button { background: #fff; color: var(--hc-ink); border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }

.hc-related { margin-top: 56px; }
.hc-related h2 { font-size: 26px; margin: 0 0 12px; }
.hc-related .hc-list { padding: 0; background: none; border-radius: 0; border-top: 1px solid var(--hc-line); }
.hc-related .hc-list li:last-child { border-bottom: 1px solid var(--hc-line); }

.hc-footer { color: var(--hc-muted); font-size: 14px; padding: 32px 0 48px; border-top: 1px solid var(--hc-line); }

@media (max-width: 1080px) {
    .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
    .hc-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
    .hc-aside { position: static; order: -1; }
    .hc-aside .hc-toc { display: none; }
    .hc-article { padding: 32px 28px 40px; }
}
@media (max-width: 720px) {
    .hc-wrap { padding: 0 16px; }
    .hc-strip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hc-header .hc-wrap { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
    .hc-brand img { height: 28px; }
    .hc-cta-btn { margin-left: auto; padding: 8px 14px; font-size: 13px; }
    .hc-nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; scrollbar-width: none; }
    .hc-hero { padding: 44px 0 28px; }
    .hc-hero h1 { font-size: 38px; }
    .hc-hero p { font-size: 16px; }
    .hc-section-title { font-size: 24px; margin: 48px 0 16px; }
    .hc-grid { grid-template-columns: 1fr; gap: 12px; }
    .hc-card { padding: 20px 20px 18px; }
    .hc-article { padding: 28px 20px 32px; border-radius: 14px; }
    .hc-article h1 { font-size: 30px; margin-top: 18px; }
    .hc-updated { margin: 16px 0 28px; }
    .hc-main > .hc-wrap > h1 { font-size: 34px; margin: 24px 0 20px; }
    .hc-list { padding: 4px 20px; }
    .hc-body { font-size: 16px; line-height: 1.7; }
    .hc-body h2 { font-size: 25px; margin: 48px 0 16px; }
    .hc-body h3 { font-size: 21px; margin: 36px 0 12px; }
    .hc-body table { font-size: 15px; margin-right: -20px; }
    .hc-body table > tbody { min-width: 520px; }
    .hc-body th, .hc-body td { padding: 12px 14px; }
    .hc-body th:first-child, .hc-body td:first-child { min-width: 120px; }
    .hc-aside > .hc-search { padding: 10px; flex-direction: row; }
    .hc-aside .hc-search button { padding: 0 16px; }
    .hc-nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .hc-stuck { padding: 24px 22px; margin-top: 48px; }
    .hc-stuck button { width: 100%; }
}

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #215BCC; outline-offset: 4px; }
.hc-skip { position: absolute; top: -100px; left: 16px; z-index: 30; background: #fff; padding: 12px 16px; border: 2px solid #222; border-radius: 8px; }
.hc-skip:focus { position: fixed; top: 12px; }
.hc-main { padding-top: 0; scroll-margin-top: 180px; }
.hc-body h2, .hc-body h3 { scroll-margin-top: 180px; }
.hc-main > .hc-wrap { padding-top: 24px; }
.hc-header .hc-wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 12px 20px; }
.hc-header-search { flex: 1 0 100%; justify-content: flex-end; }
.hc-header-search input { flex: 0 1 280px; padding: 8px 12px; }
.hc-header-search button { padding: 0 16px; }
.hc-brand { margin-right: auto; }
.hc-columns > div { min-width: 0; }
.hc-body { overflow-wrap: anywhere; }
.hc-result-category { display: block; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--hc-muted); margin: 0 0 18px; }
mark { background: #FDE1B8; color: var(--hc-ink); }
.hc-stuck a { background: #fff; color: var(--hc-ink); border-radius: 10px; padding: 11px 18px; font-weight: 600; text-decoration: none; }
@media (max-width: 1080px) { .hc-header .hc-wrap { gap: 12px; } .hc-nav { flex: 1 0 100%; order: 3; flex-wrap: wrap; } .hc-header-search { order: 4; } }
@media (max-width: 720px) { .hc-content-search, .hc-article + .hc-aside { display: none; } .hc-header { position: static; } .hc-main, .hc-body h2, .hc-body h3 { scroll-margin-top: 0; } .hc-header-search { max-width: none; } .hc-header-search input { flex: 1; } .hc-nav { flex-wrap: nowrap; max-width: 100%; } .hc-body table { max-width: 100%; margin-right: 0; } .hc-stuck a { text-align: center; width: 100%; } }
