@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-greek-400-normal.woff2') format('woff2');unicode-range:U+0370-03FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-greek-500-normal.woff2') format('woff2');unicode-range:U+0370-03FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/roboto-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/roboto-greek-700-normal.woff2') format('woff2');unicode-range:U+0370-03FF}
@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-mono-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-mono-greek-400-normal.woff2') format('woff2');unicode-range:U+0370-03FF}
@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-mono-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-mono-greek-500-normal.woff2') format('woff2');unicode-range:U+0370-03FF}

/* ProcessChem site. Colours come from the app itself: pale blue-white ground, the app
   icon's deep blue for bands, mint from the store graphic. Scroll behaviour lives in
   site.js; everything here also reads correctly without it. */
:root {
  color-scheme: light;
  --bg: #F8FAFF;
  --surface: #FFFFFF;
  --soft: #EEF0F6;
  --ink: #1B1B1F;
  --muted: #44474E;
  --line: #C4C6D0;
  --brand: #0F47A0;
  --btn: #1F6FD6;
  --btn-ink: #FFFFFF;
  --mint: #2FB9A3;
  --mint-soft: #E3F0FD;
  --pill: #D9E3F9;
  --band-a: #0F47A0;
  --band-b: #071F4A;
  --on-band: #FFFFFF;
  --on-band-muted: rgba(255,255,255,.78);
  --p-std: #0F47A0;
  --p-acme: #C4411F;
  --p-nw: #A86400;
  --cut: clamp(28px, 5.2vw, 84px);
  --display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); margin: 0; overflow-x: clip; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 16px; top: 8px; }

/* sticky header: translucent, tightens and gains a hairline once you scroll */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(248,250,255,.74); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(15,71,160,.45); background: rgba(248,250,255,.9); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; transition: padding .25s; }
.site-head.scrolled .top { padding-block: 9px; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--brand), var(--mint)); transform-origin: 0 50%; transform: scaleX(0); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.nav { display: flex; gap: 6px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--pill); }
.nav a.cta-link { background: var(--btn); color: var(--btn-ink); }
.nav a.cta-link:hover { background: var(--brand); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; top: 20px; }
.menu-btn span::before { left: 0; right: 0; top: -6px; } .menu-btn span::after { left: 0; right: 0; top: 6px; }

/* buttons */
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 8px 28px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1.5px solid var(--ink); transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn small { font: 400 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.btn.fill { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.btn.line { background: transparent; color: var(--ink); }
.btn.disabled { opacity: .6; cursor: default; border-style: dashed; }
.btn.disabled:hover { transform: none; }

/* full-width bands with slanted edges */
.band { position: relative; color: var(--on-band); background: linear-gradient(135deg, var(--band-a) 0%, #0B3A86 45%, var(--band-b) 100%); }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 10%, rgba(93,211,193,.22), transparent 60%), radial-gradient(50% 60% at 5% 90%, rgba(111,168,255,.2), transparent 60%); }
.band > * { position: relative; }
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--cut))); }
.cut-both { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.cut-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.band .eyebrow { color: #8FE3D3; }
.band .btn.fill { background: #fff; color: var(--brand); border-color: #fff; }
.band .btn.line { color: #fff; border-color: rgba(255,255,255,.85); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 96px) calc(var(--cut) + clamp(24px, 4vw, 56px)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 6.1rem); line-height: .96; font-weight: 700; letter-spacing: -0.035em; }
.hero .lede { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-band-muted); max-width: 52ch; }
.hero .note { margin-top: 16px; font: 400 13px/1.4 var(--mono); color: var(--on-band-muted); }
.hero .stage { display: flex; justify-content: center; }
.hero .device { box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 40px 80px -30px rgba(0,0,0,.6); }
.hero .strip { margin-top: clamp(28px, 5vw, 64px); border: 0; overflow-x: auto; opacity: .95; }
.hero .eq, .hero .pipe { stroke: rgba(255,255,255,.55); }
.hero .lbl { fill: rgba(255,255,255,.62); }
.hero .util { stroke: #9CC4FF; }
.hero .liq { fill: #5DD3C1; opacity: .35; }
.hero .flow, .hero .dot { stroke: #5DD3C1; }
.hero .dot { fill: #5DD3C1; stroke: none; }
.hero .strip svg { color: #fff; }

/* sections */
section.s { padding-block: clamp(56px, 8vw, 112px) clamp(8px, 2vw, 24px); }
.sec-head { max-width: 920px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.sec-head p { margin-top: 20px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 60ch; }
.band .sec-head p { color: var(--on-band-muted); }

/* reveal on scroll (hidden only when site.js is running) */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
[data-drift] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .flow { animation: none; } }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* phone: real screenshots, and an HTML replica of the app for the company demo */
.device { --frame: #101b22; width: 100%; max-width: 290px; border: 9px solid var(--frame); border-radius: 40px; background: var(--frame); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(0,0,0,.45); overflow: hidden; margin: 0; }
.device img { display: block; width: 100%; height: auto; border-radius: 30px; }
.hero .stage { display: flex; justify-content: center; }

/* The real app is always light, so the replica uses fixed light values */
.app { --app-bg: #F8FAFF; --app-ink: #1B1B1F; --app-muted: #5F6368; --app-line: #C9CDD6; --app-nav: #EEF0F6; --app-pill: #DCE3F3; --app-btn: #F1F3FA; --app-btn-ink: #3D5A86; --app-menu: #EEEFF4;
  --frame: #101b22; width: 100%; max-width: 290px; height: 590px; border: 9px solid var(--frame); border-radius: 40px; background: var(--app-bg); color: var(--app-ink); overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(0,0,0,.45); font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.app .body { flex: 1; padding: 22px 14px 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.app .co { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--app-menu); }
.app .co .mark { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font: 700 12px/1 var(--display); color: #fff; background: var(--pa); overflow: hidden; flex: none; }
.app .co .mark img { width: 100%; height: 100%; display: block; }
.app .co b { font: 700 13px/1.1 var(--display); }
.app .ttl { text-align: center; font: 500 21px/1.1 Roboto, "Helvetica Neue", Arial, sans-serif; margin-top: 2px; }
.app .sub { text-align: center; font-size: 11.5px; color: var(--app-muted); }
.app .btns { display: flex; gap: 7px; padding-block: 7px; border-block: 1px solid var(--app-line); }
.app .btns span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--app-btn); color: var(--app-btn-ink); font-size: 12px; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.app .btns span.save { background: #5C6F7C; color: #fff; }
.app .sel { display: flex; justify-content: space-between; align-items: center; border: 1.3px solid var(--app-ink); border-radius: 5px; padding: 9px 10px; font-size: 13px; color: var(--app-muted); }
.app .menu { border-radius: 4px; background: var(--app-menu); box-shadow: 0 2px 6px rgba(0,0,0,.22); margin-top: -4px; }
.app .menu div { padding: 9px 10px; font-size: 12.5px; }
.app .menu.pa { box-shadow: 0 2px 6px rgba(0,0,0,.22), inset 0 0 0 1.3px var(--pa); }
.app .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.app .chip { font: 500 10px/1.2 var(--mono); padding: 4px 7px; border-radius: 5px; background: var(--app-pill); color: var(--app-ink); }
.app .lab { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--app-muted); margin-top: 2px; }
.app .saved div { font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--app-line); display: flex; align-items: center; gap: 8px; }
.app .saved i { width: 8px; height: 10px; background: var(--pa); border-radius: 1px 1px 0 0; flex: none; }
.app .nav { display: flex; background: var(--app-nav); padding: 8px 4px 10px; }
.app .nav span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--app-ink); }
.app .nav span i { display: grid; place-items: center; width: 46px; height: 24px; border-radius: 12px; }
.app .nav span.on i { background: var(--app-pill); }
.app .nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app .tag-ex { position: absolute; left: 0; right: 0; text-align: center; top: 7px; font: 500 8.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--app-muted); }
.p-std { --pa: #0F47A0; }
.p-acme { --pa: #C4411F; }
.p-nw { --pa: #A86400; }

/* screens gallery: columns sit at staggered heights */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); padding-bottom: 40px; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shots figure:nth-child(even) { margin-top: 56px; }
.shots figcaption { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.shots figcaption b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin-bottom: 4px; }

/* flow strip */
.strip { margin-top: 8px; border-block: 1px solid var(--line); overflow-x: auto; }
.strip svg { display: block; min-width: 760px; width: 100%; height: auto; color: var(--ink); }
.eq { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pipe { fill: none; stroke: var(--ink); stroke-width: 2; }
.flow { fill: none; stroke: var(--mint); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 14; animation: run 1.2s linear infinite; }
.util { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 5 5; }
.liq { fill: var(--mint); opacity: 0.35; stroke: none; }
.dot { fill: var(--mint); stroke: none; }
.lbl { font: 500 11px var(--mono); fill: var(--muted); letter-spacing: 0.04em; }
@keyframes run { to { stroke-dashoffset: -15; } }
@media (prefers-reduced-motion: reduce) { .flow { animation: none; } }

.index { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 2rem; font-weight: 700; line-height: 1; }
.row h3 span { display: block; margin-top: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.row p { color: var(--muted); max-width: 60ch; }
.row ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.row li { font: 500 12.5px/1.2 var(--mono); padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.row h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.stands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 2px solid var(--ink); padding-top: 24px; }
.stands h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.stands p { color: var(--muted); font-size: 15.5px; }
.stands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 2px solid var(--ink); padding-top: 28px; }

/* company demo on a band */
.demo { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; background: var(--surface); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.seg button { font: 600 14px/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.demo .fict { font: 400 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 20px; }
.demo dl { margin: 0; border-top: 1px solid var(--line); }
.demo dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.demo dt { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.demo dd { margin: 0; font-weight: 500; }
.demo .after { margin-top: 20px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.demo .btn.fill { background: var(--btn); color: #fff; border-color: var(--btn); }
.phone-col { display: flex; justify-content: center; }

.docs-cta { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 28px; }
.docs-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.05; margin-bottom: 10px; }
.docs-cta p { color: var(--muted); max-width: 62ch; }

/* footer band */
.site-foot { margin-top: clamp(40px, 6vw, 90px); padding-block: calc(var(--cut) + 36px) 44px; font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot strong { font-size: 18px; }

@media (max-width: 980px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero-grid, .row, .demo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero .stage { order: 2; }
  .stands { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .shots figure:nth-child(even) { margin-top: 0; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .js .nav { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); flex-direction: column; gap: 2px; padding: 10px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(15,71,160,.5); }
  .js .nav.open { display: flex; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 560px) { .shots { grid-template-columns: minmax(0, 1fr); } .device, .app { max-width: 260px; } }

/* documentation */
/* documentation */
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 24px 40px; }
.docs-nav { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 14.5px; }
.docs-nav h2 { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.docs-nav h2:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; padding: 0; margin: 0; }
.docs-nav a { display: block; padding: 5px 10px; margin-inline: -10px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.docs-nav a:hover { color: var(--ink); background: var(--surface); }
.docs-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--surface); box-shadow: inset 3px 0 0 var(--brand); }
.article { min-width: 0; max-width: 78ch; }
.article h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; font-weight: 700; margin-bottom: 20px; }
.article h2 { font-size: 1.55rem; font-weight: 700; margin: 40px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.article h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 8px; }
.article h4 { font-size: 1.02rem; font-weight: 700; margin: 22px 0 6px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 1.3em; }
.article li { margin: 4px 0; }
.article a { color: var(--brand); text-underline-offset: 3px; }
.article code { font: 500 0.9em var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.article pre { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 0 0 16px; }
.article pre code { background: none; border: 0; padding: 0; font-size: 0.88em; }
.article blockquote { margin: 0 0 16px; padding: 4px 16px; border-left: 3px solid var(--mint); color: var(--muted); }
.article img { max-width: 100%; height: auto; vertical-align: middle; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.article table { border-collapse: collapse; font-size: 0.95em; min-width: 100%; }
.article th, .article td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.docs-note { font: 400 13px/1.5 var(--mono); color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 14px; }
.crumb { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumb a { text-decoration: none; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .docs-nav { position: static; max-height: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}
@media print { .docs-nav, .site-head, .site-foot { display: none; } }

/* hero load-in */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.rise-group > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise-group > :nth-child(2) { animation-delay: .08s; } .rise-group > :nth-child(3) { animation-delay: .18s; }
.rise-group > :nth-child(4) { animation-delay: .28s; } .rise-group > :nth-child(5) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .rise-group > * { animation: none; } }
.band.cut-both.s { padding-block: calc(var(--cut) + clamp(32px, 5vw, 72px)); }
@media (max-width: 860px) { .hero .stage { margin-top: 36px; } }
