/* The public pages: how it works, agents, pricing, privacy and terms. Home (/) adds home.css. */
:root { color-scheme: light dark; --ink: #18181b; --ink-2: #52525b; --line: #e4e4e7; --bg: #fafafa; --accent: #4f46e5; }
@media (prefers-color-scheme: dark) { :root { --ink: #f4f4f5; --ink-2: #a1a1aa; --line: #3f3f46; --bg: #18181b; --accent: #818cf8; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 40px 16px 56px; }
header { margin-bottom: 36px; }
header, header a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 17px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 14px; }
h2 { font-size: 18px; margin: 32px 0 8px; }
p, li { color: var(--ink-2); }
p { margin: 0 0 14px; }
ul { padding-left: 20px; margin: 0 0 20px; }
li { margin-bottom: 8px; }
b { color: var(--ink); }
a { color: var(--accent); }
code { font-size: 14px; }
.lead { font-size: 17px; }
.muted { font-size: 14px; }
.btn { display: inline-block; background: #4f46e5; color: #fff; text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }

/* Home */
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
main.wide { max-width: 960px; }
main.wide header { margin-bottom: 0; }
.pageHead { padding: 64px 0 24px; text-align: center; }
.pageHead h1, .price h1, .agentSec h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 20px; }
.pageHead .lead { font-size: clamp(17px, 2.2vw, 20px); max-width: 640px; margin: 0 auto; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step, .split > div { background: color-mix(in srgb, var(--bg) 60%, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
@media (prefers-color-scheme: dark) { .step, .split > div { background: #27272a; } }
.step .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
.step h2, .split h2 { font-size: 19px; line-height: 1.3; margin: 14px 0 8px; }
.split h2 { margin-top: 0; }
.step p, .split p { margin: 0; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.agents { margin-top: 56px; text-align: center; }
.agents h2 { font-size: 22px; margin: 0 0 6px; }
.price { margin-top: 56px; padding: 32px 0 0; border-top: 1px solid var(--line); text-align: center; }
.price .cta { justify-content: center; margin: 20px 0 16px; }
@media (max-width: 760px) {
  .pageHead { padding: 40px 0 16px; }
  .steps, .split { grid-template-columns: 1fr; }
}

/* The terminal on Agents */
.term { position: relative; margin: 0; background: #0f0f12; border-radius: 14px; box-shadow: 0 24px 60px -20px #0006, 0 0 0 1px #ffffff14; overflow: visible; }
.termBar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #ffffff12; }
.termBar i { width: 11px; height: 11px; border-radius: 50%; background: #3f3f46; }
.termBar i:nth-child(1) { background: #ff5f57; } .termBar i:nth-child(2) { background: #febc2e; } .termBar i:nth-child(3) { background: #28c840; }
.termBar span { margin-left: 8px; color: #71717a; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.termBody { margin: 0; padding: 16px 18px 20px; min-height: 330px; padding-bottom: 28px; color: #e4e4e7; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.termBody b { color: #fff; }
.termBody .p { color: #818cf8; } .termBody .ok { color: #4ade80; } .termBody .u { color: #a5b4fc; text-decoration: underline; text-underline-offset: 3px; } .termBody .d { color: #71717a; }
.caret { display: inline-block; width: 8px; height: 15px; margin-left: 1px; vertical-align: -2px; background: #e4e4e7; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ping { position: absolute; right: -18px; bottom: -34px; max-width: 250px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #18181b; font-size: 13.5px; line-height: 1.45; box-shadow: 0 14px 40px -10px #0005, 0 0 0 1px #0000000f; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .3s, transform .3s; pointer-events: none; }
.ping.on { opacity: 1; transform: none; }
.ping b { color: #18181b; } .ping .q { color: #52525b; }
.ping .tag { font-size: 11px; padding: 1px 6px; border-radius: 99px; background: #eef2ff; color: #4f46e5; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
@media (max-width: 900px) {
  .ping { right: 8px; bottom: -40px; }
  .term { margin-bottom: 24px; }
  .termBody { min-height: 300px; font-size: 12px; }
}
.termBody .say { color: #fff; font-weight: 600; }

/* Home: "From localhost to a room" */
.room { margin: 72px 0 56px; text-align: center; }
.room h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; }
.room > .muted { font-size: 16px; max-width: 600px; margin: 0 auto 28px; }
.browser { margin: 0 auto; max-width: 780px; text-align: left; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px -30px #0005, 0 0 0 1px #0000001a; overflow: hidden; color: #18181b; }
.bTop { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #f4f4f5; border-bottom: 1px solid #e4e4e7; }
.bTop .dots { display: flex; gap: 6px; } .bTop .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d8; }
.addr { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; padding: 6px 10px; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.addr .url { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.addr .lock { width: 9px; height: 9px; border-radius: 2px; border: 1.5px solid #a1a1aa; flex: none; }
.addr .who { flex: none; font: 600 11px ui-sans-serif, system-ui, sans-serif; padding: 2px 8px; border-radius: 99px; background: #f4f4f5; color: #71717a; transition: background .3s, color .3s; }
.browser:not([data-scene="1"]):not([data-scene="0"]) .addr .who { background: #dcfce7; color: #15803d; }
.browser:not([data-scene="1"]):not([data-scene="0"]) .addr .lock { border-color: #16a34a; }
.bPage { position: relative; height: 420px; background: #fafafa; overflow: hidden; }
.shop { padding: 18px 24px; }
.shopNav { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; } .shopNav b { font-size: 16px; margin-right: auto; } .shopNav span { width: 46px; height: 8px; border-radius: 4px; background: #e4e4e7; }
.shopBody { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.shopImg { height: 210px; border-radius: 12px; background: linear-gradient(135deg, #e0e7ff, #fce7f3); }
.shopInfo .l { height: 12px; border-radius: 6px; background: #e4e4e7; margin-bottom: 10px; } .shopInfo .thin { height: 8px; background: #ececef; }
.w60 { width: 60%; } .w40 { width: 40%; } .w80 { width: 80%; } .w70 { width: 70%; }
.pPrice { font-size: 26px; font-weight: 700; margin: 14px 0 12px; }
.pay { position: relative; margin-top: 12px; border: 0; border-radius: 10px; padding: 12px 22px; font: 600 15px ui-sans-serif, system-ui, sans-serif; color: #fff; background: #18181b; transition: background .5s; cursor: default; }
.totWrap .pin { position: absolute; right: -14px; top: -14px; width: 26px; height: 26px; border-radius: 50% 50% 50% 3px; background: #f97316; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px #0004; font: 700 12px/22px ui-sans-serif, system-ui, sans-serif; text-align: center; transform: translateY(-100%) scale(0); transform-origin: bottom left; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.browser.commenting .totWrap .pin, .browser.fixed .totWrap .pin { transform: translateY(-40%) scale(1); }
.browser.fixed .totWrap .pin { background: #16a34a; font-size: 0; } .browser.fixed .totWrap .pin::after { content: '✓'; font-size: 13px; }
.cursor { position: absolute; left: 230px; top: 110px; z-index: 2; display: flex; align-items: flex-start; gap: 2px; opacity: 0; transition: left 1s ease, top 1s ease, opacity .3s; pointer-events: none; }
.cursor svg { width: 18px; height: 18px; fill: #f97316; stroke: #fff; stroke-width: 1.5; }
.cursor span { margin-top: 14px; font: 600 11px ui-sans-serif, system-ui, sans-serif; color: #fff; background: #f97316; padding: 1px 6px; border-radius: 99px; }
.bubble { position: absolute; left: calc(100% + 22px); top: -46px; width: 190px; z-index: 3; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 12px 34px -8px #0004, 0 0 0 1px #0000000f; font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .3s .7s, transform .3s .7s; }
.bubble .tag { font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: #eef2ff; color: #4f46e5; font-weight: 600; }
.browser.commenting .bubble { opacity: 1; transform: none; }
.toolbar { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 12px; background: #fff; border: 1px solid #e4e4e7; box-shadow: 0 10px 30px -10px #0003; font: 13px ui-sans-serif, system-ui, sans-serif; white-space: nowrap; transform: translate(-50%, 80px); opacity: 0; transition: transform .5s cubic-bezier(.2, 1.2, .4, 1), opacity .3s; }
.browser:not([data-scene="1"]):not([data-scene="0"]) .toolbar { transform: translate(-50%, 0); opacity: 1; }
.toolbar .tLogo { display: block; width: 22px; height: 22px; }
.toolbar .ver { padding: 2px 7px; border-radius: 6px; background: #f4f4f5; font-weight: 600; transition: background .3s; }
.browser.fixed .toolbar .ver { background: #dcfce7; color: #15803d; }
.toolbar .seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: #f4f4f5; }
.toolbar .seg span { display: grid; place-items: center; width: 28px; height: 24px; border-radius: 6px; transition: background .2s, color .2s; color: #71717a; }
.toolbar .seg span.on { background: #fff; color: #18181b; box-shadow: 0 1px 2px #0002; }
.browser.commenting #roomBrowse { background: none; box-shadow: none; color: #71717a; }
.browser.commenting #roomComment { background: #5046e5; color: #fff; }
.toolbar .seg svg, .toolbar .agent svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.toolbar .avs { display: flex; } .toolbar .avs i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font: 700 10.5px/22px ui-sans-serif, system-ui, sans-serif; font-style: normal; text-align: center; border: 2px solid #fff; margin-left: -6px; }
.toolbar .agent { display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; border: 1px solid #e4e4e7; font-weight: 550; }
.toolbar .agent em { font-style: normal; min-width: 16px; text-align: center; border-radius: 99px; background: #f4f4f5; font-size: 11.5px; font-weight: 700; transition: background .3s, color .3s; }
.browser.queued .toolbar .agent em { background: #5046e5; color: #fff; }
.roomSteps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 20px 0 0; }
@media (max-width: 640px) {
  .room { margin: 48px 0 40px; }
  .shop { padding: 14px; }
  .shopBody { grid-template-columns: 1fr; gap: 12px; } .shopImg { display: none; }
  .pPrice { font-size: 20px; margin: 8px 0; } .shopInfo .thin { display: none; }
  .bubble { left: 0; top: -84px; width: 180px; }
  .bPage { height: 440px; }
  .toolbar { gap: 6px; font-size: 12px; } .toolbar .avs { display: none; }
  .addr .who { display: none; }
}
/* Home: "From localhost to a room", polish */
.shopNav span { width: auto; height: auto; background: none; font-size: 13px; color: #71717a; }
.shopImg { position: relative; display: grid; place-items: center; }
.tote { position: relative; width: 38%; aspect-ratio: 1; border-radius: 6px 6px 14px 14px; background: #e9dfcf; box-shadow: inset 0 -10px 0 #e2d5c0; margin-top: 12%; }
.tote::before { content: ''; position: absolute; left: 22%; right: 22%; top: -34%; height: 44%; border: 5px solid #d8c8ae; border-bottom: 0; border-radius: 40px 40px 0 0; }
.pTitle { font-size: 20px; font-weight: 700; } .pSub { font-size: 13px; color: #71717a; margin-top: 2px; }
.pPrice { margin: 10px 0 6px; }
.pText { font-size: 13px; line-height: 1.5; color: #52525b; margin: 0; max-width: 280px; }
.say { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px); opacity: 0; padding: 8px 14px; border-radius: 10px; background: #0f0f12; color: #fff; font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; box-shadow: 0 12px 30px -10px #0006; transition: opacity .3s, transform .3s; z-index: 4; }
.say span { color: #818cf8; }
.browser.saying .say { opacity: 1; transform: translate(-50%, 0); }
.browser.flash .addr { box-shadow: 0 0 0 3px #a5b4fc; transition: box-shadow .4s; }
.addr { transition: box-shadow .8s; }
.toast { position: absolute; right: 16px; top: 14px; transform: translateY(-6px); opacity: 0; padding: 6px 12px; border-radius: 99px; background: #18181b; color: #fff; font: 600 12px ui-sans-serif, system-ui, sans-serif; white-space: nowrap; transition: opacity .3s, transform .3s; z-index: 4; }
.toast.on { opacity: 1; transform: none; }
.browser.fixed .toast { background: #16a34a; }
.roomSteps button { position: relative; overflow: hidden; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--ink-2); cursor: pointer; transition: color .3s, border-color .3s; }
.roomSteps button.on { border-color: var(--accent); color: var(--ink); }
.roomSteps button::before { content: ''; position: absolute; inset: 0; background: var(--accent); opacity: .14; transform: scaleX(0); transform-origin: left; }
.roomSteps button.on::before { animation: roomFill var(--t, 0ms) linear forwards; }
@keyframes roomFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .roomSteps button.on::before { animation: none; transform: scaleX(1); } }
@media (max-width: 640px) {
  .shopImg { display: none; }
  .pText { display: none; } .shopNav span { display: none; }
  .pTitle { font-size: 17px; }
}
.browser.paused + .roomSteps button.on::before { animation-play-state: paused; }
/* Home room: the comment flying into the Agent button, and the button's beam while it waits (as in share.css). */
.bPage .flyGhost { position: absolute; z-index: 6; margin: 0; opacity: 1; transform-origin: center; pointer-events: none; transition: none; will-change: transform, opacity; }
.browser.sent .totWrap .bubble { opacity: 0; transition: opacity .15s; }
@property --beam-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.toolbar .agent { position: relative; isolation: isolate; }
.browser.queued .toolbar .agent { border-color: transparent; }
.browser.queued .toolbar .agent::before, .browser.queued .toolbar .agent::after { content: ''; position: absolute; pointer-events: none; background: conic-gradient(from var(--beam-a), #ff5f6d, #ffc371, #f9f871, #47e891, #3fb8ff, #7c6cff, #f15bb5, #ff5f6d); animation: roomBeam 3.2s linear infinite; }
.browser.queued .toolbar .agent::before { inset: 0; border-radius: inherit; padding: 1px; z-index: 1; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.browser.queued .toolbar .agent::after { inset: -4px; border-radius: 12px; padding: 4px; z-index: -1; filter: blur(3px); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: roomBeam 3.2s linear infinite, roomPulse 2.4s ease-in-out infinite; }
.toolbar .agent > * { position: relative; z-index: 2; }
@keyframes roomBeam { to { --beam-a: 360deg; } }
@keyframes roomPulse { 0%, 100% { opacity: .15; transform: scale(.98); } 50% { opacity: .45; transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .browser.queued .toolbar .agent::before, .browser.queued .toolbar .agent::after { animation: none; } .browser.queued .toolbar .agent::after { opacity: .3; } }
/* Home room: buy 2, save 10%; the total gets the comment; Tom queues it. */
.pPrice { margin: 6px 0 8px; font-size: 22px; }
.promo { display: inline-block; font-size: 12px; font-weight: 600; color: #b45309; background: #fef3c7; border-radius: 6px; padding: 3px 8px; }
.qty { display: flex; align-items: center; gap: 0; margin: 10px 0 8px; width: max-content; border: 1px solid #e4e4e7; border-radius: 8px; background: #fff; font-size: 14px; }
.qty span { width: 30px; text-align: center; color: #71717a; } .qty b { min-width: 26px; text-align: center; padding: 5px 0; border-inline: 1px solid #e4e4e7; }
.totWrap { position: relative; width: max-content; }
.total { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: #52525b; }
.total .was { color: #18181b; font-weight: 700; font-size: 16px; }
.total .now, .total .off { display: none; }
.browser.fixed .total .was { font-weight: 400; font-size: 14px; color: #a1a1aa; text-decoration: line-through; }
.browser.fixed .total .now { display: inline; color: #18181b; font-size: 16px; }
.browser.fixed .total .off { display: inline; font-style: normal; font-size: 11.5px; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 6px; padding: 1px 6px; }
.totWrap .pin { right: -30px; top: -6px; }
.totWrap .cursor { left: 230px; top: 90px; }
.browser.commenting .totWrap .cursor { opacity: 1; left: 96px; top: 12px; }
.browser.posted .totWrap .cursor { opacity: 0; }
.totWrap .bubble { left: calc(100% + 40px); top: -58px; width: 210px; }
.bHead { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.bHead .tag { margin-right: auto; }
.queueIco { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #a1a1aa; transition: background .15s, color .15s, transform .12s; }
.queueIco svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.browser.hover .queueIco { background: #f4f4f5; color: #5046e5; }
.browser.press .queueIco { transform: scale(.85); }
.browser.queued .queueIco, .browser.sent .queueIco, .browser.press .queueIco { background: #5046e5; color: #fff; }
.cursor.team { left: 46%; top: 92%; z-index: 7; }
.cursor.team svg { fill: #0ea5e9; } .cursor.team span { background: #0ea5e9; }
.browser.tom .cursor.team { opacity: 1; }
.browser.press .cursor.team svg { transform: scale(.85); transform-origin: top left; }
@media (max-width: 640px) {
  .totWrap .bubble { left: -10px; top: -104px; width: 200px; }
  .totWrap .pin { right: -30px; }
  .promo { font-size: 11px; }
}
.cursor.team span { position: absolute; right: calc(100% - 4px); top: 14px; margin: 0; }
/* v1 has plain pricing; the discount (the client's request) arrives with v2. */
.promo { max-height: 0; padding-block: 0; opacity: 0; overflow: hidden; transition: max-height .4s, padding .4s, opacity .4s .1s; }
.browser.fixed .promo { max-height: 30px; padding-block: 3px; opacity: 1; margin-top: 2px; }
/* Home room: Sam writes the comment (pin on click, typed text, Post), then it's posted. */
.browser.commenting .totWrap .pin { transform: translateY(-100%) scale(0); }
.browser.pinned .totWrap .pin, .browser.fixed .totWrap .pin { transform: translateY(-40%) scale(1); }
.browser.commenting .bubble { opacity: 0; transform: translateY(8px); }
.browser.pinned .bubble { opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
.bText { display: block; min-height: 2.9em; }
.browser.pinned:not(.posted) .bText::after { content: ''; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #5046e5; animation: blink 1s steps(1) infinite; }
.bFoot { display: flex; justify-content: flex-end; margin-top: 6px; }
.post { font-size: 12px; font-weight: 600; color: #fff; background: #5046e5; border-radius: 7px; padding: 4px 11px; transition: transform .12s, opacity .2s; }
.browser.posting .post { transform: scale(.9); }
.browser.posted .bFoot { display: none; }
.queueIco { visibility: hidden; }
.browser.posted .queueIco { visibility: visible; }
.browser.posting .totWrap .cursor svg { transform: scale(.85); transform-origin: top left; }
/* Home room: a checkout (contact and payment, and the order summary), not a product page. */
.co .shopNav { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #ececef; }
.co .shopNav .crumbs { margin-right: auto; margin-left: 18px; font-size: 13px; color: #a1a1aa; } .co .shopNav .crumbs b { color: #18181b; font-weight: 600; } .co .shopNav .crumbs i { font-style: normal; margin: 0 4px; }
.co .shopNav .secure { font-size: 12px; color: #15803d; }
.co .shopNav .secure::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; border: 1.5px solid #16a34a; vertical-align: 0; }
.coBody { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.coH { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #71717a; margin: 4px 0 8px; }
.coH + .field + .coH { margin-top: 18px; }
.field { border: 1px solid #e4e4e7; border-radius: 8px; background: #fff; padding: 9px 11px; font-size: 13.5px; color: #3f3f46; margin-bottom: 8px; }
.field.card { display: flex; align-items: center; gap: 10px; } .field.card .exp { margin-left: auto; color: #a1a1aa; }
.brand4 { width: 26px; height: 17px; border-radius: 3px; background: linear-gradient(135deg, #1e3a8a, #6366f1); }
.row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.coSum { background: #fff; border: 1px solid #ececef; border-radius: 12px; padding: 14px 16px; align-self: start; }
.coSum .promo { margin: 0 0 4px; }
.browser.fixed .coSum .promo { margin-bottom: 10px; }
.item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #f1f1f3; }
.item .thumb { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #e0e7ff, #fce7f3); display: grid; place-items: center; flex: none; }
.item .thumb .tote { width: 55%; margin-top: 18%; border-radius: 3px 3px 6px 6px; box-shadow: inset 0 -3px 0 #e2d5c0; }
.item .thumb .tote::before { border-width: 2px; top: -36%; }
.item .iName { display: flex; flex-direction: column; margin-right: auto; } .item .iName small { color: #71717a; font-size: 12px; }
.sRow { display: flex; justify-content: space-between; font-size: 13px; color: #52525b; padding: 3px 0; }
.sRow.disc { color: #15803d; max-height: 0; padding-block: 0; opacity: 0; overflow: hidden; transition: max-height .4s, padding .4s, opacity .4s .1s; }
.browser.fixed .sRow.disc { max-height: 24px; padding-block: 3px; opacity: 1; }
.co .totWrap { width: auto; margin-top: 6px; padding-top: 8px; border-top: 1px solid #f1f1f3; }
.co .total { justify-content: space-between; font-size: 14px; color: #18181b; font-weight: 600; }
.co .total .amt { display: flex; gap: 8px; align-items: baseline; }
.co .pay { width: 100%; margin-top: 12px; padding: 11px; font-size: 14px; }
.co .pay .now, .co .total .now { display: none; }
.browser.fixed .co .pay .was { display: none; } .browser.fixed .co .pay .now { display: inline; }
.browser.fixed .co .total .now { display: inline; }
.co .totWrap .pin { right: -27px; top: -4px; }
.co .totWrap .cursor { left: 150px; top: 110px; }
.browser.commenting .co .totWrap .cursor { left: calc(100% - 4px); top: 12px; }
.co .totWrap .bubble { left: auto; right: calc(100% + 24px); top: -64px; width: 220px; }
@media (max-width: 640px) {
  .coBody { grid-template-columns: 1fr; } .coForm { display: none; }
  .co .shopNav .secure { display: none; }
  .co .totWrap .bubble { right: auto; left: 0; top: -150px; }
}
.co .totWrap .cursor > span { position: absolute; left: 12px; top: 20px; margin: 0; }
.browser .bPage:has(.co) { height: 480px; }
@media (max-width: 640px) { .browser .bPage:has(.co) { height: 490px; } }
.item img.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #efe9df; }
/* The order item's quantity: a clear stepper. */
.item .qty { margin: 7px 0 0; font-size: 14px; border: 1.5px solid #d4d4d8; border-radius: 9px; }
.item .qty span { width: 30px; line-height: 28px; color: #18181b; font-size: 16px; font-weight: 600; }
.item .qty b { min-width: 32px; padding: 4px 0; font-size: 14px; border-inline: 1.5px solid #d4d4d8; }
/* Home room: one button posts the comment and sends it to the agent (the robot). */
.post { display: grid; place-items: center; width: 30px; height: 26px; padding: 0; }
.post svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* A bigger photo, a smaller stepper. */
.item img.thumb { width: 84px; height: 84px; border-radius: 12px; }
.item .qty { margin-top: 6px; font-size: 12.5px; border-width: 1px; border-radius: 7px; }
.item .qty span { width: 22px; line-height: 22px; font-size: 14px; }
.item .qty b { min-width: 24px; padding: 2px 0; font-size: 12.5px; border-inline-width: 1px; }
@media (max-width: 640px) { .item img.thumb { width: 64px; height: 64px; } }
@media (max-width: 640px) { .browser.commenting .co .totWrap .cursor { left: calc(100% - 44px); top: 14px; } }
/* Home room: the agent at work (a shimmer over the checkout), then v2 comes in with a badge. */
.coSum { position: relative; }
.coSum::after { content: ''; position: absolute; inset: 0; pointer-events: none;  border-radius: inherit; opacity: 0; background: linear-gradient(105deg, transparent 30%, #c7d2fe99 45%, #fbcfe8aa 50%, #c7d2fe99 55%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; transition: opacity .3s; }
.browser.working .coSum::after { opacity: 1; animation: roomShimmer 1s linear infinite; }
.browser.working .coSum > :not(.fixedBadge) { opacity: .55; filter: blur(.4px); transition: opacity .3s, filter .3s; }
@keyframes roomShimmer { to { background-position: -120% 0; } }
.browser.fixed .coSum > * { animation: roomIn .5s ease-out both; }
@keyframes roomIn { from { opacity: .4; filter: blur(2px); transform: translateY(3px); } }
.fixedBadge { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11.5px; font-weight: 700; color: #fff; background: #16a34a; border-radius: 99px; padding: 3px 9px; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.browser.fixed .fixedBadge { opacity: 1; transform: none; transition-delay: .25s; animation: none; }
.browser.fixed .coSum .promo { margin-right: 96px; }
@media (prefers-reduced-motion: reduce) { .browser.working .coSum::after { animation: none; } .browser.fixed .coSum > * { animation: none; } }
/* Home room, "Shared": the link card, Sam joining. */
.linkCard { position: absolute; left: 50%; top: 22px; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -12px #0005, 0 0 0 1px #0000000f; font-size: 13px; white-space: nowrap; transform: translate(-50%, -14px) scale(.96); opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.linkCard b { display: block; } .linkCard small { display: block; color: #71717a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.lcIco { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #eef2ff; color: #5046e5; }
.lcIco svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lcTo { margin-left: 6px; font-size: 12px; font-weight: 600; color: #15803d; background: #dcfce7; border-radius: 99px; padding: 3px 9px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.browser.linked .linkCard { opacity: 1; transform: translate(-50%, 0); }
.browser.sentLink .lcTo { opacity: 1; transform: none; }
.toolbar .avs i.sam { transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.browser:not([data-scene="1"]):not([data-scene="0"]):not(.linked) .toolbar .avs i.sam { transform: scale(1); }
.joined { position: absolute; left: 50%; bottom: 64px; z-index: 8; display: flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 99px; background: #18181b; color: #fff; font-size: 12.5px; font-weight: 600; transform: translate(-50%, 8px); opacity: 0; transition: opacity .25s, transform .3s; }
.joined i { width: 20px; height: 20px; border-radius: 50%; background: #f97316; font-style: normal; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.browser.joinedNow .joined { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .lcTo { display: none; } }
/* How it works: the checkout example; Agents: the terminal. */
.room { margin: 44px 0 56px; }
.agentSec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; margin: 72px 0 24px; }
.agentSec h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.agentSec p { font-size: 16px; }
.agentSec .term { margin-bottom: 30px; }
@media (max-width: 900px) { .agentSec { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 760px) { .room { margin-top: 28px; } }
/* Home room: more people comment at once (Lea, Tom, Ana), and v2 changes more: the summary moves to
   the left, the photo grows, the stepper becomes a dropdown. */
.xCur { position: absolute; left: 0; top: 0; z-index: 7; opacity: 0; pointer-events: none; transition: left .8s cubic-bezier(.3, .7, .2, 1), top .8s cubic-bezier(.3, .7, .2, 1), opacity .25s; }
.xCur.on { opacity: 1; }
.xCur svg { display: block; width: 18px; height: 18px; fill: var(--c); stroke: #fff; stroke-width: 1.5; }
.xCur span { position: absolute; left: 12px; top: 18px; padding: 1px 6px; border-radius: 99px; background: var(--c); color: #fff; font: 600 11px ui-sans-serif, system-ui, sans-serif; white-space: nowrap; }
.xPin { position: absolute; z-index: 2; width: 24px; height: 24px; margin: -24px 0 0 -2px; border-radius: 50% 50% 50% 3px; background: var(--c); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px #0004; font: 700 11px/20px ui-sans-serif, system-ui, sans-serif; text-align: center; transform: scale(0); transform-origin: bottom left; pointer-events: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .3s, opacity .3s; }
.xPin.on { transform: scale(1); }
.xPin.done { background: #16a34a; font-size: 0; } .xPin.done::after { content: '✓'; font-size: 12px; }
.xPin.gone { opacity: 0; transform: scale(.6); }
.xCard { position: absolute; z-index: 6; width: 200px; padding: 8px 10px; border-radius: 11px; background: #fff; box-shadow: 0 12px 30px -8px #0004, 0 0 0 1px #0000000f; font-size: 12.5px; line-height: 1.4; opacity: 0; transform: translateY(6px); pointer-events: none; }
.xCard.on { opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.xCard .tag { font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: #eef2ff; color: #4f46e5; font-weight: 600; }
.xCard .t { display: block; min-height: 1.4em; }
.browser.working .coForm { opacity: .55; filter: blur(.4px); transition: opacity .3s, filter .3s; }
.browser.fixed .coSum { order: -1; }
.item img.thumb { transition: width .6s cubic-bezier(.2, .8, .2, 1), height .6s cubic-bezier(.2, .8, .2, 1); }
.browser.fixed .item img.thumb { width: 116px; height: 116px; }
.qtySel { display: none; align-items: center; gap: 4px; width: max-content; margin-top: 6px; padding: 3px 6px 3px 9px; border: 1px solid #d4d4d8; border-radius: 7px; background: #fff; font-size: 12.5px; font-weight: 600; color: #18181b; }
.qtySel svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.browser.fixed .item .qty { display: none; }
.browser.fixed .qtySel { display: flex; }
@media (max-width: 640px) { .browser.fixed .item img.thumb { width: 92px; height: 92px; } }
.browser .bPage:has(.co) { height: 510px; }
@media (max-width: 640px) { .browser .bPage:has(.co) { height: 500px; } }
/* Home room on phones: Sam's bubble under the total (not over the item); v2's photo grows but stays
   square, so the whole bag stays visible. */
@media (max-width: 640px) {
  .co .totWrap .bubble { left: auto; right: 0; top: calc(100% + 10px); width: min(240px, 80%); }
  .browser.fixed .item img.thumb { width: 112px; height: 112px; }
  .browser .bPage:has(.co) { height: 540px; }
}
/* Home room: a Share button in the toolbar; clicking it copies the client link, which pops up above it. */
.toolbar .share { display: flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; background: #18181b; color: #fff; font-weight: 600; transition: transform .12s, box-shadow .25s; }
.toolbar .share svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.browser.sharing .toolbar .share { transform: scale(.9); }
.browser.linked .toolbar .share { box-shadow: 0 0 0 3px #c7d2fe; }
.linkCard { top: auto; bottom: 64px; transform: translate(-50%, 12px) scale(.96); }
.browser.linked .linkCard { transform: translate(-50%, 0); }
.xCur.down svg { transform: scale(.85); transform-origin: top left; }
@media (max-width: 640px) { .toolbar .share span, .toolbar > b { display: none; } .toolbar .share { padding: 4px 7px; } }
/* Avatars that haven't joined yet take no room (no gap before Share). */
.toolbar .avs i.sam { width: 0; margin-left: 0; border-width: 0; overflow: hidden; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), width .3s, margin .3s; }
.browser:not([data-scene="1"]):not([data-scene="0"]):not(.linked) .toolbar .avs i.sam { width: 22px; margin-left: -6px; border-width: 2px; }
/* …and they join only when Sam opens the link (after You clicked Share), not while You is on the way. */
.browser[data-scene="2"]:not(.joinedNow) .toolbar .avs i.sam { transform: scale(0); width: 0; margin-left: 0; border-width: 0; }
/* Home room, "On your computer": a little terminal (you ask your agent to share it); the address
   flies up into the address bar. */
.browser { position: relative; }
.say { left: 16px; right: auto; top: 12px; bottom: auto; width: min(320px, calc(100% - 32px)); padding: 0; border-radius: 11px; background: #0f0f12; white-space: normal; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; transform: translateY(-8px); box-shadow: 0 18px 40px -12px #0007; }
.browser.saying .say { transform: none; }
.say .sayBar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid #ffffff14; }
.say .sayBar i { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.say .sayBar span { margin-left: 6px; color: #71717a; font-size: 11px; }
.say .sayBody { padding: 8px 12px 10px; color: #e4e4e7; }
.say .sayBody span { color: inherit; }
.say .sayBody .p { color: #818cf8; } .say .sayBody .d { color: #71717a; } .say .sayBody .ok { color: #4ade80; } .say .sayBody .u { color: #c7d2fe; }
.say #sayIn { color: #fff; font-weight: 600; }
.say .l2, .say .l3 { opacity: 0; transform: translateY(3px); transition: opacity .25s, transform .25s; }
.browser.l2 .say .l2, .browser.l3 .say .l3 { opacity: 1; transform: none; }
.urlGhost { position: absolute; z-index: 20; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c7d2fe; white-space: nowrap; pointer-events: none; }
/* Home room, "Shared": Link copied turns into Sam joined (one card). */
.joined { display: none; }
.lcIco { position: relative; transition: background .35s, border-radius .35s; }
.lcIco svg { transition: opacity .25s; }
.lcIco i { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px/1 ui-sans-serif, system-ui, sans-serif; font-style: normal; color: #fff; opacity: 0; transition: opacity .25s .1s; }
.browser.joinedNow .lcIco { background: #f97316; border-radius: 50%; }
.browser.joinedNow .lcIco svg { opacity: 0; }
.browser.joinedNow .lcIco i { opacity: 1; }
.lcTxt { display: grid; }
.lcTxt > span { grid-area: 1 / 1; transition: opacity .3s, transform .3s; }
.lcTxt .b { opacity: 0; transform: translateY(6px); }
.browser.joinedNow .lcTxt .a { opacity: 0; transform: translateY(-6px); }
.browser.joinedNow .lcTxt .b { opacity: 1; transform: none; transition-delay: .1s; }
.lcTo { max-width: 120px; overflow: hidden; white-space: nowrap; transition: opacity .25s, transform .25s, max-width .4s, margin .4s, padding .4s; }
.browser.joinedNow .lcTo { opacity: 0; max-width: 0; margin-left: 0; padding-inline: 0; }
.lcTxt .b small { font-family: ui-sans-serif, system-ui, sans-serif; }
.browser.joinedNow .toolbar .avs i.sam { transform: scale(1); width: 22px; margin-left: -6px; border-width: 2px; }
/* …as a small dark single-line badge: "Link copied · address · Sent to Sam", then "Sam joined". */
.linkCard { gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: #18181b; color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 12px 30px -10px #0006; }
.linkCard .lcIco { width: 22px; height: 22px; border-radius: 50%; background: #ffffff24; color: #fff; }
.linkCard .lcIco svg { width: 13px; height: 13px; }
.linkCard .lcIco i { font-size: 10.5px; }
.linkCard b, .linkCard small { display: inline; }
.linkCard .lcTxt small { margin-left: 6px; color: #a1a1aa; font: 400 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; }
.linkCard .lcTxt .b small { display: none; }
.linkCard .lcTo { margin-left: 2px; padding: 2px 8px; font-size: 11.5px; color: #86efac; background: #16a34a33; }
@media (max-width: 640px) { .linkCard .lcTxt .a small { display: none; } .linkCard .lcTo { display: inline-block; } }
.linkCard b { color: #fff; }
.linkCard .lcTxt small { display: inline-block; max-width: 260px; overflow: hidden; white-space: nowrap; vertical-align: bottom; transition: max-width .4s, margin .4s, opacity .25s; }
.browser.joinedNow .linkCard .lcTxt .a small { max-width: 0; margin-left: 0; opacity: 0; }
.linkCard .lcTxt .a small { margin-left: 9px; }
/* …and then into Lea joining (purple), whose avatar joins the toolbar too. */
.lcTxt .c { opacity: 0; transform: translateY(6px); }
.browser.leaNow .lcTxt .b { opacity: 0; transform: translateY(-6px); transition-delay: 0s; }
.browser.leaNow .lcTxt .c { opacity: 1; transform: none; transition-delay: .1s; }
.browser.joinedNow .lcIco i.l, .browser.leaNow .lcIco i.s { opacity: 0; }
.browser.leaNow .lcIco { background: #8b5cf6; }
.browser.leaNow .lcIco i.l { opacity: 1; }
.toolbar .avs i.lea { width: 0; margin-left: 0; border-width: 0; overflow: hidden; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), width .3s, margin .3s; }
.browser.leaNow .toolbar .avs i.lea, .browser[data-scene="3"] .toolbar .avs i.lea, .browser[data-scene="4"] .toolbar .avs i.lea { transform: scale(1); width: 22px; margin-left: -6px; border-width: 2px; }
