/* Use-case stories, read like technical blog posts. Loads after
   /assets/v2/base.css (the font, tokens, nav and footer, specs/018 R11 v2).
   Light only, like the whole site (base.css). */

body { font-size: 16px; line-height: 1.7 }
a { color: var(--accent-ink); text-underline-offset: 2px; }
.nav a, .foot a, .logo { color: inherit; text-decoration: none }
.foot .cols a { color: #D6D9E8 }



.kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 500; }
.chip.accent { background: var(--pink-soft); color: var(--navy); }
.chip.info { background: var(--indigo-soft); color: var(--indigo-ink); }

h1 { font-size: var(--fs-read-h1); line-height: 1.12; margin: 0 0 18px; }
.dek { font-size: 1.125em; color: var(--muted); margin: 0 0 28px; }
main h2 { font-size: var(--fs-read-h2); letter-spacing: -0.02em; margin: 48px 0 12px; line-height: 1.15; }
main h3 { font-size: 1.125em; font-weight: 600; margin: 28px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.small { font-size: 0.8125em; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .stats, .stats.two { grid-template-columns: 1fr; } }
.stat { background: var(--bg-2); border-radius: var(--r-box); padding: 14px 16px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 600; color: var(--accent-ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }

.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 999px; background: var(--pink-soft); color: var(--navy); font-size: 13px; font-weight: 600; display: grid; place-items: center; }

pre { background: var(--navy); color: #ececef; border-radius: var(--r-box); padding: 16px; overflow-x: auto; font: 13px/1.6 var(--code); margin: 0 0 16px; }
code { font-family: var(--code); font-size: 0.92em; }
p code, li code { background: var(--bg-2); padding: 1px 5px; border-radius: 4px; }

.compare { width: 100%; border-collapse: collapse; font-size: 0.875em; margin: 8px 0 18px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.compare th { font-weight: 600; font-size: 13px; color: var(--muted); }
.compare td:first-child { font-weight: 500; width: 28%; }
.table-wrap { overflow-x: auto; }

.fact { border: 1px solid var(--line); border-radius: var(--r-box); padding: 14px 16px; margin: 0 0 16px; box-shadow: 0 1px 2px 0 rgb(16 17 20 / 0.05), 0 1px 1px 0 rgb(16 17 20 / 0.03); font-size: 0.875em; }
.fact .now { font-weight: 600; }
.fact .was { color: var(--bg-2); text-decoration: line-through; }
.fact .src { font-size: 12px; color: var(--muted); margin-top: 6px; }

.note { background: var(--indigo-soft); border-radius: var(--r-box); padding: 12px 16px; font-size: 0.875em; margin: 0 0 16px; }

.story-end { margin-top: 56px; padding: 32px; border-radius: 26px; } /* with base.css .dark */
.story-end h2 { margin-top: 0; }
.story-end .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }



/* a story's sources: numbered, linked from the figures they back (<sup><a href="#source-n">) */
.sources { font-size: 0.9375em; color: var(--muted); padding-left: 1.4em }
.sources li { margin-bottom: 8px }
.doc sup a { text-decoration: none; font-weight: 600; padding: 0 1px }
