/* Hotkey landing page: the page's own layout. Colors, fonts, buttons (.btn), chips (.chip,
   .tone-*) and avatars come from the console's own files, linked in as console-base.css
   (console/shared/base.css), console-tokens.css (console/a/tokens.css) and fonts.css
   (console/shared/fonts.css, Geist served from this host). The demo under the hero wears
   console-a.css, the console's own stylesheet kept inside .cx (experiments/landing/scope-css.mjs),
   so this file names no class the console uses outside .cx. */

/* The console is an app that never scrolls; this is a page that does. */
html, body { height: auto; overflow: visible; overscroll-behavior: auto; }
body { position: static; font-size: 16px; line-height: 1.6; font-feature-settings: "ss01", "cv11"; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a:focus-visible, summary:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 5; }
.skip:focus { left: 8px; }
a.btn { text-decoration: none; color: var(--ink); }
a.btn.primary { color: #fff; }
:root[data-theme="dark"] a.btn.primary { color: #0b1020; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a.btn.primary { color: #0b1020; } }

/* Light and dark pictures: the one for the other theme is hidden. */
:root .for-dark { display: none; }
:root[data-theme="dark"] .for-dark { display: block; }
:root[data-theme="dark"] .for-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .for-dark { display: block; }
  :root:not([data-theme="light"]) .for-light { display: none; }
}

/* Header */
header.top { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { display: block; border-radius: 9px; }
header nav { display: flex; align-items: center; gap: 20px; }
.plain { color: var(--ink-2); text-decoration: none; font-size: 15px; white-space: nowrap; padding: 8px 0; }
.plain:hover { color: var(--ink); }
/* The theme switch, in the footer: one button that steps through system, light and dark (site/theme.js). */
button.theme { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px; margin-left: -8px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); font: inherit; cursor: pointer; }
button.theme[hidden] { display: none; }
button.theme:hover { background: var(--hover); color: var(--ink); }
button.theme svg { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:root[data-choice="system"] .t-system, :root[data-choice="light"] .t-light, :root[data-choice="dark"] .t-dark { display: block; }
@media (max-width: 520px) { .hide-sm { display: none; } }
@media (max-width: 359px) { .hide-xs { display: none; } .brand { font-size: 16px; } header nav .btn { padding: 0 10px; } }
@media (max-width: 379px) { .kicker .more { display: none; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none !important; } }

/* Hero: the pitch, centered, then the demo across the page. */
.hero { text-align: center; padding-top: 48px; padding-bottom: 48px; display: grid; justify-items: center; }
.kicker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.kicker .chip { height: 24px; padding: 0 10px; font-size: 13px; background: var(--accent-tint); color: var(--accent-ink); }
h1, h2, h3 { font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 20px; max-width: 15ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: var(--ink-2); margin: 0 0 26px; max-width: 44ch; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; }
.fine { color: var(--ink-3); font-size: 14px; }

/* ---------- The demo: a painted desktop with the console and a phone on it ---------- */
/* The canvas is drawn at a fixed size (1160 by 720; 340 by 700 for the phone alone) and scaled
   to the page's width by console-demo.js; .stage gets the scaled height. */
.stage { position: relative; border-radius: 18px; overflow: hidden; background: #a9b9d4 url("wallpaper.webp") center / cover; box-shadow: var(--shadow-lg); isolation: isolate; }
:root[data-theme="dark"] .stage { background-image: url("wallpaper-dark.webp"); background-color: #1b2142; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stage { background-image: url("wallpaper-dark.webp"); background-color: #1b2142; } }
.canvas { position: relative; transform-origin: 0 0; }
/* Nothing in the demo is text to copy, and a drag shouldn't select it. */
.stage.live .canvas { user-select: none; -webkit-user-select: none; }
.stage.live textarea { user-select: text; -webkit-user-select: text; }
.stage:not(.live) .canvas { padding: 6%; }
.still { display: block; }
.still img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.stage.live .still { display: none; }
.stage:not(.live) .desk, .stage:not(.live) .handset, .stage:not(.live) .ptr-you { display: none; }
.stage.live .canvas { width: 1160px; height: 720px; }
.stage.live.alone .canvas { width: 340px; height: 700px; }

.desk { position: absolute; left: 24px; top: 48px; width: 812px; height: 628px; z-index: 2; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 80px rgba(10, 14, 30, .35), 0 0 0 1px rgba(10, 14, 30, .12); }
.desk[hidden] { display: none; }
.win-bar { flex: none; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: var(--sunk); border-bottom: 1px solid var(--line); cursor: grab; user-select: none; touch-action: none; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ee6a5f; }
.win-bar i:nth-child(2) { background: #f5bf4f; }
.win-bar i:nth-child(3) { background: #61c454; }
.win-bar span { flex: 1; text-align: center; margin-right: 52px; font: 12px var(--mono); color: var(--ink-3); }
.moving .win-bar, .handset.moving { cursor: grabbing; }
.desk > .cx { flex: 1; min-height: 0; position: relative; }

.handset { position: absolute; left: 856px; top: 84px; width: 280px; height: 580px; z-index: 2; padding: 9px; border-radius: 44px; background: #15171c;
  box-shadow: 0 30px 70px rgba(10, 14, 30, .4), inset 0 0 0 1.5px #3a3f4a; cursor: grab; touch-action: none; }
.alone .handset { left: 20px; top: 20px; width: 300px; height: 660px; cursor: default; touch-action: auto; }
.screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; cursor: default; }
.sbar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 26px 0 30px; background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink); }
.sbar i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.screen > .cx { flex: 1; min-height: 0; position: relative; }
.push-slot { position: absolute; left: 8px; right: 8px; top: 34px; z-index: 5; }

/* The console inside: it fills its window instead of the screen. */
.cx { font-size: 14px; line-height: 1.45; color: var(--ink); text-align: left; }
.cx .app { height: 100%; }
.cx .rail-list { overflow: hidden; }
.cx .b-side { overflow: hidden; }
.cx .narrow { height: 100%; }
.cx .narrow .grid { grid-template-columns: 1fr; }
.cx .grid { overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx .card { cursor: pointer; }
.cx .rail-b, .cx .rail-nav, .cx .tabbar-item, .cx [data-panel], .cx [data-pgo] { cursor: pointer; }
.cx textarea { width: 100%; resize: none; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); padding: 8px 10px; font-size: 13px; }
.cx .act-wrap { padding: 0 24px; }
.cx .slim .viewer { flex: 1; }
.cx .detail.slim { height: 100%; }
.cx .slim-more { max-height: none; }
.cx .slim-more .facts dl { font-size: 12px; }
.cx .slim-actions .btn { height: 40px; font-size: 15px; }
.cx .thumb { aspect-ratio: 16 / 9; }
.cx .thumb .mini { position: absolute; left: 0; top: 0; width: 300%; height: 300%; transform: scale(.3333); transform-origin: 0 0; pointer-events: none; }

/* The answer the demo waits for: Approve breathes until someone presses it. */
@keyframes nudge { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 28%, transparent); } }
.stage.waiting .cx .btn.nudge { animation: nudge 1.4s ease-in-out infinite; }

/* The phone's push, as ntfy shows one. */
.push { display: flex; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 18px; background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(10, 14, 30, .25); text-align: left; color: var(--ink); font-size: 13px; line-height: 1.35; animation: push-in .45s cubic-bezier(.2, .9, .3, 1.2); }
.push-app { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #317f6f; color: #fff; }
.push-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.push-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
.push-top b { font-weight: 600; color: var(--ink-2); }
@keyframes push-in { from { transform: translateY(-120%); opacity: 0; } }

/* Cursors: the agent's (blue, in each window) and the "You" that answers when nobody does. */
.ptr-agent, .ptr-you { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; opacity: 0; transition: transform .85s cubic-bezier(.45, .05, .2, 1), opacity .25s; }
.ptr-agent.shown, .ptr-you.shown { opacity: 1; }
.ptr-agent b, .ptr-you b { position: absolute; left: 0; top: 18px; }
.ptr-agent svg, .ptr-you svg { display: block; width: 20px; height: 20px; margin: -2px 0 0 -2px; fill: var(--work); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.ptr-agent b, .ptr-you b, .you-tag { display: inline-block; margin: 2px 0 0 16px; padding: 2px 8px; border-radius: 6px; background: var(--work); color: #fff; font: 600 11px/1.4 var(--font); white-space: nowrap; }
.ptr-you { z-index: 8; }
.ptr-you svg { fill: var(--ok); }
.ptr-you b { background: var(--ok); }
.ptr-agent.tap svg, .ptr-you.tap svg { animation: tap .35s ease-out; }
@keyframes tap { 40% { transform: scale(.8); } }
.you-tag { position: absolute; left: 14px; top: 20px; z-index: 9; margin: 0; background: var(--ok); pointer-events: none; }
.you-tag[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .ptr-agent, .ptr-you { transition: opacity .2s; } .push { animation: none; } .stage.waiting .cx .btn.nudge { animation: none; } }

.stage-cap { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; align-items: center; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.stage-cap span { flex: 0 1 auto; }
.stage-cap .btn { min-height: 32px; padding: 0 12px; font-size: 13px; }

/* ---------- Sample sites, inside the demo's browsers and the "asks first" demo ---------- */
.site { position: absolute; inset: 0; overflow: hidden; background: #fff; color: #1d2330; font: 13px/1.4 var(--font); letter-spacing: 0; }
.s-nav { height: 34px; display: flex; align-items: center; gap: 24px; padding: 0 16px; background: #1e2433; color: #fff; font-weight: 600; font-size: 13px; }
.s-crm .s-nav { background: #23324d; }
.s-shelf .s-nav { background: #5b3a29; }
.s-main { position: relative; padding: 14px 16px; height: calc(100% - 34px); max-width: 680px; margin: 0 auto; }
.desk .s-main { padding: 24px 28px; }
.s-h { margin: 0 0 10px; font-weight: 600; font-size: 18px; color: #121722; letter-spacing: -.01em; }
.s-pay { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; margin-bottom: 12px; border: 0; border-radius: 7px; background: #2f55e8; color: #fff; font: 600 13px var(--font); cursor: default; }
.s-pay[disabled] { opacity: .45; }
.site table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.site th, .site td { text-align: left; padding: 7px 4px; border-bottom: 1px solid #e7e9ee; white-space: nowrap; }
.site th { font-weight: 600; }
.site tr.hot { background: #fff6e6; }
.st-overdue { color: #b54708; }
.st-paid, .st-sent { color: #0f7b4f; }
.s-flash { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 8px 10px; border-radius: 8px; background: #e3f5ec; color: #0f6b45; font-weight: 600; }
.s-modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 24, 34, .35); }
.s-dialog { width: min(300px, 86%); padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.s-dialog p { margin: 6px 0 12px; color: #4b5262; }
.s-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 28px; }
.s-center p { margin: 0 0 14px; color: #4b5262; max-width: 30ch; }
.s-code { display: flex; gap: 6px; padding: 0; margin: 0 0 12px; border: 0; background: none; cursor: text; }
.s-box { display: grid; place-items: center; width: 32px; height: 40px; border: 1px solid #c9ced8; border-radius: 7px; font: 600 18px var(--mono); color: #121722; background: #fff; }
.s-box.on { border-color: #2f55e8; box-shadow: 0 0 0 3px #dfe7ff; }
.s-hint { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: #fff6e6; color: #7a4a10 !important; }
.s-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; background: #f1f3f7; }
.s-col b { font-size: 12px; color: #4b5262; }
.s-col span { padding: 7px 8px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: 12px; }
.s-shelf ul { list-style: none; margin: 0; padding: 0; }
.s-shelf li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid #eee5dd; }
.s-shelf li span { font-size: 12px; color: #7b6a5f; }
/* The phone's viewer is narrow: the invoice table drops the payee there. */
.handset .site table td:nth-child(2) { display: none; }

/* ---------- Sections: a short head, then pictures that do the explaining ---------- */
section.band { padding: 96px 0; }
section.band.last { padding-bottom: 40px; }
.head { text-align: center; display: grid; justify-items: center; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.sub { color: var(--ink-3); font-size: 18px; margin: 0; max-width: 48ch; text-wrap: balance; }
figcaption { font-size: 13px; color: var(--ink-3); }

/* Painted backdrops (experiments/landing/wallpaper.mjs). */
.art { position: relative; overflow: hidden; border-radius: 16px; background: var(--sunk) center / cover no-repeat; }
.wall-desert { background-image: url("wall-desert.webp"); background-color: #e8c3a5; }
.wall-dusk { background-image: url("wall-dusk.webp"); background-color: #7b6f99; }
.wall-sea { background-image: url("wall-sea.webp"); background-color: #9cc8c2; }
.wall-night { background-image: url("wall-night.webp"); background-color: #1d2448; }

/* Four cards, two by two: a title and one line, then a small demo on a painting. */
.cards { display: grid; gap: 16px; }
@media (min-width: 820px) { .cards { grid-template-columns: 1fr 1fr; } }
.fcard { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 12px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.fcard figcaption { display: grid; gap: 4px; }
.fcard figcaption p { margin: 0; font-size: 15px; color: var(--ink-3); }
.fcard .art { height: 280px; margin: 0 -12px; display: grid; place-items: center; }

/* Asks before it pays: a small page whose buttons the visitor clicks. */
.mini-win { width: min(360px, 86%); border-radius: 10px; overflow: hidden; background: #fff; color: #1d2330; box-shadow: 0 18px 40px rgba(20, 20, 40, .25); }
.mini-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #f1f2f5; border-bottom: 1px solid #e3e5ea; }
.mini-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3d6dc; }
.mini-bar span { flex: 1; text-align: center; margin-right: 30px; font: 11px var(--mono); color: #6b7280; }
.mini-page { padding: 14px 16px 16px; }
.trial-h { margin: 0 0 12px; font-weight: 600; font-size: 15px; color: #121722; }
.trial-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.tb { min-height: 34px; padding: 0 10px; border-radius: 7px; border: 1px solid #cdd2db; background: #fff; color: #1d2330; font: 500 13px var(--font); cursor: pointer; }
.tb:hover { background: #f3f5f8; }
.tb.strong { background: #2f55e8; border-color: #2f55e8; color: #fff; }
.tb.hit-lock { animation: shake .35s; box-shadow: 0 0 0 3px #fbd59f; }
.tb.hit-ok { box-shadow: 0 0 0 3px #b8e6cf; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .tb.hit-lock { animation: none; } }
.trial-out { margin: 12px 0 0; padding: 7px 10px; border-radius: 7px; font-size: 13px; background: #f3f4f7; color: #5b6270; }
.trial-out.tone-wait { background: #fff4e5; color: #9a4a06; }
.trial-out.tone-ok { background: #e3f5ec; color: #0f6b45; }

/* Answers from your phone: a push with its two answers. */
.mini-phone { width: 230px; padding: 12px; border-radius: 26px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); display: grid; gap: 10px; }
.mp-push { display: flex; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: #1d2330; font-size: 13px; line-height: 1.35; box-shadow: 0 10px 24px rgba(20, 20, 50, .25); }
.mp-push .push-app { width: 28px; height: 28px; }
.mp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp-actions[hidden], .mp-done[hidden] { display: none; }
.mp-actions .btn { height: 38px; }
.mp-actions .btn.danger { background: #fff; }
.mp-done { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; }

/* Keeps going with the laptop shut: a laptop to close, and the work going on beside it. */
.lid-demo { grid-template-columns: auto minmax(0, 220px); gap: 22px; padding: 0 20px; }
.laptop { display: grid; justify-items: center; padding: 8px; border: 0; background: none; cursor: pointer; perspective: 400px; border-radius: 10px; }
.lid { display: block; width: 120px; height: 78px; border-radius: 8px 8px 2px 2px; background: #2b303a; padding: 6px; transform-origin: bottom; transition: transform .7s cubic-bezier(.5, 0, .2, 1); }
.lid-screen { display: block; height: 100%; border-radius: 3px; background: url("wallpaper.webp") center / cover; transition: opacity .4s; }
.base { display: block; width: 140px; height: 8px; border-radius: 0 0 8px 8px; background: #8a91a0; }
.shut .lid { transform: rotateX(-86deg); background: #9aa1ae; }
.laptop::after { content: "Click to close"; margin-top: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); font: 500 11px var(--font); }
.shut .laptop::after { content: "Closed. Still working."; }
.shut .lid-screen { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lid { transition: none; } }
.lid-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; }
.lid-feed li { display: flex; gap: 6px; padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, .9); color: #1d2330; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); animation: row-in .35s ease-out; white-space: nowrap; overflow: hidden; }
.lid-feed b { font-weight: 600; }
.lid-feed span { overflow: hidden; text-overflow: ellipsis; color: #4b5262; }
@keyframes row-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .lid-feed li { animation: none; } }
@media (max-width: 420px) { .lid-demo { grid-template-columns: 1fr; justify-items: center; } .lid-feed { width: 100%; } }

/* One browser per account: three windows stacked, each name showing; a click brings one forward. */
.stack { position: relative; width: min(300px, 82%); height: 196px; }
.sw { position: absolute; left: 0; right: 0; height: 124px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; text-align: left;
  border: 0; border-radius: 12px; background: #fff; color: #1d2330; font: 13px var(--font); box-shadow: 0 -2px 12px rgba(20, 40, 50, .12), 0 14px 34px rgba(20, 40, 50, .22); cursor: pointer; transition: top .35s; }
.sw:nth-child(1) { top: 0; }
.sw:nth-child(2) { top: 36px; }
.sw:nth-child(3) { top: 72px; }
.sw-head { display: flex; align-items: center; gap: 8px; }
.sw .mark { width: 22px; height: 22px; border-radius: 6px; font-size: 9px; display: inline-grid; place-items: center; color: #fff; font-weight: 600; }
.sw b { font-size: 14px; }
.sw-sites { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-sites span { padding: 3px 8px; border-radius: 6px; background: #eef6f4; color: #2f6560; font-size: 12px; font-weight: 500; }
.sw-sites span::before { content: "✓ "; }
.sk { display: grid; gap: 6px; margin-top: 2px; }
.sk i { height: 7px; border-radius: 4px; background: #eceef2; }
.sk i:last-child { width: 60%; }
.m-work { background: #0e7490; } .m-acme { background: #1f2937; } .m-personal { background: #be185d; }

/* Add it to Claude Code. */
.cmdbox { display: flex; gap: 8px; align-items: stretch; }
pre.cmd { flex: 1; min-width: 0; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font: 13px/1.6 var(--mono); white-space: pre; overflow-x: auto; color: var(--ink); }
pre.cmd .ph { color: var(--accent-ink); }
.copy { flex: none; min-height: 0; height: auto; padding: 0 18px; border-radius: 14px; }
.copy[hidden] { display: none; }
.after { margin: 16px 0 0; text-align: center; color: var(--ink-3); font-size: 15px; }
details p a { padding: 4px 0; }

/* FAQ */
.faq { margin: 0 auto; border-top: 1px solid var(--line); max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-size: 17px; font-weight: 500; }
summary:hover { color: var(--accent-ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .15s ease-out; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
details p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* Join: the last ask, on a painting. */
.join { border-radius: 24px; padding: 64px 24px; display: grid; gap: 14px; justify-items: center; text-align: center; color: #fff; }
.join h2 { margin: 0; max-width: 20ch; color: #fff; text-shadow: 0 2px 16px rgba(20, 20, 50, .35); }
.join p { margin: 0 0 10px; max-width: 46ch; font-size: 17px; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(20, 20, 50, .4); }
.join .btn.primary { background: #fff; border-color: #fff; color: #14171f !important; }

footer { border-top: 1px solid var(--line); margin-top: 56px; }
footer .wrap { padding-top: 14px; padding-bottom: 40px; color: var(--ink-3); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
footer span { margin-right: auto; padding: 10px 0; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
footer a { color: var(--ink-3); padding: 10px 0; }
footer a:hover { color: var(--ink); }
@media (max-width: 520px) { footer span { flex-basis: 100%; } }

.notfound { padding: 96px 16px 120px; }
.notfound h1 { font-size: clamp(32px, 5vw, 56px); }
.stage-cap .btn[hidden] { display: none; }

/* The sample billing site's header links and figures (only where there's room). */
.s-links { display: flex; gap: 16px; font-weight: 500; color: rgba(255, 255, 255, .65); }
.s-links span:first-child { color: #fff; }
.s-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.s-kpis span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; border: 1px solid #e7e9ee; }
.s-kpis small { font-size: 11.5px; color: #6b7280; }
.s-kpis b { font-size: 18px; letter-spacing: -.01em; }
.handset .s-links, .thumb .s-links { display: none; }
.handset .s-kpis { gap: 6px; }
.handset .s-kpis span { padding: 6px 8px; }
.handset .s-kpis small { font-size: 10.5px; }
.handset .s-kpis b { font-size: 14px; }

/* The note the phone shows after an answer. */
.push.note { align-items: center; gap: 8px; font-size: 14px; }
.push.note.tone-ok { color: var(--ok); }
.push.note.tone-danger { color: var(--danger); }
.push.note b { color: var(--ink); font-weight: 600; }
.trial-out button { margin-left: 8px; padding: 2px 10px; border: 0; border-radius: 6px; background: #0f7b4f; color: #fff; font: 600 12px var(--font); cursor: pointer; }

/* The console's Browsers page in the demo: three cards in a row. */
.desk .cx .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Add it to Claude Code: the command as a terminal on a painting. */
.setup-art { padding: 56px 24px; border-radius: 24px; display: grid; justify-items: center; }
.term { width: min(760px, 100%); border-radius: 12px; overflow: hidden; background: #14161c; box-shadow: 0 24px 60px rgba(20, 20, 50, .35); }
.term .mini-bar { background: #20232b; border-bottom: 1px solid #2c3039; }
.term .mini-bar i { background: #3a3f4a; }
.term .mini-bar span { color: #8b93a3; }
.term .cmdbox { padding: 6px; }
.term pre.cmd { background: none; border: 0; color: #e8eaf0; }
.term pre.cmd .ph { color: #9fb5ff; }
.term pre.cmd .pr { color: #5fd0a0; user-select: none; }
.term .copy { background: #2a2e38; border-color: #3a3f4a; color: #e8eaf0; border-radius: 9px; }
.setup-art .after { color: #fff; text-shadow: 0 1px 10px rgba(20, 20, 50, .5); font-weight: 500; }
