/* The site's colour meaning (owner, 25 Oct 2026), loaded after rd.css on every page. The grounds stay the site's own.
   One meaning per colour: green = people and outcomes (allowed, done, delivered); violet = agents and
   EnterpriseWorld; cobalt = authority and Delegus Check (links, actions); navy = the dark bands, with violet and green
   as faint light inside them. Solid colours and soft tints only. Code blocks and tables stay neutral. */
:root{
  --le-green:#137A52;--le-green-tint:#E3F5EC;--le-violet:#5233D6;--le-violet-tint:#EDE8FF;--le-cobalt:#2447F0;--le-cobalt-tint:#E9EDFF;
  --le-on-navy-green:#7FD6AE;--le-on-navy-violet:#AC9EFF;--le-on-navy-cobalt:#8FA6FF;
  /* dark bands: navy first, violet and green as faint light; no grid */
  --rd-ground:linear-gradient(160deg,#0C1C2E 0%,#10243A 55%,#13294A 100%);
  --rd-glow:radial-gradient(760px 520px at 88% -10%,rgba(109,74,255,.26),rgba(109,74,255,0) 62%),radial-gradient(620px 480px at -8% 110%,rgba(31,157,107,.22),rgba(31,157,107,0) 60%);
}
@media (prefers-color-scheme:dark){:root{--le-green:#7FD6AE;--le-green-tint:#10261E;--le-violet:#AC9EFF;--le-violet-tint:#1C1838;--le-cobalt:#8FA6FF;--le-cobalt-tint:#141F3D}}
.rd-band::after{display:none}
.rd-col.me::before{background:radial-gradient(400px 260px at 90% 0%,rgba(109,74,255,.22),transparent 65%)}
.rd-panel::before{background:radial-gradient(600px 380px at 92% 0%,rgba(109,74,255,.2),transparent 62%),radial-gradient(420px 300px at 0% 110%,rgba(31,157,107,.16),transparent 60%)}

/* outcomes and allowed marks are green, the people's colour */
body.rd{--green:var(--le-green)}
body.rw{--r-ok:var(--le-green)}

/* eyebrows: a coloured dot, cobalt for Delegus Check, violet on EnterpriseWorld pages */
.rd-kick::before,.kicker::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--le-cobalt);margin-right:10px;vertical-align:middle}
.rd-kick::before{width:9px;height:9px;border-radius:50%;background:var(--le-cobalt)}
.rd-band .rd-kick::before{background:var(--le-on-navy-cobalt)}
body.rw .rd-kick::before,body.rw .ch-n::before{background:var(--le-violet)}
body.rw .hx-eyebrow{color:var(--le-on-navy-violet)}
body.rw .ch-n{color:var(--le-violet)}

/* product cards and the two doors: EnterpriseWorld in violet, Delegus Check in cobalt */
.rd-cols .rd-col:nth-child(3n+1):not(.me){background:linear-gradient(170deg,var(--r-card,#fff) 55%,var(--le-violet-tint))}
.rd-cols .rd-col:nth-child(3n+2):not(.me){background:linear-gradient(170deg,var(--r-card,#fff) 55%,var(--le-green-tint))}
.rd-cols .rd-col:nth-child(3n):not(.me){background:linear-gradient(170deg,var(--r-card,#fff) 55%,var(--le-cobalt-tint))}

/* buttons: rounder, solid cobalt */
body.rd .btn{border-radius:999px;box-shadow:none}
body.rd .btn-primary{background:var(--le-cobalt);border-color:var(--le-cobalt);color:#fff}
body.rd .btn-primary:hover{background:#1D3BD1;border-color:#1D3BD1}
@media (prefers-color-scheme:dark){body.rd .btn-primary{color:#0B1522}body.rd .btn-primary:hover{background:#A9BCFF;border-color:#A9BCFF}}
body.rd header nav .cta{border-radius:999px}
.rd-col{border-radius:22px}.rd-panel{border-radius:24px}

/* the blog: the kind chip takes its meaning colour */
.rx-kind,.post-kind{color:var(--le-cobalt)}

/* eyebrows and small labels: plain small headings, not spaced-out uppercase mono (owner, 24 Oct) */
.rd-kick,.rw-eyebrow,.hx-eyebrow,.cg-k,.ch-n,.pcard span,.kicker,.rx-kicker,.post-kicker,.ba-l,.pw-h,.hb-note{font-family:var(--sans,system-ui),system-ui,sans-serif;font-weight:600;letter-spacing:0;text-transform:none;font-size:14px}
.rd-kick{font-size:14px;line-height:1.4}
.rw-eyebrow,.hx-eyebrow{font-size:14px;line-height:1.4}
.ch-n{font-size:14px}

/* ---- revision 2 (25 Oct): the colour is visible, and it means something ---- */
/* each product page has an accent: cobalt on Delegus Check pages, violet on EnterpriseWorld pages; docs and the blog stay neutral */
body.rd{--acc:var(--le-cobalt);--acc-tint:var(--le-cobalt-tint);--acc-on-navy:var(--le-on-navy-cobalt)}
body.rw{--acc:var(--le-violet);--acc-tint:var(--le-violet-tint);--acc-on-navy:var(--le-on-navy-violet)}
/* highlighted phrases in headlines and standfirsts: solid colour with a soft tint underline, the home tagline's treatment */
.hl{padding:0 2px;background-repeat:no-repeat;background-position:0 92%;background-size:100% .28em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hl-c{color:var(--le-cobalt);background-image:linear-gradient(rgba(36,71,240,.16),rgba(36,71,240,.16))}
.hl-v{color:var(--le-violet);background-image:linear-gradient(rgba(109,74,255,.16),rgba(109,74,255,.16))}
.hl-g{color:var(--le-green);background-image:linear-gradient(rgba(31,157,107,.16),rgba(31,157,107,.16))}
.rd-band .hl-c,.hx .hl-c{color:var(--le-on-navy-cobalt);background-image:linear-gradient(rgba(143,166,255,.18),rgba(143,166,255,.18))}
.rd-band .hl-v,.hx .hl-v{color:var(--le-on-navy-violet);background-image:linear-gradient(rgba(172,158,255,.18),rgba(172,158,255,.18))}
.rd-band .hl-g,.hx .hl-g{color:var(--le-on-navy-green);background-image:linear-gradient(rgba(127,214,174,.18),rgba(127,214,174,.18))}
/* eyebrows and small labels take the page's accent colour, as plain small headings */
.rd-kick,.rw-eyebrow,.hx-eyebrow,.cg-k,.ch-n,.pcard span,.kicker,.ba-l{color:var(--acc)}
.rd-band .rd-kick,.rd-band .kicker,.hx .hx-eyebrow{color:var(--acc-on-navy)}
.rd-kick::before,.kicker::before,.ch-n::before{background:var(--acc)}
.rd-band .rd-kick::before,.rd-band .kicker::before{background:var(--acc-on-navy)}
/* links and chapter numbers follow the accent on product pages (not in docs or posts) */
body.rw main a:not(.btn):not(.rw-btn):not(.hb):not(.pcard):not(.note-row){color:var(--le-violet)}
body.rw .rw-btn,body.rw .hb-primary{background:var(--le-violet);border-color:var(--le-violet)}
body.rw .rw-btn:hover,body.rw .hb-primary:hover{background:#4529C2;border-color:#4529C2}
@media (prefers-color-scheme:dark){body.rw .rw-btn,body.rw .hb-primary{color:#0B1522}body.rw .rw-btn:hover,body.rw .hb-primary:hover{background:#C4B9FF;border-color:#C4B9FF}}
/* light sections: real tints on cards and callouts, with a matching heading colour */
.rd-col:not(.me),.sit,.door,.cg-b,.docs .card,.cards .card{border-color:transparent}
.rd-cols .rd-col:nth-child(3n+1):not(.me){background:var(--le-violet-tint)}.rd-cols .rd-col:nth-child(3n+1):not(.me) h3{color:var(--le-violet)}
.rd-cols .rd-col:nth-child(3n+2):not(.me){background:var(--le-green-tint)}.rd-cols .rd-col:nth-child(3n+2):not(.me) h3{color:var(--le-green)}
.rd-cols .rd-col:nth-child(3n):not(.me){background:var(--le-cobalt-tint)}.rd-cols .rd-col:nth-child(3n):not(.me) h3{color:var(--le-cobalt)}
body.rd .sits .sit:nth-child(3n+1){background:var(--le-cobalt-tint)}.sits .sit:nth-child(3n+2){background:var(--le-green-tint)}.sits .sit:nth-child(3n){background:var(--le-violet-tint)}
body.rd .sit h3,body.rd .sit .tag{color:var(--le-cobalt)}.sits .sit:nth-child(3n+2) h3,body.rd .sits .sit:nth-child(3n+2) .tag{color:var(--le-green)}.sits .sit:nth-child(3n) h3,body.rd .sits .sit:nth-child(3n) .tag{color:var(--le-violet)}
.cards .card:nth-child(4n+1){background:var(--le-cobalt-tint)}.cards .card:nth-child(4n+2){background:var(--le-green-tint)}.cards .card:nth-child(4n+3){background:var(--le-violet-tint)}.cards .card:nth-child(4n){background:var(--le-cobalt-tint)}
body.rd .cards .card h2{color:var(--le-cobalt)}.cards .card:nth-child(4n+2) h2{color:var(--le-green)}.cards .card:nth-child(4n+3) h2{color:var(--le-violet)}
body.rd .doors .door:first-child{background:var(--le-cobalt-tint)}.doors .door:first-child h3{color:var(--le-cobalt)}.doors .door:last-child{background:var(--le-violet-tint)}.doors .door:last-child h3{color:var(--le-violet)}
body.rd .cg-list .cg-b{background:var(--le-green-tint)}.cg-b h3{color:var(--le-green)}.cg-b .cg-ic{background:rgba(31,157,107,.14);color:var(--le-green)}
/* marks: allowed and done in green, refused in carmine, never grey */
.mk.ok,.tp-chip.ok,.pw-checks .pass,.le-checks .pass,.rw-check li,.ok{color:var(--le-green)}
.mk.no,.tp-chip.no,.pw-checks .fail,.le-checks .fail{color:#D7263D}
@media (prefers-color-scheme:dark){.mk.no,.tp-chip.no,.pw-checks .fail,.le-checks .fail{color:#FF8A80}}
/* the navy heroes carry the violet and green light */
.hx,.rd-page-hero{background:var(--rd-glow),var(--rd-ground)}
/* the comparison table on /why: yes in green, no in carmine, partly in the page accent */
body.rd .cmp td.y{color:var(--le-green)}.cmp td.n{color:#D7263D}.cmp td.p{color:var(--acc)}
@media (prefers-color-scheme:dark){.cmp td.n{color:#FF8A80}}
/* page-local decorative labels (why, blog, signature, demo): plain small headings in the accent; table heads, docs navigation and code labels keep their small caps */
body.rd .w .k,body.rd .breath .k,body.rd .ab-kick,body.rd .rx-fk,body.rd .rx-crumb,body.rd .rx-notes h2,body.rd .rx-abstract h2,body.rd .bx-tl .st,body.rd .e2e-c h3,body.rd .stamp,body.rd .sigpage .kicker,body.rd .sigpage .row .k,body.rd .answer li span,body.rd .grant span,body.rd .nf-toc p{font-family:var(--sans,system-ui),system-ui,sans-serif;font-weight:600;letter-spacing:0;text-transform:none;font-size:14px}
body.rd .w .k,body.rd .breath .k,body.rd .ab-kick,body.rd .rx-fk{color:var(--acc)}.rd-band .k,body.rd .breath .k,body.rd .rd-band .ab-kick{color:var(--acc-on-navy)}
body.rd .rx-crumb{color:var(--le-cobalt)}.rd-band .rx-crumb,body.rd .post-head .rx-crumb{color:var(--le-on-navy-cobalt)}

/* ---- revision 3 (25 Oct): the scheme present on every page, above the fold ---- */
/* numbered badges and side cards take the page accent, never navy */
body.rd .whys .n{background:var(--acc);color:#fff}
@media (prefers-color-scheme:dark){.whys .n{color:#0B1522}}
body.rd .whys li{border-color:transparent;background:var(--acc-tint)}
body.rd .whys li:nth-child(even){background:var(--le-green-tint)}.whys li:nth-child(even) .n{background:var(--le-green)}
body.rd .root{background:var(--le-violet-tint)}.root .k{color:var(--le-violet)}
/* the three checks in the hero band: identity neutral, payment cobalt, Delegus Check green (it checks it was allowed) */
body.rd .band>div:nth-child(2){border-color:var(--le-on-navy-cobalt)}.band>div:nth-child(2) .ic{color:var(--le-on-navy-cobalt)}
body.rd .band>div:nth-child(3){border-color:var(--le-on-navy-green);background:rgba(127,214,174,.1)}.band>div:nth-child(3) .ic,body.rd .band>div:nth-child(3) b{color:var(--le-on-navy-green)}
/* objections and adoption cards: Check in cobalt, the company side in violet */
body.rd .obj .ob:first-child,body.rd .adopt .acard:first-child{background:var(--le-cobalt-tint);border-color:transparent}.obj .ob:first-child h3,body.rd .obj .ob:first-child .who,body.rd .adopt .acard:first-child h3,body.rd .adopt .acard:first-child .who{color:var(--le-cobalt)}
body.rd .obj .ob:last-child,body.rd .adopt .acard:last-child{background:var(--le-violet-tint);border-color:transparent}.obj .ob:last-child h3,body.rd .obj .ob:last-child .who,body.rd .adopt .acard:last-child h3,body.rd .adopt .acard:last-child .who{color:var(--le-violet)}
/* the home's "You stay in charge" cards: green, violet, cobalt, green */
body.rd .cg-list .cg-b:nth-child(4n+1){background:var(--le-green-tint)}.cg-list .cg-b:nth-child(4n+1) h3,body.rd .cg-list .cg-b:nth-child(4n+1) .cg-ic{color:var(--le-green)}
body.rd .cg-list .cg-b:nth-child(4n+2){background:var(--le-violet-tint)}.cg-list .cg-b:nth-child(4n+2) h3,body.rd .cg-list .cg-b:nth-child(4n+2) .cg-ic{color:var(--le-violet);background:rgba(109,74,255,.12)}
body.rd .cg-list .cg-b:nth-child(4n+3){background:var(--le-cobalt-tint)}.cg-list .cg-b:nth-child(4n+3) h3,body.rd .cg-list .cg-b:nth-child(4n+3) .cg-ic{color:var(--le-cobalt);background:rgba(36,71,240,.12)}
body.rd .cg-list .cg-b:nth-child(4n){background:var(--le-green-tint)}.cg-list .cg-b:nth-child(4n) h3,body.rd .cg-list .cg-b:nth-child(4n) .cg-ic{color:var(--le-green)}
body.rd .cg-list .cg-b{border-color:transparent}
/* allowed and outcome language in green wherever a mark or line says it */
.pw-out.solved,.pw .mk.ok,.tp-chip.ok,.rsc-ok,.ok{color:var(--le-green)}
/* the two product cards in the home hero and the "two doors": EnterpriseWorld violet, Check cobalt */
body.rd .pcard:first-child{background:var(--le-violet-tint)}.pcard:first-child span,body.rd .pcard:first-child i{color:var(--le-violet)}
body.rd .pcard:last-child{background:var(--le-cobalt-tint)}.pcard:last-child span,body.rd .pcard:last-child i{color:var(--le-cobalt)}
/* links in the page accent on product pages */
body.rd:not(.rw) main a:not(.btn):not(.hb):not(.rw-btn):not(.pcard):not(.note-row):not(.card):not(.le-p):not(.est-cta){color:var(--le-cobalt)}

body.rd .w .root,body.rd #five-whys .root{background:var(--le-violet-tint);color:var(--ink)}body.rd #five-whys .root .k{color:var(--le-violet)}body.rd #five-whys .root p{color:var(--ink)}

/* The site's chrome on every page (owner, 28 Oct): three links and the Request early access pill in the top bar, the rest in
   the footer. The markup is written by site/scripts/site-chrome.mjs into each page; this section is the only place it is styled.
   The pill never squeezes: below 900px the links go to the drawer and the pill stays beside the menu button. */
header:has(.nav-wl) .bar{justify-content:flex-start}
header:has(.nav-wl) .bar nav{margin-left:auto;gap:32px;white-space:nowrap}
header:has(.nav-wl) .bar nav a{white-space:nowrap}
.nav-wl{display:inline-flex;align-items:center;flex:none;height:38px;margin-left:32px;padding:0 18px;border-radius:999px;background:#5233D6;color:#fff!important;font-weight:600;font-size:15px;line-height:1;white-space:nowrap;text-decoration:none!important}
.nav-wl:hover{background:#4428C0}
.nav-wl:focus-visible{outline:2px solid #8FA6FF;outline-offset:3px}
@media (max-width:900px){
  header:has(.nav-wl) .bar nav{display:none}
  header:has(.nav-wl) .bar .menu-btn{display:inline-flex;margin-left:12px}
  .nav-wl{margin-left:auto;height:36px;padding:0 16px}
}
@media (max-width:360px){.nav-wl{padding:0 12px;font-size:14px}}

/* the footer: the navy brand ground, full width, columns in plain words */
.site-foot{max-width:1120px;margin:0 auto;padding:0 24px;box-sizing:border-box}
footer.sf{display:block;border:0;padding:56px 0 36px;color:#B4C0CC;font-size:15px;background:#0B1522;box-shadow:0 0 0 100vmax #0B1522;clip-path:inset(0 -100vmax)}
footer.sf a{color:#E7EDF3;text-decoration:none}
footer.sf a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
footer.sf a:focus-visible{outline:2px solid #8FA6FF;outline-offset:2px;border-radius:2px}
.sf-top{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));gap:40px}
.sf-brand a{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:21px;letter-spacing:-.01em;color:#fff}
.sf-brand svg{width:26px;height:26px}
.sf-brand p{margin:14px 0 0;max-width:30ch;line-height:1.55;color:#B4C0CC}
.sf-col .sf-h{margin:0 0 14px;font-size:14px;font-weight:600;letter-spacing:0;color:#fff}
.sf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sf-col li{margin:0;line-height:1.4}
.sf-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:48px;padding-top:22px;border-top:1px solid rgba(180,192,204,.22);font-size:14px;color:#94A3B4}
@media (max-width:900px){.sf-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.sf-brand{grid-column:1/-1}}
@media (max-width:420px){.sf-top{grid-template-columns:1fr}}
/* the footer's links are a list: left-aligned, a 43px row each on phones (rd.css's 44px rule was for the old one-line footer) */
html body footer.sf a{min-width:0;text-align:left;padding-block:0}
html body footer.sf .sf-col ul{gap:10px}
@media (max-width:760px){html body footer.sf .sf-col ul{gap:0}html body footer.sf .sf-col a{display:inline-block;padding-block:11px}html body footer.sf .sf-bottom a{display:inline-block;padding-block:11px}}
html body footer.sf .sf-bottom{align-items:center}
/* phones: the brand, the pill and the menu button always fit the bar (pricing's wider bar padding once pushed the button 28px off) */
@media (max-width:420px){header:has(.nav-wl) .bar{padding-left:16px;padding-right:16px;gap:8px}header:has(.nav-wl) .nav-wl{padding:0 12px;font-size:14px}header:has(.nav-wl) .bar .menu-btn{margin-left:8px}}
@media (max-width:360px){header:has(.nav-wl) .brand{font-size:0;gap:0}}

/* The turn-and-stamp motion (owner, 28 Oct; site/assets/turn-stamp.js): the card turns over once in view, then the stamp
   presses in. Allowed and done in green, refused in Check's coral; the words come from the real outcome. */
.ts-card{position:relative;transform-origin:50% 50%}:has(>.ts-card.ts-armed){overflow-x:clip}
.ts-card.ts-armed:not(.ts-turned){transform:perspective(900px) rotateX(-75deg);opacity:0}
.ts-card.ts-armed{transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .35s ease}
.ts-stamp{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:6px 12px 6px 6px;border:2.5px solid currentColor;border-radius:999px;font:600 12.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;transform:rotate(-2.5deg)}
.ts-stamp svg{width:22px;height:22px;flex:none}
.ts-stamp.ts-ok{color:#137A52}.ts-stamp.ts-deny{color:#CC3A1E}
.ts-card.ts-armed:not(.ts-stamped) .ts-stamp{opacity:0;transform:scale(1.6) rotate(-6deg)}
.ts-card.ts-armed.ts-stamped .ts-stamp{animation:ts-press .5s cubic-bezier(.2,.8,.2,1) both}
.ts-card.ts-rest .ts-stamp{animation:none;opacity:1;transform:rotate(-2.5deg)}
@keyframes ts-press{0%{opacity:0;transform:scale(1.6) rotate(-6deg)}60%{opacity:1;transform:scale(.95) rotate(-2.5deg)}100%{opacity:1;transform:scale(1) rotate(-2.5deg)}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .ts-stamp.ts-ok{color:#7FD6AE}:root:not([data-theme="light"]) .ts-stamp.ts-deny{color:#FF8F7A}}
:root[data-theme="dark"] .ts-stamp.ts-ok{color:#7FD6AE}:root[data-theme="dark"] .ts-stamp.ts-deny{color:#FF8F7A}
@media (prefers-reduced-motion:reduce){.ts-card.ts-armed{transition:none}.ts-card .ts-stamp{animation:none!important}}

/* iPhone Duo and other mid widths (29 Oct): the live receipt check's buttons take the full row until there is room. */
@media (max-width:720px){.rsc-row .rsc-btn{flex:1 1 100%;justify-content:center}}
/* The receipt check's key label stays readable where the lock diagram is drawn small (iPhone Duo, 29 Oct). */
.rsc-lock .rsc-keylabel{font-size:12.5px}
