/* The swarms sections of the home page (they were the page at /agent-swarms until it became the home page).
   Loaded after the site's styles.css. The header, menu and footer are the site's own and the site's
   stylesheet styles them. Below the page-level block, every selector starts with :where(#main), so a rule
   reaches only inside <main id="main"> and keeps the weight it was designed with (:where adds none).
   Orange is the booking button and a job in progress, and nowhere else. */

/* ---------- page level ---------- */
/* This page is light only. The site's tokens are pinned to their light values in every theme state
   (system dark, or a stored "dark" choice), so the site's header and footer match the page, and the
   theme switch is hidden here. The three selectors mirror the three places styles.css sets its tokens. */
:root,:root[data-theme="dark"],:root:not([data-theme="light"]){
  color-scheme:light;
  /* the site's tokens (styles.css :root, light). --bg is the home page's ground, as on the home page. */
  --bg:#F5F2EC;--bg-warm:hsl(26 45% 94%);--text:#1E1710;--text-secondary:#4A423B;--text-muted:#6E655D;
  --accent:#C93E11;--accent-hover:#A82500;--accent-light:hsl(17 62% 93%);--flare:#F07800;
  --border:#E4DDD3;--border-light:#EFEAE2;--white:#ffffff;
  /* the page's own tokens */
  --paper:#FBF9F5;--paper-hi:#FFFDF9;--band:#EFE9DF;
  --ink:#1E1710;--ink-2:#3F372F;--text-2:#4A423B;--muted:#6E655D;--muted-band:#62594F;
  --rule:#E0D9CE;--rule-band:#D9D0C2;--rule-strong:#CFC6B8;--hover-line:#B9AE9F;
  --act:#C64515;--act-hover:#A8380F;--job:var(--act);
  --serif:"Fraunces",Georgia,serif;--sans:"Instrument Sans",system-ui,sans-serif;
  --max:1100px;--gut:clamp(20px,3.5vw,36px);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --sec:clamp(42px,6vw,88px);
  /* the height of the site's header on a wide screen: the hero film is sized to the window less this.
     (Not --nav-h: the site's main.js writes a variable of that name when the phone menu opens.) */
  --sw-nav-h:86px;
}
.theme-toggle{display:none}
html{scroll-behavior:auto;scrollbar-color:#CFC6B8 var(--bg)}
/* styles.css sets overflow-x:hidden on body, which makes body a scroll container. clip hides the same
   overflow without that. */
body{overflow-x:clip}
/* no paper grain on this page: these sections were drawn on a plain ground */
body::after{display:none}
/* styles.css gives every direct child of body position:relative and z-index:1 (its selector carries an id).
   The page was designed with a plain <main>; the skip link has to leave the flow. */
body > main#main{position:static;z-index:auto}
.skip{position:absolute !important;left:var(--gut);top:-80px;z-index:100 !important;background:var(--ink);color:#fff;font-size:15px;font-weight:600;padding:12px 16px;border-radius:3px}
.skip:hover{color:#fff}
.skip:focus{top:10px;outline:2px solid #fff;outline-offset:-5px}

/* ---------- the site's element rules, set back inside <main> ----------
   styles.css styles bare h1, h2, h3, p and a:hover, and shrinks body text on a phone. The page was designed
   without those rules, so they are returned to the browser's defaults here, before the page's own rules. */
:where(#main){font-family:var(--sans);font-size:1.125rem;line-height:1.6;color:var(--ink)}
:where(#main) :is(h1,h2,h3){font-size:revert;line-height:revert;letter-spacing:revert}
:where(#main) p{margin-bottom:0}
:where(#main) a:hover{color:var(--ink)}
:where(#main) a.btn:hover{color:#fff}

/* ---------- base, inside <main> ---------- */
:where(#main) ::selection{background:#F3D3C2;color:var(--ink)}
:where(#main) img,:where(#main) canvas,:where(#main) video,:where(#main) svg{max-width:100%}
:where(#main) h1,:where(#main) h2,:where(#main) h3{font-family:var(--serif);font-weight:600;color:var(--ink);text-wrap:balance}
:where(#main) a{color:var(--ink);text-decoration:none}
:where(#main) ul,:where(#main) ol{list-style:none}
:where(#main) strong,:where(#main) b{font-weight:600}
:where(#main) a:focus-visible,:where(#main) button:focus-visible,:where(#main) [tabindex]:focus-visible,:where(#main) video:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
:where(#main) .sprite{position:absolute}
:where(#main) .st-wrap{max-width:var(--max);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}

/* the three agent marks, as the film draws them */
:where(#main) .ms{fill:var(--gf,#fff);stroke:var(--gc,#1E1710);stroke-width:3;stroke-linejoin:round}
:where(#main) .md{fill:var(--gc,#1E1710)}

/* ---------- the booking button: the page's one orange block ---------- */
:where(#main) .btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:3px;background:var(--act);color:#fff;font-weight:600;font-size:16.5px;line-height:1.2;transition:background .18s ease,transform .18s var(--ease-out)}
:where(#main) .btn:hover{background:var(--act-hover)}
:where(#main) .btn:active{transform:scale(.98)}
:where(#main) .btn:focus-visible{outline-offset:4px}
:where(#main) .more{display:inline-flex;align-items:center;min-height:44px;font-size:15.5px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--hover-line);text-underline-offset:4px;text-decoration-thickness:1px}
:where(#main) .more:hover{text-decoration-color:var(--ink)}

/* =====================================================================
   0: the hero. The label, the headline with its rotating industry, the introduction and the booking button;
   beside them the film with its caption, or underneath on a narrow screen.
   ===================================================================== */
:where(#main) .hero-sec{padding:clamp(28px,5vw,44px) 0 clamp(40px,5.5vw,64px)}
:where(#main) .hero-in{display:grid;grid-template-columns:minmax(0,1fr);row-gap:clamp(30px,6vw,44px)}
:where(#main) .hero-text{min-width:0}
:where(#main) .eyebrow{font-size:14.5px;line-height:1.3;color:var(--muted);margin-bottom:16px}
:where(#main) .hero-copy h1{font-size:clamp(35px,9.4vw,46px);line-height:1.03;letter-spacing:-.032em}
:where(#main) .hero-copy .sub{margin-top:20px;font-size:clamp(17px,1.4vw,19px);line-height:1.58;color:var(--ink-2);max-width:40ch}
/* The film: a native player that never autoplays. At rest it shows its poster and one round play control in the
   middle; native controls arrive on play, and the control's words stay for screen readers. The line under it is
   a caption, set quietly so the page keeps one headline. */
:where(#main) .hero-film{margin:0;width:100%;max-width:480px}
:where(#main) .film{position:relative;width:100%;margin:0}
:where(#main) .film video{display:block;width:100%;height:auto;aspect-ratio:4/5;background:#FAF9F6;border-radius:4px;box-shadow:0 0 0 1px rgba(30,23,16,.12),0 1px 2px rgba(30,23,16,.10),0 34px 64px -34px rgba(30,23,16,.5)}
:where(#main) .film-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:76px;height:76px;padding:0 0 0 5px;border:0;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer;box-shadow:0 0 0 7px rgba(255,253,249,.82),0 16px 34px -10px rgba(30,23,16,.6);transition:background .18s ease}
:where(#main) .film-play:hover{background:#3A2F25}
:where(#main) .film-play:active{transform:translate(-50%,-50%) scale(.97)}
:where(#main) .film-play:focus-visible{outline:2px solid var(--ink);outline-offset:10px}
:where(#main) .film-play svg{width:28px;height:28px;fill:currentColor}
:where(#main) .film-play span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:where(#main) .film.is-idle video{cursor:pointer}
:where(#main) .film-cap{margin-top:14px;font-size:14.5px;line-height:1.45;color:var(--muted);max-width:32em}
@media(min-width:720px){
  :where(#main) .eyebrow{font-size:15px}
  :where(#main) .hero-copy h1{font-size:clamp(46px,6.4vw,60px);max-width:15ch}
}
@media(min-width:900px){
  /* Text beside the film. The film is 4:5, so its width follows the window's height (and never more than 38% of
     its width): the first screen holds the whole hero. */
  :where(#main) .hero-in{grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(36px,5.4vw,80px);align-items:center}
  :where(#main) .hero-film{width:clamp(250px,min(38vw,calc((100vh - var(--sw-nav-h) - 200px) * .8)),440px);max-width:none}
  :where(#main) .hero-copy h1{font-size:clamp(42px,3.75vw,58px);max-width:none}
}

/* =====================================================================
   2: three pillars, swarms under each. Each row says its outcome (the largest thing in the row) and shows it:
   a small scene on a white sheet that plays once as the row comes into view and rests on its last frame.
   ===================================================================== */
:where(#main) .swarms{background:var(--band);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:var(--sec) 0}
:where(#main) .swarm{display:grid;gap:18px;padding:clamp(22px,3.4vw,44px) 0;border-top:1px solid var(--rule-strong)}
:where(#main) .swarm:first-child{border-top:0;padding-top:0}
:where(#main) .swarm:last-child{padding-bottom:0}
/* the section's heading and the one line under it */
:where(#main) .swarms-head{margin-bottom:clamp(22px,3.4vw,44px)}
:where(#main) .swarms-head h2{font:600 clamp(30px,4.4vw,52px)/1.06 var(--serif);letter-spacing:-.03em;max-width:17em}
:where(#main) .swarms-lead{margin-top:16px;font-size:clamp(17.5px,1.5vw,19.5px);line-height:1.5;color:var(--ink-2);max-width:52ch}
:where(#main) .swarms-head + .swarm{border-top:0;padding-top:0}
:where(#main) .swarm h3{font-size:clamp(20px,1.9vw,23px);line-height:1.15;letter-spacing:-.018em}
:where(#main) .trio{display:flex;gap:5px;margin-bottom:12px}
:where(#main) .trio svg{display:block}
:where(#main) .trio .is-hot{--gc:#C64515}
:where(#main) .swarm-out{margin-top:14px;font:600 clamp(32px,8.4vw,46px)/1.05 var(--serif);letter-spacing:-.03em;max-width:13em;text-wrap:balance}
:where(#main) .swarm-does{margin-top:14px;font-size:17.5px;line-height:1.5;color:var(--ink-2);max-width:36ch}
:where(#main) .swarm-detail{margin-top:8px;font-size:15.5px;line-height:1.5;color:var(--muted-band);max-width:42ch}
:where(#main) .swarm .more{margin-top:6px}
/* the second layer of a row: real client work, quieter than the outcome above it */
:where(#main) .swarm-work{border-top:1px solid var(--rule);padding-top:20px}
:where(#main) .swarm-work h3{font:600 14px/1.3 var(--sans);letter-spacing:.01em;color:var(--muted-band)}
:where(#main) .work{display:grid;row-gap:12px;margin-top:12px}
:where(#main) .work li{font-size:15px;line-height:1.5;color:var(--text-2);max-width:62ch}
:where(#main) .work b{font-weight:600;color:var(--ink)}
@media(min-width:900px){
  :where(#main) .swarm{grid-template-columns:minmax(0,11fr) minmax(0,10fr);column-gap:clamp(36px,5vw,72px);align-items:center}
  :where(#main) .swarm{row-gap:clamp(16px,1.8vw,24px)}
  :where(#main) .swarm-work{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,132px) minmax(0,1fr);column-gap:clamp(24px,3vw,40px);padding-top:22px}
  :where(#main) .swarm-work h3{padding-top:2px}
  :where(#main) .work{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(24px,3vw,40px);margin-top:0}
}

/* the sheet every picture sits on */
:where(#main) .pic{position:relative;margin:0}
:where(#main) .sheet{position:relative;background:var(--paper-hi);border-radius:10px;padding:clamp(18px,2.4vw,26px);min-height:clamp(268px,24vw,312px);display:flex;flex-direction:column;justify-content:center;
  box-shadow:0 0 0 1px rgba(30,23,16,.07),0 1px 2px rgba(30,23,16,.07),0 30px 60px -36px rgba(30,23,16,.42);font-family:var(--sans);overflow:hidden}
:where(#main) .pic-tag{margin-top:12px;font-size:14px;color:var(--muted-band);text-align:right}
/* On a phone each picture is drawn at just over half size: the same sheet, the same scene, about half the height. */
@media(max-width:719px){
  :where(#main) .pic .sheet{zoom:.56}
  :where(#main) .pic-tag{margin-top:8px}
}
:where(#main) .sheet .bar{display:block;height:11px;border-radius:6px;background:#E6DFD3;width:var(--w,60%)}
:where(#main) .sheet .tk{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* a scene runs when its figure gets .is-run. .is-armed holds it on its first frame until then.
   With neither class (no script, reduced motion) every scene shows its last frame. */
:where(#main) .pic.is-armed *,:where(#main) .pic.is-armed *::before,:where(#main) .pic.is-armed *::after{animation-play-state:paused !important}
@keyframes p-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes p-out{from{opacity:1}to{opacity:0}}
@keyframes p-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:none}}

/* Grow revenue: this week's report card, two columns of results */
:where(#main) .rep-h{font:600 26px/1.1 var(--serif);letter-spacing:-.02em;padding-bottom:14px;border-bottom:1px solid var(--rule-strong)}
:where(#main) .rep-w{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;padding:15px 0 16px;border-bottom:1px solid var(--rule-strong)}
:where(#main) .rep-w .rep-g{margin-bottom:9px}
:where(#main) .rep-w .rep-s{grid-column:2;grid-row:1 / span 2}
:where(#main) .rep-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(16px,2.4vw,28px);margin-top:16px}
:where(#main) .rep-g{font:600 16px/1.3 var(--sans);color:var(--ink);margin-bottom:10px}
:where(#main) .rep-t{display:grid;row-gap:10px;padding:14px 0 15px;border-top:1px solid var(--rule)}
:where(#main) .rep-s{display:flex;align-items:center;gap:10px;min-height:32px}
:where(#main) .rep-s .mk{position:relative;width:32px;height:32px;flex:none}
:where(#main) .rep-s .nf{position:absolute;inset:0;border-radius:50%;border:2px dashed #8C8377;opacity:0}
:where(#main) .rep-s .ok{position:absolute;inset:0;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center}
:where(#main) .rep-s .fd{font:600 19px/1 var(--sans);color:var(--ink)}
:where(#main) .rep-t .fix{font-size:15px;line-height:1.2;color:var(--muted)}
:where(#main) .pic-grow.is-armed .fix,:where(#main) .pic-grow.is-run .fix{animation:p-in .35s ease var(--d) both}
:where(#main) .pic-grow.is-armed .nf,:where(#main) .pic-grow.is-run .nf{opacity:1;animation:p-out .2s ease calc(var(--d) + .5s) both}
:where(#main) .pic-grow.is-armed .ok,:where(#main) .pic-grow.is-run .ok{animation:p-pop .45s var(--ease-out) calc(var(--d) + .55s) both}
:where(#main) .pic-grow.is-armed .fd,:where(#main) .pic-grow.is-run .fd{animation:p-in .35s ease calc(var(--d) + .6s) both}

/* Improve efficiency: two drafts approved in turn, then a payment matched without being asked */
:where(#main) .apv{gap:0;justify-content:space-between}
:where(#main) .apv-r{display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;column-gap:16px;flex:1;border-bottom:1px solid var(--rule);padding:10px 0}
:where(#main) .apv-r:nth-last-child(2){border-bottom:0}
:where(#main) .apv .doc b{display:block;font:600 18px/1.2 var(--sans);margin-bottom:10px}
:where(#main) .apv .doc .bar + .bar{margin-top:7px}
:where(#main) .apv .act{position:relative;display:flex;justify-content:flex-end;align-items:center;height:36px}
:where(#main) .apv .ap{position:absolute;right:0;top:-2px;display:flex;align-items:center;justify-content:center;width:100px;height:40px;border-radius:3px;background:var(--ink);color:#fff;font:600 15px/1 var(--sans);opacity:0}
:where(#main) .apv .sent{display:inline-flex;align-items:center;gap:7px;font:600 18px/1 var(--sans);color:var(--ink)}
:where(#main) .apv .mt{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff}
:where(#main) .apv .cursor{position:absolute;right:26px;top:83.3%;width:26px;height:26px;margin-top:2px;opacity:0;fill:var(--ink);stroke:#fff;stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 2px 3px rgba(30,23,16,.3))}
@keyframes ap-press{0%,100%{transform:none}50%{transform:scale(.93)}}
@keyframes ap-go{0%{opacity:1;transform:none}60%{opacity:1;transform:scale(.93)}100%{opacity:0;transform:scale(.93)}}
@keyframes cur{0%{top:118%;opacity:0}11%{opacity:1}17%,24%{top:22%;opacity:1}42%,52%{top:49.5%;opacity:1}68%,100%{top:60%;opacity:0}}
:where(#main) .pic-eff.is-armed .ap,:where(#main) .pic-eff.is-run .ap{opacity:1;animation:ap-go .3s ease var(--d) both}
:where(#main) .pic-eff.is-armed .sent,:where(#main) .pic-eff.is-run .sent{animation:p-pop .45s var(--ease-out) calc(var(--d) + .3s) both}
:where(#main) .pic-eff.is-armed .apv-m .doc b,:where(#main) .pic-eff.is-run .apv-m .doc b{animation:p-in .4s ease var(--d) both}
:where(#main) .pic-eff.is-armed .mt,:where(#main) .pic-eff.is-run .mt{animation:p-pop .45s var(--ease-out) calc(var(--d) + .2s) both}
:where(#main) .pic-eff.is-armed .cursor,:where(#main) .pic-eff.is-run .cursor{animation:cur 3.9s cubic-bezier(.5,0,.2,1) both}

/* Manage risk: one change, checked, checked again, live */
:where(#main) .flow{justify-content:center;gap:clamp(34px,4vw,46px)}
:where(#main) .flow-doc{align-self:center;width:74%;border:1px solid var(--rule);border-radius:8px;padding:18px 20px;display:grid;gap:10px;background:#fff}
:where(#main) .flow-doc .chg{height:16px;border-radius:4px;background:var(--ink)}
:where(#main) .flow-track{position:relative;padding-top:2px}
:where(#main) .flow-track ol{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
:where(#main) .flow-track li{display:grid;justify-items:center;row-gap:11px;text-align:center;font:600 15px/1.2 var(--sans);color:var(--ink)}
:where(#main) .flow .dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff}
:where(#main) .flow .dot .tk{width:15px;height:15px}
/* arrival: the last stop wears a ring */
:where(#main) .flow .is-live .dot{box-shadow:0 0 0 4px var(--paper-hi),0 0 0 6px var(--ink)}
:where(#main) .flow-line{position:absolute;left:12.5%;right:12.5%;top:15px;height:2px;background:var(--rule-strong)}
:where(#main) .flow-fill{position:absolute;inset:0;background:var(--ink);transform-origin:0 50%}
:where(#main) .flow-tok{position:absolute;z-index:2;left:87.5%;top:5px;width:22px;height:22px;margin-left:-11px;border-radius:6px;background:var(--job);box-shadow:0 0 0 3px var(--paper-hi);opacity:0}
@keyframes tok{0%{left:12.5%;opacity:0}6%{left:12.5%;opacity:1}28%,38%{left:37.5%;opacity:1}58%,68%{left:62.5%;opacity:1}88%,94%{left:87.5%;opacity:1}100%{left:87.5%;opacity:0}}
@keyframes fill{0%,6%{transform:scaleX(0)}28%,38%{transform:scaleX(.3333)}58%,68%{transform:scaleX(.6667)}88%,100%{transform:scaleX(1)}}
@keyframes dot-on{0%{background:var(--paper-hi);box-shadow:inset 0 0 0 2px var(--rule-strong);color:transparent}100%{background:var(--ink);box-shadow:inset 0 0 0 2px var(--ink);color:#fff}}
@keyframes live-on{0%{background:var(--paper-hi);box-shadow:inset 0 0 0 2px var(--rule-strong),0 0 0 4px var(--paper-hi),0 0 0 6px transparent}100%{background:var(--ink);box-shadow:inset 0 0 0 2px var(--ink),0 0 0 4px var(--paper-hi),0 0 0 6px var(--ink)}}
@keyframes chg{0%,85%{background:var(--job)}100%{background:var(--ink)}}
:where(#main) .pic-risk.is-armed .flow-tok,:where(#main) .pic-risk.is-run .flow-tok{animation:tok 3.9s cubic-bezier(.5,0,.3,1) both}
:where(#main) .pic-risk.is-armed .flow-fill,:where(#main) .pic-risk.is-run .flow-fill{animation:fill 3.9s cubic-bezier(.5,0,.3,1) both}
:where(#main) .pic-risk.is-armed .dot,:where(#main) .pic-risk.is-run .dot{animation:dot-on .35s ease var(--d) both}
:where(#main) .pic-risk.is-armed .is-live .dot,:where(#main) .pic-risk.is-run .is-live .dot{animation-name:live-on}
:where(#main) .pic-risk.is-armed .chg,:where(#main) .pic-risk.is-run .chg{animation:chg 3.9s ease both}
@media(max-width:480px){:where(#main) .flow-track li{font-size:14px}:where(#main) .flow-doc{width:84%}:where(#main) .rep-s .fd{font-size:17.5px}}

/* =====================================================================
   5: who you're working with. The founder beside how the work runs; under them a quiet row of five facts and the
   strip for government and regulated buyers.
   ===================================================================== */
:where(#main) .led{padding:var(--sec) 0}
:where(#main) .led h2{font-size:clamp(30px,3.7vw,46px);line-height:1.05;letter-spacing:-.03em;max-width:13em}
:where(#main) .led-grid{display:grid;gap:20px;margin-top:clamp(20px,2.4vw,30px)}
:where(#main) .led-bio{display:grid;gap:18px;align-content:start}
:where(#main) .led-who{display:flex;align-items:center;gap:16px;margin:0}
:where(#main) .led-who img{width:80px;height:80px;border-radius:50%;object-fit:cover;display:block;border:1px solid var(--rule-strong)}
:where(#main) .led-who b{font:600 20px/1.2 var(--serif);letter-spacing:-.01em;color:var(--ink)}
:where(#main) .led-body{font-size:clamp(16.5px,1.3vw,18px);line-height:1.55;color:var(--ink-2);max-width:50ch}
:where(#main) .led-sub{font:600 clamp(22px,2.2vw,28px)/1.15 var(--serif);letter-spacing:-.02em;max-width:17em;text-wrap:balance}
:where(#main) .led-sub + .led-body{margin-top:12px}
:where(#main) .ind-lead{margin-top:14px;font-size:15.5px;line-height:1.6;color:var(--ink-2);max-width:64ch}
:where(#main) .ind-lead a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--hover-line);text-underline-offset:3px;padding:13px 0}
:where(#main) .ind-lead a:hover{text-decoration-color:var(--ink)}
/* the trust row: five short lines in the small-label style, each under a hairline */
:where(#main) .trust{list-style:none;margin:clamp(20px,3vw,38px) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
:where(#main) .trust li{padding:11px 0;border-top:1px solid var(--rule-strong);font:600 14px/1.45 var(--sans);letter-spacing:.01em;color:var(--muted-band);text-wrap:pretty}
:where(#main) .trust li:last-child{grid-column:1 / -1;border-bottom:1px solid var(--rule-strong)}
/* the strip for government and regulated buyers sits behind a fold; its label is the fold's summary */
:where(#main) .gov-fold{margin-top:clamp(6px,1vw,12px)}
:where(#main) .gov-fold summary h3{font:inherit;letter-spacing:inherit;color:inherit;margin:0}
:where(#main) .gov-fold .does{border-top:0;padding:8px 0 4px}
@media(min-width:900px){
  :where(#main) .led-grid{grid-template-columns:minmax(0,11fr) minmax(0,10fr);column-gap:clamp(36px,5vw,72px);align-items:start}
  :where(#main) .led-text{padding-top:6px}
}
@media(min-width:1000px){
  :where(#main) .trust{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:26px}
  :where(#main) .trust li,:where(#main) .trust li:last-child{grid-column:auto;padding:12px 0 0;border-bottom:0}
}

/* =====================================================================
   6: close
   ===================================================================== */
:where(#main) .close{background:var(--band);border-top:1px solid var(--rule);padding:var(--sec) 0;text-align:center}
:where(#main) .close h2{font-size:clamp(32px,5vw,62px);line-height:1.04;letter-spacing:-.032em;max-width:15em;margin:0 auto}
:where(#main) .close .btn{margin-top:clamp(22px,2.6vw,32px)}

/* ---------- phone ---------- */
/* The site footer stacks four blocks on a phone. Here the two short link groups sit side by side and the long
   one runs in two columns under them. */
@media(max-width:640px){
  .site-footer .footer-content{grid-template-columns:1fr 1fr;gap:1.25rem 1rem}
  .site-footer .footer-left{grid-column:1 / -1}
  .site-footer .footer-col:last-child{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;column-gap:1rem;row-gap:.5rem}
  .site-footer .footer-col:last-child > strong{grid-column:1 / -1;margin-bottom:.25rem}
}

@media(max-width:719px){
  :where(#main) .hero-copy .sub{margin-top:16px;font-size:16.5px;line-height:1.52}
}
@media(max-width:420px){
  :where(#main) .close .btn{width:100%;justify-self:stretch}
}

@media(prefers-reduced-motion:reduce){
  :where(#main) *,:where(#main) *::before,:where(#main) *::after{animation-duration:.01ms !important;animation-delay:0s !important;transition-duration:.01ms !important;transition-delay:0s !important}
}
/* v11: why a swarm, and pillar names as the row titles */
:where(#main) .have{padding:clamp(72px,9vw,128px) 0 clamp(56px,7vw,96px);border-top:1px solid var(--rule)}
:where(#main) .have-grid{display:grid;gap:clamp(28px,4vw,56px)}
:where(#main) .have h2{font:600 clamp(30px,4.4vw,52px)/1.06 var(--serif);letter-spacing:-.03em;max-width:15em;text-wrap:balance}
:where(#main) .have-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
:where(#main) .have-list li{display:grid;gap:6px;padding:20px 0;border-top:1px solid var(--rule)}
:where(#main) .have-list li:last-child{border-bottom:1px solid var(--rule)}
:where(#main) .have-list b{font:600 clamp(20px,2vw,24px)/1.15 var(--serif);letter-spacing:-.015em}
:where(#main) .have-list span{font-size:17px;line-height:1.5;color:var(--ink-2);max-width:60ch}
@media (min-width:900px){
  :where(#main) .have-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
  :where(#main) .have h2{position:sticky;top:96px}
  :where(#main) .have-list li{grid-template-columns:minmax(0,170px) minmax(0,1fr);column-gap:28px;align-items:baseline;padding:22px 0}
}
:where(#main) .trio{margin-bottom:10px}
:where(#main) .swarm h3.swarm-out{margin-top:0;font:600 clamp(34px,5vw,54px)/1.04 var(--serif);letter-spacing:-.03em;max-width:13em}
:where(#main) .swarm-does{font-size:18px;max-width:44ch}

/* v13: what we do under each pillar, same lines as the capability sheet */
:where(#main) .does{grid-column:1/-1;border-top:1px solid var(--rule);padding-top:20px}
/* behind a fold now: the fold sits under the row, and the row above it keeps the space */
:where(#main) .does-fold{grid-column:1/-1;margin-top:-6px}
:where(#main) .does-fold .does{border-top:0;padding:8px 0 4px}
:where(#main) .does h4{font:600 14px/1 var(--sans);letter-spacing:.01em;color:var(--muted-band);margin-bottom:14px;text-wrap:balance}
:where(#main) .does ul{list-style:none;margin:0;padding:0;display:grid;gap:14px 28px}
:where(#main) .does li{display:grid;gap:4px;align-content:start}
:where(#main) .does b{font:600 16px/1.25 var(--sans, inherit);color:var(--ink)}
:where(#main) .does span{font-size:14.5px;line-height:1.45;color:var(--ink-2)}
@media (min-width:640px){:where(#main) .does ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){:where(#main) .does ul{grid-template-columns:repeat(5,minmax(0,1fr));gap:0 26px}:where(#main) .does li{padding-top:12px;border-top:2px solid var(--ink)}}

/* v14: the "what our swarms have" section as a dark spec board */
:where(#main) .have{background:var(--ink);color:#F5F2EC;border-top:0;padding:var(--sec) 0}
:where(#main) .have h2{position:static;color:#FFFDF9;max-width:17em;font:600 clamp(30px,4.4vw,52px)/1.06 var(--serif);letter-spacing:-.03em;text-wrap:balance}
:where(#main) .have-lead{margin-top:14px;font-size:clamp(17.5px,1.5vw,19.5px);line-height:1.5;color:#D9D0C2;max-width:60ch}
:where(#main) .hv-grid{display:grid;gap:clamp(10px,1.2vw,16px);margin-top:clamp(20px,2.8vw,38px)}
/* Folds are native disclosures: each opens with a click, Enter or Space, and reads in full without script.
   On the dark board the fold takes the board's ink. */
:where(#main) .fold summary{display:inline-flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;list-style:none;font:500 15px/1.3 var(--sans);color:var(--fold-ink,var(--ink));text-decoration:underline;text-decoration-color:var(--fold-line,var(--hover-line));text-underline-offset:4px;text-decoration-thickness:1px}
:where(#main) .fold summary::-webkit-details-marker{display:none}
:where(#main) .fold summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
:where(#main) .fold[open] summary::after{transform:translateY(2px) rotate(-135deg)}
:where(#main) .fold summary:hover{text-decoration-color:var(--fold-ink,var(--ink))}
:where(#main) .fold summary:focus-visible{outline:2px solid var(--fold-ink,var(--ink));outline-offset:3px;border-radius:2px}
:where(#main) .fold[open] summary{margin-bottom:8px}
:where(#main) .have{--fold-ink:#FFFDF9;--fold-line:rgba(255,253,249,.45)}
:where(#main) .hv{background:rgba(255,253,249,.045);border:1px solid rgba(255,253,249,.16);border-radius:16px;padding:clamp(18px,2.2vw,28px) clamp(20px,2.2vw,28px);display:flex;flex-direction:column;gap:12px;min-width:0}
:where(#main) .hv .fold{margin-top:-4px}
/* a fold's summary is a 44px target with its own air, so a card that ends in one needs less room under it */
:where(#main) .hv:has(> .fold){padding-bottom:clamp(8px,1vw,12px)}
:where(#main) .hv .fold[open]{padding-bottom:12px}
:where(#main) .hv h3{font:600 clamp(24px,2.4vw,30px)/1.1 var(--serif);letter-spacing:-.02em;color:#FFFDF9}
:where(#main) .hv-lead{font-size:16.5px;line-height:1.5;color:#D9D0C2;max-width:58ch}
:where(#main) .hv-foot{font-size:14px;line-height:1.4;color:#B9AE9F;margin-top:auto}
:where(#main) .hv-chips{display:grid;gap:14px;margin:6px 0 0}
:where(#main) .hv-chips>div{display:grid;gap:8px}
:where(#main) .hv-chips dt{font:600 14px/1.2 var(--sans);letter-spacing:.01em;color:#B9AE9F}
:where(#main) .hv-chips dd{margin:0}
:where(#main) .hv-chips ul,:where(#main) .hv-roles,:where(#main) .hv-stats,:where(#main) .hv-pipe,:where(#main) .hv-sched{list-style:none;margin:0;padding:0}
:where(#main) .hv-chips ul{display:flex;flex-wrap:wrap;gap:8px}
:where(#main) .hv-chips li{font:500 14px/1 var(--sans);color:#FFFDF9;border:1px solid rgba(255,253,249,.3);border-radius:999px;padding:9px 13px;white-space:nowrap}
:where(#main) .hv-stats{display:grid;gap:10px;margin-top:4px}
:where(#main) .hv-stats li{display:grid;gap:2px;padding-top:10px;border-top:1px solid rgba(255,253,249,.16)}
:where(#main) .hv-stats b{font:600 clamp(36px,4.6vw,56px)/1 var(--serif);letter-spacing:-.035em;color:#FFFDF9}
:where(#main) .hv-stats span{font-size:15px;line-height:1.35;color:#D9D0C2}
:where(#main) .hv-roles{display:grid;margin-top:auto;padding-top:8px}
:where(#main) .hv-roles li{display:grid;grid-template-columns:22px 5.6em 1fr;align-items:center;gap:10px;padding:9px 0;border-top:1px solid rgba(255,253,249,.16)}
:where(#main) .hv-roles b{font:600 15px/1.2 var(--sans);color:#FFFDF9}
:where(#main) .hv-roles span{font-size:14px;line-height:1.3;color:#B9AE9F}
/* The role marks are drawn through <use>, and a rule that starts at #main cannot reach inside one, so on the dark
   board they came out black on black. These two rules reach in, and change a mark only where it sets --mk-line. */
symbol .ms{fill:var(--mk-fill,#000);stroke:var(--mk-line,none);stroke-width:3;stroke-linejoin:round}
symbol .md{fill:var(--mk-line,#000)}
:where(#main) .hv-roles svg{--mk-line:#F5F2EC;--mk-fill:transparent;color:#F5F2EC;flex:none}
:where(#main) .hv-roles svg.is-hot{--mk-line:#F0703A;color:#F0703A}
:where(#main) .hv-pipe{display:grid;gap:0;margin-top:auto;padding-top:8px}
:where(#main) .hv-pipe li{display:flex;align-items:baseline;gap:10px;padding:10px 0 10px 22px;position:relative;border-top:1px solid rgba(255,253,249,.16)}
:where(#main) .hv-pipe li::before{content:"";position:absolute;left:2px;top:15px;width:9px;height:9px;border-radius:50%;border:1.5px solid #F5F2EC}
:where(#main) .hv-pipe li.is-live::before{background:#F0703A;border-color:#F0703A}
:where(#main) .hv-pipe b{font:600 15.5px/1.2 var(--sans);color:#FFFDF9}
:where(#main) .hv-pipe span{font-size:14px;color:#B9AE9F}
:where(#main) .hv-sched{display:grid;margin-top:auto;padding-top:8px}
:where(#main) .hv-sched li{display:grid;grid-template-columns:6.6em 1fr;gap:12px;padding:10px 0;border-top:1px solid rgba(255,253,249,.16);align-items:baseline}
:where(#main) .hv-sched b{font:600 15px/1.2 var(--sans);color:#FFFDF9}
:where(#main) .hv-sched span{font-size:14.5px;line-height:1.35;color:#D9D0C2}
@media (min-width:640px){
  :where(#main) .hv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  :where(#main) .hv-data{grid-column:2;grid-row:1 / span 2}
}
@media (min-width:900px){
  :where(#main) .hv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  :where(#main) .hv-data{grid-column:3}
}
:where(#main) .does-gov{border-top:0;padding-top:4px}

@media (min-width:1000px){:where(#main) .does-gov ul{grid-template-columns:repeat(4,minmax(0,1fr))}}

:where(#main) .hv-note{font-size:14px;line-height:1.4;color:#B9AE9F;margin-top:10px}
