/* Trust page only (pages/trust.py): round 2 (10.11), in Langdock's form. Every class starts with .trust- (README §6).
   Round 1 (three heroes) is a record: _trust_round1.css. Sizes follow the kit: 1440 canvas, 1192 content width. */

.trust-hero .lb,.trust-dh .lb,.trust-shh .lb{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-2);display:flex;align-items:center;gap:8px}
.trust-hero .lb i,.trust-dh .lb i,.trust-shh .lb i{width:6px;height:6px;background:var(--fg)}
.trust-dh .lb{justify-content:center}
.trust-shh{margin-bottom:56px}
.trust-shh h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;margin:22px 0 0;max-width:13em}

/* --- hero: label, H1, the lede and the button under it on the left; the film card on the right (Ihor 10.11) ---------- */
.trust-hero{width:1192px;margin:0 auto;padding:96px 0 40px;display:grid;grid-template-columns:1fr 640px;gap:72px;align-items:start}
.trust-hero h1{font-size:62px;line-height:1.02;letter-spacing:-.03em;margin:20px 0 0;max-width:7em;text-wrap:balance}
.trust-htx p{font-size:18px;line-height:1.5;color:var(--fg-2);max-width:23em;margin:28px 0 0}
.trust-htx .btn{margin-top:28px}
/* colour look (15.11): the film and its umber tint are gone; the card is ice glass made for this page (Ihor's pick, round 2,
   from A · deep teal glass · B · Mesh · C · ice glass) */
.trust-hcard{position:relative;height:480px;overflow:hidden;background:#E8EFF0}
.trust-hg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* the chip, as Platform's tiles (doc 14 §26): white tiles on a frosted row; an ink ring (.trust-spot) walks across them in
   one 8 s loop, and the tile under it lifts and turns its icon ink —
   0–8 % rests on the mark · 8–16 % to the shield, its check draws · 36–50 % across to the lock, it closes ·
   68–76 % back to the mark, it turns and a ring goes out · 92–100 % the check fades and the lock opens for the next loop */
.trust-chip{--t:84px;--gp:14px;--step:calc(var(--t) + var(--gp));--dur:8s;--lift:-6px;--off:#6A747A;position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);
  display:flex;gap:var(--gp);padding:var(--gp);border-radius:28px;background:rgba(255,255,255,.3);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 20px 50px -24px rgba(0,0,0,.6)}
.trust-chip i{position:relative;z-index:1;width:var(--t);height:var(--t);display:grid;place-items:center;color:var(--off);background:#fff;border-radius:18px;
  box-shadow:0 10px 22px -12px rgba(0,0,0,.45)}
.trust-chip i svg{width:32px;height:32px;overflow:visible;position:relative;z-index:2}
.trust-spot{position:absolute;left:var(--gp);top:var(--gp);z-index:3;width:var(--t);height:var(--t);border-radius:18px;pointer-events:none;
  box-shadow:0 0 0 2px #03090E,0 18px 30px -14px rgba(0,0,0,.6);transform:translate(var(--step),var(--lift));animation:trustSpot var(--dur) infinite}
.trust-chip .t1{animation:trustInk1 var(--dur) infinite}
.trust-chip .t2{color:#03090E;transform:translateY(var(--lift));animation:trustInk2 var(--dur) infinite}
.trust-chip .t3{animation:trustInk3 var(--dur) infinite}
/* doc 31 (Ihor 16.11): the star never turns, grows or moves on its own; the tile around it keeps its lift */
.trust-ck{stroke-dasharray:9;stroke-dashoffset:9;animation:trustCheck var(--dur) infinite}
.trust-sh{transform-box:fill-box;transform-origin:50% 100%;transform:translateY(-2.6px);animation:trustShackle var(--dur) infinite}
.trust-kh{opacity:0;animation:trustKey var(--dur) infinite}
.trust-ring{position:absolute;inset:-1px;z-index:0;border-radius:28px;border:1.5px solid rgba(3,9,14,.4);opacity:0;pointer-events:none;animation:trustRing var(--dur) infinite}
@keyframes trustSpot{
  0%,8%{transform:translate(var(--step),var(--lift));animation-timing-function:cubic-bezier(.6,0,.25,1)}
  16%,36%{transform:translate(0,var(--lift));animation-timing-function:cubic-bezier(.6,0,.25,1)}
  50%,68%{transform:translate(calc(var(--step) * 2),var(--lift));animation-timing-function:cubic-bezier(.6,0,.25,1)}
  76%,100%{transform:translate(var(--step),var(--lift))}}
@keyframes trustInk1{0%,11%{color:var(--off);transform:none}15%,37%{color:#03090E;transform:translateY(var(--lift))}41%,100%{color:var(--off);transform:none}}
@keyframes trustInk2{0%,9%{color:#03090E;transform:translateY(var(--lift))}12%,39%{color:var(--off);transform:none}42%,44%{color:#03090E}
  47%,71%{color:var(--off);transform:none}74%,100%{color:#03090E;transform:translateY(var(--lift))}}
@keyframes trustInk3{0%,46%{color:var(--off);transform:none}50%,68%{color:#03090E;transform:translateY(var(--lift))}72%,100%{color:var(--off);transform:none}}
@keyframes trustCheck{0%,17%{stroke-dashoffset:9;opacity:1}24%,92%{stroke-dashoffset:0;opacity:1}97%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:9;opacity:0}}
@keyframes trustShackle{0%,50%{transform:translateY(-2.6px)}54%{transform:translateY(.4px)}56%,92%{transform:translateY(0)}98%,100%{transform:translateY(-2.6px)}}
@keyframes trustKey{0%,53%{opacity:0}57%,92%{opacity:1}97%,100%{opacity:0}}
@keyframes trustRing{0%,76%{opacity:0;transform:scale(1)}78%{opacity:.9;transform:scale(1)}92%,100%{opacity:0;transform:scale(1.12,1.4)}}
/* off screen it pauses (trust.js adds .trust-off); frozen for ?shot and reduced motion: the ring on the mark, the check drawn,
   the lock shut */
.trust-hcard.trust-off .trust-chip *{animation-play-state:paused}
.trust-still .trust-chip *{animation:none!important}
.trust-still .trust-chip .t1,.trust-still .trust-chip .t3{color:var(--off);transform:none}
.trust-still .trust-ck{stroke-dashoffset:0}
.trust-still .trust-sh{transform:none}
.trust-still .trust-kh{opacity:1}

/* --- 01 · Deployment: Langdock's four cards; they lift on hover ------------------------------------------------------- */
.trust-dep{width:1192px;margin:0 auto;padding:150px 0 0}
.trust-dh{text-align:center}
.trust-dh h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;max-width:22em;margin:22px auto 0;text-wrap:balance}
.trust-dcs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:56px}
/* colour look round 1: the standard card orange, the others the kit's light grey, white provider tiles (was sand and tonal) */
.trust-dc{min-height:400px;padding:28px 26px 26px;background:var(--grey);display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease}
.trust-dc:hover{transform:translateY(-8px);box-shadow:0 26px 50px -26px rgba(3,9,14,.4)}
.trust-dc.std{background:var(--orange)}
.trust-tile{align-self:flex-start;width:104px;height:104px;display:flex;align-items:center;justify-content:center;gap:16px;background:#fff;color:#03090E}
.trust-tile.wide{width:auto;padding:0 22px}
.trust-dc.std p{color:var(--ink-2)}
.trust-pv{flex:none}
.trust-pv.aws{width:58px;height:37px}
.trust-pv.aws text{font:700 21px/1 var(--font);letter-spacing:-.02em;fill:currentColor}
.trust-pv.az{width:30px;height:30px}
.trust-pv.gc{width:34px;height:34px}
.trust-pill{font-size:15px;font-weight:600;border:2px solid #03090E;border-radius:999px;padding:6px 14px}
.trust-dc p{margin:96px 0 22px;font-size:16px;line-height:1.5;color:var(--fg-2)}
.trust-dc p b{color:var(--fg);font-weight:500}
.trust-tag{align-self:flex-start;margin-top:auto;font-size:13.5px;padding:4px 12px;border:1px solid var(--line);color:var(--fg)}
.trust-tag.std{background:var(--fg);color:var(--bg);border-color:var(--fg)}

/* --- 02 · The Agentic Harness: the head on the paper, the fill only behind the scheme (Ihor 10.11). Fills behind
   data-fill=umber|sage|sand|film; Ihor picked Film (10.11), the others stay as values; every colour comes from the fill's variables.
   One 9.6 s loop: the inputs light, a dot runs down, the blocks light one by one (0.9 s each), a dot runs down, the outputs light */
.trust-hz{width:1192px;margin:150px auto 0}
/* colour look (15.11): the film and its cream veil are gone; the scheme sits on the page's stage fill, Glow in teal (Ihor's
   pick, round 2); its cards are frosted white, the lit block ink. The old fills (umber, sage, sand, film) are retired */
.trust-hz{--hz-bg:#F4F2EE;--hz-fg:#03090E;--hz-fg2:rgba(3,9,14,.66);--hz-card:rgba(255,255,255,.72);--hz-line:rgba(3,9,14,.1);
  --hz-frame:rgba(3,9,14,.24);--hz-on-bg:#03090E;--hz-on-fg:#FFFFFF;--c1:#93C0BA;--c2:#E4EFEC;--c3:#F3E3CD;--c4:#BFD9D5}
.trust-hzh .lb{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-2);display:flex;align-items:center;gap:8px}
.trust-hzh .lb i{width:6px;height:6px;background:var(--fg)}
.trust-hzh h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;margin:22px 0 0;max-width:13em}
.trust-hzh p{font-size:18px;line-height:1.5;color:var(--fg-2);max-width:34em;margin:20px 0 0}
.trust-hzp{--hz:9.6s;position:relative;overflow:hidden;margin-top:48px;background:var(--hz-bg);color:var(--hz-fg);padding:56px 64px}
.trust-hzb,.trust-hzn{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.trust-hzd{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center}
.trust-hzs{display:flex;gap:14px;justify-content:center;position:relative}
.trust-hzs.in{padding-bottom:44px}
.trust-hzs.out{padding-top:44px}
.trust-hzs::after{content:"";position:absolute;left:50%;width:0;height:44px;border-left:1px dashed var(--hz-frame)}
.trust-hzs.in::after{bottom:0}
.trust-hzs.out::after{top:0}
.trust-hzs::before{content:"";position:absolute;left:50%;width:9px;height:9px;margin-left:-4px;border-radius:50%;background:var(--hz-fg);opacity:0;z-index:1}
.trust-hzs.in::before{top:calc(100% - 44px);animation:trustHzDotIn var(--hz) infinite}
.trust-hzs.out::before{top:0;animation:trustHzDotOut var(--hz) infinite}
.trust-hzn{display:flex;align-items:center;gap:12px;padding:12px 18px 12px 14px;border:1px solid var(--hz-frame);background:var(--hz-card);color:var(--hz-fg);min-width:250px}
.trust-hzn svg{width:22px;height:22px;flex:none;color:inherit}
.trust-hzn b{display:block;font-size:15px;font-weight:500}
.trust-hzn small{display:block;font-size:12.5px;color:inherit;opacity:.72;margin-top:2px}
.trust-hzs.in .trust-hzn{animation:trustHzIn var(--hz) linear infinite,trustHzInC var(--hz) step-end infinite}
.trust-hzs.out .trust-hzn{animation:trustHzOut var(--hz) linear infinite,trustHzOutC var(--hz) step-end infinite}
.trust-hzc{width:100%;border:1px solid var(--hz-frame);padding:16px}
.trust-hzt{display:block;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--hz-fg2);margin:2px 2px 14px}
.trust-hzg{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.trust-hzb{color:var(--hz-fg);padding:18px 18px 20px;background:var(--hz-card);border:1px solid var(--hz-line);min-height:150px;
  animation:trustHzB var(--hz) linear infinite,trustHzBC var(--hz) step-end infinite;animation-delay:calc(.9s + var(--i) * .9s)}
.trust-hzb .n{font-size:12px;color:inherit;opacity:.6;font-variant-numeric:tabular-nums}
.trust-hzb b{display:block;font-size:17px;font-weight:500;margin-top:14px}
.trust-hzb p{font-size:13.5px;line-height:1.5;color:inherit;opacity:.74;margin:8px 0 0}
/* T1 (doc 33, 17.11): the fill fades in 0.19 s and the text colour flips at once halfway (step-end), so a card is never a
   blank grey slab mid-fade (the text used to fade ink → white through the fill's own grey) */
@keyframes trustHzIn{0%,7%{background:var(--hz-on-bg)}9%,100%{background:var(--hz-card)}}
@keyframes trustHzInC{0%{color:var(--hz-on-fg)}8%,100%{color:var(--hz-fg)}}
@keyframes trustHzOut{0%,84%{background:var(--hz-card)}86%,97%{background:var(--hz-on-bg)}99%,100%{background:var(--hz-card)}}
@keyframes trustHzOutC{0%{color:var(--hz-fg)}85%{color:var(--hz-on-fg)}98%,100%{color:var(--hz-fg)}}
@keyframes trustHzDotIn{0%,2%{opacity:0;transform:translateY(0)}3%{opacity:1}9%{opacity:1;transform:translateY(35px)}10%,100%{opacity:0;transform:translateY(35px)}}
@keyframes trustHzDotOut{0%,80%{opacity:0;transform:translateY(0)}81%{opacity:1}87%{opacity:1;transform:translateY(35px)}88%,100%{opacity:0;transform:translateY(35px)}}
@keyframes trustHzB{0%{background:var(--hz-card)}2%,8%{background:var(--hz-on-bg)}10%,100%{background:var(--hz-card)}}
@keyframes trustHzBC{0%{color:var(--hz-fg)}1%{color:var(--hz-on-fg)}9%,100%{color:var(--hz-fg)}}
.trust-still .trust-hzp *{animation:none!important}
.trust-still .trust-hzs::before{display:none}

/* --- 03 · Agent rights (option), rebuilt for production (Ihor 10.11): the agent's icon, numbered tools, the approver as a
   picker (a cursor opens it for the refund), a light request card with a stepper, and a caption that names each step ------ */
.trust-rights{width:1192px;margin:150px auto 0}
.trust-rh .lb{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-2);display:flex;align-items:center;gap:8px}
.trust-rh .lb i{width:6px;height:6px;background:var(--fg)}
.trust-rh h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;margin:22px 0 0;max-width:13em}
.trust-rh p{font-size:18px;line-height:1.5;color:var(--fg-2);max-width:34em;margin:20px 0 0}
.trust-tl [data-at]{opacity:0;transform:translateY(6px);transition:opacity .45s ease,transform .45s ease}
.trust-tl [data-at].in{opacity:1;transform:none}
.trust-tl .ins{transition:none!important;animation:none!important}
.trust-rs{position:relative;height:560px;margin-top:48px;overflow:hidden}
/* colour look: the sand-tinted film is gone; the stage is the page's stage fill, Glow in orange (Ihor's pick, round 2) */
.trust-fx{position:absolute;inset:0;overflow:hidden;background:#F4F2EE;--c1:#F2BE8C;--c2:#FBEADA;--c3:#CFE3EA;--c4:#F7D7B8}
.trust-ex{position:absolute;right:18px;top:14px;z-index:6;font-size:11px;background:rgba(255,255,255,.92);color:rgba(3,9,14,.66);padding:3px 9px;border-radius:10px;white-space:nowrap}
.trust-bw{position:absolute;left:48px;top:48px;right:48px;z-index:2;display:flex;gap:24px;align-items:flex-start}
.trust-win{flex:none;width:676px;overflow:visible;background:var(--ui);border-radius:14px;box-shadow:0 18px 50px -24px rgba(3,9,14,.45)}
.trust-wh{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--ui-line)}
.trust-wh .av,.trust-dec .av{width:36px;height:36px;border-radius:10px;background:#03090E;color:#FFFFFF;display:grid;place-items:center;flex:none}
.trust-wh .av svg,.trust-dec .av svg{width:16px;height:16px}
.trust-wh b{display:block;font-size:14.5px;color:#111}
.trust-wh small{font-size:12px;color:#6B6A66}
.trust-wh .tabs{margin-left:auto;display:flex;gap:4px;font-size:12.5px}
.trust-wh .tabs i{font-style:normal;color:#6B6A66;padding:5px 11px;border-radius:8px}
.trust-wh .tabs i.on{background:#F2F1ED;color:#111;font-weight:600}
.trust-rt{padding:6px 10px 12px}
.trust-r{position:relative;display:grid;grid-template-columns:22px 1.45fr 1fr 1.2fr 1.15fr;align-items:center;gap:10px;padding:10px 10px;border-radius:9px;font-size:13px;color:#34322D;transition:background .35s ease,box-shadow .35s ease}
.trust-r.th{font-size:11.5px;color:#6B6A66;padding-top:8px;padding-bottom:8px;border-bottom:1px solid var(--ui-line);border-radius:0}
.trust-r .nr{width:20px;height:20px;border-radius:50%;background:#F2F1ED;color:#6B6A66;font-size:11px;font-weight:600;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.trust-r.th .nr{background:none}
.trust-r .tl{color:#111;font-weight:500}
.trust-r .rv{color:#6B6A66}
.trust-r .who{position:relative;color:#6B6A66;font-size:12.5px}
.trust-r .who.none{padding-left:10px}
.trust-pick{position:relative;display:inline-flex;align-items:center;gap:4px;padding:3px 6px 3px 9px;border:1px solid var(--ui-line);border-radius:8px;background:#fff;color:#111;cursor:pointer;white-space:nowrap}
.trust-pick .trust-ri svg{width:13px;height:13px;color:#6B6A66}
.trust-r .ef{display:inline-flex;align-items:center;gap:6px;width:max-content;font-size:12px;font-weight:600;padding:3px 9px 3px 7px;border-radius:9px}
.trust-ri{display:inline-grid;place-items:center}
.trust-ri svg{width:13px;height:13px}
.trust-r .ef.ok{background:#E8F2E2;color:#2F5D23}
.trust-r .ef.ap{background:#FFF2CC;color:#7A5B00}
.trust-r .ef.no{background:#F6E3E0;color:#8A2E22}
.trust-r.on{background:#F7F6F2;box-shadow:inset 0 0 0 2px #03090E}
.trust-r.on .nr{background:#03090E;color:#FFFFFF}
.trust-r.on .ef.ap{animation:trustPulse 1.6s ease 2}
@keyframes trustPulse{50%{box-shadow:0 0 0 5px rgba(122,91,0,.18)}}
/* the cursor opens the refund's approver picker (steps 0–1) */
.trust-cur{position:absolute;right:-6px;bottom:-14px;width:22px;height:22px;z-index:6;opacity:0;pointer-events:none}
.trust-cur svg{width:22px;height:22px}
.trust-cur.on{animation:trustCur 1.4s ease forwards}
.trust-cur.on.ins{animation:none;opacity:1}
@keyframes trustCur{0%{opacity:0;transform:translate(60px,40px)}55%{opacity:1;transform:none}70%{transform:scale(.82)}82%,100%{opacity:1;transform:none}}
.trust-pick.hot{transition:box-shadow .3s}
.trust-r:has(.trust-dd.on) .trust-pick.hot{box-shadow:0 0 0 3px rgba(3,9,14,.12);border-color:#03090E}
.trust-dd{position:absolute;left:0;bottom:calc(100% + 6px);z-index:7;min-width:178px;display:flex;flex-direction:column;padding:5px;background:#fff;border:1px solid var(--ui-line);
  border-radius:10px;box-shadow:0 18px 40px -16px rgba(3,9,14,.4);opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .25s,transform .25s}
.trust-dd.on{opacity:1;transform:none}
.trust-dd span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-radius:7px;color:#34322D;font-size:12.5px}
.trust-dd span.on{background:#F2F1ED;color:#111;font-weight:600}
.trust-dd .trust-ri svg{color:#2F5D23}
/* the request card: light, with a status chip and a four-step stepper */
.trust-dec{flex:1;background:var(--ui);border-radius:14px;padding:16px 18px 18px;box-shadow:0 18px 50px -24px rgba(3,9,14,.45)}
.trust-dec .dh{display:flex;align-items:center;gap:10px}
.trust-dec .who2 b{display:block;font-size:13.5px;color:#111}
.trust-dec .who2 small{font-size:11.5px;color:#6B6A66}
.trust-sw>span{display:none}
.trust-tl .trust-sw>span{opacity:1;transform:none;transition:none}
.trust-sw>span.in:not(:has(~ span.in)){display:inline-flex}
.trust-st{margin-left:auto;font-size:11.5px;font-weight:600}
.trust-st>span{padding:3px 9px;border-radius:9px;background:#F2F1ED;color:#34322D;white-space:nowrap}
.trust-st>span.w{background:#FFF2CC;color:#7A5B00}
.trust-st>span.ok{background:#E8F2E2;color:#2F5D23}
.trust-dec .tt{display:block;font-size:19px;color:#111;margin-top:16px}
.trust-dec .sub{display:block;font-size:12.5px;color:#6B6A66;margin-top:4px}
.trust-stp{list-style:none;margin:18px 0 0;padding:0}
.trust-stp li{position:relative;padding:0 0 16px 28px;min-height:44px}
.trust-stp li:last-child{padding-bottom:0}
.trust-stp li::before{content:"";position:absolute;left:7px;top:18px;bottom:-2px;width:2px;background:var(--ui-line)}
.trust-stp li:last-child::before{display:none}
.trust-stp li>i{position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;border:2px solid #CFCCC4;background:#fff;transition:background .3s,border-color .3s}
.trust-stp li.on>i{background:#03090E;border-color:#03090E}
.trust-stp li.on>i::after{content:"";position:absolute;left:3px;top:3px;width:6px;height:3px;border-left:1.6px solid #fff;border-bottom:1.6px solid #fff;transform:rotate(-45deg)}
.trust-stp li>b{display:block;font-size:13px;color:#9A978F;transition:color .3s}
.trust-stp li.on>b{color:#111}
.trust-stp li>span{display:block;font-size:12.5px;line-height:1.45;color:#6B6A66;margin-top:3px}
/* the caption names the step */
.trust-rcap{position:absolute;left:50%;bottom:28px;z-index:3;transform:translateX(-50%);width:680px;height:42px}
.trust-rcap span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14.5px;color:#03090E;
  background:rgba(255,255,255,.94);box-shadow:0 12px 30px -18px rgba(3,9,14,.45);border-radius:21px;opacity:0;transition:opacity .35s ease}
.trust-rcap span.on{opacity:1}
.trust-rcap b{font-size:11px;width:20px;height:20px;border-radius:50%;background:#03090E;color:#FFFFFF;display:grid;place-items:center;flex:none}

/* --- 04 · Real-time monitoring, a blue band (colour look, Ihor's pick 15.11; Platform's band form, doc 14 §27–§28): the
   window on calm peach glass on the left; the head, four capabilities (the bar under the active one fills over 7 s; a click
   picks one) and an outlined button on the right, at the bottom. The window's scene follows the capability ------------- */
.trust-mon{margin:200px 0 0;padding:96px 48px;background:var(--blue)}
.trust-mg{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,5fr);grid-template-areas:"stage ." "stage head" "stage list" "stage act";
  grid-template-rows:1fr auto auto auto;column-gap:72px}
.trust-monh{grid-area:head;margin-bottom:28px}
.trust-monh .lb{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);display:flex;align-items:center;gap:8px}
.trust-monh .lb i{width:6px;height:6px;background:var(--fg)}
.trust-monh h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;margin:22px 0 0;max-width:11em}
.trust-monh p{font-size:16px;line-height:1.6;color:var(--ink-2);max-width:31em;margin:20px 0 0}
.trust-mis{grid-area:list;display:flex;flex-direction:column}
.trust-mact{grid-area:act;margin-top:30px}
.trust-mst{grid-area:stage;align-self:stretch}
.trust-mi{font:inherit;text-align:left;background:none;border:0;border-top:1px solid rgba(3,9,14,.2);padding:16px 0 0;cursor:pointer;color:var(--ink-2)}
.trust-mi:last-child{border-bottom:1px solid rgba(3,9,14,.2)}
.trust-mi .n{font-size:12px;font-variant-numeric:tabular-nums}
.trust-mi b{display:block;font-size:18px;font-weight:500;line-height:1.25;margin-top:4px;color:var(--ink-2);transition:color .3s}
.trust-mi p{font-size:14.5px;line-height:1.5;margin:8px 0 0;max-height:0;overflow:hidden;opacity:0;transition:max-height .45s ease,opacity .35s ease}
.trust-mi.on b{color:var(--fg)}
.trust-mi.on p{max-height:120px;opacity:1}
.trust-mi .bar{display:block;height:2px;margin-top:16px;background:transparent}
.trust-mi .bar i{display:block;height:100%;width:0;background:var(--fg)}
.trust-mi.on .bar{background:rgba(3,9,14,.18)}
.trust-mon.playing .trust-mi.on .bar i{animation:trustMonBar 7s linear forwards}
.trust-mon.still .trust-mi.on .bar i{width:100%}
@keyframes trustMonBar{to{width:100%}}
.trust-mst{position:relative;min-height:620px;overflow:hidden;isolation:isolate;display:grid;place-items:center;padding:48px;background:#F6E7D6}
.trust-mgl{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;display:block}
.trust-mw{position:relative;z-index:1;width:100%;max-width:600px;height:452px;background:var(--ui);border-radius:14px;box-shadow:0 24px 60px -26px rgba(0,0,0,.55);overflow:hidden;color:#111}
.trust-mwh{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--ui-line)}
.trust-mwh .av{width:30px;height:30px;border-radius:9px;background:#03090E;color:#FFFFFF;display:grid;place-items:center}
.trust-mwh .av svg{width:14px;height:14px}
.trust-mwh b{font-size:14px}
.trust-mwh .tabs{margin-left:auto;display:flex;gap:2px;font-size:12px}
.trust-mwh .tabs i{font-style:normal;color:#6B6A66;padding:5px 10px;border-radius:8px;transition:background .3s,color .3s}
.trust-mwh .tabs i.on{background:#F2F1ED;color:#111;font-weight:600}
.trust-msc{display:none;padding:14px 18px}
.trust-msc.on{display:block}
.trust-mon [data-at]{opacity:0;transform:translateY(6px);transition:opacity .4s ease,transform .4s ease}
.trust-mon [data-at].in{opacity:1;transform:none}
.trust-mon .ins{transition:none!important}
.trust-mh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:2px 0 12px}
.trust-mh b{font-size:14.5px}
.trust-mh span{font-size:12px;color:#6B6A66;display:inline-flex;align-items:center;gap:6px}
.trust-mh .live{width:7px;height:7px;border-radius:50%;background:#3E8E2F;animation:trustLive 1.6s ease infinite}
@keyframes trustLive{50%{opacity:.35}}
/* traces: a waterfall */
.trust-tr{display:grid;grid-template-columns:168px 1fr 62px 46px;gap:10px;align-items:center;padding:6px 0;border-top:1px solid #F0EEE9;font-size:12.5px}
.trust-tr.th{font-size:11px;color:#6B6A66;border-top:0;padding-top:0}
.trust-tr .nm b{display:block;font-weight:500;color:#111}
.trust-tr .nm small{font-size:11px;color:#6B6A66}
.trust-tr .lane{position:relative;height:10px;background:#F6F5F1;border-radius:5px}
.trust-tr .lane i{position:absolute;top:0;bottom:0;border-radius:5px;background:#03090E;min-width:4px;transform-origin:left;transition:transform .5s ease}
.trust-tr .lane i.wait{background:repeating-linear-gradient(45deg,#ECAB72 0 4px,#F8DFC6 4px 8px)}
.trust-tr:not(.in) .lane i{transform:scaleX(0)}
.trust-tr .du{color:#34322D;text-align:right;font-variant-numeric:tabular-nums}
.trust-tr .tk{color:#6B6A66;text-align:right;font-variant-numeric:tabular-nums}
/* decisions: a live feed, newest on top */
.trust-feed{display:flex;flex-direction:column-reverse}
.trust-fd{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #F0EEE9;font-size:13px}
.trust-fd .tm{color:#6B6A66;font-size:12px;font-variant-numeric:tabular-nums}
.trust-fd .ag{color:#111;font-weight:500}
.trust-fd .ag small{display:block;font-weight:400;font-size:11.5px;color:#6B6A66;margin-top:1px}
.trust-fd .ch{font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:9px;white-space:nowrap}
.trust-fd .ch.ok{background:#E8F2E2;color:#2F5D23}
.trust-fd .ch.ap{background:#FFF2CC;color:#7A5B00}
.trust-fd .ch.no{background:#F6E3E0;color:#8A2E22}
/* knowledge gaps */
.trust-gp{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #F0EEE9}
.trust-gp .q b{display:block;font-size:13.5px;font-weight:500;color:#111}
.trust-gp .q small{display:block;font-size:12px;color:#6B6A66;margin-top:2px}
.trust-gp .go{font-size:12px;font-weight:600;padding:5px 11px;border:1px solid var(--ui-line);border-radius:8px;white-space:nowrap}
/* usage: four numbers and one bar series (single series: no legend; thin bars with rounded tops on a baseline) */
.trust-kps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.trust-kps .kp{background:#F6F5F1;border-radius:10px;padding:10px 12px}
.trust-kps .kp small{display:block;font-size:11px;color:#6B6A66}
.trust-kps .kp b{display:block;font-size:19px;margin-top:4px;font-variant-numeric:tabular-nums}
.trust-chart{margin-top:16px}
.trust-chart .ct{font-size:11.5px;color:#6B6A66}
.trust-chart .bars{height:178px;display:flex;align-items:flex-end;gap:16px;margin-top:10px;padding:0 6px;border-bottom:1px solid #D9D6CE}
.trust-chart .b{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}
.trust-chart .b i{display:block;width:22px;background:#03090E;border-radius:4px 4px 0 0;transform-origin:bottom;transition:transform .5s ease}
.trust-chart .b:not(.in) i{transform:scaleY(0)}
.trust-chart .b.in{opacity:1;transform:none}
.trust-chart .b small{position:absolute;bottom:-20px;font-size:11px;color:#6B6A66}
.trust-chart .bars{margin-bottom:22px}

/* --- 07 · FAQ: the kit's qa() ------------------------------------------------------------------------------ */
.trust-faq{margin-top:40px}

/* --- 04 · The spec sheet: title left, «Label: line» rows right, between rules -------------------------------------- */
.trust-sheet{width:1192px;margin:150px auto 0}
.trust-grp{display:grid;grid-template-columns:470px 1fr;border-top:1px solid var(--line);padding:64px 0 72px}
.trust-grp h2{font-size:30px;font-weight:400;letter-spacing:-.02em;line-height:1.15;margin:0}
.trust-grp ul{list-style:none;margin:28px 0 0;padding:0;max-width:590px}
.trust-grp li{border-top:1px solid var(--line);padding:22px 20px 24px;font-size:16.5px;line-height:1.55;color:var(--fg-2)}
.trust-grp li b{color:var(--fg);font-weight:500}
.trust-grp li.doc{display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.trust-grp li.doc a{color:var(--fg);font-size:15px;white-space:nowrap;text-decoration:none;border-bottom:1px solid var(--line)}
.trust-grp li.doc a:hover{border-color:var(--fg)}
.trust-sheet+.s7b{margin-top:110px}
.s7b+.trust-faq,.s7b+section.s8{margin-top:0}

/* --- phone ---------------------------------------------------------------------------------------------------------- */
@media (max-width:760px){
  .trust-hero{width:auto;margin:0 var(--gut);padding:40px 0 16px;grid-template-columns:1fr;gap:28px}
  .trust-hero h1{font-size:42px}
  .trust-htx p{font-size:16.5px;margin-top:20px}
  .trust-htx .btn{margin-top:22px}
  .trust-hcard{height:300px}
  .trust-chip{--t:64px;--gp:11px;border-radius:22px}
  .trust-chip i,.trust-spot{border-radius:14px}
  .trust-chip i svg{width:24px;height:24px}
  .trust-dc:hover{transform:none;box-shadow:none}
  .trust-dep{width:auto;margin:0 var(--gut);padding-top:96px}
  .trust-dh h2{font-size:30px}
  .trust-dcs{grid-template-columns:1fr;gap:12px;margin-top:32px}
  .trust-dc{min-height:0}
  .trust-dc p{margin-top:26px;font-size:15.5px}
  .trust-tag{margin-top:16px}
  .trust-hz,.trust-rights{width:auto;margin:96px var(--gut) 0}
  .trust-hzp{padding:28px 16px}
  .trust-hzh h2,.trust-rh h2{font-size:30px}
  .trust-hzh p,.trust-rh p{font-size:16.5px}
  .trust-hzs{flex-direction:column;align-items:stretch;width:100%}
  .trust-hzn{min-width:0}
  .trust-hzg{grid-template-columns:1fr}
  .trust-hzb{min-height:0;padding:14px}
  .trust-hzb b{font-size:15px;margin-top:8px}
  .trust-hzb p{font-size:12.5px}
  .trust-rs{height:auto;margin-top:28px;padding:44px 12px 24px}
  .trust-rcap{position:relative;left:auto;bottom:auto;transform:none;width:auto;height:auto;min-height:44px;margin-top:14px;z-index:3}
  .trust-rcap span{padding:8px 12px;font-size:13px;justify-content:flex-start}
  .trust-rcap span:not(.on){display:none}
  .trust-rcap span.on{position:relative}
  .trust-r .nr{display:none}
  .trust-dec{width:100%}
  .trust-bw{position:relative;inset:auto;flex-direction:column}
  .trust-win{width:100%}
  .trust-wh .tabs{display:none}
  .trust-r{grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:6px;padding:10px 8px}
  /* T4 (doc 33, 17.11): at 360 the refund's picker ran past the card; the right column now aligns right in every row */
  .trust-rt{padding:4px 6px 10px}
  .trust-r .rv,.trust-r .who{justify-self:end;text-align:right}
  .trust-r .who.none{padding:0 6px 0 0}
  .trust-r .ef{gap:5px;padding:3px 8px 3px 6px}
  .trust-pick{padding:3px 5px 3px 8px}
  .trust-dd{left:auto;right:0}
  .trust-r.th{display:none}
  .trust-req{width:100%}
  .trust-mon{margin:112px 0 0;padding:64px 20px}
  .trust-monh h2{font-size:30px}
  .trust-monh p{font-size:16.5px}
  .trust-mg{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "list" "act" "stage";grid-template-rows:auto}
  .trust-mst{min-height:0;padding:44px 12px 16px;margin-top:36px}
  /* T2 (doc 33, 17.11): on the phone trust.js puts the scene right under the open capability, so the tap and its scene
     share a screen (it stood under «Talk to an engineer», 950 px from the list) */
  .trust-mis>.trust-mst{margin:18px 0 22px;padding:24px 10px 10px}
  .trust-mw{height:auto;min-height:380px}
  .trust-mwh .tabs{display:none}
  .trust-tr{grid-template-columns:110px 1fr 54px}
  .trust-tr .tk,.trust-tr.th span:nth-child(4){display:none}
  .trust-kps{grid-template-columns:1fr 1fr}
  .trust-chart .bars{gap:8px}
  .trust-sheet{width:auto;margin:96px var(--gut) 0}
  .trust-grp{grid-template-columns:1fr;padding:40px 0 44px}
  .trust-grp h2{font-size:25px}
  .trust-grp ul{margin-top:18px}
  .trust-grp li{padding:16px 0 18px;font-size:15.5px}
  .trust-shh{margin-bottom:32px}
  .trust-shh h2{font-size:30px}
}

/* ===== Colour look (15.11, D22; doc 18 §11–§12) ======================================================================
   What Ihor approved on Platform (doc 14 §21–§28), copied, not imported, and his picks for this page (round 2, 15.11):
   - the stages whose labels, lines and soft boxes sit on the fill (Harness, Agent rights) get Glow: a light grey stage with
     a large blurred glow in the stage's colour (--c1, with a pale partner --c3) that drifts slowly. Harness teal, Agent
     rights orange. It moves only on screen (trust.js adds .trust-off), and stands still with ?shot and reduced motion;
   - Monitoring is a band between the stages (above), its button fills with ink from the left on hover;
   - even gaps: 200 px on desktop, 112 px on the phone, content edge to content edge (tools/gaps.mjs). */
:is(.trust-hzp,.trust-fx){isolation:isolate}
.trust-fl{position:absolute;inset:-20%;z-index:0;pointer-events:none;background:
  radial-gradient(32% 38% at 34% 42%,var(--c1) 0%,transparent 72%),
  radial-gradient(26% 32% at 70% 66%,var(--c3) 0%,transparent 72%);filter:blur(24px);animation:trustGlow 18s ease-in-out infinite alternate}
@keyframes trustGlow{0%{transform:translate(-4%,-3%) scale(1)}50%{transform:translate(5%,3%) scale(1.08)}100%{transform:translate(-2%,5%) scale(1.02)}}
.trust-off>.trust-fl{animation-play-state:paused}
.trust-hzp.trust-off *,.trust-hzp.trust-off *::before{animation-play-state:paused}   /* the Harness loop rests off screen too */
.trust-still .trust-fl{animation:none!important}
@media (prefers-reduced-motion:reduce){ .trust-fl{animation:none} }


/* the gaps (measured with tools/gaps.mjs): 200 px between every two sections on desktop */
.trust-dep{padding-top:156px}
.trust-hz,.trust-rights,.trust-sheet{margin-top:196px}
.trust-sheet+.s7b{margin-top:196px}

@media (max-width:760px){
  .trust-dep{padding-top:92px}
  .trust-hz,.trust-rights,.trust-sheet{margin-top:108px}
  .trust-sheet+.s7b{margin-top:108px}
}

/* ===== Round 3 (Ihor 15.11): «On top of your security. From day one.», a bright band like Platform's Integrations ======
   The text on the left at the bottom (label, heading, paragraph, three checks, an outlined button that fills on hover);
   a bright photo on the right with an animated panel: four white tiles an ink ring walks across, with a caption (Ihor
   round 4: «Keep Tiles»; the steps card B is gone). Driven by trust.js (2.6 s a step, off screen it rests, ?shot&day=1..4
   freezes one). It stands after Controls (Ihor round 4), on the bridge photo (Ihor's pick from three, 15.11). */
.trust-day{margin:200px 0 0;padding:96px 48px;background:var(--orange)}
.trust-dyg{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);gap:72px;align-items:end}
.trust-dyt .lb{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);display:flex;align-items:center;gap:8px}
.trust-dyt .lb i{width:6px;height:6px;background:var(--fg)}
.trust-dyt h2{font-size:46px;font-weight:400;letter-spacing:-.025em;line-height:1.08;margin:22px 0 0;max-width:11em}
.trust-dyt p{margin:20px 0 0;font-size:16px;line-height:1.6;color:var(--ink-2);max-width:31em}
.trust-dyc{display:flex;flex-direction:column;gap:8px;margin-top:22px;font-size:14.5px;color:var(--fg)}
.trust-dyc span{display:flex;gap:10px}   /* T5 (doc 33): a wrapped line hangs under its text, not under the ✓ */
.trust-dyc span::before{content:"✓";flex:none}
.trust-dya{margin-top:30px}
.trust-dyp{position:relative;aspect-ratio:1.42;overflow:hidden;background:#9DB9CC}
.trust-dyp .dy-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.trust-dyk{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%)}
/* A · tiles (Platform's Tiles, doc 14 §26) */
.dy-a{display:flex;flex-direction:column;align-items:center;gap:16px}
.dy-row{display:flex;gap:14px;padding:14px;border-radius:26px;background:rgba(255,255,255,.3);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 20px 50px -24px rgba(0,0,0,.6)}
.dy-t{width:76px;height:76px;border-radius:18px;background:#fff;border:0;display:grid;place-items:center;color:#6A747A;cursor:pointer;
  box-shadow:0 10px 22px -12px rgba(0,0,0,.45);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,color .35s ease}
.dy-t svg{width:32px;height:32px}
.dy-t.on{transform:translateY(-6px);color:#03090E;box-shadow:0 0 0 2px #03090E,0 18px 30px -14px rgba(0,0,0,.6)}
.dy-caps{position:relative;height:48px;width:560px}
.dy-c{position:absolute;left:50%;top:0;display:flex;align-items:center;gap:10px;white-space:nowrap;padding:12px 18px;border-radius:999px;
  background:rgba(255,255,255,.94);color:#03090E;opacity:0;transform:translate(-50%,6px);transition:opacity .4s ease,transform .4s ease;
  box-shadow:0 12px 30px -18px rgba(0,0,0,.5)}
.dy-c.on{opacity:1;transform:translate(-50%,0)}
.dy-c b{font-size:12.5px;font-weight:600}
.dy-c small{font-size:14px}
@media (prefers-reduced-motion:reduce){ .dy-t,.dy-c{transition:none} }
/* buttons: the kit's one hover (buttons.css, doc 32, Ihor 17.11); this page's own copy was removed */
/* the gaps around it (after Controls, before Build): 200 px on desktop, 112 px on the phone */
.trust-day+.s7b{margin-top:196px}
@media (max-width:760px){
  .trust-day{margin:112px 0 0;padding:64px 20px}
  .trust-dyg{grid-template-columns:minmax(0,1fr);gap:36px}
  .trust-dyt h2{font-size:30px}
  .trust-dyp{aspect-ratio:auto;height:460px}
  .dy-row{gap:8px;padding:9px;border-radius:18px}
  .dy-t{width:54px;height:54px;border-radius:13px}
  .dy-t svg{width:24px;height:24px}
  .dy-caps{width:calc(100vw - 80px);height:64px}
  .dy-c{white-space:normal;flex-direction:column;gap:2px;text-align:center;width:max-content;max-width:100%;border-radius:16px;padding:10px 16px}
  .trust-day+.s7b{margin-top:108px}
}
