/* Sul campo articles, on the design system (body.ds-v2). Tokens only; literal lengths use --ui-scale.
   Also holds the entry row shared by the hub index and the related-articles block. */

/* Header: kicker, title, lead, ruled meta row. */
.art-top { padding-top: var(--space-64); }
/* Kicker and lead are the shared .kicker and .lead (vf.css); the article adds the dotted trail and the blue kind. */
.art-kicker { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: 0 0 var(--space-24); }
.art-kicker:not(.chips) > * + *::before { content: "·"; margin-right: var(--space-8); }
.art h1.art-title { max-width: 24ch; margin: 0; color: var(--ink); font-size: var(--type-44); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.art h1.art-title strong { color: inherit; font-weight: 700; }
.art-title .thin { font-weight: 400; }
.art-head-in { max-width: 68ch; margin-top: var(--space-32); font-size: var(--type-17); }
.art-lead { max-width: none; margin-top: 0; }
.art-meta { display: flex; flex-wrap: wrap; margin: var(--space-32) 0 0; padding: 0; border-block: 1px solid var(--line); }
.art-meta > div { padding: var(--space-16) var(--space-24); }
.art-meta > div:first-child { padding-left: 0; }
.art-meta > div + div { border-left: 1px solid var(--line-soft); }
.art-meta dt { color: var(--muted); font-size: var(--type-13); line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.art-meta dd { margin: var(--space-8) 0 0; color: var(--ink); font-size: var(--type-15); line-height: 1.4; font-weight: 600; }
.art-meta dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.art-meta dd a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Body: 68ch measure with the contents frame on the right from 1024px; above the body on smaller screens. */
.art-rail { max-width: 68ch; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-32); margin-top: var(--space-48); font-size: var(--type-17); }
.art-prose { min-width: 0; max-width: 68ch; color: var(--text-2); font-size: var(--type-17); line-height: 1.65; font-weight: 450; overflow-wrap: break-word; }
@media (min-width: 1024px) {
  .art-layout { grid-template-columns: minmax(0, 68ch) calc(264px * var(--ui-scale)); justify-content: space-between; column-gap: var(--space-64); align-items: start; margin-top: var(--space-64); }
  .art-prose { grid-column: 1; grid-row: 1; }
  /* 112px = --space-128: clears the sticky 88px site header. */
  .art-rail { grid-column: 2; grid-row: 1; max-width: none; position: sticky; top: calc(var(--space-128) - var(--space-8)); align-self: start; max-height: calc(100vh - var(--space-128) - var(--space-8)); margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-16)) 0; padding: var(--space-8) var(--space-16) var(--space-24); overflow-y: auto; }
}

/* Contents frame: header row, then one row per existing h2. */
.art-toc summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); min-height: 44px; padding: var(--space-8) var(--space-24); color: var(--ink); font-size: var(--type-15); line-height: 1.4; font-weight: 700; cursor: pointer; list-style: none; }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc summary small { margin-left: auto; color: var(--muted); font-size: var(--type-13); font-weight: 700; }
.art-toc summary::after { content: ""; flex: 0 0 var(--space-8); width: var(--space-8); height: var(--space-8); margin-left: var(--space-8); border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-25%) rotate(45deg); transition: transform .15s ease; }
.art-toc[open] summary::after { transform: translateY(25%) rotate(225deg); }
.art-toc summary { border-top-left-radius: var(--radius-16); border-top-right-radius: var(--radius-16); }
.art-toc:not([open]) summary { border-radius: var(--radius-16); }
.art-toc li:last-child a { border-bottom-left-radius: var(--radius-16); border-bottom-right-radius: var(--radius-16); }
.art-toc[open] summary { border-bottom: 1px solid var(--line-soft); }
.art-toc summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--radius-16); }
.art-toc ul { margin: 0; padding: 0; list-style: none; }
.art-toc li + li { border-top: 1px solid var(--line-soft); }
.art-toc a { display: flex; align-items: center; min-height: 44px; padding: var(--space-8) var(--space-24); color: var(--text-2); font-size: var(--type-15); line-height: 1.4; font-weight: 450; text-decoration: none; }
.art-toc a:hover { background: var(--blue-soft); color: var(--ink); }
.art-toc a[aria-current="true"] { color: var(--ink); font-weight: 700; background: var(--paper); }
.art-toc a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (min-width: 1024px) { .art-toc a { min-height: 0; } }

/* Prose rhythm: space belongs to the element that follows. */
.art-prose p, .art-prose ul, .art-prose ol, .art-prose dl, .art-prose blockquote, .art-prose h2, .art-prose h3 { margin: 0; }
.art-prose :is(p, ul, ol, blockquote, .article-table, .article-table-wrap, .article-flow, aside) + :is(p, ul, ol, blockquote) { margin-top: var(--space-16); }
.art-prose strong { color: var(--ink); font-weight: 700; }
.art-prose :is(p, li, dd, td, th) a:not([class]) { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.art-prose :is(p, li, dd, td, th) a:not([class]):hover { color: var(--ink); text-decoration-color: currentColor; }
.art-prose code { padding: 0 .3em; border-radius: var(--radius-8); background: var(--line-soft); font: inherit; font-weight: 700; color: var(--ink); }
.art-prose h2 { margin-top: var(--space-64); padding-top: var(--space-32); border-top: 1px solid var(--line); color: var(--ink); font-size: var(--type-32); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; scroll-margin-top: var(--space-128); }
.art-prose > h2:first-child, .art-prose > .article-stage:first-child > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.art-prose h3 { margin-top: var(--space-32); color: var(--ink); font-size: var(--type-24); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.art-prose h2 + :is(p, ul, ol, dl, .article-table, .article-table-wrap) { margin-top: var(--space-16); }
.art-prose h3 + :is(p, ul, ol, dl, .article-table, .article-table-wrap) { margin-top: var(--space-8); }
.art-prose ul, .art-prose ol { padding-left: var(--space-24); }
.art-prose li + li { margin-top: var(--space-8); }
.art-prose ul li::marker { color: var(--muted); }
.art-prose ol li::marker { color: var(--ink); font-weight: 700; }
.art-prose blockquote { padding-left: var(--space-24); border-left: 2px solid var(--ink); color: var(--ink); font-size: var(--type-20); line-height: 1.5; }
.art-prose .article-faq h3 { font-size: var(--type-20); }
.art-prose .article-stage > p:first-child + h3, .art-prose .article-stage > h2 + h3 { margin-top: var(--space-24); }

/* Frames: the home's white frame with a header row and label/value rows. */
.art-prose .article-flow, .art-prose .article-real { margin-top: var(--space-32); border: 1px solid var(--line); border-radius: var(--radius-16); background: var(--white); }
.art-prose .article-flow { overflow: hidden; box-shadow: var(--shadow-1); }
.art-prose .article-flow h3 { margin: 0; padding: var(--space-16) var(--space-24); border-bottom: 1px solid var(--line-soft); font-size: var(--type-17); line-height: 1.4; letter-spacing: 0; }
.art-prose .article-flow dl { display: grid; grid-template-columns: calc(120px * var(--ui-scale)) minmax(0, 1fr); margin: 0; }
.art-prose .article-flow dt, .art-prose .article-flow dd { margin: 0; padding: var(--space-16) var(--space-24); }
.art-prose .article-flow dt { padding-right: 0; color: var(--muted); font-size: var(--type-13); line-height: 1.6; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.art-prose .article-flow dd { padding-left: var(--space-16); }
.art-prose .article-flow dt:not(:first-of-type), .art-prose .article-flow dd:not(:first-of-type) { border-top: 1px solid var(--line-soft); }
/* The last row is the footer band: the KPI, on paper. */
.art-prose .article-flow dt:last-of-type, .art-prose .article-flow dd:last-child { background: var(--paper); }
.art-prose .article-flow dt:last-of-type { color: var(--ink); }
.art-prose .article-real { margin-top: var(--space-64); padding: var(--space-24); }
.art-prose .article-real > h2 { margin: 0; padding: 0; border-top: 0; }
.art-prose .article-real > h2 + :is(p, ul) { margin-top: var(--space-16); }
.art-prose .article-tag { margin: 0 0 var(--space-8); color: var(--blue-dark); font-size: var(--type-13); line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.art-prose .article-real ul { margin-top: var(--space-16); }
.art-prose .article-price-box { margin-top: var(--space-32); }
.art-prose .article-price-box > h3:first-child { margin-top: 0; font-size: var(--type-17); line-height: 1.4; letter-spacing: 0; }

/* Tables sit in a frame and scroll inside it when narrow. */
.art-prose :is(.article-table, .article-table-wrap) { margin-top: var(--space-32); }
.art-prose .article-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-16); background: var(--white); }
.art-prose .article-table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--type-15); line-height: 1.5; }
.art-prose .article-table > .article-table-wrap { margin: 0; }
.art-prose .article-table table { min-width: calc(520px * var(--ui-scale)); }
.art-prose .article-table-wrap th, .art-prose .article-table-wrap td { padding: var(--space-16); text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); overflow-wrap: break-word; }
.art-prose .article-table-wrap tr:first-child > * { border-top: 0; }
.art-prose .article-table-wrap thead th { background: var(--blue-soft); border-bottom: 1px solid var(--line-soft); color: var(--blue-dark); font-size: var(--type-13); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.art-prose .article-table-wrap tbody th { color: var(--ink); font-weight: 700; }
.art-prose .article-price-box .article-table-wrap { margin-top: var(--space-16); border: 0; border-radius: var(--radius-8); }
.art-prose .article-table-hint { display: none; }
@media (max-width: 569px) {
  .art-prose .article-table-hint { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-8); margin-bottom: var(--space-8); color: var(--blue-dark); font-size: var(--type-13); font-weight: 700; }
  .article-table-hint svg { width: var(--space-16); height: var(--space-16); }
  .art-prose .article-table :is(th, td):first-child { min-width: var(--space-128); }
}
@media (max-width: 359px) {
  .art-prose .article-table-wrap :is(th, td) { padding-inline: var(--space-8); }
}

/* End: related articles, then the contact ask. */
.art-end { margin-top: var(--space-96); padding-block: var(--space-96); border-top: 1px solid var(--line); }
.art-end .art-related h2 { margin: 0 0 var(--space-32); color: var(--ink); font-size: var(--type-32); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.art-seealso { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-8) var(--space-24); margin: var(--space-24) 0 0; color: var(--muted); font-size: var(--type-15); line-height: 1.5; }
.art-seealso span { font-size: var(--type-13); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.art-seealso .text-link { min-height: 0; color: var(--ink); font-size: var(--type-15); }
/* The closing is the shared ask frame (vf.css). */
.art-end .ask { margin-top: var(--space-64); padding-bottom: 0; }
/* Legal pages: inner-page hero, the article prose column, the ask frame. */
.legal-head { padding-bottom: var(--space-48); }
.legal-end { margin-top: var(--space-96); }

/* Entry rows: the hub index, the featured entry and related articles. */
.hub-frame { overflow: visible; border: 1px solid var(--line); border-radius: var(--radius-16); background: var(--white); }
.hub-label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-16); margin: 0; padding: var(--space-16) var(--space-24); border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: var(--type-13); line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.entry-list { margin: 0; padding: 0; list-style: none; }
.entry + .entry { border-top: 1px solid var(--line-soft); }
.entry-link { display: grid; grid-template-columns: calc(112px * var(--ui-scale)) minmax(0, 1fr) calc(160px * var(--ui-scale)); column-gap: var(--space-24); align-items: center; padding: var(--space-24); color: inherit; text-decoration: none; }
.entry-link:hover { background: var(--blue-soft); color: inherit; }
.entry:last-child .entry-link { border-bottom-left-radius: var(--radius-16); border-bottom-right-radius: var(--radius-16); }
.entry-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.entry-art { display: block; aspect-ratio: 220 / 160; }
.entry-art img { width: 100%; height: 100%; object-fit: contain; }
.entry-copy { display: grid; gap: var(--space-8); min-width: 0; }
.entry-title { margin: 0; color: var(--ink); font-size: var(--type-24); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.entry-title .thin { font-weight: 400; }
.entry-title strong { color: inherit; font-weight: 700; }
.entry-sum { display: block; color: var(--text-2); font-size: var(--type-15); line-height: 1.5; font-weight: 450; text-wrap: pretty; }
.entry-meta { display: grid; justify-items: start; gap: var(--space-8); }
.entry-time { color: var(--muted); font-size: var(--type-13); line-height: 1.4; font-weight: 600; }
.art-related .entry-sum { display: none; }

@media (max-width: 760px) {
  .art-top { padding-top: var(--space-48); }
  .legal-end { margin-top: var(--space-64); }
  .art-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-meta > div { padding-inline: 0; }
  .art-meta > div + div { border-left: 0; }
  .art-meta > div:nth-child(even) { padding-left: var(--space-16); border-left: 1px solid var(--line-soft); }
  .art-meta > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .art-prose .article-flow dl { grid-template-columns: minmax(0, 1fr); }
  .art-prose .article-flow dt { padding: var(--space-16) var(--space-16) 0; }
  .art-prose .article-flow dd { padding: var(--space-8) var(--space-16) var(--space-16); }
  .art-prose .article-flow dt:not(:first-of-type) { border-top: 1px solid var(--line-soft); }
  .art-prose .article-flow dd:not(:first-of-type) { border-top: 0; }
  .art-prose .article-real, .art-prose .article-price-box { padding: var(--space-24) var(--space-16); }
  .entry-link { grid-template-columns: minmax(0, 1fr); align-items: start; padding: var(--space-16); }
  .entry-art { display: none; }
  .entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8) var(--space-16); margin-top: var(--space-8); }
}
@media (prefers-reduced-motion: reduce) { .art-toc summary::after { transition: none; } }

/* Mid-article contact box (27 Nov): the same shape as the closing ask frame, smaller, inside the prose column. */
.art-prose .art-mid-ask { gap: var(--space-24); margin-top: var(--space-64); }
.art-prose .art-mid-ask + h2 { margin-top: var(--space-48); }
.art-prose .art-mid-ask p { margin: 0; }
.art-prose .art-mid-ask .art-mid-title { color: var(--ink); font-size: var(--type-20); line-height: 1.3; font-weight: 700; text-wrap: balance; }
.art-prose .art-mid-ask .art-mid-title + p { margin-top: var(--space-8); }
