/* MobiusEngine Jobs: one page in Treg's visual language (spec: Treg Design and Animation Specification, 2026-10-29).
   Values are Treg's final effective rules, consolidated; height breakpoints follow its cascade order. */

:root {
  --bg: #f8f8f8; --surface: #fff; --panel: #f8f8f8; --panel2: #f0f0f0;
  --ink: #1a1a1a; --muted: #7c7c7c; --muted2: #989898;
  --line: rgba(0, 0, 0, .1); --line2: rgba(37, 37, 34, .2);
  --inverse: #1a1a1a; --inverse-ink: #fff;
  --green: #118453; --amber: #ba6603; --red: #c0362f;
  --r: 20px; --rb: 12px; --card-radius: 32px;
  --shadow-sm: 0 2px 2px #00000008; --shadow-md: 0 2px 5px #00000007; --shadow-lg: 0 4px 18px #00000009;
  --ease: cubic-bezier(.2, .72, .25, 1); --ease-out: cubic-bezier(.22, 1, .36, 1);
  --display: "Geist Pixel", Georgia, serif;
  --sans: "Suisse Intl", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; min-width: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
body::before {
  /* only as tall as the header (~90px), so it never washes over the top of a dark chart below it */
  content: ""; position: fixed; inset: 0 0 auto; height: 96px; z-index: 45; pointer-events: none;
  opacity: var(--top-veil-opacity, 1); transition: opacity .3s;
  background: linear-gradient(#fff 0%, rgba(255, 255, 255, .96) 24%, rgba(255, 255, 255, .78) 48%, rgba(255, 255, 255, .35) 72%, rgba(255, 255, 255, 0) 100%);
}
body[data-dark-nav] { --top-veil-opacity: 0; }
a { color: var(--ink); text-decoration: none; }
code { font-family: var(--mono); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 99; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px; padding: 24px 40px;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--ink); }
.brand .glyph, .glyph {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--inverse); color: var(--inverse-ink); flex: 0 0 auto;
}
.glyph svg { width: 57%; height: 57%; display: block; fill: currentColor; }
/* MobiusEngine's own favicon (a mark on a white tile): a border and a shadow make the tile read at Treg's glyph size */
.logo { display: block; width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nav .links a.navico { display: inline-flex; align-items: center; gap: 7px; }
.nav .links a.navico svg { width: 13px; height: 13px; display: block; fill: currentColor; }
/* the data source under the name, lined up with the name's first letter */
.brandbox { display: flex; flex-direction: column; gap: 2px; }
.powered { font-family: var(--mono); font-size: 10.5px; letter-spacing: .01em; color: var(--muted); padding-left: 39px; transition: color .2s; white-space: nowrap; }
.powered:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
body[data-dark-nav] .nav .powered { color: #9aa29e; }
body[data-dark-nav] .nav .powered:hover { color: #fff; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav .links a { font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav .links a:hover { color: var(--ink); }
.nav .links a.candy { color: var(--inverse-ink); font-size: 12.5px; }
body[data-dark-nav] .nav .brand { color: #fff; }
body[data-dark-nav] .nav .brand .glyph { background: #fff; color: #000; }
body[data-dark-nav] .nav .links a { color: #d0d0d0; }
body[data-dark-nav] .nav .links a:hover { color: #fff; }
body[data-dark-nav] .nav .links a.candy { background: #fff; color: #000; }

/* ---------- buttons ---------- */
.candy {
  display: inline-block; font-family: var(--sans); font-weight: 550; letter-spacing: .01em;
  color: var(--inverse-ink); background: var(--inverse); border: 0; border-radius: 999px;
  padding: 12px 26px; font-size: 14px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow .24s var(--ease), transform .12s var(--ease-out), background .24s;
}
.candy:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.candy.sm { padding: 8px 18px; font-size: 12.5px; }
/* the nav's two pills are the same size: the outlined one beside the black one */
.ghostbtn.sm { padding: 7px 17px; font-size: 12.5px; font-weight: 550; }
.nav .links a.ghostbtn.sm { color: var(--ink); }
.candy.navtreg { display: inline-flex; align-items: center; gap: 8px; }
.candy.navtreg svg { width: 12px; height: 12px; fill: currentColor; display: block; }
.ghostbtn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line2); border-radius: 999px;
  padding: 12px 24px; cursor: pointer; transition: border-color .12s var(--ease), box-shadow .24s var(--ease), background .24s;
}
.ghostbtn:hover { border-color: var(--muted); box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; text-align: center; padding: 150px 0 0;
  background:
    radial-gradient(ellipse 38% 34% at 47% 53%, #8cdbc18c 0%, #b5e5d85c 42%, transparent 100%),
    radial-gradient(ellipse 30% 31% at 72% 59%, #aed9e766 0%, transparent 100%),
    radial-gradient(ellipse 28% 28% at 24% 57%, #d4e4b86b 0%, transparent 100%),
    var(--bg);
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; contain: strict; }
.hero > .wrap { display: flex; flex-direction: column; align-items: center; }

.kicker {
  display: inline-block; position: relative; top: 24px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; background: var(--surface);
}
.kicker a { color: var(--ink); }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero-h1 {
  position: relative; top: 24px; z-index: 2; margin: 24px 0 0;
  font-family: var(--display); font-weight: 400; letter-spacing: 0; font-synthesis: none;
  font-size: clamp(40px, 3.8vw, 56px); line-height: 1.1;
}
.hero-h1 .l2 { display: inline-block; font-size: clamp(21px, 1.65vw, 25px); margin-top: 16px; color: var(--muted); }
.grad { color: var(--ink); }
.hero-h1 .l2 .grad { color: var(--muted); }
.grad2 { color: var(--ink); }
.agentslot { display: inline-flex; vertical-align: bottom; height: 1.16em; align-items: center; gap: .14em; margin: 0 .06em; }
.agentslot img { width: .82em; height: .82em; border-radius: .18em; object-fit: contain; flex: 0 0 auto; }
.roleslot {
  display: inline-block; height: 1.16em; overflow: hidden; vertical-align: bottom; position: relative;
  cursor: pointer; transition: width .55s var(--ease-out);
}
.roleslot .rw { display: flex; flex-direction: column; align-items: flex-start; transition: transform .62s var(--ease-out); }
.roleslot .ri { height: 1.16em; flex: 0 0 auto; white-space: nowrap; transition: opacity .4s; text-align: left; }
.roleslot .ri:not(.on) { opacity: .25; }
.h1cursor {
  display: inline-block; width: .055em; height: .74em; background: var(--ink); vertical-align: baseline;
  margin-left: .06em; transform: translateY(.03em); animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* the scene: agent, gateway, sources */
.scene { position: relative; z-index: 2; isolation: isolate; display: grid; text-align: left; align-items: center; }
.hcell { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; }
.hcell.agent { padding: 12px; }
.sl { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted2); margin-bottom: 14px; }
.hcell.tools .sl { color: var(--green); }

.aghead {
  display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ink); text-align: left;
  padding: 24px; border-radius: 16px; cursor: pointer; user-select: none; -webkit-user-select: none;
  background: rgba(255, 255, 255, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 16px rgba(0, 0, 0, .02);
  transition: background .55s, box-shadow .55s, scale .2s;
}
.aghead:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 0 32px rgba(180, 237, 207, .22), 0 8px 24px rgba(37, 63, 51, .047);
}
.aghead:focus-visible { outline: 2px solid rgb(46, 141, 119); outline-offset: 4px; }
.aghead:active { scale: .985; background: rgba(255, 255, 255, .88); }
.aghead img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; -webkit-user-drag: none; }
.aghead b { font-weight: 600; display: block; line-height: 1.25; }
.aghead i { font-style: normal; display: block; font-family: var(--mono); font-size: 11px; line-height: 1.6; margin-top: 4px; color: var(--ink); }
.aghead .fade { transition: opacity .3s var(--ease-out); }
.aghead.swap .fade { opacity: 0; }

.hsteps { display: flex; flex-direction: column; gap: 9px; padding-top: 22px; min-height: 100px; }
.hst {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) 12px; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--muted); padding: 3px 0;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.hst.in { opacity: 1; transform: none; }
.hst .tg, .hst .ag2 { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; flex: 0 0 auto; }
.hst .tg { background: var(--panel2); color: var(--ink); font-size: 9.5px; }
.hst .ag2 { background: var(--surface); border: 1px solid var(--line2); color: var(--muted); font-size: 9px; }
.hst .hst-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hst i { font-style: normal; color: var(--green); font-size: 10px; margin: 0; }

.hcell.mid {
  align-self: stretch; justify-content: flex-end; align-items: center; padding: 0 0 8px; gap: 6px;
  pointer-events: none; z-index: 1;
}
.gateway-sculpture {
  position: absolute; inset: -8px -28px 0; display: flex; align-items: center; justify-content: center; z-index: -1;
}
.gateway-sculpture::after {
  content: ""; position: absolute; width: 65%; height: 15px; bottom: 16px; border-radius: 50%;
  background: rgba(32, 60, 41, .125); filter: blur(12px); z-index: -1;
}
.gateway-sculpture:not(.model-ready) .gateway-webgl { visibility: hidden; }
.gateway-sculpture.model-ready { z-index: 0; pointer-events: auto; }
.gateway-webgl {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y;
  opacity: 0; transition: opacity .7s var(--ease-out);
}
.gateway-sculpture.model-ready .gateway-webgl { opacity: 1; }
.gateway-webgl:active, .gateway-webgl.dragging { cursor: grabbing; }
.gateway-webgl:focus-visible { box-shadow: none; outline: 1px solid rgb(118, 159, 141); outline-offset: -8px; border-radius: 24px; }
.hcore { display: none; }
.gateway-sculpture[data-model-state="fallback"] ~ .hcore,
.gateway-sculpture[data-model-state="context-lost"] ~ .hcore {
  display: flex; position: absolute; inset: 0; justify-content: center; align-items: center; gap: 12px;
}
.hcore .logo { width: 48px; height: 48px; border-radius: 13px; }
.hcore b { font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--ink); }

.hcli {
  position: relative; top: 24px; z-index: 2; max-width: min(460px, 100%); overflow: hidden; text-overflow: ellipsis;
  font-family: var(--mono); font-size: 12px; line-height: 1.65; padding: 8px 12px; border-radius: 9px;
  background: rgba(255, 255, 255, .93); border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
  transition: opacity .3s var(--ease-out);
}
.hcli.swap { opacity: 0; }
.hcli .ps, .hcli .okc { color: rgb(51, 155, 119); }
.hcli .cy { color: rgb(38, 122, 106); }

.htoolrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: flex-start; }
.htool {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 84px; padding: 14px 10px; border-radius: 16px;
  font-family: var(--sans); font-weight: 500; font-size: 14px; line-height: 1.45; color: var(--ink);
  background: rgba(255, 255, 255, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 16px rgba(0, 0, 0, .02);
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background .3s, box-shadow .3s, transform .4s, border-color .3s, opacity .3s;
}
.htool img { width: 30px; height: 30px; border-radius: 3px; object-fit: contain; -webkit-user-drag: none; }
.htool:hover, .htool.route-active {
  background: rgba(255, 255, 255, .66); border-color: rgba(141, 175, 161, .6); transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 2px rgba(79, 139, 113, .063), 0 4px 12px rgba(0, 0, 0, .03);
}
.htool:focus-visible { outline: 2px solid rgb(46, 141, 119); outline-offset: 4px; box-shadow: none; }
.htoolrow.swap .htool { opacity: 0; }
.htool.more {
  grid-column: 1 / -1; min-height: 0; padding: 5px; background: none; border: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; cursor: default; transform: none;
  font-family: var(--mono); font-weight: 400; color: var(--muted);
}
.hfoot { margin-top: 10px; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--muted2); text-align: center; }
.hfoot b { color: var(--green); font-weight: 500; }

.gateway-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.gateway-routes path { fill: none; stroke: rgb(189, 209, 198); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .4s, opacity .4s; }
.gateway-routes .route-active { stroke: rgb(54, 155, 128); stroke-width: 1.4; }
.gateway-routes .route-pulse {
  stroke: rgb(112, 234, 196); stroke-width: 2.5; stroke-dasharray: 5 95; stroke-linecap: round;
  animation: gateway-flow 3.5s linear infinite; filter: drop-shadow(0 0 3px rgb(102, 220, 180)); opacity: 0;
}
.gateway-routes .route-pulse.route-active { opacity: 1; }
.gateway-paused .route-pulse { animation-play-state: paused; }
@keyframes gateway-flow { 0% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; } }

/* the setup command */
.givebox {
  position: relative; z-index: 2; margin: 54px auto 0; width: 740px; max-width: 100%;
  background: #000; color: #fff; border: 1px solid #303030; border-radius: 24px; padding: 8px;
}
.gb-h {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0;
  font-size: 14px; font-weight: 600; color: #f5f7f6; padding: 14px 8px 18px;
}
.gb-h .agicons { display: flex; gap: 5px; }
.gb-h img { width: 19px; height: 19px; display: block; border-radius: 4px; }
.gb-cmd {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 10px; text-align: left;
  background: #222; border: 1px solid rgba(255, 255, 255, .05); border-radius: 14px; padding: 16px 18px; color: #fff;
}
.gb-cmd > * { position: relative; z-index: 2; }
.gb-cmd .ps { color: #a3a3a3; flex: 0 0 auto; font-size: 13px; font-family: var(--mono); }
.gb-cmd code {
  font-size: 14px; color: #f5f7f6; white-space: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 0%;
}
.gb-cmd code::-webkit-scrollbar { display: none; }
.copybtn {
  flex: 0 0 auto; display: grid; place-items: center; min-width: 104px; min-height: 38px; overflow: hidden;
  border: 1px solid #f5f7f6; background: #f5f7f6; color: #171a18; border-radius: 9px; padding: 5px 11px;
  font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .04em; cursor: pointer;
  transition: color .12s, border-color .12s, background .12s;
}
.copybtn:hover, .copybtn.done { background: #e5e5e5; border-color: #e5e5e5; color: #000; }
.copybtn:focus-visible { box-shadow: 0 0 0 2px #222, 0 0 0 3.5px #f5f7f6; }
.copy-idle, .copy-result {
  grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  transition: opacity .24s, transform .32s cubic-bezier(.2, .7, .3, 1);
}
.copy-result { opacity: 0; transform: translateY(9px); }
.copybtn.copy-feedback .copy-idle { opacity: 0; transform: translateY(-9px); }
.copybtn.copy-feedback .copy-result { opacity: 1; transform: translateY(0); }
.copy-check { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: scale(.75); transition: transform .4s cubic-bezier(.2, .7, .3, 1); }
.copybtn.copy-feedback .copy-check { transform: scale(1); }

.command-beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .45s; overflow: hidden; }
.gb-cmd:is(:hover, :focus-within) > .command-beam { opacity: 1; }
.command-beam .beam-wash { filter: blur(10px); opacity: .29; }
.command-beam .beam-rim { opacity: .2; }
.command-beam path {
  fill: none; stroke-linecap: butt;
  animation: command-beam-travel var(--beam-duration) linear infinite paused, command-beam-palette 6s linear infinite paused;
}
.gb-cmd:is(:hover, :focus-within) .command-beam path { animation-play-state: running; }
@keyframes command-beam-travel { 0% { stroke-dashoffset: var(--beam-start); } 100% { stroke-dashoffset: var(--beam-end); } }
@keyframes command-beam-palette {
  0%, 100% { stroke: var(--beam-color-a); }
  33.333% { stroke: var(--beam-color-b); }
  66.667% { stroke: var(--beam-color-c); }
}

/* hero, desktop (Treg's cascade: base 901+, then short desktops at 800 and 980 high, later wins) */
@media (min-width: 901px) {
  .hero { min-height: 100svh; padding: clamp(94px, 10.8svh, 128px) 0 clamp(32px, 4svh, 48px); }
  .hero > .wrap { max-width: 1400px; min-height: calc(100svh - clamp(94px, 10.8svh, 128px) - clamp(32px, 4svh, 48px)); }
  .hero .scene {
    width: 100%; max-width: 1280px; flex: 1 1 0%; min-height: clamp(280px, 38svh, 470px); margin-top: clamp(32px, 4svh, 48px);
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.35fr) minmax(250px, 1fr); gap: clamp(28px, 3vw, 48px);
  }
  .givebox { margin-top: clamp(40px, 5svh, 60px); padding: 8px; }
}
@media (min-width: 1200px) {
  .hero .scene { max-width: 1400px; gap: clamp(48px, 5vw, 80px); }
}
@media (min-width: 901px) and (max-height: 800px) {
  .hero-h1 { font-size: 42px; }
  .hero-h1 .l2 { font-size: 22px; }
  .hero .scene { min-height: 260px; }
  .htool { min-height: 66px; padding: 9px; font-size: 13px; gap: 7px; }
  .htool img { width: 27px; height: 27px; }
  .htoolrow { gap: 8px; }
  .sl { margin-bottom: 10px; }
  .hfoot { margin-top: 5px; }
  .aghead { padding: 20px; }
  .hsteps { gap: 6px; padding-top: 18px; }
}
@media (min-width: 901px) and (max-height: 980px) {
  .hero { padding-top: 80px; padding-bottom: 56px; }
  .hero > .wrap { min-height: calc(100svh - 136px); }
  .hero-h1 { margin-top: 18px; }
  .hero-h1 .l2 { margin-top: 12px; }
  .hero .scene { margin-top: 22px; }
  .givebox { width: 640px; margin-top: 48px; }
  .gb-h { font-size: 12px; gap: 8px; padding: 9px 6px 12px; }
  .gb-h img { width: 16px; height: 16px; }
  .gb-cmd { padding: 10px 14px; }
  .gb-cmd code { font-size: 12px; }
  .copybtn { min-width: 88px; }
}

/* ---------- benefits ---------- */
.bens { position: relative; isolation: isolate; }
.bens > .wrap { max-width: 1360px; position: relative; z-index: 1; }
.benefit-particles { position: absolute; inset: 0 0 auto; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.2s; contain: strict; }
.benefit-particles.field-visible { opacity: 1; }
.ben {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(56px, 6vw, 96px); align-items: center;
  min-height: clamp(660px, 74svh, 790px); padding: 76px 0; border-top: 1px solid var(--line);
}
.ben:first-child { border-top: 0; }
.ben.flip .bentext { order: 2; }
.bentext { max-width: 580px; }
.seclab { font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted2); margin: 0; }
.ben h2 {
  font-weight: 650; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em;
  margin: 20px 0 0; text-wrap: balance;
}
.ben h2 i { font-style: normal; color: var(--ink); }
.ben p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 26px 0 0; }
.ben p b { color: var(--ink); font-weight: 600; }
.ben p a { color: var(--ink); border-bottom: 1px solid var(--line2); }
.benmeta { margin-top: 30px; font-family: var(--mono); font-size: 12px; line-height: 1.85; color: var(--muted2); display: flex; gap: 12px 24px; flex-wrap: wrap; }
.benmeta span::before { content: "› "; color: var(--ink); }

.win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; }
.wbar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
.wbar i { width: 10px; height: 10px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line2); }
.wt { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.wt b { color: var(--ink); font-weight: 500; }
.wf { padding: 12px 20px; border-top: 1px solid var(--line); text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--green); background: var(--panel); }

/* one key, every career site */
.keywall {
  border-radius: var(--card-radius); background: var(--panel); border: 1px solid var(--line);
  padding: 44px 0 40px; display: flex; flex-direction: column; gap: 30px; overflow: hidden;
}
.kw-key { align-self: center; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 14px; padding: 13px 22px; box-shadow: var(--shadow-lg); }
.kw-key .kg { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--inverse); color: var(--inverse-ink); }
.kw-key .kg svg { width: 16px; height: 16px; fill: currentColor; }
img.kg { background: none; display: block; }
.kw-key code { font-size: 16px; color: var(--ink); font-weight: 500; }
.kw-key .kname { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.kw-rows { display: flex; flex-direction: column; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kw-row { overflow: hidden; }
.kw-track { display: flex; gap: 10px; width: max-content; animation: kwslide 36s linear infinite; animation-play-state: paused; }
.keywall.motion-visible .kw-track { animation-play-state: running; }
.kw-track.rev { animation-direction: reverse; }
@keyframes kwslide { 100% { transform: translateX(-50%); } }
.kw-chip {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 12px; padding: 9px 16px 9px 10px;
  box-shadow: var(--shadow-sm); flex: 0 0 auto; font-weight: 550; font-size: 13px; color: var(--ink); white-space: nowrap;
}
.kw-chip img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

/* the price ledger */
.ledger { padding: 6px 20px 12px; background: var(--surface); }
.lrow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 2px; font-size: 12.5px;
  opacity: 0; transform: translateY(7px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.lrow + .lrow { border-top: 1px solid var(--line); }
.lrow.in { opacity: 1; transform: none; }
.lrow .n { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lrow .n .dot { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; display: grid; place-items: center; background: var(--panel2); font-family: var(--mono); font-size: 9.5px; color: var(--ink); }
.lrow .n b { font-weight: 550; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .n span { color: var(--muted2); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.lrow .pr { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.lrow .pr b { font-weight: 500; color: var(--ink); font-size: 12.5px; }

/* code window */
.codewin .tabs { display: flex; gap: 2px; padding: 14px 16px 0; }
.ctab {
  font-family: var(--sans); font-size: 13px; font-weight: 550; letter-spacing: -.1px; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: 99px; padding: 7px 12px; cursor: pointer;
  white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.ctab:hover { color: var(--ink); }
.ctab[aria-pressed="true"] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.codewin pre {
  margin: 12px 16px 16px; background: #222; border: 1px solid rgba(0, 0, 0, .05); border-radius: 14px; padding: 16px 18px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #f5f7f6; min-height: 196px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.codewin pre .k { color: #a3a3a3; }
.codewin .trline { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.codewin .trline .glyph { width: 22px; height: 22px; border-radius: 6px; }
.codewin .trline b { color: var(--ink); font-weight: 500; }

/* live figures */
.figs { display: grid; grid-template-columns: 1fr 1fr; }
.fig { padding: 26px 24px; border-top: 1px solid var(--line); }
.fig:nth-child(odd) { border-right: 1px solid var(--line); }
.fig:nth-child(-n+2) { border-top: 0; }
.fig b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.fig span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* zero band */
.zeroband { padding: 56px 0 clamp(140px, 16svh, 200px); text-align: center; border-top: 1px solid var(--line); }
.zeroband h3 { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; margin: 0; letter-spacing: 0; }
.zeroband h3 i { font-style: normal; color: var(--muted); }
.zeq {
  max-width: 560px; margin: 28px auto 0; background: var(--inverse); border-radius: var(--rb); box-shadow: var(--shadow-lg);
  padding: 15px 17px; display: flex; align-items: center; gap: 10px; text-align: left;
}
.zeq .ps { color: rgb(127, 220, 174); font-family: var(--mono); font-size: 13px; flex: 0 0 auto; }
.zeq code { font-size: 13px; color: var(--inverse-ink); white-space: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 1.3em; }
.zeq code::-webkit-scrollbar { display: none; }
.zeq code b { color: rgb(127, 220, 174); font-weight: 700; }
.zcaret { width: 7px; height: 14px; background: rgb(127, 220, 174); flex: 0 0 auto; animation: blink 1s steps(1) infinite; }
.zeroband.typing-complete .zcaret { visibility: hidden; animation: none; }
.zsub { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--muted2); }
.zsub::before { content: "› "; color: var(--ink); }

/* the film: a window like the others, with a sound button over the video's corner */
.filmsec { padding: clamp(84px, 10svh, 130px) 0 clamp(36px, 5svh, 64px); text-align: center; }
.filmsec h2 { font-weight: 650; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em; margin: 20px 0 0; text-wrap: balance; }
.filmsec h2 i { font-style: normal; color: var(--ink); }
.filmwin { max-width: 1120px; margin: 40px auto 0; text-align: left; box-shadow: 0 30px 80px -40px rgba(17, 60, 45, .35); }
.filmbox { position: relative; background: #04060d; }
.filmbox video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #04060d; }
.filmsound { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #000; }
.filmsound[hidden] { display: none; }
.filmsound svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* lead forms (leads.js): the Enterprise form here and the report download dialog on /research */
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); text-align: left; }
.lead-form .opt { color: var(--muted2); }
.lead-form input, .lead-form textarea {
  width: 100%; font: 15px/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line2);
  border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 132, 83, .14); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #b0b0b0; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .candy { justify-self: start; margin-top: 4px; }
.lead-form .candy:disabled { opacity: .6; cursor: progress; }
.lead-err { margin: 0; font-size: 13.5px; color: var(--red); }
.lead-form [hidden] { display: none !important; }
.lead-fine { margin: 0; font-family: var(--mono); font-size: 11px; color: var(--muted2); }

.lead-dlg { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .45); }
.lead-dlg::backdrop { background: rgba(10, 14, 12, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.lead-dlg .lead-form { position: relative; padding: 26px 26px 24px; }
.lead-dlg .lead-ask, .lead-dlg .lead-done { display: grid; gap: 14px; }
.lead-dlg .lead-done p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.lead-dlg .lead-done b { color: var(--ink); }
.lead-dlg .lead-done p a { color: var(--ink); border-bottom: 1px solid var(--line2); }
.lead-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lead-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 99px; border: 0; background: var(--panel2); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.lead-x:hover { background: var(--line); }
.rp-dlg-top { display: flex; gap: 16px; align-items: center; padding-right: 30px; }
.rp-dlg-top img { width: 72px; height: 93px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 auto; background: var(--panel2); }
.rp-dlg-top .seclab { margin: 0 0 6px; }
.rp-dlg-top h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }

/* enterprise: what we set up, and the form that leads to the call */
.entsec { padding: clamp(96px, 12svh, 150px) 0; border-top: 1px solid var(--line); }
.entgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(56px, 6vw, 96px); align-items: center; }
.enttext h2 { font-weight: 650; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em; margin: 20px 0 0; text-wrap: balance; }
.enttext h2 i { font-style: normal; color: var(--ink); }
.enttext p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 26px 0 0; }
.entlist { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.entlist li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); }
.entlist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.entlist b { color: var(--ink); font-weight: 600; }
.entwin .lead-form { padding: 24px 24px 26px; }

/* about us: the company, its four products on one engine, the people */
.aboutsec { padding: 0 0 clamp(110px, 13svh, 170px); }
.about-head { max-width: 720px; }
.about-head h2 { font-weight: 650; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em; margin: 20px 0 0; text-wrap: balance; }
.about-head h2 i { font-style: normal; color: var(--ink); }
.about-head p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 26px 0 0; }
.about-head p a { color: var(--ink); border-bottom: 1px solid var(--line2); }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.way {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .72); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
a.way:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.way b { font-family: var(--mono); font-weight: 500; font-size: 13.5px; color: var(--ink); }
.way span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.way.here { background: var(--inverse); border-color: var(--inverse); }
.way.here b { color: var(--inverse-ink); }
.way.here span { color: #b5b5b5; }
.way em { order: -1; margin-bottom: -2px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #7ee0b8; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.person { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.person img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; background: var(--panel2); }
.person b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.person i { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--green); margin-top: 3px; }
.person p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.person a { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink); border-bottom: 1px solid var(--line2); }
.about-foot { margin: 26px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted2); }
.about-foot a { color: var(--ink); border-bottom: 1px solid var(--line2); }

/* faq */
.faqsec { padding: 0 0 clamp(120px, 14svh, 180px); }
.faqgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(56px, 6vw, 96px); align-items: start; }
.faqgrid h2 { font-weight: 650; font-size: clamp(36px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em; margin: 20px 0 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 2px; font-weight: 600; font-size: 16px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 16px; color: var(--muted2); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; padding: 0 2px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 620px; }
.faq details p a { color: var(--ink); border-bottom: 1px solid var(--line2); }

/* ---------- closing chapter ---------- */
.ending {
  --bg: #000; --surface: #1b1b1b; --panel: #171717; --ink: #fff; --muted: #b5b5b5; --muted2: #969696;
  --line: #ffffff1a; --line2: #ffffff38;
  position: relative; overflow: clip; isolation: isolate; background: #000; color: var(--ink);
}
.ending-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; contain: strict; }
.ending :focus-visible { box-shadow: none; outline: 2px solid #fff; outline-offset: 5px; }
.close { position: relative; z-index: 1; text-align: center; padding: 125px 0 110px; }
.close h2 { font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; margin: 16px 0 0; color: #f7f8f7; }
.close .sub { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 560px; margin: 22px auto 0; }
.close .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.close .candy { background: #f7f8f7; color: #111312; box-shadow: none; }
.close .candy:hover { background: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, .07); }
.close .ghostbtn { background: transparent; border-color: rgba(255, 255, 255, .22); color: #f7f8f7; }
.close .ghostbtn:hover { background: rgba(255, 255, 255, .043); border-color: rgba(255, 255, 255, .45); }
.listyours { margin-top: 26px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.trustline { margin-top: 62px; font-family: var(--mono); font-size: 12.5px; color: rgb(146, 156, 150); display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; }
.trustline b { color: rgb(191, 199, 194); font-weight: 500; }
footer { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; padding: 44px 28px 150px; position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
footer .brand { color: #f7f8f7; }
footer .brand .glyph { background: #f7f8f7; color: #111312; }
.foot-brand .note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.foot-brand .powered { margin-top: -6px; font-size: 11px; }
.foot-in .powered:hover { color: #fff; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 112px; }
.foot-col .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.foot-in a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot-in a:hover { color: #fff; }
.watermark {
  position: absolute; bottom: -.28em; left: 50%; transform: translateX(-50%); font-family: var(--display); font-synthesis: none;
  font-size: clamp(56px, 12.5vw, 190px); line-height: 1; color: rgba(255, 255, 255, .05); white-space: nowrap;
  pointer-events: none; user-select: none; letter-spacing: -.02em;
}

/* opening: the gateway settles first, then the words, then the side panels, then the receipt and command */
.nav, .kicker, .hero-h1, .hero-particles, .hcell.agent, .hcell.tools, .gateway-routes, .hcli, .givebox {
  transition: opacity .55s var(--ease-out) var(--op-d, 0ms);
}
.nav, .kicker, .hero-h1, .hero-particles { --op-d: 300ms; }
.hcell.agent, .hcell.tools, .gateway-routes { --op-d: 650ms; }
.hcli, .givebox { --op-d: 900ms; }
.opened * { --op-d: 0ms; }
.opening :is(.nav, .kicker, .hero-h1, .hero-particles, .hcell.agent, .hcell.tools, .gateway-routes, .hcli, .givebox) {
  opacity: 0; pointer-events: none;
}

/* entrances (fine pointer desktops with motion only) */
@media (min-width: 901px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .rv.show { opacity: 1; transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .hero { padding: 126px 0 0; }
  .hero .scene { margin-top: 40px; width: 100%; max-width: 640px; grid-template-columns: minmax(145px, 1fr) minmax(195px, 1.2fr) minmax(170px, 1fr); gap: 12px; min-height: 280px; }
  .hero-h1 { font-size: 34px; }
  .hero-h1 .l2 { font-size: 21px; }
  .givebox { width: 600px; margin-top: 48px; padding: 8px; }
  .gb-h { font-size: 12px; gap: 7px; padding: 9px 4px 12px; }
  .gb-h img { width: 16px; height: 16px; }
  .gb-cmd { padding: 10px; }
  .gb-cmd code { font-size: 11px; }
  .copybtn { min-width: 76px; }
  .hst { font-size: 10px; }
  .aghead { padding: 12px; font-size: 12px; gap: 8px; }
  .aghead img { width: 30px; height: 30px; }
  .aghead i { font-size: 9px; }
  .htool { font-size: 11px; min-height: 64px; gap: 6px; padding: 9px 4px; }
  .htool img { width: 22px; height: 22px; }
  .htoolrow { gap: 6px; }
  .hcli { font-size: 10px; max-width: 250px; white-space: normal; text-align: center; }
  .ben { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding: 72px 0; }
  .ben.flip .bentext { order: 0; }
  .bentext { max-width: 640px; }
  .ben h2, .faqgrid h2 { font-size: 36px; }
  .ben p { font-size: 16px; line-height: 1.8; margin-top: 22px; }
  .benmeta { margin-top: 26px; }
  .faqgrid { grid-template-columns: 1fr; gap: 28px; }
  .filmsec h2, .about-head h2, .enttext h2 { font-size: 36px; }
  .entgrid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .entsec { padding: 72px 0; }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .team { grid-template-columns: 1fr; }
  .zeroband { padding: 36px 0 104px; }
  .zeq { margin-left: 8px; margin-right: 8px; padding: 13px 14px; }
  .zeq code, .zeq .ps { font-size: 11px; }
  .zeq code { white-space: normal; overflow: visible; }
}
@media (max-width: 800px) {
  .nav { padding: 20px 24px; }
  .nav .links { gap: 20px; }
}
@media (max-width: 640px) {
  body::before { height: 76px; }
  .nav { padding: 16px; gap: 12px; }
  .nav .links { gap: 12px; }
  .nav .links a { font-size: 11px; white-space: nowrap; }
  .nav .links a.hidem, .nav .links a.signin { display: none; }
  .nav .links a.candy.sm { padding: 9px 13px; font-size: 11px; white-space: nowrap; }
  .nav .brand { font-size: 13.5px; gap: 8px; }
  .nav .brand .glyph { width: 24px; height: 24px; border-radius: 7px; }
  .nav .powered { font-size: 9.5px; padding-left: 32px; }
  .kicker .hidem { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding: 110px 0 30px; background: radial-gradient(ellipse 75% 30% at 50% 65%, #a4ddcfa6, transparent 100%), var(--bg); }
  .kicker { top: 12px; font-size: 10.5px; padding: 5px 12px; letter-spacing: .04em; }
  .hero-h1 { top: 12px; font-size: 28px; }
  .hero-h1 .l2 { font-size: 18px; }
  .givebox { order: 2; margin-top: 32px; width: 100%; border-radius: 22px; }
  .gb-h { flex-wrap: wrap; }
  .gb-cmd { gap: 7px; }
  .gb-cmd code { white-space: normal; overflow-wrap: anywhere; font-size: 10.5px; }
  .copybtn { min-width: 48px; min-height: 44px; padding: 6px 9px; }
  .hero .scene { order: 3; margin-top: 48px; grid-template-columns: 1fr 1fr; max-width: 440px; gap: 20px 16px; min-height: 0; }
  .hcell.mid { grid-area: 1 / 1 / auto / -1; height: 285px; }
  .gateway-sculpture { inset: -18px 20px 0; }
  .hcli { top: 8px; max-width: 100%; font-size: 10px; padding: 7px 10px; white-space: normal; overflow-wrap: anywhere; }
  .hcell.agent { padding: 0; }
  .hcell:not(.mid) { align-self: start; }
  .aghead { font-size: 12px; padding: 15px 10px; gap: 8px; }
  .aghead i { font-size: 8px; margin-top: 3px; overflow-wrap: anywhere; }
  .aghead img { width: 28px; height: 28px; }
  .hsteps { gap: 6px; padding-top: 14px; }
  .hst { font-size: 9px; line-height: 1.6; gap: 4px; grid-template-columns: 18px minmax(0, 1fr) 10px; }
  .htool { min-height: 65px; padding: 9px 4px; font-size: 10px; gap: 8px; }
  .htool img { width: 23px; height: 23px; }
  .htool.more { min-height: 0; padding: 5px; }
  .hfoot, .sl { font-size: 8px; }
  .gateway-routes { opacity: .5; }
  .keywall { border-radius: 24px; padding: 30px 0; }
  .win { border-radius: 24px; }
  .close { padding: 75px 0; }
  .foot-cols { gap: 36px; }
  .foot-col { min-width: 40%; }
  .figs { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
  .filmsec { padding: 64px 0 24px; }
  .filmwin { margin-top: 28px; border-radius: 20px; }
  .filmsound { left: 10px; bottom: 10px; padding: 7px 14px; font-size: 11.5px; }
  .lead-row { grid-template-columns: minmax(0, 1fr); }
  .entwin .lead-form, .lead-dlg .lead-form { padding: 20px 18px 22px; }
  .entwin { border-radius: 22px; }
  .lead-form .candy { justify-self: stretch; text-align: center; }
  .fig { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .ben { padding: 60px 0; gap: 36px; }
  .ben h2, .faqgrid h2, .filmsec h2, .about-head h2, .enttext h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hst, .lrow, .rv { opacity: 1; transform: none; }
  .aghead:active { scale: 1; }
}

/* ---------- sign-in popup (signin.js), as on treg.to: title, one line, one button ---------- */
.si-scrim { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(40, 40, 40, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.si-scrim[hidden] { display: none; }
.si { position: relative; width: min(400px, 100%); background: var(--surface); border-radius: 22px; padding: 36px 30px 24px; text-align: center; box-shadow: 0 24px 70px #00000033; }
.si h2 { margin: 0; font: 600 22px/1.2 var(--sans); letter-spacing: -.01em; }
.si-sub { margin: 8px 0 26px; font: 12px var(--mono); color: var(--muted); }
.si-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 8px; }
.si-x:hover { color: var(--ink); background: var(--panel2); }
.si-g { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--surface); font: 600 15px var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.si-g svg { width: 19px; height: 19px; }
.si-g:hover:not(:disabled) { border-color: var(--ink); box-shadow: var(--shadow-md); }
.si-g:disabled { opacity: .6; cursor: default; }
.si-err { margin: 12px 0 0; color: var(--red); font-size: 13px; }
.si-fine { margin: 18px 0 0; font-size: 11.5px; color: var(--muted2); }
.si-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
