/* Aurifex Healthcare layer on top of base.css (the Ranvier system retuned to this product's blue on near black).
   Everything here is this product's own: brand lockup, the three drawings, the product screens and a few page parts. */
:root { --ok: #4FD6A0; --hot: #F2B84B; }
.wordtxt { font: 700 19px var(--head); letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.wordtxt b { color: var(--g); font-weight: 700; }
.brand .mark { border-radius: 7px; }
.foot__legal p { max-width: 110ch; }
.foot__legal a { color: var(--text-2); }
.nav__links { margin-left: 10px; }

/* ---------- drawings: this product's own parts ---------- */
.hero-scene .nl { fill: none; stroke: var(--text-2); stroke-width: 2.2; stroke-linecap: round; }
.hero-scene .btnr { fill: var(--g); stroke: none; }
.hero-scene .btnt { font: 700 16.5px var(--head); letter-spacing: .05em; text-transform: uppercase; fill: var(--ink); }
.hero-scene .hotbox { fill: rgba(242, 184, 75, .08); stroke: var(--hot); stroke-width: 2; }
.hero-scene .bar.hot { fill: var(--hot); }
.hero-scene .row.hot { fill: var(--text); }
.hero-scene .day { font: 600 14px var(--mono); fill: var(--g); }
.hero-scene .day.hot { fill: var(--hot); }
.hero-scene .wheel { fill: var(--bg); stroke: var(--text); stroke-width: 2.5; }
.tl-scene .k-ride.note { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 30), 1) * clamp(0, calc((1 - var(--m)) * 7), 1)); }
.race-scene .fill.waste { fill: var(--hot); }
.race-scene .blkl { font: 600 12.5px var(--mono); fill: var(--muted); }
.way-scene .zig { fill: none; stroke: #566072; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; }
.way-scene .route { fill: none; stroke: var(--g); stroke-width: 4; stroke-linecap: round; }
.way-scene .stop { font: 700 18px var(--head); fill: var(--text); }
.way-scene :is(.stop, .zl, .big, .sub, .you, .psub, .pm) { paint-order: stroke; stroke: var(--bg); stroke-width: 7px; stroke-linejoin: round; }
.way-scene .zl { font: 500 14.5px var(--body); fill: var(--muted); }
.way-scene .door { fill: #0D121B; }
.way-fig .hero-cap { padding-top: 10px; }

/* ---------- why today's options fail ---------- */
.fail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fail li { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); }
.fail .tag { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hot); }
.fail--dec .tag { color: var(--g); justify-self: start; }
.fail--dec li { grid-row: span 5; grid-template-rows: subgrid; gap: 10px; }
.fail--dec .dec__row { display: grid; align-content: start; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.fail--dec .dec__row i { font: 600 12px var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fail b { font: 700 22px/1.12 var(--head); }
.fail span { color: var(--text-2); font-size: 15.5px; }

/* ---------- the proof moment ---------- */
.proof { text-align: center; padding: 96px 0; background: radial-gradient(900px 420px at 50% 40%, rgba(91, 184, 255, .12), transparent 65%), var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__n { font: 800 clamp(120px, 24vw, 340px)/.84 var(--head); letter-spacing: -.04em; color: var(--g); display: block; }
.proof__n small { font-size: .42em; vertical-align: .62em; letter-spacing: 0; }
.proof h2 { font: 800 clamp(26px, 3.4vw, 46px)/1.02 var(--head); text-transform: uppercase; margin-top: 18px; }
.proof p { color: var(--text-2); font-size: 17.5px; max-width: 64ch; margin: 18px auto 0; }
.proof__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 44px 0 0; text-align: left; }
.proof__row li { border: 1px solid var(--line); border-left: 2px solid var(--g); border-radius: 0 var(--r-el) var(--r-el) 0; background: rgba(16, 21, 31, .7); padding: 16px 18px; display: grid; gap: 2px; }
.proof__row b { font: 800 30px var(--head); color: var(--text); }
.proof__row span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.proof .caveat { margin-top: 26px; }

/* ---------- product screens ---------- */
.ax-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font: 600 12.5px var(--mono); white-space: nowrap; border: 1px solid transparent; }
.ax-chip--a { background: rgba(91, 184, 255, .14); color: var(--g); border-color: rgba(91, 184, 255, .32); }
.ax-chip--w { background: var(--hot); color: #2A1C02; }
.ax-chip--m { background: #1C2636; color: var(--text-2); border-color: rgba(242, 245, 250, .14); }
.ax-chip--ok { background: rgba(79, 214, 160, .14); color: var(--ok); border-color: rgba(79, 214, 160, .35); }
.ax-src { display: inline-flex; align-items: center; font: 600 11.5px var(--mono); color: var(--g); background: rgba(91, 184, 255, .1); border: 1px solid rgba(91, 184, 255, .3); border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
/* worklist */
.ax-wl { display: grid; gap: 7px; }
.ax-wl__h, .ax-wl__r { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .72fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; align-items: center; }
.ax-wl__h { font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 16px 2px; }
.ax-wl__h .is-ax { color: var(--g); }
.ax-wl__r { background: #111723; border: 1px solid var(--line); border-radius: 13px; padding: 13px 16px; font-size: 15.5px; }
.ax-wl__r b { font-weight: 600; display: block; }
.ax-wl__r small { display: block; font-size: 12.5px; color: var(--muted); }
.ax-wl__r .dt { font: 500 14.5px var(--mono); color: var(--text-2); }
.ax-wl__r .dt--ax { color: var(--g); font-weight: 600; }
.ax-wl__r .dt--ax em { display: block; font-style: normal; color: var(--hot); font-size: 12px; }
.ax-wl__r .ax-chip { white-space: normal; text-align: center; }
.ax-wl__r.is-hit { border-color: rgba(242, 184, 75, .55); background: rgba(242, 184, 75, .06); }
/* candidate review */
.ax-rev { display: grid; gap: 10px; }
.ax-rev__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.ax-rev__top b { font: 700 19px var(--head); }
.ax-crit { display: grid; gap: 8px; }
.ax-crit li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #111723; }
.ax-crit i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(79, 214, 160, .16); color: var(--ok); grid-row: span 2; }
.ax-crit b { font-weight: 600; font-size: 15.5px; }
.ax-crit q { grid-column: 2 / 4; font-size: 13.5px; color: var(--muted); quotes: none; }
/* drafted referral */
.ax-doc { display: grid; gap: 9px; }
.ax-doc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ax-doc__head b { font: 700 19px var(--head); }
.ax-ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #111723; font-size: 15.5px; }
.ax-ln.is-open { grid-template-columns: minmax(0, 1fr) auto; border-color: rgba(91, 184, 255, .4); }
.ax-ln q { grid-column: 1 / 3; quotes: none; font: 400 13.5px/1.5 var(--mono); color: var(--text-2); background: rgba(91, 184, 255, .07); border-left: 2px solid var(--g); padding: 9px 12px; border-radius: 0 8px 8px 0; }
.ax-ln.is-cut { border-style: dashed; border-color: rgba(242, 123, 114, .45); background: rgba(242, 123, 114, .05); }
.ax-ln.is-cut span:first-child { text-decoration: line-through; text-decoration-color: var(--rose); color: var(--muted); }
.ax-ln del { color: var(--muted); } .ax-ln ins { text-decoration: none; background: rgba(79, 214, 160, .16); color: var(--text); border-radius: 4px; padding: 0 3px; }
.ax-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ax-foot .lockn { display: inline-flex; align-items: center; gap: 8px; }
.ax-btn { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--head); letter-spacing: .05em; text-transform: uppercase; background: var(--g); color: var(--ink); border-radius: 99px; padding: 11px 20px; }
.ax-btn--q { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.ax-stamp { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(79, 214, 160, .1); border: 1px solid rgba(79, 214, 160, .4); }
.ax-stamp i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #06231A; }
.ax-stamp b { font: 700 16px var(--head); } .ax-stamp span { font-size: 13.5px; color: var(--text-2); }
/* engine steps */
.ax-eng { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
.ax-steps { display: grid; gap: 8px; align-content: start; counter-reset: s; }
.ax-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #111723; font-size: 15px; }
.ax-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel-3); font: 700 12.5px var(--head); grid-row: span 2; }
.ax-steps li small { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.ax-steps li.is-now { border-color: rgba(91, 184, 255, .5); background: rgba(91, 184, 255, .07); }
.ax-steps li.is-now::before { background: var(--g); color: var(--ink); }
.ax-out { display: grid; gap: 8px; align-content: start; }
/* unit board */
.ax-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; height: 150px; padding: 0 4px; border-bottom: 1px solid var(--line-2); }
.ax-days li { display: grid; gap: 6px; justify-items: center; align-content: end; height: 100%; }
.ax-days i { display: block; width: 100%; max-width: 74px; border-radius: 9px 9px 0 0; background: var(--g-3); height: var(--h); transform-origin: bottom; }
.ax-days .is-top i { background: var(--g); }
.ax-days b { font: 700 17px var(--head); }
.ax-dayl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0 4px; font: 500 12.5px var(--mono); color: var(--muted); text-align: center; }
.ax-bar { display: grid; gap: 8px; }
.ax-bar li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #111723; font-size: 15px; }
.ax-bar li small { color: var(--muted); font-size: 13px; }
html.anim .hold.is-pinned [data-anim] .ax-days i { transform: scaleY(clamp(0, calc((var(--q) - .05 - var(--n, 0) * .06) * 3.4), 1)); }
/* reads, writes, never */
.ax-rwn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ax-rwn > div { border: 1px solid var(--line); border-radius: 14px; background: #111723; padding: 16px; display: grid; gap: 10px; align-content: start; }
.ax-rwn h4 { font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--g); }
.ax-rwn .is-never h4 { color: var(--rose); }
.ax-rwn li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 6px; font-size: 14.5px; color: var(--text-2); padding: 3px 0; }
.ax-rwn .ic { margin-top: 3px; color: var(--g); } .ax-rwn .is-never .ic { color: var(--rose); }
.ax-build { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
/* pilot pricing */
.price-card .price { font: 800 44px/1 var(--head); text-transform: uppercase; letter-spacing: -.01em; }
.price-compare > div b { text-align: right; }
/* join form extras */
.waitlist__more input[type=text] { width: 100%; }
@media (max-width: 900px) {
  .fail, .proof__row, .ax-rwn { grid-template-columns: minmax(0, 1fr); }
  .ax-eng { grid-template-columns: minmax(0, 1fr); }
  .ax-wl__h { display: none; }
  .ax-wl__r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ax-wl__r > :first-child { grid-column: 1 / 3; }
  .ax-crit li { grid-template-columns: 26px minmax(0, 1fr); } .ax-crit li .ax-src { grid-column: 2; justify-self: start; } .ax-crit q { grid-column: 2; }
  .ax-ln { grid-template-columns: minmax(0, 1fr); } .ax-ln > .ax-src, .ax-ln > .ax-chip { justify-self: start; } .ax-ln q { grid-column: 1; }
  .ax-bar li { grid-template-columns: minmax(0, 1fr) auto; } .ax-bar li small { grid-column: 1 / 3; }
}
/* tables scroll inside their own box on narrow screens */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--panel); margin-bottom: 18px; }
.tbl-wrap .tbl { min-width: 780px; }
.join .h-feat { margin-bottom: 14px; }
.caveat.center { max-width: 90ch; margin: 22px auto 0; }

/* ---------- the original platform mockups, animated (tools/v2/mocks.py) ---------- */
.mock-fig { margin: 0; width: 100%; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.mock { position: relative; overflow: hidden; aspect-ratio: var(--ar); border-radius: 16px; border: 1.5px solid rgba(242, 245, 250, .3); background: #E8EDF5; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(91, 184, 255, .06); }
.mock__cam { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; will-change: transform; animation-duration: 1s; animation-timing-function: cubic-bezier(.45, 0, .2, 1); animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--t, 1) * -1s); }
.mock__cam img { display: block; width: 100%; height: auto; }
.mock__ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mock .m-cover { transform-box: fill-box; transform-origin: right center; transform: scaleX(calc(1 - clamp(0, calc((var(--t) - var(--a)) / var(--len, .05)), 1))); }
.mock .m-cover.up { transform-origin: center top; transform: scaleY(calc(1 - clamp(0, calc((var(--t) - var(--a)) / var(--len, .05)), 1))); }
.mock .m-cover.fade { transform: none; opacity: calc(1 - clamp(0, calc((var(--t) - var(--a)) / var(--len, .05)), 1)); }
.mock .m-ring, .mock .m-link { fill: none; stroke: #1E7BFF; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mock .m-halo { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .9; }
.mock .m-link { stroke-width: 4; } .mock path.m-halo { stroke-width: 9; stroke-opacity: .8; }
.mock .m-gone.k-draw { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 200), 1) * clamp(0, calc((var(--b) - var(--t)) * 16), 1)); }
.mock .m-pulse { fill: rgba(30, 123, 255, .16); stroke: #1E7BFF; stroke-width: 2.5; }
.mock .m-pulse.m-on { opacity: clamp(0, calc((var(--t) - var(--a)) * 22), 1); }
.mock .m-tag circle { fill: #0B1730; stroke: #fff; stroke-width: 4; }
.mock .m-tag text { font: 700 29px var(--body); fill: #fff; }
.mock .m-note rect { fill: #0B1730; stroke: #fff; stroke-width: 3; }
.mock .m-note text { font: 700 30px var(--head); fill: #fff; letter-spacing: .01em; }
.mock-fig .callouts { width: 100%; max-width: none; margin: 0; }   /* same left and right edges as the picture above it and the heading column (owner bug: the 980px cap and auto margins left the row centred and narrower) */
.mock-fig .callouts li { font-size: 14.5px; color: var(--text-2); }
.mock-fig .hero-cap { padding: 0; } .mock-fig .hero-cap a { color: var(--text-2); }
.chap-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px 56px; align-items: start; margin-bottom: 40px; }
.chap-row p { color: var(--text-2); font-size: 17px; } .chap-row .ticks { margin-top: 14px; }
@media (max-width: 900px) { .chap-row { grid-template-columns: minmax(0, 1fr); } .mock-fig .callouts { grid-template-columns: minmax(0, 1fr); } }

/* one hundred admissions (the flag chapter) */
.hun-fig { margin-top: 56px; }
.hun-scene .bed { fill: #1C2636; stroke: rgba(242, 245, 250, .45); stroke-width: 1.6; }
.hun-scene .bed.hot { fill: var(--hot); stroke: var(--hot); }
.hun-scene .s.thin { stroke-width: 1.6; stroke: rgba(242, 245, 250, .45); }
.hun-scene .flg { fill: var(--hot); stroke: none; }
.hun-scene .x { stroke: var(--rose); stroke-width: 4; }

/* hero: one unit seen from above, an architectural plan (tools/v2/hero_unit.py) */
.unit-scene { --u-wall: #19202C; --u-room: #0E141D; --u-co: #121A25; --u-line: rgba(228, 222, 210, .34); --u-hair: rgba(228, 222, 210, .17); --u-warm: rgba(228, 222, 210, .86); --amb: #F4B03C; }
/* a calm plan: three line weights (hairline 1, wall 1.5, accent 1.5), warm grey line work, blue and amber only where the story needs them */
.unit-scene :is(rect, circle, ellipse, path) { stroke: none; fill: none; }
.unit-scene .wl { fill: var(--u-wall); stroke: var(--u-line); stroke-width: 1.5; }
.unit-scene .fl { fill: var(--u-room); stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .co { fill: var(--u-co); stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .car { fill: var(--u-co); stroke: var(--u-line); stroke-width: 1.5; }
.unit-scene .gap { fill: var(--u-co); }
.unit-scene .podgap { fill: var(--u-room); }
.unit-scene .pod { fill: none; stroke: rgba(228, 222, 210, .24); stroke-width: 1.5; }
.unit-scene .win { fill: #151D29; stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .furn { fill: #151D2A; stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .bed { fill: #1B2432; stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .blk { fill: #232D3D; }
.unit-scene .pil { fill: #2E394C; }
.unit-scene .desk { fill: #1B2432; stroke: var(--u-line); stroke-width: 1.5; }
.unit-scene .stool { fill: #151D2A; stroke: var(--u-hair); stroke-width: 1; }
.unit-scene .edoor { stroke: var(--u-line); stroke-width: 1.5; fill: none; stroke-linecap: round; }
.unit-scene .pt { fill: #F4F7FB; opacity: .92; }
.unit-scene .st { fill: var(--g); }
.unit-scene :is(.cm, .pw) { fill: none; stroke: var(--g); stroke-linecap: round; stroke-dasharray: .0001 3; --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), .999); stroke-dashoffset: calc(-1 * var(--m)); }
.unit-scene .pw { stroke: #F4F7FB; opacity: calc(.92 * clamp(0, calc((1 - var(--m)) * 20), 1)); }
.unit-scene .cm.tr { --lead: .07; stroke-dashoffset: calc(-1 * clamp(0, calc(var(--m) + var(--lead)), 1)); opacity: clamp(0, calc((1 - var(--m) - var(--lead)) * 20), 1); }
.unit-scene .ask { font: 600 30px var(--head); fill: var(--g); letter-spacing: -.01em; stroke: var(--u-co); stroke-width: 10px; paint-order: stroke; stroke-linejoin: round; }
.v-tall .ask { stroke: none; }
@supports not (paint-order: stroke) { .unit-scene .ask { stroke: none; } }
.unit-scene .rd { fill: rgba(91, 184, 255, .075); }
.unit-scene .hotfl { fill: rgba(244, 176, 60, .10); }
.unit-scene .hotline { stroke: var(--amb); stroke-width: 1.5; stroke-linejoin: round; }
.unit-scene .dim { fill: rgba(9, 12, 18, .42); }
.unit-scene .band { stroke: none; }
.unit-scene .route { fill: none; stroke: var(--amb); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.unit-scene .route.b { opacity: .75; }
.unit-scene .arrowh { stroke: var(--amb); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.unit-scene .enddot { fill: var(--amb); }
.unit-scene .tick { stroke: var(--u-hair); stroke-width: 1; fill: none; }
.unit-scene .chip { fill: #130F08; stroke: var(--amb); stroke-width: 1; }
.unit-scene .tag { fill: var(--amb); }
.unit-scene .tagt { font: 700 16px var(--head); fill: #2A1C02; }
.unit-scene .tagflag { stroke: #2A1C02; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.unit-scene .rday { font: 700 16px var(--head); fill: var(--u-warm); }
.unit-scene .rplace { font: 500 16px var(--body); fill: rgba(228, 222, 210, .58); }
.v-tall .rday:not(.hot) { fill: rgba(228, 222, 210, .62); } .v-tall .rplace:not(.hot) { fill: rgba(228, 222, 210, .44); }
.unit-scene .sq { opacity: .7; }
.unit-scene .rday.hot { fill: var(--amb); } .unit-scene .rplace.hot { fill: #F7D597; } .unit-scene .bedn.hot { fill: var(--amb); }
.unit-scene .bedn { font: 500 16px var(--body); font-variant-numeric: tabular-nums; fill: rgba(228, 222, 210, .5); }
.unit-scene .cue { opacity: clamp(0, calc(.5 - var(--t) * 40), .5); }
.unit-scene .cuel { stroke: rgba(228, 222, 210, .7); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.unit-scene .bigl { font: 800 20px var(--head); text-transform: uppercase; fill: var(--g); letter-spacing: .03em; }
.unit-scene .big { fill: var(--g); }
.unit-scene .cardbg { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.unit-scene .item { fill: rgba(255, 255, 255, .03); stroke: rgba(242, 245, 250, .12); stroke-width: 1; }
.unit-scene .ph { font: 700 20px var(--head); }
.unit-scene .psub { font: 500 16px var(--body); fill: var(--muted); }
.unit-scene .pm { font: 600 16px var(--body); }
.unit-scene .im { font: 500 16px var(--body); fill: var(--muted); }
.unit-scene .sub { font: 500 16px var(--body); fill: var(--text-2); }
.unit-scene .btnr { fill: #34C58F; }
.unit-scene .btnt { font: 700 15.5px var(--head); fill: #06231A; }
.unit-scene .plus { stroke: var(--text); stroke-width: 2; fill: none; stroke-linecap: round; }
.unit-scene .route.k-draw, .unit-scene .hotline.k-draw { opacity: clamp(0, calc((var(--t) - var(--a)) * 200), 1); }
/* timeline classes for this drawing: fades, flashes, a scan, a slide, the camera (pull back, ease aside) and the hand off to the headline */
.tl-scene .k-fade { opacity: clamp(0, calc((var(--t) - var(--a)) * 14), 1); }
.tl-scene .k-flash { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 80), 1) * clamp(0, calc((var(--a) + .05 - var(--t)) * 40), 1)); }
.tl-scene .k-flash2 { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 120), 1) * clamp(0, calc((var(--a) + .03 - var(--t)) * 60), 1)); }
.tl-scene .k-dimto { opacity: calc(1 - .5 * clamp(0, calc((var(--t) - .26) * 12), 1) - .35 * clamp(0, calc((var(--t) - .33) / .14), 1)); }
.tl-scene .k-gone { opacity: clamp(0, calc(1 - (var(--t) - .3) * 12), 1); }
.tl-scene .k-ask { opacity: clamp(0, calc(1 - (var(--t) - .09) / .19), 1); }
.tl-scene .k-rest { opacity: calc(1 - .25 * clamp(0, calc((var(--t) - .68) / .08), 1)); }
.tl-scene .k-scan { --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), 1); transform: translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--m)), 0px); transform-box: view-box;
  opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 80), 1) * clamp(0, calc((var(--b) - var(--t)) * 80), 1)); }
.tl-scene .k-slide { --v: clamp(0, calc((var(--t) - var(--a)) / .05), 1); opacity: var(--v); transform: translateX(calc((1 - var(--v)) * 26px)); }
.tl-scene .k-slide.in { transform: translateX(calc((1 - var(--v)) * 8px)); }   /* the rows of the card stay inside the card while they arrive */
.tl-scene .k-pan { --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), 1); --e: calc(var(--m) * var(--m) * (3 - 2 * var(--m)));
  transform: translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--e)), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--e))); }
.tl-scene .k-zoom { transform: scale(calc(var(--z) - (var(--z) - 1) * clamp(0, calc(var(--t) / .06), 1))); }
.tl-scene .k-hand { --h: clamp(0, calc((var(--t) - .94) / .06), 1); transform: scale(calc(1 - .03 * var(--h))); }
@media (prefers-reduced-motion: reduce) { .tl-scene .k-hand { transform: none; opacity: 1; } }
.unit-scene .k-in { transform: translateY(calc((1 - var(--v)) * 6px)); }
/* ambient life: runs by itself, never under reduced motion, paused off screen or by the button */
@media (prefers-reduced-motion: no-preference) {
  .unit-scene .visit { animation: u-visit var(--dur, 64s) ease-in-out var(--dly, 0s) infinite; }
  .unit-scene .nurse { animation: u-nurse 22s ease-in-out infinite alternate; }
}
@keyframes u-visit { 0%, 4% { transform: translate(0, 0); } 24% { transform: translate(var(--ax), var(--ay)); } 31% { transform: translate(var(--bx), var(--by)); } 40%, 60% { transform: translate(var(--cx), var(--cy)); }
  69% { transform: translate(var(--bx), var(--by)); } 76% { transform: translate(var(--ax), var(--ay)); } 96%, 100% { transform: translate(0, 0); } }
@keyframes u-nurse { from { transform: translate(-22px, 0); } to { transform: translate(22px, 0); } }
.hero-fig.is-off .unit-scene *, .hero-fig.is-paused .unit-scene * { animation-play-state: paused !important; }
.hero-pause { position: absolute; top: 6px; right: 0; z-index: 2; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(9, 12, 18, .6); color: var(--text-2); cursor: pointer; }
.hero-pause:hover { color: var(--text); border-color: var(--line-g); }
.hero-pause svg { width: 12px; height: 12px; fill: currentColor; }
.hero-pause .i-play { display: none; } .hero-fig.is-paused .hero-pause .i-play { display: block; } .hero-fig.is-paused .hero-pause .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-pause { display: none; } }

/* hero layout: the figure first, then the text */
.hero--first { padding-top: 0; }
.hero--first .hold.is-pinned { margin-top: -69px; }
/* not held: start 78px below the top (the nav is 69px); done with a margin, not padding, so the engine's height measure is not inflated */
.hero--first .hold:not(.is-pinned) { margin-top: 9px; }
/* while the engine is still measuring (before hero.js marks the hold fit-done) the hold has the box it will have when pinned, so no layout shift is recorded */
.hero--first .hold:not(.is-pinned):not(.fit-done) { margin-top: -69px; min-height: 230svh; }
.hero--first .hold:not(.is-pinned):not(.fit-done) > .hold-pin { display: grid; align-content: start; height: 100svh; padding-top: calc(var(--navh, 68px) + 8px); box-sizing: border-box; }   /* owner 2026-11-22: the plan sits at the top of the frame, not centred (no empty band above it) */
.hero--first > .hero__in > .hero-fig { padding-top: 56px; }
html.anim .hero--first > .hero__in > .hero-fig { display: grid; align-content: start; height: 100svh; padding-top: calc(var(--navh, 68px) + 8px); margin: -69px 0 130svh; }   /* before the engine wraps the figure: the same box the hold will have, so nothing shifts */
html.anim .hero--first .tl-scene.duo { --t: 0; }
.hero--stack .hold.is-pinned > .hold-pin { align-content: start; padding-top: calc(var(--navh, 68px) + 8px); }
.hero-fig { position: relative; }
.hero-stage { padding: 0; }
.hero-stage .tl-scene.duo { width: 100%; max-width: 1180px; margin: 0 auto; }
.hero--first .hero-cap { font-size: 12px; line-height: 1.5; max-width: 640px; margin: 0 auto; padding: 10px 0 0; color: rgba(147, 160, 181, .78); text-wrap: balance; }
.hero--first .hero__copy { padding: 72px 0 80px; }
.hero--first .hero__micro-row { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; align-items: center; margin-top: 6px; }
.hero--first .hero__micro-row .badge { margin: 0; }
@media (min-width: 1024px) and (min-height: 640px) {
  /* owner 2026-11-22: the opening plan is much wider, as wide as the other pages' figures (96 percent of the window, at most 2000 px) and always inside the window height */
  .hero--first .hero-stage .tl-scene.duo { --sw: min(96vw, 2000px, calc((100svh - 150px) * 2.003)); width: var(--sw); max-width: none; margin-left: calc(50% - var(--sw) / 2); margin-right: 0; }
}
@media (max-width: 1023px) {
  .hero--first .hero-pause { top: auto; bottom: 6px; right: 0; }   /* beside the caption, so it never sits on the plan */
  .hero--first .hero-cap { padding-left: 38px; padding-right: 38px; font-size: 13px; }
  .hero--first .tl-scene.duo > .v-wide { display: none; } .hero--first .tl-scene.duo > .v-tall { display: block; }
  .hero-stage .tl-scene.duo { max-width: 500px; }
  .hero--first .hero__copy { padding: 48px 0 64px; }
}

@media (min-width: 560px) and (max-width: 1023px) and (min-height: 760px) { .hero-stage .tl-scene.duo { max-width: max(340px, min(500px, calc((100svh - 215px) * .53))); } }

/* two versions of each drawing: the wide one above 900px, a tall one for phones (no sideways scrolling) */
.tl-scene.duo > svg { display: block; width: 100%; height: auto; overflow: visible; }
.tl-scene.duo > .v-tall { display: none; }
@media (max-width: 899px) {
  .scene__stage .tl-scene.duo { width: 100%; max-width: 560px; margin: 0 auto; }
  .tl-scene.duo > .v-wide { display: none; } .tl-scene.duo > .v-tall { display: block; }
  .scene__stage:has(> .tl-scene.duo) { overflow: visible; }
}

/* statement screens: only the second line takes the accent (the engine wraps each word in a span) */
.statement h2 { color: var(--text); }
.statement h2 .stw { color: inherit; }
.statement h2 > span:not(.stw) { color: var(--g); }

/* the animated mockups never pan sideways on narrow screens: they fit the width and the camera does the zooming */
@media (max-width: 899px) {
  .scene__stage:has(> .tl-scene.mock) { overflow: visible; }
  .scene__stage .tl-scene.mock { width: 100%; max-width: 100%; }
}

/* ticks: the icon sits in the margin and the text, links included, flows as ordinary lines (a loose link used to fall into the icon column) */
.ticks li { display: block !important; position: relative; padding-left: 30px !important; }
.ticks li > .ic { position: absolute; left: 0; top: 4px; margin: 0; }
/* page rules (such as .ev-steps .ticks li) still set display grid with a 24px icon column; the !important above keeps every list in one flowing column */
.unit-scene .pm.hi { font-size: 16px; }

/* ROI calculator in the navigation: the one nav item with an accent, so the estimate is easy to find */
.nav .nav__roi { color: var(--g); font-weight: 600; }
.nav .nav__roi:hover { color: var(--text); }
.nav__cta .nav__roi { font-size: 14px; padding: 8px 4px; white-space: nowrap; text-decoration: none; }
.nav__mroi { display: none; }
@media (max-width: 1080px) { .nav__links > .nav__mroi { display: block; } }

/* tables read as stacked cards on a phone: the row's first cell is the heading, every other cell carries its column name */
@media (max-width: 700px) {
  .tbl-wrap.tbl-wrap--stack { border: 0; background: none !important; overflow: visible; border-radius: 0; }
  .tbl-wrap--stack .tbl.tbl--stack { display: block; width: 100%; min-width: 0 !important; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tbl--stack tbody, .tbl--stack tr, .tbl--stack td { display: block; width: auto !important; min-width: 0 !important; max-width: none !important; }
  .tbl--stack tr { border: 1px solid var(--line); border-radius: var(--r-el); background: var(--panel); margin: 0 0 12px; padding: 4px 0 10px; overflow: hidden; }
  .tbl--stack tbody tr:last-child { margin-bottom: 0; }
  .tbl--stack td { border: 0 !important; padding: 6px 16px !important; font-size: 14.5px; line-height: 1.5; position: static !important; background: none !important; white-space: normal !important; }
  .tbl--stack td:first-child { padding-top: 12px !important; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.3; }
  .tbl--stack td[data-label]::before { content: attr(data-label); display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .tbl--stack td:first-child::before { content: none; }
  .tbl--stack tr.aur { background: rgba(91, 184, 255, .1); border-color: var(--line-g); }
  .tbl--stack td.aurcol { background: rgba(91, 184, 255, .1) !important; }
  .tbl--stack .tgt { white-space: normal; }
}

/* very narrow phones: the longest word in a statement headline ("independently") must fit the column, or the page scrolls sideways at 320 */
@media (max-width: 380px) { .statement h2 { font-size: 11.5vw; } }

/* a facts row with two items fills its column (three column grids left a gap on the right at 681 to 1100 wide) */
@media (min-width: 681px) and (max-width: 1100px) { .page-facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }

/* the chapter bar is out of the tab order while it is slid away (its scroller was focusable behind the nav) */
.chapters { visibility: hidden; transition: transform .35s var(--ease-out), opacity .25s ease, visibility 0s linear .35s; }
.chapters.is-on { visibility: visible; transition-delay: 0s; }

/* a focused control is scrolled clear of the fixed phone button, not left behind it (WCAG 2.4.11) */
@media (max-width: 680px) { html:has(.mcta-bar) { scroll-padding-bottom: 88px; } }

/* phones: the pause button sits above the fixed bottom button, not under it (it was unreachable and covered when focused) */
@media (max-width: 680px) { .hero--first .hero-pause { bottom: 76px; } }

/* a proof row of two fills its width */
.proof__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .proof__row--2 { grid-template-columns: minmax(0, 1fr); } }

/* while a keyboard user is on something in the page, the fixed phone button slides away so it never covers the focus */
html:has(main :focus-visible) .mcta-bar.is-on { transform: translateY(140%); }
