/* The same Infograph queries in three AI tools, side by side: Claude Code, Gemini CLI and Cursor.
   Each pane is drawn the way its tool draws itself, so it is known at a glance: Claude Code's
   warm dark terminal with its orange mark and boxed prompt, Gemini CLI's blue-black terminal with
   Google's gradient on its name, Cursor's light agent pane. The connectors' marks are the app's
   (kit/marks/). Drawn at an illustration's scale, on a see-through page: whatever shows the
   three (a card on the website) is what they stand on. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../kit/fonts/geist-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../kit/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../../kit/fonts/ibm-plex-mono-500.woff2) format("woff2"); }

:root {
	--background: transparent;
	--foreground: #0a0a0a;
	--muted-foreground: #737373;
	--border: #e5e5e5;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, ::before, ::after { box-sizing: border-box; }
body { margin: 0; color: var(--foreground); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h2, p, ul { margin: 0; padding: 0; list-style: none; }

/* The page: the kit's window size, with no window drawn. (body.framed and html.embed, to outrank
   the kit's own in frame.css, which is linked after this.) */
body.framed, html.embed body.framed { background: transparent; }
body.framed .window { border-radius: 0; background: transparent; box-shadow: none; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; width: 100%; height: 100%; padding: 40px 44px 48px; }
.tool { display: flex; flex-direction: column; min-width: 0; }

/* Whose it is: the tool's mark on a tile, and its name. */
.tool-name { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 36px; }
.tool-mark { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1.5px rgb(0 0 0 / 0.1), 0 2px 4px rgb(0 0 0 / 0.05); }
.tool-mark svg { width: 56px; height: 56px; }
.tool-name h2 { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }

/* A tool's window. */
.pane { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 30px 28px 26px; border-radius: 30px; font-size: 19px; line-height: 30px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 3px 8px rgb(0 0 0 / 0.04), 0 24px 52px -12px rgb(0 0 0 / 0.2); }
.query { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.query span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.query img { flex: none; width: 20px; height: 20px; object-fit: contain; }
.total { margin-top: 6px; font-size: 16.5px; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Claude Code: a warm dark terminal, the orange mark, a boxed prompt ---------- */
.tool-claude .pane { background: #1f1e1d; color: #e8e6e1; font-family: var(--mono); font-size: 17px; line-height: 30px; }
.cc-ask { color: #a8a49c; }
.cc-ask b { font-weight: 500; }
.cc-call { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 500; }
.cc-call i { width: 11px; height: 11px; border-radius: 9999px; background: #4eba65; }
.cc-call strong { font-weight: 500; }
.cc-call span { font-weight: 400; color: #a8a49c; }
.cc-rows { margin-left: 5px; padding-left: 18px; border-left: 1.5px solid #4a4843; }
.cc-rows .query img { filter: saturate(0.9); }
.cc-think { margin-top: 24px; color: #d97757; white-space: nowrap; overflow: hidden; }
.cc-think span { color: #77736b; }
.cc-box { display: flex; gap: 12px; margin-top: auto; padding: 12px 16px; border: 1.5px solid #5c5952; border-radius: 10px; }
.cc-box b { font-weight: 400; color: #a8a49c; }
.cc-box span { width: 10px; height: 22px; margin-top: 4px; background: #e8e6e1; }
.cc-hint { margin-top: 8px; padding-left: 4px; font-size: 15px; color: #77736b; }

/* ---------- Gemini CLI: a blue-black terminal, Google's gradient on the name ---------- */
.tool-gemini .pane { background: #131722; color: #dfe3ee; font-family: var(--mono); font-size: 17px; line-height: 30px; }
.gm-word { width: fit-content; font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: 0.22em; color: transparent; background: linear-gradient(90deg, #4796e4, #847ace 55%, #c3677f); -webkit-background-clip: text; background-clip: text; }
.gm-ask { margin-top: 22px; color: #9aa3b8; }
.gm-ask b { font-weight: 500; color: #847ace; }
.gm-call { margin-top: 18px; padding: 14px 16px 12px; border: 1.5px solid #343b4f; border-radius: 10px; }
.gm-head { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-head b { margin-right: 6px; color: #6fcf8e; }
.gm-head span { font-weight: 400; color: #9aa3b8; }
.gm-call ul { margin-top: 6px; }
.gm-box { display: flex; gap: 12px; margin-top: auto; padding: 12px 16px; border: 1.5px solid #4796e4; border-radius: 10px; white-space: nowrap; overflow: hidden; }
.gm-box b { font-weight: 500; color: #847ace; }
.gm-box span { overflow: hidden; text-overflow: ellipsis; color: #6b7388; }
.gm-hint { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 4px; font-size: 15px; color: #6b7388; }

/* ---------- Cursor: the light agent pane of the editor ---------- */
.tool-cursor .pane { padding-top: 0; background: #fcfcfc; color: #1f1f1f; font-size: 18px; }
.cu-tabs { display: flex; gap: 22px; margin: 0 -28px; padding: 0 28px; border-bottom: 1px solid #e6e6e6; font-size: 16px; line-height: 52px; color: #8a8a8a; }
.cu-tabs .is-on { color: #1f1f1f; box-shadow: inset 0 -2px 0 #1f1f1f; }
.cu-ask { margin-top: 22px; padding: 11px 16px; border: 1px solid #dedede; border-radius: 12px; background: #fff; }
.cu-call { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: #6b6b6b; white-space: nowrap; }
.cu-call code { padding: 1px 8px; border-radius: 6px; background: #efefef; font-family: var(--mono); font-size: 15.5px; color: #1f1f1f; }
.using-logo { width: 22px; height: 22px; }
.cu-rows { margin: 6px 0 0 10px; padding-left: 21px; border-left: 1.5px solid #e2e2e2; }
.cu-box { margin-top: auto; padding: 14px 14px 12px 16px; border: 1px solid #dedede; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 0.04); color: #9a9a9a; }
.cu-box p { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; }
.cu-box i { padding: 0 11px; border-radius: 9999px; background: #f0f0f0; font-style: normal; line-height: 28px; color: #5c5c5c; }
.cu-box b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: auto; border-radius: 9999px; background: #1f1f1f; }
.cu-box svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
