/* Accent tokens (2026-11-23): every purple and pink on the site is a step of one scale, so a profile swaps the
   scale and everything follows, light and dark. The default is deep purple (Oleg, 2026-11-23, for every visitor
   who hasn't picked one; it was fuchsia, still offered as "current"); the others are a visitor's pick (accent.js), each checked for AA: 700 as text on white, white on 800, 300 and 400 as text on navy. */
html[data-accent="current"] { --acc-50: #fdf4ff; --acc-100: #fae8ff; --acc-200: #f5d0fe; --acc-300: #f0abfc; --acc-400: #e879f9; --acc-500: #d946ef; --acc-600: #c026d3; --acc-700: #a21caf; --acc-800: #86198f; --acc-900: #701a75; --acc-950: #4a044e; --acc-wd: #1a0b1f; --acc-300-rgb: 240 171 252; --acc-400-rgb: 232 121 249; --acc-500-rgb: 217 70 239; --acc-600-rgb: 192 38 211; --acc-800-rgb: 134 25 143; }
html[data-accent="amber"] { --acc-50: #fffbeb; --acc-100: #fef3c7; --acc-200: #fde68a; --acc-300: #fcd34d; --acc-400: #fbbf24; --acc-500: #f5b30b; --acc-600: #d99a06; --acc-700: #a16207; --acc-800: #854d0e; --acc-900: #713f12; --acc-950: #422006; --acc-wd: #1f1705; --acc-300-rgb: 252 211 77; --acc-400-rgb: 251 191 36; --acc-500-rgb: 245 179 11; --acc-600-rgb: 217 154 6; --acc-800-rgb: 133 77 14; }
html[data-accent="cyan"] { --acc-50: #ecfeff; --acc-100: #cffafe; --acc-200: #a5f3fc; --acc-300: #67e8f9; --acc-400: #22d3ee; --acc-500: #06b6d4; --acc-600: #0891b2; --acc-700: #0e7490; --acc-800: #155e75; --acc-900: #164e63; --acc-950: #083344; --acc-wd: #031a21; --acc-300-rgb: 103 232 249; --acc-400-rgb: 34 211 238; --acc-500-rgb: 6 182 212; --acc-600-rgb: 8 145 178; --acc-800-rgb: 21 94 117; }
html[data-accent="coral"] { --acc-50: #fff5f2; --acc-100: #ffe7e0; --acc-200: #ffcdbf; --acc-300: #ffab95; --acc-400: #ff8a6e; --acc-500: #f86b4f; --acc-600: #e5533a; --acc-700: #b8391f; --acc-800: #962f1a; --acc-900: #7c2817; --acc-950: #43110a; --acc-wd: #22100b; --acc-300-rgb: 255 171 149; --acc-400-rgb: 255 138 110; --acc-500-rgb: 248 107 79; --acc-600-rgb: 229 83 58; --acc-800-rgb: 150 47 26; }
html[data-accent="violet"] { --acc-50: #f5f3ff; --acc-100: #ede9fe; --acc-200: #ddd6fe; --acc-300: #c4b5fd; --acc-400: #a78bfa; --acc-500: #8b5cf6; --acc-600: #7c3aed; --acc-700: #6d28d9; --acc-800: #5b21b6; --acc-900: #4c1d95; --acc-950: #2e1065; --acc-wd: #150d2b; --acc-300-rgb: 196 181 253; --acc-400-rgb: 167 139 250; --acc-500-rgb: 139 92 246; --acc-600-rgb: 124 58 237; --acc-800-rgb: 91 33 182; }
:root { --acc-50: #faf5ff; --acc-100: #f3e8ff; --acc-200: #e9d5ff; --acc-300: #d8b4fe; --acc-400: #c084fc; --acc-500: #a855f7; --acc-600: #9333ea; --acc-700: #7e22ce; --acc-800: #6b21a8; --acc-900: #581c87; --acc-950: #3b0764; --acc-wd: #170a26; --acc-300-rgb: 216 180 254; --acc-400-rgb: 192 132 252; --acc-500-rgb: 168 85 247; --acc-600-rgb: 147 51 234; --acc-800-rgb: 107 33 168; }
/* X2Y front: the pages Cloudflare serves ahead of the Laravel site (home, Systems Map, agreement, NDA).
   The look follows x2y.dev: Figtree, slate neutrals, the fuchsia accent, and the X2Y mark from
   resources/views/components/logo.blade.php. Light and dark follow the visitor's system setting. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/front/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/front/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Metric-matched fallback so the swap to Figtree does not move the page. */
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 101%; ascent-override: 94%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #64748b;
  --line: #e2e8f0;
  --accent: var(--acc-600);
  --accent-text: var(--acc-700);
  --accent-deep: var(--acc-800);
  --accent-wash: var(--acc-50);
  --btn: #0f172a;
  --btn-ink: #ffffff;
  --btn-hover: var(--acc-800);
  --focus: var(--acc-800);
  --ok: #047857;
  --err: #b91c1c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --bg-alt: #0f172a;
    --card: #0b1222;
    --ink: #f1f5f9;
    --ink-soft: #cbd5e1;
    --ink-faint: #94a3b8;
    --line: #1e293b;
    --accent: var(--acc-400);
    --accent-text: var(--acc-300);
    --accent-deep: var(--acc-200);
    --accent-wash: var(--acc-wd);
    --btn: #ffffff;
    --btn-ink: #0f172a;
    --btn-hover: var(--acc-200);
    --focus: var(--acc-300);
    --ok: #34d399;
    --err: #f87171;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Figtree', 'Figtree Fallback', ui-sans-serif, system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 16px; text-wrap: pretty; }
strong { font-weight: 650; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---- header: the X2Y mark, as in logo.blade.php */
.site-nav { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand .mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: #000; color: #fff; font-weight: 650; letter-spacing: 0.16em; padding-left: 4px; font-size: 15px; }
@media (prefers-color-scheme: dark) { .brand .mark { background: #fff; color: #000; } }
.brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc-800); margin: 0 8px; }
@media (prefers-color-scheme: dark) { .brand .dot { background: var(--acc-400); } }
.brand .dev { font-weight: 750; font-size: 15px; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 550; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a.hide-sm { display: none; } .nav-links { gap: 14px; } }
@media (max-width: 420px) { .nav-links a:not(.btn) { display: none; } }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 650; line-height: 1.2; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-ink); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { color: #0f172a; } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn-lg { font-size: 16px; padding: 14px 24px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- home sections */
/* The home hero is dark in both themes, with the white header above it, and is built from Oleg's
   original x2y.dev hex backdrop (public/images/welcome/bg-bestagon.svg): its radial glow, #003C64
   at about 78% across fading to near-black, broad and soft with no edge, under a gentle darkening
   on the left where the copy sits. The tiles, lattices and route are lattice.js. Colours are fixed
   rather than themed, so light and dark mode look the same. The copy's contrast is measured against
   the rendered backdrop (see the commit): it passes AA everywhere. */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; isolation: isolate; color: #cbd5e1;
  background:
    linear-gradient(90deg, rgba(4, 8, 24, 0.55) 0%, rgba(4, 8, 24, 0.35) 30%, rgba(4, 8, 24, 0) 62%),
    radial-gradient(circle at 78% 50%, #003c64 0%, #022a4b 13%, #031c37 28%, #041229 45%, #050c21 66%, #050a1e 100%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero + .section { border-top: 0; }
.hero .eyebrow { color: var(--acc-300); }
.hero h1 { color: #fff; }
.hero .since { color: #94a3b8; }
.hero .btn-primary { background: #fff; color: #0f172a; }
.hero .btn-primary:hover { background: var(--acc-200); color: #0f172a; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }
.hero :focus-visible { outline: 2px solid var(--acc-300); outline-offset: 3px; }
/* lattice.js's layers. The whole hero is covered, quieter on the left: the mask here, and each tile's
   own opacity. */
:root { --lattice-line: rgba(96, 165, 250, 0.3); --lattice-node: rgba(125, 211, 252, 0.6); --lattice-pulse: var(--acc-400); }
.lattice { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 40%, #000 72%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 40%, #000 72%); }
/* Phones: a lighter band of finer hexes above the copy only (--band, set by lattice.js), with the
   glow in that corner, so nothing sits behind the headline. */
@media (max-width: 640px) {
  .lattice { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--band, 110px) - 44px), transparent var(--band, 110px)); mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--band, 110px) - 44px), transparent var(--band, 110px)); }
  .hero { background: radial-gradient(circle at 88% 0%, #003c64 0, #022a4b 70px, #031c37 140px, #041229 230px, #050c21 360px, #050a1e 560px); }
}
.lat-tile { stroke: none; }
.lat-t1 { fill: rgba(14, 60, 97, 0.55); }
.lat-t2 { fill: rgba(1, 51, 87, 0.5); }
.lat-t3 { fill: rgba(3, 27, 53, 0.8); }
.lat-t4 { fill: rgba(2, 15, 36, 0.55); }
.lat-t5 { fill: rgba(255, 255, 255, 0.045); }
.lat-bevel polygon { fill: none; stroke: rgba(56, 140, 210, 0.3); stroke-width: 1; }
.lat-bevel polygon.inner { stroke: rgba(56, 140, 210, 0.17); stroke-width: 0.8; }
.lat-big { fill: none; stroke: rgba(96, 165, 250, 0.12); stroke-width: 1; }
.lat-big-node { fill: rgba(125, 211, 252, 0.1); }
.lat-line { fill: none; stroke: var(--lattice-line); stroke-width: 1; }
.lat-node { fill: var(--lattice-node); }
.lat-node-halo { fill: rgba(125, 211, 252, 0.1); }
/* The route sits with the lattice (Oleg, 2026-11-22): the lattice's steel blue at about half the old strength, small square dots. Pulses on it stay bright. */
.lat-signal { fill: none; stroke: rgba(74, 136, 196, 0.5); stroke-width: 1.3; stroke-dasharray: 1.3 1.7; stroke-linecap: butt; }
.lat-pulse { fill: none; stroke: var(--lattice-pulse); stroke-width: 2.2; stroke-linecap: round; }
.lat-halo { fill: none; stroke: var(--lattice-pulse); stroke-width: 9; stroke-linecap: round; opacity: 0.22; }
.lat-glow { fill: var(--lattice-pulse); opacity: 0; transform-box: fill-box; transform-origin: center; animation: lat-glow 1.6s ease-out forwards; }
.lat-lit { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; animation: lat-lit 1.6s ease-out forwards; }
@keyframes lat-glow { 0% { opacity: 0.75; transform: scale(0.8); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes lat-lit { 0% { opacity: 0.95; } 60% { opacity: 0.6; } 100% { opacity: 0; } }
.lat-flash { fill: rgba(125, 211, 252, 0.2); opacity: 0; animation: lat-flash 1.9s ease-in-out forwards; }
@keyframes lat-flash { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.lat-breathe { fill: rgba(125, 211, 252, 0.13); opacity: 0; animation: lat-breathe 5.5s ease-in-out forwards; }
@keyframes lat-breathe { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
.lat-twinkle { fill: #bae6fd; opacity: 0; animation: lat-twinkle 2.6s ease-in-out forwards; }
@keyframes lat-twinkle { 0% { opacity: 0; } 45% { opacity: 0.45; } 100% { opacity: 0; } }
.eyebrow, .label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 750; margin: 0 0 22px; max-width: 26ch; text-wrap: balance; }
/* "The systems you already run," then "connected." on its own line, in the accent: the break is
   deliberate on wide screens; on phones the first line balances over two. */
.hero h1 .h1-line { display: inline; }
.hero h1 .h1-pay { display: block; color: var(--acc-400); }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: #cbd5e1; max-width: 62ch; margin-bottom: 30px; }
.hero .lead strong { color: #fff; }
/* The payoff line always starts on its own line, bold, a short breath after the lead. */
.hero .lead-first { margin-bottom: 0.875em; }
.hero .lead-payoff { font-weight: 600; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.since { margin-top: 26px; font-size: 15px; color: var(--ink-faint); }

.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; margin: 0 0 16px; max-width: 24ch; }
.section .intro { font-size: 18px; color: var(--ink-soft); max-width: 68ch; margin-bottom: 36px; }
@media (max-width: 640px) { .hero { padding: 124px 0 48px; } .section { padding: 56px 0; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.card .sub { color: var(--ink-soft); margin-top: -4px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin: 12px 0; color: var(--ink-soft); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--accent-text); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .badge { color: #0f172a; } }
.price { font-size: 30px; font-weight: 750; margin: 4px 0 12px; }
.price small { font-size: 15px; font-weight: 500; color: var(--ink-faint); }
.tbd { display: inline-block; font-size: 15px; font-weight: 650; color: var(--accent-text); background: var(--accent-wash); border: 1px dashed var(--accent); border-radius: 8px; padding: 2px 8px; }
.pitch { font-weight: 650; color: var(--ink); }
.plan p { color: var(--ink-soft); }
.plan .when { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-faint); margin-bottom: 0; }
.why-price { margin: 32px 0 0; max-width: 72ch; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); }
.why-price h3 { font-size: 19px; margin: 0 0 8px; }
.why-price p { color: var(--ink-soft); margin: 0; }
.why-price + .why-price { margin-top: 22px; }
.terms-line { margin-top: 28px; color: var(--ink-soft); max-width: 72ch; }

/* Case in point: the snegov.co story rail in X2Y's tokens. A vertical window, two stories in view on
   desktop and one on phones, at a fixed height (the tallest set plus a peek of the next) with a fade
   at the bottom; the buttons and arrow keys move one story and loop both ways. Without JS every
   story shows, stacked. */
.rail { max-width: 760px; margin: 36px auto 0; }
.rail-view { position: relative; }
.rail-window { position: relative; display: flex; flex-direction: column; gap: 20px; scroll-behavior: smooth; }
.rail-window.js { overflow: hidden; }
.rail-view.js::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; z-index: 1; }
.rail-window:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; border-radius: 16px; }
.rail .story { flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.rail .story h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.story .sn { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.rail-nav { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.rail-nav[hidden] { display: none; }
.rail-count { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.rail-btns { display: flex; gap: 12px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); background: var(--accent-wash); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; transition: background .2s ease, color .2s ease; }
.rail-btn:hover { background: var(--accent-text); color: var(--card); }
.rail-btn:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
@media (max-width: 640px) { .rail .story { padding: 24px 20px; } .rail .story h3 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .rail-window { scroll-behavior: auto; } .rail-btn { transition: none; } }
.story .num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.story p { color: var(--ink-soft); margin: 0; }
.story p strong { color: var(--ink); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 760px; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 30px 64px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font-weight: 750; display: grid; place-items: center; }
.steps > li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.steps h3 { font-size: 20px; margin: 4px 0 8px; }
.steps p { color: var(--ink-soft); }
/* Step 4's package fold (the snegov.co pattern, X2Y's tokens): open by default; closed, it is one
   line with "See what's included". */
.tiers-fold { margin: 18px 0 14px; }
.tiers-fold summary { list-style: none; cursor: pointer; }
.tiers-fold summary::-webkit-details-marker { display: none; }
.tiers-fold summary:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; border-radius: 6px; }
.tiers-fold .tk { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.tiers-fold .tl { display: block; color: var(--ink-soft); margin: 4px 0 12px; }
.tiers-fold .more { display: none; font-size: 14px; font-weight: 650; color: var(--accent-text); border-bottom: 1px solid var(--accent); }
.tiers-fold:not([open]) .more { display: inline-block; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; font-size: 15px; line-height: 1.5; }
.tier .tn { font-size: 18px; font-weight: 700; color: var(--ink); }
.tier .tp { font-size: 18px; font-weight: 750; color: var(--ink); margin: 4px 0 8px; }
.tier .tp small, .tier .tp span { font-size: 13px; font-weight: 500; color: var(--ink-faint); }
.steps .tier p { margin: 0; }
.steps .tterms { margin: 12px 0 0; font-size: 15px; }
.steps .tnote { font-size: 15px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* ---- forms (contact, signing) */
.form, .sign { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.form label, .sign label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-faint); }
input[type=text], input[type=email], input[type=tel], input[type=date], input:not([type]), textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
@media (prefers-color-scheme: dark) { input[type=text], input[type=email], input[type=tel], input[type=date], input:not([type]), textarea { border-color: #334155; } }
input:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 6px; margin: 0; }
legend { font-size: 15px; font-weight: 600; padding: 0 6px; }
.sign fieldset label, .sign label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; }
.sign fieldset input, .sign label.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--accent-deep); }
.err { color: var(--err); font-weight: 600; margin: 0; }
.ok { color: var(--ok); font-weight: 600; margin: 0; }
.contact-card { max-width: 760px; }
.cf-turnstile { margin: 0; }
.cf-turnstile:has(iframe) { margin: 4px 0; }

/* ---- documents (agreement, NDA, Systems Map) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
@media (max-width: 640px) { .doc { padding: 36px 16px 56px; } }
.doc .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.doc h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 750; margin: 10px 0 12px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin: 8px 0; }
.doc .meta, .meta { color: var(--ink-faint); font-size: 15px; }
.preface { background: var(--accent-wash); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 24px 8px; margin: 28px 0 32px; }
.preface .kicker { margin-bottom: 8px; }
.draft-note { background: var(--accent-wash); border: 1px dashed var(--accent); border-radius: 12px; padding: 14px 18px; margin: 20px 0; font-size: 15px; }
.cap { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg-alt); }

/* ---- footer */
/* One thin line on every page (Oleg, 2026-11-22): privacy, cookie settings, the two documents, the copyright, and a
   "Site map" toggle (a native <details>, so the links are in the HTML and work without script) for everything else. */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 14px 0; font-size: 13px; color: var(--ink-faint); }
.site-footer .footer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.site-footer .footer-copy { margin-left: auto; }
.footer-more summary { cursor: pointer; list-style: none; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.footer-more summary::-webkit-details-marker { display: none; }
.footer-more summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.footer-more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.footer-more summary:hover { color: var(--ink); }
.footer-more summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.footer-more[open] { flex-basis: 100%; order: 99; }
.footer-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px 24px; padding: 18px 0 8px; animation: footer-open .22s ease-out; }
.footer-group p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.footer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@keyframes footer-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .footer-panel { animation: none; } .footer-more summary::after { transition: none; } }
@media (max-width: 640px) {
  .site-footer .footer-copy { margin-left: 0; }
  .site-footer .footer-line > a, .footer-more summary { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-group li a { display: inline-flex; min-height: 40px; align-items: center; }
  /* Two columns that fill top to bottom, so a short group never leaves a hole beside a long one. */
  .footer-panel { display: block; columns: 2; column-gap: 24px; }
  .footer-group { break-inside: avoid; margin-bottom: 16px; }
  .footer-group ul { gap: 0; }
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
@media print {
  .site-nav, .site-footer, .skip, .preface, .sign .cf-turnstile, .sign .btn, .sign .err, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .doc { padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
  h2 { page-break-after: avoid; }
}

/* ---- The blog (src/blog.mjs): the Laravel blog's two heroes, ported into the front's tokens ---- */
.blog-hero, .post-hero { position: relative; color: #fff; padding-top: 64px; }
.blog-hero { background: #0f172a; }
.post-hero { background: linear-gradient(60deg, rgb(84, 58, 183) 0%, rgb(0, 172, 193) 100%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; }
.blog-hero h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 750; color: #fff; margin: 0 0 12px; }
.post-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 750; color: #fff; margin: 0; line-height: 1.15; }
.blog-hero .hero-inner > p { color: #fff; font-size: 20px; max-width: 28ch; margin: 0 auto 22px; }
.hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin: 0 0 10px; }
.cursor::after { content: '_'; margin-left: 2px; color: var(--acc-600); animation: blink 2s steps(1, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.subscribe { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 448px; }
.subscribe input[type=email] { flex: 1 1 220px; min-width: 0; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2); background: #fff; color: #0f172a; font: inherit; font-size: 16px; }
.subscribe .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.subscribe .cf-turnstile { flex-basis: 100%; }
.sub-status { flex-basis: 100%; margin: 0; min-height: 1.4em; font-size: 15px; color: #e2e8f0; }
.btn-accent { background: var(--acc-800); color: #fff; }
.btn-accent:hover { background: var(--acc-900); color: #fff; }
.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; }
.ask-ai { padding: 28px 0 4px; display: flex; flex-direction: column; align-items: center; }
.ask-label { font-size: 12px; font-weight: 600; color: #e2e8f0; margin: 0 0 12px; }
.ask-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.ask-row a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.ask-icon { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform .2s ease, background .2s ease; }
.ask-row a:hover .ask-icon, .ask-row a:focus-visible .ask-icon { transform: scale(1.1); background: rgba(255, 255, 255, 0.15); }
.ask-row a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 12px; }
.ask-icon svg { width: 20px; height: 20px; }
.ask-name { font-size: 11px; color: #cbd5e1; }
.ask-row a:hover .ask-name { color: #fff; }
.waves { display: block; position: relative; width: 100%; height: 15vh; min-height: 100px; max-height: 150px; margin-top: 24px; margin-bottom: -7px; }
.waves use { fill: var(--bg); }
.waves use:nth-child(1) { opacity: .7; }
.waves use:nth-child(2) { opacity: .5; }
.waves use:nth-child(3) { opacity: .3; }
.parallax > use { animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 60s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 30s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 10s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }
@media (max-width: 768px) { .waves { height: 40px; min-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .parallax > use, .cursor::after { animation: none; } .ask-icon { transition: none; } }
/* The blog sits in the site's one container (.wrap, as the home sections and the nav): the index is a
   two-column card grid; an article keeps a readable 720px body on the container's left edge, with a
   sticky side rail in the remaining width above 1100px. */
.post-list { padding-top: 40px; padding-bottom: 72px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-item { position: relative; display: flex; flex-direction: column; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color 0.15s, box-shadow 0.15s; }
.post-item:hover { border-color: var(--ink-faint); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07); }
.post-item:focus-within { border-color: var(--focus); }
.post-item h2 { font-size: 21px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.post-item h2 a:focus-visible { outline: none; }
.post-item:hover h2 a { color: var(--accent-text); }
.post-item .tag-row { margin-top: auto; padding-top: 4px; }
.post-text { display: flex; flex-direction: column; flex: 1; }
@media (min-width: 761px) { .post-item:not(.post-featured) .post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; } }
.post-featured { grid-column: 1 / -1; }
.post-featured h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin-bottom: 10px; }
.post-featured .post-excerpt { font-size: 17px; }
.post-cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 18px; }
@media (min-width: 900px) {
  .post-featured:has(.post-cover) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding: 26px; }
  .post-featured .post-cover { order: 2; margin: 0; }
}
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; gap: 14px; } .post-item { padding: 20px; } .post-list { padding-top: 28px; } }
.post-date { font-size: 14px; color: var(--ink-faint); margin: 0 0 10px; }
.post-date span::before { content: '\00b7'; margin: 0 6px; }
.post-excerpt { color: var(--ink-soft); margin: 0 0 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-text); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 32px; }
.pager-count { color: var(--ink-faint); font-size: 14px; }
.empty { padding: 48px 0; text-align: center; color: var(--ink-soft); }
.post-page { padding-top: 28px; padding-bottom: 72px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 64px; align-items: start; }
.post-main { min-width: 0; }
.prose h2 { scroll-margin-top: 20px; }
.post-side { position: sticky; top: 24px; margin-top: 28px; display: grid; gap: 22px; max-height: calc(100vh - 48px); overflow-y: auto; }
.side-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.45; color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent-text); border-left-color: var(--accent); }
.side-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); }
.side-card-title { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.side-card p:not(.side-card-title) { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
@media (max-width: 1099px) { .post-layout { grid-template-columns: minmax(0, 720px); } .post-side { display: none; } }
.crumbs { font-size: 13px; color: var(--ink-faint); margin: 0 0 8px; }
.crumbs a { color: var(--accent-text); }
.post-meta { font-size: 14px; color: var(--ink-faint); margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-meta time { margin-left: 8px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin-top: 28px; overflow-wrap: anywhere; }
.prose table { overflow-wrap: normal; }
.prose th, .prose td { min-width: 7em; }
.prose h2 { font-size: 28px; font-weight: 750; color: var(--ink); margin: 44px 0 14px; line-height: 1.25; }
.prose h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 32px 0 10px; line-height: 1.3; }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--accent-text); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 20px; }
.prose li { margin: 8px 0; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose pre { overflow-x: auto; background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.prose :not(pre) > code { background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose iframe { max-width: 100%; }
.security-alert { margin: 24px 0 8px; padding: 20px 24px; border-radius: 12px; background: #111827; border-left: 4px solid #ef4444; color: #d1d5db; }
.security-alert .sa-kicker { color: #f87171; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.security-alert h2 { color: #fff; font-size: 22px; margin: 0 0 10px; }
.security-alert p { margin: 0 0 12px; }
.security-alert a:not(.btn) { color: #fff; }
.security-alert .sa-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0; }
.related { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.related h2 { font-size: 20px; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; }
.related-title { color: var(--ink); font-weight: 650; }
.related-card:hover .related-title { color: var(--accent-text); }
.related-meta { font-size: 13px; color: var(--ink-faint); }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } .prose { font-size: 17px; } .blog-hero .hero-inner > p { font-size: 18px; } }

/* ---- Contact: the modal (snegov.co's pattern) and the /contact page ---- */
.field { display: grid; gap: 6px; }
.field label, .form .field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.captcha:empty { display: none; }
.captcha { min-height: 0; }
html.modal-open { overflow: hidden; }
.overlay { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.overlay.open { display: flex; }
.modal { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 32px 32px 28px; box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35); animation: modal-in 0.18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 26px; font-weight: 750; margin: 0 44px 6px 0; }
.modal .sub { font-size: 15px; color: var(--ink-soft); margin: 0 0 20px; }
.modal form { display: grid; gap: 14px; }
.modal .row2 { gap: 12px; }
.modal input[type=text], .modal input[type=email], .modal input[type=tel] { padding: 10px 12px; }
.modal textarea { min-height: 96px; padding: 10px 12px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink-soft); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { color: var(--ink); border-color: var(--ink-faint); }
.modal .actions { display: grid; gap: 10px; margin-top: 4px; }
.modal .actions .btn { width: 100%; padding: 14px; }
.modal .err, .contact-form-card .err { font-size: 14px; text-align: center; }
.modal .privacy { font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); text-align: center; margin: 0; }
.success { text-align: center; padding: 28px 8px 20px; }
.success:focus { outline: none; }
.success .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success .mark svg { width: 28px; height: 28px; fill: #fff; }
@media (prefers-color-scheme: dark) { .success .mark svg { fill: #022c22; } }
.success h3 { font-size: 24px; margin: 0 0 8px; }
.success p { color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) {
  .overlay { padding: 0; align-items: flex-end; }
  .modal { max-width: none; max-height: 94dvh; border-radius: 18px 18px 0 0; padding: 24px 20px 0; border-bottom: 0; animation: modal-rise 0.22s ease-out; }
  @keyframes modal-rise { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
  .modal h3 { font-size: 23px; }
  .modal .sub { margin-bottom: 16px; }
  .modal .row2 { grid-template-columns: 1fr 1fr; }
  .modal .actions { position: sticky; bottom: 0; margin: 4px -20px 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
  .modal .success { padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }

.contact-page { padding: 72px 0 96px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-intro h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 750; margin: 0 0 20px; }
.contact-intro p { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.contact-ways { margin: 28px 0 0; display: grid; gap: 16px; }
.contact-ways div { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-ways dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.contact-ways dd { margin: 0; font-size: 17px; font-weight: 600; }
.contact-form-card h2 { font-size: 24px; margin: 0 0 20px; }
.contact-form-card .form { gap: 16px; }
.contact-form-card label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.contact-form-card label.check input { width: 18px; height: 18px; flex: none; accent-color: var(--accent-deep); }
.contact-form-card .actions { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } .contact-page { padding: 48px 0 72px; } }
@media (max-width: 640px) { .contact-form-card { padding: 20px; } .contact-form-card .actions .btn { width: 100%; } }

/* ---- Post reading aids (post-nav.js): the rail's progress line, and the section dock below 1100px ---- */
.toc ol { position: relative; }
.toc-fill { position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--accent); border-radius: 2px; transition: height 0.18s linear; pointer-events: none; }
.reduced-motion .toc-fill { transition: none; }
@media (prefers-reduced-motion: reduce) { .toc-fill { transition: none; } }
.toc a { position: relative; z-index: 1; }
.toc a[aria-current="true"] { color: var(--accent-text); font-weight: 600; }

.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(440px, 100% - 24px); margin: 0 auto; opacity: 0; visibility: hidden; transform: translateY(calc(100% + 16px + env(safe-area-inset-bottom, 0px))); transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s; }
.dock.on { opacity: 1; visibility: visible; transform: none; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s; }
html.modal-open .dock { opacity: 0; visibility: hidden; transition: none; }
@media (min-width: 1100px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock, .dock.on, .dock-list, .dock.open .dock-list { transition: none; } }
.dock-bar { display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 36px -16px rgba(15, 23, 42, 0.35), 0 2px 8px -4px rgba(15, 23, 42, 0.2); }
.dock-toggle { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 44px; padding: 0 10px 0 2px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dock-ring { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; }
.dock-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dock-ring circle { fill: none; stroke-width: 3; }
.dock-track { stroke: var(--line); }
.dock-done { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 0.15s linear; }
.dock-ring b { position: relative; font-size: 11px; font-weight: 650; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dock-now { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.dock-idx { color: var(--ink-faint); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dock-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.dock-chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.dock.open .dock-chev { transform: rotate(180deg); }
.dock .dock-cta { flex: none; min-height: 44px; padding: 0 16px; font-size: 15px; }
.dock-list { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s; }
.dock.open .dock-list { opacity: 1; visibility: visible; transform: none; transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s; }
.dock-list ol { margin: 0; padding: 0; list-style: none; }
.dock-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.dock-list a:focus-visible { outline-offset: -2px; }
.dock-list i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-text); font-style: normal; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.dock-list a[aria-current] { background: var(--accent-wash); font-weight: 650; }
.dock-list a[aria-current] i { background: var(--btn); color: var(--btn-ink); }
@media (hover: hover) {
  .dock-toggle:hover { background: var(--accent-wash); }
  .dock-list a:hover { background: var(--bg-alt); }
}
/* the article's end clears the dock */
@media (max-width: 1099px) { html.has-dock .post-page { padding-bottom: 120px; } }

/* ---- "Watch the story" and its theater player (film.js) ---- */
.story-film { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 2px 0 14px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.story-film:hover { border-color: var(--accent); color: var(--accent-text); }
.story-film svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--btn); fill: var(--btn-ink); }
.story-film-time { color: var(--ink-faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.story-film-time:empty { display: none; }
html.theater-open, html.theater-open body { overflow: hidden; }
.theater { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 48px 16px 24px; background: rgba(2, 6, 23, 0.96); overscroll-behavior: contain; touch-action: none; }
.theater-box { position: relative; width: min(92vw, 1280px, calc((100vh - 96px) * 16 / 9)); width: min(92vw, 1280px, calc((100dvh - 96px) * 16 / 9)); aspect-ratio: 16 / 9; }
.theater.vertical .theater-box { width: min(92vw, calc((100vh - 96px) * 9 / 16)); width: min(92vw, calc((100dvh - 96px) * 9 / 16)); aspect-ratio: 9 / 16; }
.theater video { display: block; width: 100%; height: 100%; border-radius: 12px; background: #000; touch-action: auto; }
.theater-close { position: absolute; top: -50px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.theater-close:hover { background: rgba(255, 255, 255, 0.26); }
.theater-close:focus-visible { outline: 2px solid var(--acc-300); outline-offset: 2px; }

/* ---- Case studies, reimagined (cases.mjs) ---- */
.case-hero { background: radial-gradient(circle at 78% 50%, #003c64 0%, #022a4b 13%, #031c37 28%, #041229 45%, #050c21 66%, #050a1e 100%); color: #cbd5e1; padding: 72px 0 64px; }
.case-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.case-hero:has(.case-film) .case-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.case-hero .eyebrow { color: var(--acc-300); }
.case-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 750; margin: 0 0 16px; max-width: 22ch; }
.case-summary { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: #cbd5e1; max-width: 58ch; }
.case-facts { color: #94a3b8; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin: 0; }
.case-film { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.case-film img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.case-film:hover img { opacity: 1; }
.case-film-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: #0f172a; font-weight: 650; font-size: 15px; }
.case-film-play svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #0f172a; fill: #fff; }
.case-page { padding-top: 28px; padding-bottom: 72px; max-width: 1120px; }
.case-note { margin: 0 0 20px; padding: 14px 18px; border: 1px solid #f59e0b; border-radius: 12px; background: color-mix(in srgb, #f59e0b 10%, var(--bg)); color: var(--ink); font-size: 14px; line-height: 1.55; }
.case-section { margin: 40px 0 0; max-width: 820px; }
.case-section h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 750; margin: 0 0 16px; }
.case-situation { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.case-situation li { position: relative; padding-left: 22px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.case-situation li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 10px; height: 10px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--accent); }
#what-we-connected { max-width: none; }
.case-diagram-box { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-alt); padding: 12px; }
.case-diagram { display: block; width: 100%; height: auto; }
.case-diagram.tall { display: none; max-width: 360px; margin: 0 auto; }
@media (max-width: 760px) { .case-diagram.wide { display: none; } .case-diagram.tall { display: block; } }
.case-diagram .node polygon { fill: var(--card); stroke: #4a88c4; stroke-width: 1.5; }
.case-diagram .node polygon.inner { fill: none; stroke: rgba(74, 136, 196, 0.35); stroke-width: 1; }
.case-diagram .node.x2y polygon:first-child { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 2; }
.case-diagram .node.erp polygon:first-child { fill: #0f172a; stroke: #0f172a; }
.case-diagram .node.people polygon:first-child { stroke: var(--ink-faint); }
.case-diagram .node.retired polygon { fill: none; stroke: var(--ink-faint); stroke-dasharray: 4 4; opacity: 0.7; }
/* a halo in the box's colour, so a line passing behind a label never runs through it */
.case-diagram .node-label, .case-diagram .node-sub { paint-order: stroke; stroke: var(--bg-alt); stroke-width: 6px; stroke-linejoin: round; }
.case-diagram .node-label { fill: var(--ink); font-size: 15px; font-weight: 700; }
.case-diagram .node-sub { fill: var(--ink-faint); font-size: 12.5px; }
.case-diagram.tall .node-label { font-size: 17px; }
.case-diagram.tall .node-sub { font-size: 14px; }
.case-diagram .node.retired .node-label { fill: var(--ink-faint); }
.case-diagram .edge { stroke-width: 2; }
.case-diagram .edge.live { stroke: #4a88c4; stroke-dasharray: 6 8; animation: case-flow 1.6s linear infinite; }
.case-diagram .edge.live.both { animation-direction: alternate; animation-duration: 2.4s; } /* data both ways ("dir": "both") */
.case-diagram .edge.retired { stroke: var(--ink-faint); stroke-dasharray: 2 6; opacity: 0.6; }
.case-diagram .edge-mark circle { fill: #2f6fae; }
.case-diagram .edge-mark text { fill: #fff; font-size: 13px; font-weight: 700; }
.case-diagram .edge-mark.retired circle { fill: var(--bg-alt); stroke: var(--ink-faint); stroke-dasharray: 2 3; }
.case-diagram .edge-mark.retired text { fill: var(--ink-faint); }
.case-flows { margin: 8px 6px 6px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 20px; }
.case-flows li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.case-flows .n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #4a88c4; color: #fff; font-size: 12px; font-weight: 700; }
.case-flows li.retired { color: var(--ink-faint); }
.case-flows li.retired .n { background: none; border: 1px dashed var(--ink-faint); color: var(--ink-faint); }
.case-flows strong { color: var(--ink); font-weight: 600; }
.case-flows li.retired strong { color: var(--ink-faint); }
@keyframes case-flow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .case-diagram .edge.live { animation: none; } }
@media (prefers-color-scheme: dark) { .case-diagram .node.erp polygon:first-child { fill: #f1f5f9; stroke: #f1f5f9; } }
.case-outcomes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.case-outcomes li { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.case-outcomes .o-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.case-outcomes .o-band { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.case-outcomes li.needs-evidence { border-style: dashed; border-color: #f59e0b; }
.case-outcomes .o-evidence { font-size: 12.5px; line-height: 1.45; color: #b45309; }
@media (prefers-color-scheme: dark) { .case-outcomes .o-evidence { color: #fbbf24; } }
.case-quote { margin: 40px 0 0; max-width: 820px; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 14px 14px 0; }
.case-quote blockquote { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); }
.case-quote figcaption { margin-top: 10px; color: var(--ink-faint); font-weight: 600; }
.case-built { margin: 40px 0 0; max-width: 820px; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: var(--card); }
.case-built summary { cursor: pointer; padding: 18px 0; font-size: 19px; font-weight: 700; list-style: none; }
.case-built summary::after { content: '+'; float: right; color: var(--ink-faint); font-weight: 500; }
.case-built[open] summary::after { content: '\2212'; }
.case-built h3 { font-size: 17px; margin: 6px 0 6px; }
.case-built p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 16px; }
.case-story h3 { font-size: 20px; margin: 28px 0 8px; }
.case-story p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.case-cta { margin: 48px 0 0; max-width: 820px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-alt); }
.case-cta p:not(.side-card-title) { color: var(--ink-soft); margin: 0 0 14px; }
@media (max-width: 900px) { .case-hero:has(.case-film) .case-hero-inner { grid-template-columns: minmax(0, 1fr); } .case-hero { padding: 48px 0 44px; } }

/* The unsubscribe page (newsletter.mjs) */
.unsub { max-width: 560px; padding: 96px 24px; text-align: center; }
.unsub h1 { font-size: 32px; line-height: 1.2; margin: 0 0 16px; }
.unsub p { color: var(--ink-soft); }
.unsub form { margin-top: 32px; }
.unsub .unsub-again { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line, #e2e8f0); }
.unsub .unsub-again p { margin: 0 0 12px; font-size: 14px; }
.unsub-note { margin: 0 0 32px; padding: 8px 16px; border-radius: 8px; font-size: 14px; background: #fffbeb; color: #78350f !important; border: 1px solid #fde68a; }
.unsub-home { margin-top: 40px; font-size: 14px; }

/* Case studies: who it is for, and the tags the index filters on (cases.mjs) */
.case-for { margin: 18px 0 24px; padding-left: 14px; border-left: 2px solid #c7b9ff; font-size: 17px; line-height: 1.5; color: #fff; max-width: 640px; }
.case-for span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c7b9ff; }
.case-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.case-tags li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #e2e8f0; }
.case-closing { margin: 0 0 16px; font-size: 17px; line-height: 1.55; color: var(--ink); }

/* The case-study index (cases.mjs, renderCaseIndex) */
.case-index-hero h1 { max-width: none; }
.case-index { padding: 32px 24px 72px; }
.case-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.case-jump a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.case-jump a span { color: var(--ink-faint); font-weight: 500; margin-left: 4px; }
.case-jump a:hover { border-color: var(--accent); }
.case-group { margin-top: 40px; scroll-margin-top: 88px; }
.case-group h2 { font-size: 22px; margin: 0 0 16px; }
.case-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.case-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.case-card h3 { font-size: 18px; line-height: 1.35; margin: 0; max-width: none; }
.case-card h3 a { color: var(--ink); text-decoration: none; }
.case-card h3 a::after { content: ""; position: absolute; inset: 0; }
.case-card { position: relative; }
.case-card:hover { border-color: var(--accent); }
.case-card-tags { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.case-card-for { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.case-card-meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.case-card-meta:empty { display: none; }
.case-card-film { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.case-card-film svg { width: 14px; height: 14px; fill: currentColor; }
.case-card-admin { color: var(--ink-faint); }
.stories-more { margin: 24px 0 0; text-align: center; font-weight: 600; }
.case-index .case-cta { margin-top: 48px; }

/* Case-study statements at body size read semi-bold, not bold (Oleg, 2026-11-23): bold phrases in the situation,
   how-we-built and story text, and the preview note. Headings and the small uppercase labels keep their weight. */
.case-page strong, .case-page b { font-weight: 600; }

/* A blog preview's bar (posts.mjs, renderPreviewPage): not live yet, or a refresh waiting to be applied. */
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 12px 24px; background: #fffbeb; border-bottom: 1px solid #fde68a; color: #78350f; font-size: 15px; }
.preview-bar p { margin: 0; }
.preview-bar a { color: inherit; text-decoration: underline; }
.preview-bar form { margin: 0; }

/* Agent reports (reports.mjs) */
.report-page { padding: 48px 24px 72px; max-width: 860px; }
.report-meta { margin: 0 0 12px; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.report-tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--bg-alt); color: var(--ink-faint); }
.report-head h1 { font-size: clamp(28px, 4vw, 38px); margin: 0; }
.report-generated { margin: 10px 0 0; font-size: 14px; color: var(--ink-faint); }
.report-parent { margin: 10px 0 0; font-size: 14px; }
.report-body { margin-top: 28px; }

/* The reimagined About (public/front/pages/about.html; on the preview until Oleg approves it) */
.about-hero { background: radial-gradient(circle at 78% 50%, #003c64 0%, #022a4b 13%, #031c37 28%, #041229 45%, #050c21 66%, #050a1e 100%); color: #cbd5e1; padding: 72px 0 60px; }
.about-hero .eyebrow { color: var(--acc-300); }
.about-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 750; margin: 0 0 16px; max-width: 20ch; }
.about-hero .lead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; max-width: 62ch; margin: 0; }
.about-body { padding: 24px 24px 72px; }
.about-section { margin-top: 48px; max-width: 900px; }
.about-section h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.about-section p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: none; }
.pillar { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--card); }
.pillar h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.pillar .pillar-claim { margin: 8px 0 12px; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.pillar ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.pillar .pillar-you { margin: 14px 0 0; font-size: 15px; color: var(--ink); }
.about-products { padding-left: 18px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: var(--card); }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq-item p { margin: 0 0 16px; font-size: 16px; }
.about .case-cta { margin-top: 56px; max-width: 900px; }


.doc .doc-meta { margin: 0 0 24px; font-size: 14px; color: var(--ink-faint); }

/* The privacy policy's own Clarity control (the footer no longer carries one). */
.privacy-choice { font: inherit; font-weight: 600; color: var(--accent-text); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.privacy-choice:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---- native pages (src/pages.mjs): services, platforms, guides and tools in the front's design. No icons: type,
   the fuchsia accent and the case studies' navy carry the page. */
.pg-hero { background: radial-gradient(circle at 78% 50%, #003c64 0%, #022a4b 13%, #031c37 28%, #041229 45%, #050c21 66%, #050a1e 100%); color: #cbd5e1; padding: 56px 0 64px; }
.pg-hero .eyebrow { color: var(--acc-300); }
.pg-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 750; line-height: 1.08; margin: 0 0 18px; max-width: 22ch; }
.pg-lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 62ch; margin: 0; color: #cbd5e1; }
.pg-lede a, .pg-hero a:not(.btn) { color: var(--acc-300); }
.pg-updated { font-size: 13px; color: #94a3b8; margin: 18px 0 0; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.pg-hero .btn-primary { background: #fff; color: #0f172a; }
.pg-hero .btn-primary:hover { background: var(--acc-300); color: #0f172a; }
.pg-hero .btn-ghost { color: #fff; border-color: #475569; }
.pg-hero .btn-ghost:hover { border-color: #cbd5e1; color: #fff; }
.pg-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: #94a3b8; }
.pg-crumbs li + li::before { content: '/'; margin: 0 8px; color: #475569; }
.pg-crumbs a { color: #cbd5e1; text-decoration: none; }
.pg-crumbs a:hover { color: #fff; text-decoration: underline; }
.pg-section { padding: 64px 0; border-top: 1px solid var(--line); }
.pg-section.pg-alt { background: var(--bg-alt); }
.pg-hero + .pg-section { border-top: 0; }
.pg-section h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; line-height: 1.15; margin: 0 0 14px; max-width: 28ch; }
.pg-intro { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 64ch; margin: 0 0 28px; }
.pg-prose p, .pg-prose li { font-size: 17px; line-height: 1.7; max-width: 68ch; color: var(--ink-soft); }
.pg-prose p { margin: 0 0 16px; }
.pg-prose h3 { font-size: 20px; margin: 28px 0 8px; }
.pg-point-list, .pg-case-list, .pg-link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.pg-point-list li { border-top: 2px solid var(--accent); padding-top: 16px; }
.pg-point-list h3, .pg-step-list h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.pg-point-list p, .pg-step-list p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.pg-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.pg-more:hover { text-decoration: underline; }
.pg-step-list { list-style: none; counter-reset: pg-step; margin: 0; padding: 0; display: grid; gap: 24px; max-width: 760px; }
.pg-step-list li { counter-increment: pg-step; position: relative; padding-left: 56px; }
.pg-step-list li::before { content: counter(pg-step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 15px; color: var(--accent-text); background: var(--accent-wash); border: 1px solid var(--accent); }
.pg-record { background: #050c21; color: #cbd5e1; border-top: 0; }
.pg-record h2 { color: #fff; }
.pg-record .pg-intro { color: #cbd5e1; }
.pg-record-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 32px; margin: 8px 0 0; }
.pg-record-list div { border-left: 2px solid var(--acc-400); padding-left: 16px; }
.pg-record-list dt { font-size: 13px; font-weight: 650; letter-spacing: .04em; color: #94a3b8; order: 2; }
.pg-record-list dd { margin: 0 0 4px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 750; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pg-record-list div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.pg-note { margin: 28px 0 0; max-width: 68ch; font-size: 15px; line-height: 1.6; color: #94a3b8; }
.pg-note a { color: var(--acc-300); }
.pg-case-list a, .pg-link-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.pg-case-list a:hover, .pg-link-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pg-case-list strong, .pg-link-list strong { font-size: 18px; line-height: 1.3; }
.pg-case-list span:not(.pg-case-kicker), .pg-link-list span { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.pg-link-list strong::after { content: ' \2192'; color: var(--accent-text); }
.pg-case-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.pg-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.pg-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) { .pg-table table { font-size: 14px; } .pg-table th, .pg-table td { padding: 10px 10px; } }
.pg-table caption { text-align: left; padding: 12px 16px; font-size: 13px; color: var(--ink-faint); caption-side: bottom; }
.pg-table th, .pg-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pg-table thead th { font-size: 13px; font-weight: 700; color: var(--ink-faint); background: var(--bg-alt); }
.pg-table tbody th { font-weight: 700; color: var(--ink); }
.pg-table td { color: var(--ink-soft); }
.pg-table tbody tr:last-child th, .pg-table tbody tr:last-child td { border-bottom: 0; }
.pg-faq .faq-item { max-width: 760px; }
.pg-cta { background: var(--bg-alt); text-align: center; }
.pg-cta h2 { margin: 0 auto 12px; }
.pg-cta p { max-width: 60ch; margin: 0 auto 24px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.pg-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) { .pg-article-wrap:has(.pg-toc) { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } .pg-toc { position: sticky; top: 24px; align-self: start; } }
.pg-toc p { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 10px; }
.pg-toc ol { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.5; display: grid; gap: 6px; color: var(--ink-faint); }
.pg-toc a { color: var(--ink-soft); text-decoration: none; }
.pg-toc a:hover { color: var(--accent-text); text-decoration: underline; }
.pg-article-body { max-width: 72ch; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.pg-article-body h2 { font-size: clamp(24px, 2.8vw, 30px); color: var(--ink); margin: 48px 0 12px; line-height: 1.2; scroll-margin-top: 16px; }
.pg-article-body h2:first-child { margin-top: 0; }
.pg-article-body h3 { font-size: 20px; color: var(--ink); margin: 32px 0 8px; }
.pg-article-body p, .pg-article-body ul, .pg-article-body ol { margin: 0 0 18px; }
.pg-article-body li { margin: 6px 0; }
.pg-article-body a { color: var(--accent-text); }
.pg-article-body strong { color: var(--ink); }
.pg-article-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); }
.pg-article-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 24px; display: block; overflow-x: auto; }
.pg-article-body th, .pg-article-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pg-article-body code { font-size: .9em; background: var(--bg-alt); padding: 1px 5px; border-radius: 5px; }
.pg-article-body pre { overflow-x: auto; background: var(--bg-alt); padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.pg-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 640px) { .pg-hero { padding: 36px 0 44px; } .pg-section { padding: 48px 0; } .pg-article-body { font-size: 16px; } }

/* ---- Proof maps (src/proofmap.mjs): services cards, capability and platform heroes. The design agent's system ----
   A case study's own systems diagram, cut to the part a service covers. Fuchsia only where the study's data says
   kind "x2y". The lit edge flows (case-flow, the case diagrams' animation); the rest is still. */
.svc-map { margin: 0; background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='24.25'%3E%3Cpath d='M35 12.12L28 24.25H14L7 12.12L14 0H28Z M0 12.12H7 M35 12.12H42' fill='none' stroke='%234a88c4' stroke-opacity='.11' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 42px 24.25px; }
.pm-svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.pm-svg .node .body { fill: var(--card); stroke: #4a88c4; stroke-width: 1.5; }
.pm-svg .node .inner { fill: none; stroke: rgba(74, 136, 196, 0.35); stroke-width: 1; }
.pm-svg .node.people .body { stroke: var(--ink-faint); }
.pm-svg .node.erp .body { fill: #0f172a; stroke: #0f172a; }
.pm-svg .node.erp .inner { stroke: rgba(148, 163, 184, 0.4); }
.pm-svg .node.x2y .body { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 2; }
.pm-svg .node.x2y .inner { stroke: color-mix(in srgb, var(--accent) 40%, transparent); }
.pm-svg .node.retired .body, .pm-svg .node.retired .inner { fill: none; stroke: var(--ink-faint); stroke-dasharray: 4 4; opacity: 0.7; }
.pm-svg .halo { fill: rgba(74, 136, 196, 0.1); stroke: rgba(74, 136, 196, 0.55); stroke-width: 1; }
.pm-svg .node.x2y .halo { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: color-mix(in srgb, var(--accent) 55%, transparent); }
.pm-svg .node-label, .pm-svg .node-sub { paint-order: stroke; stroke: var(--bg-alt); stroke-width: 6px; stroke-linejoin: round; }
.pm-svg .node-label { fill: var(--ink); font-size: 15px; font-weight: 700; }
.pm-svg .node-sub { fill: var(--ink-soft); font-size: 12.5px; font-weight: 500; }
.pm-svg .node.retired .node-label { fill: var(--ink-faint); }
.pm-svg .edge { fill: none; }
.pm-svg .edge.dim { stroke: #64748b; stroke-width: 1.5; } /* 4.5:1 on --bg-alt */
.pm-svg .edge.lit { stroke: #4a88c4; stroke-width: 2.5; stroke-dasharray: 6 8; animation: case-flow 1.6s linear infinite; }
.pm-svg .edge.retired { stroke: var(--ink-faint); stroke-width: 1.5; stroke-dasharray: 2 6; opacity: 0.6; }
.pm-svg .chev { display: none; fill: none; stroke: #4a88c4; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-map.is-off .edge.lit { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .pm-svg .edge.lit { animation: none; stroke-dasharray: none; } .pm-svg .chev { display: inline; } }
@media (prefers-color-scheme: dark) {
  .svc-map { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='24.25'%3E%3Cpath d='M35 12.12L28 24.25H14L7 12.12L14 0H28Z M0 12.12H7 M35 12.12H42' fill='none' stroke='%2360a5fa' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"); }
  .pm-svg .node.erp .body { fill: #f1f5f9; stroke: #f1f5f9; }
  .pm-svg .node.erp .inner { stroke: rgba(15, 23, 42, 0.25); }
  .pm-svg .edge.dim { stroke: #7c8ba1; } /* 3:1 or more on the dark box */
}

/* the navy tone: hero maps, fixed colours like the home hero (dark in both themes) */
.pm-navy .node .body { fill: #071a33; stroke: #4a88c4; }
.pm-navy .node .inner { stroke: rgba(96, 165, 250, 0.3); }
.pm-navy .node.people .body { stroke: #94a3b8; }
.pm-navy .node.erp .body { fill: #f1f5f9; stroke: #f1f5f9; }
.pm-navy .node.erp .inner { stroke: rgba(15, 23, 42, 0.25); }
.pm-navy .node.x2y .body { fill: rgb(var(--acc-400-rgb) / 0.14); stroke: var(--acc-400); }
.pm-navy .node.x2y .inner { stroke: rgb(var(--acc-400-rgb) / 0.4); }
.pm-navy .halo { fill: rgba(125, 211, 252, 0.08); stroke: rgba(125, 211, 252, 0.45); }
.pm-navy .node.x2y .halo { fill: rgb(var(--acc-400-rgb) / 0.1); stroke: rgb(var(--acc-400-rgb) / 0.5); }
.pm-navy .node-label, .pm-navy .node-sub { stroke: #061429; }
.pm-navy .node-label { fill: #fff; }
.pm-navy .node-sub { fill: #cbd5e1; }
.pm-navy .edge.dim { stroke: #7c8ba1; } /* 3:1 or more on the navy */
.pm-navy .edge.lit, .pm-navy .chev { stroke: #8ec1ef; stroke-width: 3; }

/* ---- the services index card ---- */
.svc-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; font-size: 14px; color: var(--ink-soft); }
.svc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.svc-legend i { display: inline-block; width: 16px; height: 14px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.svc-legend .lg-lit { width: 24px; height: 0; clip-path: none; border-top: 2.5px dashed #4a88c4; }
.svc-legend .lg-x2y { background: var(--accent); }
.svc-legend .lg-erp { background: #0f172a; }
@media (prefers-color-scheme: dark) { .svc-legend .lg-erp { background: #f1f5f9; } }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1060px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.svc-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.svc-card:hover, .svc-card:focus-within { border-color: var(--accent); }
.svc-card:hover .edge.lit, .svc-card:focus-within .edge.lit { stroke-width: 3.25; }
.svc-card .svc-map { display: grid; place-items: center; height: 248px; padding: 14px 12px 10px; border-bottom: 1px solid var(--line); }
.svc-card .pm-svg { max-width: 360px; max-height: 224px; }
.svc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px; }
.svc-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.svc-card h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.25; max-width: none; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card:has(h3 a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.svc-line { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.svc-proof { display: grid; gap: 4px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.svc-proof .o-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.svc-proof .o-band { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.svc-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 8px 0 0; font-size: 14px; }
.svc-meta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.svc-meta a:hover { text-decoration: underline; }
.svc-film { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.svc-film svg { width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: var(--btn); fill: var(--btn-ink); }
.svc-film:hover { border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 700px) { .svc-film, .svc-meta a { min-height: 44px; } .svc-card .svc-map { height: auto; padding: 16px 10px 10px; } .svc-card .pm-svg { max-height: none; } }

/* ---- the capability / platform page hero ---- */
.svc-hero { background: radial-gradient(circle at 78% 50%, #003c64 0%, #022a4b 13%, #031c37 28%, #041229 45%, #050c21 66%, #050a1e 100%); color: #cbd5e1; padding: 64px 0 60px; }
.svc-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.svc-hero .eyebrow { color: var(--acc-300); }
.svc-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 750; margin: 0 0 16px; max-width: 17ch; }
.svc-hero :focus-visible { outline-color: var(--acc-300); }
.svc-hero .btn-primary { background: #fff; color: #0f172a; }
.svc-hero .btn-primary:hover { background: var(--acc-200); color: #0f172a; }
.svc-map-hero { border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 16px; padding: 22px 18px 14px; background-color: rgba(2, 8, 23, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='24.25'%3E%3Cpath d='M35 12.12L28 24.25H14L7 12.12L14 0H28Z M0 12.12H7 M35 12.12H42' fill='none' stroke='%2360a5fa' stroke-opacity='.1' stroke-width='1'/%3E%3C/svg%3E"); }
.svc-hero .pm-svg { max-width: 600px; }
.pm-phone { display: none; }
.svc-hero-proof { display: grid; gap: 10px; margin-top: 16px; }
.svc-hero .svc-proof { border-top: 0; padding-top: 0; }
.svc-hero .svc-proof .o-label { color: #94a3b8; }
.svc-hero .svc-proof .o-band { color: #fff; font-size: 18px; }
.svc-hero .svc-meta a { color: var(--acc-300); }
.svc-hero .svc-film { background: rgba(255, 255, 255, 0.95); color: #0f172a; border-color: transparent; }
.svc-hero .svc-film svg { background: #0f172a; fill: #fff; }
@media (max-width: 900px) { .svc-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; } .svc-hero { padding: 44px 0 40px; } }
@media (max-width: 760px) { .pm-wide { display: none; } .pm-phone { display: block; } .svc-hero .pm-phone .pm-svg { max-width: 360px; } .svc-map-hero { padding: 16px 10px 8px; } }
.pm-svg .edge.lit.both { animation-direction: alternate; animation-duration: 2.4s; }
.svc-hero .svc-legend { color: #cbd5e1; font-size: 13px; margin: 0 0 6px; }
.svc-hero .svc-legend .lg-erp { background: #f1f5f9; }
.svc-hero .svc-legend .lg-lit { border-top-color: #8ec1ef; }
.pg-services .svc-legend { margin-top: -8px; }
.about-linkedin { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.about-linkedin:hover { text-decoration: underline; }
.about-company { margin: -6px 0 22px; color: var(--ink-soft); }
/* About's team: a compact portrait grid (Oleg, 2026-11-22), the same for every portrait variant. */
.about-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 900px) { .about-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .about-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; } }
.about-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.about-person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: var(--bg-alt); margin-bottom: 12px; }
.about-person h3 { margin: 0; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.about-person .about-role { margin: 0; font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.about-person .about-since { margin: 0; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 560px) { .about-person img { width: 112px; height: 112px; } .about-person h3 { font-size: 16px; } .about-person .about-role { font-size: 12.5px; } }
.about-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -4px -6px -4px 0; color: var(--ink-faint); border-radius: 6px; }
.about-linkedin:hover { color: #0a66c2; }
.about-linkedin .li-glyph { width: 16px; height: 16px; fill: currentColor; }
/* The old site's classical column, the same on all three pillars (Oleg, 2026-11-22). */
.pillar-icon { display: block; width: 48px; height: 48px; margin: 0 auto 14px; fill: var(--ink); }
/* The maze (maze.js), the brand's mark: a black square, left of "What X2Y means"; above it on phones. */
.about-name { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 32px; align-items: start; }
.about-maze { width: 208px; height: 208px; padding: 24px; box-sizing: border-box; background: #000; border-radius: 12px; image-rendering: pixelated; }
.about-maze-note { font-size: 15px; color: var(--ink-faint); }
@media (max-width: 640px) { .about-name { grid-template-columns: minmax(0, 1fr); gap: 20px; } .about-maze { width: 176px; height: 176px; padding: 20px; } }

/* ---- the delivery pipeline (src/pipeline.mjs): the hero of its page, the proof maps' language at hero scale ---- */
.pg-hero-pipeline { padding-bottom: 48px; }
.pg-hero-pipeline h1 { max-width: 20ch; font-size: clamp(36px, 5.4vw, 64px); }
.pl-figure { margin: 40px 0 0; padding: 26px 14px 10px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 18px; background-color: rgba(2, 8, 23, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='24.25'%3E%3Cpath d='M35 12.12L28 24.25H14L7 12.12L14 0H28Z M0 12.12H7 M35 12.12H42' fill='none' stroke='%2360a5fa' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E"); background-size: 42px 24.25px; }
.pl-svg { display: block; width: 100%; height: auto; }
.pl-tall { display: none; }
.pl-edge { stroke: #8ec1ef; stroke-width: 3; stroke-dasharray: 6 8; animation: case-flow 1.6s linear infinite; }
.pl-edge.planned { stroke: #7c8ba1; stroke-width: 2; stroke-dasharray: 2 6; animation: none; }
.pl-node .pl-body { fill: #071a33; stroke: #4a88c4; stroke-width: 1.5; }
.pl-node .pl-inner { fill: none; stroke: rgba(96, 165, 250, 0.3); stroke-width: 1; }
.pl-node.x2y .pl-body { fill: rgb(var(--acc-400-rgb) / 0.14); stroke: var(--acc-400); stroke-width: 2; }
.pl-node.x2y .pl-inner { stroke: rgb(var(--acc-400-rgb) / 0.4); }
.pl-node.person .pl-body { fill: #0b1222; stroke: #f1f5f9; stroke-width: 2; }
.pl-node.planned .pl-body, .pl-node.planned .pl-inner { fill: none; stroke: #7c8ba1; stroke-dasharray: 4 4; }
.pl-node .pl-halo { fill: rgba(125, 211, 252, 0.1); stroke: rgba(125, 211, 252, 0.6); stroke-width: 1; opacity: 0.15; }
.pl-node.x2y .pl-halo { fill: rgb(var(--acc-400-rgb) / 0.14); stroke: rgb(var(--acc-400-rgb) / 0.7); }
.pl-node.planned .pl-halo { display: none; }
.pl-label { fill: #fff; font-size: 15px; font-weight: 700; }
.pl-node.planned .pl-label { fill: #cbd5e1; }
.pl-sub { fill: #cbd5e1; font-size: 12.5px; font-weight: 500; }
.pl-token circle { fill: #fff; filter: drop-shadow(0 0 6px var(--acc-400)) drop-shadow(0 0 2px #fff); }
.pl-legend { margin: 14px 0 0; color: #cbd5e1; font-size: 13px; }
.pl-legend .lg-lit { border-top-color: #8ec1ef; }
.pl-legend .lg-person { background: #f1f5f9; }
.pl-legend .lg-planned { background: none; outline: 1.5px dashed #7c8ba1; outline-offset: -2px; }
@media (max-width: 760px) { .pl-wide { display: none; } .pl-tall { display: block; max-width: 360px; margin: 0 auto; } .pl-figure { padding: 18px 8px 6px; } }
@media (prefers-reduced-motion: reduce) { .pl-token { display: none; } .pl-node .pl-halo { opacity: 0.9; } .pl-edge { animation: none; } }
.pg-film { margin: 22px 0 0; }
.pg-hero .pg-film-btn { background: rgba(255, 255, 255, 0.95); color: #0f172a; border-color: transparent; min-height: 44px; font-weight: 650; }
.pg-hero .pg-film-btn svg { background: #0f172a; fill: #fff; }
/* Mobile review Y-03, Y-04: 44 px targets for text links, a readable contents list, arrows kept with their word. */
.pg-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px; }
.pg-prose a, .pg-intro a, .pg-point-list p a, .pg-step-list p a { padding: 10px 0; }
.pg-table td a, .pg-table th a { display: inline-flex; align-items: center; min-height: 44px; }
.pg-toc ol { font-size: 15px; gap: 2px; }
.pg-toc a { display: inline-block; padding: 6px 0; }
.pg-link-list strong::after { content: '\00a0\2192'; white-space: nowrap; }
.pg-pipeline { background: radial-gradient(circle at 50% 30%, #04213d 0%, #050c21 60%, #050a1e 100%); color: #cbd5e1; border-top: 0; }
.pg-pipeline h2 { color: #fff; }
.pg-pipeline .pg-intro { color: #cbd5e1; }
.pg-pipeline .pl-figure { margin-top: 8px; }
.pl-lane-label { font-size: 12.5px; }
/* Desktop: all six groups (Work, Company, Services, Platforms, Resources, Products) on one row (Oleg, 2026-11-22). */
@media (min-width: 900px) { .footer-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 18px; } }
/* ---- AI agents (section kind "agents"): a card each; a hex badge, fuchsia for the agents we built. ---- */
.ag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ag-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.ag-card h3 { margin: 0; font-size: 17px; font-weight: 700; }
.ag-station { margin: 2px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.ag-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.ag-card .ag-station { color: var(--ink-faint); }
.ag-card.built .ag-station { color: var(--accent-text); }
.ag-badge { flex: none; width: 52px; height: 46px; }
.ag-badge polygon { fill: var(--bg-alt); stroke: #64748b; stroke-width: 1.5; }
.ag-badge text { font: 700 15px/1 Figtree, system-ui, sans-serif; fill: var(--ink); letter-spacing: .02em; }
.ag-card.built .ag-badge polygon { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 2; }
.ag-card.built .ag-badge text { fill: var(--accent-text); }

/* More (Oleg, 2026-11-22): the panel sits outside <details>, after the copyright, so the toggle stays where it is
   and the groups open on a row of their own below it. */
.footer-more[open] { flex-basis: auto; order: 0; }
.footer-line > .footer-panel { display: none; flex-basis: 100%; order: 99; }
.footer-more[open] ~ .footer-panel { display: grid; }
@media (min-width: 900px) { .footer-more[open] ~ .footer-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-more[open] ~ .footer-panel { display: block; } }
/* Short pages keep the footer at the bottom of the window. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* The phone call-to-action bar (contact-modal.js): one tap to get in touch, clear of the home indicator. */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); transition: transform .2s ease; }
.cta-bar .btn { width: 100%; min-height: 48px; }
.cta-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 760px) { .cta-bar { display: block; } body.has-cta-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }

/* The main nav (Oleg, 2026-11-22): Services, Platforms, Case studies, Packages, Blog and Contact us. Phones keep
   Case studies and a Menu disclosure with the rest; Systems Map and the agreement live in the footer. */
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-menu[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 200px; display: grid; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(2, 6, 23, 0.14); }
.nav-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-menu-panel a:hover { background: var(--bg-alt); }
@media (max-width: 760px) { .nav-menu { display: block; } }
@media (max-width: 420px) { .nav-links a.nav-keep { display: inline-flex; } .nav-links a:not(.btn):not(.nav-keep) { display: none; } .nav-menu-panel a { display: flex !important; } }
/* The diagrams, restrained (Oleg, 2026-11-22): small solid markers on the lattice, fuchsia only for what we built,
   each drawn at its natural size and centred, shrinking only to fit. */
.pl-svg { width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.pl-node .pl-body { fill: #0c2440; stroke: #4a88c4; stroke-width: 1.5; }
.pl-node.people .pl-body { fill: #0b1222; stroke: #94a3b8; }
.pl-node.x2y .pl-body { fill: var(--acc-600); stroke: var(--acc-400); stroke-width: 1.5; }
.pl-node.person .pl-body { fill: #f1f5f9; stroke: #f1f5f9; }
.pl-node.planned .pl-body { fill: none; stroke: #7c8ba1; stroke-dasharray: 3 3; }
.pl-node .pl-halo { stroke-width: 1; }
.pl-edge { stroke-width: 2; }
.pl-token circle { r: 5; }
.pl-legend .lg-x2y { background: var(--acc-600); }
/* The home hero's period pulses like a live connection (Oleg, 2026-11-22): a slow beat, never gone, glowing on the
   beat; solid under reduced motion. Only its opacity and glow move, so nothing shifts. */
.pulse-dot { display: inline; animation: x2y-pulse 1.8s ease-in-out infinite; }
@keyframes x2y-pulse { 0%, 100% { opacity: 1; text-shadow: 0 0 14px rgb(var(--acc-400-rgb) / 0.85), 0 0 2px rgb(var(--acc-400-rgb) / 0.9); } 50% { opacity: 0.25; text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
/* The X2Y mark at the Contact us button's height, square (Oleg, 2026-11-22). */
.brand .mark { width: 44px; height: 44px; font-size: 12.7px; position: relative; }
/* The mark's intro (logo.js): hidden from the first paint until the maze hands over; boxes never change. */
html.logo-intro .site-nav .brand .mark { -webkit-text-fill-color: transparent; } /* color stays readable: it is the maze's ink */
.brand .mark-maze { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---- Email sign-ups (src/brief.mjs): one tidy row, as the old blog box had it (Oleg, 2026-11-23). The label is for
   screen readers; the checkbox and the fine print sit under the row, aligned with it; phones stack the row. ---- */
.brief { margin: 32px 0; padding: 20px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.brief-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.brief-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.brief-what { margin: 0 0 14px; }
.brief-form { max-width: 560px; text-align: left; }
.brief-row { display: flex; gap: 10px; align-items: stretch; }
.brief-row input[type=email] { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 16px; padding: 0 14px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--ink); }
.brief-row input[type=email]:focus { outline: 2px solid var(--accent, var(--acc-800)); outline-offset: 1px; border-color: transparent; }
.brief-row .btn { flex: 0 0 auto; height: 48px; padding: 0 20px; white-space: nowrap; }
.brief-also { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.brief-also input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--acc-800); }
.brief-fine { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-faint); }
.brief-status { margin: 6px 0 0; font-size: 15px; } .brief-status:empty { display: none; }
.brief-status.ok { color: var(--ok); font-weight: 600; } .brief-status.err { color: var(--err); font-weight: 600; }
.brief .cf-turnstile:empty { display: none; } .brief .cf-turnstile { margin-top: 10px; }
.prose .brief p { margin: 0; font-size: inherit; }
.prose .brief .brief-what { margin: 0 0 14px; } .prose .brief .brief-fine { margin-top: 8px; font-size: 13.5px; } .prose .brief .brief-title { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.prose .brief .brief-status { margin-top: 6px; }
@media (min-width: 641px) { .brief { margin: 40px 0; padding: 22px 24px; } }
@media (max-width: 520px) { .brief-row { flex-direction: column; } .brief-row .btn { width: 100%; } }
/* compact: inside the case study's closing box, and the row above the footer */
.brief-compact { margin: 0; padding: 0; border: 0; background: none; }
.case-cta .brief-compact { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); border-radius: 0; text-align: left; }
.case-cta .brief-compact .brief-form { margin: 0; }
.foot-brief { flex-basis: 100%; padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.foot-brief .brief-what { margin-bottom: 10px; }
/* hero: the blog index, on its dark band: the old box's white field and filled fuchsia button, centred */
.brief-hero { margin: 4px auto 0; padding: 0; border: 0; background: none; width: 100%; max-width: 560px; }
.brief-hero .brief-form { margin: 0 auto; }
.brief-hero .brief-row input[type=email] { background: #fff; color: #0f172a; border-color: #fff; }
.brief-hero .btn-primary { background: var(--acc-800); color: #fff; } .brief-hero .btn-primary:hover { background: var(--acc-700); color: #fff; }
.brief-hero .brief-also { color: #e2e8f0; } .brief-hero .brief-fine { color: #94a3b8; }
.brief-hero .brief-status.ok { color: var(--acc-300); } .brief-hero .brief-status.err { color: #fecaca; }
.brief-page { margin: 0; max-width: 620px; }
/* Package prices (Oleg, 2026-11-23): "from" on its own line above, small and muted, so the number starts flush left. */
.price .price-from { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink-faint); }
/* The nav links centred between the mark and Contact us, on wide screens (Oleg's try, 2026-11-23; the links sat at
   the right before: delete these two lines to go back). */
@media (min-width: 761px) { .site-nav .nav-links { flex: 1; } .site-nav .nav-links > a:first-child { margin-left: auto; } .site-nav .nav-links > .btn { margin-left: auto; } }
/* A sequence of steps joined by a line, with flagged steps (/packages' project process, Oleg 2026-11-23). */
.pg-steps-line .pg-step-list { gap: 0; }
.pg-steps-line .pg-step-list li { padding-bottom: 24px; }
.pg-steps-line .pg-step-list li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line); }
.pg-step-list li.flagged::before { background: var(--acc-800); color: #fff; border-color: var(--acc-800); }
.pg-step-flag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.6; vertical-align: 2px; color: var(--acc-800); background: var(--accent-wash); border: 1px solid var(--acc-300); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .pg-step-flag { color: var(--acc-200); background: rgb(var(--acc-600-rgb) / 0.16); border-color: rgb(var(--acc-300-rgb) / 0.4); } }
/* /packages: what every package includes, above the three (Oleg's words, 2026-11-23; on the preview first). */
.pkg-every { margin: 0 0 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); }
.pkg-every-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.pkg-every-lead { margin: 0 0 12px; font-size: 19px; font-weight: 700; color: var(--ink); }
.pkg-every ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px 28px; }
.pkg-every li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.pkg-every li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-800); }
/* The pipeline's stacked checks (smoke tests under Dev and Stage) and a big request's queued tasks (2026-11-23). */
.pl-check .pl-body { fill: none; stroke: #94a3b8; stroke-width: 1.5; }
.pl-check-label { fill: #94a3b8; }
.pl-queued .pl-body { fill: none; stroke: var(--acc-400); stroke-width: 1.5; opacity: 0.6; }
.pl-split-edge { stroke-dasharray: 3 4; opacity: 0.5; }
.pl-split-label { fill: #cbd5e1; font-style: italic; }
/* The pipeline legend's "Automatic": the outlined dark node of the checks and environments (2026-11-23). */
.pl-legend .lg-auto { position: relative; background: #4a88c4; }
.pl-legend .lg-auto::after { content: ''; position: absolute; inset: 2px; background: #0c2440; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
/* ---- The pipeline read top to bottom (src/pipeline.mjs pipelinePhases, Oleg 2026-11-23): phases on the left, one
   spine, reading-size text; pipeline-scroll.js moves the change down the spine as you scroll. ---- */
.plv { --spine: 263px; margin: 8px 0 0; }
.plv-legend { position: sticky; top: 0; z-index: 3; margin: 0 0 8px; padding: 12px 0; background: #050c21; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.plv-body { position: relative; }
.plv-spine { position: absolute; top: 6px; bottom: 6px; left: calc(var(--spine) - 1px); border-left: 2px dashed rgba(142, 193, 239, 0.4); }
.plv-token { position: absolute; z-index: 3; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--acc-300); box-shadow: 0 0 14px 3px rgb(var(--acc-400-rgb) / 0.7); transform: translateY(var(--y, 0px)) scale(var(--s, 1)); }
.plv-phase { display: grid; grid-template-columns: 200px 1fr; column-gap: 24px; padding: 6px 0 14px; border-top: 1px solid rgba(148, 163, 184, 0.14); }
.plv-phase:first-of-type { border-top: 0; }
.plv-phase-title { align-self: start; margin: 20px 0 0; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; color: #fff; }
.plv-phase-n { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(148, 163, 184, 0.55); font-size: 14px; font-weight: 700; color: #cbd5e1; background: #050c21; }
.plv-steps { list-style: none; margin: 0; padding: 0 0 0 72px; }
.plv-step { position: relative; padding: 16px 0; }
.plv-step > .plv-mark { position: absolute; left: -45px; top: 19px; width: 24px; height: 22px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: #4a88c4; transition: filter 0.3s; }
.plv-step > .plv-mark::after { content: ''; position: absolute; inset: 2px; clip-path: inherit; background: #0c2440; }
.plv-step.x2y > .plv-mark { background: var(--acc-400); } .plv-step.x2y > .plv-mark::after { background: var(--acc-600); }
.plv-step.person > .plv-mark { background: #f1f5f9; } .plv-step.person > .plv-mark::after { background: #f1f5f9; }
.plv-step.people > .plv-mark { background: #94a3b8; } .plv-step.people > .plv-mark::after { background: #1e293b; }
.plv-step > .plv-mark { z-index: 1; transition: filter 0.25s, transform 0.25s, background-color 0.25s; }
.plv-text b { color: #dbe4ee; transition: color 0.25s, text-shadow 0.25s; }
/* passed: lit, calm */
.plv-step.lit > .plv-mark { filter: drop-shadow(0 0 4px rgba(148, 163, 184, 0.55)); }
.plv-step.x2y.lit > .plv-mark { filter: drop-shadow(0 0 4px rgb(var(--acc-400-rgb) / 0.6)); }
.plv-step.lit .plv-text b { color: #fff; }
/* active: the dot is on it */
.plv-step.active > .plv-mark { transform: scale(1.08); }
.plv-step.active .plv-text b { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.35); }
.plv-step.x2y.active > .plv-mark { filter: drop-shadow(0 0 10px rgb(var(--acc-400-rgb) / 0.95)) drop-shadow(0 0 3px rgb(var(--acc-300-rgb) / 0.9)); }
.plv-step.person.active > .plv-mark { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85)); }
.plv-step.auto.active > .plv-mark { background: #8ec1ef; filter: drop-shadow(0 0 9px rgba(142, 193, 239, 0.95)); }
.plv-step.people.active > .plv-mark { background: #e2e8f0; filter: drop-shadow(0 0 8px rgba(226, 232, 240, 0.8)); }
/* On top of the node it crosses, small enough that the node's own colour reads around it; full size between nodes. */
.plv-token { transition: transform 0.12s linear, box-shadow 0.2s; }
.plv-token.under { --s: 0.5; box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.55); background: #fff; }
.plv-text b { display: block; font-size: 20px; font-weight: 700; line-height: 1.3; color: #fff; }
.plv-text > span { display: block; margin-top: 2px; font-size: 16px; line-height: 1.5; color: #cbd5e1; }
.plv-check { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px !important; color: #94a3b8 !important; }
.plv-check i { width: 12px; height: 11px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: #94a3b8; position: relative; }
.plv-check i::after { content: ''; position: absolute; inset: 1.5px; clip-path: inherit; background: #050c21; }
.plv-split { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--acc-200); }
.plv-split i { flex: none; margin-top: 5px; width: 12px; height: 11px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--acc-400); opacity: 0.75; }
.plv-split span { margin-left: 4px; }
.plv-lane-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.plv-lane-list li { padding: 10px 12px; border: 1px solid rgba(74, 136, 196, 0.55); border-radius: 10px; background: rgba(12, 36, 64, 0.6); }
.plv-lane-list b { display: block; font-size: 16px; color: #fff; } .plv-lane-list span { display: block; font-size: 14px; color: #cbd5e1; }
.plv-fail, .plv-note { margin: 10px 0 0; max-width: 620px; font-size: 15px; line-height: 1.5; }
.plv-retry { color: var(--acc-200); } .plv-retry::before { content: '\21BA'; margin-right: 8px; font-weight: 700; }
.plv-stop { color: #fecaca; } .plv-stop::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 9px; background: #f87171; vertical-align: 1px; }
.plv-note { color: #94a3b8; }
.plv-loops-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.plv-loops-svg path { fill: none; stroke: var(--acc-300); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0.85; }
.plv-loop-note { margin: 18px 0 0; font-size: 16px; color: #e2e8f0; }
@media (max-width: 760px) {
  .plv { --spine: 39px; }
  .plv-phase { grid-template-columns: 1fr; }
  .plv-phase-title { margin: 14px 0 4px; padding-left: 24px; position: relative; z-index: 1; }
  .plv-steps { padding-left: 72px; }
  .plv-lane-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plv-text b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .plv-token { display: none; } .plv-step > .plv-mark { filter: none; } }
/* The core services lead (Oleg, 2026-11-23): their own band on /services, a slim row on the home page. */
.svc-core { margin: 0 0 34px; padding: 20px; border: 1px solid var(--acc-300); border-radius: 20px; background: var(--accent-wash); }
.svc-core-label { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.svc-grid-core .svc-card { border-color: var(--acc-200); box-shadow: 0 8px 24px rgb(var(--acc-800-rgb) / 0.08); }
.svc-grid-core .svc-card h3 { font-size: 21px; }
.svc-more-h { margin: 0 0 14px; font-size: 20px; color: var(--ink); }
@media (prefers-color-scheme: dark) { .svc-core { background: rgb(var(--acc-600-rgb) / 0.08); border-color: rgb(var(--acc-300-rgb) / 0.35); } .svc-grid-core .svc-card { border-color: rgb(var(--acc-300-rgb) / 0.3); } }
@media (max-width: 900px) { .svc-grid-core { grid-template-columns: minmax(0, 1fr); } .svc-core { padding: 14px; } }
.svc-phases { display: block; padding: 18px 20px 6px; text-decoration: none; color: inherit; background: #050c21; }
.svc-phases ol { list-style: none; margin: 0; padding: 0; position: relative; }
.svc-phases ol::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 26px; border-left: 2px dashed rgba(142, 193, 239, 0.45); }
.svc-phases li { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 0 0 14px; }
.svc-phase-n { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(148, 163, 184, 0.6); background: #050c21; font-size: 13px; font-weight: 700; color: #e2e8f0; }
.svc-phases b { font-size: 16px; color: #fff; } .svc-phases li > span:last-child { font-size: 14px; line-height: 1.45; color: #cbd5e1; }
.svc-phases:hover b { color: var(--acc-200); }
.core-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.core-row a { display: block; padding: 16px 18px; border: 1px solid var(--acc-300); border-radius: 14px; background: var(--accent-wash); text-decoration: none; color: var(--ink-soft); }
.core-row b { display: block; margin: 0 0 4px; font-size: 17px; color: var(--ink); } .core-row span { display: block; font-size: 15px; line-height: 1.45; }
.core-row a:hover b { color: var(--accent-text); }
@media (prefers-color-scheme: dark) { .core-row a { background: rgb(var(--acc-600-rgb) / 0.08); border-color: rgb(var(--acc-300-rgb) / 0.35); } }
@media (max-width: 760px) { .core-row { grid-template-columns: minmax(0, 1fr); } }
/* A point's tools, smaller, after its plain benefit (Oleg, 2026-11-23). */
.pg-point-list p.pg-tools { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-faint); }
/* A lane card's status on the monitoring diagram: what alerts, what is on the dashboards, what is planned. */
.plv-lane-list { grid-template-columns: repeat(var(--lane-cols, 4), minmax(0, 1fr)); }
.plv-badge { display: inline-block; margin-top: 8px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 0.02em; }
.st-alert { border-color: rgb(var(--acc-400-rgb) / 0.6) !important; } .st-alert .plv-badge { color: var(--acc-100); background: rgb(var(--acc-600-rgb) / 0.35); }
.st-dash .plv-badge { color: #cfe3f7; background: rgba(74, 136, 196, 0.3); }
.st-collected .plv-badge, .st-planned .plv-badge { color: #cbd5e1; background: rgba(148, 163, 184, 0.18); }
.st-planned { border-style: dashed !important; opacity: 0.85; }
@media (max-width: 760px) { .plv-lane-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The core band's three cards end evenly: equal phase panels, the stat row at the foot of each (2026-11-23). */
.svc-grid-core { align-items: stretch; }
.svc-grid-core .svc-phases { min-height: 268px; }
.svc-grid-core .svc-proof .o-band { min-height: 4.2em; }
@media (max-width: 900px) { .svc-grid-core .svc-phases, .svc-grid-core .svc-proof .o-band { min-height: 0; } }
/* An agent that isn't built yet: dashed, quieter, never counted with the built ones. */
.ag-card.coming { border-style: dashed; opacity: 0.9; }
/* Four core services, two by two so the text stays readable (Oleg, 2026-11-23: reporting is the fourth). */
.svc-grid-core.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid-core.four .svc-phases { min-height: 214px; }
@media (max-width: 900px) { .svc-grid-core.four { grid-template-columns: minmax(0, 1fr); } .svc-grid-core.four .svc-phases { min-height: 0; } }
/* Reporting's example dashboard: sample data, labelled as such. */
.rp-sample { margin: 8px 0 0; padding: 18px; border-radius: 16px; background: #050c21; color: #cbd5e1; max-width: 900px; }
.rp-sample-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.rp-sample-head b { color: #fff; font-size: 16px; }
.rp-sample-tag { padding: 3px 10px; border-radius: 999px; background: rgba(251, 191, 36, 0.16); color: #fde68a; font-size: 12.5px; font-weight: 700; }
.rp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rp-tiles div { padding: 12px 14px; border: 1px solid rgba(74, 136, 196, 0.45); border-radius: 12px; background: rgba(12, 36, 64, 0.6); display: grid; gap: 4px; }
.rp-tiles span { font-size: 13px; color: #94a3b8; } .rp-tiles b { font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; } .rp-tiles em { font-style: normal; font-size: 12.5px; color: #94a3b8; } .rp-tiles em.warn { color: var(--acc-300); }
.rp-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 16px 0 6px; padding: 0 2px; border-bottom: 1px solid rgba(148, 163, 184, 0.3); }
.rp-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #8ec1ef, #4a88c4); }
.rp-bars-cap { margin: 0; font-size: 12.5px; color: #94a3b8; }
@media (max-width: 760px) { .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Five core services: three over two, each row filling the width (2026-11-23). */
.svc-grid-core.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svc-grid-core.five > :nth-child(-n+3) { grid-column: span 2; }
.svc-grid-core.five > :nth-child(n+4) { grid-column: span 3; }
.svc-grid-core.five > :nth-child(n+4) .svc-phases { min-height: 214px; }
@media (max-width: 900px) { .svc-grid-core.five { grid-template-columns: minmax(0, 1fr); } .svc-grid-core.five > * { grid-column: auto !important; } .svc-grid-core.five .svc-phases { min-height: 0 !important; } }
/* The monitoring page's real dashboards. */
.mon-shot { margin: 18px 0 0; } .mon-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.mon-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-faint); }
/* The home page's core row with five: three over two, each row filling the width. */
.core-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.core-row > :nth-child(-n+3) { grid-column: span 2; } .core-row > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 760px) { .core-row { grid-template-columns: minmax(0, 1fr); } .core-row > * { grid-column: auto !important; } }
.svc-legend-note { margin: -6px 0 18px; font-size: 14px; color: var(--ink-faint); }
/* Every FAQ's questions apart, not touching (Oleg, 2026-11-23). */
.faq { gap: 12px; }
.pg-faq .faq-item + .faq-item { margin-top: 12px; }
/* The fine print a little apart from the checkbox (Oleg, 2026-11-23). */
.brief-fine, .prose .brief .brief-fine { margin-top: 12px; }
/* The accent picker (accent.js): a paintbrush, bottom left; open, a small toolbar of swatches (radio buttons). */
.acp { position: fixed; left: 14px; bottom: 14px; z-index: 60; display: flex; align-items: center; gap: 8px; }
.acp-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 50%; background: #0f172a; color: #f8fafc; cursor: pointer; box-shadow: 0 4px 14px rgba(2, 6, 23, 0.28); }
.acp-toggle:hover { background: #1e293b; }
.acp-toggle:focus-visible, .acp-radio:focus-visible + .acp-swatch { outline: 2px solid var(--acc-400); outline-offset: 2px; }
.acp-bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 6px 12px; border-radius: 999px; background: #0f172a; color: #e2e8f0; box-shadow: 0 4px 14px rgba(2, 6, 23, 0.28); transform-origin: left center; animation: acp-in 0.18s ease-out; }
.acp-bar[hidden] { display: none; }
@keyframes acp-in { from { opacity: 0; transform: translateX(-8px) scaleX(0.92); } to { opacity: 1; transform: none; } }
.acp-label { margin-right: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }
.acp-radio { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acp-swatch { display: block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); cursor: pointer; }
.acp-radio:checked + .acp-swatch { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45); }
.acp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .acp-bar { animation: none; } }
/* Phones: above the Contact us bar, and a little smaller. */
@media (max-width: 760px) {
  .acp { left: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  body.has-cta-bar .acp { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .acp-toggle { width: 36px; height: 36px; }
  .acp-swatch { width: 20px; height: 20px; }
}
@media print { .acp { display: none; } }
/* Reporting's gallery: real Grafana dashboards on sample data, each with what an operator uses it for. */
.rp-label { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 999px; background: rgba(251, 191, 36, 0.16); color: #92400e; font-size: 13px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .rp-label { color: #fde68a; } }
.rp-gallery { display: grid; gap: 22px; }
.rp-shot { margin: 0; } .rp-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.rp-shot figcaption { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); } .rp-shot figcaption b { color: var(--ink); }
/* ---- The phone navigation (Oleg, 2026-11-23; html[data-mnav="split"], mnav.js): the mark and Case studies on top,
   a slim bar at the bottom (Contact us filled, Menu quiet), and a sheet for the rest. Desktop is untouched. ---- */
.mbar, .msheet { display: none; }
@media (max-width: 760px) {
  html[data-mnav="split"] .site-nav .nav-menu, html[data-mnav="split"] .site-nav .nav-links > .btn { display: none !important; }
  html[data-mnav="split"] .acp { display: none; }
  html[data-mnav="split"] .cta-bar { display: none !important; }
  html[data-mnav="split"] body.has-mbar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform 0.2s ease; }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar-cta, .mbar-menu { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 650; text-decoration: none; }
  .mbar-cta { background: var(--acc-800); color: #fff; }
  .mbar-menu { background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
  .mbar-cta:focus-visible, .mbar-menu:focus-visible, .msheet a:focus-visible, .msheet button:focus-visible { outline: 2px solid var(--acc-500); outline-offset: 2px; }
  .msheet { display: block; position: fixed; inset: 0; z-index: 70; }
  .msheet[hidden] { display: none; }
  .msheet-scrim { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.45); opacity: 0; transition: opacity 0.2s ease; }
  .msheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--card); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 0.22s cubic-bezier(.2, .8, .2, 1); }
  .msheet.is-open .msheet-scrim { opacity: 1; } .msheet.is-open .msheet-panel { transform: translateY(0); }
  .msheet-grab { width: 40px; height: 4px; margin: 0 auto 6px; border-radius: 4px; background: var(--line); }
  .msheet-close { position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); cursor: pointer; }
  .msheet-links { display: grid; margin: 18px 0 6px; }
  .msheet-links a { display: flex; align-items: center; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 650; text-decoration: none; }
  .msheet-links a[aria-current="page"] { color: var(--accent-text); }
  .msheet-accent { display: flex; flex-direction: column; align-items: center; gap: 7px; margin: 16px 0 4px; }
  .msheet-swatches { display: flex; justify-content: center; gap: 13px; }
  .msheet-accent-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-faint); opacity: 0.75; }
  .msheet-swatch { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); cursor: pointer; }
  .msheet-swatch[aria-checked="true"] { outline: 1.5px solid var(--ink); outline-offset: 2.5px; }
  html.msheet-open { overflow: hidden; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) { .mbar-cta { background: var(--acc-700); } }
@media (prefers-reduced-motion: reduce) { .mbar, .msheet-scrim, .msheet-panel { transition: none; } }
/* ---- Phones, the "pill" navigation (Oleg, 2026-11-23; html[data-mnav="pill"], mnav.js): a sticky header with the mark
   and Menu that becomes a floating glass pill once scrolled, mirroring the reading dock at the bottom (same radius,
   glass, padding and inset). The header's own height never changes, so nothing on the page moves. ---- */
.mnav-menu { display: none; }
@media (max-width: 760px) {
  html[data-mnav="pill"] .site-nav { position: sticky; top: 0; z-index: 45; height: 76px; transition: background-color 0.25s ease, border-color 0.25s ease; }
  html[data-mnav="pill"] .site-nav .nav-links, html[data-mnav="pill"] .cta-bar, html[data-mnav="pill"] .acp { display: none !important; }
  html[data-mnav="pill"] .site-nav .wrap { height: 76px; min-height: 0; transition: margin 0.25s ease, height 0.25s ease, padding 0.25s ease, border-radius 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; border: 1px solid transparent; }
  html[data-mnav="pill"] .mnav-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
  html[data-mnav="pill"] .mnav-menu:focus-visible { outline: 2px solid var(--acc-500); outline-offset: 2px; }
  html[data-mnav="pill"] .site-nav { background: transparent; border-bottom-color: transparent; }
  html[data-mnav="pill"] .site-nav .wrap { width: auto; max-width: none; height: 58px; margin: 9px 12px 0; padding: 6px 6px 6px 6px; border-color: var(--line); border-radius: 18px; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(2, 6, 23, 0.14); }
  html[data-mnav="pill"].has-site-dock body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .dock-static { cursor: default; }
}
@media (prefers-reduced-motion: reduce) { html[data-mnav="pill"] .site-nav, html[data-mnav="pill"] .site-nav .wrap { transition: none; } }
.rp-group + .rp-group { margin-top: 40px; }
.rp-group-h { margin: 0 0 10px; font-size: 20px; }
/* The dock's Contact us: filled in the accent, never a black or white slab (Oleg, 2026-11-23, as on the bottom bar before). */
@media (max-width: 1099px) { .dock .dock-cta { background: var(--acc-800); border-color: var(--acc-800); color: #fff; } .dock .dock-cta:hover { background: var(--acc-900); color: #fff; } }
@media (max-width: 1099px) and (prefers-color-scheme: dark) { .dock .dock-cta { background: var(--acc-700); border-color: var(--acc-700); } }
/* The phone pills' glass and the mark conforming (Oleg, 2026-11-23): one glass for the header pill, the dock and the
   menu: translucent (white at 60% in light, 8% in dark), a strong blur with saturation so colours and shapes bleed
   through and text doesn't, a hairline border, a 1 px top highlight and a shadow.
   Inside the header pill the X2Y square rounds to the pill's inner radius (18 px less its 6 px padding), with the
   pill's transform; square again at the top. */
:root { --glass-bg: rgb(255 255 255 / 0.6); --glass-border: rgb(15 23 42 / 0.09); --glass-shadow: 0 8px 28px rgb(2 6 23 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.85); --glass-blur: blur(24px) saturate(180%); }
@media (prefers-color-scheme: dark) { :root { --glass-bg: rgb(255 255 255 / 0.08); --glass-border: rgb(255 255 255 / 0.12); --glass-shadow: 0 10px 30px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.16); } }
@media (max-width: 760px) {
  html[data-mnav="pill"] .site-nav .wrap { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: var(--glass-border); box-shadow: var(--glass-shadow); }
  html[data-mnav="pill"] .site-nav .brand .mark { overflow: hidden; transition: border-radius 0.25s ease; }
  html[data-mnav="pill"] .site-nav .brand .mark { border-radius: 12px; }
}
@media (max-width: 1099px) {
  .dock-bar, .dock-list { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-color: var(--glass-border); box-shadow: var(--glass-shadow); }
}
@media (prefers-reduced-motion: reduce) { html[data-mnav="pill"] .site-nav .brand .mark { transition: none; } }
/* ---- Tactile controls (Oleg, 2026-11-23: buttons felt flat, with no answer to a tap). Every button presses in: a quick
   scale to 0.965 with a darker fill (an inset shade, so it works on any fill), and springs back on release. Filled
   buttons sit raised: a top highlight, a bottom edge and a soft shadow; on desktop, hover lifts them 1 px. Browsers'
   own grey tap flash is off and our press replaces it; taps don't wait for a double-tap zoom. Focus rings stay;
   reduced motion keeps the colour change and drops the movement. ---- */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, [role="button"] { touch-action: manipulation; }
.btn, .mnav-menu, .mbar-menu, .mbar-cta, .msheet-close, .msheet-swatch, .acp-toggle, .dock-toggle[aria-controls], .msheet-links a {
  transition: transform 0.36s cubic-bezier(.34, 1.56, .64, 1), background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, color 0.15s ease;
  -webkit-user-select: none; user-select: none;
}
.btn-primary, .btn-accent, .mbar-cta { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 -1px 0 rgb(2 6 23 / 0.16), 0 1px 2px rgb(2 6 23 / 0.14), 0 4px 12px -4px rgb(2 6 23 / 0.3); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .acp-toggle:hover { transform: translateY(-1px); }
  .btn-primary:hover, .btn-accent:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 -1px 0 rgb(2 6 23 / 0.16), 0 2px 4px rgb(2 6 23 / 0.14), 0 10px 20px -6px rgb(2 6 23 / 0.36); }
  .btn-ghost:hover { box-shadow: 0 6px 16px -8px rgb(2 6 23 / 0.3); }
}
.btn:active, .btn.is-pressed, .mbar-cta:active, .mbar-cta.is-pressed, .mnav-menu:active, .mnav-menu.is-pressed, .mbar-menu:active, .mbar-menu.is-pressed, .msheet-close:active, .msheet-close.is-pressed, .acp-toggle:active, .acp-toggle.is-pressed {
  transform: scale(0.965); transition-duration: 0.1s; transition-timing-function: cubic-bezier(.3, .7, .4, 1);
}
.btn-primary:active, .btn-primary.is-pressed, .btn-accent:active, .btn-accent.is-pressed, .mbar-cta:active, .mbar-cta.is-pressed { box-shadow: inset 0 0 0 100px rgb(2 6 23 / 0.14), inset 0 1px 3px rgb(2 6 23 / 0.28); }
.btn-ghost:active, .btn-ghost.is-pressed, .mnav-menu:active, .mnav-menu.is-pressed, .mbar-menu:active, .mbar-menu.is-pressed, .msheet-close:active, .msheet-close.is-pressed, .acp-toggle:active, .acp-toggle.is-pressed { box-shadow: inset 0 0 0 100px color-mix(in srgb, currentColor 12%, transparent); }
.dock-toggle[aria-controls]:active, .dock-toggle[aria-controls].is-pressed { transform: scale(0.98); transition-duration: 0.1s; box-shadow: inset 0 0 0 100px color-mix(in srgb, currentColor 8%, transparent); }
.msheet-links a:active, .msheet-links a.is-pressed { background-color: color-mix(in srgb, currentColor 8%, transparent); transition-duration: 0.1s; }
.msheet-swatch:active, .msheet-swatch.is-pressed { transform: scale(0.86); transition-duration: 0.1s; }
/* The burger turns into an X while its sheet is open, and back. */
.mi path { transform-box: fill-box; transform-origin: center; transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), opacity 0.18s ease; }
[aria-expanded="true"] > .mi .mi-a { transform: translateY(5px) rotate(45deg); }
[aria-expanded="true"] > .mi .mi-b { opacity: 0; transform: scaleX(0.2); }
[aria-expanded="true"] > .mi .mi-c { transform: translateY(-5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .btn, .mnav-menu, .mbar-menu, .mbar-cta, .msheet-close, .msheet-swatch, .acp-toggle, .dock-toggle[aria-controls], .msheet-links a { transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease; }
  .btn:hover, .btn:active, .mbar-cta:active, .mnav-menu:active, .mbar-menu:active, .msheet-close:active, .acp-toggle:active, .acp-toggle:hover, .dock-toggle[aria-controls]:active, .msheet-swatch:active, .is-pressed { transform: none; }
  .mi path { transition: none; }
}
/* ---- The Menu sheet in the same frosted glass as the header pill and the dock (Oleg, 2026-11-23): the page behind dims
   and blurs a little; the sheet has the pills' tint, blur, hairline border and a soft shadow. In the pill navigation
   the header stays above the dimmed page, so Menu, now an X, closes the sheet where it opened it. ---- */
@media (max-width: 760px) {
  .msheet-scrim { background: rgb(2 6 23 / 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .msheet-panel { max-height: min(86vh, calc(100dvh - 92px)); background: var(--glass-bg); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--glass-border); border-bottom: 0; box-shadow: 0 -12px 36px rgb(2 6 23 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.5); }
  .msheet-close { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  html[data-mnav="pill"].msheet-open .site-nav { z-index: 75; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) { .msheet-panel { box-shadow: 0 -12px 36px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.06); } }
/* ---- The menu drops from the header (Oleg, 2026-11-23, second round; html[data-mnav="pill"]): a glass panel just below
   the header, opening from Menu's corner, over the dimmed and blurred page. The header and the dock stay in front, so
   Menu (now an X) closes it and Contact us stays in the dock; Escape and a tap outside close it too. The split bar on
   the preview keeps its bottom sheet. ---- */
@media (max-width: 760px) {
  .msheet-scrim { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  html[data-mnav="pill"] .msheet-panel { top: var(--mtop, 84px); bottom: auto; left: 12px; right: 12px; max-height: calc(100dvh - var(--mtop, 84px) - 104px - env(safe-area-inset-bottom, 0px)); padding: 6px 6px 12px; border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--glass-shadow); opacity: 0; transform: translateY(-8px) scale(0.97); transform-origin: top right; transition: transform 0.24s cubic-bezier(.2, .8, .2, 1), opacity 0.18s ease; }
  html[data-mnav="pill"] .msheet.is-open .msheet-panel { opacity: 1; transform: none; }
  html[data-mnav="pill"] .msheet-grab, html[data-mnav="pill"] .msheet-close { display: none; }
  html[data-mnav="pill"] .msheet-links { margin: 0; }
  html[data-mnav="pill"] .msheet-links a { min-height: 48px; padding: 0 14px; border-bottom: 0; border-radius: 12px; }
  html[data-mnav="pill"] .msheet-links a + a { box-shadow: inset 0 1px 0 var(--glass-border); }
  html[data-mnav="pill"] .msheet-links a.is-pressed, html[data-mnav="pill"] .msheet-links a:active { box-shadow: none; }
  html[data-mnav="pill"].msheet-open .dock { z-index: 76; opacity: 1; visibility: visible; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html[data-mnav="pill"] .msheet-panel { transform: none; transition: opacity 0.12s ease; } }
/* ---- One backdrop for the overlays (Oleg, 2026-11-23): the menu and the dock's section list both dim the page and
   blur it a little, so it is plain that something has opened. The dock's is its own ::before, a full-screen layer
   behind the list and the bar (tapping it closes the list), and the open dock comes in front of the header. Under
   reduced motion the dim and blur stay; only the fade goes. ---- */
:root { --scrim-bg: rgb(2 6 23 / 0.42); --scrim-blur: blur(7px); }
@media (max-width: 760px) { .msheet-scrim { background: var(--scrim-bg); -webkit-backdrop-filter: var(--scrim-blur); backdrop-filter: var(--scrim-blur); } }
@media (max-width: 1099px) {
  .dock::before { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--scrim-bg); -webkit-backdrop-filter: var(--scrim-blur); backdrop-filter: var(--scrim-blur); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
  .dock.open::before { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.2s ease, visibility 0s; }
  .dock.open { z-index: 50; }
}
@media (prefers-reduced-motion: reduce) { .dock::before, .dock.open::before, .msheet-scrim { transition: none; } }
/* ---- Phones: the glass pill is the header from the very top (Oleg, 2026-11-23: "that is sexy"), not only once
   scrolled, so there is no flat top state. The header keeps its height (plus the safe area), so the page starts clear
   of the pill. ---- */
@media (max-width: 760px) {
  html[data-mnav="pill"] .site-nav { padding-top: env(safe-area-inset-top, 0px); height: calc(76px + env(safe-area-inset-top, 0px)); }
}
/* ---- Desktop glass, on the preview only (?dnav=glass, accent.js; Oleg, 2026-11-23: on desktop it read as a white bar,
   so the classic header is back as the default): the header as the same floating glass pill, as wide as the content and centred, inset from the edges, sticky. The X2Y square rounds; Contact us is the
   accent's filled button. Once scrolled it shrinks a little, inside a header whose height never changes. ---- */
@media (min-width: 761px) {
  html[data-dnav="glass"] .site-nav { position: sticky; top: 0; z-index: 45; height: 88px; padding: 12px 16px 0; background: transparent; border-bottom: 0; transition: padding 0.25s ease; }
  html[data-dnav="glass"] .site-nav .wrap { height: 64px; min-height: 0; padding: 0 10px 0 9px; border: 1px solid var(--glass-border); border-radius: 18px; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); transition: height 0.25s ease; }
  html[data-dnav="glass"] .site-nav .brand .mark { border-radius: 12px; overflow: hidden; }
  html[data-dnav="glass"] .site-nav .nav-links > .btn-primary { background: var(--acc-800); color: #fff; }
  html[data-dnav="glass"] .site-nav .nav-links > .btn-primary:hover { background: var(--acc-900); color: #fff; }
  html[data-dnav="glass"].dnav-scrolled .site-nav { padding-top: 8px; }
  html[data-dnav="glass"].dnav-scrolled .site-nav .wrap { height: 56px; }
}
@media (min-width: 761px) and (prefers-color-scheme: dark) { html[data-dnav="glass"] .site-nav .nav-links > .btn-primary { background: var(--acc-700); } html[data-dnav="glass"] .site-nav .nav-links > .btn-primary:hover { background: var(--acc-600); } }
@media (prefers-reduced-motion: reduce) { html[data-dnav="glass"] .site-nav, html[data-dnav="glass"] .site-nav .wrap { transition: none; } }
/* ---- With the pill header sticky on every width, what sticks or jumps lands below it, not under it: the blog's side
   rail, the guides' contents, the pipeline legend, and every in-page anchor. ---- */
@media (min-width: 761px) {
  html[data-dnav="glass"] { scroll-padding-top: 88px; }
  html[data-dnav="glass"] .post-side { top: 92px; max-height: calc(100vh - 116px); }
  html[data-dnav="glass"] .pg-toc { top: 92px; }
  html[data-dnav="glass"] .plv-legend { top: 65px; }
}
@media (max-width: 760px) {
  html[data-mnav="pill"] { scroll-padding-top: 80px; }
  html[data-mnav="pill"] .plv-legend { top: 67px; }
}
/* The dot on a white ("a person decides") node (Oleg, 2026-11-23): a white point vanished on it, so there it is a navy
   point in a thin accent ring; and a white node, once lit or under the dot, has a hairline accent edge of its own. */
.plv-token.under.on-white { --s: 0.62; background: #0b1222; box-shadow: 0 0 0 2.5px var(--acc-400), 0 0 10px 2px rgb(var(--acc-400-rgb) / 0.55); }
.plv-step.person.lit > .plv-mark, .plv-step.person.active > .plv-mark { background: var(--acc-400); }
.plv-step.person > .plv-mark::after { inset: 1.5px; }
/* The glass header's links in full ink: over a dark band the light glass turns grey-blue, and soft grey faded on it. */
html[data-dnav="glass"] .site-nav .nav-links a:not(.btn) { color: var(--ink); }
html[data-dnav="glass"] .site-nav .nav-links a:not(.btn):hover { color: var(--accent-text); }
/* The header's Contact us is filled in the accent on every width (Oleg, 2026-11-23: "the deep-purple Contact us"). */
@media (min-width: 761px) {
  .site-nav .nav-links > .btn-primary { background: var(--acc-800); color: #fff; }
  .site-nav .nav-links > .btn-primary:hover { background: var(--acc-900); color: #fff; }
}
@media (min-width: 761px) and (prefers-color-scheme: dark) { .site-nav .nav-links > .btn-primary { background: var(--acc-700); } .site-nav .nav-links > .btn-primary:hover { background: var(--acc-600); } }
/* ---- Phones: a dark hero starts at the very top, behind the floating glass pill (Oleg, 2026-11-23), so its hexes and
   glow show through the glass from the start; there is no band reserved for the header. The header keeps its place
   in the flow and the hero comes up under it by the same height, with that much more room at its top, so its copy
   clears the pill. Pages without a dark hero (contact) keep the header's own band. ---- */
@media (max-width: 760px) {
  html[data-mnav="pill"] { --under: calc(76px + env(safe-area-inset-top, 0px)); }
  html[data-mnav="pill"] body:has(> main > :is(.hero, .blog-hero, .case-hero, .about-hero):first-child, > main > :is(.pg, .post):first-child > :is(.pg-hero, .post-hero):first-child) > .site-nav { margin-bottom: calc(-1 * var(--under)); }
  html[data-mnav="pill"] main > .hero:first-child { padding-top: calc(56px + var(--under)); }
  html[data-mnav="pill"] main > .pg:first-child > .pg-hero:first-child { padding-top: calc(36px + var(--under)); }
  html[data-mnav="pill"] main > .blog-hero:first-child, html[data-mnav="pill"] main > .post:first-child > .post-hero:first-child { padding-top: calc(48px + var(--under)); }
  html[data-mnav="pill"] main > .case-hero:first-child { padding-top: calc(48px + var(--under)); }
  html[data-mnav="pill"] main > .about-hero:first-child { padding-top: calc(56px + var(--under)); }
}
/* Phones: the hex field runs down the hero, fading toward its bottom (lattice.js), and a soft shade sits behind the
   copy so the headline stays easy to read over it. */
@media (max-width: 640px) {
  .lattice { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 48%, rgba(0, 0, 0, 0.45) 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 48%, rgba(0, 0, 0, 0.45) 76%, transparent 100%); }
  .hero > .wrap::before { content: ''; position: absolute; inset: -28px -12px; z-index: -1; pointer-events: none; background: radial-gradient(120% 75% at 35% 45%, rgb(5 10 30 / 0.62), rgb(5 10 30 / 0) 72%); }
}
/* ---- Desktop: the classic header is sticky and compacts once scrolled (Oleg, 2026-11-23). At the top it is as it was;
   after about 80 px (html.nav-compact, accent.js) the bar is slim, 56 px: the X2Y square a little smaller, the links the
   same size a little closer, Contact us a smaller solid button, an opaque bar with a hairline and a soft shadow. The
   header keeps its full height in the flow and only the painted bar shrinks (the strip under it lets clicks through),
   so nothing on the page moves. Reduced motion just swaps. ---- */
@media (min-width: 761px) {
  .site-nav { position: sticky; top: 0; z-index: 45; height: 76px; background: transparent; border-bottom: 0; pointer-events: none; }
  .site-nav::before { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 76px; background: var(--bg); border-bottom: 1px solid var(--line); transition: height 0.25s ease, box-shadow 0.25s ease; }
  .site-nav .wrap { pointer-events: auto; height: 76px; min-height: 0; transition: height 0.25s ease; }
  .site-nav .brand .mark { transform-origin: left center; transition: transform 0.25s ease; }
  .site-nav .nav-links { transition: gap 0.25s ease; }
  .site-nav .nav-links > .btn { transition: padding 0.25s ease, font-size 0.25s ease, transform 0.36s cubic-bezier(.34, 1.56, .64, 1), background-color 0.15s ease, box-shadow 0.2s ease; }
  html.nav-compact .site-nav::before { height: 56px; box-shadow: 0 6px 20px -10px rgb(2 6 23 / 0.28); }
  html.nav-compact .site-nav .wrap { height: 56px; }
  html.nav-compact .site-nav .brand .mark { transform: scale(0.82); }
  html.nav-compact .site-nav .nav-links { gap: 18px; }
  html.nav-compact .site-nav .nav-links > .btn { padding: 8px 16px; font-size: 14px; }
  html[data-dnav="glass"] .site-nav::before { display: none; }
  html[data-dnav="glass"] .site-nav { pointer-events: auto; }
  /* what sticks or jumps lands below the slim bar */
  html { scroll-padding-top: 72px; }
  .post-side { top: 72px; max-height: calc(100vh - 96px); }
  .pg-toc { top: 72px; }
  .plv-legend { top: 55px; }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) { .site-nav::before, .site-nav .wrap, .site-nav .brand .mark, .site-nav .nav-links, .site-nav .nav-links > .btn { transition: none; } }

/* ---- The example-screens gallery (gallery.js, src/pages.mjs; Oleg, 2026-11-23, the reporting page): tabs by
   business, one large screen in a frame of fixed shape (so swapping never moves the page), its caption in a cell
   sized to the longest, and a strip of the set's screens: a row on desktop, a swipeable strip on phones. ---- */
.rpg-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.rpg-tabs [role="tab"] { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-soft); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.rpg-tabs [role="tab"][aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgb(2 6 23 / 0.12); }
.rpg-tabs [role="tab"]:focus-visible { outline: 2px solid var(--acc-500); outline-offset: 2px; }
.rpg-name { margin: 0 0 6px; font-size: 20px; }
.rpg-desc { margin: 0 0 10px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.rpg-feature { margin: 0; }
.rpg-frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #111217; cursor: zoom-in; }
.rpg-frame img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.2s ease; }
.rpg-frame.loading img { opacity: 0.55; }
.rpg-frame:focus-visible { outline: 3px solid var(--acc-500); outline-offset: 3px; }
.rpg-caps { display: grid; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.rpg-cap { grid-area: 1 / 1; } .rpg-cap[aria-hidden="true"] { visibility: hidden; } .rpg-cap b { color: var(--ink); }
.rpg-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.rpg-thumb { display: grid; gap: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.rpg-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 8px; background: #111217; opacity: 0.72; transition: opacity 0.2s ease, box-shadow 0.2s ease; }
.rpg-thumb:hover img { opacity: 1; }
.rpg-thumb[aria-current="true"] { color: var(--ink); }
.rpg-thumb[aria-current="true"] img { opacity: 1; box-shadow: 0 0 0 2px var(--acc-600); }
.rpg-thumb:focus-visible { outline: none; } .rpg-thumb:focus-visible img { outline: 2px solid var(--acc-500); outline-offset: 3px; }
.rpg-more { margin: 14px 0 0; font-weight: 650; }
@media (max-width: 760px) {
  .rpg-frame { aspect-ratio: 1784 / 1278; }
  .rpg-thumbs { display: flex; gap: 10px; margin-inline: -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rpg-thumbs::-webkit-scrollbar { display: none; }
  .rpg-thumbs li { flex: 0 0 44%; scroll-snap-align: start; }
}
.rpg-box { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(2 6 23 / 0.94); color: #fff; }
.rpg-box::backdrop { background: transparent; }
.rpg-box-scroll { position: absolute; inset: 60px 0 52px; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; }
.rpg-box-scroll img { display: block; width: auto; height: auto; max-width: 96vw; max-height: 100%; cursor: zoom-in; }
.rpg-box.zoomed .rpg-box-scroll { place-items: start; }
.rpg-box.zoomed .rpg-box-scroll img { max-width: none; max-height: none; cursor: zoom-out; }
.rpg-box-close { position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 50%; background: rgb(255 255 255 / 0.08); color: #fff; cursor: pointer; }
.rpg-box-close:focus-visible { outline: 2px solid var(--acc-300); outline-offset: 2px; }
.rpg-box-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; text-align: center; font-size: 15px; font-weight: 650; color: #e2e8f0; }
html.rpg-open { overflow: hidden; }
#contactTitle:focus { outline: none; } /* focused on a phone so no keyboard opens (contact-modal.js); not a control */
/* ---- /packages: what every package runs on (Oleg, 2026-11-23), a compact band under the three cards in the core
   services' language (accent wash, accent hairline), smaller: four cards, then custom applications as fixed bid. ---- */
#runs-on { padding-top: 8px; }
.runs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.runs-card { display: grid; grid-template-rows: auto auto 1fr; gap: 6px; height: 100%; padding: 14px 16px; border: 1px solid var(--acc-300); border-radius: 14px; background: var(--accent-wash); color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; text-decoration: none; }
.runs-card b { font-size: 16px; color: var(--ink); } .runs-card b span { color: var(--accent-text); }
.runs-card:hover b { color: var(--accent-text); }
.runs-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--card); color: var(--accent-text); box-shadow: 0 0 0 1px var(--acc-200); }
.runs-icon svg { width: 20px; height: 20px; }
.runs-more { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; }
@media (prefers-color-scheme: dark) { .runs-card { border-color: rgb(var(--acc-400-rgb) / 0.35); } .runs-icon { box-shadow: 0 0 0 1px rgb(var(--acc-400-rgb) / 0.3); } }
@media (max-width: 980px) { .runs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .runs-grid { grid-template-columns: 1fr; } .runs-card { grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; } .runs-icon { grid-row: span 2; } }

/* The desktop viewer (gallery.js): a dark full-screen stage, a slim top bar with the screen's name, its operator line
   and the sample-data label, and the zoom controls. */
.rpg-feature { position: relative; }
.rpg-fs { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 9px; background: rgb(15 23 42 / 0.72); color: #fff; font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rpg-fs:hover { background: rgb(15 23 42 / 0.9); }
.rpg-fs:focus-visible { outline: 2px solid var(--acc-400); outline-offset: 2px; }
.rpv { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; background: #0b0d12; color: #e2e8f0; }
.rpv[hidden] { display: none; }
.rpv-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid rgb(255 255 255 / 0.08); background: #0f1218; }
.rpv-title { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.rpv-title p { margin: 0; }
.rpv-name { font-size: 16px; font-weight: 700; color: #fff; }
.rpv-line { font-size: 14px; color: #94a3b8; max-width: 70ch; }
.rpv-label.rp-label { margin: 0; font-size: 12px; }
.rpv-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.rpv-tools button { display: grid; place-items: center; min-width: 38px; height: 36px; padding: 0 10px; border: 1px solid rgb(255 255 255 / 0.16); border-radius: 9px; background: rgb(255 255 255 / 0.06); color: #e2e8f0; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.rpv-tools button:hover:not(:disabled) { background: rgb(255 255 255 / 0.14); }
.rpv-tools button:disabled { opacity: 0.35; cursor: default; }
.rpv-tools button:focus-visible { outline: 2px solid var(--acc-400); outline-offset: 2px; }
.rpv-sep { width: 1px; height: 22px; margin: 0 4px; background: rgb(255 255 255 / 0.14); }
.rpv-stage { position: relative; overflow: hidden; cursor: zoom-in; touch-action: none; }
.rpv.zoomed .rpv-stage { cursor: grab; } .rpv-stage.dragging { cursor: grabbing; }
.rpv-img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; image-rendering: auto; }
.rpv-hint { margin: 0; padding: 8px 16px; font-size: 12.5px; color: #64748b; text-align: center; border-top: 1px solid rgb(255 255 255 / 0.06); }
html.rpv-open { overflow: hidden; }
@media (max-width: 760px), (pointer: coarse) { .rpg-fs { display: none; } }
.rpv-stage:focus { outline: none; }
.rpv .rp-label { color: #fde68a; background: rgb(251 191 36 / 0.14); } /* the viewer is always dark */
/* The agent mark (Oleg, 2026-11-23: not the generic AI sparkles): the diagrams' "AI agents do it" node, a flat-top
   hexagon in the accent (deep fill, lighter edge) with two linked nodes, for wherever AI agents get an icon. */
.agent-mark .ag-hex { fill: var(--acc-600); stroke: var(--acc-400); stroke-width: 1.5; stroke-linejoin: round; }
.agent-mark .ag-link { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.agent-mark .ag-node { fill: #fff; }
/* The band's add-on card: a small tag and its price line at the foot (Oleg, 2026-11-23: monitoring is an add-on). */
.runs-card { display: flex; flex-direction: column; }
.runs-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--acc-200); color: var(--accent-text); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
.runs-price { margin-top: auto; padding-top: 6px; color: var(--ink); font-size: 13.5px; font-weight: 650; line-height: 1.4; }
@media (max-width: 520px) { .runs-card { display: grid; } .runs-icon { grid-row: span 3; } }

/* A post's example dashboards (src/blog.mjs withShots): the screen in a dark frame that opens the viewer, its name and
   what it is for, and the sample-data label. */
.post-shot { margin: 28px 0; }
.post-shot-link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #111217; cursor: zoom-in; }
.post-shot-link img { display: block; width: 100%; height: auto; }
.post-shot-link:focus-visible { outline: 3px solid var(--acc-500); outline-offset: 3px; }
.post-shot figcaption { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.post-shot figcaption b { color: var(--ink); }
.post-shot-note { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(251, 191, 36, 0.16); color: #92400e; font-size: 12.5px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .post-shot-note { color: #fde68a; } }
/* Monitoring's price, three short lines (Oleg, 2026-11-23): on /packages' card and the monitoring page. */
.runs-price { display: grid; gap: 2px; }
.price-lines { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 6px; font-size: 18px; color: var(--ink); }
.price-lines b { font-weight: 700; }
/* A dashboard much taller than the frame (the distributor's, whole pages long) shows from its top, fading out; Full
   screen opens all of it. */
.rpg-frame.rpg-tall img { object-fit: cover; object-position: top center; }
.rpg-frame.rpg-tall::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(rgb(17 18 23 / 0), #111217); pointer-events: none; }
/* /packages (Oleg, 2026-11-23): the included band is three cards; under it "Add when you need it", quieter full-width
   rows (monitoring with its prices inline, bigger builds as a fixed bid), built to take more add-ons. */
.runs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#add-ons { padding-top: 0; }
#add-ons h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 10px; }
.addon-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.addon-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.addon-body p { margin: 0; }
.addon-head { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.addon-head b { margin-right: 6px; color: var(--ink); }
.addon-price { margin-top: 3px !important; color: var(--ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.addon-price .sep { margin: 0 6px; color: var(--ink-faint); } .addon-p { white-space: nowrap; }
.addon-link { white-space: nowrap; font-size: 15px; font-weight: 650; text-decoration: none; }
.addon-link:hover { text-decoration: underline; }
@media (max-width: 980px) { .runs-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .addon-row { grid-template-columns: 34px minmax(0, 1fr); align-items: start; } .addon-link { grid-column: 2; } }
/* The add-on's prices (Oleg, 2026-11-23: on a phone the line ran off the screen and the whole page scrolled sideways):
   they wrap between prices on wider screens, and stack one to a line on phones. */
.addon-price { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 2px; }
@media (max-width: 640px) { .addon-price { flex-direction: column; } .addon-price .sep { display: none; } }

#runs-on { padding-bottom: 28px; } #add-ons { border-top: 0; padding-bottom: 56px; } /* the add-ons sit right under the included band */
/* ---- The footer's More as a shelf (Oleg, 2026-11-23: it opened below the fold, so nothing seemed to happen): the
   panel rises from the footer bar as a card over the content just above it, in view; the chevron flips; Escape, a
   click outside or More again closes it (accent.js). Reduced motion: shown, no slide. ---- */
.site-footer .footer-line { position: relative; }
.footer-line > .footer-panel { position: absolute; left: 0; right: 0; bottom: calc(100% + 15px); z-index: 30; padding: 20px 24px 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--card); box-shadow: 0 -14px 36px -12px rgb(2 6 23 / 0.22); animation: footer-shelf 0.24s cubic-bezier(.2, .8, .2, 1); }
@keyframes footer-shelf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .footer-line > .footer-panel { animation: none; } }
@media (prefers-color-scheme: dark) { .footer-line > .footer-panel { box-shadow: 0 -14px 36px -12px rgb(0 0 0 / 0.6); } }
@media (max-width: 640px) { .footer-line > .footer-panel { padding: 16px 18px 14px; } }
/* Every FAQ the same (Oleg, 2026-11-23): no browser triangle; a chevron that flips like the footer's More, the question
   and chevron on one line, a quiet accent edge while open. */
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease, border-color 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-1px); border-color: var(--accent-text); }
.faq-item summary:hover::after { border-color: var(--accent-text); }
.faq-item[open] { border-color: var(--acc-300); }
.faq-item summary:focus-visible { outline: 2px solid var(--acc-500); outline-offset: 2px; border-radius: 6px; }
@media (prefers-color-scheme: dark) { .faq-item[open] { border-color: rgb(var(--acc-400-rgb) / 0.4); } }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
/* The closing call to action's button, solid deep purple like the header's Contact us. */
.pg-cta .btn-primary { background: var(--acc-800); color: #fff; }
.pg-cta .btn-primary:hover { background: var(--acc-900); color: #fff; }
@media (prefers-color-scheme: dark) { .pg-cta .btn-primary { background: var(--acc-700); } .pg-cta .btn-primary:hover { background: var(--acc-600); } }
/* Phones: the shelf is a sheet fixed at the bottom of the screen, where the dock was (the dock steps aside while it is
   open), capped in height with its own scroll, so all of it is in view whatever the scroll position. */
@media (max-width: 760px) {
  .footer-line > .footer-panel { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 77; max-height: min(70dvh, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 -12px 40px -8px rgb(2 6 23 / 0.3); }
  html.shelf-open .dock { opacity: 0 !important; visibility: hidden !important; }
}
/* The shelf's own close control (Oleg, 2026-11-23: "it's not intuitive that you have to click outside of it"): a
   chevron down, centred at the top of the shelf; a click outside, Escape and More still close it too (accent.js). */
.footer-shelf-close { display: none; }
.footer-line > .footer-panel .footer-shelf-close { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 64px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink-faint); cursor: pointer; }
.footer-line > .footer-panel .footer-shelf-close:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.footer-line > .footer-panel .footer-shelf-close:active { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.footer-line > .footer-panel .footer-shelf-close:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.footer-line > .footer-panel { padding-top: 42px; }

/* ---- The phone menu's drill-down (Oleg, 2026-11-23; mnav.js, on the preview first): Services, Platforms, Products and
   Company carry a chevron and slide the menu left to a panel of their pages, Back at its top; the panels sit side by
   side in one track that moves, and its height follows the panel in view. Reduced motion: the panels swap. ---- */
@media (max-width: 760px) {
  .msheet-view { overflow: hidden; }
  .msheet-track { display: grid; grid-template-columns: 100% 100%; align-items: start; transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), height 0.3s cubic-bezier(.2, .8, .2, 1); }
  .msheet-track.is-drilled { transform: translateX(-100%); }
  .msheet-track.no-slide { transition: none; }
  .msheet-root { grid-column: 1; grid-row: 1; }
  .msheet-sub { grid-column: 2; grid-row: 1; }
  .msheet-sub[hidden] { display: none; }
  .msheet-links .msheet-drill { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; margin: 0; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 18px; font-weight: 650; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .msheet-links .msheet-drill.is-current { color: var(--accent-text); }
  .msheet-chev { flex: none; color: var(--ink-faint); }
  .msheet-back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin: 0 0 2px; padding: 0 14px 0 6px; border: 0; border-radius: 12px; background: none; color: var(--ink-soft); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .msheet-back:active, .msheet-back.is-pressed, .msheet-links .msheet-drill:active, .msheet-links .msheet-drill.is-pressed { background-color: color-mix(in srgb, currentColor 8%, transparent); transition-duration: 0.1s; }
  .msheet-sub-title { margin: 0 14px 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
  .msheet-sub .msheet-links { margin: 0; }
  .msheet-sub .msheet-links a { font-size: 17px; font-weight: 600; }
  .msheet-ext { flex: none; margin-left: 6px; color: var(--ink-faint); }
  .msheet-view a:focus-visible, .msheet-view button:focus-visible { outline-offset: -2px; }
  html[data-mnav="pill"] .msheet-links .msheet-drill { min-height: 48px; padding: 0 14px; border-bottom: 0; border-radius: 12px; }
  html[data-mnav="pill"] .msheet-links > :is(a, button) + :is(a, button) { box-shadow: inset 0 1px 0 var(--glass-border); }
  html[data-mnav="pill"] .msheet-links .msheet-drill.is-pressed, html[data-mnav="pill"] .msheet-links .msheet-drill:active { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .msheet-track { transition: none; } }
