/* =====================================================================
   DOSIK TECHNOLOGY · INNER PAGES — shared by every page except home (load after components.css)
    1 prism band — the inner-page hero (glass layers that assemble on scroll, beams, chips)
    3 section rhythm (light / paper / night, splits)
    6 flow — horizontal process rail with the heartbeat pulse · commitments
    7 FAQ, related cards, closing CTA chapter, quick tiles, TOC numbering
    8 rich content: feature tiles, comparison table, glossary, fit-for (chrome agent, content-plus)
   13 high contrast   14 responsive
   Page-only rules live in css/pages/<page>.css (service-category, service, about, contact,
   support, article, not-found). Shared home+inner sections (trust strip, ticket card, sector
   panel, kinetic values, quotes, seals, contact chapter) are components.css §23.
   ===================================================================== */
/* ---------- 1. prism band ----------
   .page-hero.phero[data-live][data-scrub][data-spot]: blueprint field tinted by the page pillar (--c),
   a cursor key-light, and .pglass — the logo's three glass layers, exploded at rest and locking into the
   exact mark as the hero scrolls away (--p from core.js §10b); the white D fades in as they land.
   Heartbeat: one light sweep through the front slab every 4.2 s while the hero is on screen. */
.phero { padding-bottom: calc(clamp(40px, 5vw, 80px) + var(--chapter-r)); }
.phero::before {
  background:
    radial-gradient(36% 52% at 18% 40%, color-mix(in srgb, var(--c, var(--teal-500)) 20%, transparent), transparent 70%),
    radial-gradient(30% 42% at 4% 82%, rgba(90, 186, 222, .14), transparent 70%),
    linear-gradient(rgba(11, 40, 64, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(11, 40, 64, .055) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, .3)); mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, .3));
}
/* cursor key-light (fine pointers only: core.js sets --mx/--my on [data-spot]) */
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(560px circle at var(--mx, 25%) var(--my, 40%), color-mix(in srgb, var(--c, var(--teal-500)) 13%, transparent), transparent 70%);
  transition: opacity var(--t-4) ease;
}
.motion-ok .phero:hover::after { opacity: 1; }
.phero .page-hero__grid { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); min-height: clamp(330px, 42vh, 470px); gap: clamp(24px, 4vw, 72px); }
.phero .page-hero__copy { gap: 16px; max-width: 700px; align-content: center; }
.phero .h1 { margin-top: 2px; }
.page-hero .h1 .grad-text { display: inline-block; }
/* the highlighted turn moves to its own line as a whole */
.phero__lead { max-width: 610px; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
/* a hero button keeps its one-line width while it fits (2-up or stacked as before); only a label wider than the screen wraps */
.phero__ctas .btn { min-width: fit-content; }
.phero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.phero__meta .status { font-size: var(--fz-sm); }
.phero--compact .page-hero__grid { min-height: clamp(300px, 36vh, 420px); grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.phero--compact .h1 { font-size: clamp(2.1rem, 1.3rem + 2.1vw, 3.15rem); line-height: 1.1; }
.phero--compact .page-hero__copy { max-width: 760px; }
/* the glass: perspective box → pointer tilt → idle drift → three slabs + the D */
.pglass { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: center; container-type: size; perspective: 1400px; pointer-events: none; }
/* while it assembles, the sculpture lags behind the scroll (parallax) so the locked mark is still on screen */
.motion-ok .pglass { transform: translateY(calc(var(--p, 0) * var(--lag, 150px))); }
.motion-ok .pglass__chip { opacity: calc(1 - var(--p, 0) * .75); }
.pglass__tilt, .pglass__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.pglass__tilt { transition: transform 1.1s var(--e-out); }
.motion-ok .pglass__tilt { transform: rotateY(calc(var(--px, 0) * 16deg)) rotateX(calc(var(--py, 0) * -11deg)); }
.is-live .pglass__stage { animation: pgDrift 11s var(--e-inout) infinite alternate; }
@keyframes pgDrift { from { transform: rotateY(-5deg) translateY(5px); } to { transform: rotateY(6deg) translateY(-7px); } }
.pglass__l {
  --x: 0; --y: 0; --z: 0; --r: 0deg; --s: 1; --k: 0;
  --q: calc(1 - var(--p, 0));                          /* 1 = exploded (at rest), 0 = the exact mark */
  position: absolute; left: 50%; top: 50%; width: 52cqmin; height: 52cqmin; margin: -30cqmin 0 0 -26cqmin;
  overflow: visible; transform-origin: 50% 42.4%;     /* the triangle's centroid inside the slab viewBox */
  filter: drop-shadow(0 22px 22px rgba(11, 40, 70, .2));
  transform:
    translateY(calc(-2cqmin * var(--q))) rotateY(calc(38deg * var(--q))) rotateX(calc(22deg * var(--q)))
    translate3d(calc(var(--x) * 1cqmin), calc(var(--y) * 1cqmin), calc((var(--z) * var(--q) + var(--k)) * 1cqmin))
    rotate(var(--r)) scale(var(--s));
}
/* locked (--p 1) = the logo, as #mark: two identical triangles turned 14.65°, the back one 12.47 × 23.77 slab units (× 52/184 cqmin)
   left and down; the extra back layer starts as a fan and slides behind it, fading out, so the locked mark has the logo's two */
.pglass__l--0 {
  --x: calc(-3.524 * var(--p, 0) + -1.7 * var(--q)); --y: calc(6.718 * var(--p, 0) + 14.7 * var(--q)); --z: -27;
  --r: calc(-14.65deg * var(--p, 0) + -20deg * var(--q)); --s: calc(var(--p, 0) + .96 * var(--q));
  opacity: clamp(0, var(--q) * 2.5, 1);
}
.pglass__l--1 { --x: -3.524; --y: 6.718; --z: 0; --r: -14.65deg; --k: .3; }
.pglass__l--2 { --z: 27; --r: -14.65deg; --k: .6; }
.pglass__l--d { --z: 27; --k: .9; filter: none; opacity: clamp(0, (var(--p, 0) - .62) * 3, 1); }
.pglass__sweep { opacity: 0; }
.is-live .pglass__sweep { animation: pgSweep var(--beat) var(--e-inout) infinite; }
@keyframes pgSweep {
  0% { transform: translateX(-150px) skewX(-16deg); opacity: 0; }
  6% { opacity: 1; }
  40% { transform: translateX(150px) skewX(-16deg); opacity: 1; }
  46%, 100% { transform: translateX(150px) skewX(-16deg); opacity: 0; }
}
/* floating glass chips around the sculpture (decorative duplicates of real content: aria-hidden) */
.pglass__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: var(--r-pill);
  background: var(--surface-glass-strong); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--sh-2); font: var(--fw-medium) var(--fz-xs)/1.2 var(--f-display); color: var(--text); white-space: nowrap;
}
.pglass__chip .ico { width: 18px; height: 18px; color: var(--link); }
.pglass__chip svg:not(.ico) { width: 46px; height: 16px; overflow: visible; }
.pglass__chip--a { top: 6%; inset-inline-start: 0; }
.pglass__chip--b { top: 30%; inset-inline-end: -2%; }
.pglass__chip--c { bottom: 22%; inset-inline-start: -4%; }
.pglass__chip--d { bottom: 2%; inset-inline-end: 8%; }
.is-live .pglass__chip { animation: chipFloat 6.3s var(--e-inout) infinite alternate; animation-delay: calc(var(--i, 0) * -1.6s); }
@keyframes chipFloat { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
/* a faint pillar triangle behind the sculpture */
.pglass::before {
  content: ""; position: absolute; inset: 12% 8% 4%; pointer-events: none;
  background: var(--c, var(--teal-500)); opacity: .07; clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 40px; transform: rotate(-12deg);
}
/* detail page: the replication beam — the organisation's systems copied, continuously, into the glass (the secure facility) */
.pbeam { position: absolute; inset: 0; pointer-events: none; }
.pbeam svg { width: 100%; height: 100%; overflow: visible; }
.pbeam path { vector-effect: non-scaling-stroke; }
.pbeam__track { fill: none; stroke: color-mix(in srgb, var(--c, var(--teal-500)) 45%, transparent); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.pbeam__run { fill: none; stroke: var(--teal-500); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.is-live .pbeam__run { opacity: 1; animation: beamRun var(--beat) var(--e-inout) infinite; }
.is-live .pbeam__run--2 { animation-delay: -2.1s; }
.is-live .pbeam__run--3 { animation-delay: -1.05s; }
.is-live .pbeam__run--4 { animation-delay: -3.15s; }
@keyframes beamRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
/* ---------- 3. section rhythm ---------- */
.isec { position: relative; padding-block: var(--sec-y); background: var(--bg); }
.isec--paper { background: var(--bg-2); }
.isec--white { background: var(--surface); }
.isec--tight { padding-block: calc(var(--sec-y) * .62); }
.isec--pad { padding-bottom: calc(var(--sec-y) + var(--chapter-r)); }
/* followed by a .chapter */
:is(.isec, .night) .sec-head + * { margin-top: clamp(32px, 4vw, 52px); }
/* night chapter: the "why" navy with the blueprint grid fading out */
.night {
  position: relative; overflow: clip; padding-block: var(--sec-y) calc(var(--sec-y) + var(--chapter-r));
  background:
    radial-gradient(48% 38% at 92% 0%, rgba(42, 174, 162, .22), transparent 70%),
    radial-gradient(44% 40% at 0% 62%, rgba(72, 132, 174, .24), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; border-radius: inherit;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.night > .container { position: relative; }
.night--short { padding-block: calc(var(--sec-y) * .72); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--wide-start { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--wide-end { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--center { align-items: center; }
.kicker-num { font: var(--fw-medium) var(--fz-micro)/1 var(--f-display); color: var(--text-3); letter-spacing: .02em; }
.night .quote--feature { margin-top: clamp(28px, 4vw, 48px); }
/* ---------- 6. flow: a horizontal process rail; a light pulse runs along it on the 4.2 s beat ----------
   <div class="flow flow--4"><span class="flow__rail" aria-hidden="true"></span><ol class="flow__list">…</ol></div>
   The rail runs from the first node's centre to the last (RTL: right → left); it clips its own pulse. */
.flow { --n: 4; --fg: 20px; position: relative; }
.flow--3 { --n: 3; }
.flow--5 { --n: 5; }
.flow__list { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--fg); }
.flow__rail {
  position: absolute; top: 24px; height: 8px; overflow: hidden; pointer-events: none;
  inset-inline-start: 28px; inset-inline-end: calc((100% - (var(--n) - 1) * var(--fg)) / var(--n) - 28px);
}
.flow__rail::before { content: ""; position: absolute; inset-inline: 0; top: 3px; height: 2px; border-radius: 2px; background: linear-gradient(to left, rgba(42, 174, 162, .65), rgba(72, 132, 174, .45)); }
.flow__rail::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(closest-side, rgba(95, 216, 204, 1), rgba(95, 216, 204, 0)) no-repeat right center / 80px 8px;
}
.is-live .flow__rail::after { animation: flowRun var(--beat) var(--e-inout) infinite; }
@keyframes flowRun {
  0% { opacity: 0; transform: translateX(0); }
  6% { opacity: 1; }
  58% { opacity: 1; transform: translateX(-100%); }
  59%, 100% { opacity: 0; transform: translateX(-100%); }
}
.theme-dark .flow__rail::before { background: linear-gradient(to left, rgba(95, 216, 204, .55), rgba(130, 204, 242, .3)); }
.flow__step { position: relative; display: grid; justify-items: start; align-content: start; gap: 8px; }
.flow__node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-btn); color: #fff; box-shadow: 0 14px 26px -12px rgba(14, 92, 120, .85);
}
.flow__node .ico { width: 26px; height: 26px; }
.flow__num { margin-top: 6px; font: var(--fw-semibold) var(--fz-xs)/1 var(--f-display); color: var(--link); }
.flow__title { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: var(--fw-semibold); line-height: 1.3; }
.flow__step p { color: var(--text-2); font-size: .98rem; line-height: 1.65; }
.flow__step p a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.theme-dark .flow__step p { color: var(--on-night-2); }
.theme-dark .flow__num { color: var(--teal-on-night); }
.flow-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(28px, 3.4vw, 44px); padding: 16px 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.flow-note > span { display: inline-flex; align-items: center; gap: 10px; font: var(--fw-medium) .98rem/1.4 var(--f-display); color: var(--text); }
.flow-note .ico { width: 22px; height: 22px; color: var(--link); }
.flow-note .link-arrow { margin-inline-start: auto; }
/* the closing CTA chapter (navy): statement + status | the three ways to act */
.ctaend { padding-block: clamp(64px, 7vw, 104px); }
.ctaend .contact__glow { display: none; }
.ctaend__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px clamp(32px, 5vw, 80px); }
.ctaend__in > div:first-child { display: grid; justify-items: start; gap: 16px; }
.ctaend__ctas { display: grid; gap: 10px; min-width: min(100%, 290px); }
.ctaend__ctas .btn { width: 100%; }
/* ---------- 7. FAQ & related ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__list { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 6px clamp(18px, 2.4vw, 32px); }
.faq__list .acc:first-child { border-top: 0; }
.faq__list .acc:last-child { border-bottom: 0; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* two related cards share the row (a sub-service with two guides, or one guide + its pillar card) */
@media (min-width: 961px) {
  .related:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform var(--t-3) var(--e-out), box-shadow var(--t-3); }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.rcard .glyph { --gs: 40px; }
.rcard .badge { align-self: flex-start; }
.rcard__title { font: var(--fw-semibold) 1.12rem/1.4 var(--f-display); color: var(--text); }
.rcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rcard__title a:focus-visible { outline: none; }
.rcard:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.rcard p { color: var(--text-3); font-size: .97rem; line-height: 1.65; }
.rcard__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font: var(--fw-medium) .95rem/1 var(--f-display); color: var(--link); }
.rcard__go .ico { width: 18px; height: 18px; transition: transform var(--t-2) var(--e-out); }
.rcard:hover .rcard__go .ico { transform: translateX(-4px); }
.toc--mob { display: none; padding: 0; }
/* the whole card is the toggle: the summary carries the padding (a 48 px+ target), the list its own */
.toc--mob summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 18px; cursor: pointer; list-style: none; font: var(--fw-semibold) 1rem/1.3 var(--f-display); color: var(--text); }
.toc--mob summary::-webkit-details-marker { display: none; }
.toc--mob summary .ico { width: 20px; height: 20px; color: var(--link); transition: transform var(--t-3) var(--e-out); }
.toc--mob[open] summary .ico { transform: rotate(45deg); }
/* inside an article's .prose the list keeps only the 01–09 counters (no second decimal marker) */
.toc--mob ol { margin-top: 0; padding: 0 18px 18px; list-style: none; }
.toc ol { counter-reset: tocn; }
.toc li a { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 4px; }
.toc li a::before { counter-increment: tocn; content: counter(tocn, decimal-leading-zero); font: var(--fw-medium) var(--fz-micro)/1.9 var(--f-display); color: var(--text-3); }
.toc li.toc__intro a { grid-template-columns: minmax(0, 1fr); }
.toc li.toc__intro a::before { content: none; }
.toc li.toc__intro { counter-increment: none; }
.commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.commit li {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--night-card) 0%, var(--night-card-2) 100%); border: 1px solid var(--night-line); box-shadow: var(--sh-night);
}
.commit .icon-tile { --it: 52px; background: rgba(95, 216, 204, .12); color: var(--teal-on-night); }
.commit h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); font-weight: var(--fw-semibold); margin-bottom: 6px; }
.commit p { color: var(--on-night-2); line-height: 1.7; }
/* existing-customer tiles (contact, support) */
.qtiles { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
/* every tile of a row is as tall as the row (one-line and two-line subtitles side by side) */
.qtiles > li { display: grid; }
.qtiles > li > .qtile { height: 100%; }
.qtile {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform var(--t-3) var(--e-out), box-shadow var(--t-3), border-color var(--t-3);
}
.qtile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--teal-500) 40%, transparent); }
.qtile .icon-tile { --it: 50px; }
.qtile strong { display: block; font: var(--fw-semibold) 1.08rem/1.3 var(--f-display); color: var(--text); }
.qtile small { display: block; margin-top: 3px; font-size: var(--fz-sm); color: var(--text-3); line-height: 1.45; }
.qtile > .ico { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--t-2) var(--e-out), color var(--t-2); }
.qtile:hover > .ico { color: var(--link); transform: translateX(-4px); }
.qtile--ext:hover > .ico { transform: translate(-3px, -3px); }
.theme-dark .qtile { background: var(--night-850); border-color: #22396A; box-shadow: none; }
.theme-dark .qtile strong { color: var(--on-night); }
.theme-dark .qtile small { color: var(--on-night-3); }
.theme-dark .qtile .icon-tile:not(.icon-tile--solid) { background: rgba(95, 216, 204, .12); color: var(--teal-on-night); }
.theme-dark .qtile:hover { border-color: var(--night-600); background: #142B58; }
/* ---------- 8. rich content (content-plus): feature tiles, comparison table, glossary, fit-for, prose lists ----------
   .ftiles and .vs moved here verbatim from pages/service.css so every inner page can use them (category, Priority,
   support, about); the rest is new, built from the same tokens and card language (surface, hairline, --r-l, --sh-1). */
.ftiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ftiles li {
  display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 14px 16px; border-radius: var(--r-l);
  background: var(--bg); border: 1px solid var(--line); font: var(--fw-semibold) 1rem/1.35 var(--f-display); color: var(--text);
}
.ftiles .icon-tile { --it: 46px; }
.ftiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* an odd last tile spans the row instead of standing beside an empty slot (as .bens) */
@media (min-width: 641px) {
  .ftiles--2 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.isec--paper .ftiles li { background: var(--surface); }
/* tiles with a text: icon tile + title + one or two sentences */
.ftiles--rich li { align-items: flex-start; padding: 18px; }
.ftiles__txt { display: grid; gap: 6px; min-width: 0; }
.ftiles__txt strong { font: var(--fw-semibold) 1.02rem/1.35 var(--f-display); color: var(--text); }
.ftiles__txt span { font: var(--fw-regular) .95rem/1.65 var(--f-sans); color: var(--text-2); }
.vs table { width: 100%; font-size: var(--fz-sm); line-height: 1.55; }
.vs th, .vs td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs thead :is(th, td) { background: var(--bg-2); }
.vs thead th { color: var(--text); font: var(--fw-semibold) .98rem/1.3 var(--f-display); }
.vs thead th a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.vs tbody th { color: var(--text); font-weight: var(--fw-semibold); width: 22%; }
.vs tbody td { color: var(--text-2); }
/* a cell is never narrower than its longest word (base.css gives bdi overflow-wrap: anywhere, which would let the table squeeze
   "Workspace" into "Works/pace"); together with Ui.RichBreakable the cells wrap between words only */
.vs :is(th, td) bdi { overflow-wrap: break-word; }
.vs tbody tr:last-child > * { border-bottom: 0; }
.vs td:nth-child(2) { background: color-mix(in srgb, var(--c, var(--teal-500)) 7%, #fff); }
.table-wrap.vs { background: var(--surface); }
.vs__cap { caption-side: top; padding: 14px 16px 12px; text-align: start; font: var(--fw-semibold) 1rem/1.4 var(--f-display); color: var(--text); background: var(--surface); }
/* lists inside .prose: a .feat check-list keeps its own marker (no prose triangle) */
.prose ul.feat { padding: 0; }
.prose ul.feat > li { padding-inline-start: 0; }
.prose ul.feat > li::before { content: none; }
/* glossary: a description list of term cards */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.glossary__item { padding: 16px 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.glossary dt { font: var(--fw-semibold) 1.02rem/1.35 var(--f-display); color: var(--text); }
.glossary dd { margin: 4px 0 0; font-size: .97rem; line-height: 1.65; color: var(--text-2); }
/* "מתאים במיוחד ל…": a titled card with the check-list or pill chips */
.fitfor { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.fitfor__h { margin-bottom: 14px; font: var(--fw-semibold) clamp(1.12rem, 1.04rem + .3vw, 1.3rem)/1.3 var(--f-display); color: var(--text); }
.fitfor .clients { margin-top: 0; }
.fitfor .clients li { background: var(--bg); box-shadow: none; }
/* numbered benefit cards on a navy chapter (sub-service value chapter, Priority) */
.bens { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bens li {
  grid-column: span 2; position: relative; overflow: hidden; display: grid; align-content: start; gap: 10px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--night-card) 0%, var(--night-card-2) 100%); border: 1px solid var(--night-line); box-shadow: var(--sh-night);
}
.bens--1 li { grid-column: 1 / -1; }
.bens--2 li, .bens--4 li, .bens--5 li:nth-child(-n + 2) { grid-column: span 3; }
.bens__n {
  justify-self: start; margin-bottom: 4px; font: var(--fw-bold) clamp(2rem, 1.6rem + 1.2vw, 2.7rem)/.95 var(--f-display);
  color: transparent; -webkit-text-stroke: 1.4px var(--teal-300);
  background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; opacity: .9;
}
.bens__t { font: var(--fw-semibold) clamp(1.12rem, 1.02rem + .4vw, 1.3rem)/1.35 var(--f-display); }
.bens li p { color: var(--on-night-2); font-size: .98rem; line-height: 1.7; }
/* the glossary: one accordion ("מונחים בעמוד") around the term cards */
.dgloss { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.dgloss > summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: inherit; cursor: pointer; list-style: none;
}
.dgloss > summary::-webkit-details-marker { display: none; }
.dgloss__t { display: grid; gap: 2px; }
.dgloss__t strong { font: var(--fw-semibold) 1.12rem/1.3 var(--f-display); color: var(--text); transition: color var(--t-1); }
.dgloss__t small { font-size: var(--fz-xs); line-height: 1.4; color: var(--text-3); }
.dgloss > summary > .ico { width: 22px; height: 22px; color: var(--link); transition: transform var(--t-3) var(--e-out); }
.dgloss[open] > summary > .ico { transform: rotate(45deg); }
.dgloss > summary:hover .dgloss__t strong { color: var(--link); }
.dgloss .glossary { padding: 4px 20px 20px; }
.dgloss[open] .glossary { animation: panelIn .45s var(--e-out) both; }
.dgloss .glossary__item { background: var(--bg); box-shadow: none; }
/* six process steps; the legal band without glass */
.flow--6 { --n: 6; }
.phero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.phero--plain .page-hero__copy { max-width: 820px; }
/* ---------- 13. high contrast ---------- */
html.a11y-contrast .phero::after, html.a11y-contrast .pglass::before, html.a11y-contrast .night::before, html.a11y-contrast .pglass__sweep { display: none; }
html.a11y-contrast .pglass__l { filter: none; }
html.a11y-contrast :is(.pglass__chip, .rcard, .faq__list, .qtile, .flow-note) { background: #fff; border: 2px solid #000; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.a11y-contrast :is(.night, .commit li) { background: #000 !important; border-color: #fff; }
html.a11y-contrast .flow__node { background: #000; color: #fff; }
html.a11y-contrast .flow__rail::before { background: #000; }
html.a11y-contrast .flow__rail::after { display: none; }
html.a11y-contrast .theme-dark .qtile { background: #000; border: 2px solid #fff; }
html.a11y-contrast :is(.ftiles li, .glossary__item, .fitfor, .table-wrap.vs) { background: #fff; border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .vs td:nth-child(2) { background: #fff; }
html.a11y-contrast .dgloss { background: #fff; border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .bens li { background: #000 !important; border-color: #fff; box-shadow: none; }
html.a11y-contrast .bens__n { background: none; color: #fff; -webkit-text-fill-color: #fff; -webkit-text-stroke: 0; }
/* ---------- 14. responsive ---------- */
@media (max-width: 960px) {
  .phero .page-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 4px; }
  /* tablets & phones: the glass sits above the copy, compact, so the H1 stays in the first screen */
  .page-hero__grid > .pglass { order: -1; width: 100%; max-width: 520px; height: clamp(150px, 24vh, 240px); aspect-ratio: auto; margin-bottom: 6px; }
  .page-hero__grid > .pglass .pglass__chip, .page-hero__grid > .pglass .pbeam { display: none; }
  .page-hero__grid > .pglass::before { opacity: .045; inset: 6% 22% 0; }
  .page-hero__grid > .pglass { --lag: 60px; }
  .page-hero__grid > .pglass .pglass__l { width: 64cqmin; height: 64cqmin; margin: -37cqmin 0 0 -32cqmin; }
  .split, .split--wide-start, .split--wide-end, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .sec-head { position: static; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related > :last-child:nth-child(odd) { grid-column: 1 / -1; }   /* three cards: 2 + 1 full width, not 2 + 1 + a gap */
  .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .flow__rail { display: none; }
  .commit { grid-template-columns: minmax(0, 1fr); }
  .qtiles { grid-template-columns: minmax(0, 1fr); }
  .ctaend__in { grid-template-columns: minmax(0, 1fr); }
  .ctaend__ctas { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .toc--desk { display: none; }
  .toc--mob { display: block; margin-top: 4px; }
  .ftiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bens li, .bens--5 li:nth-child(-n + 2) { grid-column: span 3; }
  .bens li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .phero { padding-bottom: calc(36px + var(--chapter-r)); }
  /* phones: the copy spans the full width, so the pillar bloom moves up behind the glass (text keeps ≥ 4.5:1) */
  .phero::before {
    background:
      radial-gradient(60% 22% at 50% 14%, color-mix(in srgb, var(--c, var(--teal-500)) 18%, transparent), transparent 70%),
      linear-gradient(rgba(11, 40, 64, .055) 1px, transparent 1px) 0 0 / 64px 64px,
      linear-gradient(90deg, rgba(11, 40, 64, .055) 1px, transparent 1px) 0 0 / 64px 64px;
  }
  .phero .page-hero__copy { gap: 14px; }
  .phero__ctas { width: 100%; gap: 10px; }
  .phero__ctas .btn { flex: 1 1 140px; padding-inline: 14px; --h: 54px; }
  .flow__list { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .flow__step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .flow__node { grid-row: span 3; width: 48px; height: 48px; border-radius: 15px; }
  .flow__num { margin-top: 0; }
  .flow-note .link-arrow { margin-inline-start: 0; }
  .related { grid-template-columns: minmax(0, 1fr); }
  .ftiles--rich, .glossary { grid-template-columns: minmax(0, 1fr); }
  .bens { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bens li, .bens--5 li:nth-child(-n + 2), .bens li:last-child:nth-child(odd) { grid-column: auto; }
  .dgloss > summary { padding: 14px 16px; }
  .dgloss .glossary { padding: 4px 14px 16px; }
  /* a comparison table of 4+ columns keeps readable columns and scrolls inside its own region */
  .vs--wide table { min-width: 34rem; }
}
@media (hover: none) {
  .rcard:hover, .qtile:hover { transform: none; }
}
