@font-face {
  font-family: "Funnel Display";
  src: url("/fonts/FunnelDisplay.a18ddd52.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

/* Warm paper, sumi ink, one signal colour. The Router site forks this sheet: keep the token names. */
:root {
  color-scheme: light dark;
  --paper: light-dark(#efede7, #131210);
  --surface: light-dark(#e5e1d8, #1d1b18);
  --ink: light-dark(#1b1a17, #ece8df);
  --muted: light-dark(#67635b, #a39e93);
  --rule: light-dark(#d6d1c6, #34312b);
  --strong-rule: light-dark(#8a857a, #6f6a60);
  --accent: light-dark(#ff4f00, #ff6a26);
  --ok: light-dark(#4f6b4a, #9fbf94);
  --display: "Funnel Display", Inter, system-ui, sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, "IBM Plex Mono", monospace;
  --pad: clamp(1rem, 4.2vw, 4.5rem);
  --measure: 83rem;
  --label: 500 .6875rem/1.4 var(--mono);
}
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
[hidden], .js [data-inactive], .js .static-tab-label { display: none !important; }
:root:not(.js) :is(.tab-strip, .copy-btn, .theme-btn) { display: none; }
html { scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
:where(a, button, summary, select, input, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
:where(h1, h2, h3) { font-family: var(--display); font-weight: 420; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
code, pre, kbd { font-family: var(--mono); }
:is(p, td, li, dd) > code { font-size: .86em; overflow-wrap: anywhere; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }

/* Keycaps: small bordered squares, like device buttons. */
kbd { display: inline-block; min-width: 1.6em; padding: .05em .35em; border: 1px solid var(--strong-rule); border-bottom-width: 2px; border-radius: 2px; font-size: .78em; line-height: 1.45; text-align: center; white-space: nowrap; }

/* Manual labels: small uppercase mono, numbered in the signal colour. */
.label, .eyebrow { display: block; color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; }
.label__num { color: var(--accent); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); vertical-align: middle; }
.dot--accent { background: var(--accent); }
.dot--ok { background: var(--ok); }

.skip-link { position: absolute; left: var(--pad); top: 0; z-index: 5; transform: translateY(-150%); background: var(--ink); color: var(--paper); padding: .55rem 1rem; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner, .site-main, .site-footer__inner { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--pad); }
.site-header__inner { display: flex; align-items: center; gap: clamp(.6rem, 2.6vw, 2.25rem); min-height: 3.75rem; }
.brand-link { display: inline-flex; align-items: center; gap: .55rem; flex: none; margin-right: auto; font: 450 1.05rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand-link:hover { text-decoration: none; }
.brand-word { white-space: pre; }
.brand-word__aside { color: var(--muted); }
.brand-mark { display: block; width: 1.5rem; height: 1.5rem; padding: .12rem; border-radius: 2px; color: var(--paper); background: var(--ink); }
.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.75rem); }
.site-nav a, .theme-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; }
.site-nav a { font: var(--label); letter-spacing: .12em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }
.theme-btn { width: 2rem; padding: 0; color: var(--ink); background: none; border: 0; }
.theme-symbol { display: block; width: .85rem; height: .85rem; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
[data-mode="dark"] .theme-symbol { background: currentColor; }
[data-mode="light"] .theme-symbol { background: transparent; }

.site-main { flex: 1; padding-block: clamp(2.25rem, 4.6vw, 4.5rem) clamp(3.5rem, 8vw, 7rem); }
.site-main:focus { outline: none; }

/* Home: hero */
.hero { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero > *, .pillar > * { min-width: 0; }
.hero h1 { max-width: 16ch; margin-top: 1rem; font-size: clamp(2.35rem, 4.4vw, 3.6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.hero__summary { max-width: 34rem; margin-top: 1.1rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.08rem); text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; margin: 1.75rem 0 0; }
.download-meta { margin: 0; color: var(--muted); font: 400 13px/1.6 var(--sans); }
.download-meta:first-of-type { margin-top: 14px; }

/* Spec sheet: key/value rows on hairlines. */
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: minmax(6.5rem, 9.5rem) minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; padding-top: .2rem; }
.spec dd { margin: 0; font-size: .94rem; }
.spec--compare .spec__row { grid-template-columns: minmax(6.5rem, 9.5rem) repeat(2, minmax(0, 1fr)); }
.spec--compare .spec__head dd { color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; }

/* Install commands under the hero. */
.install-row { display: grid; gap: 0 clamp(1rem, 2.5vw, 2rem); padding-block: 1.5rem clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.install-row > * { min-width: 0; }
.install-row .label { margin-bottom: .2rem; }

/* Home: numbered pillar rows */
.pillars { border-top: 1px solid var(--ink); }
.pillar { display: grid; gap: 1rem clamp(1.5rem, 3vw, 3rem); padding-block: clamp(1.75rem, 4vw, 3.25rem); border-bottom: 1px solid var(--rule); }
.pillar h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.pillar__text p { max-width: 62ch; margin-top: .75rem; color: var(--muted); text-wrap: pretty; }
.pillar__text p strong { color: var(--ink); font-weight: 550; }
.pillar__link { display: inline-block; margin-top: 1rem; font: var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.pillar__link:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.pillar--pro h2 { max-width: 22ch; }

.btn, .text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font: 500 .92rem/1.2 var(--sans); text-decoration: none; }
.btn { justify-content: center; padding: .65rem 1.05rem; border: 1px solid var(--ink); border-radius: 2px; }
.btn--primary { color: var(--paper); background: var(--ink); }
.btn--primary:hover { text-decoration: none; background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.btn--secondary:hover { text-decoration: none; background: var(--surface); }
.text-link:hover { text-decoration: underline; }
.text-link span { color: var(--muted); }

/* Download control and Apple artwork from app-foundation 180bc06 (Yaprack), per brand web/DOWNLOAD.md. */
:is(a.platform-action, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  min-width: min(184px, 100%);
  max-width: 100%;
  padding: 12px 30px 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease-out;
}
:is(.platform-action--mac, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"])::before {
  content: "";
  flex: 0 0 1.1em;
  width: 1.1em;
  height: 1.2833em;
  transform: translateY(-.04em);
  background: currentColor;
  mask: url("/apple.svg") center / contain no-repeat;
}
:is(a.platform-action, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"]):hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); text-decoration: none; }
:is(a.platform-action, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (forced-colors: active) {
  :is(a.platform-action, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"]) { border-color: LinkText; }
  :is(.platform-action--mac, .pj a.pj-cta[href^="/downloads/"], .pj-article-cta a[data-pj-cta-link][href^="/downloads/"])::before { background: LinkText; forced-color-adjust: none; }
}
.pj-article-cta a[data-pj-cta-link][href^="/downloads/"] span[aria-hidden] { display: none; }

/* Terminal blocks */
.terminal-frame { margin: 1rem 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.terminal-bar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .3rem .4rem .1rem .8rem; color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; }
.copy-btn { flex: none; min-height: 2rem; border: 1px solid transparent; border-radius: 2px; background: transparent; padding: .2rem .5rem; font: var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.copy-btn:hover { color: var(--ink); border-color: var(--rule); }
.terminal-pre { margin: 0; padding: .45rem .9rem .85rem; overflow: auto; font: 400 .8rem/1.65 var(--mono); tab-size: 2; }
.terminal-pre code { font: inherit; }
.tok-cmd { color: var(--ink); font-weight: 600; }
.term-prompt, .tok-comment, .tok-out { color: var(--muted); }
.term-prompt { user-select: none; }
.tok-str { color: var(--ok); }
.install-row .terminal-frame { margin: .35rem 0 0; }

/* Figures: hairline frame, mono caption below. */
.shot-figure { margin-block: 1.75rem; }
.pillar .shot-figure { margin: 0; }
.pillar__figure { min-width: 0; }
.shot-window { overflow: hidden; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface); }
.shot-img { display: block; width: 100%; height: auto; }
a.shot-window { display: block; }
.shot-caption { margin-top: .6rem; color: var(--muted); font: 400 .6875rem/1.5 var(--mono); letter-spacing: .04em; }
.shot-caption__num { color: var(--ink); letter-spacing: .12em; }
.shot-figure .terminal-frame { margin: 0; }

/* Inline SVG line art: 1px ink, one accent, mono labels. */
.diagram { display: block; width: 100%; height: auto; padding: clamp(.75rem, 2vw, 1.5rem); }
.diagram :is(rect, line, path, circle, polyline) { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.diagram .d-muted { stroke: var(--strong-rule); }
.diagram .d-accent { stroke: var(--accent); }
.diagram .d-fill-accent { fill: var(--accent); stroke: none; }
.diagram .d-fill-ok { fill: var(--ok); stroke: none; }
.diagram .d-fill-muted { fill: var(--muted); stroke: none; }
.diagram text { fill: var(--ink); stroke: none; font: 400 11px var(--mono); letter-spacing: .04em; }
.diagram .d-label { fill: var(--muted); font-size: 10px; letter-spacing: .12em; }
.diagram .d-text-accent { fill: var(--accent); }

/* Docs */
.docs-shell { display: grid; align-items: start; gap: 2rem; }
.docs-menu { min-width: 0; }
.docs-menu > summary { color: var(--ink); cursor: pointer; font: var(--label); letter-spacing: .12em; text-transform: uppercase; width: fit-content; min-height: 2.75rem; display: flex; align-items: center; }
.docs-menu > div { padding-top: .75rem; }
.docs-sidebar__group + .docs-sidebar__group { margin-top: 1.5rem; }
.docs-sidebar__label { margin-bottom: .4rem; padding-bottom: .4rem; border-bottom: 1px solid var(--rule); }
.docs-sidebar__list { list-style: none; padding: 0; margin: 0; }
.docs-sidebar__list a { display: flex; gap: .6rem; align-items: baseline; color: var(--muted); padding: .28rem 0; font-size: .9rem; text-decoration: none; }
.docs-sidebar__num { color: var(--muted); font: var(--label); letter-spacing: .08em; }
.docs-sidebar__list a:hover { color: var(--ink); }
.docs-sidebar__list a[aria-current="page"] { color: var(--ink); }
.docs-sidebar__list a[aria-current="page"] .docs-sidebar__num { color: var(--accent); }
.docs-article, .legal-article { min-width: 0; width: 100%; max-width: 46rem; }
.legal-article, .guide-article { margin-inline: auto; }
.eyebrow, .guide-article__crumbs, .guide-article__meta { margin: 0 0 1rem; }
.guide-article__crumbs, .guide-article__meta { color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; }
.docs-article h1, .legal-article h1, .home-section h1 { margin: .2rem 0 .9rem; font-size: clamp(2.1rem, 4.2vw, 3.1rem); font-weight: 400; line-height: 1.04; letter-spacing: -.03em; }
.docs-article h2, .legal-article h2 { margin: 2.75rem 0 .8rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: clamp(1.3rem, 2vw, 1.6rem); }
.docs-article h3 { margin: 1.45rem 0 .6rem; font-size: 1.07rem; }
.docs-article h1 code, .docs-article h2 code { font-size: .82em; }
.docs-article p, .legal-article p { max-width: 66ch; margin-block: 0 .85rem; overflow-wrap: break-word; }
.docs-lead { color: var(--muted); font-size: 1.06rem; }
.docs-meta-links, .docs-pager { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap; padding-block: .9rem; color: var(--muted); font: var(--label); letter-spacing: .08em; text-transform: uppercase; }
.docs-meta-links a, .docs-pager a { color: var(--ink); }
.docs-meta-links { justify-content: flex-start; border-bottom: 1px solid var(--rule); }
.docs-pager { margin-top: 2.5rem; border-top: 1px solid var(--ink); }
.docs-article :is(ol, ul), .legal-article :is(ol, ul) { max-width: 66ch; padding-inline-start: 1.3rem; }
.docs-article li, .legal-article li { margin-bottom: .4rem; }
.docs-article ol li::marker { color: var(--accent); font: var(--label); }
.ref-table-wrap { max-width: 100%; overflow-x: auto; margin: 1rem 0 1.5rem; }
.ref-table { width: 100%; border-collapse: collapse; font-size: .88rem; border-top: 1px solid var(--ink); }
.ref-table :is(th, td) { vertical-align: top; text-align: left; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--rule); }
.ref-table td code { overflow-wrap: normal; white-space: nowrap; }
.ref-table th { color: var(--muted); font: var(--label); letter-spacing: .12em; text-transform: uppercase; }
.callout { border-left: 2px solid var(--accent); padding: .6rem 0 .6rem 1rem; margin: 1.25rem 0; }
.callout p { margin-bottom: 0; }
.copy-action-bar { margin-block: .8rem; }

/* Footer: one row, product links left, wordmark right (brand web/FOOTER.md). */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-block: 1rem max(1.25rem, env(safe-area-inset-bottom)); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-footer__links a, .site-footer__wordmark { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--muted); font-size: .8125rem; text-decoration: none; }
.site-footer__end { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-footer__wordmark { font: 450 .875rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.site-footer a:hover { color: var(--ink); }

/* Shared journal: same type and rules as the rest of the site. */
.pj { --pj-rule: var(--rule); --pj-subtle: var(--muted); }
.site-main .pj :is(h1, h2) { font-family: var(--display); font-weight: 420; letter-spacing: -.025em; }

@media (min-width: 56rem) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero__copy { grid-column: 1 / span 7; }
  .hero .spec { grid-column: 9 / -1; margin-top: 1rem; }
  .install-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pillar .label { grid-column: 1 / span 2; padding-top: .55rem; }
  .pillar__text { grid-column: 3 / span 4; }
  .pillar > :is(figure, .pillar__figure) { grid-column: 7 / -1; }
  .pillar--pro .pillar__text { grid-column: 3 / span 4; }
  .pillar--pro .spec { grid-column: 7 / -1; }
  .docs-shell { grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5.5rem); }
  .docs-sidebar { position: sticky; top: 1.25rem; max-height: calc(100vh - 3rem); overflow-y: auto; }
  .docs-menu:not([open]) > summary { display: flex; }
  .docs-menu[open] > summary { display: none; }
  .docs-menu > div { padding-top: 0; }
}
@media (max-width: 40rem) {
  .site-header__inner { min-height: 3.5rem; gap: .65rem; }
  .site-main { padding-top: 2rem; }
  .hero h1 { max-width: 100%; }
  .spec__row, .spec--compare .spec__row { grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr); }
  .spec--compare .spec__row { grid-template-columns: minmax(5rem, 6.5rem) repeat(2, minmax(0, 1fr)); gap: .75rem; }
}
/* On a phone the header drops links that the footer repeats, then the mark beside the name. */
@media (max-width: 26rem) {
  .site-header__inner, .site-nav { gap: .55rem; }
  .site-nav a[href="/changelog"] { display: none; }
}
@media (max-width: 23rem) {
  .site-nav a[href="/docs"] { display: none; }
}
@media (max-width: 21rem) {
  .brand-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.pj {
  --pj-rule: color-mix(in srgb, currentColor 22%, transparent);
  --pj-subtle: color-mix(in srgb, currentColor 76%, transparent);
  box-sizing: border-box;
  width: 100%;
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.25rem);
  color: inherit;
  font-family: inherit;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pj *, .pj *::before, .pj *::after { box-sizing: border-box; }
.pj [hidden] { display: none !important; }
.pj h1, .pj h2, .pj p { margin: 0; color: inherit; }
.pj h1, .pj h2 { font-family: inherit; text-wrap: balance; }
.pj h1 { font-weight: 600; font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -.055em; line-height: 1.05; }
.pj h2 { font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.55rem); letter-spacing: -.028em; line-height: 1.25; }
.pj a { color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.pj .pj-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: clamp(1.8rem, 5vw, 3.2rem); }
.pj .pj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: .94rem; }
.pj .pj-cta { display: inline-block; padding: .35rem .85rem; border: 1px solid var(--pj-rule); border-radius: .4rem; text-decoration: none; font-weight: 600; }
.pj .pj-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; }
.pj .pj-filters input, .pj .pj-filters select { min-height: 2.75rem; min-width: 0; max-width: 100%; margin: 0; border: 1px solid var(--pj-rule); border-radius: .4rem; padding: .4rem .7rem; color: inherit; background: transparent; font: inherit; font-size: .94rem; }
.pj .pj-filters input { flex: 1 1 13rem; }
.pj .pj-filters input::placeholder { color: var(--pj-subtle); opacity: 1; }
.pj .pj-filters select { flex: 0 1 auto; }
.pj .pj-filters select option { background: Canvas; color: CanvasText; }
.pj :is(a, button, input, select):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.pj .pj-results { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-bottom: 1rem; font-size: .9rem; }
.pj .pj-results button { padding: .25rem 0; background: transparent; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.pj .pj-row { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: clamp(1rem, 4vw, 2.5rem); border-block-start: 1px solid var(--pj-rule); padding-block: clamp(1.5rem, 4vw, 2.3rem); scroll-margin-block-start: 6rem; }
.pj time, .pj .pj-guide-label, .pj .pj-meta { font-size: .83rem; color: var(--pj-subtle); }
.pj time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pj .pj-meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55rem; margin-bottom: .45rem; }
.pj .pj-meta span + span::before { content: "·"; padding-inline-end: .55rem; }
.pj h2 a { text-decoration: none; }
.pj h2 a:is(:hover, :focus-visible), .pj .pj-recent li a:is(:hover, :focus-visible) span { color: var(--pj-subtle); }
.pj .pj-content p { max-width: 62ch; margin: .65rem 0 0; }
.pj .pj-detail { display: inline-block; margin-top: .7rem; font-size: .94rem; }
.pj .pj-recent { border-block-start: 1px solid var(--pj-rule); padding-block-start: 1.5rem; }
.pj .pj-recent ul { list-style: none; padding: 0; margin: .85rem 0 0; }
.pj .pj-recent li { margin: 0; padding: 0; border-block-end: 1px solid var(--pj-rule); }
.pj .pj-recent li a { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; padding-block: .85rem; text-decoration: none; }
.pj .pj-empty { border-block-start: 1px solid var(--pj-rule); padding-top: 1.5rem; }
@media (max-width: 36rem) {
  .pj .pj-row { display: block; }
  .pj .pj-row > time, .pj .pj-guide-label { display: block; margin-bottom: .55rem; }
  .pj .pj-filters input { flex-basis: 100%; }
  .pj .pj-recent li a { flex-wrap: wrap; gap: .2rem .8rem; }
}

/* The surrounding article supplies the product's type, foreground and background. */
:where([data-pj-article]) {
  --pj-article-rule: color-mix(in srgb, currentColor 22%, transparent);
  overflow-wrap: anywhere;
}
:where([data-pj-article]) :where(h1, h2, h3) { text-wrap: balance; }
:where([data-pj-article]) :where(p, li) { text-wrap: pretty; }
:where([data-pj-article-figure]) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin: clamp(1.75rem, 5vw, 3rem) 0;
}
:where([data-pj-article-figure]) :where(img, video, svg, canvas) { max-width: 100%; }
:where([data-pj-article-figure]) > :where(img, video),
:where([data-pj-article-figure]) > picture > img {
  display: block;
  height: auto;
  margin-inline: auto;
}
:where([data-pj-article-figure]) > figcaption {
  max-width: 65ch;
  margin-block-start: .8rem;
  font-size: .9em;
  line-height: 1.5;
}
.pj-article-cta {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-block: clamp(2.75rem, 6vw, 4.5rem) 0;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--pj-article-rule, currentColor);
  border-radius: .6rem;
  background: color-mix(in srgb, currentColor 3%, transparent);
  color: inherit;
}
.pj-article-cta .pj-article-cta__copy { flex: 1 1 18rem; min-width: 0; }
.pj-article-cta .pj-article-cta__copy h2 { margin: 0; color: inherit; font-family: inherit; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.pj-article-cta .pj-article-cta__copy p { max-width: 50ch; margin: .5rem 0 0; color: inherit; font: inherit; line-height: 1.5; }
.pj-article-cta a[data-pj-cta-link] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 2.8rem;
  max-width: 100%;
  padding: .6rem 1rem;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: .4rem;
  background: var(--pj-action-background, transparent);
  color: var(--pj-action-color, inherit);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.pj-article-cta a[data-pj-cta-link]:hover { text-decoration: underline; text-underline-offset: .2em; }
.pj-article-cta a[data-pj-cta-link]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
