/* ARA — strona pobierania. Kolory z src/Shared.Wpf/Theme.xaml aplikacji. */
:root {
  --bg: #0F1319;
  --bg-deep: #0B1016;
  --bg-deeper: #080B0F;
  --panel: #161C25;
  --panel2: #1E2632;
  --panel-hover: #26303F;
  --line: #2A3442;
  --line2: #3A4658;
  --text: #E6EDF7;
  --muted: #8A98AB;
  --accent: #5B8DEF;
  --accent-hover: #6E9BF5;
  --accent-press: #4477D6;
  --violet: #8B5CF6;
  --good: #34D399;
  --bad: #F87171;
  --warn: #FBBF24;
  --warn-bg: #2A2318;
  --warn-line: #4A3B1E;
  --info-bg: #12202A;
  --info-line: #1E3B4A;
  --radius: 10px;
  --radius-sm: 6px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  /* kolory papugi z logo — tylko jako akcent */
  --macaw: linear-gradient(90deg, #E53935 0%, #FB8C00 22%, #FDD835 42%, #43A047 62%, #1E88E5 82%, #8B5CF6 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--panel2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
kbd { background: var(--panel2); border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; font-size: .82em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- nagłówek strony ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 19, 25, .86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-weight: 300; color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); padding: 6px 12px; border-radius: var(--radius-sm); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel2); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--accent); }
.nav a.btn-primary:hover { background: var(--accent-hover); }
.nav-toggle { display: none; margin-left: auto; background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 6px 10px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- przyciski (jak PrimaryButton / BaseButton w aplikacji) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  background: var(--panel2); color: var(--text); border: 1px solid var(--line);
  font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .12s;
}
.btn:hover { background: var(--panel-hover); text-decoration: none; }
.btn:active { background: #324054; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 8px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-weight: 400; font-size: 12.5px; opacity: .85; }
.btn .btn-text { text-align: left; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(91,141,239,.22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(139,92,246,.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 961px) { .hero .win-scaler { align-self: start; margin-top: 32px; } }
@media (min-width: 1240px) { .hero .win-scaler { width: calc(100% + min(220px, (100vw - 1160px) / 2)); } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 4px 12px 4px 6px; border-radius: 999px; }
.eyebrow .pill { background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.02em; margin: 18px 0 16px; font-weight: 700; }
.hero-title { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.hero-title h1 { margin: 16px 0 0; }
.hero-title .eyebrow { white-space: nowrap; }
@media (max-width: 600px) { .hero-title .eyebrow { white-space: normal; } }
.hero-title picture { flex: none; display: block; }
.hero-parrot { width: 230px; height: auto; flex: none; filter: drop-shadow(0 14px 24px rgba(0,0,0,.45)); }
@media (max-width: 600px) { .hero-parrot { width: 130px; } .hero-title { gap: 12px; } }
.hero h1 .light { font-weight: 300; color: var(--accent); }
.hero .lead { font-size: 19px; color: #C3CDDB; max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--good); }
.rainbow { height: 3px; background: var(--macaw); border-radius: 3px; width: 88px; }

/* ---------- sekcje ---------- */
section.block { padding: 88px 0; border-bottom: 1px solid var(--line); }
section.block.alt { background: linear-gradient(180deg, var(--bg-deep), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
@media (max-width: 600px) { section.block { padding: 60px 0; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- pobieranie ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; position: relative; overflow: hidden; }
.dl-card.featured { border-color: rgba(91,141,239,.55); box-shadow: 0 0 0 1px rgba(91,141,239,.2), 0 20px 50px -24px rgba(91,141,239,.45); }
.dl-card .badge { position: absolute; top: 18px; right: 18px; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head img { width: 52px; height: 52px; }
.dl-head h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.1; }
.dl-head h3 span { font-weight: 300; color: var(--accent); }
.dl-head p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.dl-card ul { margin: 0; padding-left: 20px; color: #C3CDDB; font-size: 15px; }
.dl-card ul li { margin: 3px 0; }
.dl-card .btn { width: 100%; }
.dl-card .actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.filemeta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.hash { font-family: var(--mono); font-size: 11.5px; color: var(--muted); word-break: break-all; background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; }
.hash b { color: #C3CDDB; font-family: var(--font); font-weight: 600; font-size: 12px; margin-right: 6px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); }
.badge.accent { background: rgba(91,141,239,.14); border-color: rgba(91,141,239,.4); color: var(--accent-hover); }
.badge.good { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); color: var(--good); }

.req { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 22px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); }
.req svg { width: 22px; height: 22px; color: var(--warn); margin-top: 2px; }
.req p { margin: 0; color: #E9DDC2; font-size: 15px; }
.req p + p { margin-top: 6px; }
.req strong { color: var(--text); }

.note { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 20px; background: var(--info-bg); border: 1px solid var(--info-line); border-radius: var(--radius); color: #C9DCE6; font-size: 15px; }
.note svg { width: 20px; height: 20px; color: var(--accent-hover); margin-top: 3px; }
.note p { margin: 0; }

/* ---------- architektura ---------- */
.arch { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; gap: 0; }
.arch .node { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.arch .node.relay { border-color: rgba(139,92,246,.5); background: linear-gradient(180deg, rgba(139,92,246,.10), var(--panel)); }
.arch .node img { width: 44px; height: 44px; margin: 0 auto 8px; }
.arch .node h4 { margin: 0; font-size: 17px; }
.arch .node .role { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.arch .node ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13.5px; color: #C3CDDB; }
.arch .node ul li { padding: 3px 0; border-top: 1px dashed var(--line); }
.arch .link { min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.arch .link .line { width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--violet)); position: relative; }
.arch .link .line::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--violet); }
.arch .link.rev .line { background: linear-gradient(90deg, var(--violet), var(--accent)); }
.arch .link.rev .line::after { right: auto; left: -1px; border-left-color: transparent; border-right-color: var(--violet); }
.arch-direct { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.arch-direct::before, .arch-direct::after { content: ""; flex: 1; height: 0; border-top: 2px dashed rgba(52,211,153,.5); }
.arch-direct b { color: var(--good); font-weight: 600; }
@media (max-width: 860px) {
  .arch { grid-template-columns: 1fr; gap: 6px; }
  .arch .link { flex-direction: row; min-width: 0; padding: 4px 0; justify-content: center; }
  .arch .link .line { width: 2px; height: 26px; background: linear-gradient(180deg, var(--accent), var(--violet)); }
  .arch .link .line::after { display: none; }
}

/* ---------- funkcje ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s; }
.feature:hover { border-color: var(--line2); transform: translateY(-2px); }
.feature .ico { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: rgba(91,141,239,.12); color: var(--accent-hover); margin-bottom: 14px; }
.feature .ico.v { background: rgba(139,92,246,.14); color: #A78BFA; }
.feature .ico.g { background: rgba(52,211,153,.12); color: var(--good); }
.feature .ico.y { background: rgba(251,191,36,.12); color: var(--warn); }
.feature .ico svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 6px; font-size: 17.5px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.toolbox { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.toolbox span { background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px; color: #C3CDDB; }

/* ---------- zrzuty ekranu ---------- */
.shots-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.shots-tabs button { font: 500 14.5px var(--font); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.shots-tabs button:hover { color: var(--text); background: var(--panel2); }
.shots-tabs button[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.shot-caption { color: var(--muted); font-size: 15px; margin: 14px 0 0; text-align: center; }
.shot-stage { position: relative; }
.shot-panel[hidden] { display: none; }

/* okno aplikacji (odwzorowanie WPF) — skalowane do szerokości */
.win-scaler { width: 100%; overflow: hidden; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.win { --w: 1080; width: calc(var(--w) * 1px); transform-origin: top left; font-family: "Segoe UI", system-ui, sans-serif; font-size: 13px; line-height: 1.35; color: var(--text); background: var(--bg); user-select: none; }
.win * { line-height: inherit; }
.win-title { height: 32px; display: flex; align-items: center; gap: 8px; padding-left: 12px; background: #0B0E13; border-bottom: 1px solid #1B2230; font-size: 12px; color: #C9D3E0; }
.win-title img { width: 16px; height: 16px; }
.win-title .ctl { margin-left: auto; display: flex; height: 100%; }
.win-title .ctl i { width: 46px; display: grid; place-items: center; color: #C9D3E0; font-style: normal; font-size: 12px; }
.win-body { padding: 18px; }
.w-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.w-head { display: flex; align-items: center; padding: 14px 18px; }
.w-head img { width: 48px; height: 48px; margin-right: 12px; }
.w-head .t { font-size: 22px; font-weight: 700; }
.w-head .t span { font-weight: 300; color: var(--accent); }
.w-head .s { color: var(--muted); font-size: 12px; margin-top: 2px; }
.w-head .st { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); display: inline-block; flex: none; }
.dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); } .dot.off { background: #4B5768; }
.w-tabs { display: flex; gap: 2px; margin: 14px 0 0; border-bottom: 1px solid var(--line); }
.w-tabs span { padding: 9px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.w-tabs span.on { color: var(--text); border-bottom-color: var(--accent); }
.w-grid { display: grid; gap: 14px; margin-top: 14px; }
.w-h { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.w-m { color: var(--muted); font-size: 12px; }
.w-btn { display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line); font-weight: 400; white-space: nowrap; }
.w-btn.p { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.w-btn.d { color: var(--bad); border-color: #4A2A31; }
.w-in { background: var(--bg-deep); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; min-height: 30px; }
.w-in.big { font-size: 20px; font-family: var(--mono); letter-spacing: .04em; padding: 8px 12px; }
.w-chk { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.w-chk::before { content: ""; width: 15px; height: 15px; border-radius: 4px; border: 1px solid var(--line2); background: var(--bg-deep); flex: none; margin-top: 1px; }
.w-chk.on::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--accent); }
.w-rad { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.w-rad::before { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line2); background: var(--bg-deep); flex: none; margin-top: 1px; }
.w-rad.on::before { border: 4px solid var(--accent); background: #fff; }
.w-id { font-size: 34px; font-weight: 700; letter-spacing: .04em; font-family: var(--mono); }
.w-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.w-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 7px 8px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.w-table td { padding: 7px 8px; border-bottom: 1px solid #1E2632; }
.w-table tr.sel td { background: rgba(91,141,239,.16); }
.w-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; background: var(--panel2); border: 1px solid var(--line); }
.w-pill.g { color: var(--good); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.w-pill.b { color: var(--accent-hover); border-color: rgba(91,141,239,.4); background: rgba(91,141,239,.08); }
.w-slider { height: 4px; background: var(--line); border-radius: 4px; position: relative; margin: 12px 0 6px; }
.w-slider i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.w-slider b { position: absolute; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.w-foot { display: flex; gap: 8px; margin-top: 12px; }
.w-foot .w-btn { padding: 4px 12px; font-size: 11.5px; }
.w-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: #E9DDC2; border-radius: 6px; padding: 8px 10px; font-size: 12px; }
.w-graph { height: 120px; position: relative; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.w-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* okno sesji (widz) */
.v-bar { display: flex; align-items: center; gap: 4px; padding: 5px 10px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.v-bar .m { padding: 4px 10px; border-radius: 5px; }
.v-bar .m:hover { background: var(--panel2); }
.v-bar .m.on { background: var(--panel2); }
.v-bar .r { margin-left: auto; display: flex; gap: 14px; align-items: center; color: var(--muted); }
.v-bar .r b { color: var(--good); font-weight: 600; }
.v-screen { position: relative; height: 610px; background: linear-gradient(135deg, #1b3a63 0%, #23517e 40%, #2f6a8f 70%, #3c7f8c 100%); overflow: hidden; }
.v-menu { position: absolute; left: 140px; top: 0; width: 330px; background: #1A212C; border: 1px solid var(--line2); border-radius: 0 0 8px 8px; box-shadow: 0 20px 40px rgba(0,0,0,.5); padding: 6px; z-index: 3; }
.v-menu div { padding: 7px 12px 7px 32px; border-radius: 5px; position: relative; }
.v-menu div.hl { background: rgba(91,141,239,.2); }
.v-menu div.chk::before { content: "✓"; position: absolute; left: 12px; color: var(--accent-hover); }
.v-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 6px; }
.v-menu .k { float: right; color: var(--muted); font-size: 11.5px; }
.rw { position: absolute; background: #F3F3F3; color: #1b1b1b; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.4); overflow: hidden; font-family: "Segoe UI", sans-serif; }
.rw .tb { height: 30px; background: #EAEAEA; display: flex; align-items: center; padding: 0 10px; font-size: 12px; gap: 6px; }
.rw .tb i { margin-left: auto; letter-spacing: 18px; color: #555; font-style: normal; }
.rw.dark { background: #0C0C0C; color: #CCCCCC; }
.rw.dark .tb { background: #1F1F1F; color: #ddd; }
.rw.dark .tb i { color: #aaa; }
.rw pre { margin: 0; padding: 10px 12px; font-family: var(--mono); font-size: 12px; line-height: 1.5; white-space: pre; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: rgba(32,32,32,.86); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; gap: 10px; }
.taskbar i { width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.14); display: block; }
.taskbar i.a { background: linear-gradient(135deg, #5B8DEF, #8B5CF6); }
.taskbar .clock { position: absolute; right: 14px; color: #eee; font-size: 11px; text-align: right; line-height: 1.25; }
.cursor { position: absolute; width: 18px; height: 26px; z-index: 4; }

/* okno prośby o połączenie */
.req-win { position: absolute; right: 26px; bottom: 26px; width: 440px; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.6); overflow: hidden; z-index: 5; }
.req-win .win-title { height: 30px; }

/* ---------- szybki start ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step .where { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: #A78BFA; }
.step .where.c { color: var(--accent-hover); }

/* ---------- bezpieczeństwo ---------- */
.sec-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checklist svg { width: 22px; height: 22px; color: var(--good); margin-top: 2px; }
.checklist b { display: block; font-size: 16px; }
.checklist span { color: var(--muted); font-size: 15px; }
.verify { text-align: center; padding: 28px; }
.verify .code { font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: .08em; margin: 10px 0; color: var(--text); }
.verify .pcs { display: flex; justify-content: center; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.verify .pc { background: var(--bg-deep); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; font-size: 13px; color: var(--muted); }
.verify .pc b { display: block; font-family: var(--mono); color: var(--good); font-size: 17px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: #C3CDDB; font-size: 15.5px; }

/* ---------- CTA i stopka ---------- */
.cta { text-align: center; padding: 72px 0; }
.cta h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.cta p { color: var(--muted); margin: 0 0 26px; }
.cta .hero-cta { justify-content: center; }
footer.site { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer.site .brand { font-size: 16px; }
footer.site .brand img { width: 24px; height: 24px; }
footer.site nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--text); }

/* ---------- dokumentacja ---------- */
.docs-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; min-width: 0; padding: 40px 0 80px; }
@media (max-width: 960px) { .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; font-size: 14.5px; padding-right: 8px; }
.toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 5px 10px; color: var(--muted); border-left: 2px solid var(--line); }
.toc li a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
.toc li a.active { color: var(--text); border-left-color: var(--accent); background: var(--panel); }
.toc li.l3 a { padding-left: 24px; font-size: 13.5px; }
.toc-search { width: 100%; background: var(--bg-deep); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font: inherit; font-size: 14px; margin-bottom: 12px; }
.toc-search::placeholder { color: var(--muted); }
@media (max-width: 960px) {
  .toc { position: static; max-height: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
  .toc ol { max-height: 300px; overflow: auto; }
}
.prose { max-width: 820px; font-size: 16px; }
.prose > h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.015em; }
.prose h2 { font-family: var(--font-display); font-size: 27px; margin: 56px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); letter-spacing: -.01em; }
.prose h3 { font-size: 20px; margin: 34px 0 10px; }
.prose h4 { font-size: 17px; margin: 26px 0 8px; }
.prose h2 a.anchor, .prose h3 a.anchor { color: var(--line2); margin-left: 8px; font-weight: 400; opacity: 0; }
.prose h2:hover a.anchor, .prose h3:hover a.anchor { opacity: 1; }
.prose p, .prose li { color: #CCD5E1; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 5px 0; }
.prose li > ul, .prose li > ol { margin: 4px 0; }
.prose pre { background: var(--bg-deeper); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; line-height: 1.5; }
.prose :not(pre) > code { overflow-wrap: anywhere; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose pre code { background: none; border: 0; padding: 0; font-size: 13.5px; color: #D5DEEA; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; background: var(--info-bg); border: 1px solid var(--info-line); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; }
.prose blockquote p { margin: 0; color: #C9DCE6; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.docs-intro { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.prose mark { background: rgba(251,191,36,.3); color: var(--text); border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .feature { transition: none; } }
