/* /standards (2026-11 design). Scoped under .ws so the site header, footer and pages.css stay untouched. */
.ws { --bg: #fff; --ink: #0a0a0a; --muted: rgba(10,10,10,.56); --faint: rgba(10,10,10,.32);
  --line: #e8e8ea; --line-soft: #f0f0f2; --soft: #f4f4f5; --blue: #0285ff; --blue-soft: rgba(2,133,255,.08);
  --gold: #b88a1e; --green: #16a34a; --amber: #d97706; --red: #dc2626;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1); }
body { margin: 0; background: #fff; }
html:has(.ws) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 32px; }
.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
.ws { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.011em; font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* The site loads a variable Inter with an optical-size axis; the approved design uses Inter at its text size. */
.ws, .ws * { font-optical-sizing: none; }
.ws h1, .ws h2, .ws h3, .ws p, .ws ul, .ws ol, .ws dl, .ws dd, .ws figure { margin: 0; }
.ws ul, .ws ol { padding: 0; list-style: none; }
.ws a { color: inherit; text-decoration: none; }
.ws button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.ws svg { display: block; }
.ws ::selection { background: rgba(2,133,255,.12); }
.ws :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.ws .ws-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ws .ws-wrap { width: 100%; max-width: calc(1080px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ws .ws-kicker { display: inline-block; font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: -.01em; }
.ws .ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 1px 20px 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15.5px; font-weight: 500; white-space: nowrap; transition: background-color .25s ease, transform .2s ease; }
.ws .ws-btn:hover { background: #2b2b2e; }
.ws .ws-btn:active { transform: scale(.98); }
.ws .ws-btn .ws-icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.ws .ws-btn:hover .ws-icon { transform: translateY(2px); }
.ws .ws-btn.ws-soft { background: rgba(10,10,10,.05); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10,10,10,.04); }
.ws .ws-btn.ws-soft:hover { background: rgba(10,10,10,.09); }
.ws .ws-btn.ws-soft:hover .ws-icon, .ws .ws-btn.ws-go:hover .ws-icon { transform: translateX(2px); }

/* ---------- Hero: the home's blue gradient, with the Welo icon drawn as a network ---------- */
.ws .ws-hero { position: relative; isolation: isolate; overflow: hidden; margin: 12px; border-radius: 28px; background: #d7e9ff; color: var(--ink);
  min-height: min(calc(100svh - 24px), 820px); display: flex; align-items: center; color: #fff; }
.ws .ws-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(10,92,214,.42), rgba(10,92,214,.12) 55%, rgba(10,92,214,0) 80%); }
.ws .ws-hero ::selection { background: rgba(255,255,255,.3); }
.ws .ws-aur { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ws .ws-aur i { position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; filter: blur(54px); will-change: transform; }
.ws .ws-aur i:nth-child(1) { left: -12%; top: -18%; background: #7fbfff; animation: ws-aur1 9s ease-in-out infinite alternate; }
.ws .ws-aur i:nth-child(2) { right: -16%; top: 10%; background: #b8dcff; animation: ws-aur2 11s ease-in-out infinite alternate; }
.ws .ws-aur i:nth-child(3) { left: 18%; bottom: -30%; background: #4ea6ff; animation: ws-aur3 13s ease-in-out infinite alternate; }
.ws .ws-aur i:nth-child(4) { width: 46%; right: 4%; top: 8%; background: #2f8cff; opacity: .6; animation: ws-aur2 15s ease-in-out infinite alternate-reverse; }
@keyframes ws-aur1 { to { transform: translate(28%, 22%) scale(1.15); } }
@keyframes ws-aur2 { to { transform: translate(-30%, 18%) scale(.9); } }
@keyframes ws-aur3 { to { transform: translate(14%, -26%) scale(1.2); } }
.ws .ws-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.ws .ws-hero-in { padding-top: 120px; padding-bottom: 120px; display: grid; justify-items: start; gap: 28px; }
.ws .ws-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.82); letter-spacing: 0; }
.ws .ws-eyebrow svg { width: 15px; height: 15px; fill: #fff; }
.ws .ws-hero h1 { font-size: clamp(40px, 4.8vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; max-width: 620px; text-wrap: balance; }
.ws .ws-more { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 1px 20px 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15.5px; font-weight: 500; transition: background-color .25s, transform .2s; }
.ws .ws-more:hover { background: #eaf3ff; }
.ws .ws-more:active { transform: scale(.98); }
.ws .ws-more .ws-icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.ws .ws-more:hover .ws-icon { transform: translateY(2px); }

/* ---------- Mission: heading left, three plain rows right ---------- */
.ws .ws-mission { padding: clamp(88px, 11vw, 144px) 0 clamp(72px, 9vw, 112px); }
.ws .ws-mgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px clamp(40px, 7vw, 96px); align-items: start; }
.ws .ws-mgrid h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.ws .ws-mlist > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.ws .ws-mlist > div:last-child { border-bottom: 1px solid var(--line); }
.ws .ws-mlist dt { font-weight: 500; }
.ws .ws-mlist dd { color: var(--muted); text-wrap: pretty; }

/* ---------- Document ---------- */
.ws .ws-docbar { border-top: 1px solid var(--line); }
.ws .ws-dochead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: clamp(56px, 7vw, 88px) 0 0; }
.ws .ws-dochead h2 { margin-top: 12px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.ws .ws-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ws .ws-pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--ink); white-space: nowrap; }
.ws .ws-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.ws .ws-pill.is-live i { background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.14); }
.ws .ws-doc { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 40px clamp(40px, 7vw, 96px); align-items: start; padding: clamp(40px, 5vw, 56px) 0 clamp(88px, 10vw, 136px); }
.ws .ws-doc > *, .ws .ws-text > * { min-width: 0; }
.ws .ws-lead { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.28; letter-spacing: -.028em; max-width: 32ch; text-wrap: pretty; }
.ws .ws-lead span { color: var(--faint); }
.ws .ws-intro { margin-top: 28px; display: grid; gap: 12px; color: var(--muted); max-width: 62ch; }
.ws .ws-text { display: grid; gap: clamp(64px, 7vw, 96px); }
.ws .ws-text > section { scroll-margin-top: 32px; }
.ws .ws-text > section > .ws-kicker { margin-bottom: 14px; }
.ws .ws-text h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px; text-wrap: balance; }
.ws .ws-text h3 { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.ws .ws-text p { max-width: 62ch; text-wrap: pretty; }
.ws .ws-text p + p { margin-top: 12px; }
.ws .ws-muted { color: var(--muted); }
.ws .ws-block { margin-top: 28px; }
.ws .ws-sub-h { margin-top: 32px; margin-bottom: 8px; }

.ws .ws-callout { margin-top: 24px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--soft); max-width: 62ch; }
.ws .ws-callout .ws-icon { margin-top: 3px; color: var(--blue); }
.ws .ws-callout p { margin: 0; }
.ws .ws-callout b { font-weight: 500; }

/* tick lists */
.ws .ws-ticks { margin-top: 22px; display: grid; gap: 12px; max-width: 62ch; }
.ws .ws-ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; text-wrap: pretty; }
.ws .ws-tick, .ws .ws-no { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.ws .ws-tick { background: var(--blue); color: #fff; }
.ws .ws-no { background: rgba(10,10,10,.07); color: var(--ink); }
.ws .ws-tick .ws-icon, .ws .ws-no .ws-icon { width: 11px; height: 11px; stroke-width: 2.6; }

/* tables */
.ws .ws-scroll { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ws table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.ws thead th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ws tbody td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); text-wrap: pretty; }
.ws tbody td:first-child { color: var(--ink); font-weight: 500; width: 28%; }
.ws tbody tr { transition: background-color .2s; }

/* levels */
.ws .ws-levels { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ws .ws-level { padding: 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; align-content: start; gap: 8px; }
.ws .ws-level-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ws .ws-level .ws-kicker { color: var(--ink); }
.ws .ws-level p { color: var(--muted); }
.ws .ws-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 11.5px; color: var(--ink); }
.ws .ws-tag.is-blue { background: var(--blue-soft); color: var(--blue); }

/* weights */
.ws .ws-weights { margin-top: 24px; border-top: 1px solid var(--line); }
.ws .ws-weights li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 44px; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ws .ws-weights b { display: block; font-weight: 500; }
.ws .ws-weights small { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.ws .ws-bar { height: 6px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.ws .ws-bar i { display: block; height: 100%; width: calc(var(--w) * 100% / 15); border-radius: inherit; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.ws .ws-weights.is-in .ws-bar i { transform: none; }
.ws .ws-weights li:nth-child(2) .ws-bar i { transition-delay: .05s; } .ws .ws-weights li:nth-child(3) .ws-bar i { transition-delay: .1s; }
.ws .ws-weights li:nth-child(4) .ws-bar i { transition-delay: .15s; } .ws .ws-weights li:nth-child(5) .ws-bar i { transition-delay: .2s; }
.ws .ws-weights li:nth-child(6) .ws-bar i { transition-delay: .25s; } .ws .ws-weights li:nth-child(7) .ws-bar i { transition-delay: .3s; }
.ws .ws-weights li:nth-child(8) .ws-bar i { transition-delay: .35s; }
.ws .ws-weights em { font-style: normal; font-family: var(--mono); font-size: 13px; text-align: right; }

/* requirement rows */
.ws .ws-reqs { margin-top: 24px; border-top: 1px solid var(--line); }
.ws .ws-reqs li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ws .ws-code { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.ws .ws-reqs h3 { margin-bottom: 6px; }
.ws .ws-reqs p { color: var(--muted); }
.ws .ws-reqs .ws-fail { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ws .ws-reqs .ws-fail > span { font-size: 13px; color: var(--ink); margin-right: 4px; }
.ws .ws-reqs .ws-fail em { font-style: normal; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--muted); }
.ws .ws-reqs .ws-note { margin-top: 12px; font-size: 14.5px; color: var(--ink); }
.ws .ws-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 0; margin-top: 12px; }
.ws .ws-topics li { grid-template-columns: 52px minmax(0, 1fr); }

/* process steps */
.ws .ws-steps { margin-top: 24px; border-top: 1px solid var(--line); }
.ws .ws-steps li { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ws .ws-num { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.ws .ws-steps b { display: block; font-weight: 500; }
.ws .ws-steps p { color: var(--muted); margin: 2px 0 0; }
.ws .ws-steps .ws-why { color: var(--muted); font-size: 14.5px; padding-top: 2px; }
.ws .ws-steps .ws-why::before { content: "Why · "; font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* outcomes + states */
.ws .ws-outcomes { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ws .ws-outcome { padding: 22px; border-radius: 22px; background: var(--soft); display: grid; align-content: start; gap: 6px; }
.ws .ws-outcome .ws-pill { justify-self: start; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,10,10,.05); margin-bottom: 10px; font-weight: 500; }
.ws .ws-outcome p { color: var(--muted); font-size: 15px; margin: 0; }
.ws .ws-outcome p b { color: var(--ink); font-weight: 500; }
.ws .ws-pill.is-ok i { background: var(--blue); }
.ws .ws-pill.is-wait i { background: var(--amber); }
.ws .ws-pill.is-off i { background: rgba(10,10,10,.35); }
.ws .ws-pill.is-bad i { background: var(--red); }

/* verified types */
.ws .ws-types { margin-top: 28px; display: grid; gap: 14px; }
.ws .ws-type { padding: 26px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.ws .ws-type-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ws .ws-type-top .ws-tick { width: 24px; height: 24px; margin: 0; }
.ws .ws-type p { color: var(--muted); }
.ws .ws-kv { margin-top: 18px; border-top: 1px solid var(--line-soft); }
.ws .ws-kv > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.ws .ws-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ws .ws-kv dt { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.ws .ws-kv dd { color: var(--ink); text-wrap: pretty; }

/* evidence levels */
.ws .ws-evlevels { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ws .ws-evlevel { padding: 22px; border-radius: 22px; background: var(--soft); display: grid; align-content: start; gap: 6px; }
.ws .ws-meter { display: flex; gap: 4px; margin-bottom: 16px; }
.ws .ws-meter i { width: 22px; height: 6px; border-radius: 99px; background: rgba(10,10,10,.1); }
.ws .ws-meter i.on { background: var(--ink); }
.ws .ws-evlevel h3 { margin-bottom: 4px; }
.ws .ws-evlevel small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 8px; }
.ws .ws-evlevel p { font-size: 15px; color: var(--muted); margin: 0; }

/* checkmarks */
.ws .ws-checks { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ws .ws-checkcard { position: relative; overflow: hidden; padding: 26px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; align-content: start; gap: 8px; }
.ws .ws-checkcard p { color: var(--muted); font-size: 15px; margin: 0; }
.ws .ws-seal { width: 44px; height: 44px; margin-bottom: 14px; }
.ws .ws-checkcard.is-gold { background: linear-gradient(160deg, rgba(232,196,104,.14), rgba(255,255,255,0) 55%); }
.ws .ws-checkcard .ws-tag { position: absolute; top: 22px; right: 22px; }
.ws .ws-states { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* menu */
.ws .ws-menu { position: sticky; top: 32px; display: grid; max-height: calc(100vh - 64px); }
.ws .ws-menu > small { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.ws .ws-menu nav { display: grid; border-left: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; }
.ws .ws-menu nav a { position: relative; padding: 5px 0 5px 16px; font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .25s; }
.ws .ws-menu nav a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 1.5px; background: var(--ink); transform: scaleY(0); transition: transform .3s var(--ease); }
.ws .ws-menu nav a:hover, .ws .ws-menu nav a.is-on { color: var(--ink); }
.ws .ws-menu nav a.is-on::before { transform: none; }
.ws .ws-menu .ws-btn { margin-top: 22px; justify-self: start; height: 38px; font-size: 14.5px; }
.ws .ws-toc-m { display: none; }

/* end CTA */
.ws .ws-end { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 28px; border-radius: 24px; background: var(--ink); color: #fff; }
.ws .ws-end b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.ws .ws-end p { color: rgba(255,255,255,.6); margin-top: 2px; }
.ws .ws-end .ws-btn { background: #fff; color: var(--ink); }
.ws .ws-end .ws-btn:hover { background: #e9e9eb; }

/* reveal */
.ws .ws-rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ws .ws-rv.is-in { opacity: 1; transform: none; }
.ws .ws-hero-in > * { opacity: 0; transform: translateY(12px); animation: ws-in .9s var(--ease) forwards; }
.ws .ws-hero-in > :nth-child(2) { animation-delay: .08s; } .ws .ws-hero-in > :nth-child(3) { animation-delay: .16s; }
.ws .ws-hero-in > :nth-child(4) { animation-delay: .24s; } .ws .ws-hero-in > :nth-child(5) { animation-delay: .34s; }
@keyframes ws-in { to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .ws .ws-doc { grid-template-columns: 1fr; }
  .ws .ws-menu { display: none; }
  .ws .ws-toc-m { display: block; margin-bottom: 40px; border-radius: 18px; background: var(--soft); }
  .ws .ws-toc-m summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-weight: 500; cursor: pointer; }
  .ws .ws-toc-m summary::-webkit-details-marker { display: none; }
  .ws .ws-toc-m summary .ws-icon { transition: transform .3s var(--ease); }
  .ws .ws-toc-m[open] summary .ws-icon { transform: rotate(180deg); }
  .ws .ws-toc-m nav { display: grid; padding: 0 18px 14px; columns: 1; }
  .ws .ws-toc-m nav a { padding: 7px 0; font-size: 15px; color: var(--muted); border-top: 1px solid rgba(10,10,10,.06); }
  .ws .ws-toc-m nav a span { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-right: 10px; }
  .ws .ws-mgrid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ws .ws-mlist > div { grid-template-columns: 1fr; }
  .ws .ws-hero { margin: 8px; border-radius: 22px; align-items: flex-end; min-height: min(calc(100svh - 16px), 760px); }
  .ws .ws-hero-in { padding-top: 360px; padding-bottom: 48px; gap: 22px; }
  .ws .ws-hero::before { background: linear-gradient(to top, rgba(10,92,214,.62) 10%, rgba(10,92,214,.2) 55%, rgba(10,92,214,0) 80%); }
  .ws .ws-aur i:nth-child(4) { width: 90%; right: -10%; top: -12%; }
  .ws .ws-levels, .ws .ws-outcomes, .ws .ws-evlevels, .ws .ws-checks, .ws .ws-topics { grid-template-columns: 1fr; }
  .ws .ws-dochead { grid-template-columns: 1fr; }
  .ws .ws-steps li { grid-template-columns: 40px minmax(0, 1fr); }
  .ws .ws-steps .ws-why { grid-column: 2; padding-top: 0; }
  .ws .ws-weights li { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 16px; }
  .ws .ws-weights .ws-bar { grid-column: 1 / -1; grid-row: 2; }
  .ws .ws-weights em { grid-column: 2; grid-row: 1; }
  .ws .ws-kv > div { grid-template-columns: 1fr; gap: 4px; }
  .ws .ws-reqs li { grid-template-columns: 1fr; gap: 6px; }
  .ws .ws-end { grid-template-columns: 1fr; }
  .ws .ws-end .ws-btn { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .ws *, .ws *::before, .ws *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ws .ws-hero-in > *, .ws .ws-rv { opacity: 1; transform: none; }
  .ws .ws-aur i { animation: none; }
  .ws .ws-bar i { transform: none; }
}

/* ---------- WTS v2.5 document rendering ---------- */
.ws .ws-info { margin: 0 0 clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.ws .ws-info > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.ws .ws-info dt { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ws .ws-info dd { margin: 0; font-size: 15px; text-wrap: pretty; }
.ws .ws-text > section > h2 { margin-bottom: 8px; }
.ws .ws-h3 { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 6px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; scroll-margin-top: 32px; }
.ws .ws-h3 .ws-hn { font-family: var(--mono); font-size: 12.5px; color: var(--faint); font-weight: 400; min-width: 40px; }
.ws .ws-h3 > span:last-child { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.ws .ws-c { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; margin-top: 14px; scroll-margin-top: 32px; }
.ws .ws-cn { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 4px; letter-spacing: 0; }
.ws .ws-cb { min-width: 0; }
.ws .ws-cb > p { max-width: 66ch; margin: 0; text-wrap: pretty; }
.ws .ws-cb > * + * { margin-top: 12px; }
.ws .ws-text p + p { margin-top: 0; }
.ws .ws-p { margin-top: 14px; max-width: 66ch; text-wrap: pretty; }
.ws .ws-alpha { display: grid; gap: 8px; max-width: 66ch; }
.ws .ws-alpha li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px; text-wrap: pretty; }
.ws .ws-alpha li > span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 3px; }
.ws .ws-ul { display: grid; gap: 8px; max-width: 66ch; margin-top: 12px; }
.ws .ws-ul li { position: relative; padding-left: 18px; text-wrap: pretty; }
.ws .ws-ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.ws .ws-def { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 6px 24px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.ws .ws-def:first-of-type { margin-top: 12px; }
.ws .ws-def dt { font-weight: 500; }
.ws .ws-def dd { margin: 0; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.ws .ws-def-x { grid-template-columns: 1fr; padding: 18px 0; scroll-margin-top: 32px; }
.ws .ws-def-x dt { display: flex; gap: 12px; align-items: baseline; }
.ws .ws-formula { margin: 12px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--soft); font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.ws a.ws-ref { color: inherit; text-decoration: underline; text-decoration-color: rgba(10,10,10,.22); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.ws a.ws-ref:hover { text-decoration-color: var(--ink); }
.ws code { font-family: var(--mono); font-size: .88em; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
.ws .ws-subh { margin: 28px 0 6px; font-weight: 500; letter-spacing: -.015em; }
.ws .ws-total { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-align: right; }
.ws .ws-checks-top { margin: 22px 0 8px; }
.ws .ws-facts { display: grid; margin-top: 6px; border-top: 1px solid var(--line-soft); }
.ws .ws-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.ws .ws-facts li span { color: var(--muted); }
.ws .ws-facts li b { font-weight: 500; text-align: right; }
@media (max-width: 720px) {
  .ws .ws-info { grid-template-columns: 1fr; }
  .ws .ws-c { grid-template-columns: 1fr; gap: 2px; }
  .ws .ws-def { grid-template-columns: 1fr; }
  .ws .ws-h3 { flex-direction: column; gap: 4px; }
}

/* minimal pass (v2.5 page review) */
.ws .ws-tbc { color: var(--muted); font-style: italic; }
.ws .ws-hcode { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.ws .ws-notebox { margin-top: 14px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line); max-width: 66ch; }
.ws .ws-notebox span { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.ws .ws-notebox p { margin: 0; font-size: 15px; color: var(--muted); }
.ws .ws-crit { padding: 20px 0 18px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.ws .ws-h3 + .ws-crit, .ws .ws-p + .ws-crit { margin-top: 14px; }
.ws .ws-crit-h { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 12px; margin-bottom: 12px; }
.ws .ws-crit-code { grid-row: span 2; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 3px; }
.ws .ws-crit-h b { font-weight: 500; letter-spacing: -.015em; }
.ws .ws-crit-meta { font-size: 13.5px; color: var(--muted); }
.ws .ws-crit > .ws-p, .ws .ws-crit > .ws-lvls, .ws .ws-crit > .ws-notebox { margin-left: 76px; }
.ws .ws-crit > .ws-p { margin-top: 0; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.ws .ws-lvls { display: grid; gap: 7px; max-width: 64ch; }
.ws .ws-lvls li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.ws .ws-lvls .lv { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); padding-top: 2px; }
.ws .ws-table { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ws .ws-table table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.ws .ws-table.ws-wide table { min-width: 1500px; }
.ws .ws-table.ws-wide th:first-child, .ws .ws-table.ws-wide td:first-child { position: sticky; left: 0; z-index: 1; min-width: 200px; background: #fff; box-shadow: 1px 0 0 var(--line); }
.ws .ws-table.ws-wide thead th:first-child { background: #fafafa; }
.ws .ws-table thead th { background: #fafafa; padding: 11px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: left; vertical-align: bottom; white-space: nowrap; }
.ws .ws-table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); color: var(--muted); vertical-align: top; line-height: 1.5; text-wrap: pretty; }
.ws .ws-table tbody tr:last-child td { border-bottom: 0; }
.ws .ws-table tbody td:first-child { width: auto; color: var(--ink); font-weight: 500; }
.ws .ws-table tbody tr { transition: background-color .15s; }
.ws .ws-table tbody tr:hover { background: #fcfcfc; }
.ws .ws-checks-top .ws-checkcard.is-gold { background: #fff; }
.ws .ws-menu nav { overflow: visible; max-height: none; }
.ws .ws-menu nav.is-open { max-height: calc(100vh - 220px); overflow-y: auto; scrollbar-width: thin; }
.ws .ws-menu nav a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
.ws .ws-menu nav a[hidden] { display: none; }
.ws .ws-menu nav a span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding-top: 1px; }
.ws .ws-menu nav a em { font-style: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ws .ws-menu nav a.is-on span { color: var(--ink); }
.ws .ws-toc-m nav a em { font-style: normal; }
.ws .ws-toc-more { justify-self: start; margin-top: 10px; padding-left: 17px; font-size: 13px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(10,10,10,.25); text-underline-offset: 3px; }
.ws .ws-toc-more:hover { text-decoration-color: var(--ink); }
@media (max-width: 720px) {
  .ws .ws-crit-h { grid-template-columns: 1fr; }
  .ws .ws-crit-code { grid-row: auto; }
  .ws .ws-crit > .ws-p, .ws .ws-crit > .ws-lvls, .ws .ws-crit > .ws-notebox { margin-left: 0; }
}
