/* deweloperuch-mcp landing page. Layout styles live inline in index.html (ported from the
   approved artboard docs/design/noc.dc.html); this file holds tokens, fonts, states,
   motion and the small-screen overrides. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0C0A14;
  --surface: #120E1C;
  --surface-sunken: #0F0B18;
  --bubble: #2A2140;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F1EEF7;
  --text-2: #D3CDE2;
  --muted: #A7A1B8;
  --comment: #8E879F;
  --accent: #34D399;
  --accent-text: #6EE7B7;
  --offers: #A78BFA;
  --offers-text: #C4B5FD;
  --rcn: #FACC15;
  --rcn-text: #FDE68A;
  --official: #38BDF8;
  --official-text: #7DD3FC;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page { background: var(--bg); color: var(--text); overflow-x: clip; }
/* The UA rule `code { font-family: monospace }` would otherwise beat inherited fonts. */
code, pre, kbd, samp { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; }
/* Install commands wrap instead of hiding behind a scrollbar; copying uses data-command. */
#instalacja code { white-space: pre-wrap !important; overflow-wrap: anywhere; overflow-x: visible !important; }
/* Three cards per row at 1440 px: count padding and border into the flex basis. */
#dla-kogo > div > div, #instalacja > div > div { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: var(--text); }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  padding: 10px 14px; border-radius: 8px;
  background: var(--accent); color: #052E21; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* FAQ */
summary::-webkit-details-marker { display: none; }
details summary > span[aria-hidden] { transition: transform 0.2s ease; }
details[open] summary > span[aria-hidden] { transform: rotate(45deg); }

/* Copy buttons (inline display styles would otherwise beat the hidden attribute) */
button.copy[hidden] { display: none !important; }
button.copy:hover { background: rgba(255, 255, 255, 0.12) !important; }
button.copy.is-copied { color: var(--accent-text) !important; }

/* Hero art motion */
.stars circle:nth-child(3n) { animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(6n) { animation-delay: -1.3s; }
.stars circle:nth-child(9n) { animation-delay: -2.6s; }
.beacon { animation: beacon 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes beacon { 0%, 55%, 100% { opacity: 1; } 75% { opacity: 0.12; } }

/* Demo animation states (js/site.js); without JS the HTML shows the final state. */
#demo [data-step] { transition: opacity 0.35s ease, transform 0.35s ease; }
#demo[data-demo="ready"] [data-step],
#demo[data-demo="playing"] [data-step]:not([data-shown]) { opacity: 0; transform: translateY(4px); }
#demo .chip-dot.is-busy { animation: pulse 0.9s ease-in-out infinite; }
#demo .composer-text.is-typing { color: var(--text) !important; }
#demo .composer-text.is-typing::after { content: "▍"; color: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes caret { 50% { opacity: 0; } }

/* Version pill: one line of text, wrapping as text on narrow screens. */
.hero-copy > a:first-child { display: block !important; min-height: 0 !important; text-align: center; line-height: 1.5; padding: 8px 16px !important; }

/* Small screens: the artboard is drawn at 1440 px. */
@media (max-width: 720px) {
  .hero h1 { font-size: 40px !important; }
  main h2 { font-size: 32px !important; }
  .final-cta h2 { font-size: 36px !important; }
  main > section:not(.hero) { padding-top: 96px !important; }
  .final-cta { padding-bottom: 96px !important; }
  #zasady > div { padding: 28px !important; }
  .window-badge { display: none !important; }
  .plan { padding: 24px !important; }
  .cmd-pill { border-radius: 22px !important; padding: 8px 12px !important; }
  .hero-copy > a:first-child { border-radius: 18px !important; }
}

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

/* ---------- Shared: terminal blocks with copy buttons, agent prompt card ---------- */
.term { border-radius: 10px; overflow: hidden; background: #0A0710; border: 1px solid var(--border); margin: 14px 0; text-align: left; }
.term-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.term-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #3A3350; }
.term-bar em { flex: 1; text-align: center; font-style: normal; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); }
.term .cmd { display: flex; align-items: flex-start; gap: 10px; padding: 8px 8px 8px 14px; font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.7; }
.term .cmd > code, .term .cmd > pre { flex: 1; min-width: 0; margin: 0; padding: 10px 0; color: var(--text); font: inherit; background: none; }
.term .cmd > code { overflow-x: auto; white-space: nowrap; }
.term .cmd > pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow-y: auto; }
.term .prompt-sign { color: var(--accent); }
.term button.copy {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
  color: var(--text-2); font-family: "JetBrains Mono", monospace; font-size: 12px; cursor: pointer;
}
.agent-card {
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start;
  padding: 32px; border-radius: 20px; background: linear-gradient(180deg, #15101F, #0F0B18);
  border: 1px solid rgba(52, 211, 153, 0.28); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.05);
}
.agent-card .agent-copy { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.agent-card .agent-copy h2, .agent-card .agent-copy h3 { margin: 0; font-family: "Poppins", sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.agent-card .agent-copy h2 { font-size: 32px; line-height: 1.15; }
.agent-card .agent-copy h3 { font-size: 24px; line-height: 1.2; }
.agent-card .agent-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.agent-card .term { flex: 2 1 420px; min-width: 0; margin: 0; }
.agent-card--landing { margin-top: 20px; }
.eyebrow { margin: 0; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Docs page ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.pill-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px 8px 4px 8px; border-radius: 999px; background: rgba(18, 12, 32, 0.55); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.10); }
.pill-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.pill-nav a.brand { padding: 0 8px 0 4px; }
.pill-nav a.pill-strong { background: rgba(255, 255, 255, 0.10); font-weight: 600; }
.docs { min-height: 100vh; background:
  radial-gradient(900px 420px at 15% -10%, rgba(124, 58, 237, 0.30), transparent 65%),
  radial-gradient(700px 360px at 90% 0%, rgba(16, 185, 129, 0.14), transparent 60%), var(--bg); }
.docs-hero { padding: 56px 0 24px; }
.docs-hero h1 { margin: 12px 0 16px; font-family: "Poppins", sans-serif; font-size: 56px; line-height: 1.06; letter-spacing: -0.03em; max-width: 820px; }
.docs-hero .lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.docs-steps { padding-top: 48px; }
.docs-steps > h2, .docs-layout h2 { margin: 0 0 12px; font-family: "Poppins", sans-serif; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.section-lead { margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.step { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.step-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 240px; padding: 24px; box-sizing: border-box; border-bottom: 1px solid var(--border);
  background: radial-gradient(420px 200px at 50% 110%, rgba(124, 58, 237, 0.28), transparent 70%), #0F0B18; }
.step-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.step-num { margin: 0; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 0; font-family: "Poppins", sans-serif; font-size: 22px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.step code { font-family: "JetBrains Mono", monospace; color: var(--text); }
.btn-link { color: var(--accent-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.caption { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.mock-window { width: 100%; max-width: 400px; border-radius: 10px; overflow: hidden; background: #120E1C; border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: #15101F; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mock-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #3A3350; }
.mock-bar > span:nth-child(1) { background: #FF5F57; } .mock-bar > span:nth-child(2) { background: #FEBC2E; } .mock-bar > span:nth-child(3) { background: #28C840; }
.mock-bar em { flex: 1; text-align: center; font-style: normal; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.mock-body p { margin: 0; }
.mock-center { align-items: center; text-align: center; padding: 26px 14px; }
.mock-label { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06); font-family: "JetBrains Mono", monospace; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-row.is-hot { color: var(--text); border-color: var(--accent); background: rgba(52, 211, 153, 0.08); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14); }
.mock-cursor { color: var(--accent); font-weight: 700; }
.mock-pair { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 460px; }
.mock-pair .mock-window { flex: 1; min-width: 0; }
.mock-file { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.file-icon { display: flex; align-items: flex-end; justify-content: center; width: 56px; height: 70px; padding-bottom: 10px; box-sizing: border-box; border-radius: 8px; background: linear-gradient(160deg, #2A2140, #1A1426); border: 1px solid rgba(255, 255, 255, 0.14); font-family: "JetBrains Mono", monospace; font-weight: 500; color: var(--accent); }
.mock-hint { padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--accent-text); font-family: "JetBrains Mono", monospace; }
.mock-arrow { color: var(--muted); font-size: 20px; }
.mock-title { color: var(--text); font-weight: 600; font-size: 13px; }
.mock-text { color: var(--muted); }
.mock-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px !important; }
.mock-btn { padding: 6px 12px; border-radius: 6px; background: var(--accent); color: #052E21; font-weight: 600; }
.mock-btn-ghost { padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text-2); }
.mock-progress { width: 80%; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mock-progress span { display: block; width: 62%; height: 100%; border-radius: 999px; background: var(--accent); }
.mock-bubble { align-self: flex-end; max-width: 85%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--bubble); color: var(--text); line-height: 1.45; }
.mock-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.1); font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); }
.mock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mock-lines { display: flex; flex-direction: column; gap: 6px; }
.mock-lines span { height: 8px; border-radius: 4px; background: rgba(196, 181, 253, 0.22); }
.mock-lines span:nth-child(2) { width: 85%; } .mock-lines span:nth-child(3) { width: 60%; }
.agent-install { padding-top: 56px; }
.docs-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 96px; }
.toc { flex: 1 1 220px; align-self: flex-start; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc-title { margin: 0 0 8px 12px; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.prose { flex: 999 1 600px; min-width: 0; max-width: 840px; }
.prose > section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.prose > section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.prose h3 { margin: 28px 0 10px; font-family: "Poppins", sans-serif; font-size: 20px; font-weight: 600; }
.prose h3 small { margin-left: 6px; font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 400; color: var(--muted); }
.prose h4, .prose .tool-head h3 { margin: 0; font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent-text); }
.prose code, .prose kbd { font-family: "JetBrains Mono", monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: var(--text); }
.prose .term code, .prose .term pre { padding: 10px 0; background: none; font-size: 13px; }
.prose .examples { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prose .examples li { margin: 0; align-self: flex-start; max-width: 100%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--bubble); color: var(--text); }
.note { margin: 16px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.06); }
.note.warn { border-color: rgba(250, 204, 21, 0.35); background: rgba(250, 204, 21, 0.06); }
.note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; border-radius: 10px; border: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th { padding: 8px 12px; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: #15101F; }
.prose td { padding: 10px 12px; border-top: 1px solid #241D33; vertical-align: top; color: var(--text-2); line-height: 1.55; }
.prose td code { white-space: nowrap; }
.req { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--accent-text); font-size: 11px; }
.group { margin-top: 28px; }
.group > p { color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; vertical-align: middle; }
.tool { margin: 14px 0; padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.tool-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 8px; }
.tool-head code { font-size: 13px; }
.tool details summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent-text); font-size: 14px; font-weight: 600; }
.docs-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; font-size: 13px; color: var(--muted); }
.docs-footer p { margin: 0 0 8px; }
@media (max-width: 900px) {
  .toc { position: static; }
}
@media (max-width: 720px) {
  .docs-hero h1 { font-size: 38px; }
  .docs-steps > h2, .docs-layout h2, .agent-card .agent-copy h2 { font-size: 28px; }
  .agent-card { padding: 20px; }
  .mock-arrow { display: none; }
  .mock-pair { flex-direction: column; }
  .mock-pair .mock-window { width: 100%; }
}
