/* =========================================================
   nasilowskidev.pl — Arkadiusz Nasiłowski Java Development
   ========================================================= */

/* ---------- Czcionki (hostowane lokalnie) ----------
   Domyślnie strona używa dołączonej czcionki Inter.
   Aby włączyć Geist (czcionka z projektu): wgraj plik
   assets/fonts/Geist-Variable.woff2 (fonts.google.com/specimen/Geist)
   i odkomentuj linię poniżej. */
/* @font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; } */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ink: #14171D;
  --dark: #1A1E25;
  --dark-2: #20252E;
  --dark-3: #262C36;
  --dark-4: #2A303A;
  --line-d: #3A4250;
  --line-d2: #2C323D;
  --line-d3: #4B5361;
  --muted-d: #C3C8D0;
  --muted-d2: #9AA1AD;
  --text-d: #E9EBEF;

  --bg: #F2F1EC;
  --bg-2: #F0EFEA;
  --card: #FFFFFF;
  --line: #E2E0D8;
  --line-2: #D3D1C7;
  --text: #1A1E25;
  --muted: #4B515C;
  --muted-2: #3D424B;

  --accent: #FF7A45;
  --accent-hover: #FF8F61;
  --accent-ink: #C2410C;
  --accent-ink-2: #E85D24;
  --accent-soft: #FFEDE4;
  --accent-border: #F6C9B3;
  --accent-light: #FF9B70;

  --cyan: #67E8F9;
  --cyan-ink: #0E7490;
  --cyan-soft: #E3F7FA;
  --cyan-dark: #13262A;
  --cyan-border: #24515A;

  --green: #4ADE80;
  --radius: 22px;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
a:hover { color: #9A3412; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Typografia ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-ink); margin-bottom: 12px; }
.eyebrow--cyan { color: var(--cyan-ink); }
.dark .eyebrow { color: var(--accent-light); }
.dark .eyebrow--cyan { color: var(--cyan); }
.h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); }
.h2--xl { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.h2--md { font-size: clamp(30px, 3.8vw, 48px); }
.h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted-2); max-width: 620px; }
.dark .h1, .dark .h2, .dark .h3 { color: #fff; }
.dark .lead { color: var(--muted-d); }
.accent { color: var(--accent-ink-2); }
.dark .accent { color: var(--accent); }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-d2); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--ghost { border-color: var(--line-d3); color: #fff; background: transparent; font-weight: 500; }
.btn--ghost:hover { border-color: var(--muted-d2); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #2C323D; color: #fff; }
.btn--outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn--light { background: #fff; color: var(--dark); border-color: var(--line-2); font-weight: 500; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26,30,37,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d2); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand__sub { font-size: 12px; font-weight: 500; opacity: .72; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--muted-d); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: #fff; background: var(--line-d2); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-d); background: var(--dark-3); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.header-cta { flex: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--dark); border-bottom: 1px solid var(--line-d2); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .nav .nav__cta { display: flex; margin-top: 8px; background: var(--accent); color: var(--ink); justify-content: center; font-weight: 600; }
}
@media (min-width: 1101px) { .nav .nav__cta { display: none; } }

/* ---------- Sekcje ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background-color: var(--dark); color: var(--text-d); }
.bg-dots { background-image: radial-gradient(720px 460px at 78% 40%, rgba(255,122,69,.20), transparent 70%), radial-gradient(#2C323D 1px, transparent 1px); background-size: 100% 100%, 24px 24px; }
.bg-grid { background-image: radial-gradient(900px 520px at 40% 65%, rgba(103,232,249,.10), transparent 70%), radial-gradient(600px 360px at 90% 10%, rgba(255,122,69,.16), transparent 70%), linear-gradient(#232832 1px, transparent 1px), linear-gradient(90deg, #232832 1px, transparent 1px); background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px; }
.bg-glow-left { background-image: radial-gradient(700px 420px at 15% 30%, rgba(255,122,69,.20), transparent 70%); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 24px; margin-bottom: 44px; }
.section-head > div { max-width: 700px; }
.link-arrow { font-weight: 600; text-decoration: none; padding: 10px 0; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__visual { flex: 1 1 460px; min-width: 0; position: relative; height: 480px; }
.status-pill { align-self: flex-start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 7px 14px; border-radius: 999px; background: var(--dark-3); border: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: led 1.8s ease-in-out infinite; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted-d); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .tick { color: var(--green); font-weight: 700; }

/* Makiety w hero */
.mock-browser { position: absolute; left: 30px; right: 10px; top: 10px; height: 370px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); color: var(--text); }
.mock-bar { height: 36px; background: var(--bg-2); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-url { margin-left: 12px; flex: 1; height: 20px; background: #fff; border-radius: 5px; font-size: 11px; color: var(--muted); display: flex; align-items: center; padding-left: 10px; }
.mock-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-lines { display: flex; gap: 12px; }
.mock-lines span { width: 36px; height: 6px; background: var(--line); border-radius: 3px; }
.mock-hero { display: flex; gap: 18px; }
.mock-hero__text { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.mock-title { font-weight: 700; font-size: 26px; line-height: 1.08; letter-spacing: -0.03em; }
.mock-line { height: 7px; background: #ECEBE5; border-radius: 4px; }
.mock-btn { align-self: flex-start; margin-top: 8px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.mock-img { width: 170px; height: 160px; border-radius: 12px; background: #F6DCCB; flex: none; }
.mock-tiles { display: flex; gap: 12px; }
.mock-tiles div { flex: 1; height: 64px; border-radius: 10px; background: #F3F2EE; }
.mock-scan { position: absolute; left: 0; right: 0; top: 36px; height: 2px; background: var(--accent); box-shadow: 0 0 18px 2px rgba(255,122,69,.6); animation: scan 4s ease-in-out infinite; }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 140px; height: 270px; background: #0F1216; border: 1px solid var(--line-d); border-radius: 26px; padding: 7px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.8); }
.mock-phone__screen { width: 100%; height: 100%; background: #fff; border-radius: 20px; padding: 18px 12px; display: flex; flex-direction: column; gap: 8px; color: var(--text); }
.notif { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.55); animation: float 4s ease-in-out infinite; }
.notif__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.notif__text { display: flex; flex-direction: column; line-height: 1.3; }
.notif__text b { font-weight: 600; font-size: 14px; }
.notif__text span { font-size: 12px; }
.notif--light { background: #fff; color: var(--text); }
.notif--light .notif__text span { color: var(--muted); }
.notif--accent { background: var(--accent); color: var(--ink); }
.notif--accent .notif__text span { color: #3D1A0A; }

@media (max-width: 600px) {
  .hero { padding: 48px 0 48px; }
  .hero__visual { height: auto; }
  .hero__visual .mock-browser { position: relative; left: 0; right: 0; top: 0; height: 330px; }
  .mock-img { width: 110px; height: 120px; }
  .mock-title { font-size: 20px; }
  .hero__visual .mock-phone, .hero__visual .notif--2 { display: none; }
  .hero__visual .notif--1 { position: relative; left: 12px !important; right: auto !important; top: auto !important; margin-top: -28px; display: inline-flex; }
}

/* Dwie ścieżki */
.paths { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.path { flex: 1 1 400px; min-width: 0; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; text-decoration: none; transition: transform .2s; }
.path:hover { transform: translateY(-2px); }
.path--light { background: #fff; color: var(--text); }
.path--light:hover { color: var(--text); }
.path--dark { background: var(--dark-3); border: 1px solid var(--line-d); color: #fff; }
.path--dark:hover { color: #fff; }
.path__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.path__text { flex: 1; display: flex; flex-direction: column; }
.path__text b { font-weight: 600; font-size: 19px; }
.path__text span { font-size: 15px; color: var(--muted); }
.path--dark .path__text span { color: #B4BAC4; }
.path__arrow { font-size: 20px; color: var(--muted); }
.path--dark .path__arrow { color: #B4BAC4; }

/* Pasek korzyści */
.benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefits ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 22px 0; font-size: 15px; font-weight: 500; color: var(--muted-2); }
.benefits li { display: flex; align-items: center; gap: 10px; }

/* ---------- Karty i siatki ---------- */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.card--row { display: flex; gap: 16px; }
.card--stack { display: flex; flex-direction: column; gap: 10px; }
.card b { font-weight: 600; font-size: 18px; display: block; }
.card p, .card .card__desc { font-size: 15px; color: var(--muted); }
.card .card__tech { font-size: 13px; color: #6B707A; }
.icon-tile { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-tile--orange { background: var(--accent-soft); }
.icon-tile--cyan { background: var(--cyan-soft); }

/* ---------- Pakiety ---------- */
.pkgs { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.pkg { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.pkg--muted { background: var(--bg); }
.pkg--featured { background: var(--dark); color: var(--text-d); border: 0; box-shadow: inset 0 0 0 2px var(--accent), 0 24px 50px -28px rgba(26,30,37,.6); }
.pkg__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.pkg__badge { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--accent); padding: 4px 12px; border-radius: 999px; }
.pkg__name { font-weight: 600; font-size: 28px; letter-spacing: -0.03em; }
.pkg--featured .pkg__name { color: #fff; }
.pkg__desc { color: var(--muted); }
.pkg--featured .pkg__desc { color: var(--muted-d); }
.pkg__price { display: flex; align-items: baseline; gap: 8px; }
.pkg__price span { color: var(--muted); font-size: 15px; }
.pkg__price strong { font-weight: 600; font-size: 34px; letter-spacing: -0.04em; }
.pkg--featured .pkg__price span { color: var(--muted-d2); }
.pkg--featured .pkg__price strong { color: #fff; }
.pkg__list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted-2); padding-top: 16px; border-top: 1px solid var(--line); }
.pkg--featured .pkg__list { color: var(--text-d); border-color: var(--line-d); }
.pkg__list li { display: flex; gap: 10px; }
.pkg__list li::before { content: "✓"; color: var(--accent-ink-2); font-weight: 700; }
.pkg--featured .pkg__list li::before { color: var(--accent); }
.pkg__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid #ECEBE5; display: flex; justify-content: space-between; align-items: baseline; }
.pkg--featured .pkg__foot { border-color: var(--line-d); }
.pkg__foot span { color: var(--muted); font-size: 15px; }
.pkg__foot strong { font-weight: 600; font-size: 30px; letter-spacing: -0.03em; }
.pkg--featured .pkg__foot strong { color: #fff; }
.pkg .btn { margin-top: auto; }

/* Kroki w poziomie (strona główna) */
.steps-strip { margin-top: 40px; padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.steps-strip li { display: flex; gap: 14px; align-items: flex-start; }
.num { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.num--accent { background: var(--accent); color: var(--ink); }
.steps-strip b { display: block; font-weight: 600; font-size: 18px; }
.steps-strip span { font-size: 15px; color: var(--muted); }

/* ---------- Sekcja systemów ---------- */
.sys-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 48px; }
.sys-head__text { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.badge-10 { flex: 0 1 300px; background: var(--accent); color: var(--ink); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.badge-10 strong { font-weight: 600; font-size: 60px; line-height: 1; letter-spacing: -0.05em; }
.badge-10 strong small { font-size: 22px; letter-spacing: 0; }
.badge-10 span { font-size: 15px; color: #2A1A12; }

/* Demo: warsztat */
.demo { margin: 0; border: 1px solid var(--line-d); border-radius: 26px; background: var(--dark-2); overflow: hidden; }
.demo__head { padding: 28px 32px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.demo__head .kicker { font-size: 14px; font-weight: 600; color: var(--accent-light); }
.demo__head h3 { font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: #fff; }
.demo__head p { font-size: 15px; color: var(--muted-d2); }
.demo__toggle { font-size: 14px; font-weight: 500; color: var(--text-d); background: var(--line-d2); border: 1px solid var(--line-d3); border-radius: 999px; padding: 10px 16px; cursor: pointer; min-height: 44px; }
.demo__steps { padding: 20px 32px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step-btn { flex: 1 1 180px; display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14px; font-weight: 500; padding: 10px 14px 10px 10px; border-radius: 14px; cursor: pointer; background: var(--dark-4); color: #D3D7DE; border: 1px solid var(--line-d3); transition: all .3s; min-height: 48px; }
.step-btn .step-num { width: 28px; height: 28px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; background: var(--line-d); color: var(--text-d); }
.step-btn[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.step-btn[aria-pressed="true"] .step-num { background: var(--ink); color: #fff; }
.demo__body { padding: 36px 32px 8px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
.demo__caption { margin: 24px 32px 32px; padding: 20px 24px; border-radius: 16px; background: var(--accent); color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.demo__caption .step-count { font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.demo__caption .cap-text { flex: 1 1 400px; display: flex; flex-direction: column; }
.demo__caption .cap-text b { font-weight: 600; font-size: 20px; }
.demo__caption .cap-text span { font-size: 16px; color: #2A1A12; }

/* Schemat przepływu (siatka zamiast pozycjonowania) */
.flow { flex: 1 1 680px; min-width: 0; max-width: 760px; display: grid; grid-template-columns: minmax(0,1fr) 84px minmax(0,0.95fr) 84px minmax(0,1fr); grid-template-rows: auto auto; grid-template-areas: "web c1 core c3 db" "mob c2 core c4 api"; row-gap: 84px; align-items: center; }
.node { display: flex; align-items: center; gap: 10px; padding: 14px; min-height: 120px; border-radius: 16px; background: var(--dark-4); border: 1px solid var(--line-d3); color: #A9AFBA; font-size: 13px; line-height: 1.4; transition: all .4s; }
.node b { display: block; font-weight: 600; font-size: 15px; color: #fff; }
.node svg { flex: none; }
.node--core { grid-area: core; align-self: stretch; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 20px; color: var(--muted-d); }
.node--core b { font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; }
.node--core small { font-size: 12px; color: var(--muted-d2); }
.node.is-active { background: #3A2418; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,69,.2), 0 0 44px rgba(255,122,69,.35); }
.n-web { grid-area: web; } .n-mob { grid-area: mob; } .n-db { grid-area: db; } .n-api { grid-area: api; }
.conn { position: relative; height: 2px; align-self: center; }
.conn::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #5A6372 0 4px, transparent 4px 10px); background-size: 20px 2px; animation: dashH .9s linear infinite; }
.conn::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px var(--accent); animation: dotH 1.8s linear infinite; }
.conn--rev::after { background: var(--cyan); box-shadow: 0 0 14px 2px var(--cyan); animation-direction: reverse; }
.conn span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 12px; color: #A9AFBA; white-space: nowrap; }
.c1 { grid-area: c1; } .c2 { grid-area: c2; } .c3 { grid-area: c3; } .c4 { grid-area: c4; }
.c2::after { animation-delay: .9s; } .c3::after { animation-delay: .45s; } .c4::after { animation-delay: 1.35s; }

@media (max-width: 760px) {
  .demo__head, .demo__steps { padding-left: 16px; padding-right: 16px; }
  .demo__body { padding: 28px 16px 8px; }
  .demo__caption { margin: 16px; }
  .step-btn { flex: 0 0 48px; width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .step-btn .step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .step-btn .step-num { background: transparent; width: auto; height: auto; font-size: 16px; color: inherit; }
  .step-btn[aria-pressed="true"] .step-num { background: transparent; color: var(--ink); }
  .demo__steps { justify-content: space-between; }
  .flow { grid-template-columns: 1fr 1fr; grid-template-rows: auto 64px auto 64px auto; grid-template-areas: "web mob" "c1 c2" "core core" "c3 c4" "db api"; column-gap: 12px; row-gap: 0; }
  .node { min-height: 88px; padding: 10px 12px; font-size: 12px; }
  .node svg { display: none; }
  .node b { font-size: 14px; }
  .flow .node--core { flex-direction: row; align-items: center; }
  .node--core svg { display: none; }
  .flow .node--core small { display: none; }
  .conn { width: 2px; height: 100%; justify-self: center; align-self: stretch; }
  .conn::before { background: repeating-linear-gradient(180deg, #5A6372 0 4px, transparent 4px 10px); background-size: 2px 20px; animation-name: dashV; }
  .conn::after { left: -3px; top: 0; animation-name: dotV; }
  .conn span { left: 12px; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* Telefon klienta w demo */
.phone-wrap { flex: 0 0 290px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone-wrap > span { font-size: 13px; font-weight: 600; color: var(--muted-d2); }
.phone { width: 290px; max-width: 100%; height: 560px; padding: 9px; border-radius: 40px; background: #0F1216; border: 1px solid var(--line-d); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.phone__screen { width: 100%; height: 100%; border-radius: 32px; background: #F6F5F1; color: var(--text); overflow: hidden; display: flex; flex-direction: column; }
.phone__bar { padding: 20px 18px 14px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.phone__bar .logo { width: 32px; height: 32px; border-radius: 10px; background: var(--dark); display: flex; align-items: center; justify-content: center; }
.phone__bar b { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.phone__bar span { font-size: 12px; color: var(--muted); }
.phone__body { flex: 1; padding: 16px; font-size: 13px; line-height: 1.45; overflow: hidden; }
.screen { display: flex; flex-direction: column; gap: 10px; animation: pop .4s ease-out; }
.screen[hidden] { display: none; }
.screen h4 { font-size: 16px; font-weight: 600; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.p-card b { display: block; font-weight: 600; }
.p-card small { display: block; font-size: 12px; color: var(--muted); }
.p-card--dark { background: var(--dark); color: #fff; border: 0; }
.p-card--dark small { color: #B4BAC4; }
.p-badge { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #DDF7EA; color: #166534; }
.p-photos { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0,1fr)); gap: 6px; }
.p-photo { height: 68px; border-radius: 10px; background: #E6E4DC; display: flex; align-items: center; justify-content: center; }
.p-timeline { display: flex; flex-direction: column; gap: 14px; }
.p-timeline li { display: flex; align-items: center; gap: 10px; }
.p-timeline .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.p-timeline .done { background: #22A05A; color: #fff; }
.p-timeline .now { background: var(--accent); box-shadow: 0 0 0 4px #FFE4D8; }
.p-timeline .todo { border: 2px solid var(--line-2); }
.p-timeline .is-muted { color: #6B707A; }
.p-progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.p-progress div { width: 60%; height: 100%; background: var(--accent); border-radius: 999px; }
.p-msg { background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px; }
.p-cta { margin-top: 4px; background: var(--accent); color: var(--ink); font-weight: 600; text-align: center; padding: 12px; border-radius: 999px; }
.p-alert { display: flex; gap: 10px; align-items: flex-start; }
.p-alert .ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .phone-wrap { flex: 1 1 100%; }
  .phone { height: auto; min-height: 460px; border-width: 6px; border-radius: 30px; padding: 0; }
  .phone__screen { border-radius: 24px; min-height: 450px; }
}

/* CTA w ciemnej ramce */
.cta-dark { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; border-radius: 22px; background: var(--dark); color: var(--text-d); margin-top: 12px; }
.cta-dark p { flex: 1 1 460px; font-size: 18px; color: var(--muted-d); }

/* ---------- Realizacje (wkrótce) ---------- */
.soon { position: relative; }
.soon__content { filter: blur(10px); pointer-events: none; user-select: none; }
.soon__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.soon__box { max-width: 460px; text-align: center; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; box-shadow: 0 30px 60px -30px rgba(26,30,37,.35); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.soon__box b { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); font-weight: 600; }
.soon__box span { font-size: 15px; color: var(--muted); }
.works { display: flex; flex-wrap: wrap; gap: 16px; }
.work { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.work__shot { height: 240px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.work__shot--dark { background: var(--dark); border: 0; }
.work__tag { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.work__tag--cyan { color: var(--cyan-ink); }
.work__name { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; margin-top: -8px; }

/* ---------- O mnie ---------- */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about__photo { flex: 0 1 340px; width: 340px; max-width: 100%; aspect-ratio: 340 / 400; object-fit: cover; object-position: center 25%; border-radius: 26px; background: #fff; }
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__text .h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip--plain::before { display: none; }
.chip--soft { background: var(--bg); }
.chip--accent { background: var(--accent-soft); border-color: var(--accent-border); color: #9A3412; }

/* ---------- Formularze ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__links { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; font-size: 18px; font-weight: 600; }
.contact__links a { color: #fff; padding: 6px 0; }
.form { flex: 1 1 540px; min-width: 0; background: #fff; color: var(--text); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted-2); }
.field .hint { font-weight: 400; color: var(--muted); }
.input { width: 100%; font-size: 16px; color: var(--text); padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,69,.25); }
textarea.input { resize: vertical; min-height: 110px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); font-weight: 500; cursor: pointer; }
.choice--pill { flex: 0 1 auto; padding: 10px 16px; border-radius: 999px; font-size: 15px; }
.choice input { accent-color: var(--accent-ink-2); width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { background: #FFF5F0; border: 2px solid var(--accent); padding: 13px 15px; }
.choice--pill:has(input:checked) { padding: 9px 15px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted-2); }
.consent input { accent-color: var(--accent-ink-2); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.is-ok { display: block; background: #DDF7EA; color: #166534; }
.form-status.is-error { display: block; background: #FDE4E4; color: #991B1B; }
.form .btn { align-self: flex-start; }

/* Blok formularza na jasnym tle (podstrona systemów) */
.contact-light { border-radius: 32px; background-color: var(--accent-soft); background-image: radial-gradient(600px 380px at 15% 20%, rgba(255,122,69,.22), transparent 70%); border: 1px solid var(--accent-border); padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact-light .form { box-shadow: 0 24px 50px -30px rgba(154,52,18,.45); }
@media (max-width: 600px) { .contact-light { padding: 36px 18px; border-radius: 24px; } .form { padding: 22px 18px; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-d2); color: var(--muted-d2); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted-d); }
.site-footer a:hover { color: #fff; }

/* ---------- Podstrona: strony internetowe ---------- */
.build-browser { position: absolute; left: 0; right: 30px; top: 0; height: 410px; }
.build-browser .mock-body > * { animation: build 7s ease-out infinite; }
.for-whom { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding: 56px 0; }
.for-whom h2 { flex: 0 1 300px; font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
.for-whom ul { flex: 1 1 600px; display: flex; flex-wrap: wrap; gap: 10px; }
.device-switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--dark-3); border: 1px solid var(--line-d); }
.device-switch button { font-size: 15px; font-weight: 500; padding: 11px 22px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted-d); min-height: 44px; }
.device-switch button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.device-frame { width: 820px; max-width: 100%; margin: 0 auto; padding: 10px; border-radius: 22px; background: #0F1216; border: 1px solid var(--line-d); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transition: width .5s ease; }
.device-frame[data-device="tablet"] { width: 520px; }
.device-frame[data-device="phone"] { width: 300px; }
.device-frame__screen { border-radius: 14px; background: #fff; color: var(--text); overflow: hidden; min-height: 420px; }
.device-frame .df-nav { padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid #ECEBE5; }
.device-frame .df-nav b { font-weight: 700; font-size: 14px; }
.device-frame .df-nav span { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.device-frame .df-hero { padding: 18px; display: flex; flex-wrap: wrap; gap: 16px; }
.device-frame .df-hero > div:first-child { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.device-frame .df-hero strong { font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.device-frame .df-hero p { font-size: 13px; color: var(--muted); }
.device-frame .df-img { flex: 1 1 200px; height: 150px; border-radius: 12px; background: #F6DCCB; }
.device-frame .df-tiles { padding: 0 18px 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.device-frame .df-tiles div { flex: 1 1 140px; border-radius: 10px; background: #F3F2EE; padding: 10px; font-size: 12px; font-weight: 600; }
.device-frame .df-tiles small { display: block; font-weight: 400; color: var(--muted); }
.proc { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.proc__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.proc__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.proc__list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.proc__list li b { display: block; font-weight: 600; font-size: 19px; }
.proc__list li span { color: var(--muted); font-size: 15px; }
.proc__list li.is-dark { background: var(--dark); border: 0; color: var(--text-d); }
.proc__list li.is-dark b { color: #fff; }
.proc__list li.is-dark span { color: var(--muted-d); }
.note-box { margin-top: 12px; padding: 24px; border-radius: 20px; background: var(--accent-soft); border: 1px solid var(--accent-border); display: flex; flex-direction: column; gap: 10px; }
.note-box b { font-size: 18px; color: var(--ink); }
.note-box span { color: #3D2A20; font-size: 15px; }
.faq { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: var(--ink); padding: 20px 24px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--bg); color: var(--dark); }
.faq details[open] summary::after { content: "−"; background: var(--accent); color: var(--ink); }
.faq p { padding: 0 24px 22px; color: var(--muted-2); }

/* ---------- Podstrona: systemy ---------- */
.mock-app { flex: 1 1 440px; min-width: 0; background: #F3F2EE; color: var(--text); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.mock-app__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.mock-app__head b { font-weight: 600; font-size: 15px; }
.mock-app__tabs { display: flex; gap: 8px; font-size: 12px; }
.mock-app__tabs span { padding: 4px 10px; border-radius: 999px; background: #ECEBE5; }
.mock-app__tabs span:first-child { background: var(--dark); color: #fff; }
.mock-app__stats { display: flex; gap: 12px; padding: 16px 18px; }
.mock-app__stats > div { flex: 1; background: #fff; border-radius: 12px; padding: 12px 14px; }
.mock-app__stats small { font-size: 12px; color: var(--muted); }
.mock-app__stats strong { display: block; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.mock-app__chart { flex: 1.4 !important; display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.mock-app__chart span { flex: 1; border-radius: 3px; transform-origin: bottom; animation: grow 3s ease-in-out infinite; }
.mock-app__rows { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mock-app__rows > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fff; animation: rowIn 6s linear infinite; }
.mock-app__rows > div:nth-child(2) { animation-delay: 2s; } .mock-app__rows > div:nth-child(3) { animation-delay: 4s; }
.mock-app__rows b { flex: 1; font-weight: 600; }
.mock-app__rows span { flex: 1; color: var(--muted); }
.status { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.status--new { background: #FFE4D8; color: #9A3412; }
.status--prog { background: #DCEFFD; color: #1E5A8A; }
.status--done { background: #DDF7EA; color: #166534; }
@media (max-width: 520px) { .mock-app__chart { display: none !important; } .mock-app__rows span { display: none; } }
.compare { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; }
.compare__now { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.compare__now small, .compare__fix small { font-size: 13px; font-weight: 600; color: var(--muted); }
.compare__now b { font-size: 19px; font-weight: 600; }
.compare__fix { padding: 26px; background: var(--accent); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.compare__fix small { color: #3D1A0A; }
.compare__fix span { font-size: 17px; font-weight: 500; color: var(--ink); }
.exp-band { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; padding: 36px 40px; border-radius: 26px; background: var(--dark); color: var(--text-d); }
.exp-band strong { font-weight: 600; font-size: 84px; line-height: 1; letter-spacing: -0.05em; color: var(--accent); }
.exp-band .exp-label { font-size: 16px; color: var(--muted-d); max-width: 160px; line-height: 1.35; }
.exp-band p { flex: 1 1 480px; font-size: 18px; }
.stage { border-radius: 36px; overflow: hidden; }
.resto { margin: 0; border: 1px solid var(--line-d); border-radius: 24px; background: var(--dark-2); overflow: hidden; }
.resto__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line-d2); font-size: 14px; color: var(--muted-d2); }
.legend { display: flex; gap: 18px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.resto__body { padding: 44px 32px; }
.flow3 { display: grid; grid-template-columns: minmax(0,1fr) 110px minmax(0,1.2fr) 110px minmax(0,1fr); grid-template-areas: "a1 c1 core c4 b1" "a2 c2 core c5 b2" "a3 c3 core c6 b3" "infra infra infra infra infra"; row-gap: 30px; align-items: center; }
.flow3 .node { min-height: 110px; }
.flow3 .node span.tag { display: block; font-weight: 600; }
.tag--o { color: #FFB08F; } .tag--c { color: var(--cyan); }
.flow3 .node--core { background: #2A1A12; border-color: var(--accent); color: #F3E3DA; font-size: 15px; animation: glow 3s ease-in-out infinite; padding: 30px; }
.flow3 .node--core b { font-size: 26px; }
.flow3 .node--core small { color: #E3C4B4; font-size: 13px; }
.infra { grid-area: infra; border: 1px dashed var(--line-d); border-radius: 14px; background: var(--ink); padding: 22px 24px; font-size: 14px; color: var(--muted-d); }
.a1 { grid-area: a1; } .a2 { grid-area: a2; } .a3 { grid-area: a3; } .b1 { grid-area: b1; } .b2 { grid-area: b2; } .b3 { grid-area: b3; }
.c5 { grid-area: c5; } .c6 { grid-area: c6; }
.flow3 .c2::after { animation-delay: .8s; } .flow3 .c3::after { animation-delay: 1.6s; } .flow3 .c5::after { animation-delay: 1.2s; } .flow3 .c6::after { animation-delay: .3s; }
@media (max-width: 900px) {
  .resto__body { padding: 28px 16px; }
  .flow3 { grid-template-columns: 1fr; grid-template-areas: "a1" "a2" "a3" "c1" "core" "c4" "b1" "b2" "b3" "infra"; row-gap: 10px; }
  .flow3 .c2, .flow3 .c3, .flow3 .c5, .flow3 .c6 { display: none; }
  .flow3 .conn { width: 2px; height: 56px; justify-self: center; }
  .flow3 .conn::before { background: repeating-linear-gradient(180deg, #5A6372 0 4px, transparent 4px 10px); background-size: 2px 20px; animation-name: dashV; }
  .flow3 .conn::after { left: -3px; top: 0; animation-name: dotV; }
  .flow3 .node { min-height: 0; }
  .stage { border-radius: 24px; }
}
.pipe { position: relative; }
.pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.pipe::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px rgba(255,122,69,.7); animation: pipe 7s linear infinite; }
.pipe ol { padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.pipe li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pipe li .num { width: 32px; height: 32px; font-size: 14px; background: var(--bg-2); color: var(--text); }
.pipe li h3 { font-size: 18px; font-weight: 600; }
.pipe li p { font-size: 15px; color: var(--muted); }
.pipe li.is-accent { background: var(--accent-soft); border-color: var(--accent-border); }
.pipe li.is-accent .num { background: var(--accent); color: var(--ink); }
.tech { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.tech__intro { flex: 1 1 320px; min-width: 0; }
.tech__grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.tech__grid div { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.tech__grid b { display: block; font-weight: 600; font-size: 20px; }
.tech__grid span { font-size: 14px; color: var(--muted); }

/* ---------- Strona tekstowa (polityka) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 12px; color: var(--ink); }
.prose p, .prose li { color: var(--muted-2); margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.prose a { font-weight: 500; }

/* ---------- Animacje ---------- */
@keyframes led { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0 } 10% { opacity: 1 } 90% { opacity: 1 } 100% { transform: translateY(330px); opacity: 0 } }
@keyframes dashH { to { background-position: 20px 0 } }
@keyframes dashV { to { background-position: 0 20px } }
@keyframes dotH { 0% { left: 0; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { left: calc(100% - 8px); opacity: 0 } }
@keyframes dotV { 0% { top: 0; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { top: calc(100% - 8px); opacity: 0 } }
@keyframes pop { 0% { transform: translateY(8px); opacity: 0 } 100% { transform: translateY(0); opacity: 1 } }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,122,69,0) } 50% { box-shadow: 0 0 44px 0 rgba(255,122,69,.3) } }
@keyframes pipe { 0% { left: 0; opacity: 0 } 5% { opacity: 1 } 95% { opacity: 1 } 100% { left: calc(100% - 10px); opacity: 0 } }
@keyframes rowIn { 0%,100% { background: #fff } 10%,35% { background: #FFF1EA } }
@keyframes grow { 0% { transform: scaleY(.3) } 50% { transform: scaleY(1) } 100% { transform: scaleY(.3) } }
@keyframes build { 0% { opacity: 0; transform: translateY(12px) } 12% { opacity: 1; transform: translateY(0) } 88% { opacity: 1 } 100% { opacity: 0 } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .conn::after, .pipe::after, .mock-scan { display: none; }
  .build-browser .mock-body > * { opacity: 1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .pkg, .card { padding: 22px; }
  .cta-dark { padding: 22px; }
  .exp-band { padding: 26px 22px; }
  .exp-band strong { font-size: 60px; }
}

/* poprawki układu */
.form > .field { flex: none; }
.about picture { display: contents; }
.pkg--featured .pkg__foot span { color: var(--muted-d2); }
@media (max-width: 760px) { .flow3 .node--core { padding: 20px; } .flow3 .node--core b { font-size: 22px; } }
.legend span { white-space: nowrap; }
/* pigułka statusu: kropka zawsze przy pierwszej linii tekstu */
.status-pill { flex-wrap: nowrap; align-items: flex-start; line-height: 20px; }
.status-pill .led { margin-top: 6px; }
.nw { white-space: nowrap; }
@media (max-width: 600px) { .status-pill { border-radius: 16px; padding: 8px 14px; } }

/* O mnie — karta z logo zamiast zdjęcia */
.about__card { flex: 0 1 340px; width: 340px; max-width: 100%; min-height: 400px; border-radius: 26px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background-color: var(--dark); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px), radial-gradient(420px 300px at 85% 0%, rgba(255,122,69,.28), transparent 70%); background-size: 22px 22px, auto; color: var(--text-d); box-shadow: 0 30px 60px -30px rgba(26,30,37,.5); }
.about__mark { width: 72px; height: 72px; border-radius: 20px; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(255,122,69,.45); }
.about__id { display: flex; flex-direction: column; gap: 4px; }
.about__id b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.about__id span { font-size: 16px; color: var(--muted-d); }
.about__id small { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d2); }
@media (max-width: 600px) { .about__card { min-height: 0; width: 100%; flex-basis: 100%; padding: 24px; gap: 28px; } .about__mark { width: 56px; height: 56px; border-radius: 16px; } }
.about__text { max-width: 860px; }
