/* The public site stylesheet (landing, How it works, Privacy, Terms, /sample).
 *
 * Plain CSS, no framework: the pages ship no JavaScript, so this is the whole client cost. The
 * tokens are the app's (web/src/styles.css, v3 direction section 2). The product rules in the
 * "product view" block (verdict strip, range bar, price chart) mirror the app's, so the real
 * components prerendered into the landing look the same as in the app.
 *
 * Fonts: the build replaces each font placeholder with the hashed file Vite emitted (build-site.mjs).
 */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --rail: #f8f9fa;
  --ink: #0e1116;
  --ink2: #4a5160;
  --ink3: #6b7280;
  --rule: #e3e6ea;
  --rule2: #eff1f3;
  --accent: #1f4fc4;
  --wash: rgba(31, 79, 196, 0.09);
  --up: #0b7a4b;
  --down: #c0392b;
  --keep: #0b7a4b;
  --watch: #c27a00;
  --recon: #c0392b;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: 64px;
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 280ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/26px var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 2px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.w { max-width: 1312px; margin: 0 auto; padding: 0 var(--gutter); }
.up { color: var(--up); }
.down { color: var(--down); }
.muted { color: var(--ink3); }
.tk { font: 500 12px var(--mono); letter-spacing: 0.02em; color: var(--ink2); }
.tk.big { font-size: 14px; color: var(--ink3); margin-left: 6px; font-weight: 400; }

/* buttons and links */
.btn { font: 500 14px/1 var(--sans); height: 36px; padding: 0 16px; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: 1px solid transparent; }
.b1 { background: var(--ink); color: #fff; border-color: var(--ink); }
.b1:hover { background: #262c36; }
.b2 { background: #fff; color: var(--ink); border-color: #868d99; }
.b2:hover { border-color: var(--ink2); }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; }
.lnk { color: var(--accent); }
.lnk:hover { text-decoration: underline; }

/* header */
.ltop { border-bottom: 1px solid var(--rule); background: var(--bg); }
.ltop .w { display: flex; align-items: center; gap: 40px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.ltop nav { display: flex; gap: 28px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.ltop nav a:hover, .ltop nav a[aria-current="page"] { color: var(--ink); }
.ltop nav a[aria-current="page"] { font-weight: 500; }
.lr { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.lr .signin:hover { text-decoration: underline; }

/* footer */
.foot { border-top: 1px solid var(--rule); margin-top: 96px; padding: 32px 0 48px; font-size: 14px; line-height: 22px; color: var(--ink2); }
.foot .w { display: grid; grid-template-columns: 1fr auto; gap: 16px 48px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .law { grid-column: 1 / -1; max-width: 70ch; color: var(--ink3); font-size: 13px; line-height: 20px; }
.foot .made { color: var(--ink2); }
.foot .made a { text-decoration: underline; text-underline-offset: 2px; }

/* landing: hero */
.hero { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; padding-top: 88px; padding-bottom: 24px; align-items: center; }
.hl { font-size: 46px; line-height: 52px; font-weight: 600; letter-spacing: -0.025em; }
.hl span { color: var(--ink3); }
.lede { font-size: 18px; line-height: 28px; color: var(--ink2); margin-top: 24px; max-width: 46ch; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; }
.fine { font-size: 13px; line-height: 20px; color: var(--ink3); margin-top: 14px; }
.shot { margin: 0; }
.shot-in { border: 1px solid var(--rule); background: #fff; padding: 20px 28px 12px; box-shadow: 0 1px 0 var(--rule), 0 24px 48px -24px rgba(14, 17, 22, 0.18); max-width: 760px; }
.shot figcaption { font-size: 12px; line-height: 18px; color: var(--ink3); margin-top: 12px; }
.shot .head { margin: 4px 0 14px; display: block; }
.shot .px { font-size: 32px; line-height: 38px; }
.shot .verdict { margin-bottom: 18px; }
.shot .c-narrow, .shot .c-lg, .shot .c-md { display: none; }
/* the picture is drawn at the width of its box, so its labels keep their size: 640 when the card
   spans the page, 510 and 470 beside the headline, 330 on a phone */
@media (min-width: 1101px) and (max-width: 1280px) { .shot .c-wide { display: none; } .shot .c-md { display: block; } }
@media (min-width: 1281px) { .shot .c-wide { display: none; } .shot .c-lg { display: block; } }

/* landing: sections */
.sec { padding-top: 88px; }
.sh { border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; }
.sh h2 { font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; }
.sh .more { font-size: 14px; }
.intro { font-size: 18px; line-height: 28px; color: var(--ink2); max-width: 62ch; margin-bottom: 28px; }

.anno { display: grid; grid-template-columns: 1fr 1.15fr 1fr; }
.anno p { padding: 14px 24px 0; border-left: 1px solid var(--rule); font-size: 15px; line-height: 23px; color: var(--ink2); }
.anno p:first-child { padding-left: 0; border-left: 0; }
.anno b { display: block; font-weight: 600; color: var(--ink); font-size: 14px; line-height: 20px; margin-bottom: 2px; }

.mailrow { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.mailrow .intro { margin-bottom: 0; font-size: 16px; line-height: 26px; }
.mail { max-width: 640px; background: #fff; color: var(--ink); padding: 24px 28px 22px; border: 1px solid var(--rule); box-shadow: 0 24px 48px -28px rgba(14, 17, 22, 0.16); }
.mail-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.mail-top b { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.mail-top span { font-size: 12px; line-height: 18px; color: var(--ink3); }
.mail-intro { font-size: 14px; line-height: 21px; color: var(--ink2); margin: 14px 0 4px; }
.mail-grp { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink3); margin: 18px 0 0; }
.mail ol { list-style: none; counter-reset: p; }
.mail li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; padding: 13px 0; border-bottom: 1px solid var(--rule2); font-size: 15px; line-height: 23px; }
.mail li::before { content: counter(p); font-weight: 700; }
.mail li b { font-weight: 600; }
.mail li .s { display: block; color: var(--ink2); font-size: 14px; line-height: 21px; margin-top: 3px; }
.mail li .lk { color: var(--accent); font-size: 13px; white-space: nowrap; }
.mail .quiet { font-size: 14px; line-height: 21px; color: var(--ink2); margin-top: 14px; }
.mail .go { display: inline-block; margin-top: 18px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 20px; padding: 9px 16px; border-radius: 2px; }

.judge { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.judge .intro { margin-bottom: 16px; font-size: 16px; line-height: 26px; }
.rows { margin: 0; }
.rows div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--rule2); }
.rows div:first-child { border-top: 0; padding-top: 0; }
.rows dt { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.rows dd { margin: 0; color: var(--ink2); font-size: 15px; line-height: 23px; }

.last { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; border-top: 1px solid var(--ink); padding-top: 24px; }
.last p { font-size: 18px; line-height: 28px; font-weight: 500; margin-right: auto; }

/* reading pages: How it works, Privacy, Terms */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 0 0; }
.prose h1 { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.prose .deck { font-size: 18px; line-height: 28px; color: var(--ink2); margin-top: 12px; }
.prose .updated { font-size: 13px; line-height: 20px; color: var(--ink3); margin-top: 8px; }
.prose h2 { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.005em; margin-top: 44px; padding-top: 12px; border-top: 1px solid var(--ink); }
.prose p, .prose ul, .prose ol, .prose .tablewrap { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose li::marker { color: var(--ink3); }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose .callout { margin-top: 18px; padding: 14px 18px; background: var(--rail); border-left: 2px solid var(--ink); color: var(--ink2); }
.prose .callout p { margin: 0; }
.prose .actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
.prose .actions a, .prose .actions a:hover { text-decoration: none; }
.prose .actions .b1 { color: #fff; }
.prose .actions .b2 { color: var(--ink); }
.prose .note { font-size: 14px; line-height: 22px; color: var(--ink3); }
.prose details { border-top: 1px solid var(--rule2); padding: 12px 0; }
.prose details + details { margin-top: 0; }
.prose summary { cursor: pointer; font-weight: 500; }
.tablewrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.prose caption { text-align: left; font-size: 13px; color: var(--ink3); padding-bottom: 8px; }
.prose th { font-weight: 500; font-size: 13px; color: var(--ink3); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.prose td { padding: 8px 10px; border-bottom: 1px solid var(--rule2); }
.prose th:first-child, .prose td:first-child { padding-left: 0; }
.prose td:first-child { font-weight: 500; }

/* /sample (server-rendered by api/src/stockbrief_api/public_sample.py) */
.sample { max-width: 1040px; margin: 0 auto; padding: 56px 0 0; }
.sample h1 { font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.sample .deck { font-size: 18px; line-height: 28px; color: var(--ink2); margin-top: 12px; max-width: 62ch; }
.sample .asof { font-size: 13px; line-height: 20px; color: var(--ink3); margin-top: 8px; }
.sample-card { margin-top: 56px; }
.sample-card .head { margin: 0 0 18px; }
.sample-card .name { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.015em; }
.sample-card .name a:hover { text-decoration: underline; }
.sample-card .read-h { font-size: 15px; line-height: 22px; font-weight: 600; border-top: 1px solid var(--ink); padding-top: 12px; margin-top: 28px; }
.sample-card .read { font-size: 16px; line-height: 26px; margin-top: 8px; max-width: 70ch; }
.sample-card .read .when { font-size: 13px; color: var(--ink3); margin-left: 6px; white-space: nowrap; }
.sample-card .hidden-note { font-size: 14px; color: var(--ink2); margin-top: 8px; }
.sample .more { margin-top: 72px; border-top: 1px solid var(--ink); padding-top: 24px; }
.sample .more h2 { font-size: 18px; line-height: 26px; font-weight: 600; }
.sample .more p { margin-top: 6px; color: var(--ink2); max-width: 62ch; }
.sample .more .cta { margin-top: 20px; }
.sample .empty { margin-top: 40px; padding: 14px 18px; background: var(--rail); border-left: 2px solid var(--ink); color: var(--ink2); max-width: 62ch; }

/* product view: the stock page's verdict strip, range bar and price chart */
.crumb { font-size: 12px; line-height: 16px; color: var(--ink3); }
.crumb .sep { margin: 0 4px; color: #c5cad0; }
.head h1, .head .h1 { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.015em; }
.quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.px { font-size: 36px; line-height: 40px; font-weight: 500; letter-spacing: -0.02em; }
.cur { font-size: 13px; color: var(--ink3); margin-left: -4px; }
.chg { font-size: 16px; line-height: 24px; font-weight: 500; font-variant-numeric: tabular-nums; }
.when { font-size: 12px; line-height: 16px; color: var(--ink3); margin-left: 6px; }

.verdict { display: grid; grid-template-columns: 1fr 1.15fr 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.verdict.two { grid-template-columns: 1fr 1.1fr; }
.vc { padding: 16px 24px 18px; border-left: 1px solid var(--rule); min-width: 0; font-size: 14px; line-height: 20px; }
.vc:first-child { padding-left: 0; border-left: 0; }
.lbl { font-size: 12px; line-height: 16px; color: var(--ink3); margin-bottom: 6px; display: block; }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.st i { width: 8px; height: 8px; display: block; flex: none; }
.st.big { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; gap: 10px; }
.st.big i { width: 11px; height: 11px; }
.vline { margin-top: 8px; color: var(--ink2); max-width: 34ch; }
.vbig + .vline { margin-top: -2px; margin-bottom: 10px; }
.meta { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ink3); }
.vbig { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.vbig .muted { font-weight: 400; font-size: 15px; letter-spacing: 0; }
.key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 11px; line-height: 16px; color: var(--ink3); margin-top: 2px; }
.key i { display: inline-block; margin-right: 5px; vertical-align: middle; }
.kb { width: 12px; height: 8px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--accent); }
.kz { width: 0; height: 12px; border-left: 1px solid var(--ink3); opacity: 0.7; }
.kp { width: 2px; height: 12px; background: var(--ink); }
.kt { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink2); }
.mt { display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); height: 24px; }
.mbar { position: relative; height: 6px; background: var(--rule2); }
.mbar b { position: absolute; inset: 0 auto 0 0; background: var(--ink2); }
.mbar.zb b { inset-block: 0; }
.mbar b.neg { background: var(--down); }
.mbar .zero { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--ink); }
.mbar .cut { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--ink); }
.mv { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.mt.ns { grid-template-columns: 64px 1fr; }
.mt.ns .nsl { text-align: left; color: var(--ink3); white-space: nowrap; font-size: 13px; }
.rb-wrap { max-width: 320px; }
.rb { max-width: 100%; height: auto; }
.rbtrack { stroke: var(--rule); stroke-width: 1; }
.rbband { fill: var(--wash); stroke: var(--accent); stroke-width: 1; }
.rbzone { stroke: var(--ink3); stroke-width: 1; opacity: 0.55; }
.rbpx { stroke: var(--ink); stroke-width: 2; }
.rbtgt { fill: #fff; stroke: var(--ink2); stroke-width: 1.5; }
.rb .ax, .rb text { font: 11px var(--sans); fill: var(--ink3); }

.chart { display: block; overflow: visible; max-width: 100%; height: auto; }
.chart .grid { stroke: var(--rule2); stroke-width: 1; }
.chart .ax { font: 11px var(--sans); fill: var(--ink3); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.chart .band { fill: var(--wash); }
.chart .bandedge { stroke: var(--accent); stroke-width: 1; opacity: 0.55; }
.chart .bandlbl { font: 500 11px var(--sans); fill: var(--accent); }
.chart .tgt { stroke: var(--ink3); stroke-width: 1; }
.chart .bandlbl, .chart .tgtlbl { paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.chart .tgtlbl { fill: var(--ink2); }
.chart .plbl { fill: var(--ink); }
.chart .plbltx { font: 500 11px var(--sans); fill: #fff; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 56px; }
  .hl { font-size: 40px; line-height: 46px; }
  .mailrow, .judge { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mail { max-width: 600px; }
}
@media (max-width: 759.98px) {
  .verdict, .verdict.two { grid-template-columns: minmax(0, 1fr); }
  .vc, .vc:first-child { padding: 14px 0 16px; border-left: 0; border-top: 1px solid var(--rule); }
  .vc:first-child { border-top: 0; }
  .anno { grid-template-columns: minmax(0, 1fr); }
  .anno p, .anno p:first-child { padding: 12px 0 0; border-left: 0; }
  .rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 639.98px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .ltop .w { flex-wrap: wrap; height: auto; gap: 0 20px; padding-top: 12px; padding-bottom: 0; }
  .brand { height: 40px; }
  .lr { height: 40px; gap: 14px; }
  .lr .btn { height: 32px; padding: 0 12px; font-size: 13px; }
  .ltop nav { order: 3; width: 100%; height: 40px; align-items: center; gap: 22px; overflow-x: auto; }
  .hero { padding-top: 40px; gap: 40px; }
  .hl { font-size: 34px; line-height: 40px; }
  .lede { font-size: 17px; line-height: 26px; }
  .cta { margin-top: 28px; }
  .btn.lg { width: 100%; }
  .sec { padding-top: 64px; }
  .shot-in { padding: 16px 16px 8px; }
  .shot .c-wide, .shot .c-lg, .shot .c-md { display: none; }
  .shot .c-narrow { display: block; }
  .shot .px { font-size: 30px; }
  .mail { padding: 18px 16px 18px; }
  .rows dt { font-size: 20px; }
  .last p { flex-basis: 100%; }
  .foot { margin-top: 64px; }
  .foot .w { grid-template-columns: minmax(0, 1fr); }
  .prose { padding-top: 40px; }
  .prose h1, .sample h1 { font-size: 28px; line-height: 34px; }
  .sample { padding-top: 40px; }
  .sample-card .name { font-size: 24px; line-height: 30px; }
  .prose th, .prose td { padding-left: 6px; padding-right: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.fvs { max-width: 360px; margin-top: 4px; }
.fvf { position: relative; height: 58px; font: 12px var(--sans); color: var(--ink3); }
.fvf > span { position: absolute; display: block; }
.fvl { left: 0; right: 0; top: 31px; height: 1px; background: var(--rule); }
.fvz { top: 25px; height: 14px; background: var(--wash); box-shadow: inset 0 0 0 1px rgba(31, 79, 196, 0.55); }
.fve { top: 25px; height: 14px; background: rgba(31, 79, 196, 0.3); box-shadow: inset 0 0 0 1px var(--accent); }
.fvr { top: 28px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink2); box-sizing: border-box; }
.fvp { top: 19px; width: 2px; height: 26px; margin-left: -1px; background: var(--ink); }
.fvt { top: 0; transform: translateX(-50%); font-weight: 600; font-size: 12px; line-height: 16px; color: var(--ink); white-space: nowrap; }
.fvx { top: 43px; transform: translateX(-50%); font-size: 11px; line-height: 14px; white-space: nowrap; }
.fvk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 6px; font-size: 12px; line-height: 16px; }
.fvk > div { min-width: 0; }
.fvk dt { color: var(--ink3); display: flex; align-items: center; gap: 6px; }
.fvk dd { color: var(--ink); margin: 0 0 0 18px; font-variant-numeric: tabular-nums; }
.fvk i { flex: none; }
.fvk .kbe { background: color-mix(in srgb, var(--accent) 30%, transparent); }

.prose .fig { margin: 28px 0 0; }
.prose .fig img { display: block; width: 100%; height: auto; max-width: 883px; }
@media (min-width: 760px) { .prose .fig { margin-left: -80px; margin-right: -80px; } }

/* How it works: the pipeline figure (PipelineFigure.tsx). Wide from 760px, stacked below. */
.prose .pf-fig { margin-top: 32px; }
.pf { display: block; width: 100%; height: auto; overflow: visible; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.pf-narrow { max-width: 420px; margin: 0 auto; }
.pf-wide { display: none; }
@media (min-width: 760px) { .pf-wide { display: block; } .pf-narrow { display: none; } }
.pf-step line { stroke: var(--ink); stroke-width: 1; }
.pf-step text { font-size: 13px; font-weight: 600; fill: var(--ink); letter-spacing: 0.01em; }
.pf-step .pf-n { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; fill: var(--accent); }
.pf-card rect { fill: #fff; stroke: #cfd4db; stroke-width: 1; }
.pf-t { font-size: 14px; font-weight: 500; fill: var(--ink); }
.pf-s { font-size: 12px; fill: var(--ink3); }
.pf-key rect { fill: #edf1fa; stroke: var(--accent); stroke-width: 1.5; }
.pf-verdict rect { fill: var(--ink); stroke: var(--ink); }
.pf-verdict .pf-t { fill: #fff; }
.pf-quiet rect { fill: var(--rail); stroke: #b8bec7; stroke-dasharray: 3 3; }
.pf-quiet .pf-t { fill: var(--ink2); font-size: 13px; }
.pf-tray { fill: var(--rail); stroke: var(--rule); }
.pf-edge { fill: none; stroke: var(--ink2); stroke-width: 1.25; }
.pf-dash { stroke-dasharray: 4 3; }
.pf-head { fill: var(--ink2); }
.pf-note { font-size: 12px; fill: var(--ink3); font-style: italic; }
.pf-card .pf-line { fill: var(--rule); stroke: none; }
.pf-card .pf-live { fill: #dbe4f8; stroke: none; }
.pf-live-key { fill: var(--accent); font-weight: 500; }
.pf-stance-key text { font-size: 11px; fill: #d7dbe1; }
.pf-on-dark { fill: #a9b0ba; }
.pf-card .pf-keep, .pf-card .pf-watch, .pf-card .pf-recon { stroke: none; }
.pf-keep { fill: var(--keep); }
.pf-watch { fill: var(--watch); }
.pf-recon { fill: var(--recon); }

/* Motion: hover and press colour changes on one standard (--dur-1), nothing else. The pages ship no
   script and no entrance animation. Under reduced motion only the colour feedback stays. */
.btn, .ltop nav a, .lr .signin, .foot nav a, .lnk, .prose a, .sample-card .name a {
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.b1:active { background: #000; }
.b2:active { background: var(--rule2); }
@media (prefers-reduced-motion: reduce) {
  :root { --dur-2: 0ms; --dur-3: 0ms; }
  *, *::before, *::after { animation: none !important; }
}
