/* =====================================================================
   live widgets — the product shown working, not described
   run (#can) · api (#api) · lock (#proof) · footer band
   ===================================================================== */

/* ---------- run: the page reacts to each tool call ---------- */
.run {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--stage) 45%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-line) 70%, transparent);
}
.run-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3.4vw, 44px);
  border-radius: 18px;
  background: color-mix(in srgb, var(--mock) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-line) 60%, transparent);
}

/* the page as the agent receives it: text and numbered controls, nothing painted */
.pg {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: color-mix(in srgb, var(--mock) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mock-line) 80%, transparent), 0 30px 60px -36px rgb(40 30 60 / .45);
  overflow: hidden;
}
.pg-url { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--mock-soft); font: 11.5px var(--mono); color: var(--ink-3); }
.pg-tool { padding: 2px 7px; border-radius: 5px; background: var(--ink); color: var(--on-ink); font-weight: 500; }
.pg-addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.pg-meter { display: flex; gap: 14px; margin-left: auto; white-space: nowrap; }
.pg-meter b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.pg-view { flex: 1; padding: 14px 16px 16px; font: clamp(11.5px, .45rem + .42vw, 13.5px)/1.6 var(--mono); color: var(--ink-2); transition: opacity .35s, filter .35s; }
.pg-view > * { opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.pg.loaded .pg-view > * { opacity: 1; transform: none; }
.pg-h { color: var(--ink); font-weight: 500; }
.pg-row { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.pg-sub { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .92em; color: var(--ink-3); }
.pg-list { margin: 6px 0 0; padding: 0; list-style: none; }
.pg-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 4px 0; animation: row-in .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
.pg-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.pg-list li small { font-size: .9em; color: var(--ink-3); white-space: nowrap; }

/* numbered controls: [n] appears in front of each one when `view` runs */
.ctl { position: relative; display: inline-flex; align-items: center; color: var(--ink); }
.ctl::before {
  content: "[" attr(data-n) "]"; display: inline-block; overflow: hidden;
  max-width: 0; margin-right: 0; color: var(--blue); font-weight: 500;
  transition: max-width .4s var(--ease), margin-right .4s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.pg.read .ctl::before { max-width: 3em; margin-right: .5em; }
.ctl.hit { color: var(--blue); }
.pg-box { position: relative; display: inline-flex; align-items: center; min-width: 15em; padding: 2px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s; }
.pg-q.focus .pg-box { box-shadow: inset 0 0 0 1.5px var(--blue); }
.pg-ph { color: var(--ink-3); }
.pg-box [data-q]:not(:empty) ~ .pg-ph { display: none; }
.pg-box [data-q] { color: var(--ink); }
.pg-caret { width: 1.5px; height: 1.1em; margin-left: 1px; background: var(--blue); opacity: 0; }
.pg-q.focus .pg-caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* the signed request leaving the page */
.pkt {
  position: absolute; left: 16px; top: 46%; z-index: 3; max-width: calc(100% - 32px);
  padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: var(--on-ink);
  font: 11px/1.4 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; pointer-events: none;
}
.pkt b { color: #9DB0FF; font-weight: 500; }
[data-theme="dark"] .pkt b { color: #2E4BFF; }
.pkt.go { animation: pkt 2s var(--ease) forwards; }
@keyframes pkt {
  0% { opacity: 0; transform: translate(0, -6px); }
  15% { opacity: 1; transform: translate(0, 0); }
  70% { opacity: 1; transform: translate(4%, 0); }
  100% { opacity: 0; transform: translate(40%, 0); }
}

/* paused: the page freezes in place */
.pg.paused .pg-view { opacity: .4; filter: grayscale(1); }
.pg-hold {
  position: absolute; top: 46px; right: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px;
  background: var(--vs); color: #fff; font: 500 11px/1.3 var(--mono);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pg-hold i { width: 7px; height: 9px; border-left: 2.5px solid #fff; border-right: 2.5px solid #fff; }
.pg.paused .pg-hold { opacity: 1; transform: none; }

/* the script, rising out of the page: same surface as the page view, so it reads as one thing */
.code {
  --c-bg: #FFFFFF; --c-ink: #1A1A18; --c-dim: #A3A199; --c-line: #ECEAE3; --c-hl: rgb(46 75 255 / .07); --c-acc: #2E4BFF; --c-str: #12804B; --c-ok: #12A15E;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-radius: 0 0 14px 14px; background: var(--c-bg); color: var(--c-ink);
  box-shadow: 0 -1px 0 var(--c-line), 0 -24px 40px -28px rgb(30 30 60 / .25);
  transform: translateY(calc(100% + 16px)); transition: transform .6s var(--ease);
}
[data-theme="dark"] .code { --c-bg: #17171A; --c-ink: #E9E7F0; --c-dim: #6E6C78; --c-line: #2A2A30; --c-hl: rgb(125 142 255 / .12); --c-acc: #9DB0FF; --c-str: #8FDDB4; --c-ok: #6EE0A8; box-shadow: 0 -1px 0 var(--c-line), 0 -24px 40px -24px rgb(0 0 0 / .6); }
.pg.coded .code { transform: none; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--c-line); font: 11px var(--mono); color: var(--c-dim); }
.code-bar b { color: var(--c-ink); font-weight: 500; }
.code-bar span { padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c-dim) 14%, transparent); transition: color .3s, background-color .3s; }
.code.clean .code-bar span { color: var(--c-ok); background: color-mix(in srgb, var(--c-ok) 14%, transparent); }
.code-src { margin: 0; padding: 10px 16px; font: clamp(10.5px, .35rem + .45vw, 12.5px)/1.75 var(--mono); white-space: pre; overflow: hidden; color: var(--c-ink); }
.code-src .ln { display: inline-block; width: 3.2em; color: var(--c-dim); }
.code-src .hl { display: block; margin: 0 -16px; padding: 0 16px; background: var(--c-hl); box-shadow: inset 2px 0 0 var(--c-acc); }
.code-src .v { color: var(--c-acc); }
.code-src .s { color: var(--c-str); }
/* the trace: one line you can read left to right */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 10px 16px 14px; border-top: 1px dashed var(--c-line); font: 11.5px var(--mono); color: var(--c-dim); }
.chain::before { content: "traced"; margin-right: 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--c-ink); }
.chain span { position: relative; color: var(--c-ink); opacity: 0; transform: translateY(3px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chain span:first-child { color: var(--c-acc); font-weight: 600; }
.chain span b { font-weight: 500; }
.chain span + span::before { content: "←"; margin: 0 10px; color: var(--c-dim); }
.chain span.on { opacity: 1; transform: none; }

/* the log: chapters you can jump between */
.run-log { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--mock); box-shadow: inset 0 0 0 1px var(--mock-line); }
.run-log li { position: relative; border-radius: 12px; overflow: hidden; transition: background-color .3s var(--ease); }
.run-log li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%);
  background: color-mix(in srgb, var(--blue) 7%, transparent); pointer-events: none;
}
.run-log button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px 4px;
  font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer;
}
.run-log button::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .3s, box-shadow .3s;
}
.run-log code { font: clamp(12.5px, .6rem + .32vw, 14px)/1.4 var(--mono); color: var(--ink-3); transition: color .3s; overflow-wrap: anywhere; }
.run-log p {
  margin: 0; padding: 0 14px 12px 32px; font: 11.5px/1.5 var(--mono); color: var(--ink-3);
  opacity: 0; transition: opacity .35s var(--ease);
}
.run-log li.done button::before { background: var(--green); box-shadow: none; }
.run-log li.done code { color: var(--ink-2); }
.run-log li.done p { opacity: .8; }
.run-log li.on code { color: var(--ink); }
.run-log li.on button::before { background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.run-log li.on p { opacity: 1; color: var(--ink-2); }
.run-log button:hover code { color: var(--ink); }
.run-log button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 12px; }

/* ---------- api: the request that carries the data, turned into code ---------- */
.api {
  display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.1fr); align-items: stretch;
  padding: 14px; border-radius: 26px; background: color-mix(in srgb, var(--stage) 45%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-line) 70%, transparent);
}
.api-net, .api-code { min-width: 0; border-radius: 16px; overflow: hidden; }
.api-net { background: var(--mock); box-shadow: inset 0 0 0 1px var(--mock-line); }
.api-code { background: #0F0F0E; color: #D9D6CE; }
.api-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font: 11.5px var(--mono); color: var(--ink-3); border-bottom: 1px solid var(--mock-soft); }
.api-hd b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.api-code .api-hd { border-color: #262521; color: #8A887F; }
.api-res { padding: 3px 9px; border-radius: 99px; background: rgb(158 211 174 / .14); color: #9ED3AE; opacity: 0; transform: scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.api.done .api-res { opacity: 1; transform: none; }
.api-list { position: relative; height: 282px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.api-rows { margin: 0; padding: 18px 0; list-style: none; transform: translateY(var(--shift, 0px)); transition: transform .5s var(--ease); }
.api-rows li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) 30%; align-items: center; gap: 10px;
  height: 30px; padding: 0 16px; font: 11.5px var(--mono); color: var(--ink-3);
  animation: row-in .4s var(--ease) both; transition: background-color .35s, color .35s, opacity .45s;
}
.api-rows li b { font-weight: 500; color: var(--ink-2); }
.api-rows li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-rows li i { position: relative; height: 6px; border-radius: 3px; background: var(--mock-soft); }
.api-rows li i::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 3px; background: var(--line-2); }
.api.pick .api-rows li:not(.hit) { opacity: .35; }
.api-rows li.hit { background: color-mix(in srgb, var(--blue) 10%, transparent); color: var(--ink); }
.api-rows li.hit b { color: var(--blue); }
.api-rows li.hit i::after { background: var(--blue); }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } }
.api-beam { position: relative; }
.api-beam i { position: absolute; left: 0; right: 0; top: var(--y, 50%); height: 2px; margin-top: -1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.api-beam i::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.api.pick .api-beam i { transform: scaleX(1); }
.api-code pre { margin: 0; padding: 16px 18px; min-height: 260px; font: clamp(11px, .4rem + .45vw, 13px)/1.75 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.api-code .c { color: #75736B; } .api-code .s { color: #9ED3AE; } .api-code .k { color: #9DB0FF; }
.api-code .ln-l { display: block; min-height: 1.75em; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.api-code .ln-l.on { opacity: 1; transform: none; }
.api-code .cur { display: inline-block; width: 7px; height: 1.1em; vertical-align: -.2em; background: #9DB0FF; animation: blink 1s steps(1) infinite; }

/* ---------- proof: search → secret code → let in (or refused) ---------- */
.gate { position: relative; margin-top: 8px; padding: clamp(20px, 3.4vw, 44px); border-radius: 24px; background: color-mix(in srgb, var(--stage) 55%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); }
.gate-steps { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: clamp(12px, 2vw, 22px); margin: 0; padding: 0; list-style: none; }
.gs { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 250px; margin: 0; padding: 22px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgb(30 30 60 / .35); transition: box-shadow .35s var(--ease), opacity .35s; }
.gs + .gs::before { content: ""; position: absolute; left: calc(-1 * clamp(12px, 2vw, 22px)); top: 50%; width: clamp(12px, 2vw, 22px); height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(var(--flow, 1)); transition: transform .4s var(--ease), background-color .3s; }
.gs-k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; color: var(--ink-2); }
.gs-k b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; }
.gs-site { margin: auto 0 0; padding-top: 16px; font: 500 clamp(26px, 1rem + 1.6vw, 38px)/1.08 var(--sans); letter-spacing: -0.035em; color: var(--ink); }
.pass { margin-top: auto; padding-top: 16px; }
.pass-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--blue) 8%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 35%, transparent); overflow: hidden; transition: background-color .3s, box-shadow .3s; }
.pass-t { grid-column: 1 / -1; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pass-q { font: 500 22px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.pass-s { align-self: center; font: 500 12px var(--mono); color: var(--blue); }
.pass-scan { position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue) 30%, transparent), transparent); opacity: 0; }
.pass.is-scan .pass-scan { opacity: 1; animation: scan 1s linear infinite; }
@keyframes scan { to { left: 100%; } }
.pass.is-ok .pass-card { background: rgb(18 161 94 / .1); box-shadow: inset 0 0 0 1.5px rgb(18 161 94 / .5); }
.pass.is-ok .pass-s, .pass.is-ok .pass-q { color: #12A15E; }
[data-theme="dark"] .pass.is-ok .pass-s, [data-theme="dark"] .pass.is-ok .pass-q { color: #6EE0A8; }
.pass.is-no .pass-card { background: color-mix(in srgb, var(--vs) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--vs); }
.pass.is-no .pass-s, .pass.is-no .pass-q { color: var(--vs); }
.gs-res li { grid-template-columns: minmax(0, 1fr) auto !important; padding: 8px 0; border-bottom: 1px solid var(--line); }
.gs-res li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.gs-3 .gs-verdict, .gs-3 .gs-res, .gs-3 .gs-empty { transition: opacity .35s var(--ease); }
.gate:not(.let) .gs-verdict, .gate:not(.let) .gs-res { opacity: 0; }
.gate:not(.let) .gs-res li { animation: none; }
.gate:not(.bare.let) .gs-empty { display: none; }
.gate.bare .gs-res { display: none; }
.gs-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.gs-verdict { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font: 600 clamp(22px, 1rem + 1vw, 30px)/1.1 var(--sans); letter-spacing: -0.02em; color: #12A15E; }
[data-theme="dark"] .gs-verdict { color: #6EE0A8; }
.gs-verdict i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat exclude, linear-gradient(#000, #000); }
.gs-res { display: grid; gap: 7px; margin: auto 0 0; padding: 14px 0 0; list-style: none; }
.gs-res li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--ink); animation: row-in .35s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.gs-res li i { height: 26px; border-radius: 5px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.gs-res li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gate-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 22px; }
.gate-foot p { margin: 0; font-size: 14px; color: var(--ink-3); }
.gate-sw { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.gate-sw input { position: absolute; opacity: 0; pointer-events: none; }
.gate-knob { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); transition: background-color .25s; }
.gate-knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .25s var(--ease); }
.gate-sw input:checked + .gate-knob { background: var(--vs); }
.gate-sw input:checked + .gate-knob::after { transform: translateX(18px); }
.gate-sw input:focus-visible + .gate-knob { outline: 2px solid var(--blue); outline-offset: 2px; }
/* without the code: step 2 is empty, Bilibili refuses */
.gate.bare .gs-3 { box-shadow: 0 0 0 1.5px var(--vs), 0 24px 50px -36px rgb(30 30 60 / .35); }
.gate.bare .gs-3::before { background: var(--vs); }
.gate.bare .gs-verdict { color: var(--vs); }
.gate.bare .gs-verdict i { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 64% no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 64% no-repeat exclude, linear-gradient(#000, #000); }
.gs-empty { margin: auto 0 0; padding-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) {
  .gate-steps { grid-template-columns: minmax(0, 1fr); }
  .gs { min-height: 0; }
  .gs + .gs::before { left: 34px; top: calc(-1 * clamp(12px, 2vw, 22px)); width: 2px; height: clamp(12px, 2vw, 22px); }
  .gs-code, .gs-ask { margin-top: 16px; }
}

/* ---------- footer: one dark piece, a terminal that shows the first five seconds ---------- */
.ft { position: relative; display: block; justify-items: normal; margin: 0; padding: clamp(96px, 11vw, 160px) 0 26px; border: 0; background: #07080D; color: #fff; text-align: left; }
.ft > .wrap { position: relative; z-index: 1; }
.ft, [data-theme="dark"] .ft { --band: #07080D; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.ft-cta h2 { margin: 0; font-family: var(--sans); font-weight: 500; font-stretch: normal; text-transform: none; font-size: clamp(46px, 1.4rem + 4vw, 92px); line-height: .98; letter-spacing: -0.05em; color: #fff; }
.ft-cta p { max-width: 40ch; margin: 22px 0 30px; font-size: var(--t-l); line-height: 1.5; color: rgb(255 255 255 / .68); }
.ft-cta .btn { margin: 0; background: #fff; color: #0B0C10; }
.ft-term { min-width: 0; border-radius: 16px; background: rgb(18 20 30 / .72); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09), 0 40px 80px -40px rgb(46 75 255 / .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.ft-cmd { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 18px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.ft-p { font: 13px var(--mono); color: #7D8EFF; }
.ft-cmd code { flex: 1; min-width: 0; font: 13px var(--mono); color: #fff; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ft-cmd button { flex: none; height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: rgb(255 255 255 / .1); color: #fff; font: 600 13px var(--sans); cursor: pointer; transition: background-color .2s; }
.ft-cmd button:hover { background: rgb(255 255 255 / .2); }
.ft-out { height: 196px; margin: 0; padding: 16px 18px; list-style: none; font: 12.5px/1.75 var(--mono); color: rgb(255 255 255 / .55); overflow: hidden; }
.ft-out li { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; display: flex; gap: 12px; white-space: nowrap; animation: row-in .3s var(--ease) both; }
.ft-out li > span:first-child { flex: none; width: 1.2em; }
.ft-out li .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ft-out li small { margin-left: auto; padding-left: 12px; font-size: 1em; color: rgb(255 255 255 / .38); }
.ft-out .you { margin-top: 6px; color: #fff; }
.ft-out .you > span:first-child { color: #7D8EFF; }
.ft-out .ok { color: #6EE0A8; }
.ft-out .step .t { color: rgb(255 255 255 / .8); }
.ft-out .done { margin-top: 6px; color: #fff; }
.ft-out .done > span:first-child { color: #6EE0A8; }
.ft-out .cur::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #7D8EFF; animation: blink 1s steps(1) infinite; }
.ft-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: clamp(80px, 10vw, 130px); padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); }
.ft-links .mark { margin-right: auto; color: #fff; font-size: 18px; }
.ft-links .mark-g { background: #2E4BFF; color: #fff; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ft-nav a, .ft-base a, .ft-base .linkish { font-size: 14px; color: rgb(255 255 255 / .62); transition: color .2s; }
.ft-nav a:hover, .ft-base a:hover, .ft-base .linkish:hover { color: #fff; }
.ft-base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 22px; font-size: 13px; color: rgb(255 255 255 / .42); }
.ft-base nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ft-base a, .ft-base .linkish { font-size: 13px; }
.ft-base .linkish { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.ft-base .foot-top-link { margin-left: auto; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ft-out { height: 200px; font-size: 11.5px; padding: 14px; } .ft-out li small { display: none; } .ft-cta h2 { font-size: 13vw; } .ft-base .foot-top-link { margin-left: 0; } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .run { grid-template-columns: 1fr; padding: 10px; }
  .run-stage { padding: 12px; }
  .api { grid-template-columns: 1fr; grid-template-rows: auto 36px auto; padding: 10px; }
  .api-beam i { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; transform: scaleY(0); transform-origin: top; }
  .api-beam i::after { right: -4px; top: auto; bottom: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--blue); border-bottom: 0; }
  .api.pick .api-beam i { transform: scaleY(1); }
  .ft-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pg-meter span + span { display: none; }
  .pg-list li small { display: none; }
  .pg-box { min-width: 11em; }
  .api-rows li { grid-template-columns: 34px minmax(0, 1fr); }
  .api-rows li i { display: none; }
  .ft-acts { width: 100%; }
  .ft-acts .btn { width: 100%; justify-content: center; }
  .ft-cmd { width: 100%; }
  .ft-cmd code { flex: 1; font-size: 11px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-q.focus .pg-caret, .api-code .ln-l { display: block; min-height: 1.75em; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.api-code .ln-l.on { opacity: 1; transform: none; }
.api-code .cur { animation: none; }
}

/* who visits: a segmented picker */
.gate-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gate-wl { margin-right: 8px; font-size: 14px; color: var(--ink-3); }
.gate-who label { position: relative; cursor: pointer; }
.gate-who input { position: absolute; opacity: 0; pointer-events: none; }
.gate-who label span { display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.gate-who label:hover span { color: var(--ink); }
.gate-who input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.gate-who input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.gate.bare .gate-who input:checked + span { background: var(--vs); color: #fff; }
/* closing button: stays readable on hover in both themes */
.ft .btn, [data-theme="dark"] .ft .btn { background: #fff; color: #0B0C10; }
.ft .btn:hover, [data-theme="dark"] .ft .btn:hover { background: #DDE2FF; color: #0B0C10; }

/* smooth scrolling is done in script; the browser's own smoothing would fight it */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.pass-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* hero eyebrow: what it is, in three words */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 12px 6px 8px; border-radius: 99px; background: color-mix(in srgb, var(--blue) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 25%, transparent); font: 600 13px var(--sans); color: var(--blue); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
[data-theme="dark"] .eyebrow { color: #9DB0FF; }

/* ---------- phones: only what reads well at this size ---------- */
@media (max-width: 760px) {
  .strip { font-size: 13px; padding-top: 9px; padding-bottom: 9px; }
  /* hero: words first; the layered drawing needs a mouse and a wide screen */
  .stack-iso, .stack-cap { display: none !important; }
  .hero { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(64px, 19vw, 92px); }
  .typer { margin-top: 20px; font-size: 19px; }
  .lede { font-size: 17px; line-height: 1.55; }
  .acts { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .acts .btn { width: 100%; justify-content: center; }
  .hero-note { font-size: 12.5px; }
  /* run: the page view alone tells the story; the step log becomes a caption */
  .run-log { display: none; }
  .run { padding: 8px; }
  .pg { min-height: 0; }
  /* api: the request being picked out of the traffic is the point; code needs a wide screen */
  .api-beam, .api-code { display: none !important; }
  .api { grid-template-rows: auto; }
  /* proof: the picker scrolls sideways instead of stacking */
  .gate { padding: 14px; }
  .gs { padding: 18px; }
  .gs-site { font-size: 26px; }
  .gate-foot { display: block; }
  .gate-who { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 4px; scrollbar-width: none; }
  .gate-who::-webkit-scrollbar { display: none; }
  .gate-wl { display: none; }
  .gate-who label span { white-space: nowrap; }
  .gate-foot p { margin-top: 14px; font-size: 13px; }
  /* footer */
  .ft { padding-top: 84px; }
  .ft-cta p { font-size: 17px; }
  .ft-cta .btn { width: 100%; justify-content: center; }
  .ft-cmd code { font-size: 11.5px; }
  .ft-links { margin-top: 64px; gap: 18px; }
  .ft-links .mark { width: 100%; }
  .ft-nav { gap: 10px 22px; }
  .ft-base { gap: 10px 18px; }
  .ft-base > span { width: 100%; }
}
.chain { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; } .chain::before { line-height: 1; }

/* ---------- navbar island ---------- */
.top { transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-island { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top-in {
  transition: max-width .7s cubic-bezier(.7, 0, .2, 1), height .5s var(--ease), margin .5s var(--ease), padding .6s var(--ease),
    border-radius .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), gap .5s var(--ease);
}
.top.is-island .top-in {
  max-width: 720px; height: 54px; margin-top: 10px; padding: 0 7px 0 9px; gap: 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px -22px rgb(20 20 50 / .35);
}
[data-theme="dark"] .top.is-island .top-in { background: color-mix(in srgb, #121318 78%, transparent); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 20px 44px -18px rgb(0 0 0 / .7); }
/* the wordmark folds away, the chip becomes a round dial */
.mark-t { display: inline-block; max-width: 8em; overflow: hidden; white-space: nowrap; vertical-align: bottom; transition: max-width .55s var(--ease), opacity .3s var(--ease); }
.top.is-island .mark-t { max-width: 0; opacity: 0; }
.top .mark { gap: 10px; transition: gap .5s var(--ease); }
.top.is-island .mark { gap: 0; }
.top .mark-g { transition: border-radius .5s var(--ease), width .5s var(--ease), height .5s var(--ease), transform .6s var(--ease); }
/* in the island the hollow triangle fills up as you read down the page */
.top.is-island svg.mark-g { width: 30px; height: 22px; }
.top.is-island svg.mark-g .m-fill { clip-path: inset(calc((1 - var(--prog, 0)) * 100%) 0 0 0); }
.top.is-island .mark { padding: 0 8px; }
/* nav: the underline grows into a pill behind the current section */
.top.is-island nav { margin-left: auto; margin-right: auto; }
.nav-ind { transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease), bottom .45s var(--ease), border-radius .45s var(--ease), background-color .3s, opacity .25s var(--ease); }
.top.is-island .nav-ind { bottom: calc(50% - 17px); height: 34px; border-radius: 99px; background: color-mix(in srgb, var(--blue) 13%, transparent); }
[data-theme="dark"] .top.is-island .nav-ind { background: rgb(157 176 255 / .16); }
.top.is-island nav a { padding: 8px 14px; }
/* the theme switch tucks away; the button turns into a pill */
.top .theme { transition: max-width .5s var(--ease), opacity .3s var(--ease), margin .5s var(--ease), padding .5s var(--ease); max-width: 140px; overflow: hidden; }
.top.is-island .theme { max-width: 0; opacity: 0; margin: 0; padding: 0; pointer-events: none; }
.top .btn-sm { transition: border-radius .5s var(--ease), height .5s var(--ease), background-color .2s, color .2s; }
.top.is-island .btn-sm { height: 40px; border-radius: 99px; }
@media (max-width: 760px) {
  .top.is-island .top-in { max-width: calc(100% - 20px); flex-wrap: nowrap; height: 52px; padding-block: 0; }
  .top.is-island nav { flex: 1 1 auto; order: 0; min-width: 0; margin: 0; }
  .top.is-island .top-in { overflow: hidden; gap: 4px; padding-right: 6px; }
  .top.is-island .theme { display: none; }
  .top.is-island nav a { padding: 8px 9px; font-size: 13.5px; }
  .top.is-island .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .top-in, .mark-t, .top .mark-g, .top .theme, .nav-ind { transition: none; } }

/* ---------- hero: the words that matter get marked up, one after another ---------- */
.lede { color: var(--ink-2); }
.lede b, .lede mark, .lede u { color: var(--ink); font-weight: 600; }
.hl {
  --hc: color-mix(in srgb, var(--blue) 22%, transparent);
  padding: 0 .12em; margin: 0 -.06em; border-radius: .25em .4em .3em .5em / .5em .3em .45em .25em;
  background: linear-gradient(100deg, transparent .3em, var(--hc) .5em, var(--hc) calc(100% - .5em), transparent calc(100% - .2em)) no-repeat 0 62% / 0% 72%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(.9s + var(--d, 0) * .45s);
}
.hl-g { --hc: rgb(18 161 94 / .2); }
[data-theme="dark"] .hl { --hc: rgb(125 142 255 / .3); }
[data-theme="dark"] .hl-g { --hc: rgb(110 224 168 / .22); }
.hero.in .lede .hl, .lit .hl { background-size: 100% 72%; }
/* "any website": a hand-drawn wave draws itself underneath */
.hl-u { position: relative; display: inline-block; text-decoration: none; }
.hl-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.22em; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 5 Q5 1 10 5 T20 5 T30 5 T40 5' fill='none' stroke='%232E4BFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px;
  clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); transition-delay: calc(.9s + var(--d, 0) * .45s);
}
.sec-head .hl-u::after { transition-delay: calc(.25s + var(--d, 0) * .4s); }
.hero.in .hl-u::after, .lit .hl-u::after { clip-path: inset(0 0 0 0); }
[data-theme="dark"] .hl-u::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 5 Q5 1 10 5 T20 5 T30 5 T40 5' fill='none' stroke='%239DB0FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* "AI agents" in the brand blue, "not borrowed from humans" set quieter, in italics */
.lede .hl-b { color: var(--blue); }
[data-theme="dark"] .lede .hl-b { color: #9DB0FF; }
.lede .hl-c { font-style: italic; color: var(--ink-3); }
/* hovering the paragraph re-plays the marks */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero.in .lede:hover .hl { animation: hl-again .8s cubic-bezier(.6, 0, .2, 1) both; animation-delay: calc(var(--d, 0) * .12s); }
}
@keyframes hl-again { from { background-size: 0% 72%; } to { background-size: 100% 72%; } }
@media (prefers-reduced-motion: reduce) { .hl { background-size: 100% 72%; transition: none; } .hl-u::after { clip-path: none; transition: none; } }

/* section names and lit-up words */
.sec-t { display: flex; flex-direction: column; align-items: flex-start; }
.sec-t .eyebrow { font-weight: 500; }
.sec-t .eyebrow b { font-weight: 700; }
.sec-head .hl, .sec-head .hl-u { transition-delay: calc(.25s + var(--d, 0) * .4s); }
.sec-head h2 .hl { padding: 0 .08em; }
.sec-aside mark, .sec-aside u { color: var(--ink); font-weight: 600; }
.hl { color: inherit; }
.hl-r { --hc: color-mix(in srgb, var(--vs) 22%, transparent); }
[data-theme="dark"] .hl-r { --hc: color-mix(in srgb, var(--vs) 30%, transparent); }
.ft-cta .hl { --hc: rgb(125 142 255 / .35); color: #fff; font-weight: 600; transition-delay: calc(.3s + var(--d, 0) * .4s); }
@media (prefers-reduced-motion: reduce) { .hl { background-size: 100% 72%; transition: none; } .hl-u::after { clip-path: none; transition: none; } }

/* two-line headings stay two lines, so marked words sit inline */
.v4 .duo { display: block; }
.v4 .duo > span:first-child { display: block; margin-bottom: 2px; }

/* ---------- highlights v2: a marker pen, not a text selection ---------- */
/* body text: a low band across the bottom of the letters, slightly tilted */
.hl {
  padding: 0 .1em; margin: 0 -.05em; border-radius: 0;
  background: linear-gradient(176deg, transparent 52%, var(--hc) 53%, var(--hc) 88%, transparent 89%) no-repeat 0 0 / 0% 100%;
}
.hero.in .lede .hl, .lit .hl { background-size: 100% 100%; }
@keyframes hl-again { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.hl { --hc: color-mix(in srgb, var(--blue) 28%, transparent); }
[data-theme="dark"] .hl { --hc: rgb(125 142 255 / .38); }
.hl-g { --hc: rgb(18 161 94 / .26); }
[data-theme="dark"] .hl-g { --hc: rgb(110 224 168 / .28); }
.hl-r { --hc: color-mix(in srgb, var(--vs) 28%, transparent); }

/* headings: the words turn blue and a brush stroke draws itself underneath */
.duo .hl, .ft-cta h2 .hl {
  position: relative; padding: 0; margin: 0; background: none !important; color: var(--blue);
}
[data-theme="dark"] .duo .hl { color: #9DB0FF; }
.duo .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.16em; height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C60 6 120 5 180 8 S270 12 296 7' fill='none' stroke='%232E4BFF' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(.35s + var(--d, 0) * .4s);
}
[data-theme="dark"] .duo .hl::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C60 6 120 5 180 8 S270 12 296 7' fill='none' stroke='%239DB0FF' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lit .duo .hl::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .duo .hl::after { clip-path: none; transition: none; } .hl { background-size: 100% 100%; } }
.lede .hl { font-weight: 600; color: var(--ink); }

/* island morph, ordered: going in, the extras tuck away first and then the bar shrinks;
   coming back, the bar widens first and then the extras return. Nothing ever wraps mid-way. */
.top nav, .top nav a, .top .btn-sm, .top .mark { white-space: nowrap; flex-shrink: 0; }
.top-in { min-width: 0; }
.top-in { transition-delay: 0s; }
.top.is-island .top-in { transition-delay: .12s; }
.top .mark-t, .top .theme { transition-delay: .32s; }
.top.is-island .mark-t, .top.is-island .theme { transition-delay: 0s; }
.top.is-island .top-in { overflow: hidden; }

/* hero note: readable, not a whisper */
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.hero-note b { font-weight: 600; color: var(--ink); }
.hn-free { padding: 3px 10px; border-radius: 99px; background: rgb(18 161 94 / .12); color: #0E7F4A; font-size: 13px; font-weight: 600; }
[data-theme="dark"] .hn-free { background: rgb(110 224 168 / .14); color: #6EE0A8; }
@media (max-width: 760px) { .hero-note { font-size: 14px; } }

/* the rolling line and the paragraph are two different thoughts: give them room */
.hero .typer { margin-top: 26px; }
.hero .lede { margin-top: 26px; }

/* hero subtitle: the one-line answer to "what is it?" */
.hero-sub { margin: 26px 0 0; font-size: clamp(22px, 1rem + .9vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); }
.hero-sub b { font-weight: 600; color: var(--blue); }
[data-theme="dark"] .hero-sub b { color: #9DB0FF; }
.hero .hero-sub + .lede { margin-top: 16px; }

/* a heading highlight never splits across lines: the brush draws once, left to right */
.duo .hl, .ft-cta h2 .hl { display: inline-block; white-space: nowrap; }

/* phone nav: links spread across the full row, and fill the floating pill evenly */
@media (max-width: 760px) {
  .top nav { justify-content: center; gap: 4px; }
  .top nav a { padding-inline: 10px; }
  .top.is-island nav { flex: 1 1 auto; min-width: 0; justify-content: space-evenly; overflow: visible; }
}

/* small phones: one clean row (logo left, button right), strip on one line.
   The theme follows the phone's own light/dark setting here. */
@media (max-width: 440px) {
  .top .theme { display: none; }
  .top .btn-sm { margin-left: auto; }
  .strip { font-size: 12.5px; white-space: nowrap; padding-inline: 12px; }
  .strip span { display: none; }
  .strip::after { content: " →"; }
}

/* phones: footer headline keeps a margin; the visitor pills fade at the edge so it reads as "scroll for more" */
@media (max-width: 560px) {
  .ft-cta h2 { font-size: 11.4vw; }
  .gate-who { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
}
/* step 3 before the verdict: say what it is waiting for instead of showing an empty box */
.gs-3 { position: relative; }
.gate:not(.let):not(.bare) .gs-3::after { content: "Waiting for the bot wall…"; position: absolute; left: 22px; right: 22px; top: 50%; text-align: center; font-size: 13.5px; color: var(--ink-3); animation: gs-in .3s .5s both, gs-wait 1.6s 1s ease-in-out infinite; }
@keyframes gs-in { from { opacity: 0; } }
@keyframes gs-wait { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .gate:not(.let) .gs-3::after { animation: none; } }

@media (max-width: 560px) { .gate-who.at-end { -webkit-mask-image: none; mask-image: none; } }
