/* The landing parts (server/landing/parts.ts): header, hero, film card, section, logo row, closing band and footer
   columns, shared by every public landing page so they read as one designer's work (owner, 16 Nov 2026, "Agent Cards").
   The server-rendered homepage links this sheet beside gateway.css; the app links it from client/index.html. Every colour
   is a --public-* token (design-system/variables.css, mirrored in gateway.css), so each rule has its dark value.
   The action is ink; an agent's colour appears on its mark only. Three radii: control, surface and the pill.
   Type scale: 12.5 / 14 / 16 / 19 / 24, then the display sizes. */
/* The root is the containing block for anything positioned inside it (a visually hidden status line, say), so nothing
   escapes the page's scroller and lengthens the window. */
[data-landing]{--lp-ease-out:cubic-bezier(.23,1,.32,1);--lp-ease-in-out:cubic-bezier(.77,0,.175,1);--gw-inset:clamp(24px,4vw,64px);--lp-max:1240px;--lp-gap:12px;--lp-plate:var(--public-ground);display:block;position:relative;overflow:visible;background:var(--public-ground);font-size:16px;line-height:1.55}
:root.dark [data-landing]{--lp-plate:var(--public-ink)}
.gateway-page:has([data-landing]),:root:has([data-landing]){background:var(--public-ground)}
.lp-wrap,.lp-header,.lp-hero,.lp-cards{width:min(100%,var(--lp-max));margin-inline:auto;padding-inline:var(--gw-inset)}

/* Read by assistive technology only. */
.lp-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* One mark colour per agent, everywhere it is drawn (owner, 15 Nov 2026). */
[data-agent-mark="discovery"]{color:var(--public-second)}
[data-agent-mark="business-agents"]{color:var(--public-assurance)}
[data-agent-mark="skilling"]{color:var(--public-accent)}
[data-agent-mark="finops"]{color:var(--public-highlight)}
.lp-mark{display:inline-flex;flex:none;width:16px;height:16px}
.lp-mark svg,.lp-card-mark svg{display:block;width:100%;height:100%}

/* Buttons and links */
.lp-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:0;border-radius:999px;background:var(--public-action);color:var(--public-ground);font:inherit;font-size:16px;font-weight:600;line-height:1.2;white-space:nowrap;transition:transform 160ms var(--public-ease),opacity 160ms ease}
.lp-button-small{min-height:40px;padding:0 18px;font-size:14px}
/* A finger needs 44px; the small button is 40px only where a pointer is precise. */
@media(pointer:coarse),(max-width:767px){.lp-button-small{min-height:44px}}
.lp-button-inverse{background:var(--public-ground);color:var(--public-action)}
.lp-button:active{transform:scale(.97)}
.lp-button:focus-visible,.lp-link:focus-visible,.lp-menu-link:focus-visible,.lp-text-link:focus-visible,.lp-tab:focus-visible,.lp-menu-button:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.lp-link{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--public-radius-control);color:var(--public-ink-2);font-size:14px;font-weight:500;transition:color 160ms ease}
.lp-text-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:600;color:var(--public-ink)}
@media(hover:hover) and (pointer:fine){
  .lp-button:hover{opacity:.86}
  .lp-link:hover{color:var(--public-ink)}
  .lp-text-link:hover{text-decoration:underline;text-underline-offset:4px}
}
[dir=rtl] :is(.lp-card-arrow,.lp-text-link span[aria-hidden]){display:inline-block;transform:scaleX(-1)}

/* Header: logo, site links, account. On a phone the links live in the menu the button opens. */
/* The header and the footer span the window, wider than the page's column, so the logo and the account actions
   sit at the edges (owner, 17 Nov 2026). They keep the page's side gutter. */
.lp-header{display:flex;align-items:center;gap:8px;width:100%;padding-block:14px}
.lp-brand{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:auto}
/* An agent's own page names the agent beside the logo, after a hairline. */
.lp-brand:has(+ .lp-header-agent){margin-inline-end:14px}
.lp-header-agent{display:inline-flex;align-items:center;gap:8px;margin-inline-end:auto;padding-inline-start:14px;border-inline-start:1px solid var(--public-hairline-strong);font-size:14px;font-weight:600;line-height:1.3}
.lp-nav,.lp-account{display:flex;align-items:center;gap:4px}
.lp-account{margin-inline-start:12px}
.lp-account .lp-button{margin-inline-start:8px}
.lp-menu-button{display:none;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;padding:0 10px;border:0;border-radius:var(--public-radius-control);background:none;color:var(--public-ink)}
.lp-menu-button span{display:block;height:2px;border-radius:999px;background:currentColor}
/* height:auto replaces the browser's popover default (fit-content), which Safari resolves for this fixed panel as all
   the room below it; the grid then spread the links over that height. */
.lp-menu{position:fixed;inset:72px 16px auto;width:auto;height:auto;max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:8px;border:1px solid var(--public-hairline-strong);border-radius:var(--public-radius-surface);background:var(--public-ground);color:var(--public-ink);box-shadow:var(--public-shadow-overlay)}
.lp-menu:popover-open{display:grid;align-content:start;grid-auto-rows:max-content}
/* The veil takes the header's own ground: dark over a film stage, paper over a light page. */
.lp-menu::backdrop{background:color-mix(in srgb,var(--public-ground) 56%,transparent)}
html:has(.lp-menu:popover-open){overflow:hidden}
.lp-menu-link{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:var(--public-radius-control);font-size:16px;font-weight:500}
/* The app's language picker (components/LanguageSwitcher) in the header and in the phone menu. Its own hover ground
   is a light-theme colour, so on the dark stage the hover comes from the stage's ink. */
.lp-language{display:inline-flex;align-items:center}
.lp-stage .ls-trigger:hover{border-color:var(--public-hairline-strong);background:color-mix(in srgb,var(--public-ink) 10%,transparent)}
.lp-menu .lp-menu-language .ls-trigger{justify-content:flex-start;gap:10px;width:100%;height:auto;min-height:48px;padding-inline:12px}
.lp-menu .lp-menu-language .ls-trigger-label{max-width:none;font-size:16px;font-weight:500}
.lp-menu-link:is([data-gateway-signup],.lp-menu-primary){margin-top:8px;justify-content:center;border-radius:999px;background:var(--public-action);color:var(--public-ground);font-weight:600}

/* The stage ("Marquee"): a black first screen with one soft light behind the headline. */
.lp-stage{position:relative;isolation:isolate;padding-bottom:clamp(32px,4vw,56px);background:var(--public-stage-ground);color:var(--public-ink)}
.lp-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60% 46% at 28% 22%,color-mix(in srgb,var(--public-film-ink) 9%,transparent),transparent 70%)}
.lp-stage .lp-brand,.lp-stage .lp-link{color:var(--public-ink)}
/* The logo keeps the pack's own on-dark colours on the stage (owner, 16 Nov 2026: "in branded way and not all white"):
   its ink comes from the stage's logo tokens, never from the text colour around it. */
.lp-stage .gateway-brand-wordmark{--mantar-logo-ink:inherit}
/* Scenes behind the stage (owner, 16 Nov 2026): live lights and films, one after another, edge to edge, with the
   cards standing in front of the lower half. gateway/landing.js sets each scene on one of two layers; the styles
   here are the passage from one to the next. The stage's own soft light stays until the first scene is ready. */
.lp-stage::before{transition:opacity 900ms ease}
.lp-stage[data-lp-stage-live]::before{opacity:0}
.lp-stage-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
/* The films pause (owner, 17 Nov 2026: "Small icon in a corner"; WCAG 2.2 SC 2.2.2). Always shown while films can
   move: a 44px target round a 32px disc on a translucent stage-ground backing, so it reads over any frame without a
   shade over the film. Two bars while the films move; a play mark once paused. The focus ring is the repo's. */
.lp-pause{position:absolute;inset-inline-end:max(8px,calc(var(--gw-inset) - 6px));bottom:6px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:none;color:var(--public-film-ink);cursor:pointer}
.lp-pause::before{content:"";position:absolute;inset:6px;border:1px solid color-mix(in srgb,var(--public-film-ink) 28%,transparent);border-radius:999px;background:color-mix(in srgb,var(--public-stage-ground) 58%,transparent);transition:background-color 160ms ease}
.lp-pause-icon{position:relative;width:10px;height:12px;background:linear-gradient(90deg,currentColor 0 34%,transparent 34% 66%,currentColor 66%)}
.lp-pause[data-lp-paused] .lp-pause-icon{width:11px;margin-inline-start:2px;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%)}
.lp-pause:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
.lp-pause:active::before{background:color-mix(in srgb,var(--public-stage-ground) 76%,transparent)}
@media(hover:hover) and (pointer:fine){.lp-pause:hover::before{background:color-mix(in srgb,var(--public-stage-ground) 76%,transparent)}}
@media(forced-colors:active){.lp-pause::before{border-color:ButtonText;background:Canvas}.lp-pause-icon{background:ButtonText}}
.lp-stage-layer{position:absolute;inset:0;opacity:0}
.lp-stage-layer :is(img,video,canvas){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Films carry their own grade, so the page only holds them back a little; the lights are drawn at their own level. */
.lp-stage-layer :is(img,video){filter:brightness(.62) contrast(1.05)}
.lp-stage-layer video{opacity:0;transition:opacity 500ms ease}
.lp-stage-layer video[data-lp-film-state="playing"]{opacity:1}
.lp-stage-layer[data-lp-stage-layer="current"]{opacity:1}
/* The passage. The incoming scene lies over the outgoing one and is uncovered from the headline's side by a soft
   diagonal edge, while a streak of light travels with that edge: the eye follows the light and never sees a cut.
   The incoming picture settles from a touch larger; the outgoing one eases back and dims beneath it. Only the
   mask position, transform and opacity move. */
.lp-stage-layer[data-lp-stage-layer="leaving"]{opacity:1;animation:lp-stage-leave 1500ms var(--lp-ease-in-out) both}
.lp-stage-layer[data-lp-stage-layer="entering"]{z-index:1;opacity:1;-webkit-mask-image:linear-gradient(104deg,black 40%,transparent 60%);mask-image:linear-gradient(104deg,black 40%,transparent 60%);-webkit-mask-size:300% 100%;mask-size:300% 100%;animation:lp-stage-uncover 1500ms var(--lp-ease-in-out) both,lp-stage-arrive 2600ms var(--lp-ease-out) both}
.lp-stage-streak{position:absolute;inset:-25% auto -25% 0;z-index:2;width:26%;opacity:0;pointer-events:none;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--mantar-logo-ember) 34%,transparent) 38%,color-mix(in srgb,var(--public-film-ink) 62%,transparent) 50%,color-mix(in srgb,var(--mantar-logo-ember) 34%,transparent) 62%,transparent);filter:blur(22px);mix-blend-mode:screen;transform:translateX(-130%) skewX(-14deg)}
.lp-stage-media[data-lp-stage-pass] .lp-stage-streak{animation:lp-stage-streak 1500ms var(--lp-ease-in-out) both}
@keyframes lp-stage-uncover{from{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes lp-stage-arrive{from{transform:scale(1.07)}to{transform:none}}
@keyframes lp-stage-leave{to{opacity:.55;transform:scale(1.03)}}
@keyframes lp-stage-streak{0%{opacity:0;transform:translateX(-130%) skewX(-14deg)}18%{opacity:.9}82%{opacity:.9}100%{opacity:0;transform:translateX(520%) skewX(-14deg)}}
[dir=rtl] .lp-stage-media{transform:scaleX(-1)}
/* A neutral shade keeps the side the headline stands on, the head and the foot darkest, so the words lead. */
.lp-stage-grade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,color-mix(in srgb,var(--public-stage-ground) 60%,transparent),color-mix(in srgb,var(--public-stage-ground) 8%,transparent) 62%,color-mix(in srgb,var(--public-stage-ground) 20%,transparent)),linear-gradient(180deg,color-mix(in srgb,var(--public-stage-ground) 40%,transparent),transparent 20%,transparent 50%,color-mix(in srgb,var(--public-stage-ground) 88%,transparent) 96%)}
[dir=rtl] .lp-stage-grade{transform:scaleX(-1)}
.lp-stage:has(.lp-stage-media) :is(.lp-title,.lp-lede,.lp-link){text-shadow:0 1px 24px color-mix(in srgb,var(--public-stage-ground) 60%,transparent)}
.lp-stage:has(.lp-stage-media) .lp-lede{color:var(--public-ink)}
.lp-stage .lp-cards{padding-bottom:0}
/* A quiet label says whose cards these are, without a second headline. */
.lp-eyebrow.lp-cards-label{width:min(100%,var(--lp-max));margin:0 auto 12px;padding-inline:var(--gw-inset)}
/* Entrance (owner, 16 Nov 2026: the cards slide up; motion per the design-engineering pass): the tagline and the
   action settle first, then the cards rise one after another, 60 ms apart, on a strong ease-out so each starts fast
   and lands softly. Only transform and opacity move. The headline is never held back: it is the page's first paint.
   Everything rests in its final place, so with reduced motion, or before the animation runs, nothing is hidden. */
@media(prefers-reduced-motion:no-preference){
  .lp-stage :is(.lp-lede,.lp-actions,.lp-cards-label){animation:lp-settle 560ms var(--lp-ease-out) both}
  .lp-stage .lp-actions{animation-delay:60ms}
  .lp-stage .lp-cards-label{animation-delay:120ms}
  .lp-stage .lp-card{animation:lp-card-rise 680ms var(--lp-ease-out) 160ms both}
  .lp-stage .lp-card:nth-child(2){animation-delay:220ms}
  .lp-stage .lp-card:nth-child(3){animation-delay:280ms}
  .lp-stage .lp-card:nth-child(4){animation-delay:340ms}
  .lp-stage .lp-card:nth-child(5){animation-delay:400ms}
}
@keyframes lp-settle{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes lp-card-rise{from{opacity:0;transform:translateY(44px) scale(.985)}to{opacity:1;transform:none}}
/* Hero: headline left, tagline and the action right. */
.lp-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:end;gap:clamp(24px,5vw,72px);padding-block:clamp(28px,5vw,64px) clamp(24px,3vw,36px)}
.lp-eyebrow{margin:0 0 12px;font-family:var(--font-family-mono);font-size:12.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--public-ink-3)}
.lp-title{margin:0;max-width:16ch;font-size:clamp(36px,5vw,64px);font-weight:300;line-height:1.04;letter-spacing:-.05em;text-wrap:balance;overflow-wrap:break-word}
html:not(:lang(en)) .lp-title{letter-spacing:-.02em;line-height:1.15}
html:is(:lang(ar),:lang(fa),:lang(ur),:lang(ps),:lang(sd),: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(dv)) :is(.lp-title,.lp-heading,.lp-closing-title,.lp-card-promise,.lp-proof-number){letter-spacing:normal;line-height:1.4}
/* One shrinkable column: a form or a long action row narrows with the hero instead of pushing past the screen edge. */
.lp-hero-side{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;justify-items:start;min-width:0}
.lp-lede{margin:0;max-width:48ch;font-size:19px;line-height:1.5;color:var(--public-ink-2);text-wrap:pretty}
.lp-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.lp-hero-side>*{max-width:100%}

/* Film cards: the name small at the top, the promise large at the bottom, over a still that plays on demand. */
.lp-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--lp-gap);padding-bottom:clamp(32px,4vw,56px);outline:none}
.lp-card{box-shadow:0 0 0 1px color-mix(in srgb,var(--public-film-ink) 14%,transparent),0 24px 48px -20px color-mix(in srgb,var(--public-stage-ground) 60%,transparent);position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;gap:8px;aspect-ratio:4/5;min-width:0;padding:18px;overflow:hidden;border-radius:var(--public-radius-surface);background:var(--public-stage-ground);color:var(--public-film-ink);isolation:isolate}
.lp-card-media{position:absolute;inset:0;z-index:-1}
.lp-card-media :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lp-card-media video{opacity:0;transition:opacity 300ms ease}
.lp-card-media video[data-lp-film-state="playing"]{opacity:1}
.lp-card-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--public-stage-ground) 64%,transparent),color-mix(in srgb,var(--public-stage-ground) 6%,transparent) 42%,color-mix(in srgb,var(--public-stage-ground) 78%,transparent))}
.lp-card-mark{position:absolute;inset:0;display:grid;place-items:center;padding:34%}
.lp-card-name{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.3}
.lp-card-promise{align-self:end;font-size:clamp(19px,1.9vw,24px);font-weight:400;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
/* Every card reserves two lines for this, used or not, so a line that wraps never moves its card's promise off the
   row's shared baseline, and no line is cut short. */
.lp-card-detail{grid-column:1/-1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.8em;overflow:hidden;font-size:12.5px;line-height:1.4;opacity:.9}
.lp-card-arrow{grid-column:2;grid-row:2;align-self:end;font-size:19px;line-height:1.2;transition:transform 200ms var(--public-ease)}
.lp-card .gateway-agent-status{border-color:currentColor;background:none;color:inherit}
.lp-card:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:3px}
.lp-card{transition:transform 160ms var(--lp-ease-out)}
.lp-card:active{transform:scale(.985)}
@media(hover:hover) and (pointer:fine){
  .lp-card .lp-card-media :is(img,video){transition:transform 700ms var(--lp-ease-out),opacity 300ms ease}
  .lp-card:hover .lp-card-media :is(img,video){transform:scale(1.035)}
  .lp-card:hover .lp-card-arrow{transform:translateX(4px)}
  [dir=rtl] .lp-card:hover .lp-card-arrow{transform:scaleX(-1) translateX(4px)}
}

/* A page with five cards (Prompeteer's five values) sets five across on a desktop. */
@media(min-width:1024px){.lp-cards:has(>.lp-card:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Sections */
.lp-section{padding-block:clamp(40px,6vw,72px);border-top:1px solid var(--public-hairline)}
.lp-section-alt{background:var(--public-paper)}
.lp-heading{margin:0;font-size:clamp(26px,3.2vw,40px);font-weight:300;line-height:1.1;letter-spacing:-.04em;text-wrap:balance}
html:not(:lang(en)) :is(.lp-heading,.lp-closing-title){letter-spacing:-.015em;line-height:1.2}
.lp-sub{margin:10px 0 0;max-width:60ch;font-size:16px;color:var(--public-ink-2)}
.lp-heading+:not(.lp-sub),.lp-sub+*{margin-top:clamp(20px,3vw,32px)}
.lp-section-center :is(.lp-heading,.lp-sub){text-align:center;margin-inline:auto}
.lp-great-for{margin:0;font-size:14px;color:var(--public-ink-3)}

/* Section clips: a short screen recording of the product beside or under a section's words. The product window sits
   whole on the stage's black ground (contain, never cropped), the still holds its frame until the video plays in view,
   and the caption says what the screens show. On a desktop a section's words and its clip share a row; the page sets
   which side the clip takes, alternating it between sections. Two clips side by side form a row (.lp-clips). */
.lp-clip{display:grid;gap:10px;align-content:start;min-width:0;margin:0}
.lp-clip-media{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--public-radius-surface);background:var(--public-stage-ground);box-shadow:0 0 0 1px color-mix(in srgb,var(--public-film-ink) 14%,transparent),var(--public-shadow-rest)}
.lp-clip-media :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.lp-clip-media video{opacity:0;transition:opacity 300ms ease}
.lp-clip-media video[data-lp-film-state="playing"]{opacity:1}
.lp-clip-caption{margin:0;max-width:60ch;font-size:14px;line-height:1.5;color:var(--public-ink-2)}
.lp-clip-label{font-weight:500;color:var(--public-ink)}
.lp-clip-note{display:block;margin-top:4px;font-size:12.5px;color:var(--public-ink-3)}
.lp-split{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,32px);min-width:0}
.lp-split-text{min-width:0}
.lp-split+*,*+.lp-clips{margin-top:clamp(20px,3vw,32px)}
.lp-clips{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,32px)}
@media(min-width:768px){.lp-clips{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,24px)}}
@media(min-width:1024px){
  .lp-split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:clamp(32px,4vw,64px)}
  .lp-split[data-lp-media-side="start"]{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .lp-split[data-lp-media-side="start"] .lp-clip{order:-1}
}
@media(prefers-reduced-motion:reduce){.lp-clip-media video{transition:none}}
/* End section clips */

/* Proof numbers */
[data-lp-section="proof"]{padding-block:clamp(28px,4vw,44px)}
[data-lp-section="proof"] .lp-heading{font-size:16px;font-weight:500;letter-spacing:0;line-height:1.5;color:var(--public-ink-2)}
.lp-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:0;text-align:center}
/* Number first, label under it. The column is packed to its top (flex-end of a reversed column), so every number in
   a row sits on one line and a label that wraps only grows downward. */
.lp-proof>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:2px;min-width:0}
.lp-proof-number{margin:0;font-size:clamp(32px,4.4vw,52px);font-weight:300;line-height:1.1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.lp-proof-label{font-size:14px;line-height:1.35;color:var(--public-ink-3);text-wrap:balance}
@media(max-width:479px){
  /* Three figures across a phone: a smaller number and a tighter gap keep air at the screen's edges. */
  .lp-proof{gap:12px 8px}
  .lp-proof-number{font-size:30px}
  .lp-proof-label{font-size:12.5px}
}

/* Needs: tabs once the script runs; without it every panel reads in order. */
.lp-tablist{display:none;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:24px}
[data-lp-tabs-ready] .lp-tablist{display:flex}
.lp-tab{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid var(--public-hairline-strong);border-radius:999px;background:none;color:var(--public-ink-2);font-size:14px;font-weight:500;white-space:nowrap;transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,transform 160ms var(--public-ease)}
.lp-tab[aria-selected="true"]{border-color:var(--public-action);background:var(--public-action);color:var(--public-ground)}
/* The chosen tab is a solid ink pill, so its mark takes the pill's own ink; the others keep their agent's colour. */
.lp-tab[aria-selected="true"] .lp-mark{color:inherit}
.lp-tab:active{transform:scale(.97)}
.lp-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,48px);outline:none}
.lp-panel+.lp-panel{margin-top:32px}
[data-lp-tabs-ready] .lp-panel+.lp-panel{margin-top:0}
.lp-panel:focus-visible{box-shadow:var(--public-focus-ring);border-radius:var(--public-radius-surface)}
.lp-panel-media{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--public-radius-surface);background:var(--public-surface-2)}
.lp-panel-media :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lp-panel-media video{opacity:0;transition:opacity 300ms ease}
.lp-panel-media video[data-lp-film-state="playing"]{opacity:1}
.lp-panel-copy{display:grid;gap:10px;justify-items:start;min-width:0}
.lp-panel-copy h3{margin:0;font-size:24px;font-weight:400;line-height:1.2;letter-spacing:-.025em}
.lp-panel-copy p{margin:0}
.lp-panel-copy>p:not(.lp-great-for,.lp-agent-name){color:var(--public-ink-2)}
@media(prefers-reduced-motion:no-preference){
  [data-lp-tabs-ready] .lp-panel{transition:opacity 220ms ease;@starting-style{opacity:0}}
}

/* The four agents */
.lp-agents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,32px) clamp(20px,3vw,40px)}
.lp-agent{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:start;gap:18px;border-radius:var(--public-radius-surface)}
.lp-agent:focus-visible{outline:2px solid var(--public-focus-color);outline-offset:6px}
.lp-agent-media{position:relative;aspect-ratio:1;overflow:hidden;border-radius:var(--public-radius-surface);background:var(--public-surface-2)}
.lp-agent-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lp-agent-copy{display:grid;gap:6px;min-width:0}
.lp-agent-name{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;color:var(--public-ink-2)}
.lp-panel-copy>.lp-agent-name{color:var(--public-ink-2)}
.lp-agent-copy h3{margin:0;font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.lp-agent-copy p{margin:0}
.lp-agent-copy>p:not(.lp-agent-name,.lp-great-for){font-size:16px;color:var(--public-ink-2)}
@media(hover:hover) and (pointer:fine){.lp-agent:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}}

/* The Beacon check: one labelled field and its button. */
[data-lp-section="check"] .lp-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px clamp(24px,4vw,56px)}
[data-lp-section="check"] :is(.lp-heading,.lp-sub){grid-column:1}
[data-lp-section="check"] .lp-field{grid-column:2;grid-row:1/3;margin-top:0}
.lp-field .lp-button{min-height:44px}
.lp-field{display:flex;align-items:center;gap:8px;width:100%;min-width:0;max-width:520px;padding:6px;padding-inline-start:20px;border:1px solid var(--public-hairline-strong);border-radius:999px;background:var(--public-ground);transition:border-color 160ms ease}
.lp-field:focus-within{border-color:var(--public-focus-color);box-shadow:var(--public-focus-ring)}
.lp-field input{flex:1;min-width:0;min-height:44px;padding:0;border:0;outline:0;background:none;color:var(--public-ink);font:inherit;font-size:16px}
.lp-field input::placeholder{color:var(--public-ink-3)}

/* Customers. Two groups a reader can tell apart at a glance: the businesses that are customers, each in its own
   colours on one white plate divided by hairlines (one statement, not seven cards), and under it, in quiet single
   ink, the companies our users work at. Each customer logo is drawn at a height worked out from its own proportions
   (--lp-logo-h, shared/landing/customer-logos.ts), which gives a long wordmark and a stacked mark the same weight.
   The plate is light in both themes (--lp-plate), so a logo's own colours always sit on the ground they were drawn
   for. Three quote cards go under this band when approved testimonials exist. */
/* Four to a row, two rows: each logo has room to be read, and the plate is lifted off the section's ground. */
.lp-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;padding:0;overflow:hidden;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-hairline);box-shadow:var(--public-shadow-lift);list-style:none}
/* Fills what is left of the last row, so the hairline ground never shows as an empty cell. */
.lp-logos::after{content:"";grid-column:auto/-1;background:var(--lp-plate)}
.lp-logo{display:grid;place-items:center;min-width:0;min-height:152px;padding:28px 24px;background:var(--lp-plate)}
/* multiply: a logo file with its own white ground sits on the plate without a box showing round it. */
.lp-logo img{display:block;width:auto;max-width:min(100%,220px);height:var(--lp-logo-h);object-fit:contain;mix-blend-mode:multiply}
.lp-logo[hidden]{display:none}
/* A symbol-only logo with the company's name in type beside it. */
.lp-logo-lockup{display:inline-flex;align-items:center;gap:12px;max-width:100%}
.lp-logo-lockup img{flex:none;height:44px}
.lp-logo-lockup .lp-logo-name{font-size:19px;text-align:start}
.lp-logo-name{font-size:16px;font-weight:600;line-height:1.2;letter-spacing:-.02em;text-align:center;text-wrap:balance;color:var(--public-action)}
:root.dark .lp-logo-name{color:var(--public-ground)}
/* One cell at a time changes to a customer that was waiting (landing.js, mountLandingLogos). The logo fades with a
   slight blur so the eye reads one mark becoming another, not two marks overlapping; the cell itself never moves. */
.lp-logo>*{transition:opacity 260ms var(--lp-ease-out),filter 260ms var(--lp-ease-out),transform 200ms var(--lp-ease-out)}
/* Under a mouse the logo comes a step forward; a touch screen has no hover to get stuck on. */
@media(hover:hover) and (pointer:fine){.lp-logo:hover>*{transform:scale(1.04)}}
.lp-logo[data-lp-logo-swapping]>*{opacity:0;filter:blur(3px)}
.lp-logo[data-lp-logo-arriving]>*{animation:lp-logo-arrive 420ms var(--lp-ease-out) both}
@keyframes lp-logo-arrive{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:none}}
@media(max-width:1099px){
  .lp-logo{min-height:128px;padding:24px 18px}
  .lp-logo img{height:calc(var(--lp-logo-h) * .86)}
  .lp-logo-lockup img{height:38px}
  .lp-logo-lockup .lp-logo-name{font-size:16px}
}
@media(max-width:767px){
  /* Two to a row on a phone, drawn a little smaller so a wide wordmark still fits its cell. */
  .lp-logos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-logo{min-height:108px;padding:20px 14px}
  .lp-logo img{max-width:min(100%,150px);height:calc(var(--lp-logo-h) * .78)}
  .lp-logo-lockup{gap:8px}
  .lp-logo-lockup img{height:32px}
  .lp-logo-lockup .lp-logo-name{font-size:14px}
}
/* The "Trusted by professionals at" strip sits directly under the band as its second, quieter line: no rule of its
   own, a shorter ribbon, and on a wide screen the label and the ribbon share one row. */
/* The "Trusted by professionals at" line: its own slim band directly under the first screen, on the same ground as
   the numbers below it, with no rule of its own. On a wide screen the label and the ribbon share one row. */
.lp-trust-band{padding-block:clamp(20px,2.6vw,28px) 0;background:var(--public-paper)}
.lp-trust-band+.lp-section{border-top:0}
.lp-trust-band .gateway-trust{position:static;width:100%;margin:0;padding:0;border-top:0;--trust-band:56px}
.lp-trust-band .gateway-trust-companies{padding-block-start:0}
@media(min-width:1024px){
  .lp-trust-band .gateway-trust-companies{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:32px}
}

/* Questions */
.lp-faq{border-top:1px solid var(--public-hairline)}
.lp-faq-item{border-bottom:1px solid var(--public-hairline)}
.lp-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding-block:14px;font-size:16px;font-weight:500;cursor:pointer;list-style:none}
.lp-faq-item summary::-webkit-details-marker{display:none}
.lp-faq-item summary::after{content:"+";flex:none;font-size:19px;font-weight:300;line-height:1;color:var(--public-ink-3);transition:transform 200ms var(--public-ease)}
.lp-faq-item[open] summary::after{transform:rotate(45deg)}
.lp-faq-item summary:focus-visible{outline:none;box-shadow:var(--public-focus-ring);border-radius:var(--public-radius-control)}
.lp-faq-item p{margin:0;max-width:70ch;padding-bottom:18px;color:var(--public-ink-2)}

/* Closing band */
.lp-closing{padding-block:clamp(48px,7vw,88px);background:var(--public-action);color:var(--public-ground);text-align:center}
.lp-closing .lp-wrap{display:grid;justify-items:center;gap:24px}
/* In the app a base rule gives every heading the page ink (client/src/index.css). A landing heading takes the colour
   of the ground it stands on instead: the closing band's, where the page ink would be ink on ink, and the stage's. */
[data-landing] :is(.lp-title,.lp-closing-title){color:inherit}
.lp-closing-title{margin:0;max-width:20ch;font-size:clamp(28px,4vw,48px);font-weight:300;line-height:1.08;letter-spacing:-.045em;text-wrap:balance}
/* The filled action and, beside it, one quiet action that takes the band's own colour. */
.lp-closing-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 24px}
.lp-closing .lp-text-link{color:inherit}

/* Link rows: whole-row links to other pages, ruled apart. Two columns on a desktop, one on a phone. */
[data-landing] .lp-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--lp-gap);margin:clamp(20px,3vw,32px) 0 0;padding:0;list-style:none;border-bottom:1px solid var(--public-hairline)}
.lp-row{display:flex;align-items:center;gap:12px;min-height:64px;padding-block:12px;border-top:1px solid var(--public-hairline);color:var(--public-ink);font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;text-decoration:none}
.lp-row-icon{display:inline-flex;flex:none;color:var(--public-ink-3)}
.lp-row-name{flex:1;min-width:0;overflow-wrap:anywhere}
.lp-row-arrow{flex:none;color:var(--public-ink-3)}
.lp-row:focus-visible{outline:none;box-shadow:var(--public-focus-ring);border-radius:var(--public-radius-control)}
[dir=rtl] .lp-row-arrow{transform:scaleX(-1)}
@media(hover:hover){
  .lp-row:hover :is(.lp-row-icon,.lp-row-arrow){color:var(--public-ink)}
}
/* The arrow leans toward where the row goes; nothing moves for someone who asked for less motion. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .lp-row-arrow{transition:transform 160ms cubic-bezier(.23,1,.32,1)}
  .lp-row:hover .lp-row-arrow{transform:translateX(4px)}
  [dir=rtl] .lp-row:hover .lp-row-arrow{transform:translateX(-4px) scaleX(-1)}
}
@media(max-width:767px){
  [data-landing] .lp-rows{grid-template-columns:minmax(0,1fr)}
}

/* Footer columns, above the page's existing utility row. */
.lp-footer{padding-block:clamp(32px,4vw,48px) 16px;border-top:1px solid var(--public-hairline);background:var(--public-ground);color:var(--public-ink)}
.lp-footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%}
.lp-footer-column h2{margin:0 0 8px;font-size:14px;font-weight:600;line-height:1.4}
.lp-footer-column ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
.lp-footer-column :is(a,.lp-footer-button){display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0;border:0;background:none;color:var(--public-ink-2);font:inherit;font-size:14px;text-align:start}
.lp-footer-column :is(a,.lp-footer-button):focus-visible{outline:none;box-shadow:var(--public-focus-ring);border-radius:var(--public-radius-control)}
@media(hover:hover) and (pointer:fine){.lp-footer-column :is(a,.lp-footer-button):hover{color:var(--public-ink)}}
.lp-footer-detail{font-size:12.5px;color:var(--public-ink-3)}
[data-landing] .gateway-footer{width:100%;padding-inline:var(--gw-inset);border-top:1px solid var(--public-hairline);background:var(--public-ground)}

@media(min-width:768px) and (max-width:1023px){
  /* Four across is too narrow for the lines here: two rows of two wide cards. */
  .lp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-card{aspect-ratio:16/10}
}
@media(min-width:768px) and (max-width:1023px){
  /* Five cards would leave one alone on a third row: they swipe instead, like on a phone, with the next one peeking. */
  .lp-cards:has(>.lp-card:nth-child(5)){display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gw-inset);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .lp-cards:has(>.lp-card:nth-child(5))::-webkit-scrollbar{display:none}
  .lp-cards:has(>.lp-card:nth-child(5)) .lp-card{flex:0 0 42%;aspect-ratio:4/5;scroll-snap-align:start}
}
@media(max-width:1023px){
  .lp-agents{grid-template-columns:minmax(0,1fr)}
  /* Below desktop width the page links move into the menu: a header with an agent name, links, a language control
     and two account actions does not fit a tablet. Sign in and the action stay in the bar until phone width. */
  .lp-nav{display:none}
  .lp-menu-button{display:flex}
  /* Touch widths: every footer link is a full 44 px target. */
  .lp-footer-column :is(a,.lp-footer-button){min-height:44px}
}
/* Phone: a menu button for the links, a full-width action, and the cards as a swipe row with the next card peeking. */
@media(max-width:767px){
  /* The signature films keep their light on the right, where a phone's centre crop would miss it. */
  .lp-stage-layer :is(img,video){object-position:70% 50%}
  [data-landing]{--gw-inset:16px}
  .lp-nav{display:none}
  .lp-account{display:none}
  .lp-menu-button{display:flex}
  .lp-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;padding-block:20px 24px}
  .lp-title{max-width:none;font-size:clamp(32px,9vw,40px)}
  .lp-lede{font-size:16px}
  .lp-hero-side{justify-items:stretch}
  .lp-actions .lp-button{flex:1}
  .lp-cards{display:flex;gap:10px;width:100%;padding-inline:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .lp-cards::-webkit-scrollbar{display:none}
  .lp-card{flex:0 0 72%;scroll-snap-align:start}
  .lp-card-promise{font-size:24px}
  .lp-tablist{flex-wrap:nowrap;justify-content:flex-start;margin-inline:-16px;padding-inline:16px;overflow-x:auto;scrollbar-width:none}
  .lp-tablist::-webkit-scrollbar{display:none}
  .lp-panel{grid-template-columns:minmax(0,1fr);gap:16px}
  .lp-agent{grid-template-columns:88px minmax(0,1fr);gap:14px}
  [data-lp-section="check"] .lp-wrap{grid-template-columns:minmax(0,1fr)}
  [data-lp-section="check"] .lp-field{grid-column:1;grid-row:auto;margin-top:16px;max-width:none}
  .lp-field{padding-inline-start:16px}
  .lp-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .lp-button,.lp-card,.lp-card-arrow,.lp-card .lp-card-media :is(img,video),.lp-tab,.lp-faq-item summary::after,.lp-stage-layer video{transition:none}
  .lp-card:hover .lp-card-media :is(img,video){transform:none}
  .lp-stage-layer,.lp-stage-streak{animation:none}
}
@media(forced-colors:active){
  .lp-button,.lp-tab[aria-selected="true"]{border:1px solid ButtonText}
  .lp-card-media::after{display:none}
}

/* ── /welcome (Prompeteer): the five points and the sections under them. Page-specific; every rule is scoped to
   [data-landing="welcome"]. Boxes, name labels and the worked example use the same tokens, radii and type scale as
   the parts above. ── */
[data-landing="welcome"] .lp-section-tag{margin-bottom:10px}
[data-landing="welcome"] .lp-wrap>*+:is(.lp-boxes,.lp-names,.lp-example){margin-top:clamp(20px,3vw,32px)}
[data-landing="welcome"] .lp-wrap>*+:is(.lp-note,.lp-text-link){margin-top:16px}
/* Two figures or three, as many as have a source. */
/* /welcome shows three figures in one row at every width, like the homepage: auto-fit dropped the third onto a row of
   its own on a phone. */
/* The demo is the quiet second action: the app's outline button, in the first action's shape. */
[data-landing="welcome"] .lp-actions .public-cta{min-height:48px;padding-inline:24px;border-radius:999px;font-size:16px}
[data-landing="welcome"] .lp-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--lp-gap);margin-bottom:0;padding:0;list-style:none}
[data-landing="welcome"] .lp-boxes[data-lp-columns="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
[data-landing="welcome"] .lp-box{display:grid;align-content:start;justify-items:start;gap:8px;min-width:0;padding:20px;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-paper)}
[data-landing="welcome"] .lp-section-alt .lp-box{background:var(--public-ground)}
[data-landing="welcome"] .lp-box .lp-eyebrow{margin:0}
[data-landing="welcome"] .lp-box-title{margin:0;font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}
[data-landing="welcome"] .lp-box-body{margin:0;font-size:16px;color:var(--public-ink-2)}
[data-landing="welcome"] .lp-box-link{display:inline-flex;align-items:center;min-height:44px;border-radius:var(--public-radius-control);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--public-hairline-strong)}
[data-landing="welcome"] .lp-box-link:focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
/* Names are labels to read, not controls: no hover, no pointer. */
[data-landing="welcome"] .lp-names{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:0;padding:0;list-style:none}
[data-landing="welcome"] .lp-names li{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--public-hairline);border-radius:999px;font-size:14px;font-weight:500;color:var(--public-ink-2)}
[data-landing="welcome"] .lp-names .lp-names-more{border-color:transparent;padding-inline:4px;color:var(--public-ink-3)}
/* The worked example: the task as typed, then what Prompeteer made of it. */
[data-landing="welcome"] .lp-example-label{margin-bottom:10px}
[data-landing="welcome"] .lp-example-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.2fr);align-items:center;gap:var(--lp-gap)}
[data-landing="welcome"] .lp-example-arrow{font-size:24px;line-height:1;color:var(--public-ink-3)}
[dir=rtl] [data-landing="welcome"] .lp-example-arrow{transform:scaleX(-1)}
[data-landing="welcome"] .lp-note{margin-bottom:0;font-size:14px;color:var(--public-ink-3)}
@media(hover:hover) and (pointer:fine){[data-landing="welcome"] .lp-box-link:hover{text-decoration-color:currentColor}}
@media(min-width:768px) and (max-width:1023px){
  [data-landing="welcome"] .lp-boxes[data-lp-columns="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
  [data-landing="welcome"] .lp-boxes{grid-template-columns:minmax(0,1fr)}
  [data-landing="welcome"] .lp-boxes[data-lp-columns="6"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-landing="welcome"] .lp-box{padding:16px}
  [data-landing="welcome"] .lp-example-pair{grid-template-columns:minmax(0,1fr)}
  [data-landing="welcome"] .lp-example-arrow{justify-self:center;transform:rotate(90deg)}
  /* Both actions take the full width, one under the other when the labels are long. */
  [data-landing="welcome"] .lp-actions>span{flex:1}
  [data-landing="welcome"] .lp-actions .public-cta{width:100%}
}
/* ── end /welcome ── */

/* ── Teammates (/agent-team, signed out): this page's own parts, drawn by
   client/src/components/agent-team/TeammatesLanding.tsx. Everything here is scoped to the page. ── */
/* A role card's still is its portrait: a square picture in a tall card, held on the face. A film's still keeps the
   film's own framing, so the picture does not jump when the film starts. */
[data-landing="teammates"] .lp-card-media img:only-child{object-position:50% 18%}
/* The role cards on the stage: each agent's film in full at the top, at full strength and with nothing over it, and
   the words below it on the card's own paper (owner, 17 Nov 2026: "focused on", then "Move the text below the
   film"). The film is square, as the films are; the four cards keep one height. The card is the films' own pale paper
   with dark words in both themes, so a portrait and its words sit on one ground (the ink tokens inside a film card
   are its on-film light values, so the card names the theme-independent film tokens here). */
[data-landing="teammates"] .lp-stage .lp-card{grid-template-rows:auto auto 1fr auto;gap:6px 12px;aspect-ratio:auto;padding:0 0 16px;background:var(--public-film-ink);color:var(--public-stage-ground)}
[data-landing="teammates"] .lp-stage .lp-card-media{position:relative;z-index:0;grid-column:1/-1;grid-row:1;aspect-ratio:1/1;margin-bottom:8px;overflow:hidden;background:var(--public-film-ink)}
[data-landing="teammates"] .lp-stage .lp-card-media::after{display:none}
[data-landing="teammates"] .lp-stage .lp-card-name{grid-row:2;padding-inline:16px;color:color-mix(in srgb,var(--public-stage-ground) 72%,transparent)}
[data-landing="teammates"] .lp-stage .lp-card-promise{grid-column:1;grid-row:3;align-self:start;padding-inline-start:16px}
[data-landing="teammates"] .lp-stage .lp-card-arrow{grid-row:3;align-self:start;padding-inline-end:16px}
[data-landing="teammates"] .lp-stage .lp-card-detail{grid-row:4;min-height:0;padding-inline:16px;color:color-mix(in srgb,var(--public-stage-ground) 62%,transparent);opacity:1}
[data-landing="teammates"] .lp-actions{align-items:center;gap:8px 20px}
[data-landing="teammates"] :is(.tm-department,.tm-team-member):focus-visible{outline:none;box-shadow:var(--public-focus-ring)}
/* Every picture of a person says what it is. */
[data-landing="teammates"] .tm-ai-label{font-family:var(--font-family-mono);font-size:12.5px;font-weight:500;line-height:1.4;color:var(--public-ink-3);white-space:nowrap}
/* Tiles, job cards, team cards and steps sit on paper, or on the ground where the section itself is paper. */
[data-landing="teammates"] :is(.tm-department,.tm-job,.tm-team,.tm-step){border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-paper);color:var(--public-ink)}
[data-landing="teammates"] .lp-section-alt :is(.tm-department,.tm-job,.tm-team,.tm-step){background:var(--public-ground)}
/* Departments */
[data-landing="teammates"] .tm-departments{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--lp-gap);margin-bottom:0;padding:0;list-style:none}
[data-landing="teammates"] .tm-department{display:flex;flex-direction:column;justify-content:space-between;gap:6px;height:100%;min-height:84px;padding:14px 16px;transition:border-color 160ms ease,transform 160ms var(--public-ease)}
[data-landing="teammates"] .tm-department:active{transform:scale(.98)}
[data-landing="teammates"] .tm-department-name{font-size:16px;font-weight:600;line-height:1.3}
[data-landing="teammates"] .tm-department-count{font-size:14px;color:var(--public-ink-3)}
[data-landing="teammates"] .tm-department-all{justify-content:center;border-style:dashed;border-color:var(--public-hairline-strong);background:none}
@media(hover:hover) and (pointer:fine){
  [data-landing="teammates"] .tm-department:hover{border-color:var(--public-hairline-strong)}
  [data-landing="teammates"] .tm-team-member:hover{text-decoration:underline;text-underline-offset:4px}
}
/* Loading and failed parts keep their place and say what they are. */
[data-landing="teammates"] .tm-skeleton{display:block;border-color:transparent;background:var(--public-surface-2);animation:tm-pulse 1.6s ease-in-out infinite}
[data-landing="teammates"] .tm-skeleton-block{min-height:220px;border-radius:var(--public-radius-surface)}
@keyframes tm-pulse{50%{opacity:.55}}
[data-landing="teammates"] .tm-note{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;color:var(--public-ink-2)}
[data-landing="teammates"] .tm-note p{margin:0}
[data-landing="teammates"] .tm-note button{padding:0;border:0;border-radius:var(--public-radius-control);background:none;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
/* Inside an agent: who it is on the left, its first jobs and their skills on the right. */
[data-landing="teammates"] .tm-inside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:clamp(20px,4vw,48px)}
[data-landing="teammates"] .tm-inside-agent{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:start;gap:20px}
[data-landing="teammates"] .tm-inside-portrait{display:grid;gap:8px}
[data-landing="teammates"] .tm-inside-copy{display:grid;gap:10px;justify-items:start;min-width:0}
[data-landing="teammates"] .tm-inside-copy h3{margin:0;font-size:24px;font-weight:400;line-height:1.2;letter-spacing:-.025em}
[data-landing="teammates"] .tm-inside-copy p{margin:0;color:var(--public-ink-2)}
[data-landing="teammates"] .tm-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;min-width:0;margin:0;padding:0;list-style:none;font-size:14px;font-weight:600}
/* A long fact (the scan line) wraps inside its column instead of running off a narrow phone. */
[data-landing="teammates"] .tm-facts li{min-width:0;max-width:100%}
[data-landing="teammates"] .tm-facts li *{white-space:normal}
[data-landing="teammates"] .tm-jobs{display:grid;gap:var(--lp-gap);margin:0;padding:0;list-style:none}
[data-landing="teammates"] .tm-job{padding:16px 18px}
[data-landing="teammates"] .tm-job h4{margin:0 0 8px;font-size:16px;font-weight:600;line-height:1.35}
[data-landing="teammates"] .tm-skills{display:grid;gap:2px;margin:0;padding:0;list-style:none;font-size:14px;color:var(--public-ink-2)}
/* Teams: what the team delivers leads, then its name and who is in it. */
[data-landing="teammates"] .tm-teams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--lp-gap);margin-bottom:0;padding:0;list-style:none}
[data-landing="teammates"] .tm-team{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px}
[data-landing="teammates"] .tm-team-outcome{margin:0;font-size:19px;line-height:1.35;letter-spacing:-.015em}
[data-landing="teammates"] .tm-team h3{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--public-ink-2)}
[data-landing="teammates"] .tm-team-members{display:grid;gap:4px;margin:auto 0 0;padding:12px 0 0;border-top:1px solid var(--public-hairline);list-style:none}
[data-landing="teammates"] .tm-team-members li{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}
[data-landing="teammates"] .tm-team-portrait{flex:none;width:32px}
[data-landing="teammates"] .tm-team-member{display:block;min-width:0;padding-block:12px;overflow:hidden;border-radius:var(--public-radius-control);font-weight:500;line-height:1.4;text-overflow:ellipsis;white-space:nowrap;color:var(--public-ink)}
[data-landing="teammates"] .tm-team-members .tm-ai-label{flex:none;margin-inline-start:auto}
[data-landing="teammates"] .tm-more{margin-bottom:0}
/* Install */
[data-landing="teammates"] .tm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--lp-gap);margin-bottom:0;padding:0;list-style:none}
[data-landing="teammates"] .tm-step{padding:20px}
[data-landing="teammates"] .tm-step h3{margin:0 0 8px;font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
[data-landing="teammates"] .tm-step p{margin:0;color:var(--public-ink-2)}
/* The role catalogue: the roster the signed-in page shows, under its own heading. */
[data-landing="teammates"] .tm-roles{padding-top:clamp(40px,6vw,72px);border-top:1px solid var(--public-hairline)}
[data-landing="teammates"] .tm-roles-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px;padding-bottom:16px}
@media(max-width:1023px){
  [data-landing="teammates"] :is(.tm-inside,.tm-teams){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
  [data-landing="teammates"] .tm-departments{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-landing="teammates"] .tm-inside-agent{grid-template-columns:96px minmax(0,1fr);gap:14px}
  [data-landing="teammates"] .tm-steps{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  [data-landing="teammates"] .tm-skeleton{animation:none}
  [data-landing="teammates"] .tm-department{transition:none}
}
/* ── end Teammates ── */

/* ── Beacon (/ai-visibility, signed out) ──
   The stage holds the free check's one field; the sections under it are tiles in rows. */
/* The check: a visible label, the field with its button, then one quiet line. On the stage it takes the full side. */
[data-landing="beacon"] .lp-check{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;max-width:520px}
/* On a tablet the form needs the full width to show a whole address beside its button: the hero stacks. */
@media(min-width:768px) and (max-width:1023px){[data-landing="beacon"] .lp-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px}}
[data-landing="beacon"] .lp-check-label{font-size:14px;font-weight:600;line-height:1.4;color:var(--public-ink)}
[data-landing="beacon"] .lp-check :is(.lp-check-note,.lp-check-error){margin:0;font-size:14px;line-height:1.5;color:var(--public-ink-2)}
/* On the black stage the danger red is too dim to read, so the error is ink and bold; the field is marked invalid too. */
[data-landing="beacon"] .lp-check .lp-check-error{font-weight:600;color:var(--public-ink)}
[data-landing="beacon"] .lp-field:has(input:disabled){border-style:dashed}
[data-landing="beacon"] .lp-field input:disabled{color:var(--public-ink-2)}
[data-landing="beacon"] .lp-field .lp-button:disabled{opacity:.72;cursor:progress}
/* The audience switch is the app's tab control (components/ui/tabs.tsx), dressed here as the landing's pills; these
   rules outrank that control's utility classes. Both panels stay in the page: the one not chosen is hidden, and a
   panel's own heading is read by assistive technology only (the server's page shows both to a reader without script). */
[data-landing="beacon"] .lp-tablist{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;max-width:none;margin:0 0 24px;padding:0;border:0;border-radius:0;background:none;overflow:visible}
[data-landing="beacon"] .lp-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:auto;min-height:44px;padding:0 18px;border:1px solid var(--public-hairline-strong);border-radius:999px;background:none;color:var(--public-ink-2);font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer}
[data-landing="beacon"] .lp-tablist .lp-tab[data-state="active"]{border-color:var(--public-action);background:var(--public-action);color:var(--public-ground)}
[data-landing="beacon"] .lp-tabpanel{margin-top:0}
[data-landing="beacon"] .lp-tabpanel[data-state="inactive"]{display:none}
[data-landing="beacon"] .lp-tabpanel-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Tiles: one card look for audiences, tiers, steps and examples. */
[data-landing="beacon"] :is(.bl-audiences,.bl-tiers,.bl-steps,.bl-examples,.bl-tier-lines){display:grid;gap:var(--lp-gap);margin-bottom:0;padding:0;list-style:none}
[data-landing="beacon"] :is(.bl-audiences,.bl-steps){grid-template-columns:repeat(4,minmax(0,1fr))}
[data-landing="beacon"] .bl-tiers{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-landing="beacon"] .bl-examples{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-landing="beacon"] .bl-tile{display:grid;align-content:start;justify-items:start;gap:8px;min-width:0;padding:20px;border:1px solid var(--public-hairline);border-radius:var(--public-radius-surface);background:var(--public-paper);color:var(--public-ink)}
[data-landing="beacon"] .lp-section-alt .bl-tile{background:var(--public-ground)}
[data-landing="beacon"] .bl-tile :is(h3,h4){margin:0;font-size:19px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
[data-landing="beacon"] .bl-tile p{margin:0;color:var(--public-ink-2)}
[data-landing="beacon"] .bl-tile-wide{max-width:60ch}
/* Tiers: what it takes, the name, what you see, then the way in at the foot of the tile. */
[data-landing="beacon"] .bl-tier{grid-template-rows:auto auto 1fr auto}
[data-landing="beacon"] .bl-tier .bl-tier-condition{font-family:var(--font-family-mono);font-size:12.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--public-ink-3)}
[data-landing="beacon"] .bl-tier-lines{gap:0;width:100%;margin-block:4px 8px}
[data-landing="beacon"] .bl-tier-lines li{padding-block:10px;border-top:1px solid var(--public-hairline);color:var(--public-ink-2)}
/* The access policy under the tiers: a quiet note, as the homepage's .lp-note. */
[data-landing="beacon"] .lp-note{max-width:80ch;margin:16px 0 0;font-size:14px;color:var(--public-ink-3)}
/* Examples: the figure, then where it sits in its likely range. The bar repeats the sentence under it. */
[data-landing="beacon"] .bl-example-value{font-size:clamp(32px,4.4vw,52px);font-weight:300;line-height:1.1;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:var(--public-ink)}
[data-landing="beacon"] .bl-range{position:relative;display:block;width:100%;height:8px;margin-block:4px;border-radius:999px;background:var(--public-surface-2)}
[data-landing="beacon"] .bl-range-band{position:absolute;inset-block:0;inset-inline-start:var(--bl-low);width:calc(var(--bl-high) - var(--bl-low));border-radius:999px;background:var(--public-second-edge)}
[data-landing="beacon"] .bl-range-mark{position:absolute;top:50%;inset-inline-start:var(--bl-at);width:14px;height:14px;border:2px solid var(--public-paper);border-radius:999px;background:var(--public-second);transform:translate(-50%,-50%)}
[dir=rtl] [data-landing="beacon"] .bl-range-mark{transform:translate(50%,-50%)}
@media(max-width:1023px){
  [data-landing="beacon"] :is(.bl-audiences,.bl-steps){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  [data-landing="beacon"] :is(.bl-audiences,.bl-steps,.bl-tiers,.bl-examples){grid-template-columns:minmax(0,1fr)}
  [data-landing="beacon"] .bl-tile{padding:16px}
  [data-landing="beacon"] .lp-check{max-width:none}
  /* A long translated button never squeezes the address out of the field. */
  [data-landing="beacon"] .lp-field{flex-wrap:wrap;border-radius:var(--public-radius-surface);padding:8px}
  [data-landing="beacon"] .lp-field input{flex:1 1 100%;padding-inline:8px}
  [data-landing="beacon"] .lp-field .lp-button{flex:1 1 100%}
}
/* ── end Beacon ── */
