/* Independent publication design. Craft review informed by unslop, Damir Sokolovsky
   (@heydamir), CC BY 4.0: https://heydamir.design/unslop */
:root { color-scheme: light; --ink: #171717; --secondary: #525252; --muted: #6b6b6b; --line: #e8e8e8; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; --reading: Charter, "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #e5e5e5; color: #000; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #555; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.visually-hidden, .essay-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.essay-skip:focus { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 12px 16px; background: #fff; }
.essay-progress { position: fixed; z-index: 10; inset: 0 0 auto; height: 2px; pointer-events: none; }
.essay-progress span { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.essay-masthead { border-bottom: 1px solid var(--line); }
.essay-masthead nav { max-width: 1248px; min-height: 76px; margin-inline: auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.essay-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; text-decoration: none; line-height: 1; }
.essay-brand img { display: block; }
.essay-masthead nav > div { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.essay-all { text-decoration: none; color: var(--secondary); }
.essay-button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: 16px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 6px; color: #fff; background: var(--ink); font: 500 15px/1.5 var(--sans); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.essay-button:hover { background: #383838; color: #fff; }
.essay-button-small { min-height: 36px; padding: 8px 16px; font-size: 13px; }
.essay-column { width: min(720px, calc(100% - 48px)); margin-inline: auto; }
.essay-header { padding-top: 80px; }
.essay-series { color: var(--secondary); font-size: 14px; text-decoration: none; }
h1 { margin: 24px 0; font-size: clamp(32px, 3.7vw, 48px); line-height: 1.4; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.essay-title-phrase { white-space: nowrap; }
.essay-dek { margin: 0; color: var(--secondary); font-size: 20px; line-height: 1.8; }
.essay-byline { display: flex; align-items: center; gap: 12px; margin: 32px 0; font-size: 14px; line-height: 1.6; }
.essay-byline img { border: 1px solid var(--line); border-radius: 50%; }
.essay-byline p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.essay-tools { border-block: 1px solid var(--line); padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
.essay-tools button { min-height: 24px; padding: 0; border: 0; background: transparent; color: var(--secondary); cursor: pointer; }
.essay-tools input { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); background: #fff; font-size: 12px; }
.essay-body { padding-top: 40px; font: 400 20px/1.95 var(--reading); overflow-wrap: break-word; }
.essay-body p { margin: 0 0 24px; }
.essay-body strong { font-weight: 600; }
.essay-body em { font-style: normal; }
.essay-lead { font-size: 21px; line-height: 1.95; }
.essay-body section { margin-top: 64px; scroll-margin-top: 32px; }
.essay-body h2 { margin: 0 0 24px; font: 600 28px/1.5 var(--sans); letter-spacing: -.015em; text-wrap: pretty; }
.essay-body ul { padding-left: 24px; margin: 0 0 32px; }
.essay-body li { margin-bottom: 16px; padding-left: 4px; }
.essay-audience li { margin-bottom: 12px; }
.essay-toc { font: 400 14px/1.8 var(--sans); border-bottom: 1px solid var(--line); padding: 8px 0 16px; margin: 24px 0 40px; }
.essay-toc summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--secondary); list-style: none; min-height: 32px; }
.essay-toc summary::-webkit-details-marker { display: none; }
.essay-toc summary > span { font-size: 20px; }
.essay-toc[open] summary > span { transform: rotate(45deg); }
.essay-toc ol { margin: 16px 0 0; padding-left: 24px; }
.essay-toc li { margin-bottom: 8px; }
.essay-toc a { text-decoration: none; }
.essay-toc a:hover { text-decoration: underline; }
.essay-figure, .seo-editorial-figure { margin: 40px 0; }
.essay-wide { width: min(960px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.essay-figure img, .seo-editorial-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.essay-figure a, .seo-editorial-image { display: block; cursor: zoom-in; }
figcaption { margin: 12px auto 0; max-width: 720px; color: var(--muted); font: 400 13px/1.75 var(--sans); text-align: center; }
.seo-editorial-compact { width: min(400px, 100%); margin-inline: auto; }
.seo-editorial-compact img { width: 100%; }
.seo-editorial-figure figcaption a { display: inline; }
.seo-steps { padding: 0; list-style: none; counter-reset: step; margin: 32px 0; }
.seo-steps li { position: relative; counter-increment: step; padding: 0 0 24px 44px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.seo-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 4px; color: var(--muted); font: 400 13px/1.8 var(--sans); font-variant-numeric: tabular-nums; }
.seo-steps strong { display: block; margin-bottom: 8px; font: 600 17px/1.6 var(--sans); }
.seo-steps span { display: block; font-size: 18px; }
.seo-callout { margin: 32px 0; padding-left: 24px; border-left: 2px solid #a3a3a3; }
.seo-callout > strong { display: block; margin-bottom: 8px; font: 500 16px/1.6 var(--sans); }
.seo-callout p { color: var(--secondary); font-size: 18px; }
.seo-example { border-left: 2px solid var(--ink); margin: 40px 0; padding: 0 0 0 24px; }
.seo-mini-label { color: var(--muted); font: 400 13px/1.6 var(--sans); }
.seo-example blockquote { margin: 16px 0 24px; font-size: 28px; line-height: 1.6; }
.seo-example > p:last-child { color: var(--secondary); font-size: 18px; }
.seo-table-wrap { margin: 32px 0 40px; font: 400 15px/1.8 var(--sans); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: 16px 12px; vertical-align: top; }
th { font-weight: 500; color: var(--secondary); border-top: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
.essay-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.essay-faq summary { cursor: pointer; font: 500 17px/1.7 var(--sans); }
.essay-faq details p { margin: 16px 0 0; font-size: 18px; }
.essay-sources { border-top: 1px solid var(--line); padding-top: 32px; font: 400 14px/1.85 var(--sans); color: var(--secondary); }
.essay-sources h2 { font-size: 18px; }
.essay-sources ol { padding-left: 20px; }
.essay-sources li { margin: 0 0 20px; }
.essay-sources li p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.essay-next { margin: 64px 0 80px; text-align: left; }
.essay-endmark { color: #9b9b9b; text-align: center; margin-bottom: 48px !important; }
.essay-next h2 { font-size: 28px; }
.essay-next > p:not(.essay-endmark) { font-size: 18px; color: var(--secondary); }
.essay-product-link { display: block; margin-top: 20px; font: 400 14px/1.6 var(--sans); color: var(--secondary); }
.essay-footer { max-width: 1184px; margin: 0 auto; padding: 32px; border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: 12px; }
.essay-footer .essay-brand { color: var(--ink); font-size: 18px; }
.essay-footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.essay-footer nav a { text-decoration: none; }
@media (max-width: 760px) {
  .essay-masthead nav { min-height: 64px; padding: 12px 24px; }
  .essay-masthead nav > div { gap: 16px; }
  .essay-brand { font-size: 20px; }
  .essay-header { padding-top: 48px; }
  h1 { font-size: 32px; line-height: 1.5; letter-spacing: -.025em; }
  .essay-dek { font-size: 18px; line-height: 1.8; }
  .essay-byline { margin: 24px 0; }
  .essay-body { font-size: 18px; line-height: 1.95; padding-top: 32px; }
  .essay-lead { font-size: 19px; }
  .essay-body section { margin-top: 48px; }
  .essay-body h2 { font-size: 24px; }
  .essay-wide { width: 100%; margin-left: 0; transform: none; }
  figcaption { font-size: 12px; text-align: left; }
  .essay-body .seo-responsive-table thead { display: none; }
  .essay-body .seo-responsive-table tr { display: block; border-top: 1px solid var(--line); padding: 16px 0; }
  .essay-body .seo-responsive-table td { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 8px 0; border: 0; font-size: 14px; }
  .essay-body .seo-responsive-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  .seo-example blockquote { font-size: 24px; }
  .essay-footer { padding: 32px 24px; gap: 16px; }
  .essay-footer nav { width: 100%; margin-left: 0; gap: 20px; }
}
@media (max-width: 480px) { h1 { font-size: 28px; } }
@media (max-width: 380px) { .essay-all { display: none; } .essay-tools > span:first-child { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .essay-masthead, .essay-progress, .essay-tools, .essay-toc, .essay-next, .essay-footer { display: none; } .essay-header { padding-top: 0; } .essay-column { width: 100%; } .essay-wide { width: 100%; margin-left: 0; transform: none; } details > * { display: block !important; } .essay-body { font-size: 12pt; } figure { break-inside: avoid; } }
