/* Small standalone surface. Brand values mirror design-system/variables.css;
   the cinematic entry never imports the application's stylesheet or runtime.
   Type is the application's: Manrope and IBM Plex Mono arrive from Google
   Fonts through the same non-blocking links as client/index.html, and the
   local fallback faces below wear the webfonts' metrics (the numbers in
   design-system/fonts.css), so the swap changes glyphs, never line breaks. */
/* Fallback faces matched to Manrope per weight, so nothing moves when the webfont arrives. Real Arial Bold
   for 600+, sized from Chrome measurements over every language's header labels: Manrope is 1.039x Arial at
   500, 0.998x Arial Bold at 600 and 1.056x at 800 (server/cinematic-gateway-font-fallback.test.ts). */
@font-face{font-family:'Manrope Fallback';font-weight:100 500;src:local("Arial"),local("Liberation Sans"),local("Arimo");size-adjust:103.57%;ascent-override:102.92%;descent-override:28.97%;line-gap-override:0%}
@font-face{font-family:'Manrope Fallback';font-weight:600 650;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:99.8%;ascent-override:106.81%;descent-override:30.07%;line-gap-override:0%}
@font-face{font-family:'Manrope Fallback';font-weight:651 800;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Arimo Bold");size-adjust:105.6%;ascent-override:100.95%;descent-override:28.41%;line-gap-override:0%}
@font-face{font-family:'IBM Plex Mono Fallback';src:local("Menlo"),local("DejaVu Sans Mono");size-adjust:99.66%;ascent-override:102.85%;descent-override:27.59%;line-gap-override:0%}
@font-face{font-family:'IBM Plex Mono Fallback Courier';src:local("Courier New"),local("Liberation Mono"),local("Cousine");size-adjust:99.98%;ascent-override:102.52%;descent-override:27.50%;line-gap-override:0%}
@font-face{font-family:'IBM Plex Mono Fallback Consolas';src:local("Consolas");size-adjust:109.13%;ascent-override:93.92%;descent-override:25.20%;line-gap-override:0%}
:root{--public-ground:#fff;--public-paper:#fafaf9;--public-surface-2:#f1eee8;--public-ink:#0c0c0c;--public-ink-2:#57534e;--public-ink-3:#8f8b85;--public-hairline:#ebeae7;--public-hairline-strong:#dedcd7;--public-accent:#B65E36;--public-action:#0c0c0c;--public-assurance:#147e56;--public-assurance-wash:#edf6f2;--public-second:#3A6EA5;--public-highlight:#967000;--public-danger:#b3402c;--public-radius-control:12px;--space-4:1rem;--public-radius-surface:20px;--public-shadow-overlay:0 24px 64px -24px rgb(12 12 12 / .28),0 2px 8px -2px rgb(12 12 12 / .1);--public-focus-color:var(--public-accent);--public-focus-ring:0 0 0 2px var(--public-focus-color);--public-ease:cubic-bezier(.22,1,.36,1);--font-family-sans:'Manrope','Manrope Fallback',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--font-family-mono:'IBM Plex Mono','IBM Plex Mono Fallback','IBM Plex Mono Fallback Courier','IBM Plex Mono Fallback Consolas',ui-monospace,SFMono-Regular,Menlo,monospace;--gateway-ink:#fff;--gateway-ground:#131d16;--gateway-muted:color-mix(in srgb,var(--gateway-ink) 76%,transparent);--gateway-edge:color-mix(in srgb,var(--gateway-ink) 42%,transparent);--gateway-backplate:color-mix(in srgb,var(--gateway-ink) 8%,transparent);--gateway-band:rgb(5 7 5 / .84)}
/* Dialogs follow the saved appearance; the cinematic canvas keeps its identity.
   Every sheet is Paper & Ink (owner, 12 Nov 2026: "match the new app bg and style"). */
:root{color-scheme:light}
:root.dark{color-scheme:dark;--public-ground:#0C0C0C;--public-paper:#131312;--public-surface-2:#1C1B1A;--public-ink:#F7F6F4;--public-ink-2:#A8A49E;--public-ink-3:#A09B93;--public-hairline:#232221;--public-hairline-strong:#2E2C2A;--public-accent:#D99A73;--public-action:#F7F6F4;--public-assurance:#5FCFA3;--public-assurance-wash:#0C221A;--public-second:#7FA6D0;--public-highlight:#E6C050;--public-danger:#E08872;--public-shadow-overlay:0 24px 64px -24px rgb(0 0 0 / .85),0 2px 8px -2px rgb(0 0 0 / .6)}


*{box-sizing:border-box}html{background:var(--public-paper);color:var(--public-ink);font-family:var(--font-family-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}[hidden]{display:none!important}::selection{color:var(--public-ground);background:var(--public-accent)}
:is(a,button,input,select):focus-visible{outline:2px solid var(--public-focus-color);outline-offset:4px}
/* After mouse or touch use (theme-preference.js), a control that only holds focus because a menu or dialog handed it back shows no ring. Text fields keep theirs; keyboard use restores all. */
:root[data-input-modality="pointer"] :focus-visible:not(input:not([type="button"],[type="submit"],[type="reset"],[type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="file"],[type="image"]),textarea,select,[contenteditable]:not([contenteditable="false"])){--public-focus-ring:0 0 #0000;outline-color:transparent!important}

/* One inset (--gw-inset) rails the header, the content column and the footer:
   every left-anchored line starts on the wordmark's left edge and every
   right-anchored control ends on the Sign up pill's right edge. */
.gateway-page{padding:0;background:#131d16}
.gateway-shell{--gw-inset:clamp(24px,4vw,64px);--gateway-ground:#131d16;position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100svh;overflow:hidden;color:var(--gateway-ink);background:var(--gateway-ground)}
/* 16px above and below the 44px wordmark row: 76px of chrome on every width. */
.gateway-header{position:relative;z-index:3;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 12px;padding:16px var(--gw-inset)}
.gateway-brand{position:relative;display:inline-flex;align-items:center;min-height:44px;font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.04em}
/* Brand identity stays visible from first paint, including dark film, mobile
   and navigation snapshots. Keep the rule inside the named wordmark's box. */
.gateway-brand-wordmark{position:relative;display:inline-block;padding-bottom:4px;border-bottom:2px solid var(--public-accent)}
.gateway-brand sup{font-family:var(--font-family-mono);font-size:max(7px,.28em);font-weight:500;line-height:1;letter-spacing:.015em;margin-inline-start:2px;vertical-align:super}
.gateway-nav{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;max-width:100%;margin-inline-start:auto;font-size:15px;font-weight:500;line-height:1.2}
/* Pricing is site navigation, not account navigation, so it has its own nav
   (named Explore Prompeteer). This row keeps the two navs together, spaced
   exactly as the links inside one nav. */
.gateway-header-links{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;max-width:100%;margin-inline-start:auto}
.gateway-header-links>.gateway-nav{margin-inline-start:0}
.gateway-nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:0;max-width:100%;padding:0 18px;border-radius:var(--public-radius-control);text-align:center;overflow-wrap:anywhere;transition:color .18s var(--public-ease)}
.gateway-nav .gateway-pricing,.gateway-nav .gateway-login{padding-inline:14px}
.gateway-nav .gateway-pricing:hover,.gateway-nav .gateway-login:hover{color:var(--public-accent)}
/* No boxes on the film: the primary action leads by weight and a hairline underline. */
.gateway-nav .gateway-signup,.gateway-nav .gateway-workspace{color:var(--gateway-ink);font-weight:600;text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.gateway-nav .gateway-signup:hover,.gateway-nav .gateway-workspace:hover{color:var(--public-accent)}
/* "Back to workspace ↗" on wider screens, "← Workspace" on phones; the link's aria-label names it once. */
.gateway-workspace-short{display:none}
[dir=rtl] .gateway-workspace-back{display:inline-block;transform:scaleX(-1)}
@media(max-width:767px){.gateway-workspace-full{display:none}.gateway-workspace-short{display:inline}}
.gateway-nav a:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
/* SIGNAL keeps its familiar same-page signup, now beside the workspace entry. */
.gateway-signal-inline{display:none}
.gateway-nav .gateway-signal{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:0 12px;border:0;border-radius:var(--public-radius-control);background:none;color:var(--gateway-ink);font:inherit;text-align:start}
.gateway-signal-heading{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:14px;font-weight:500;line-height:1.4;color:inherit}
.gateway-signal-brand{flex:none;font-size:max(.88em,12.5px);font-weight:600;letter-spacing:.04em}
.gateway-signal-newsletter{min-width:0;overflow-wrap:anywhere}
.gateway-signal-heading svg{width:14px;height:14px;flex:none}
.gateway-nav .gateway-signal:hover{color:var(--public-accent)}
.gateway-nav .gateway-signal:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}

/* Editorial Rail leaves the middle of the film clear. The title and destination
   rail stay in natural flow so translations and short viewports can scroll. */
.gateway-content{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:150px;width:100%;max-width:100%;min-height:560px;padding:30px var(--gw-inset) 4px}
/* The trust strip keeps its DOM position after the product statement (reading
   order — the discovery test pins it there), but is pulled to the very TOP edge
   of the frame — a full-width band flush with the top, above the nav — in
   mobile and desktop alike, via flex order. margin-top:0 removes the band's
   own gap so it touches the top edge; the header, statement and footer follow. */
.gateway-shell>.gateway-trust{order:-1;margin-top:0}
.gateway-header{order:0}
.gateway-content{order:1}
.gateway-footer{order:2}
.gateway-content:before{content:none}
.gateway-intro{min-width:0;width:100%;max-width:570px;padding-bottom:0;text-shadow:0 1px 8px rgb(0 0 0 / .3)}
.gateway-definition{margin:18px 0 0;max-width:36ch;font-size:20px;font-weight:450;line-height:1.55;color:var(--gateway-ink);text-wrap:pretty;overflow-wrap:anywhere}
.gateway-memory-links{display:flex;align-items:center;min-width:0}
.gateway-memory-workspace{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--gateway-muted);font-size:16px}
.gateway-memory-workspace:is(:hover,:focus-visible){color:var(--public-accent)}
.gateway-title{margin:0;max-width:17ch;font-size:clamp(36px,3.6vw,52px);font-weight:500;line-height:1.08;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:break-word;hyphens:none}
html:not(:lang(en)) .gateway-title{letter-spacing:normal}
html:is(:lang(ar),:lang(fa),:lang(ur),:lang(ps),:lang(sd),:lang(as),:lang(bn),:lang(gu),:lang(kn),:lang(ml),:lang(or),:lang(pa),:lang(ta),:lang(te),:lang(si)) .gateway-title{line-height:1.35}
html:is(:lang(hi),:lang(mr),:lang(ne),:lang(sa)) .gateway-title{line-height:1.4}
html:is(:lang(th),:lang(lo),:lang(km)) .gateway-title{line-height:1.45}
html:is(:lang(dv),:lang(my),:lang(bo),:lang(dz)) .gateway-title{line-height:1.5}
/* Accessible group labels remain available without adding another text row to the film. */
.gateway-agents-label,.gateway-includes-label{margin:0;font-family:var(--font-family-mono);font-size:11.5px;font-weight:500;line-height:1;letter-spacing:.14em;text-transform:uppercase;color:var(--gateway-muted)}
.gateway-agents-label,.gateway-includes-label{margin-top:24px}
/* The mono face covers Latin, Cyrillic and Greek; spacing pulls apart joined Arabic letters and Indic conjuncts. Other scripts get the sans face, unspaced. */
html:is(:lang(ar),:lang(fa),:lang(ur),:lang(ps),:lang(sd),:lang(dv),:lang(he),:lang(yi),:lang(hi),:lang(mr),:lang(ne),:lang(sa),:lang(bn),:lang(as),:lang(pa),:lang(gu),:lang(or),:lang(ta),:lang(te),:lang(kn),:lang(ml),:lang(si),:lang(th),:lang(lo),:lang(km),:lang(my),:lang(bo),:lang(dz),:lang(am),:lang(ti),:lang(ja),:lang(zh),:lang(ko)) :is(.gateway-agents-label,.gateway-includes-label){font-family:var(--font-family-sans);letter-spacing:normal}
/* Visible taglines explain each destination inside one compact rail.
   Explore tools aligns with the trailing edge directly underneath it. */
.gateway-agent-index{align-self:flex-end;min-width:0;width:100%;max-width:450px}
.gateway-agent-index>.gateway-agents-label{margin:0 0 12px;font-family:var(--font-family-sans);font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;line-height:1.4;color:var(--gateway-ink)}
.gateway-paths{display:grid;grid-template-columns:1fr;align-items:stretch;gap:0;width:100%;min-width:0;margin:0;padding:3px 18px;border:1px solid rgb(255 255 255 / .15);border-radius:var(--public-radius-control);background:rgb(22 36 26 / .86)}
.gateway-agent-row{--gateway-agent-columns:25px minmax(0,1fr) 18px;display:block;min-width:0;padding:0}
.gateway-agent-row+.gateway-agent-row{border-top:1px solid rgb(255 255 255 / .15)}
.gateway-path{position:relative;display:grid;grid-template-columns:var(--gateway-agent-columns);align-items:center;gap:5px 12px;min-width:0;min-height:78px;padding:12px 0;text-align:start;transition:color .12s ease,opacity .12s ease}
.gateway-path:after{content:'↗';grid-column:3;grid-row:1/3;align-self:center;font-size:18px;line-height:1;opacity:.7;transition:opacity .18s}
.gateway-path:hover:after{opacity:1}
.gateway-path-copy{grid-column:2;grid-row:1;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;min-width:0;overflow-wrap:anywhere}
.gateway-agent-symbol{display:flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;margin-top:0;transition:transform .2s}
.gateway-path>.gateway-agent-symbol{grid-column:1;grid-row:1/3;align-self:center}
.gateway-agent-symbol svg{display:block;width:100%;height:100%}
.gateway-path-name{margin:0;font-size:16px;font-weight:550;line-height:1.3;letter-spacing:-.025em}
.gateway-path-role{display:block;max-width:100%;margin-top:0;font-size:11px;font-weight:450;line-height:1.45;color:var(--gateway-muted)}
.gateway-path-description{grid-column:2;grid-row:2;min-width:0;font-size:13px;font-weight:450;line-height:1.5;color:#d0d7cd;overflow-wrap:anywhere}
.gateway-path:is(:hover,:focus-visible,:active){color:var(--public-accent)}
.gateway-path:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:4px;border-radius:6px}
.gateway-agent-utilities{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:2px}
.gateway-includes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px 22px;min-width:0;margin:0}
/* Tool links sit inside the on-demand sheet. All descriptions stay in server-rendered HTML. */
.gateway-include{position:relative;display:inline-flex;align-items:flex-start;gap:10px;min-width:0;min-height:64px;padding:10px 0;border:0;border-radius:var(--public-radius-control);background:none;color:var(--gateway-ink);font-size:15px;font-weight:500;line-height:1.2;transition:color .18s}
.gateway-include svg{width:16px;height:16px;margin-top:2px;flex:none;opacity:.85}
.gateway-include-copy{min-width:0}
.gateway-include-label{display:block}
.gateway-include-detail{display:block;max-width:27ch;margin-top:5px;color:var(--gateway-muted);font-size:12px;font-weight:450;line-height:1.4;text-wrap:pretty}
.gateway-include>.gateway-agent-symbol{width:16px;height:16px;margin-top:2px}.gateway-include>.gateway-agent-symbol svg{margin-top:0}
.gateway-include:hover,.gateway-language-control:hover{color:var(--public-accent)}
.gateway-include:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
/* The two-line rows exceed the 44px touch target without oversized controls. */

/* Footer: Contact sales, legal links and media controls stay on the same rails. */
.gateway-footer{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:24px;row-gap:8px;padding:8px var(--gw-inset) max(12px,env(safe-area-inset-bottom));font-size:14px;font-weight:500;line-height:1.4;color:var(--gateway-muted)}
.gateway-footer a{position:relative;display:inline-flex;align-items:center;min-height:24px}
.gateway-footer a:before{content:'';position:absolute;inset:-10px 0}
.gateway-footer a:is(:hover,:focus-visible){color:var(--public-accent)}
.gateway-footer-primary{display:flex;align-items:center;justify-content:flex-start;gap:24px;grid-column:1;min-width:0;margin:0;padding:0;border:0}
/* Contact sales opens its existing same-page dialog. */
.gateway-contact-sales{flex:none;margin-top:0;color:var(--gateway-ink);font-size:14px;font-weight:500;line-height:1.4;text-align:end;justify-content:flex-end}
/* A text control like SIGNAL: it opens the Contact Sales dialog. */
.gateway-footer .gateway-contact-sales{position:relative;display:inline-flex;align-items:center;min-height:24px;padding:0;border:0;border-radius:var(--public-radius-control);background:none;font:inherit;font-size:14px;font-weight:500;line-height:1.4;color:var(--gateway-ink)}
.gateway-footer .gateway-contact-sales:before{content:'';position:absolute;inset:-10px 0}
.gateway-footer .gateway-contact-sales:is(:hover,:focus-visible){color:var(--public-accent)}
.gateway-footer .gateway-contact-sales:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.gateway-legal{grid-column:2;display:flex;align-items:center;gap:16px;font-size:12.5px;font-weight:500;line-height:1.4;color:var(--gateway-muted)}
.gateway-legal>a:hover{text-decoration:underline;text-underline-offset:4px}
.gateway-legal [data-gateway-cookie-preferences]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:44px;padding:0;border:0;background:none;color:var(--gateway-muted)}
.gateway-legal [data-gateway-cookie-preferences]:before{content:'';position:absolute;inset:0 -6px}
.gateway-legal [data-gateway-cookie-preferences] svg{width:18px;height:18px}
.gateway-legal [data-gateway-cookie-preferences]:is(:hover,:focus-visible){color:var(--public-accent)}
.gateway-utilities{grid-column:3;display:flex;align-items:center;gap:4px}
/* The company credit (owner, 15 Nov 2026: "centered", then "in the same as the existing footer" line): after Contact
   Sales in the footer row, centred in the space before the controls. Each sentence stays whole; on a phone the credit
   takes a centred line of its own, and breaks at the full stop. */
.gateway-credit{flex:1 1 auto;min-width:0;margin:0;font-size:12.5px;font-weight:400;line-height:1.5;color:var(--gateway-muted);text-align:center}
.gateway-credit-part{display:inline-block;max-width:100%;text-wrap:balance}
.gateway-controls{display:flex;align-items:center;gap:4px}
/* The two icon buttons are the only circles. The row ends on the rail at the glyph, not at the 44px hit box: 13px of box plus the icon's own inset. */
.gateway-controls:has(.gateway-control:not([hidden])){margin-inline-end:-14px}
.gateway-control{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:0;border-radius:var(--public-radius-control);background:none;color:var(--gateway-ink);font-size:14px;font-weight:500;line-height:1.2;transition:background-color .18s,border-color .18s,color .18s}
.gateway-controls .gateway-control{width:44px;min-height:44px;padding:0;border:0;border-radius:999px;background:none}
.gateway-controls .gateway-control:hover{color:var(--public-accent)}
.gateway-controls .gateway-control:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.gateway-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.gateway-control[aria-pressed=true] .gateway-icon-play,.gateway-control[aria-pressed=false] .gateway-icon-pause,.gateway-control[aria-pressed=true] .gateway-icon-sound-off,.gateway-control[aria-pressed=false] .gateway-icon-sound-on{display:none}
.gateway-language-form{display:flex;align-items:center;gap:8px;margin:0}
.gateway-language-form>label,.gateway-sr-only,.gateway-controls [data-gateway-control-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gateway-language-form[data-enhanced='true']>button[type=submit]{display:none}
.gateway-language-control{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;border-radius:var(--public-radius-control);background:none;color:var(--gateway-ink);font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;transition:border-color .18s,background-color .18s}
.gateway-language-control .gateway-icon{width:16px;height:16px}
.gateway-language-name{max-width:12ch;overflow:hidden;text-overflow:ellipsis}
.gateway-language-code{display:none;font-family:var(--font-family-mono);font-size:12.5px;font-weight:500;line-height:1;letter-spacing:.08em}
.gateway-language-chevron{width:12px;height:12px;flex:none;opacity:.7}
.gateway-language-control select{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);margin:0;padding:0;border:0;opacity:0;cursor:pointer;appearance:none}
.gateway-language-control select option{color:var(--public-ink);background:var(--public-ground)}
.gateway-language-control:focus-within{outline:none;box-shadow:var(--public-focus-ring)}
/* The enhanced picker replaces the browser's unbounded select menu. The GET form
   remains usable until this disclosure successfully mounts, including without JS. */
.gateway-language-picker{display:none;position:fixed;inset:auto 24px 24px auto;z-index:35;margin:0;width:min(360px,calc(100vw - 32px));max-height:min(540px,calc(100svh - 32px));padding:20px;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-ground);color:var(--public-ink);box-shadow:var(--public-shadow-overlay);font-family:var(--font-family-sans);text-align:start;overflow:hidden}
.gateway-language-picker:popover-open{display:flex;flex-direction:column}
.gateway-language-picker[data-gateway-language-fallback][data-open=true]{display:flex;flex-direction:column}
.gateway-language-picker::backdrop{background:rgb(12 12 12 / .24)}
.gateway-language-heading{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.gateway-language-heading h2{margin:0;font-size:20px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.gateway-language-heading .gateway-tools-close{margin-inline-end:-8px}
.gateway-language-search{display:flex;flex:none;align-items:center;gap:10px;min-height:48px;padding:0 12px;border:1px solid var(--public-hairline-strong);border-radius:var(--public-radius-control);background:var(--public-paper);color:var(--public-ink-2)}
.gateway-language-search>svg{width:18px;height:18px;flex:none}
.gateway-language-search input{width:100%;min-width:0;min-height:46px;padding:10px 0;border:0;background:none;color:var(--public-ink);font:inherit;font-size:16px;line-height:1.5;outline:none}
.gateway-language-search input::placeholder{color:var(--public-ink-2);opacity:1}
.gateway-language-search:focus-within{outline:2px solid var(--public-focus-color);outline-offset:3px}
.gateway-language-count{flex:none;margin:10px 2px 8px;color:var(--public-ink-2);font-family:var(--font-family-mono);font-size:11px;line-height:1.5;text-align:end}
.gateway-language-results{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--public-hairline-strong) transparent;padding:3px;margin:0 -3px}
.gateway-language-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:var(--public-radius-control);background:none;color:var(--public-ink);font:inherit;text-align:start}
.gateway-language-choice:hover,.gateway-language-choice[aria-pressed=true]{background:var(--public-surface-2)}
.gateway-language-choice:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:-2px}
.gateway-language-choice-copy{display:flex;flex-direction:column;align-items:start;min-width:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.gateway-language-english{color:var(--public-ink-2);font-size:12.5px}
.gateway-language-choice-check{flex:none;width:18px;height:18px;visibility:hidden}
.gateway-language-choice-check svg{display:block;width:100%;height:100%}
.gateway-language-choice[aria-pressed=true] .gateway-language-choice-check{visibility:visible}
.gateway-language-picker .gateway-tools-close:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:0}
[dir=rtl] .gateway-language-picker{inset:auto auto 24px 24px}
@media(max-width:767px){.gateway-language-picker,[dir=rtl] .gateway-language-picker{inset:auto 16px 16px;width:calc(100vw - 32px);max-height:min(540px,calc(100svh - 32px));padding:18px}}
.gateway-status:empty{display:none}
.gateway-skip{position:fixed;z-index:20;left:24px;top:16px;transform:translateY(-180%);padding:12px 18px;color:var(--public-action);background:var(--public-ground);border-radius:var(--public-radius-control);font-weight:600}.gateway-skip:focus{transform:none}

.gateway-stage,.gateway-film,.gateway-poster,.gateway-video,.gateway-shade{position:absolute;inset:0}.gateway-stage{z-index:-1}.gateway-film{overflow:hidden}.gateway-poster{display:block}.gateway-poster img,.gateway-video{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--gateway-object-position,70% 50%)}.gateway-video{opacity:0;transition:opacity .24s ease}.gateway-shell[data-gateway-frame='ready'] .gateway-video{opacity:1}
/* Gentle top and bottom shading protects the small type while the centre of
   the film stays clear. The rail supplies its own local contrast. */
.gateway-shade{background:linear-gradient(180deg,rgb(6 16 9 / .6),rgb(7 18 11 / .16) 25%,transparent 44%,rgb(11 23 14 / .04) 57%,rgb(9 23 13 / .78) 100%);pointer-events:none}

[dir=rtl] .gateway-header{direction:ltr}[dir=rtl] .gateway-header-links{direction:rtl}[dir=rtl] .gateway-nav{direction:rtl}[dir=rtl] .gateway-content{direction:rtl}[dir=rtl] .gateway-content>:is(.gateway-intro,.gateway-agents-label,.gateway-includes-label){direction:rtl;text-align:right}[dir=rtl] :is(.gateway-paths,.gateway-includes){direction:rtl;align-items:stretch}[dir=rtl] :is(.gateway-path,.gateway-include){text-align:right}
@media(prefers-reduced-motion:no-preference){.gateway-path:hover .gateway-agent-symbol{transform:translateY(-2px)}}

.gateway-tools-panel{display:none;position:fixed;inset:auto 24px 24px auto;z-index:30;margin:0;width:min(520px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow:auto;overscroll-behavior:contain;padding:26px;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-ground);color:var(--public-ink);box-shadow:var(--public-shadow-overlay);font-family:var(--font-family-sans);text-align:start}
.gateway-tools-panel:popover-open{display:block}
.gateway-tools-panel[data-gateway-tools-fallback][data-open=true]{display:block}
.gateway-tools-panel::backdrop{background:rgb(12 12 12 / .24)}
.gateway-tools-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.gateway-tools-heading h2{margin:0;font-size:22px;font-weight:600;line-height:1.35}
.gateway-tools-maker{display:block;margin-top:0;font-size:12.5px;color:var(--public-ink-2);margin-bottom:6px}
.gateway-tools-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:var(--public-radius-control);background:none;color:var(--public-ink)}
.gateway-tools-close svg{width:22px;height:22px}
.gateway-tools-close:hover{background:var(--public-surface-2)}
.gateway-tools-panel .gateway-include,.gateway-skills-link{display:grid;grid-template-columns:20px minmax(0,1fr) 20px}
.gateway-tools-panel .gateway-include{min-height:82px;padding:8px 0;color:var(--public-ink)}
.gateway-tools-panel .gateway-include svg{width:20px;height:20px;margin-top:3px}
.gateway-tools-panel .gateway-tools-arrow{width:20px;height:20px;flex:none;opacity:.85}
.gateway-tools-panel .gateway-include-label{font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.gateway-tools-panel .gateway-include-detail{margin-top:6px;font-size:14px;line-height:1.6;color:var(--public-ink-2);font-weight:450}
.gateway-tools-panel .gateway-include:hover .gateway-include-label{color:var(--public-accent)}
.gateway-tools-skills{margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--public-hairline)}
.gateway-skills-link{align-items:center;gap:14px;min-height:64px;padding:8px 0;color:inherit;text-decoration:none}
.gateway-skills-link svg{width:20px;height:20px}
.gateway-skills-copy{min-width:0}
.gateway-skills-label{margin:0;font-size:16px;font-weight:600;line-height:1.4}
.gateway-skills-count{display:block;margin-top:6px;font-size:14px;line-height:1.6;color:var(--public-ink-2);overflow-wrap:anywhere}
.gateway-skills-link:hover .gateway-skills-label{color:var(--public-accent)}
[dir=rtl] .gateway-skills-link{text-align:right}
.gateway-tools-panel :is(a,button):focus-visible{outline:2px solid var(--public-focus-color);outline-offset:4px;box-shadow:none}
[dir=rtl] .gateway-tools-panel{inset:auto auto 24px 24px}
@media(max-width:767px){
 .gateway-tools-panel,[dir=rtl] .gateway-tools-panel{inset:auto 0 0;width:100%;max-height:calc(100svh - 24px);padding:16px 20px max(14px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
 .gateway-tools-panel:before{content:'';display:block;width:30px;height:3px;margin:0 auto 8px;border-radius:3px;background:var(--public-hairline-strong)}
 .gateway-tools-heading{gap:12px;margin-bottom:4px}
 .gateway-tools-heading h2{font-size:19px}
 .gateway-tools-maker{display:none}
 .gateway-tools-panel .gateway-includes{grid-template-columns:1fr;gap:0}
 .gateway-tools-panel .gateway-include{align-items:center;gap:12px;min-height:60px;padding:10px 0;border-radius:0}
 .gateway-tools-panel .gateway-include+.gateway-include{border-top:1px solid var(--public-hairline)}
 .gateway-tools-panel .gateway-include svg{margin-top:0}
 .gateway-tools-panel .gateway-include-label{font-size:14px}.gateway-tools-panel .gateway-include-detail{font-size:12.5px;line-height:1.45;max-width:none;margin-top:3px}
 .gateway-tools-skills{margin-bottom:0;padding-bottom:0;border-color:rgb(255 255 255 / .1)}
 .gateway-skills-link{gap:12px;min-height:60px;padding:10px 0}
 .gateway-skills-label{font-size:14px}.gateway-skills-count{font-size:11px;line-height:1.45;margin-top:3px}
}
@media(max-width:359px){.gateway-tools-panel .gateway-includes{grid-template-columns:1fr}}

/* Natural wrapping is available at every width, including translated headings. */
@media(max-width:1100px){
 .gateway-title{font-size:42px}
 .gateway-footer{grid-template-columns:minmax(0,1fr) auto;column-gap:16px}
 .gateway-footer-primary{grid-column:1/-1;justify-content:space-between}
 .gateway-legal{grid-column:1}
 .gateway-utilities{grid-column:2}
}
@media(max-width:767px){
 /* Compact edges leave room for the film; short phone viewports reduce the
    gap before allowing natural scrolling for longer translated copy. */
 .gateway-shell{--gw-inset:20px;--gateway-muted:color-mix(in srgb,var(--gateway-ink) 76%,transparent);min-height:100dvh;padding-top:env(safe-area-inset-top)}
 .gateway-header{padding:8px var(--gw-inset);gap:8px}
 .gateway-brand{font-size:23px}
 .gateway-nav{font-size:12px}
 .gateway-nav a,.gateway-nav .gateway-pricing,.gateway-nav .gateway-login{padding-inline:6px}
 .gateway-nav .gateway-signal{padding-inline:2px}
 .gateway-signal-heading{gap:5px;font-size:12px}
 .gateway-signal-newsletter{display:none}
 .gateway-signal-heading svg{width:12px;height:12px}
 .gateway-content{display:flex;flex-direction:column;align-items:stretch;gap:clamp(60px,calc(100dvh - 600px),170px);min-height:0;padding:17px var(--gw-inset) 0}
 .gateway-content:before{content:none}
 .gateway-intro{padding-bottom:0;max-width:none}.gateway-agent-index{max-width:none}
 .gateway-title{font-size:28px;max-width:17ch;line-height:1.1}
 .gateway-definition{font-size:16px;line-height:1.5;margin-top:11px;max-width:34ch}
 .gateway-agent-index>.gateway-agents-label{margin:0 0 9px;font-size:12px}
 .gateway-paths{grid-template-columns:1fr;gap:0;padding:2px 14px}
 .gateway-agent-row{--gateway-agent-columns:19px minmax(0,1fr) 14px;padding:0}
 .gateway-path{gap:4px 10px;align-items:center;min-height:68px;padding:10px 0}
 .gateway-path:after{grid-column:3;grid-row:1/3;font-size:15px}
 .gateway-agent-symbol{width:19px;height:19px}
 .gateway-path-copy{gap:3px 8px}
 .gateway-path-name{font-size:14px}
 .gateway-path-role{font-size:11px}
 .gateway-path-description{grid-column:2;grid-row:2;font-size:12px;line-height:1.5}
 .gateway-agent-utilities{gap:12px;margin-top:2px}
 .gateway-include-detail{max-width:none}
 .gateway-footer{display:flex;flex-wrap:wrap;padding:0 var(--gw-inset) max(10px,env(safe-area-inset-bottom));column-gap:12px;row-gap:0}
 .gateway-footer-primary{width:100%}
 .gateway-utilities{margin-inline-start:auto}
 .gateway-footer .gateway-contact-sales{min-height:44px}
 .gateway-footer .gateway-contact-sales:before{inset:0}
 .gateway-footer .gateway-contact-sales{font-size:11px}
 .gateway-legal{min-width:0;flex-wrap:wrap;gap:0 12px;font-size:11px}
 .gateway-legal>a{max-width:100%;min-height:44px;overflow-wrap:anywhere}
 .gateway-legal>a:before{inset:0}
 .gateway-footer-primary{flex-wrap:wrap;row-gap:0}
 .gateway-credit{flex-basis:100%;padding-bottom:6px}
 .gateway-language-control{min-height:44px}
 .gateway-language-name,.gateway-language-chevron{display:none}
 .gateway-language-code{display:inline}
 .gateway-stage{position:absolute}
 .gateway-poster img,.gateway-video{object-position:var(--gateway-object-position,50% 40%)}
}
/* The quiet frame (phones). The first screen is the film, the name, one account
   action and the headline in the lower third, where the film is jacket rather
   than face. "Meet our agents" starts at the fold; below it, on solid ground,
   come the agents, Explore tools and SIGNAL, the country count with the
   rotating company marks, then the footer. The page scrolls; the film stays
   one screen tall and fades into the ground. */
@media(max-width:767px){
 .gateway-shell{min-height:100svh;overflow:visible;overflow-x:clip}
 .gateway-stage{top:0;right:0;bottom:auto;left:0;height:100svh}
 .gateway-shade{background:linear-gradient(180deg,rgb(6 16 9 / .55) 0%,rgb(7 18 11 / .1) 15%,transparent 30%,transparent 46%,color-mix(in srgb,var(--gateway-ground) 70%,transparent) 74%,var(--gateway-ground) 100%)}
 .gateway-nav{gap:6px;font-size:14px}
 .gateway-header-links{gap:6px}
 .gateway-nav .gateway-signal{display:none}
 .gateway-nav .gateway-signup,.gateway-nav .gateway-workspace{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--gateway-ink);color:var(--gateway-ground);font-weight:600;text-decoration:none}
 .gateway-nav .gateway-signup:hover,.gateway-nav .gateway-workspace:hover{color:var(--gateway-ground);background:color-mix(in srgb,var(--gateway-ink) 86%,transparent)}
 .gateway-nav .gateway-signup[hidden],.gateway-nav .gateway-workspace[hidden]{display:none}
 .gateway-content{gap:0;padding:0 var(--gw-inset)}
 .gateway-intro{display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(100svh - env(safe-area-inset-top) - 64px - 76px);padding-bottom:22px}
 .gateway-title{font-size:32px;line-height:1.08;max-width:15ch}
 .gateway-definition{font-size:17px;margin-top:12px}
 .gateway-agent-index>.gateway-agents-label{margin:0;padding:28px 0 10px;font-size:18px;font-weight:600;line-height:1.3}
 .gateway-paths{padding:0;border:0;border-radius:0;background:none}
 .gateway-agent-row{border-top:1px solid color-mix(in srgb,var(--gateway-ink) 13%,transparent)}
 .gateway-agent-row:last-child{border-bottom:1px solid color-mix(in srgb,var(--gateway-ink) 13%,transparent)}
 .gateway-agent-row{--gateway-agent-columns:22px minmax(0,1fr) 16px}
 .gateway-path{min-height:74px;padding:14px 0;gap:4px 14px}
 .gateway-agent-symbol{width:22px;height:22px}
 .gateway-path-name{font-size:17px}
 .gateway-path-role{font-size:13px}
 .gateway-path-description{font-size:14px}
 .gateway-agent-utilities{justify-content:flex-start;gap:22px;margin-top:4px}
 .gateway-signal-inline:not([hidden]){display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:none;color:var(--gateway-ink);font:inherit;font-size:13px;font-weight:500;cursor:pointer}
 .gateway-signal-inline .gateway-signal-brand{font-weight:600;letter-spacing:.04em}
 .gateway-signal-inline svg{width:16px;height:16px}
 .gateway-signal-inline:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:4px}
 .gateway-footer{order:4;padding-top:6px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
/* Phones up to 419px: the header carries Pricing, Sign in and the Get started
   pill beside the wordmark. A slightly smaller wordmark and tighter link
   padding keep the four on one row down to a 360px screen in English; longer
   labels in other languages wrap the links under the wordmark. */
@media(max-width:419px){
 .gateway-brand{font-size:21px}
 .gateway-nav{gap:2px}
 .gateway-header-links{gap:2px}
 .gateway-nav a,.gateway-nav .gateway-pricing,.gateway-nav .gateway-login{padding-inline:5px}
 .gateway-nav .gateway-signup,.gateway-nav .gateway-workspace{padding:0 13px}
}
@media(max-width:389px){
 .gateway-brand{font-size:19px}
 .gateway-nav{font-size:13px}
 .gateway-nav a,.gateway-nav .gateway-pricing,.gateway-nav .gateway-login{padding-inline:4px}
 .gateway-nav .gateway-signup,.gateway-nav .gateway-workspace{padding:0 11px}
}
@media(max-width:359px){
 .gateway-shell{--gw-inset:16px}.gateway-title{font-size:28px}.gateway-definition{font-size:16px}
 .gateway-brand{font-size:20px}.gateway-nav{font-size:11px}.gateway-nav a,.gateway-nav .gateway-pricing,.gateway-nav .gateway-login{padding-inline:4px}
 .gateway-footer{column-gap:8px}.gateway-legal{gap:8px}.gateway-utilities,.gateway-controls{gap:0}
}
/* Short landscape viewports scroll rather than squeezing or overlapping the rail. */
@media(max-width:1023px) and (max-height:500px) and (orientation:landscape){
 .gateway-shell{--gw-inset:max(22px,env(safe-area-inset-left),env(safe-area-inset-right));min-height:100dvh;padding-top:env(safe-area-inset-top)}
 .gateway-stage{position:absolute}
 .gateway-content{padding-top:18px;gap:60px}
 .gateway-title{font-size:28px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Dark gateway surfaces use the lighter teal. Paper dialogs use the darker
   focus color; identity accents stay orange. Re-declare the ring here so its
   custom-property references resolve inside the dialog's color scope. */
.gateway-consent,.gateway-newsletter,.gateway-contact,.gateway-tools-panel,.gateway-language-picker{--public-focus-color:var(--public-accent);--public-focus-ring:0 0 0 2px var(--public-focus-color)}

/* Small native dialogs keep account choices and subscriptions on the film.
   They are paper: white ground, the overlay elevation, the same type scale. */
.gateway-consent,.gateway-newsletter,.gateway-contact{width:min(440px,calc(100% - 48px));max-width:calc(100% - 48px);max-height:calc(100svh - 48px);padding:28px;border:0;border-radius:var(--public-radius-surface);background:var(--public-ground);color:var(--public-ink);font-family:var(--font-family-sans);box-shadow:var(--public-shadow-overlay);overflow:auto;overscroll-behavior:contain}
.gateway-consent{margin:auto 24px 24px auto}.gateway-newsletter{margin:auto;border:1px solid var(--public-hairline)}
/* A light scrim, no blur: the page stays legible behind the sheet. */
.gateway-newsletter::backdrop,.gateway-contact::backdrop{background:rgb(12 12 12 / .24)}
.dark .gateway-newsletter::backdrop,.dark .gateway-contact::backdrop,.dark .gateway-tools-panel::backdrop,.dark .gateway-language-picker::backdrop{background:rgb(0 0 0 / .55)}
.dark .gateway-consent,.dark .gateway-contact,.dark .gateway-newsletter,.dark .gateway-tools-panel,.dark .gateway-language-picker{--public-focus-color:var(--public-accent)}
.gateway-consent-header,.gateway-newsletter-header,.gateway-contact-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.gateway-consent-title,.gateway-newsletter-title,.gateway-contact-title{margin:2px 0 0;font-size:20.5px;font-weight:620;line-height:1.25;letter-spacing:-.025em;text-wrap:balance;outline:none}
.gateway-consent-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline}
.gateway-consent-title{min-width:0;overflow-wrap:anywhere;hyphens:auto}
.gateway-consent-close{min-height:28px;max-width:100px;padding:4px 0;border:0;background:none;color:var(--public-ink-2);font-size:13px;font-weight:500;line-height:1.4;text-align:end;overflow-wrap:anywhere}
.gateway-consent-close:hover{color:var(--public-accent)}
:is(.gateway-newsletter-close,.gateway-contact-close){position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--public-ink-2)}:is(.gateway-newsletter-close,.gateway-contact-close):before{content:'';position:absolute;inset:-8px}:is(.gateway-newsletter-close,.gateway-contact-close) svg{width:16px;height:16px}:is(.gateway-newsletter-close,.gateway-contact-close):hover{background:var(--public-surface-2)}
.gateway-consent-description,.gateway-newsletter-description,.gateway-contact-description{margin:12px 0 18px;font-size:15px;line-height:1.5;color:var(--public-ink-2);text-wrap:pretty}
/* Native checkboxes retain browser and assistive-technology behavior. */
.gateway-consent-categories{display:grid;margin:0 0 18px;border-block:1px solid var(--public-hairline)}
.gateway-consent-categories label{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:44px;padding-block:10px;font-size:15px;font-weight:500;line-height:1.45;cursor:pointer;overflow-wrap:anywhere}
.gateway-consent-categories label+label{border-top:1px solid var(--public-hairline)}
.gateway-consent-categories input{appearance:none;display:grid;place-content:center;flex:none;width:18px;height:18px;margin:0;border:1.5px solid var(--public-hairline-strong);border-radius:5px;background:var(--public-ground);color:var(--public-ground);transition:background-color .15s,border-color .15s}
.gateway-consent-categories input:before{content:'';width:9px;height:5px;border:solid currentColor;border-width:0 0 1.7px 1.7px;transform:translateY(-1px) rotate(-45deg);visibility:hidden}
.gateway-consent-categories input:checked{background:var(--public-action);border-color:var(--public-action)}
.gateway-consent-categories input:checked:before{visibility:visible}
.gateway-consent-categories label:hover input{border-color:var(--public-ink-3)}
.gateway-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gateway-consent-actions button{min-height:44px;padding:10px 12px;border-radius:var(--public-radius-control);font-size:14px;font-weight:600;line-height:1.3;text-wrap:balance;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s,color .15s}
.gateway-consent-actions [data-gateway-consent-reject]{background:var(--public-ground);border:1px solid var(--public-hairline-strong);color:var(--public-ink)}
.gateway-consent-actions [data-gateway-consent-reject]:hover{background:var(--public-paper);border-color:var(--public-ink-3)}
.gateway-consent-actions [data-gateway-consent-accept]{background:var(--public-action);border:1px solid var(--public-action);color:var(--public-ground)}
.gateway-consent-actions [data-gateway-consent-accept]:hover{background:color-mix(in srgb,var(--public-action) 88%,var(--public-ground));border-color:color-mix(in srgb,var(--public-action) 88%,var(--public-ground))}
.gateway-consent-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}
.gateway-consent-footer [data-gateway-consent-save]{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;max-width:75%;padding:6px 0;border:0;background:none;color:var(--public-ink);font-size:14px;font-weight:600;line-height:1.4;text-align:end;overflow-wrap:anywhere}
.gateway-consent-footer [data-gateway-consent-save] svg{width:14px;height:14px;flex:none}
.gateway-consent-footer [data-gateway-consent-save]:dir(rtl) svg{transform:rotate(180deg)}
.gateway-consent-footer [data-gateway-consent-save]:hover,.gateway-consent-policy:hover,.gateway-consent-more:hover{color:var(--public-accent)}
.gateway-consent-more{padding:0;border:0;background:none;cursor:pointer}
.gateway-consent :is(button,input,a):focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.gateway-consent-policy,.gateway-newsletter-policy,.gateway-consent-more{display:inline-flex;align-items:center;min-height:44px;margin:0;font-size:12.5px;font-weight:500;color:var(--public-ink-2);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--public-hairline-strong)}
@media(forced-colors:active){.gateway-consent[data-gateway-consent-inline]{border:1px solid CanvasText}.gateway-consent-categories input{appearance:auto}.gateway-consent-categories input:before{display:none}.gateway-consent-actions button{border:1px solid ButtonText}}
.gateway-newsletter .gateway-newsletter-header{position:relative;align-items:center;min-height:44px;padding-right:56px}
.gateway-newsletter-title{min-width:0;overflow-wrap:anywhere}
.gateway-newsletter .gateway-newsletter-close{position:absolute;top:0;right:0;width:44px;height:44px;border-radius:var(--public-radius-control);color:var(--public-ink-2);transition:background-color .15s,color .15s}
.gateway-newsletter .gateway-newsletter-close:before{content:none}
.gateway-newsletter .gateway-newsletter-close svg{width:18px;height:18px}
.gateway-newsletter .gateway-newsletter-close:hover{background:var(--public-surface-2);color:var(--public-ink)}
.gateway-newsletter-dismiss{display:block;min-height:44px;width:100%;margin-top:4px;padding:10px 16px;border:0;border-radius:var(--public-radius-control);background:transparent;color:var(--public-ink-2);font-size:13px;font-weight:500;line-height:1.45;text-wrap:balance;overflow-wrap:anywhere;transition:background-color .15s,color .15s}
.gateway-newsletter-dismiss:hover{background:var(--public-paper);color:var(--public-ink)}
.gateway-newsletter :is(.gateway-newsletter-close,.gateway-newsletter-dismiss):focus-visible{outline:2px solid var(--public-focus-color);outline-offset:2px}
.gateway-newsletter-backdrop{position:fixed;inset:0;z-index:var(--z-scrim,100);background:color-mix(in srgb,var(--gateway-ground) 60%,transparent)}
.gateway-newsletter[data-newsletter-fallback]{position:fixed;inset:0;z-index:var(--z-overlay,110);height:fit-content}
.gateway-newsletter form{display:flex;flex-direction:column;gap:10px}.gateway-newsletter label{font-size:12.5px;color:var(--public-ink-2)}.gateway-newsletter input{width:100%;min-height:48px;padding:0 16px;border:1px solid var(--public-hairline-strong);border-radius:var(--public-radius-control);background:var(--public-ground);color:var(--public-ink);font:inherit;font-size:16px;line-height:1.4}.gateway-newsletter input::placeholder{font-family:var(--font-family-mono);font-size:14px;color:var(--public-ink-3)}.gateway-newsletter input:focus{outline:none;box-shadow:var(--public-focus-ring)}
.gateway-newsletter button[type=submit]{min-height:44px;padding:10px 16px;border:0;border-radius:var(--public-radius-control);font-size:14px;font-weight:600;line-height:1.45;background:var(--public-action);color:var(--public-ground)}.gateway-newsletter button[type=submit]:disabled{opacity:.65}.gateway-newsletter-note{margin:14px 0 0;font-family:var(--font-family-mono);font-size:12.5px;line-height:1.5;color:var(--public-ink-3)}.gateway-newsletter-status{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--public-ink)}.gateway-newsletter-status:empty{display:none}
/* SIGNAL is a paper sheet like the others; its placeholder and note use the system's type at a readable ink. */
.gateway-newsletter input::placeholder{font-family:inherit;font-size:16px;color:var(--public-ink-2)}
.gateway-newsletter-note{font-family:inherit;color:var(--public-ink-2)}
.gateway-newsletter-policy:hover{color:var(--public-ink)}
@media(forced-colors:active){.gateway-newsletter{border-color:CanvasText}.gateway-newsletter :is(input,button[type=submit]){border:1px solid ButtonText}}
/* Contact Sales: the SIGNAL sheet, a little wider for a short form. Labels sit above
   their fields in the page language; the one filled control is the ink submit. */
.gateway-contact{width:min(480px,calc(100% - 48px));margin:auto}
.gateway-contact-form{display:flex;flex-direction:column;gap:16px}
.gateway-contact-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.gateway-contact-field label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;line-height:1.35;color:var(--public-ink)}
/* Sans, not mono: a monospace face breaks the joined letters of Arabic and other connected scripts. */
.gateway-contact-optional{font-size:12px;font-weight:400;color:var(--public-ink-3)}
.gateway-contact-field :is(input,textarea){display:block;width:100%;min-height:48px;margin:0;padding:12px 14px;border:1px solid var(--public-hairline-strong);border-radius:var(--public-radius-control);background:var(--public-ground);color:var(--public-ink);font:inherit;font-size:16px;line-height:1.45;transition:border-color .15s,box-shadow .15s}
.gateway-contact-field textarea{min-height:120px;max-height:40svh;resize:vertical;field-sizing:content}
/* The app's field: the border holds and focus draws the shared orange ring. */
.gateway-contact-field :is(input,textarea):focus{outline:none;box-shadow:var(--public-focus-ring)}
@media(pointer:coarse){.gateway-contact-field textarea{resize:none}}
@media(pointer:fine){.gateway-contact-field input{min-height:44px;padding-block:10px}.gateway-contact-submit,.gateway-contact-done{min-height:44px;padding-block:10px}}
.gateway-contact-field :is(input,textarea):user-invalid{border-color:var(--public-danger)}
.gateway-contact-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
.gateway-contact-submit,.gateway-contact-done{min-height:48px;padding:12px 16px;border-radius:var(--public-radius-control);font-size:15px;font-weight:600;line-height:1.35;transition:background-color .15s,border-color .15s,opacity .15s}
.gateway-contact-submit{margin-top:4px;border:1px solid var(--public-action);background:var(--public-action);color:var(--public-ground)}
.gateway-contact-submit:hover{background:color-mix(in srgb,var(--public-action) 88%,var(--public-ground))}
.gateway-contact-submit:disabled{opacity:.65;cursor:progress}
.gateway-contact-status{margin:0;font-size:14px;line-height:1.5;color:var(--public-danger)}.gateway-contact-status:empty{display:none}
.gateway-contact-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 16px;margin:20px 0 0;padding-top:8px;border-top:1px solid var(--public-hairline);font-size:12.5px;line-height:1.5;color:var(--public-ink-3)}
.gateway-contact-footer a{display:inline-flex;align-items:center;min-height:36px;font-weight:500;color:var(--public-ink-2);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--public-hairline-strong)}
.gateway-contact-footer a:hover{color:var(--public-accent)}
.gateway-contact-success{display:flex;flex-direction:column;align-items:flex-start;margin-top:20px}
.gateway-contact-success-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:16px;border-radius:50%;background:var(--public-assurance-wash);color:var(--public-assurance)}.gateway-contact-success-mark svg{width:20px;height:20px;stroke-width:2}
.gateway-contact-success-title{margin:0;font-size:17px;font-weight:620;line-height:1.3;letter-spacing:-.015em;outline:none}
.gateway-contact-success-body{margin:6px 0 24px;font-size:15px;line-height:1.5;color:var(--public-ink-2);text-wrap:pretty}
.gateway-contact-done{align-self:stretch;border:1px solid var(--public-hairline-strong);background:var(--public-ground);color:var(--public-ink)}
.gateway-contact-done:hover{background:var(--public-paper);border-color:var(--public-ink-3)}
.gateway-contact :is(button,a,input,textarea):focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
@media(max-width:767px){.gateway-consent,.gateway-newsletter,.gateway-contact{width:calc(100% - 32px);max-width:calc(100% - 32px);max-height:calc(100svh - 32px);margin:auto 16px 16px;padding:24px}.gateway-consent-categories{gap:0}}
@media(max-width:360px){.gateway-consent,.gateway-newsletter,.gateway-contact{padding:20px}.gateway-consent-header{gap:10px}.gateway-consent-actions{gap:8px}.gateway-consent-actions button{padding-inline:8px}}

/* Experience ↔ app uses /gateway/signature-motion.css, linked beside this
   sheet in the head. It shares one motion contract with the application.
   Cross-origin destinations continue to navigate normally. */
@view-transition{navigation:auto}
.gateway-brand-wordmark{view-transition-name:prompeteer-wordmark}
.gateway-path[data-gateway-path=skilling] .gateway-agent-symbol{view-transition-name:gateway-path-skilling}
.gateway-path[data-gateway-path=discovery] .gateway-agent-symbol{view-transition-name:gateway-path-discovery}

/* A selected link responds immediately while the browser loads its destination.
   Keep the film and other links still: Signature cut owns the page transition. */
.gateway-shell.is-leaving[data-leaving-path=skilling] .gateway-path[data-gateway-path=skilling],
.gateway-shell.is-leaving[data-leaving-path=discovery] .gateway-path[data-gateway-path=discovery],
.gateway-shell.is-leaving[data-leaving-path=finops] .gateway-path[data-gateway-path=finops],
.gateway-shell.is-leaving[data-leaving-path=zero-slop] .gateway-path[data-gateway-path=zero-slop]{opacity:.8;color:var(--public-accent);transition-duration:0s}

/* The public homepage gives the message and the film their own columns.
   The experience route retains the full-screen film. */
.gateway-shell[data-gateway-home]{
  --gateway-ink:var(--public-ink);
  --gateway-ground:var(--public-paper);
  --gateway-muted:var(--public-ink-2);
  --gateway-edge:var(--public-hairline-strong);
  --gateway-backplate:var(--public-surface-2);
  min-height:100svh;
  overflow-x:clip;
}
[data-gateway-home] .gateway-content{
  display:grid;
  gap:clamp(20px,3vw,40px);
  justify-content:stretch;
  flex:0 0 auto;
  min-height:0;
  width:min(100%,1440px);
  margin-inline:auto;
  padding:clamp(22px,4vw,58px) var(--gw-inset) 0;
}
[data-gateway-home] .gateway-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
  align-items:center;
  gap:clamp(24px,5vw,80px);
  min-width:0;
}
/* The intro is a size container: the Roll headline sizes itself from the column it sits in. */
[data-gateway-home] .gateway-intro{display:block;min-height:0;max-width:none;padding:0;text-shadow:none;container-type:inline-size}
[data-gateway-home] .gateway-title{font-size:clamp(38px,4.3vw,65px);max-width:none;text-wrap:balance}
/* The Roll headline (owner, 12 Nov 2026; canvas Round 4, R4-1-Roll). Mobile first: the fluid size on the
   40+ step, capped so the widest phrase (--roll-em, from the server, then measured by headline-roll.js)
   fits the column on one line at every width. */
[data-gateway-home] .gateway-roll{font-size:min(clamp(40px,4.3vw,65px),calc(100cqi / var(--roll-em)))}
/* A flex column, so the masks' negative margins never collapse: each line keeps its exact place. */
.gateway-roll{--roll-em:12;--roll-lh:1.2;--roll-bleed:.3em;display:flex;flex-direction:column}
html:is(:lang(ar),:lang(fa),:lang(ur),:lang(ps),:lang(sd),:lang(as),:lang(bn),:lang(gu),:lang(kn),:lang(ml),:lang(or),:lang(pa),:lang(ta),:lang(te),:lang(si)) .gateway-roll{--roll-lh:1.4}
html:is(:lang(hi),:lang(mr),:lang(ne),:lang(sa)) .gateway-roll{--roll-lh:1.45}
html:is(:lang(th),:lang(lo),:lang(km)) .gateway-roll{--roll-lh:1.5}
html:is(:lang(dv),:lang(my),:lang(bo),:lang(dz)) .gateway-roll{--roll-lh:1.6}
/* Each line is a mask of reserved height, so the rotation never moves what follows (CLS 0). The clip box
   bleeds 0.3em past the line box both ways (padding cancelled by a negative margin), so descenders,
   accents and tall scripts are never cut and the line spacing doesn't change (owner, 13 Nov 2026:
   "g of agents is cut off. fix"). Only the visible phrase is opaque, so the waiting ones stay hidden. */
.gateway-roll-line{position:relative;display:block;box-sizing:content-box;height:calc(var(--roll-lh) * 1em);padding-block:var(--roll-bleed);margin-block:calc(var(--roll-bleed) * -1);line-height:var(--roll-lh);overflow:hidden}
.gateway-roll-lead{color:var(--public-accent)}
/* Resting below the mask; "on" rises into it, "off" leaves upward. Transitions only, no keyframes. */
.gateway-roll-phrase{position:absolute;top:var(--roll-bleed);inset-inline-start:0;white-space:nowrap;transform:translateY(100%);opacity:0}
.gateway-roll-phrase[data-roll="on"]{transform:translateY(0);opacity:1;transition:transform 560ms cubic-bezier(.77,0,.175,1),opacity 280ms ease 120ms}
.gateway-roll-phrase[data-roll="off"]{transform:translateY(-100%);opacity:0;transition:transform 560ms cubic-bezier(.77,0,.175,1),opacity 260ms ease}
.gateway-roll-tail .gateway-roll-phrase[data-roll="on"]{transition-delay:60ms,180ms}
@media(prefers-reduced-motion:reduce){
  .gateway-roll-phrase{transform:none!important;transition:opacity 240ms ease!important}
}
[data-gateway-home] .gateway-hero-actions{display:flex;align-items:center;gap:12px;margin-top:clamp(18px,2.5vw,28px)}
/* Pause/play for the rotation (WCAG 2.2.2): a 44 px target beside the one ink action. */
.gateway-roll-toggle{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:none;box-shadow:none;color:var(--public-ink-3);transition:transform 160ms var(--public-ease),color 160ms var(--public-ease)}
/* Faint (owner, 13 Nov 2026: "make that play/pause button faint (and not underlay)"): the glyph alone. */
.gateway-roll-toggle:is(:hover,:focus-visible){color:var(--public-ink-2)}
.gateway-roll-toggle:active{transform:scale(.95)}
.gateway-roll-toggle:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:3px}
.gateway-roll-toggle svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gateway-roll-toggle[aria-pressed="true"] .gateway-roll-pause,.gateway-roll-toggle[aria-pressed="false"] .gateway-roll-play{display:none}
/* The rotating phrase is the screen's one accent, so the action is ink. */
[data-gateway-home] .gateway-hero-action{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  padding:10px 17px;
  border-radius:var(--public-radius-control);
  background:var(--public-action);
  color:var(--public-ground);
  font-weight:650;
  line-height:1.3;
  transition:transform 160ms ease-out;
}
[data-gateway-home] .gateway-hero-action:active{transform:scale(.97)}
[data-gateway-home] .gateway-stage{
  position:relative;
  inset:auto;
  z-index:auto;
  height:auto;
  min-width:0;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:var(--public-radius-surface);
  background:var(--gateway-backplate);
}
[data-gateway-home] .gateway-shade{display:none}
[data-gateway-home] .gateway-agent-index{max-width:none;align-self:start}
[data-gateway-home] .gateway-agent-index>.gateway-agents-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
[data-gateway-home] .gateway-paths{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0 clamp(16px,2.5vw,32px);
  row-gap:var(--space-4);
  padding:0;
  border:0;
  border-radius:0;
  background:none;
}
/* Owner, 12 Nov 2026: no divider lines on the agent tiles ("Drop tile lines, keep rule"); space and
   type do the grouping. One full-width rule above the trust section stays. */
[data-gateway-home] .gateway-agent-row{border-block:0;padding-top:4px}
[data-gateway-home] .gateway-path-description{color:var(--gateway-muted);font-size:16px}
[data-gateway-home] .gateway-agent-utilities{margin-top:6px;justify-content:flex-start}
/* The agent row as a spotlight (owner, 12 Nov 2026: "deliver spotlight", canvas "Agent row A+", 2).
   No lines or underlay: each agent is its mark and name on one line, its line below, its category
   under that. With a mouse, a soft light in the pointed-at agent's own colour follows the pointer
   (gallery.js sets --spot-x and --spot-y once a frame) and the arrow slides in. */
[data-gateway-home] .gateway-paths{position:relative;isolation:isolate;border-radius:var(--public-radius-surface);--spot-tint:var(--public-ink);--spot-x:50%;--spot-y:50%}
[data-gateway-home] .gateway-paths::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:0;background:radial-gradient(360px circle at var(--spot-x) var(--spot-y),color-mix(in srgb,var(--spot-tint) 11%,transparent),transparent 70%);transition:opacity 300ms ease}
[data-gateway-home] .gateway-paths:has([data-gateway-path="skilling"]:hover){--spot-tint:var(--public-accent)}
[data-gateway-home] .gateway-paths:has([data-gateway-path="discovery"]:hover){--spot-tint:var(--public-second)}
[data-gateway-home] .gateway-paths:has([data-gateway-path="finops"]:hover){--spot-tint:var(--public-highlight)}
[data-gateway-home] .gateway-paths:has([data-gateway-path="business-agents"]:hover){--spot-tint:var(--public-assurance)}
[data-gateway-home] .gateway-agent-row{--gateway-agent-columns:20px minmax(0,1fr) 16px}
[data-gateway-home] .gateway-path{grid-template-rows:auto auto auto;align-items:start;gap:8px 10px;min-height:0;color:var(--gateway-ink)}
[data-gateway-home] .gateway-path:is(:hover,:focus-visible,:active){color:var(--gateway-ink)}
[data-gateway-home] .gateway-path-copy{display:contents}
[data-gateway-home] .gateway-path>.gateway-agent-symbol{grid-row:1;align-self:center;width:20px;height:20px}
[data-gateway-home] .gateway-path-name{grid-column:2;grid-row:1;align-self:center;font-size:19px;font-weight:600;line-height:1.25;letter-spacing:-.015em}
[data-gateway-home] .gateway-path-description{grid-column:2;grid-row:2;line-height:1.5}
[data-gateway-home] .gateway-path-role{grid-column:2;grid-row:3;margin-top:2px;font-size:12.5px;font-weight:500;line-height:1.3;color:var(--gateway-muted)}
[data-gateway-home] .gateway-path:after{grid-row:1;font-size:16px}
@media(min-width:768px){
  [data-gateway-home] .gateway-paths{margin-inline:-20px}
  /* Each agent spans three shared rows (name, line, category), so the four categories sit on one
     line however long a line runs. */
  [data-gateway-home] .gateway-paths{grid-auto-rows:auto;row-gap:0}
  [data-gateway-home] .gateway-agent-row{display:grid;grid-row:span 3;grid-template-rows:subgrid;padding-top:0}
  [data-gateway-home] .gateway-path{grid-row:span 3;grid-template-rows:subgrid;row-gap:8px;padding:22px 20px}
}
@media(hover:hover) and (pointer:fine){
  [data-gateway-home] .gateway-paths:has(.gateway-path:hover)::before{opacity:1}
  [data-gateway-home] .gateway-path:after{opacity:0;transform:translate(-4px,4px);transition:opacity 200ms ease,transform 220ms cubic-bezier(.23,1,.32,1)}
  [data-gateway-home] .gateway-path:is(:hover,:focus-visible):after{opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce){[data-gateway-home] .gateway-paths::before{transition:none}}
.gateway-shell[data-gateway-home]>.gateway-trust{
  order:2;
  margin-top:16px;
  background:none;
  color:var(--gateway-muted);
  --trust-mark:var(--gateway-muted);
}
[data-gateway-home] .gateway-footer{order:3}
@media(min-width:768px) and (max-width:1023px){
  [data-gateway-home] .gateway-paths{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1023px){
  [data-gateway-home] .gateway-sister-link{display:none}
}
@media(max-width:767px){
  [data-gateway-home] .gateway-hero,[data-gateway-home] .gateway-paths{grid-template-columns:minmax(0,1fr)}
  [data-gateway-home] .gateway-hero{gap:18px}
  /* A heading without the rotation (an art-direction override) wraps at the phone size it always had. */
  [data-gateway-home] .gateway-title:not(.gateway-roll){font-size:clamp(34px,8vw,45px)}
  /* The split hero shows the whole landscape film on phones (the portrait film is the full-screen layout's). */
  [data-gateway-home] .gateway-stage{aspect-ratio:16/9;border-radius:var(--public-radius-control)}
  /* The header in words (Round 14 A): Pricing, Tools and Sign in, or Workspace once signed in, so Browse agents stays
     the one filled button. Get started lives on the sign-in page. */
  [data-gateway-home] .gateway-nav .gateway-signup{display:none}
  /* Three words fit at 14 px down to 320 px, so the header keeps the type scale's 14 instead of the 13 and 11 px
     the four-item header needed. */
  [data-gateway-home] .gateway-nav{font-size:14px}
  [data-gateway-home] .gateway-nav .gateway-workspace{min-height:44px;padding-inline:6px;background:none;color:var(--gateway-ink);text-decoration-line:underline;text-decoration-color:var(--public-hairline-strong)}
  [data-gateway-home] .gateway-nav .gateway-workspace:hover{background:none;color:var(--public-accent)}
  [data-gateway-home] .gateway-workspace-back{display:none}
  /* The agents as index rows (Round 14 A): mark, name, one line and a chevron, a hairline between rows, so all four
     fit in about 270 px. The category shows on each agent's own page. */
  [data-gateway-home] .gateway-paths::before{display:none}
  [data-gateway-home] .gateway-paths{row-gap:0}
  [data-gateway-home] .gateway-agent-row{padding-top:0}
  [data-gateway-home] .gateway-path{grid-template-columns:22px minmax(0,1fr) 16px;grid-template-rows:auto auto;align-items:center;gap:2px 12px;padding:12px 0;border-top:1px solid var(--public-hairline)}
  [data-gateway-home] .gateway-agent-row:last-child .gateway-path{border-bottom:1px solid var(--public-hairline)}
  [data-gateway-home] .gateway-path>.gateway-agent-symbol{grid-row:1/3}
  [data-gateway-home] .gateway-path-name{font-size:16px;font-weight:620}
  [data-gateway-home] .gateway-path-description{min-width:0;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  [data-gateway-home] .gateway-path-role{display:none}
  [data-gateway-home] .gateway-path:after{content:"›";grid-column:3;grid-row:1/3;align-self:center;font-size:20px;line-height:1;opacity:1;color:var(--gateway-muted)}
  [dir=rtl] [data-gateway-home] .gateway-path:after{transform:scaleX(-1)}
}
/* Narrow phones keep the header on one line without leaving the type scale: tighter padding and a smaller
   wordmark below 375 px, then the scale's 12.5 px floor below 360 px. Every link stays a 44 px target. */
@media(max-width:374px){
  [data-gateway-home] .gateway-brand{font-size:18px}
  [data-gateway-home] .gateway-nav :is(.gateway-pricing,.gateway-nav-tools,.gateway-login,.gateway-workspace){padding-inline:4px}
  [data-gateway-home] .gateway-nav,[data-gateway-home] .gateway-header-links{gap:0}
}
@media(max-width:359px){[data-gateway-home] .gateway-nav{font-size:12.5px}}
@media(max-width:339px){[data-gateway-home] .gateway-brand{font-size:16px}}
/* The page behind the homepage is its paper, so the iOS bounce at either end shows the page, not the old film
   green that signature-motion.css paints <html> with. */
:root:has([data-gateway-home]){--gateway-ground:var(--public-paper)}
.gateway-page:has([data-gateway-home]){background:var(--public-paper)}
/* First-visit consent is a bar that floats over the bottom of the page (Round 13 option B), so the
   one-screen homepage keeps its height. On a desktop it sits over the trust strip, clear of the footer
   controls; on a phone it sits over the bottom edge. It is not modal: the page stays usable, and both
   choices carry equal weight. consent.js marks <html> with the bar's and the footer's height while it
   is open, so focused controls and the last footer row scroll clear of it; on a desktop, where the page
   does not scroll, the bar lifts clear of a focused control instead. The footer cookie button
   and the bar's own Cookie preferences open the full settings dialog. */
.gateway-consent[data-gateway-consent-inline]{position:fixed;inset:auto 0;bottom:calc(var(--gateway-footer-height,56px) + 12px);z-index:40;display:flex;align-items:center;gap:16px;width:min(1120px,calc(100% - 48px));max-width:none;max-height:none;margin:0 auto;padding-block:10px;padding-inline:18px 12px;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-paper);box-shadow:var(--public-shadow-overlay);overflow:visible;translate:0 calc(-1 * var(--gateway-consent-lift,0px))}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-header{order:9;display:block;flex:none}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-close{min-height:40px;font-size:12.5px}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-description{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.45}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-actions{display:flex;flex:none;gap:8px}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-actions button{min-height:40px;padding:8px 14px}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-actions [data-gateway-consent-accept]{background:var(--public-ground);border-color:var(--public-hairline-strong);color:var(--public-ink)}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-actions [data-gateway-consent-accept]:hover{background:var(--public-paper);border-color:var(--public-ink-3)}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-footer{flex:none;gap:14px;margin:0}
.gateway-consent[data-gateway-consent-inline] .gateway-consent-options{display:none}
.gateway-consent:not([data-gateway-consent-inline]) .gateway-consent-more{display:none}
html[data-gateway-consent-bar]{scroll-padding-bottom:calc(var(--gateway-consent-bar,0px) + var(--gateway-footer-height,56px) + 24px)}
@media(max-width:767px){.gateway-consent[data-gateway-consent-inline]{bottom:12px;display:block;width:calc(100% - 24px);padding:14px 16px;translate:none}.gateway-consent[data-gateway-consent-inline] .gateway-consent-header{position:absolute;top:8px;inset-inline-end:12px}.gateway-consent[data-gateway-consent-inline] .gateway-consent-description{margin:0 0 10px;margin-inline-end:64px}.gateway-consent[data-gateway-consent-inline] .gateway-consent-actions button{flex:1 1 0}.gateway-consent[data-gateway-consent-inline] .gateway-consent-footer{justify-content:space-between;margin-top:2px}html[data-gateway-consent-bar]{scroll-padding-bottom:calc(var(--gateway-consent-bar,0px) + 24px)}html[data-gateway-consent-bar] .gateway-footer{padding-bottom:calc(var(--gateway-consent-bar,0px) + 24px)}}

/* Trust strip (server/cinematic-gateway-trust.ts renders it, gateway/trust.js swaps the logos).
   A frosted band after the product choices that the film shows through. Start side: the company-reported
   country count. End side: the rotating logo window.
   Mobile first: a 32px band with one logo on phones; 36px with seven
   slots from 768px, with the eyebrow added from 1100px. trust.js reads
   --trust-slots, so the slot count lives here only. Marks are white at 62% ink: never a colour logo,
   never the accent. Slots are wide enough for a wordmark or a wide logo; the single phone
   slot leaves the country count room to breathe. */
.gateway-trust{margin-top:24px;--trust-band:32px;--trust-size:13px;--trust-slot:clamp(64px,calc(100vw - 240px),100px);--trust-gutter:8px;--trust-slots:1;--trust-mark:color-mix(in srgb,var(--gateway-ink) 62%,transparent);position:relative;z-index:4;display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;height:var(--trust-band);padding:0 var(--gw-inset);border-bottom:1px solid color-mix(in srgb,var(--gateway-ink) 10%,transparent);background:color-mix(in srgb,var(--gateway-ground) 30%,transparent);-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);color:color-mix(in srgb,var(--gateway-ink) 80%,transparent);font-size:11.5px;font-weight:500;line-height:1.2;white-space:nowrap}
.gateway-trust p{margin:0}
/* Keep the full country count in the accessible text when a long translation is clipped. */
.gateway-trust-reach{min-width:0;overflow:hidden;text-overflow:ellipsis}
.gateway-trust-num{font-weight:650;color:var(--gateway-ink)}
.gateway-trust-companies{display:flex;flex:none;align-items:center;height:100%}
/* Hidden below 1100px but still the hidden list's accessible name. */
.gateway-trust-eyebrow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;color:color-mix(in srgb,var(--gateway-ink) 64%,transparent)}
/* Fixed slots, one fixed-size face each: a swap changes a face's viewBox and children, and
   nothing reflows. Every mark (a vector, a monochrome image or a wordmark) is one SVG fitted into
   the face box, its optical height built into its viewBox. --trust-box (1.6) must equal
   TRUST_MARK_BOX in shared/trust-marks.ts. Monochrome images are white; .62 is the same 62% as
   --trust-mark. Wordmarks are Manrope 600. */
.gateway-trust-window{--trust-box:1.6;display:flex;flex:none;width:calc(var(--trust-slot) * var(--trust-slots));height:100%;color:var(--trust-mark)}
.gateway-trust-slot{display:grid;flex:none;place-items:center;width:var(--trust-slot);height:100%}
.gateway-trust-slot:nth-child(n+2){display:none}
.gateway-trust-slot[data-gateway-trust-empty]{visibility:hidden}
.gateway-trust-face{grid-area:1/1;display:block;width:calc(100% - var(--trust-gutter));height:calc(var(--trust-size) * var(--trust-box));fill:currentColor;pointer-events:none}
.gateway-trust-face image{opacity:.62}
.gateway-trust-face text{font-family:var(--font-family-sans);font-weight:600;letter-spacing:0}
.gateway-trust-face[data-gateway-trust-face=idle]{opacity:0}
@media(min-width:768px){
 .gateway-trust{--trust-band:36px;--trust-size:15px;--trust-slot:clamp(44px,calc((100vw - 300px) / 7),88px);--trust-gutter:12px;--trust-slots:7;gap:16px;font-size:12.5px}
 .gateway-trust-slot:nth-child(n+2){display:grid}
 .gateway-trust-slot:nth-child(n+8){display:none}
}
@media(min-width:1100px){
 /* Keep seven restrained, evenly spaced marks as the viewport grows. */
 .gateway-trust{--trust-slot:88px}
 /* Room for everything: the count keeps its width and a long eyebrow is what gives way. */
 .gateway-trust-reach{flex-shrink:0}
 .gateway-trust-companies{flex:0 1 auto;min-width:0;gap:14px}
 .gateway-trust-eyebrow{position:static;width:auto;height:auto;margin:0;min-width:0;overflow:hidden;clip:auto;text-overflow:ellipsis}
}
/* Without a backdrop blur, or when asked for less transparency, the band is solid enough to read. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.gateway-trust{background:color-mix(in srgb,var(--gateway-ground) 62%,transparent)}}
@media(prefers-reduced-transparency:reduce){.gateway-trust{background:color-mix(in srgb,var(--gateway-ground) 88%,transparent);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* The quiet frame (phones): the trust band leaves the top of the film and
   sits below the agents, full width, with four rotating slots. It follows the
   base trust rules so it wins on equal specificity. */
@media(max-width:767px){
 .gateway-shell>.gateway-trust{order:3;margin-top:24px}
 .gateway-trust{position:static;height:auto;--trust-band:46px;--trust-size:15px;--trust-slots:4;--trust-slot:calc((100vw - 2 * var(--gw-inset)) / 4);--trust-gutter:16px;flex-direction:column;align-items:flex-start;gap:6px;padding:22px var(--gw-inset) 20px;border-top:1px solid color-mix(in srgb,var(--gateway-ink) 13%,transparent);border-bottom:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:14px;white-space:normal}
 .gateway-trust-companies{width:100%;height:var(--trust-band)}
 .gateway-trust-slot:nth-child(n+2){display:grid}
 .gateway-trust-slot:nth-child(n+5){display:none}
 .gateway-trust-reach{flex:none}
}

.gateway-consent::backdrop{background:transparent;backdrop-filter:none}
.gateway-consent-options{font-size:14px;line-height:1.4}
.gateway-consent-options summary{display:list-item;min-height:44px;padding-block:12px;cursor:pointer;font-weight:550}
.gateway-consent-options .gateway-consent-categories{margin-bottom:0}
.gateway-consent-options .gateway-consent-footer{justify-content:flex-end;margin-top:0}
.gateway-consent> .gateway-consent-footer{margin-top:4px}
.gateway-consent :is(summary):focus-visible{outline:2px solid var(--public-focus-color);outline-offset:4px}
@media(max-width:767px){.gateway-consent{padding:20px}.gateway-consent-description{margin-bottom:14px}}

/* Box shadows disappear in forced colors. Keep keyboard focus visible and
   leave the language search's indicator on its one composite field shell. */
@media(forced-colors:active){
  :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid Highlight!important;box-shadow:none!important}
  .gateway-language-control:focus-within,.gateway-language-search:focus-within{outline:2px solid Highlight!important;box-shadow:none!important}
  .gateway-language-search input:focus{outline:none!important;box-shadow:none!important}
}

/* A quiet logo ribbon beneath the four homepage destinations. --trust-band is its least height; the tiles (a mark,
   then up to two lines of name) can always make it taller. A fixed 64px on desktop clipped every two-line name
   (15 Nov 2026). */
.gateway-shell[data-gateway-home] > .gateway-trust {
  --trust-band: 96px;
  --trust-size: 24px;
  --trust-slots: 8;
  --trust-gutter: 22px;
  display: block;
  width: min(100%, 1440px);
  height: auto;
  margin: clamp(24px, 4vw, 48px) auto 0;
  padding: 18px var(--gw-inset);
  /* The one rule on the homepage (owner, 12 Nov 2026: "Drop tile lines, keep rule"). */
  border-top: 1px solid var(--public-hairline);
  border-bottom: 0;
  white-space: normal;
}
[data-gateway-home] .gateway-trust-reach { display: none; }
[data-gateway-home] .gateway-trust-companies {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  height: auto;
  padding-block-start: 16px;
  border-block-start: 0;
}
[data-gateway-home] .gateway-trust-eyebrow {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: var(--gateway-ink);
  font-size: 16px;
  font-weight: 650;
}
[data-gateway-home] .gateway-trust-window {
  width: 100%;
  height: auto;
  min-height: var(--trust-band);
  overflow-x: auto;
  container-type: inline-size;
  scroll-snap-type: x proximity;
}
[data-gateway-home] .gateway-trust-window:focus-visible { outline: 2px solid var(--public-focus-color); }
/* The track, its groups and each tile stretch to the ribbon's height, which their own content sets. */
[data-gateway-home] .gateway-trust-track,
[data-gateway-home] .gateway-trust-group { height: auto; min-height: inherit; }
[data-gateway-home] .gateway-trust-slot:nth-child(n) {
  display: grid;
  height: auto;
  width: calc(100cqw / var(--trust-slots));
  scroll-snap-align: start;
}
/* The company's name under its logo (owner, 12 Nov 2026): muted, up to two lines, so a long name wraps rather than clips. */
[data-gateway-home] .gateway-trust-slot:has(.gateway-trust-name) {
  grid-template-rows: 1fr auto;
  align-content: center;
  justify-items: center;
  gap: 6px;
}
[data-gateway-home] .gateway-trust-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* Two lines reserved in every slot, so the logos share one row and every name starts on the same line. */
  min-height: 2.4em;
  max-width: calc(100% - 12px);
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--gateway-muted);
  font-size: 12.5px;
  line-height: 1.2;
  text-align: center;
}
.gateway-trust-track,
.gateway-trust-group {
  display: flex;
  flex: none;
  height: 100%;
}
.gateway-trust-track { direction: ltr; }
.gateway-trust-group { min-width: 100cqw; justify-content: space-around; }
.gateway-trust-group:nth-child(2) { display: none; }

@keyframes gateway-trust-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .gateway-trust-window:has(.gateway-trust-track):not(:focus-visible) {
    overflow-x: hidden;
    scroll-snap-type: none;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  }
  .gateway-trust-window:not(:focus-visible) .gateway-trust-track {
    /* trust.js sets the length from the number of logos, so each keeps the same pace. */
    animation: gateway-trust-scroll-right var(--trust-duration, 48s) linear infinite;
  }
  .gateway-trust-window:not(:focus-visible) .gateway-trust-group:nth-child(2) { display: flex; }
  @media (hover: hover) {
    .gateway-trust-window:hover .gateway-trust-track { animation-play-state: paused; }
  }
}
/* The white logo images turn ink on paper (white again in dark mode). The filter sits on the outer
   svg: Safari ignores CSS filters on elements inside an svg, so a filter on `image` left them white.
   At .66 they land on the same tone as the vector marks and names (--public-ink-2), light and dark. */
[data-gateway-home] .gateway-trust-face:has(image) { filter: brightness(0); }
:root.dark [data-gateway-home] .gateway-trust-face:has(image) { filter: brightness(0) invert(1); }
[data-gateway-home] .gateway-trust-face image { opacity: .66; }
@media (max-width: 767px) {
  .gateway-shell[data-gateway-home] > .gateway-trust { --trust-slots: 3; --trust-size: 20px; }
}

/* The agent gallery (owner, 12 Nov 2026: canvas round 3, variant 2). The dialog's clip starts on
   the hero film card (gallery.js sets --gallery-from) and grows to fill the screen; the columns
   settle in while it grows. Open 380ms on the drawer curve, close 200ms ease-out back to the card.
   Only clip-path, opacity and transform animate, as transitions, so an interruption reverses from
   where the sheet is. */
.gateway-gallery{
  position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;
  overflow:auto;overscroll-behavior:contain;
  background:var(--public-paper);color:var(--public-ink);font-family:var(--font-family-sans);
  clip-path:var(--gallery-from,inset(0 round 0));
  transition:clip-path 200ms cubic-bezier(.23,1,.32,1);
}
.gateway-gallery::backdrop{background:transparent}
.gateway-gallery.is-open{clip-path:inset(0 0 0 0 round 0);transition:clip-path 380ms cubic-bezier(.32,.72,0,1)}
/* gallery.js sets is-animating only while the sheet opens or closes. */
.gateway-gallery.is-animating{will-change:clip-path}
.gateway-gallery.is-animating .gateway-gallery-card{will-change:opacity,transform}
/* The page stops scrolling under the sheet; the stable gutter keeps it from shifting sideways. */
html.gateway-gallery-lock{overflow:hidden;scrollbar-gutter:stable}
.gateway-gallery-bar{
  position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:64px;padding:max(10px,env(safe-area-inset-top)) clamp(16px,2vw,28px) 10px;
  background:var(--public-paper);
}
.gateway-gallery-title{margin:0;font-size:19px;font-weight:650;letter-spacing:-.01em;outline:none}
/* Plain text on the sheet (owner, 12 Nov 2026: no underlay). The negative margin keeps the label
   on the content edge while the 44px target extends past it. */
.gateway-gallery-close{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;margin-inline-end:-10px;
  border:0;border-radius:var(--public-radius-control);
  background:none;color:var(--public-ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;
  transition:color 120ms ease,transform 160ms ease-out;
}
.gateway-gallery-close:hover{color:var(--public-ink-2)}
.gateway-gallery-close:active{transform:scale(.97)}
.gateway-gallery-close svg{width:16px;height:16px}
.gateway-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto 1fr;min-height:calc(100dvh - 64px)}
.gateway-gallery-card{
  /* Each card spans the grid's two rows (copy, film) as a subgrid, so the four films start on one
     line however long the copy above them runs. */
  position:relative;display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:20px;min-width:0;padding:28px clamp(16px,2vw,28px) 24px;
  color:var(--public-ink);text-decoration:none;
  opacity:0;transform:translateY(8px);transition:opacity 120ms ease-out,transform 120ms ease-out;
}
/* The columns start 120ms into the open, 40ms apart, rather than waiting for the sheet. */
.gateway-gallery.is-open .gateway-gallery-card{
  opacity:1;transform:none;
  transition:opacity 280ms cubic-bezier(.23,1,.32,1),transform 280ms cubic-bezier(.23,1,.32,1);transition-delay:120ms;
}
.gateway-gallery.is-open .gateway-gallery-card:nth-child(2){transition-delay:160ms}
.gateway-gallery.is-open .gateway-gallery-card:nth-child(3){transition-delay:200ms}
.gateway-gallery.is-open .gateway-gallery-card:nth-child(4){transition-delay:240ms}
.gateway-gallery-card:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:-4px;border-radius:var(--public-radius-control)}
.gateway-gallery-copy{display:flex;flex-direction:column;gap:6px}
.gateway-gallery-role{font-size:12.5px;font-weight:600;color:var(--public-ink-2)}
.gateway-gallery-name{font-size:inherit;font-weight:650;letter-spacing:-.03em;line-height:1.05}
/* Each agent's own mark beside its name, the same mark as its homepage tile (owner, 12 Nov 2026). */
.gateway-gallery-heading{display:flex;align-items:center;gap:.35em;font-size:clamp(24px,2.4vw,40px)}
.gateway-gallery-symbol{display:flex;flex:none;width:.8em;height:.8em;color:var(--public-ink)}
.gateway-gallery-symbol svg{display:block;width:100%;height:100%}
/* Each agent's mark in its identity colour, the same on the homepage tile and in the gallery
   (owner, 12 Nov 2026; canvas Round 5, A1); Prompeteer's is brand orange (owner, 15 Nov 2026). Scoped to the paper homepage: the full-screen film
   layout keeps its light marks. */
[data-gateway-home] [data-agent-mark="skilling"]{color:var(--public-accent)}
[data-gateway-home] [data-agent-mark="discovery"]{color:var(--public-second)}
[data-gateway-home] [data-agent-mark="finops"]{color:var(--public-highlight)}
[data-gateway-home] [data-agent-mark="business-agents"]{color:var(--public-assurance)}
/* The agent in focus plays its film (gallery.js); the others ease back behind a paper scrim, so
   the focus reads at a glance. Columns only: on a phone one card fills the view anyway. */
.gateway-gallery-media::after{content:"";position:absolute;inset:0;z-index:1;background:var(--public-paper);opacity:0;pointer-events:none;transition:opacity 280ms cubic-bezier(.23,1,.32,1)}
@media (min-width:768px){
  .gateway-gallery[data-gallery-has-focus] .gateway-gallery-card:not([data-gallery-focus]) .gateway-gallery-media::after{opacity:.5}
}
.gateway-gallery-description{font-size:16px;line-height:1.45;color:var(--public-ink-2)}
.gateway-gallery-media{
  position:relative;flex:1;min-height:260px;overflow:hidden;border-radius:var(--public-radius-surface);background:var(--public-surface-2);
}
.gateway-gallery-media picture,.gateway-gallery-media img,.gateway-gallery-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gateway-gallery-media video{opacity:0;transition:opacity 240ms ease}
.gateway-gallery-media.is-playing video{opacity:1}
.gateway-gallery-portraits{position:absolute;inset:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:3px}
.gateway-gallery-portraits img{position:static;object-position:50% 25%}
.gateway-gallery-mark{position:absolute;inset:0;display:grid;place-items:center;color:var(--public-ink-2)}
.gateway-gallery-mark svg{width:64px;height:64px}
.gateway-gallery-cta{
  position:absolute;z-index:2;inset-inline-start:14px;bottom:14px;max-width:calc(100% - 28px);display:inline-flex;align-items:center;
  min-height:44px;padding:0 18px;border-radius:var(--public-radius-control);
  background:var(--public-action);color:var(--public-ground);
  font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:transform 160ms ease-out;
}
.gateway-gallery-card:active .gateway-gallery-cta{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){
  .gateway-gallery-media img{transition:transform 600ms var(--public-ease)}
  .gateway-gallery-card:hover .gateway-gallery-media img{transform:scale(1.02)}
}
@media (min-width:768px) and (max-width:1023px){
  .gateway-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gateway-gallery-card{min-height:520px}
}
/* The filmstrip (owner, 12 Nov 2026: "Lets do filmstrips", "Yes, build it"). On a desktop the four
   agents stand side by side as film slices; the one in focus widens and plays its landscape loop,
   the others narrow to their portrait stills. Beacon opens in focus (gallery.js). The width eases on
   the in-out curve, so the strip moves as one piece and never waits on the columns' entrance. */
@media (min-width:1024px){
  .gateway-gallery-grid{display:flex;gap:12px;padding:4px clamp(16px,2vw,28px) clamp(16px,2vw,28px)}
  .gateway-gallery-card{flex:1 1 0;display:flex;flex-direction:column;gap:18px;padding:0}
  .gateway-gallery-card[data-gallery-focus]{flex-grow:3.2}
  .gateway-gallery-media{order:-1;flex:1;min-height:0}
  .gateway-gallery-copy{height:118px;overflow:hidden}
  .gateway-gallery-heading{font-size:24px}
  .gateway-gallery-role{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .gateway-gallery-description{min-width:30ch;max-width:44ch;transition:opacity 200ms ease}
  .gateway-gallery[data-gallery-has-focus] .gateway-gallery-card:not([data-gallery-focus]) .gateway-gallery-description{opacity:0}
  .gateway-gallery[data-gallery-has-focus] .gateway-gallery-card:not([data-gallery-focus]) .gateway-gallery-media::after{opacity:.28}
  .gateway-gallery.is-open .gateway-gallery-card{
    transition-property:opacity,transform,flex-grow;transition-duration:280ms,280ms,420ms;
    transition-timing-function:cubic-bezier(.23,1,.32,1),cubic-bezier(.23,1,.32,1),cubic-bezier(.77,0,.175,1);transition-delay:120ms,120ms,0ms;
  }
  .gateway-gallery.is-open .gateway-gallery-card:nth-child(2){transition-delay:160ms,160ms,0ms}
  .gateway-gallery.is-open .gateway-gallery-card:nth-child(3){transition-delay:200ms,200ms,0ms}
  .gateway-gallery.is-open .gateway-gallery-card:nth-child(4){transition-delay:240ms,240ms,0ms}
}
@media (max-width:767px){
  .gateway-gallery-grid{grid-template-columns:minmax(0,1fr);min-height:0}
  .gateway-gallery-card{gap:14px;padding:20px var(--gw-inset,16px) 24px}
  .gateway-gallery-heading{font-size:28px}
  .gateway-gallery-media{flex:none;min-height:0;aspect-ratio:16/9;border-radius:var(--public-radius-control)}
}
@media (prefers-reduced-motion:reduce){
  /* !important outranks the page-wide rule that removes every transition; the class selectors win on specificity. */
  .gateway-gallery,.gateway-gallery.is-open{clip-path:none;opacity:0;transition:opacity 150ms ease!important}
  .gateway-gallery.is-open{opacity:1}
  .gateway-gallery-card,.gateway-gallery.is-open .gateway-gallery-card{transform:none;transition:opacity 150ms ease!important;transition-delay:0ms!important}
}

/* Round 11 (owner, 14 Nov 2026: "Option 1, Tools in the top nav"; board R11-1-HomeOneScreen). */
/* "Tools" sits in the site nav beside Pricing and Zero Slop, a button like the links around it. */
.gateway-nav .gateway-nav-tools{position:relative;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 14px;border:0;border-radius:var(--public-radius-control);background:none;color:var(--gateway-ink);font:inherit;cursor:pointer;transition:color .18s var(--public-ease)}
.gateway-nav .gateway-nav-tools:hover{color:var(--public-accent)}
.gateway-nav .gateway-nav-tools:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.gateway-nav-tools-chevron{width:14px;height:14px;transition:transform 160ms var(--public-ease)}
.gateway-nav-tools[aria-expanded=true] .gateway-nav-tools-chevron,.gateway-shell:has(.gateway-tools-panel:popover-open) .gateway-nav-tools-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.gateway-nav-tools-chevron{transition:none}}
/* Phones keep Tools in the header too (Round 14, owner 14 Nov 2026), as a word beside Pricing. */
@media (max-width: 767px) {
  .gateway-nav .gateway-nav-tools{padding:0 6px}
}
/* On a tablet or desktop the menu drops from under the nav, aligned to the page's right edge: an inline menu, not a
   modal, so nothing behind it dims. Phones keep the sheet from the bottom. */
@media (min-width: 768px) {
  /* The menu sits outside the page shell, so it takes the shell's page edge (--gw-inset) as a value of its own. */
  .gateway-tools-panel,[dir=rtl] .gateway-tools-panel{top:68px;right:clamp(24px,4vw,64px);bottom:auto;left:auto;width:min(380px,calc(100vw - 32px));max-height:calc(100svh - 88px);padding:16px 20px;box-shadow:var(--public-shadow-overlay)}
  [dir=rtl] .gateway-tools-panel{right:auto;left:clamp(24px,4vw,64px)}
  .gateway-tools-panel::backdrop{background:transparent}
  /* One column, one row per tool, like a menu. */
  .gateway-tools-heading{margin-bottom:8px}
  .gateway-tools-heading h2{font-size:16px}
  .gateway-tools-skills{margin-bottom:4px;padding-bottom:4px}
  .gateway-tools-panel .gateway-includes{grid-template-columns:1fr;gap:0}
  .gateway-tools-panel .gateway-include{min-height:56px;padding:6px 0}
  .gateway-tools-panel .gateway-include-detail{margin-top:2px;font-size:13px;line-height:1.45}
  .gateway-skills-link{min-height:56px;padding:6px 0}
  .gateway-skills-count{margin-top:2px;font-size:13px;line-height:1.45}
}
/* The Human / Agent switch takes the footer's last column, in the row's own height. From 768 to 1100 px the footer
   is two rows, so the switch shares the first, beside Contact Sales. */
@media (min-width: 768px) and (max-width: 1100px) {
  .gateway-footer:has([data-public-view-slot]) .gateway-footer-primary{grid-column:1}
  .gateway-footer [data-public-view-slot]{grid-column:2;grid-row:1;justify-self:end}
}
@media (min-width: 1101px) {
  .gateway-footer:has([data-public-view-slot]){grid-template-columns:minmax(0,1fr) auto auto auto}
  .gateway-footer [data-public-view-slot]{grid-column:4}
}
/* One screen on desktop: the homepage is exactly the window's height, and the hero row takes whatever the products,
   the logo ribbon and the footer leave, so the ribbon and the footer always sit above the fold. Below 640 px of
   height, or on a phone, the page scrolls as before. */
@media (min-width: 1024px) and (min-height: 640px) {
  .gateway-shell[data-gateway-home] {
    height: 100svh;
    min-height: 640px;
  }
  [data-gateway-home] .gateway-header {
    padding-block: 10px;
  }
  [data-gateway-home] .gateway-content {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 24px;
    padding-top: 8px;
  }
  [data-gateway-home] .gateway-hero {
    min-height: 0;
    height: 100%;
  }
  [data-gateway-home] .gateway-stage {
    height: 100%;
    width: auto;
    max-width: 100%;
    justify-self: end;
  }
  .gateway-shell[data-gateway-home] > .gateway-trust {
    --trust-band: 64px;
    margin-top: 16px;
    padding-block: 12px 4px;
  }
  /* The label and the ribbon share one line. */
  [data-gateway-home] .gateway-trust-companies {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding-block-start: 0;
  }
  [data-gateway-home] .gateway-footer {
    padding-block: 4px max(8px, env(safe-area-inset-bottom));
  }
}

/* Round 11 (owner, 14 Nov 2026): on a phone the Human / Agent switch opens the footer, above Contact Sales. */
@media (max-width: 767px) {
  .gateway-footer [data-public-view-slot]{order:-1;width:100%;padding-top:12px}
}
