/* PixelStaff public site: landing, sign-in / sign-up, legal pages.
   Same pixel language as the app (styles.css): squared corners, crisp pixel art, Silkscreen
   for headings, a normal face for reading, the #0d0d0f night office by default. */
@font-face { font-family:"Silkscreen"; src:url("/static/fonts/silkscreen-400.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap; }

:root {
  color-scheme: dark;
  --bg:#0d0d0f; --panel:#141417; --panel2:#1b1b20; --line:#26262c; --line2:#3a3a44;
  --text:#ececf1; --muted:#9a9aa5; --faint:#7e7e88;
  --green:#5cd08a; --green-ink:#5cd08a; --green-deep:#2f9e63; --on-green:#07130c;
  --amber:#ffb648; --blue:#60a5fa; --red:#ff6b6b;
  --hard:#000000; --focus:#5cd08a; --grid:rgba(255,255,255,.035);
  --font: -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --px: "Silkscreen", ui-monospace, SFMono-Regular, Menlo, monospace;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* dark only (owner, Oct 28 2026): no light theme, whatever the OS prefers */

* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:80px; }
/* every page sets viewport-fit=cover: keep header, content and footer out of the notch in landscape */
body { margin:0; background:var(--bg); color:var(--text); font:17px/1.6 var(--font);
  padding-left:env(safe-area-inset-left); padding-right:env(safe-area-inset-right); }
img, svg { display:block; }
a { color:var(--green-ink); text-underline-offset:3px; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.wrap { width:min(1120px, 100% - 32px); margin-inline:auto; }
.skip { position:absolute; left:16px; top:-60px; z-index:50; padding:8px 14px; background:var(--green); color:var(--on-green);
  font-weight:600; text-decoration:none; }
.skip:focus { top:12px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* headings: Silkscreen on its 8px grid so the glyphs stay crisp */
h1, h2, h3, .px { font-family:var(--px); font-weight:400; letter-spacing:.01em; }
h1 { font-size:48px; line-height:56px; margin:0 0 20px; }
h2 { font-size:32px; line-height:40px; margin:0 0 16px; }
h3 { font-size:16px; line-height:24px; margin:0 0 8px; }
p { margin:0 0 16px; }
.lede { font-size:19px; line-height:1.6; color:var(--muted); max-width:36em; }
.muted { color:var(--muted); }
@media (max-width:720px) {
  h1 { font-size:32px; line-height:40px; }
  h2 { font-size:24px; line-height:32px; }
  .lede { font-size:17px; }
}

/* buttons: squared, a hard offset shadow, a 2px press */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 18px;
  font:600 15px/1.2 var(--font); text-decoration:none; color:var(--text); background:var(--panel2);
  border:2px solid var(--line2); box-shadow:0 4px 0 var(--hard); cursor:pointer; transition:transform .08s steps(2), box-shadow .08s steps(2); }
.btn:hover { border-color:var(--faint); }
.btn:active { transform:translateY(2px); box-shadow:0 2px 0 var(--hard); }
.btn.go { background:var(--green); color:var(--on-green); border-color:var(--green); box-shadow:0 4px 0 var(--green-deep); }
.btn.go:active { box-shadow:0 2px 0 var(--green-deep); }
.btn.quiet { box-shadow:none; background:transparent; }
.btn.quiet:active { transform:none; }
.btn[disabled] { opacity:.55; cursor:not-allowed; }

/* top bar */
.top { position:sticky; top:0; z-index:20; background:color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter:blur(6px); border-bottom:1px solid var(--line); padding-top:env(safe-area-inset-top); }
.top .wrap { display:flex; align-items:center; gap:16px; min-height:64px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-family:var(--px); font-size:16px; }
.brand img { width:28px; height:22px; image-rendering:pixelated; }
.nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav a.nl { color:var(--muted); text-decoration:none; padding:8px 10px; font-size:15px; }
.nav a.nl:hover { color:var(--text); }
/* Sign in / Sign up: one box each (same height, 2px border, a 3px hard shadow in a darker
   shade of the border), spaced apart */
.nav .btn { min-height:38px; height:38px; padding:0 14px; font-size:14px; line-height:1; box-shadow:0 3px 0 var(--hard); }
.nav .btn.quiet { background:var(--panel2); border-color:var(--line2); }
.nav .btn.quiet:active { transform:translateY(2px); box-shadow:0 1px 0 var(--hard); }
.nav .btn.go { box-shadow:0 3px 0 var(--green-deep); }
.nav .btn.go:active { box-shadow:0 1px 0 var(--green-deep); }
.nav .btn + .btn { margin-left:10px; }
@media (max-width:860px) { .nav a.nl { display:none; } }
@media (max-width:420px) { .brand span { display:none; } .nav .btn { padding-inline:10px; }
  .nav .btn + .btn { margin-left:8px; } }

/* sections */
section { padding:96px 0; border-top:1px solid var(--line); }
section.hero { border-top:0; padding:48px 0 64px; }
.sec-head { max-width:40em; margin-bottom:40px; }
.sec-head p { color:var(--muted); font-size:18px; }
@media (max-width:720px) { section { padding:64px 0; } section.hero { padding:40px 0 48px; } }

/* hero */
.hero-copy { max-width:44em; }
.hero-cta { display:flex; flex-wrap:wrap; gap:12px 16px; align-items:center; margin:28px 0 12px; }
.status { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--muted); }
.status i { width:8px; height:8px; background:var(--amber); display:inline-block; }

/* the office floor plan (site.js draws it on the canvas, in whole pixels); 330 px high at least: hq.js never shows fewer
   than 330 art rows, so a shorter floor squeezed each art pixel below one screen pixel on a phone (office C7f) */
.office { position:relative; margin-top:36px; border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); background:#3a3146; }
.office-floor { aspect-ratio:16 / 9; min-height:330px; width:100%; max-width:100%; min-width:0; line-height:0; overflow:hidden; background:#0b0d17; }
@media (max-width:480px) { .office-floor, .office-floor .hq-port, .office-floor canvas { max-width:100%; } }
.office-floor canvas { display:block; image-rendering:pixelated; image-rendering:crisp-edges; }
/* the floor canvas is a tab stop (arrow keys pan it) but hq.js sets outline:none inline, and the port clips it:
   draw the focus ring as an overlay on the port (A5c) */
.office-floor .hq-port:has(> .hq-canvas:focus-visible)::after { content:""; position:absolute; inset:0; pointer-events:none;
  outline:2px solid var(--focus); outline-offset:-2px; }
/* the mascot has no legs, so it hovers: a slow 1px bob over its shadow, in whole pixels */
.m-float { animation:float 2.4s steps(1) infinite; }
@keyframes float { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-1px); } }
.mascot-svg { image-rendering:pixelated; }
/* a standalone mascot (sign-in, sign-up): 3px per cell, bobbing 3px */
span.m-float { display:inline-block; margin:0 0 12px; animation-name:float3; }
@keyframes float3 { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }

/* the approval card the mascot brings you */
.ask { position:absolute; right:14px; bottom:14px; width:min(280px, 32%); padding:12px 14px 14px; background:var(--panel); border:2px solid var(--line2);
  box-shadow:4px 4px 0 var(--hard); font-size:14px; line-height:1.45; }
.ask .who { display:flex; align-items:center; gap:8px; font-family:var(--px); font-size:12px; margin-bottom:6px; color:var(--muted); }
.ask .who svg { width:20px; height:20px; }
.ask .what { margin:0 0 10px; color:var(--text); }
.ask .acts { display:flex; gap:8px; }
.ask .acts span { padding:5px 12px; font-weight:600; font-size:13px; border:2px solid var(--line2); }
.ask .acts .ap { background:var(--green); border-color:var(--green); color:var(--on-green); }
.ask.approved .acts .ap { box-shadow:inset 0 0 0 2px var(--on-green); }
.ask .result { display:none; font-weight:600; color:var(--green-ink); }
.ask.approved .acts { display:none; } .ask.approved .result { display:block; }
.ask.in { animation:pop .32s steps(4) both; }
@keyframes pop { from { transform:translateY(12px); opacity:0; } to { transform:none; opacity:1; } }
@media (max-width:900px) { .ask { position:static; width:auto; margin:0; border-width:2px 0 0; box-shadow:none; } }

/* how it works: a real sequence, so numbered */
.steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, 1fr); gap:0; border:2px solid var(--line2); }
.steps li { padding:24px 22px 26px; border-right:2px solid var(--line2); }
.steps li:last-child { border-right:0; }
.steps .n { font-family:var(--px); font-size:32px; line-height:40px; color:var(--green-ink); display:block; margin-bottom:12px; }
.steps p { color:var(--muted); margin:0; font-size:16px; }
@media (max-width:900px) { .steps { grid-template-columns:1fr 1fr; } .steps li:nth-child(2) { border-right:0; }
  .steps li:nth-child(-n+2) { border-bottom:2px solid var(--line2); } }
@media (max-width:560px) { .steps { grid-template-columns:1fr; } .steps li { border-right:0; border-bottom:2px solid var(--line2); }
  .steps li:last-child { border-bottom:0; } }

/* template gallery: desk nameplates */
.tpls { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:20px; }
.tpl { padding:18px 18px 20px; background:var(--panel); border:2px solid var(--line2); box-shadow:4px 4px 0 var(--hard); }
.tpl .faces { display:flex; gap:4px; margin-bottom:14px; padding:6px; background:var(--bg);
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:8px 8px; border:1px solid var(--line); width:max-content; min-width:148px; min-height:56px; }
.tpl .faces svg { width:42px; height:42px; }
.tpl p { margin:0; color:var(--muted); font-size:15px; }
.note { margin-top:24px; font-size:15px; color:var(--muted); }
/* the apps a team works with: each logo on a small light tile, so dark marks read on the dark page */
.apps { list-style:none; margin:0 0 14px; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.apps li { display:flex; align-items:center; justify-content:center; width:28px; height:28px; background:#f7f5ef; border:1px solid var(--line2); }
.apps img { width:20px; height:20px; object-fit:contain; }
.apps img.wide { object-fit:cover; object-position:left center; }   /* a logo + wordmark file: show just the mark */
.apps.big { margin:14px 0 0; gap:8px; }
.apps.big li { width:34px; height:34px; }
.apps.big img { width:22px; height:22px; }
.apps li.more { width:auto; white-space:nowrap; height:34px; padding:0 10px; background:none; border:1px dashed var(--line2); color:var(--muted); font-size:14px; }

/* split feature rows */
.split { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:56px; align-items:center; }
.split.flip { grid-template-columns:minmax(0, 6fr) minmax(0, 5fr); }
.split.flip .copy { order:2; }
@media (max-width:900px) { .split, .split.flip { grid-template-columns:1fr; gap:32px; } .split.flip .copy { order:0; } }
.ticks { list-style:none; padding:0; margin:20px 0 0; }
.ticks li { display:flex; gap:12px; align-items:flex-start; margin:0 0 12px; }
.ticks li svg { flex:none; margin-top:3px; color:var(--green-ink); }
.soon { display:inline-block; margin-left:6px; padding:0 6px; font-size:12px; line-height:20px; color:var(--amber);
  border:1px solid currentColor; vertical-align:1px; white-space:nowrap; }

/* the cloud computer mock: browser + terminal */
.computer { border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); background:var(--panel); }
.computer .bar { display:flex; align-items:center; gap:6px; padding:8px 10px; border-bottom:2px solid var(--line2); background:var(--panel2);
  font-family:var(--px); font-size:12px; color:var(--muted); }
.computer .bar i { width:10px; height:10px; background:var(--line2); display:inline-block; }
.computer .bar span { margin-left:6px; }
.computer .panes { display:grid; grid-template-columns:1fr 1fr; min-height:260px; }
.computer .browser { border-right:2px solid var(--line2); display:flex; flex-direction:column; min-width:0; }
.computer .url { margin:10px; padding:5px 8px; border:1px solid var(--line); background:var(--bg); font:13px var(--mono); color:var(--muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.computer .page { flex:1; margin:0 10px 10px; border:1px solid var(--line); background:var(--bg); padding:12px; display:flex; flex-direction:column; gap:8px; }
.computer .page b { display:block; height:8px; background:var(--line2); }
.computer .page b.s { width:55%; } .computer .page b.m { width:80%; }
.computer .chart { display:flex; align-items:flex-end; gap:6px; height:84px; margin-top:6px; }
.computer .chart i { flex:1; background:var(--green-deep); }
.computer .chart i:nth-child(3n) { background:var(--green); }
.computer .term { background:#0a0a0c; color:#cfe9d9; font:13px/1.65 var(--mono); padding:12px; overflow:hidden; min-width:0; }
.computer .term .pr { color:#5cd08a; } .computer .term .dim { color:#8c8c96; }
.computer .term p { margin:0; white-space:pre-wrap; word-break:break-word; }
.computer .term .cur { display:inline-block; width:8px; height:15px; background:#cfe9d9; vertical-align:-2px; animation:cur 1s steps(1) infinite; }
@keyframes cur { 50% { opacity:0; } }
.computer figcaption { padding:8px 12px; border-top:2px solid var(--line2); font-size:13px; color:var(--muted); }
@media (max-width:560px) { .computer .panes { grid-template-columns:1fr; } .computer .browser { border-right:0; border-bottom:2px solid var(--line2); } }

/* your own Claude */
.claude-flow { display:flex; flex-direction:column; gap:0; border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); background:var(--panel); }
.claude-flow > div { display:flex; gap:14px; align-items:center; padding:18px 20px; }
.claude-flow > div + div { border-top:2px dashed var(--line2); }
.claude-flow .ic { flex:none; width:44px; height:44px; display:flex; align-items:center; justify-content:center; background:var(--bg); border:2px solid var(--line2); color:var(--green-ink); }
.claude-flow .ic svg.av { width:36px; height:36px; }
.claude-flow strong { display:block; font-family:var(--px); font-weight:400; font-size:14px; }
.claude-flow span.d { color:var(--muted); font-size:15px; }

/* customise: four parts, a 2x2 */
.parts { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); border:2px solid var(--line2); }
.parts > div { padding:28px 26px; }
.parts > div:nth-child(odd) { border-right:2px solid var(--line2); }
.parts > div:nth-child(-n+2) { border-bottom:2px solid var(--line2); }
.parts .k { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.parts .k svg { color:var(--green-ink); }
.parts p { margin:0; color:var(--muted); font-size:16px; }
@media (max-width:720px) { .parts { grid-template-columns:1fr; } .parts > div:nth-child(odd) { border-right:0; }
  .parts > div:not(:last-child) { border-bottom:2px solid var(--line2); } }

/* approvals mock */
.cardmock { background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); padding:18px 20px; }
.cardmock .who { display:flex; align-items:center; gap:10px; font-family:var(--px); font-size:13px; color:var(--muted); margin-bottom:10px; }
.cardmock .who svg { width:28px; height:28px; }
.cardmock .draft { border:1px solid var(--line); background:var(--bg); padding:12px 14px; font-size:15px; margin:10px 0 14px; }
.cardmock .draft .h { color:var(--muted); font-size:13px; margin-bottom:4px; }
.cardmock .acts { display:flex; gap:10px; flex-wrap:wrap; }
.cardmock .acts span { padding:7px 14px; font-weight:600; font-size:14px; border:2px solid var(--line2); }
.cardmock .acts .ap { background:var(--green); border-color:var(--green); color:var(--on-green); }

/* FAQ */
.faq { max-width:52em; border-top:2px solid var(--line2); }
.faq details { border-bottom:2px solid var(--line2); }
.faq summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px; align-items:center;
  padding:18px 4px; font-weight:600; font-size:17px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary svg { flex:none; color:var(--muted); transition:transform .12s steps(2); }
.faq details[open] summary svg { transform:rotate(180deg); }
.faq .a { padding:0 4px 18px; color:var(--muted); max-width:44em; }
.faq .a p:last-child { margin:0; }

/* footer */
footer { border-top:1px solid var(--line); padding:40px 0 56px; color:var(--muted); font-size:14px; }
footer .wrap { display:flex; flex-wrap:wrap; gap:16px 32px; align-items:center; }
footer nav { display:flex; flex-wrap:wrap; gap:8px 20px; margin-left:auto; }
footer a { color:var(--muted); }
footer a:hover { color:var(--text); }

/* auth pages */
.auth { min-height:calc(100vh - 65px); min-height:calc(100dvh - 65px); display:grid; place-items:center; padding:40px 16px 64px;
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:16px 16px; }
.auth-card { min-width:0; width:min(400px, 100%); background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); padding:32px 28px 28px; box-sizing:border-box; max-width:100%; }
.auth-card * { box-sizing:border-box; max-width:100%; }
@media (max-width:360px) { .auth-card { padding-left:18px; padding-right:18px; } }
.team-line { min-height:75px; margin:0 0 20px; line-height:0; }
.team-line canvas { display:block; max-width:100%; height:auto; image-rendering:pixelated; image-rendering:crisp-edges; }
.auth-card h1 { font-size:24px; line-height:32px; margin:0 0 8px; }
.auth-card .sub { color:var(--muted); margin:0 0 20px; font-size:15px; }
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.field label { font-size:14px; font-weight:600; }
.field input { min-height:44px; padding:10px 12px; font:16px var(--font); color:var(--text); background:var(--bg);
  border:2px solid var(--line2); border-radius:0; }
.field input:focus { outline:none; border-color:var(--focus); }
.field .hint { font-size:13px; color:var(--muted); }
.check { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--muted); margin:4px 0 18px; }
.check input { width:18px; height:18px; margin:2px 0 0; accent-color:var(--green-deep); }
.auth-card .btn.go { width:100%; }
.auth-msg { margin:14px 0 0; padding:10px 12px; font-size:14px; border:2px solid var(--line2); background:var(--bg); }
.auth-msg[hidden] { display:none; }
.auth-resend { width:100%; margin:10px 0 0; }
.auth-resend[hidden] { display:none; }
.auth-resend:disabled { opacity:.6; cursor:default; }
.auth-card [hidden] { display:none !important; }
.auth-terms { margin:12px 0 0; font-size:13px; color:var(--muted); }
.auth-terms a { color:inherit; text-decoration:underline; }
.signup-closed { display:inline-block; font-size:14px; color:var(--muted); }
.auth-alt { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); font-size:14px; color:var(--muted); }
.auth-alt p { margin:0 0 6px; }
.auth-google[hidden] { display:none; }
.auth-card .btn.google { width:100%; background:var(--bg); }
.auth-card .btn.google svg { flex:none; }
.auth-or { display:flex; align-items:center; gap:12px; margin:18px 0 16px; font-size:13px; color:var(--muted); }
.auth-or::before, .auth-or::after { content:""; flex:1; border-top:2px dashed var(--line2); }

/* legal pages */
.legal { padding:48px 0 80px; }
.legal .wrap { max-width:760px; }
.legal h2 { font-size:18px; line-height:26px; margin:36px 0 10px; }
.legal h3 { font-size:15px; line-height:22px; margin:20px 0 6px; }
.legal p, .legal li { color:var(--text); line-height:1.65; }
.legal ul { margin:0 0 14px; padding-left:1.3em; }
.legal li { margin:0 0 6px; }
.legal li::marker { color:var(--green-ink); }
.legal p.muted { color:var(--muted); }
.legal section { padding:0; border-top:0; }
.legal section + section { margin-top:40px; }
.legal ol { margin:0 0 14px; padding-left:1.4em; }
.legal ol li::marker { color:var(--green-ink); }
.legal .seo-cta { margin:22px 0 8px; }
.legal .compare-wrap { overflow-x:auto; margin:20px 0 8px; }
.legal table.compare { width:100%; border-collapse:collapse; font-size:15px; }
.legal table.compare th, .legal table.compare td { text-align:left; vertical-align:top; padding:12px 14px;
  border-bottom:2px solid var(--line2); line-height:1.55; }
.legal table.compare thead th { color:var(--muted); font-weight:600; }
.legal table.compare tbody th { white-space:nowrap; }

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

/* solutions: who it's for */
.sols { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap:20px; }
.sol { display:flex; flex-direction:column; padding:22px 22px 20px; background:var(--panel); border:2px solid var(--line2); box-shadow:4px 4px 0 var(--hard); }
.sol-k { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.sol-k svg { flex:none; color:var(--green-ink); }
.sol-k h3 { margin:0; }
.sol > p { color:var(--muted); font-size:16px; margin:0 0 14px; }
.sol-jobs { list-style:none; margin:0 0 16px; padding:0; font-size:15px; }
.sol-jobs li { position:relative; padding-left:16px; margin:0 0 6px; }
.sol-jobs li::before { content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; background:var(--green); }
.sol-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:14px; border-top:1px dashed var(--line2); }
.sol-tags span { padding:2px 8px; font-size:13px; color:var(--muted); border:1px solid var(--line2); background:var(--bg); }

/* connectors: a wall of app chips */
.chips { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.chips li { padding:6px 12px 6px 6px; font-size:15px; background:var(--panel); border:2px solid var(--line2); display:inline-flex; align-items:center; gap:8px; }
.chips img { width:26px; height:26px; padding:3px; box-sizing:border-box; object-fit:contain; flex:none; background:#f7f5ef; border:1px solid var(--line2); }   /* light tile: dark marks stay readable */
.chips img.wide { object-fit:cover; object-position:left center; }
.chips li.more { color:var(--green-ink); border-style:dashed; font-weight:600; }
.con-foot { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); margin-top:32px; border:2px solid var(--line2); }
.con-foot > div { padding:20px 22px; }
.con-foot > div + div { border-left:2px solid var(--line2); }
.con-foot strong { display:block; font-family:var(--px); font-weight:400; font-size:14px; margin-bottom:4px; }
.con-foot .d { color:var(--muted); font-size:15px; }
@media (max-width:760px) { .con-foot { grid-template-columns:1fr; } .con-foot > div + div { border-left:0; border-top:2px solid var(--line2); } }

/* use from Claude: a chat mock */
.chatmock { display:flex; flex-direction:column; gap:10px; padding:18px; background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); font-size:15px; }
.chatmock .msg { max-width:88%; padding:10px 14px; background:var(--bg); border:1px solid var(--line); }
.chatmock .msg.me { align-self:flex-end; background:var(--panel2); border-color:var(--line2); }
.chatmock .msg ul { margin:6px 0; padding-left:18px; color:var(--muted); }
.chatmock .tool { display:flex; align-items:center; gap:8px; font-family:var(--px); font-size:12px; color:var(--muted); }
.chatmock .tool svg { flex:none; }
.chatmock .tool.ok { color:var(--green-ink); }
code { font:0.9em var(--mono); padding:1px 5px; background:var(--panel2); border:1px solid var(--line); }
.sol.sol-any { border-style:dashed; box-shadow:none; background:transparent; }
.sol.sol-any .btn { align-self:flex-start; margin-top:auto; }

/* pricing: one plan */
.plan { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); }
.plan-top { padding:28px 28px 30px; border-right:2px solid var(--line2); display:flex; flex-direction:column; align-items:flex-start; }
.plan-name { font-family:var(--px); font-size:14px; color:var(--muted); margin-bottom:8px; }
.plan-price { display:flex; align-items:baseline; gap:8px; margin-bottom:6px; }
.plan-price .amt { font-family:var(--px); font-size:48px; line-height:56px; }
.plan-price .per { color:var(--muted); font-size:17px; }
.plan-trial { color:var(--green-ink); font-weight:600; margin:0 0 20px; }
.plan-list { margin:0; padding:28px; align-self:center; }
@media (max-width:760px) { .plan { grid-template-columns:1fr; } .plan-top { border-right:0; border-bottom:2px solid var(--line2); } }

/* closing call to action */
.end-cta { padding:80px 0; }
.end-box { display:flex; flex-wrap:wrap; gap:16px 40px; align-items:center; justify-content:space-between; padding:36px 32px;
  background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard);
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size:16px 16px; }
.end-box h2 { margin-bottom:8px; }
.end-box p { margin:0; color:var(--muted); max-width:34em; }
.end-box .hero-cta { margin:0; }

/* ---- phone menu ---- */
.menu-btn { display:none; width:40px; height:40px; align-items:center; justify-content:center; color:var(--text); background:var(--panel2);
  border:2px solid var(--line2); cursor:pointer; }
.drop { border-top:1px solid var(--line); background:var(--bg); padding:8px 16px 14px; display:grid; gap:2px; }
.drop[hidden] { display:none; }
.drop a { color:var(--text); text-decoration:none; padding:10px 4px; font-size:17px; border-bottom:1px dashed var(--line); }
.drop a:last-child { border-bottom:0; }
@media (max-width:860px) { .menu-btn { display:inline-flex; } }
@media (min-width:861px) { .drop { display:none !important; } }
@media (max-width:420px) { .nav .btn.quiet { display:none; } }

/* ---- scroll reveals: a short stepped rise, siblings staggered by --d ---- */
.fx .rv { opacity:0; transform:translateY(12px); }
.fx .rv.in { animation:rv .36s steps(4) var(--d, 0ms) forwards; }
@keyframes rv { to { opacity:1; transform:none; } }

/* ---- the demo reel: the app, replayed ---- */
.reel { background:var(--panel); border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); }
.reel-bar { display:flex; align-items:center; gap:6px; padding:8px 10px; border-bottom:2px solid var(--line2); background:var(--panel2);
  font-family:var(--px); font-size:12px; color:var(--muted); }
.reel-bar i { width:10px; height:10px; background:var(--line2); display:inline-block; }
.reel-bar span { margin-left:6px; }
.reel-body { display:grid; grid-template-columns:200px minmax(0, 1fr); height:480px; }
.reel-side { border-right:2px solid var(--line2); padding:10px 8px; display:flex; flex-direction:column; gap:4px; background:var(--bg); }
.rs-row { display:flex; align-items:center; gap:8px; padding:6px 8px; font-size:14px; color:var(--muted); border:2px solid transparent; position:relative; }
.rs-row svg { width:28px; height:28px; flex:none; }
.rs-row.on { color:var(--text); background:var(--panel2); border-color:var(--line2); }
.rs-row.asking, .rs-row.okd { padding-right:22px; }
.rs-row.asking::after { content:""; position:absolute; right:8px; width:8px; height:8px; background:var(--amber); animation:blinkdot 1s steps(1) infinite; }
.rs-row.okd::after { content:""; position:absolute; right:8px; width:8px; height:8px; background:var(--green); }
@keyframes blinkdot { 50% { opacity:0; } }
.reel-chat { overflow-y:auto; padding:16px 18px 20px; display:flex; flex-direction:column; gap:12px; scroll-behavior:smooth;
  background-image:linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size:16px 16px; }
.reel-chat > * { flex:none; }
.reel-chat .pop { animation:pop .28s steps(3) both; }
.rc-msg { max-width:92%; padding:10px 14px; background:var(--bg); border:1px solid var(--line2); font-size:15px; }
.rc-msg p { margin:0; }
.rc-msg.me { align-self:flex-end; background:var(--panel2); border-color:var(--line2); }
.caret { display:inline-block; width:7px; height:14px; margin-left:2px; background:currentColor; vertical-align:-2px; animation:cur 1s steps(1) infinite; }
.rc-head { display:flex; align-items:center; gap:8px; margin-bottom:6px; font-size:14px; }
.rc-head b { font-family:var(--px); font-weight:400; font-size:12px; }
.rc-av svg { width:24px; height:24px; display:block; }
.rc-busy { margin-left:auto; font-size:12px; color:var(--amber); font-family:var(--px); }
.rc-busy::after { content:"..."; display:inline-block; width:3ch; overflow:hidden; vertical-align:bottom; animation:dots 1.2s steps(4) infinite; }
@keyframes dots { from { width:0; } to { width:3.2ch; } }
.rc-work { align-self:flex-start; width:min(440px, 92%); padding:10px 14px; border:2px dashed var(--line2); background:var(--bg); }
.rc-steps { list-style:none; margin:0; padding:0; font:13px/1.6 var(--mono); color:var(--muted); }
.rc-steps li { display:flex; gap:8px; align-items:center; animation:pop .2s steps(2) both; }
.rc-steps svg { color:var(--green-ink); flex:none; }
.rc-hbars { margin-top:10px; display:grid; gap:6px; }
.hb { display:grid; grid-template-columns:minmax(0, 9em) minmax(0, 1fr) 3.5em; gap:8px; align-items:center; font-size:13px; }
.hb-l { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--muted); }
.hb-t { height:12px; background:var(--panel2); }
.hb-t i { display:block; height:100%; width:0; background:var(--red);
  background-image:linear-gradient(90deg, transparent 6px, rgba(0,0,0,.18) 6px); background-size:8px 100%; transition:width .6s steps(8) var(--d, 0ms); }
.grow .hb-t i { width:var(--w); }
.hb-v { font-family:var(--mono); text-align:right; }
.rc-vbars { margin-top:10px; height:84px; display:flex; align-items:flex-end; gap:4px; }
.rc-vbars i { flex:1; height:0; background:#2dd4bf; transition:height .5s steps(6) var(--d, 0ms); }
.rc-vbars i.lo { background:var(--red); }
.grow .rc-vbars i { height:var(--h); }
.rc-cap { font-size:12px; color:var(--muted); margin-top:4px; font-family:var(--px); }
.rc-mail { margin-top:8px; padding:8px 10px; border:1px solid var(--line); background:var(--panel); font-size:14px; }
.rc-mail .h { font-size:12px; color:var(--muted); margin-bottom:2px; }
.rc-card { align-self:flex-start; width:min(440px, 92%); padding:12px 14px 14px; background:var(--panel); border:2px solid var(--amber); box-shadow:4px 4px 0 var(--hard); }
.rc-card .rc-who { display:flex; align-items:center; gap:8px; font-family:var(--px); font-size:12px; color:var(--muted); margin-bottom:8px; }
.rc-card .rc-b { margin:0 0 4px; font-weight:600; }
.rc-card .rc-d { margin:0 0 12px; font-size:14px; color:var(--muted); }
.rc-acts { display:flex; gap:8px; align-items:center; }
.rc-ap { font:600 14px var(--font); padding:7px 16px; color:var(--on-green); background:var(--green); border:2px solid var(--green);
  box-shadow:0 3px 0 var(--green-deep); cursor:pointer; animation:nudge 1.6s steps(2) .8s infinite; }
.rc-ap:active, .rc-ap.pressed { transform:translateY(2px); box-shadow:0 1px 0 var(--green-deep); }
@keyframes nudge { 50% { box-shadow:0 3px 0 var(--green-deep), 0 0 0 3px color-mix(in srgb, var(--green) 35%, transparent); } }
.rc-rj { padding:5px 14px; font-weight:600; font-size:14px; border:2px solid var(--line2); color:var(--muted); }
.rc-done { display:none; margin:0; font-weight:600; color:var(--green-ink); }
.rc-card.ok { border-color:var(--green); }
.rc-card.ok .rc-acts { display:none; } .rc-card.ok .rc-done { display:block; animation:pop .24s steps(3) both; }
.reel-ctl { display:flex; align-items:center; gap:12px; padding:10px 12px; border-top:2px solid var(--line2); background:var(--panel2); flex-wrap:wrap; }
.reel-play { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; color:var(--text); background:var(--bg);
  border:2px solid var(--line2); cursor:pointer; }
.reel-tabs { display:flex; gap:4px; }
.reel-tab { font:600 14px var(--font); padding:6px 12px; color:var(--muted); background:transparent; border:2px solid transparent; cursor:pointer; }
.reel-tab:hover { color:var(--text); }
.reel-tab.on { color:var(--text); background:var(--bg); border-color:var(--line2); }
.reel-prog { flex:1; min-width:80px; height:8px; background:var(--bg); border:1px solid var(--line2); }
.reel-prog i { display:block; height:100%; width:0; background:var(--green);
  background-image:linear-gradient(90deg, transparent 6px, rgba(0,0,0,.2) 6px); background-size:8px 100%; }
@media (max-width:720px) {
  .reel-body { grid-template-columns:1fr; height:520px; }
  .reel-side { flex-direction:row; overflow-x:auto; border-right:0; border-bottom:2px solid var(--line2); padding:6px; }
  .rs-row { flex:none; } .rs-row span { display:none; } .rs-row.on span { display:inline; }
  .reel-chat { padding:12px; }
  .reel-prog { flex-basis:100%; order:3; }
}

/* ---- solution cards: each has its agent, who hops when you point at the card ---- */
.sol { position:relative; }
.sol-av { position:absolute; top:-18px; right:14px; width:44px; height:44px; padding:2px; background:var(--bg); border:2px solid var(--line2); }
.sol-av svg { width:36px; height:36px; display:block; }
.sol:hover .sol-av { animation:hop .5s steps(2) 2; }
@keyframes hop { 50% { transform:translateY(-6px); } }
.sols { padding-top:18px; row-gap:38px; }

/* who the card is for, and its team: one row per agent; tap one for the dialog below */
.sol-for { margin:0 0 10px; font-size:15px; color:var(--text); }
.sol-for b { font-family:var(--px); font-weight:400; font-size:12px; color:var(--green-ink); margin-right:4px; }
.sol-team { margin:0 0 4px; }
.sol-team h4, .tm-body h4 { margin:0 0 8px; font-family:var(--px); font-weight:400; font-size:12px; color:var(--muted); }
.sol-team ul { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.tm { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:6px 8px; text-align:left; color:var(--text);
  font:inherit; background:var(--bg); border:1px solid var(--line2); cursor:pointer; }
.tm:hover { border-color:var(--faint); }
.tm:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.tm-av { flex:none; width:36px; height:36px; }
.tm-av svg { width:36px; height:36px; display:block; }
.tm-txt { min-width:0; display:flex; flex-direction:column; }
.tm-txt strong { font-weight:600; font-size:14px; }
.tm-txt span { font-size:13px; line-height:1.35; color:var(--muted); }

/* the agent dialog: 80% x 80% on desktop, full screen on phones */
.tm-lock, .tm-lock body { overflow:hidden; }
.tm-modal { position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; }
.tm-modal[hidden] { display:none; }
.tm-back { position:absolute; inset:0; background:rgba(0,0,0,.7); }
.tm-box { position:relative; display:flex; flex-direction:column; width:80vw; height:80vh; background:var(--panel);
  border:2px solid var(--line2); box-shadow:6px 6px 0 var(--hard); outline:none; }
.tm-head { display:flex; align-items:flex-start; gap:14px; padding:20px 20px 16px; border-bottom:2px solid var(--line2); }
.tm-head > div { flex:1; min-width:0; }
.tm-head h3 { margin:0 0 6px; }
.tm-head p { margin:0; color:var(--muted); font-size:15px; }
.tm-head .tm-src { margin-top:6px; font-size:13px; color:var(--muted); }
.tm-av.big, .tm-av.big svg { width:56px; height:56px; }
.tm-x { flex:none; width:44px; height:44px; font-size:26px; line-height:1; color:var(--text); background:none; border:1px solid var(--line2); cursor:pointer; }
.tm-body { flex:1; overflow-y:auto; padding:18px 20px; display:grid; gap:22px; align-content:start;
  grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.tm-body .sol-tags { margin:0; padding:0; border:0; }
.tm-body .sol-jobs { margin:0; }
.tm-tasks { list-style:none; margin:0; padding:0; font-size:15px; }
.tm-tasks li { display:flex; flex-direction:column; padding:8px 0; border-bottom:1px dashed var(--line2); }
.tm-tasks li:first-child { padding-top:0; }
.tm-tasks em { font-style:normal; font-size:13px; color:var(--green-ink); }
.tm-foot { display:flex; flex-wrap:wrap; gap:10px; padding:14px 20px; border-top:2px solid var(--line2); }
@media (max-width:720px) {
  .tm-box { width:100%; height:100%; border:0; box-shadow:none; }
  .tm-head { padding:16px; } .tm-body { padding:16px; } .tm-foot { padding:12px 16px; }
  .tm-foot .btn { flex:1; }
}

/* ---- example week: chart + live feed ---- */
.week { display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:20px; }
@media (max-width:900px) { .week { grid-template-columns:1fr; } }
.wk-panel { background:var(--panel); border:2px solid var(--line2); box-shadow:4px 4px 0 var(--hard); padding:20px 20px 18px; }
.wk-stats { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-bottom:20px; }
.wk-stats > div { padding:10px 12px; background:var(--bg); border:1px solid var(--line2); }
.wk-n { display:block; font-family:var(--px); font-size:32px; line-height:40px; color:var(--green-ink); }
.wk-l { font-size:14px; color:var(--muted); }
@media (max-width:480px) { .wk-n { font-size:24px; line-height:32px; } .wk-l { font-size:13px; } }
.wk-chart { height:220px; display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:10px; align-items:end;
  border-bottom:2px solid var(--line2); padding:0 4px; }
.wk-col { height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:stretch; text-align:center; position:relative; }
.wk-bar { height:0; display:flex; flex-direction:column; overflow:hidden; transition:height .7s steps(10) var(--d, 0ms); }
.wk-chart.go .wk-bar { height:var(--h); }
.wk-bar i { display:block; min-height:4px; border-top:2px solid var(--bg); }
.wk-bar i:first-child { border-top:0; }
.wk-tot { font-family:var(--px); font-size:12px; color:var(--muted); margin-bottom:4px; opacity:0; transition:opacity .2s steps(1) calc(var(--d, 0ms) + .7s); }
.wk-chart.go .wk-tot { opacity:1; }
.wk-day { position:absolute; bottom:-24px; left:0; right:0; font-family:var(--px); font-size:12px; color:var(--muted); }
.wk-key { list-style:none; margin:34px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; color:var(--muted); }
.wk-key li { display:flex; align-items:center; gap:6px; }
.wk-key i { width:10px; height:10px; display:inline-block; }
.wk-h { display:flex; align-items:center; gap:8px; font-family:var(--px); font-size:14px; margin-bottom:12px; }
.live { width:8px; height:8px; background:var(--green); animation:blinkdot 1.4s steps(1) infinite; }
.feed { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; min-height:330px; }
.feed li { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed var(--line2); font-size:14px; }
.feed li:last-child { border-bottom:0; }
.feed li.new { animation:feedin .4s steps(4) both; }
@keyframes feedin { from { opacity:0; transform:translateY(-10px); background:color-mix(in srgb, var(--green) 14%, transparent); } }
.f-av svg { width:28px; height:28px; display:block; }
.f-t { flex:1; min-width:0; color:var(--muted); }
.f-t b { color:var(--text); font-weight:600; }
.f-at { font-family:var(--mono); font-size:12px; color:var(--muted); }

/* ---- connector marquee: two rows drifting opposite ways; pause on hover ---- */
.mq { display:grid; gap:10px; margin-bottom:12px; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-row { overflow:hidden; }
.mq-track { flex-wrap:nowrap; width:max-content; animation:mq 48s linear infinite; }
.mq-row.rev .mq-track { animation-direction:reverse; animation-duration:56s; }
.mq:hover .mq-track { animation-play-state:paused; }
.mq-track li { flex:none; }
@keyframes mq { to { transform:translateX(calc(-50% - 5px)); } }
.chips-more { justify-content:flex-start; }

/* change anything: each part shows what it holds (agents' faces, skill and data chips) */
.faces-row, .pchips { list-style:none; margin:14px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.faces-row li { width:34px; height:34px; display:flex; align-items:center; justify-content:center; background:var(--bg); border:1px solid var(--line2); }
.faces-row li svg { width:28px; height:28px; }
.faces-row li.more, .pchips li.more { width:auto; padding:0 10px; font-size:14px; color:var(--muted); border-style:dashed; }
.pchips li { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 10px; font-size:14px; background:var(--bg); border:1px solid var(--line2); }
.pchips li svg { color:var(--green-ink); flex:none; }

/* tap targets (score-100 public LG-C6c): on a phone or any coarse pointer every link and button on a
   public page is at least 44x44 CSS px. One zero-specificity rule, so a component's own display /
   padding still wins and only the small ones grow. tests/test_public_mobile_tap_targets.py. */
@media (max-width:720px), (pointer:coarse) {
  :where(a, button, [role="button"]) {
    min-width:44px; min-height:44px; box-sizing:border-box;
    display:inline-flex; align-items:center; justify-content:center;
  }
  #forgot { min-height:44px !important; }          /* signin sets min-height:0 inline */
  .nav .btn { min-height:44px; height:44px; }   /* the header buttons set 38px above */
}
