/* OpenCaption Live · inner page families from design/website.pen. Requires oc.css. */

/* =================== 404 (mGFmC / gmeTy) =================== */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.page-404 .site-header { position: relative; }
.nf { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 72px; min-height: 772px; padding: 0 var(--gutter); }
.nf-monitor { display: grid; gap: 10px; width: 680px; flex: none; }
.nf-tally { display: flex; justify-content: space-between; color: var(--white); }
.nf-tally span:last-child { color: var(--text-3); }
.nf-pattern { position: relative; display: flex; flex-direction: column; height: 383px; overflow: hidden; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.nf-bars { flex: 1; display: flex; }
.nf-bars i { position: relative; flex: 1; background: linear-gradient(180deg, var(--pair)); }
.nf-bars i::after { content: ""; position: absolute; inset: 0; background: var(--grain) 0 0 / 462px 462px; mix-blend-mode: overlay; opacity: .6; }
.nf-ramp { display: flex; height: 61px; }
.nf-ramp i { flex: 1; }
.nf-plate { position: absolute; left: 25%; top: 109px; width: 50%; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r); background: #000000e0; box-shadow: inset 0 0 0 1px var(--control); }
.nf-plate b { font: 400 28px/1 var(--mono); letter-spacing: 5px; color: var(--white); }
.nf-plate span { font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--text-2); }
.nf-copy { display: flex; flex-direction: column; gap: 20px; width: 360px; flex: none; }
.nf-copy h1 { font: 600 72px/73px var(--display); letter-spacing: -.04em; }
.nf-body { font: 400 18px/28px var(--font); color: var(--text-2); }
.nf-actions { display: flex; align-items: center; gap: 24px; padding-top: 8px; }
@media (max-width: 1180px) and (min-width: 761px) { .nf { flex-direction: column; align-items: flex-start; padding-block: 64px; } .nf-monitor { width: 100%; } }
@media (max-width: 760px) {
  .nf { flex-direction: column; justify-content: center; gap: 28px; min-height: 736px; padding: 0 20px; }
  .nf-monitor, .nf-copy { width: 100%; }
  .nf-pattern { height: 204px; }
  .nf-ramp { height: 33px; }
  .nf-plate { left: calc(50% - 110px); width: 220px; top: 52px; height: 68px; gap: 4px; }
  .nf-plate b { font-size: 18px; letter-spacing: 3px; }
  .nf-plate span { font-size: 9px; }
  .nf-copy { gap: 14px; }
  .nf-copy h1 { font-size: 36px; line-height: 37px; letter-spacing: -1.4px; }
  .nf-body { font-size: 14px; line-height: 22px; }
  .nf-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nf-actions .btn { width: 100%; }
  .page-404 .mini-footer { flex-direction: column; gap: 10px; }
  .page-404 .mini-footer nav { gap: 14px; }
  .nf-roadmap { display: none; }
}

/* =================== Legal (Privacy l2IdtW / o3dPh · Terms o0klf / UM2VU) =================== */
.lg-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 96px; padding-bottom: 64px; }
.lg-intro h1 { font: 600 72px/75px var(--display); letter-spacing: -.04em; }
.lg-lead { max-width: 720px; font: 400 22px/33px var(--font); color: var(--text-2); }
.lg-eff { display: flex; align-items: center; gap: 10px; padding-top: 8px; font: 400 14px/1.4 var(--font); color: var(--white); }
.lg-eff .mono { color: var(--text-3); }
.lg-rows { padding-bottom: 24px; }
.lg-row { display: grid; grid-template-columns: 360px minmax(0, 720px); column-gap: 96px; padding: 40px 0 56px; border-top: 1px solid var(--control); }
.lg-label { display: flex; flex-direction: column; gap: 12px; }
.lg-label .mono { color: var(--text-3); }
.lg-label h2 { font: 600 32px/1.15 var(--display); letter-spacing: -.04em; }
.lg-value { display: flex; flex-direction: column; gap: 20px; font: 400 18px/30px var(--font); color: var(--prose); }
.lg-value a, .lg-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff73; }
.lg-value ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.lg-note { padding-bottom: 120px; }
.lg-note p { display: flex; align-items: center; gap: 12px; padding-top: 32px; border-top: 1px solid var(--control); font: 400 18px/27px var(--font); color: var(--white); }
.lg-note .ic { width: 20px; height: 20px; color: var(--text-2); }
/* Terms variant: number + title inline, hairline rows inside one strong top rule */
.page-terms .lg-intro { padding-top: 112px; padding-bottom: 72px; }
.page-terms .lg-lead { max-width: 760px; line-height: 35px; }
.page-terms .lg-eff { padding-top: 0; gap: 8px; font-size: 16px; color: var(--text-3); }
.page-terms .lg-eff b { font-weight: 500; color: var(--white); }
.page-terms .lg-rows { padding-bottom: 0; }
.page-terms .lg-rows > :first-child { border-top: 1px solid var(--control); }
.page-terms .lg-row { grid-template-columns: 400px minmax(0, 1fr); column-gap: 48px; padding: 36px 0; border-top: 0; border-bottom: 1px solid var(--rule); }
.page-terms .lg-label { flex-direction: row; gap: 16px; }
.page-terms .lg-label .mono { line-height: 25px; }
.page-terms .lg-label h2 { font-size: 22px; line-height: 28px; letter-spacing: -.5px; }
.page-terms .lg-value { gap: 16px; line-height: 31px; }
.page-terms .lg-note { padding-top: 40px; padding-bottom: 128px; }
.page-terms .lg-note p { padding: 0 0 0 448px; border: 0; color: var(--text-2); line-height: 29px; }
@media (max-width: 1180px) and (min-width: 761px) {
  .lg-row { grid-template-columns: 280px minmax(0, 1fr); column-gap: 48px; }
  .page-terms .lg-row { grid-template-columns: 280px minmax(0, 1fr); }
  .page-terms .lg-note p { padding-left: 328px; }
}
@media (max-width: 760px) {
  .lg-intro { gap: 16px; padding-top: 32px; padding-bottom: 28px; }
  .lg-intro h1 { font-size: 40px; line-height: 42px; letter-spacing: -1.6px; }
  .lg-lead { font-size: 18px; line-height: 27px; }
  .lg-eff { padding-top: 4px; }
  .lg-rows { padding-bottom: 8px; }
  .lg-row { grid-template-columns: 1fr; row-gap: 16px; padding: 24px 0 28px; }
  .lg-label { gap: 8px; }
  .lg-label h2 { font-size: 24px; letter-spacing: -.8px; }
  .lg-value { gap: 16px; font-size: 16px; line-height: 26px; }
  .lg-note { padding-bottom: 48px; }
  .lg-note p { align-items: flex-start; padding-top: 20px; font-size: 16px; line-height: 24px; }
  .page-terms .lg-intro { gap: 14px; padding-top: 40px; padding-bottom: 28px; }
  .page-terms .lg-lead { font-size: 17px; line-height: 27px; }
  .page-terms .lg-row { grid-template-columns: 1fr; row-gap: 10px; padding: 20px 0; }
  .page-terms .lg-label { align-items: center; gap: 12px; }
  .page-terms .lg-label .mono { line-height: 1; }
  .page-terms .lg-label h2 { font-size: 20px; line-height: 26px; letter-spacing: -.3px; }
  .page-terms .lg-value { gap: 10px; font-size: 16px; line-height: 26px; }
  .page-terms .lg-note { padding: 28px 20px 48px; }
  .page-terms .lg-note p { padding: 0; font-size: 16px; line-height: 26px; }
}

/* =================== Roadmap (i520le / PnJoQ) =================== */
.rm-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 96px; padding-bottom: 64px; }
.rm-intro h1 { font: 600 96px/96px var(--display); letter-spacing: -.04em; }
.rm-lead { max-width: 560px; font: 400 22px/33px var(--font); color: var(--prose); }
.rm-jump { display: none; }
.rm-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; padding-bottom: 72px; }
.rm-stage { display: flex; flex-direction: column; gap: 12px; }
.rm-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--control); }
.rm-k { display: flex; justify-content: space-between; color: var(--white); }
.rm-k span + span { color: var(--text-3); }
.rm-sub { font: 400 14px/1.2 var(--font); color: var(--text-2); }
.rm-cards { display: flex; flex-direction: column; gap: 12px; }
.rm-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.rm-card .mono { color: var(--text-3); }
.rm-card h3 { font: 600 20px/25px var(--display); letter-spacing: -.4px; }
.rm-card p { font: 400 14px/21px var(--font); color: var(--text-2); }
.rm-empty { font: 400 14px/1.4 var(--font); color: var(--text-3); }
.rm-prompt { padding-bottom: 96px; }
.rm-prompt > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.rm-prompt p { font: 600 22px/1.2 var(--display); letter-spacing: -.5px; }
.rm-prompt .btn { padding: 0 24px; }
@media (max-width: 1180px) and (min-width: 761px) { .rm-board { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 760px) {
  .rm-intro { gap: 18px; padding-top: 40px; padding-bottom: 28px; }
  .rm-intro h1 { font-size: 48px; line-height: 48px; letter-spacing: -1.9px; }
  .rm-lead { font-size: 14px; line-height: 22px; }
  .rm-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 100%; padding: 3px; border-radius: var(--r); background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--line); }
  .rm-jump a { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 2px; }
  .rm-jump .rule { width: 20px; }
  .rm-jump b { font: 600 20px/1 var(--display); }
  .rm-jump .mono { color: var(--text-2); letter-spacing: 1px; font-size: 11px; }
  .rm-board { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; padding-bottom: 40px; }
  .rm-stage { gap: 0; }
  .rm-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding-bottom: 10px; }
  .rm-head .rule { width: 24px; }
  .rm-k { display: contents; }
  .rm-k span + span { display: none; }
  .rm-sub { font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); grid-column: 3; }
  .rm-cards { gap: 0; }
  .rm-card { gap: 4px; padding: 12px 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--rule); }
  .rm-card h3 { font-size: 17px; line-height: 22px; letter-spacing: -.3px; }
  .rm-empty { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .rm-prompt { padding-bottom: 40px; }
  .rm-prompt > div { flex-direction: column; align-items: stretch; gap: 14px; padding: 0; background: none; box-shadow: none; }
  .rm-prompt .btn { background: #ffffff14; color: var(--white); box-shadow: inset 0 0 0 1px var(--control); }
}

/* =================== Docs landing (XBLo8 / p2hGy) =================== */
.dl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.dl-titles { display: flex; flex-direction: column; gap: 32px; }
.dl-head h1, .dl-head h2 { max-width: 720px; font: 600 72px/75px var(--display); letter-spacing: -.04em; }
.dl-lead { width: 420px; flex: none; font: 400 18px/29px var(--font); color: var(--text-2); }
.dl-intro { padding-top: 112px; padding-bottom: 56px; }
.dl-intro .dl-head { padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.dl-start { padding-top: 40px; padding-bottom: 96px; }
.dl-mslate { display: none; }
.dl-card { display: flex; justify-content: space-between; gap: 64px; padding: 40px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.dl-card-text { display: flex; flex-direction: column; gap: 20px; }
.dl-card h2 { font: 600 32px/35px var(--display); letter-spacing: -.04em; }
.dl-card-text > p:not(.slate) { font: 400 18px/29px var(--font); color: var(--text-2); }
.dl-card a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff73; }
.dl-card-links { width: 360px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 0; padding-left: 32px; border-left: 1px solid var(--rule); }
.dl-card-links a { display: flex; align-items: center; gap: 12px; padding: 14px 0; text-decoration: none; font: 500 16px/1.3 var(--font); }
.dl-card-links li + li a { border-top: 1px solid var(--rule); }
.dl-card-links .mono { color: var(--text-3); }
.dl-card-links .dl-arrow { margin-left: auto; color: var(--text-2); }
.dl-browse { display: flex; flex-direction: column; gap: 56px; padding-bottom: 128px; }
.dl-table { border-top: 1px solid var(--control); }
.dl-cols, .dl-row summary { display: grid; grid-template-columns: 56px 420px minmax(0, 1fr) 120px 20px; align-items: center; column-gap: 24px; }
.dl-cols { height: 44px; border-bottom: 1px solid var(--rule); color: var(--text-3); }
.dl-row { border-bottom: 1px solid var(--rule); }
.dl-row summary { padding: 32px 0; cursor: pointer; list-style: none; }
.dl-row summary::-webkit-details-marker { display: none; }
.dl-n { color: var(--text-3); }
.dl-title { display: flex; align-items: center; gap: 14px; }
.dl-icon { width: 20px; height: 20px; color: var(--text-2); }
.dl-title h3 { font: 600 22px/1.2 var(--display); letter-spacing: -.5px; }
.dl-desc { font: 400 16px/26px var(--font); color: var(--text-2); }
.dl-count { color: var(--text-2); }
.dl-arrow { width: 20px; height: 20px; color: var(--white); transition: transform .2s; }
.dl-row[open] .dl-arrow { transform: rotate(90deg); }
.dl-row summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.dl-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: -8px 0 0 80px; padding-bottom: 28px; }
.dl-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font: 500 16px/1.3 var(--font); color: var(--white); }
.dl-links a:hover { color: var(--text-2); }
.dl-help { display: grid; gap: 12px; max-width: 720px; }
.dl-help h2 { font: 600 32px/1.1 var(--display); letter-spacing: -.04em; }
.dl-help p { font: 400 18px/29px var(--font); color: var(--text-2); }
.dl-help a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff73; }
@media (max-width: 1180px) and (min-width: 761px) {
  .dl-cols, .dl-row summary { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 100px 20px; }
  .dl-lead { width: 340px; }
}
@media (max-width: 760px) {
  .dl-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dl-titles { gap: 14px; }
  .dl-head h1, .dl-head h2 { font-size: 40px; line-height: 42px; letter-spacing: -1.6px; }
  .dl-lead { width: auto; font-size: 16px; line-height: 26px; }
  .dl-intro { padding-top: 40px; padding-bottom: 28px; }
  .dl-intro .dl-head { padding-bottom: 0; border-bottom: 0; }
  .dl-start { padding-top: 8px; padding-bottom: 40px; }
  .dl-mslate { display: flex; margin-bottom: 14px; } .dl-dslate { display: none; }
  .dl-card { flex-direction: column; gap: 12px; padding: 20px; }
  .dl-card-text { gap: 12px; }
  .dl-card h2 { font-size: 22px; line-height: 25px; letter-spacing: -.6px; }
  .dl-card-text > p:not(.slate) { font-size: 16px; line-height: 26px; }
  .dl-card-links { width: auto; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .dl-card-links a { padding: 10px 0; }
  .dl-browse { gap: 20px; padding-top: 8px; padding-bottom: 48px; }
  .dl-cols { display: none; }
  .dl-row summary { grid-template-columns: 28px minmax(0, 1fr) 20px; grid-template-areas: "n t a" ". d ." ". c ."; row-gap: 6px; column-gap: 12px; padding: 16px 0; align-items: start; }
  .dl-n { grid-area: n; line-height: 23px; }
  .dl-title { grid-area: t; gap: 10px; }
  .dl-title h3 { font-size: 20px; line-height: 26px; letter-spacing: -.3px; }
  .dl-desc { grid-area: d; font-size: 14px; line-height: 22px; }
  .dl-count { grid-area: c; color: var(--text-3); }
  .dl-arrow { grid-area: a; align-self: center; }
  .dl-links { grid-template-columns: 1fr; margin: 0 0 0 40px; padding-bottom: 16px; }
  .dl-help { padding-top: 20px; }
  .dl-help h2 { font-size: 24px; }
  .dl-help p { font-size: 16px; line-height: 26px; }
}

/* =================== Docs article (Y5n8c / oBp2P) =================== */
.dc-toolbar { display: none; }
.dc-grid { display: grid; grid-template-columns: 272px minmax(0, 760px) 216px; justify-content: space-between; column-gap: 48px; max-width: var(--max); margin: 0 auto; padding: 64px var(--edge) 128px; }
.dc-side nav, .dc-rail nav { position: sticky; top: 104px; }
.dc-side nav { display: flex; flex-direction: column; gap: 32px; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: none; }
.dc-back { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font); color: var(--text-2); }
.dc-back:hover { color: var(--white); }
.dc-rundown { display: flex; flex-direction: column; gap: 12px; }
.dc-rundown > .mono { color: var(--text-2); }
.dc-groups { border-top: 1px solid var(--control); }
.dc-group { border-bottom: 1px solid var(--rule); }
.dc-group summary { display: flex; align-items: center; gap: 10px; padding: 11px 0; cursor: pointer; list-style: none; }
.dc-group summary::-webkit-details-marker { display: none; }
.dc-group summary .mono { color: var(--text-3); }
.dc-gt { flex: 1; font: 500 15px/20px var(--font); color: var(--text-2); }
.dc-group summary .ic { color: var(--text-3); transition: transform .2s; }
.dc-group[open] summary .ic { transform: rotate(180deg); }
.dc-group[open] summary .mono:first-child, .dc-group[open] .dc-gt { color: var(--white); }
.dc-group[open] .dc-gt { font-weight: 600; }
.dc-pages { display: flex; flex-direction: column; gap: 2px; padding: 0 0 10px 32px; }
.dc-pages a { display: flex; flex-direction: column; gap: 6px; padding: 7px 0; font: 400 14px/1.35 var(--font); color: var(--text-2); }
.dc-pages a:hover { color: var(--white); }
.dc-pages a[aria-current="page"] { font-weight: 600; color: var(--white); }
.dc-pages a[aria-current="page"]::after { content: ""; width: 40px; height: 3px; background: linear-gradient(90deg, var(--p7)); }
.dc-article { display: flex; flex-direction: column; gap: 72px; min-width: 0; }
.dc-header { display: flex; flex-direction: column; gap: 24px; }
.dc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 14px/1.4 var(--font); color: var(--text-3); }
.dc-crumbs a { color: var(--text-2); }
.dc-crumbs a:hover { color: var(--white); }
.dc-crumbs [aria-current] { font-weight: 500; color: var(--white); }
.dc-header h1 { font: 600 56px/59px var(--display); letter-spacing: -2.2px; }
.dc-lead { font: 400 22px/33px var(--font); color: var(--text-2); }
.dc-sec { display: flex; flex-direction: column; gap: 24px; font: 400 18px/31px var(--font); color: var(--prose); }
.dc-h2 { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--control); }
.dc-h2 h2 { font: 600 32px/37px var(--display); letter-spacing: -1.28px; color: var(--white); scroll-margin-top: 96px; }
.dc-h2 .mono { flex: none; line-height: 26px; color: var(--text-3); }
.dc-sec a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff73; }
.dc-sec strong { color: var(--white); font-weight: 600; }
.dc-sec ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.dc-sec ul li::marker { color: var(--text-3); }
.dc-sec ol.steps, .dc-sec ol { counter-reset: cue; display: flex; flex-direction: column; }
.dc-sec ol > li { counter-increment: cue; position: relative; display: block; min-height: 64px; padding: 28px 0 28px 120px; border-bottom: 1px solid var(--rule); color: var(--prose); }
.dc-sec ol > li:last-child { border-bottom: 0; }
.dc-sec ol > li::before { content: "CUE " counter(cue, decimal-leading-zero); position: absolute; left: 0; top: 33px; font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--white); }
.dc-sec ol > li::after { content: ""; position: absolute; left: 0; top: 55px; width: 24px; height: 3px; background: linear-gradient(90deg, var(--p7)); }
.dc-sec figure { display: grid; gap: 12px; margin: 8px 0; }
.dc-sec figure img { width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.dc-sec figcaption { font: 400 14px/1.5 var(--font); color: var(--text-3); }
.dc-sec figure a { text-decoration: none; }
.dc-after { display: flex; flex-direction: column; gap: 28px; }
.dc-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.dc-next > span { display: flex; flex-direction: column; gap: 10px; }
.dc-next .mono { color: var(--text-3); }
.dc-next b { font: 600 22px/1.2 var(--display); letter-spacing: -.5px; }
.dc-next .ic { width: 20px; height: 20px; }
.dc-next:hover { box-shadow: inset 0 0 0 1px var(--control); }
.dc-rail nav { display: flex; flex-direction: column; gap: 12px; }
.dc-rail-head { display: flex; justify-content: space-between; }
.dc-rail-head .mono:first-child { color: var(--text-2); }
.dc-rail-head .mono:last-child { color: var(--text-3); }
.dc-rail-list { border-top: 1px solid var(--control); }
.dc-rail-list a, .dc-toc a { position: relative; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 500 14px/20px var(--font); color: var(--text-2); }
.dc-rail-list a .mono, .dc-toc a .mono { line-height: 20px; color: var(--text-3); }
.dc-rail-list a:hover { color: var(--white); }
.dc-rail-list a[aria-current] { font-weight: 600; color: var(--white); }
.dc-rail-list a[aria-current] .mono { color: var(--white); }
.dc-rail-list a[aria-current]::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 3px; background: linear-gradient(90deg, var(--p7)); }
@media (max-width: 1180px) and (min-width: 761px) {
  .dc-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .dc-rail { display: none; }
}
@media (max-width: 760px) {
  .dc-toolbar { position: sticky; top: 56px; z-index: 30; display: flex; justify-content: space-between; gap: 8px; height: 56px; padding: 10px 20px; background: var(--ground); border-bottom: 1px solid var(--rule); }
  .dc-drop summary { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--control); font: 500 14px/1 var(--font); cursor: pointer; list-style: none; }
  .dc-drop summary::-webkit-details-marker { display: none; }
  .dc-drop summary .mono { color: var(--text-3); }
  .dc-drop[open] summary { background: #ffffff14; }
  .dc-drawer { position: absolute; left: 0; right: 0; top: 56px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 16px 20px 24px; background: var(--ground); border-bottom: 1px solid var(--control); }
  .dc-drawer .dc-back { margin-bottom: 12px; }
  .dc-drawer .dc-group:first-of-type { border-top: 1px solid var(--control); }
  .dc-grid { display: block; padding: 28px 20px 48px; }
  .dc-side, .dc-rail { display: none; }
  .dc-article { gap: 40px; }
  .dc-header { gap: 14px; }
  .dc-header h1 { font-size: 34px; line-height: 37px; letter-spacing: -1.3px; }
  .dc-lead { font-size: 16px; line-height: 26px; }
  .dc-sec { gap: 16px; font-size: 16px; line-height: 26px; }
  .dc-h2 { gap: 16px; padding-top: 16px; }
  .dc-h2 h2 { font-size: 24px; line-height: 28px; letter-spacing: -.8px; scroll-margin-top: 128px; }
  .dc-sec ol > li { padding: 56px 0 20px; }
  .dc-sec ol > li::before { top: 20px; }
  .dc-sec ol > li::after { top: 40px; }
  .dc-after { gap: 20px; }
  .dc-next { gap: 16px; padding: 18px; }
  .dc-next b { font-size: 20px; line-height: 26px; letter-spacing: -.3px; }
}

/* =================== Guides hub (L7YyLo / vTm8C) =================== */
.cover.on-dark { color: var(--white); }
.cover { color: var(--ink); }
.gh-feature { display: flex; flex-direction: column; gap: 48px; padding-top: 64px; padding-bottom: 112px; }
.gh-feature-row { display: flex; flex-direction: row-reverse; align-items: center; gap: 64px; }
.gh-feature-cover { flex: 0 0 696px; height: 392px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.gh-cover-head { display: flex; justify-content: space-between; }
.gh-cover-head .mono:first-child { opacity: .7; }
.gh-feature-cover .gh-cover-title { font: 600 48px/51px var(--display); letter-spacing: -1.44px; }
.gh-feature-copy { display: flex; flex-direction: column; gap: 24px; }
.gh-meta { display: flex; flex-wrap: wrap; gap: 0 10px; color: var(--text-2); }
.gh-meta span + span { color: var(--text-3); }
.gh-meta b { font-weight: 400; color: var(--white); }
.gh-feature-copy h2 { font: 600 48px/52px var(--display); letter-spacing: -1.9px; }
.gh-feature-copy h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.gh-desc { font: 400 18px/29px var(--font); color: var(--text-2); }
.gh-feature-copy > div { padding-top: 8px; }
.gh-library > .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 112px; }
.gh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.gh-titles { display: flex; flex-direction: column; gap: 20px; }
.gh-titles h2 { font: 600 72px/75px var(--display); letter-spacing: -.04em; }
.gh-intro { width: 440px; font: 400 18px/29px var(--font); color: var(--text-2); }
.gh-filter { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gh-tabs { display: flex; gap: 3px; padding: 3px; border-radius: var(--r); background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--line); }
.gh-tab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 2px; background: transparent; color: var(--text-2); font: 600 14px/1 var(--font); cursor: pointer; }
.gh-tab .mono { color: var(--text-3); }
.gh-tab[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.gh-tab[aria-pressed="true"] .mono { color: var(--ink); }
.gh-search { display: flex; align-items: center; gap: 10px; width: 260px; height: 42px; padding: 0 12px; border-radius: var(--r); background: #080b0fe6; box-shadow: inset 0 0 0 1px var(--control); color: var(--text-3); }
.gh-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--white); font: 400 14px/1 var(--font); outline: 0; }
.gh-search input::placeholder { color: var(--text-3); }
.gh-search:focus-within { box-shadow: inset 0 0 0 1px var(--focus); }
.gh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.gh-card a { display: flex; flex-direction: column; gap: 14px; }
.gh-card .cover { height: 216px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.gh-cover-top { opacity: .7; }
.gh-card .gh-cover-title { font: 600 24px/27px var(--display); letter-spacing: -.7px; }
.gh-card .gh-title { display: none; }
.gh-card a:hover .cover { box-shadow: 0 0 0 1px var(--control); }
.gh-card a:hover .gh-meta span:first-child { color: var(--white); }
.gh-card .gh-meta span + span { display: none; }
.gh-empty { font: 400 16px/1.5 var(--font); color: var(--text-3); }
.gh-more { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.gh-more .mono { color: var(--text-3); }
@media (max-width: 1180px) and (min-width: 761px) {
  .gh-feature-cover { flex-basis: 50%; height: auto; aspect-ratio: 696 / 392; }
  .gh-feature-cover .gh-cover-title { font-size: 36px; line-height: 1.06; }
  .gh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-filter { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .gh-feature { gap: 20px; padding-top: 28px; padding-bottom: 48px; }
  .gh-feature-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .gh-feature-cover { flex: none; height: 204px; padding: 16px; }
  .gh-feature-cover .gh-cover-title { font-size: 26px; line-height: 1.08; letter-spacing: -.8px; }
  .gh-cover-head .mono { font-size: 11px; }
  .gh-feature-copy { gap: 16px; padding-top: 4px; }
  .gh-meta { gap: 0 8px; }
  .gh-feature-copy h2 { font-size: 30px; line-height: 33px; letter-spacing: -1.1px; }
  .gh-desc { font-size: 16px; line-height: 26px; }
  .gh-feature-copy > div { padding-top: 0; }
  .gh-feature-copy .btn { width: 100%; }
  .gh-library { border-top: 1px solid var(--rule); }
  .gh-library > .wrap { gap: 20px; padding-top: 48px; padding-bottom: 48px; }
  .gh-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .gh-titles { gap: 20px; }
  .gh-titles h2 { font-size: 40px; line-height: 1.05; letter-spacing: -1.6px; }
  .gh-intro { display: none; }
  .gh-library > .wrap { position: relative; }
  .gh-filter { display: block; }
  .gh-tabs { gap: 6px; padding: 0; overflow-x: auto; background: none; box-shadow: none; scrollbar-width: none; }
  .gh-tab { flex: none; height: 44px; padding: 0 12px; border-radius: var(--r); background: #ffffff0a; box-shadow: inset 0 0 0 1px var(--line); }
  .gh-tab[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--text); }
  .gh-tab .mono { display: none; }
  .gh-search { position: absolute; z-index: 2; right: 20px; top: 88px; width: 44px; height: 44px; justify-content: center; padding: 0; background: var(--ground); transition: width .2s; }
  .gh-search { gap: 0; cursor: pointer; }
  .gh-search .mono { display: none; }
  .gh-search input { flex: 0 0 0; width: 0; opacity: 0; font-size: 16px; }
  .gh-search:focus-within, .gh-search:has(input:not(:placeholder-shown)) { width: calc(100% - 40px); justify-content: flex-start; gap: 10px; padding: 0 12px; }
  .gh-search:focus-within input, .gh-search input:not(:placeholder-shown) { flex: 1 1 auto; opacity: 1; }
  .gh-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--control); }
  .gh-card a { flex-direction: row; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .gh-card .cover { flex: 0 0 88px; height: 66px; padding: 8px; }
  .gh-card .cover > * { display: none; }
  .gh-card a > .gh-meta { display: none; }
  .gh-card .gh-title { display: flex; flex-direction: column; gap: 6px; font: 600 17px/21px var(--display); letter-spacing: -.3px; color: var(--white); }
  .gh-mtopic { font-weight: 400; color: var(--text-2); }
  .gh-more { flex-direction: column; align-items: flex-start; }
}

/* =================== Guide article (SeIeB / BRsa0) =================== */
.ga-progress { position: sticky; top: 72px; z-index: 30; background: var(--ground); border-bottom: 1px solid var(--rule); }
.ga-progress-row { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 var(--edge); }
.ga-progress-row > .mono:first-child { color: var(--text-3); }
.ga-live { padding: 3px 8px 4px; border-radius: var(--r); background: linear-gradient(90deg, var(--p5)); font: 600 14px/1.2 var(--display); letter-spacing: -.2px; white-space: nowrap; }
.ga-ptitle { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 14px/1 var(--font); color: var(--text-3); }
.ga-pos { color: var(--text-2); white-space: nowrap; }
.ga-track { height: 2px; }
.ga-track i { display: block; width: 0; height: 2px; background: linear-gradient(90deg, var(--p5)); }
.ga { --col: 680px; }
.ga-header { display: flex; flex-direction: column; gap: 24px; width: min(var(--col), calc(100% - 40px)); margin: 0 auto; padding: 72px 0 48px; }
.ga-crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-3); }
.ga-crumbs a:hover { color: var(--white); }
.ga-crumbs [aria-current] { color: var(--text-2); }
.ga-header h1 { font: 600 56px/58px var(--display); letter-spacing: -2.2px; }
.ga-stand { font: 400 22px/33px var(--font); color: var(--text-2); }
.ga-meta { display: flex; align-items: center; gap: 32px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ga-author { display: flex; flex-direction: column; gap: 4px; font: 400 13px/1.3 var(--font); color: var(--text-2); }
.ga-author strong { font: 600 14px/1.3 var(--font); color: var(--white); }
.ga-date { display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.3 var(--font); color: var(--white); }
.ga-date .mono { color: var(--text-3); }
.ga-contents { display: none; }
.ga-grid { position: relative; padding: 24px 0 128px; }
.ga-rail { position: absolute; left: 72px; top: 24px; bottom: 128px; width: 240px; }
.ga-rail nav { position: sticky; top: 148px; display: flex; flex-direction: column; gap: 16px; }
.ga-rail-head { display: flex; justify-content: space-between; }
.ga-rail-head .mono:first-child { color: var(--text-2); }
.ga-rail-head .mono:last-child { color: var(--text-3); }
.ga-rail-list { border-top: 1px solid var(--control); }
.ga-rail-list a, .ga-contents a { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); font: 400 15px/20px var(--font); color: var(--text-2); }
.ga-rail-list a .mono, .ga-contents a .mono { line-height: 20px; color: var(--text-3); }
.ga-rl { display: flex; flex-direction: column; gap: 7px; }
.ga-rail-list a:hover { color: var(--white); }
.ga-rail-list a[aria-current] { font-weight: 600; color: var(--white); }
.ga-rail-list a[aria-current] .mono { color: var(--white); }
.ga-rail-list a[aria-current] .ga-rl::after { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--p9)); }
.ga-body { width: min(var(--col), calc(100% - 40px)); margin: 0 auto; font: 400 18px/31px var(--font); color: var(--prose); }
.ga-body > * + * { margin-top: 24px; }
.ga-short { display: flex; flex-direction: column; gap: 20px; margin-bottom: 72px; padding: 28px 0 32px; border-top: 1px solid var(--control); border-bottom: 1px solid var(--control); font: 400 22px/34px var(--font); color: var(--white); }
.ga-short-k { display: flex; align-items: center; gap: 12px; color: var(--white); }
.ga-short ul { display: grid; gap: 10px; padding-left: 1.1em; list-style: disc; }
.ga-short li::marker { color: var(--text-3); }
.ga-body > .ga-cue { margin-top: 72px; }
.ga-body > .ga-short + .ga-cue, .ga-body > .ga-short + p + .ga-cue { margin-top: 72px; }
.ga-body > .ga-cue + h2 { margin-top: 24px; }
.ga-body h2 { font: 600 40px/44px var(--display); letter-spacing: -1.4px; color: var(--white); scroll-margin-top: 140px; }
.ga-body h3 { font: 600 22px/29px var(--display); letter-spacing: -.5px; color: var(--white); }
.ga-body strong { font-weight: 600; color: var(--white); }
.ga-body a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff73; overflow-wrap: anywhere; }
.ga-body > ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.ga-body > ul li::marker { color: var(--text-3); }
.ga-body > ol { counter-reset: gi; border-top: 1px solid var(--control); }
.ga-body > ol > li { counter-increment: gi; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--rule); font: 400 17px/26px var(--font); }
.ga-body > ol > li::before { content: counter(gi, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: 400 12px/26px var(--mono); letter-spacing: .1em; color: var(--text-3); }
.article-aside { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 22px; border-radius: var(--r); background: #0d0e12; box-shadow: inset 0 0 0 1px var(--line); font: 400 16px/26px var(--font); color: var(--text-2); }
.article-aside > p:first-child strong { font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.ga-body blockquote { padding: 4px 0 4px 24px; border-left: 2px solid var(--control); font: 500 22px/32px var(--display); letter-spacing: -.4px; color: var(--white); }
.ga-body table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--font); }
.ga-body th { padding: 10px 12px 10px 0; text-align: left; font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--control); }
.ga-body td { padding: 12px 12px 12px 0; vertical-align: top; border-bottom: 1px solid var(--rule); color: var(--prose); }
.ga-body td:first-child { font-weight: 600; color: var(--white); }
.ga-body hr { height: 1px; margin: 48px 0 0; border: 0; background: var(--control); }
.ga-body hr + p { color: var(--text-2); font-size: 16px; line-height: 26px; }
.ga-body .ws-section { margin: 72px 0 0; }
.ga-body .ws-section h2 { scroll-margin-top: 140px; }
@media (max-width: 1359px) and (min-width: 1100px) {
  .ga-header, .ga-body { width: min(var(--col), calc(100% - 384px)); margin-left: 336px; margin-right: 48px; }
}
@media (max-width: 1099px) and (min-width: 761px) {
  .ga-rail { display: none; }
  .ga-contents { display: block; }
}
@media (max-width: 760px) {
  .ga-progress { top: 56px; }
  .ga-progress-row { gap: 10px; height: 40px; padding: 0 20px; }
  .ga-live { padding: 2px 7px 3px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
  .ga-ptitle { display: block; visibility: hidden; }
  .ga-header { gap: 18px; padding: 24px 0; }
  .ga-crumbs { gap: 8px; }
  .ga-crumb-cur { display: none; }
  .ga-header h1 { font-size: 36px; line-height: 38px; letter-spacing: -1.4px; }
  .ga-stand { font-size: 18px; line-height: 27px; }
  .ga-meta { padding: 16px 0; }
  .ga-rail { display: none; }
  .ga-contents { display: block; border-radius: var(--r); background: #0d0e12; box-shadow: inset 0 0 0 1px var(--line); }
  .ga-body { font-size: 16px; line-height: 26px; }
  .ga-short { margin-bottom: 44px; padding: 20px 0 22px; font-size: 18px; line-height: 28px; }
  .ga-body > .ga-cue { margin-top: 44px; }
  .ga-body h2 { font-size: 26px; line-height: 29px; letter-spacing: -1.04px; scroll-margin-top: 120px; }
  .ga-body > * + * { margin-top: 16px; }
  .ga-body > .ga-cue + h2 { margin-top: 16px; }
  .ga-short { gap: 14px; }
  .ga-body h3 { font-size: 20px; line-height: 26px; }
  .ga-body > ol > li { font-size: 16px; }
  .ga-body table { display: block; overflow-x: auto; }
  .ga-grid { padding: 8px 0 64px; }
}
.ga-contents summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.ga-contents summary::-webkit-details-marker { display: none; }
.ga-contents summary > span { display: flex; flex-direction: column; gap: 5px; }
.ga-contents summary .mono { color: var(--text-2); }
.ga-contents summary b { font: 600 16px/1.2 var(--font); }
.ga-contents nav { padding: 0 16px 8px; }
.ga-contents a:last-child { border-bottom: 0; }

/* =================== Pricing (no unique frame: homepage cue 10 + legal row structure) =================== */
.pr-details .pr-head { padding-top: 96px; padding-bottom: 28px; }
.pr-details .lg-rows { padding-bottom: 120px; }
.lg-value strong { color: var(--white); }
@media (max-width: 760px) { .pr-details .pr-head { padding-top: 48px; padding-bottom: 16px; } .pr-details .lg-rows { padding-bottom: 48px; } }
.rm-card { position: relative; }
.rm-top { display: flex; justify-content: space-between; gap: 12px; }
.rm-now { color: var(--white) !important; }
.rm-card.is-now { box-shadow: inset 0 0 0 1px var(--control); }
.rm-live { position: absolute; left: 0; top: 0; width: 120px; height: 3px; border-radius: var(--r) 0 0 0; background: linear-gradient(90deg, var(--pair)); }
@media (max-width: 760px) { .rm-live { display: none; } .rm-card.is-now { box-shadow: none; } .rm-card.is-now .rm-top .mono:first-child { color: var(--white); } }

@keyframes ghFade { from { opacity: 0; } to { opacity: 1; } }
.gh-grid.fading { animation: ghFade 200ms ease-out; }

/* Reading layouts: center content without floating navigation rails. */
.dc-grid { display: block; width: min(100%, 904px); padding: 64px var(--edge) 128px; }
.ga-header, .ga-body { width: min(var(--col), calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.ga-header { padding-top: 56px; }
@media (max-width: 760px) {
  .dc-grid { padding: 28px 20px 48px; }
  .ga-header { padding-top: 28px; }
}

/* A small brand-color accent identifies the reading header. */
.ga-header::before, .dc-header::before { content: ""; display: block; width: min(160px, 100%); height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--p5)); }
.ga-meta { flex-wrap: wrap; row-gap: 16px; }
.ga-author-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.ga-author-label { color: var(--text-2); font: 400 11px/1.25 var(--mono); text-transform: uppercase; }
.ga-category { display: inline-block; padding: 4px 8px; border: 1px solid #7eb6e366; border-radius: 4px; color: #c7e3f8; background: #7eb6e312; font: 400 11px/1.25 var(--mono); }

/* Reading tables keep row labels visible while narrow screens scroll. */
.dc-intro { display: flex; flex-direction: column; gap: 20px; font: 400 18px/31px var(--font); color: var(--prose); }
.dc-intro ul { display: grid; gap: 12px; padding-left: 1.2em; list-style: disc; }
.dc-intro strong { color: var(--white); }
.table-hint { display: none; color: var(--text-2); font: 400 13px/1.4 var(--font); }
.article-table { max-width: 100%; overflow-x: auto; }
.article-table:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@media (max-width: 760px) {
  .dc-intro { gap: 16px; font-size: 16px; line-height: 26px; }
  .table-hint { display: block; }
  .ga-body > .table-hint { margin-bottom: 8px; }
  .ga-body > .table-hint + .article-table { margin-top: 0; }
  .ga-body .article-table table { display: table; overflow: visible; min-width: 600px; }
  .article-table th:first-child, .article-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--ground); }
}
