:root {
  color-scheme: dark;
  --bg: #08050d;
  --bg-soft: #0d0814;
  --panel: #15101f;
  --panel-2: #1b1228;
  --panel-3: #221632;
  --text: #f8f6fb;
  --muted: #b7adbf;
  --muted-2: #8f849a;
  --accent: #a855f7;
  --accent-2: #7c3aed;
  --accent-soft: rgba(168,85,247,.12);
  --blue: #4b9cff;
  --border: rgba(190,139,232,.18);
  --border-strong: rgba(181,104,245,.44);
  --shadow: 0 30px 90px rgba(0,0,0,.34);
  --wrap: 1160px;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% -10%, rgba(116,57,174,.20), transparent 32rem),
    radial-gradient(circle at 5% 55%, rgba(71,30,112,.13), transparent 28rem),
    linear-gradient(180deg,#09060e 0%,#0a0710 60%,#08050d 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }

.ambient { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.ambient::before,.ambient::after { content:""; position:absolute; border-radius:50%; filter:blur(100px); opacity:.16; }
.ambient::before { width:520px; height:520px; right:-220px; top:-180px; background:#7c3aed; animation: drift 18s ease-in-out infinite alternate; }
.ambient::after { width:430px; height:430px; left:-220px; top:45%; background:#462064; animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(45px,55px,0) scale(1.08); } }

.site-header { position: sticky; top:0; z-index:50; border-bottom:1px solid transparent; transition:.2s ease; }
.site-header.is-scrolled { background:rgba(8,5,13,.83); border-color:rgba(255,255,255,.06); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.header-inner { height:76px; display:flex; align-items:center; justify-content:space-between; gap:26px; }
.wordmark { display:inline-flex; align-items:baseline; font-size:22px; font-weight:900; letter-spacing:-.045em; }
.wordmark__nas { color:#fff; }
.wordmark__stream { color:var(--accent); }
.main-nav { display:flex; align-items:center; gap:8px; color:#c8bfce; font-size:14px; font-weight:700; }
.main-nav a { padding:10px 13px; border-radius:12px; transition:.18s ease; }
.main-nav a:hover,.main-nav a.is-active { color:#fff; background:rgba(255,255,255,.045); }
.main-nav a.is-active { box-shadow: inset 0 0 0 1px var(--border); }
.nav-toggle { display:none; width:44px; height:44px; border:1px solid var(--border); border-radius:14px; background:rgba(255,255,255,.025); }
.nav-toggle span { display:block; width:20px; height:2px; margin:4px auto; background:#fff; border-radius:3px; }

.eyebrow { color:#c994ff; text-transform:uppercase; letter-spacing:.14em; font-size:12px; font-weight:850; }
.hero-home { min-height: calc(100svh - 76px); display:grid; align-items:center; padding:72px 0 80px; }
.hero-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:72px; align-items:center; }
h1,h2,h3,p { margin-top:0; }
.hero-title { margin:18px 0 22px; font-size:clamp(56px,7vw,96px); line-height:.94; letter-spacing:-.064em; }
.hero-title span { color:transparent; background:linear-gradient(100deg,#fff 0%,#ddc1ff 24%,#a855f7 65%,#7c3aed 100%); -webkit-background-clip:text; background-clip:text; }
.hero-lead { max-width:660px; color:var(--muted); font-size:clamp(18px,2vw,22px); line-height:1.55; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.btn { min-height:50px; display:inline-flex; align-items:center; justify-content:center; padding:0 22px; border-radius:15px; font-size:15px; font-weight:800; border:1px solid transparent; transition:.18s ease; }
.btn:hover { transform:translateY(-2px); }
.btn--primary { color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent-2)); box-shadow:0 15px 38px rgba(124,58,237,.25); }
.btn--ghost { border-color:var(--border); background:rgba(255,255,255,.025); }
.btn--ghost:hover { border-color:var(--border-strong); background:var(--accent-soft); }
.hero-notes { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:25px; color:#c9c0cf; font-size:13px; }
.hero-notes span::before { content:"✓"; margin-right:7px; color:#bd7bff; font-weight:900; }

.product-visual { position:relative; min-height:520px; display:grid; place-items:center; }
.mock-window { width:min(100%,520px); min-height:330px; padding:18px; border:1px solid var(--border-strong); border-radius:30px; background:linear-gradient(145deg,rgba(27,17,40,.95),rgba(10,7,16,.96)); box-shadow:var(--shadow); transform:rotate(2deg); }
.mock-bar { height:38px; display:flex; align-items:center; gap:7px; border-bottom:1px solid rgba(255,255,255,.07); }
.mock-dot { width:8px; height:8px; border-radius:50%; background:#553f68; }
.mock-dot:nth-child(2){background:#765298}.mock-dot:nth-child(3){background:#a855f7}
.mock-brand { margin-left:auto; color:#d8cbe0; font-weight:850; font-size:12px; letter-spacing:.06em; }
.mock-content { display:grid; grid-template-columns:105px 1fr; gap:17px; padding-top:20px; }
.mock-cover { aspect-ratio:2/3; border-radius:13px; background:linear-gradient(145deg,#552374,#170d21 55%,#8647c6); box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.mock-copy b { display:block; font-size:18px; margin:6px 0 7px; }
.mock-line { height:7px; border-radius:9px; background:#47394f; margin:10px 0; }
.mock-line:nth-child(3){width:74%}.mock-line:nth-child(4){width:55%}
.mock-player { margin-top:25px; height:70px; border:1px solid var(--border); border-radius:17px; display:flex; align-items:center; justify-content:center; gap:24px; color:#d9cfdf; }
.play-disc { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; }
.floating-chip { position:absolute; padding:11px 15px; border:1px solid var(--border); border-radius:999px; background:rgba(19,13,28,.92); box-shadow:0 15px 45px rgba(0,0,0,.28); color:#d8cfdd; font-size:12px; animation:float 5s ease-in-out infinite; }
.floating-chip--one { right:0; top:65px; }.floating-chip--two { left:0; bottom:90px; animation-delay:-2s; }
.floating-chip i { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--accent); }
@keyframes float { 50% { transform:translateY(-9px); } }

.home-links { padding:10px 0 90px; }
.home-links-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.home-card { min-height:220px; padding:28px; border:1px solid var(--border); border-radius:24px; background:linear-gradient(150deg,rgba(255,255,255,.025),rgba(255,255,255,.008)); transition:.2s ease; }
.home-card:hover { transform:translateY(-4px); border-color:var(--border-strong); background:linear-gradient(150deg,var(--accent-soft),rgba(255,255,255,.01)); }
.home-card__icon { width:44px; height:44px; display:grid; place-items:center; margin-bottom:28px; border-radius:14px; background:var(--accent-soft); color:#d6adff; font-weight:900; }
.home-card h2 { font-size:22px; margin-bottom:10px; letter-spacing:-.025em; }
.home-card p { margin:0 0 20px; color:var(--muted); line-height:1.55; }
.home-card strong { color:#d2a7ff; font-size:13px; }

.page-hero { padding:92px 0 62px; }
.page-hero__inner { max-width:860px; }
.page-hero h1 { margin:15px 0 18px; font-size:clamp(46px,6vw,76px); letter-spacing:-.055em; line-height:.98; }
.page-hero p { color:var(--muted); font-size:20px; line-height:1.58; max-width:760px; }
.content-section { padding:42px 0 92px; }
.section-heading { max-width:760px; margin-bottom:34px; }
.section-heading h2 { margin:10px 0 12px; font-size:clamp(32px,4vw,48px); letter-spacing:-.04em; }
.section-heading p { color:var(--muted); line-height:1.65; font-size:17px; }
.feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.feature-card { padding:28px; border:1px solid var(--border); border-radius:22px; background:rgba(255,255,255,.018); }
.feature-card h3 { margin:0 0 10px; font-size:20px; }
.feature-card p { margin:0; color:var(--muted); line-height:1.62; }
.feature-icon { width:42px; height:42px; display:grid; place-items:center; margin-bottom:20px; border-radius:13px; background:var(--accent-soft); color:#d6b2ff; font-weight:900; }

.flow { display:grid; grid-template-columns:1fr 54px 1fr 54px 1fr; align-items:center; gap:8px; margin-top:28px; }
.flow-card { min-height:210px; padding:26px; border:1px solid var(--border); border-radius:22px; background:rgba(255,255,255,.018); }
.flow-card__n { color:#bd84f7; font-size:12px; font-weight:900; letter-spacing:.14em; }
.flow-card h3 { margin:30px 0 10px; font-size:21px; }
.flow-card p { color:var(--muted); line-height:1.6; margin:0; }
.flow-arrow { text-align:center; color:#7f6b8b; font-size:24px; }

.info-panel { display:grid; grid-template-columns:.8fr 1.2fr; gap:32px; padding:30px; border:1px solid var(--border); border-radius:25px; background:rgba(255,255,255,.018); }
.info-panel h3 { font-size:25px; margin:0; }
.info-panel p { color:var(--muted); line-height:1.65; margin:0; }
.clean-list { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:12px; }
.clean-list li { color:#d7cedc; }
.clean-list li::before { content:"✓"; color:#b96cff; font-weight:900; margin-right:10px; }

.help-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.help-card { padding:28px; border:1px solid var(--border); border-radius:22px; background:rgba(255,255,255,.018); }
.help-card h3 { margin:0 0 10px; }.help-card p { color:var(--muted); line-height:1.6; margin:0; }
.doc-list { display:grid; gap:12px; max-width:760px; }
.doc-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; border:1px solid var(--border); border-radius:17px; background:rgba(255,255,255,.018); }
.doc-row span { color:var(--muted); font-size:13px; }

.site-footer { border-top:1px solid rgba(255,255,255,.06); padding:34px 0 42px; }
.footer-grid { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; }
.footer-copy { color:var(--muted-2); font-size:13px; margin-top:7px; }
.footer-links { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.footer-links a { padding:8px 10px; color:#aaa0b3; font-size:13px; border-radius:10px; }
.footer-links a:hover { color:#fff; background:rgba(255,255,255,.035); }
.footer-meta { grid-column:1/-1; color:#746b7d; font-size:12px; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width:900px) {
  .main-nav { position:fixed; inset:76px 18px auto; display:none; padding:14px; flex-direction:column; align-items:stretch; border:1px solid var(--border); border-radius:18px; background:#120c1b; box-shadow:var(--shadow); }
  .main-nav.is-open { display:flex; }
  .nav-toggle { display:block; }
  .hero-home { min-height:auto; padding:70px 0; }
  .hero-grid { grid-template-columns:1fr; gap:40px; }
  .product-visual { min-height:420px; }
  .home-links-grid { grid-template-columns:1fr; }
  .feature-grid,.help-grid { grid-template-columns:1fr; }
  .flow { grid-template-columns:1fr; }
  .flow-arrow { transform:rotate(90deg); }
  .info-panel { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .wrap { width:min(calc(100% - 28px),var(--wrap)); }
  .header-inner { height:68px; }
  .main-nav { inset:68px 14px auto; }
  .hero-home { padding:48px 0 60px; }
  .hero-title { font-size:clamp(48px,16vw,70px); }
  .product-visual { min-height:350px; }
  .mock-window { transform:none; border-radius:24px; }
  .mock-content { grid-template-columns:82px 1fr; }
  .floating-chip--one { right:-2px; top:32px; }
  .floating-chip--two { left:-2px; bottom:34px; }
  .page-hero { padding:58px 0 40px; }
  .page-hero p { font-size:17px; }
  .content-section { padding:25px 0 70px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-links { justify-content:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
  .reveal { opacity:1; transform:none; }
}


/* Site v3: product differentiation */
.home-links-grid--four { grid-template-columns: repeat(4,1fr); }
.home-links-grid--four .home-card { min-height: 250px; }
.feature-spotlight { padding-top: 8px; }
.merge-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center; }
.merge-copy h2 { margin:10px 0 16px; font-size:clamp(34px,4.5vw,56px); letter-spacing:-.045em; line-height:1.02; }
.merge-copy > p { color:var(--muted); font-size:17px; line-height:1.68; max-width:610px; }
.merge-demo { position:relative; min-height:455px; display:grid; grid-template-columns:minmax(230px,.9fr) 72px minmax(250px,1fr); gap:16px; align-items:center; padding:26px; border:1px solid var(--border); border-radius:28px; background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(168,85,247,.035)); box-shadow:0 26px 75px rgba(0,0,0,.24); overflow:hidden; }
.merge-demo::before { content:""; position:absolute; width:260px; height:260px; right:-100px; top:-110px; border-radius:50%; background:rgba(168,85,247,.13); filter:blur(50px); }
.merge-files { position:relative; z-index:1; display:grid; gap:10px; }
.file-pill { display:grid; grid-template-columns:34px 1fr auto; gap:9px; align-items:center; padding:12px 13px; border:1px solid var(--border); border-radius:14px; background:rgba(9,6,14,.72); animation:filePulse 5.4s ease-in-out infinite; }
.file-pill:nth-child(2){animation-delay:-1.2s}.file-pill:nth-child(3){animation-delay:-2.4s}.file-pill:nth-child(4){animation-delay:-3.6s}
.file-pill > span { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; background:var(--accent-soft); color:#d8b5ff; font-size:11px; font-weight:900; }
.file-pill b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eee8f2; font-size:12px; }
.file-pill small { color:var(--muted-2); font-size:10px; }
.file-pill--ghost { opacity:.62; }
@keyframes filePulse { 50% { transform:translateX(5px); border-color:var(--border-strong); } }
.merge-arrow { position:relative; height:170px; display:grid; place-items:center; }
.merge-arrow::before { content:""; width:100%; height:2px; background:linear-gradient(90deg,var(--border),var(--accent),var(--border)); }
.merge-arrow::after { content:"›"; position:absolute; right:0; top:50%; transform:translateY(-53%); color:#d6b3ff; font-size:34px; font-weight:300; }
.merge-arrow span { position:absolute; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 16px rgba(168,85,247,.8); animation:mergeDot 2.6s linear infinite; }
.merge-arrow span:nth-child(2){animation-delay:-.85s}.merge-arrow span:nth-child(3){animation-delay:-1.7s}
@keyframes mergeDot { from{left:0;opacity:0} 18%{opacity:1} 82%{opacity:1} to{left:calc(100% - 7px);opacity:0} }
.book-result { position:relative; z-index:1; min-height:280px; padding:18px; border:1px solid var(--border-strong); border-radius:22px; background:linear-gradient(150deg,#1a1025,#0b0810); box-shadow:0 18px 50px rgba(0,0,0,.26); }
.book-result__cover { aspect-ratio:1.55/1; border-radius:15px; display:grid; place-content:center; text-align:center; background:linear-gradient(145deg,#29143c,#7c3aed 65%,#aa57f4); box-shadow:inset 0 0 0 1px rgba(255,255,255,.09); letter-spacing:.08em; }
.book-result__cover span { color:#fff; font-size:14px; font-weight:900; }
.book-result__cover strong { color:#e9d5ff; font-size:25px; letter-spacing:-.04em; }
.book-result__body { padding:16px 2px 2px; }
.book-result__label { color:#bf8af2; font-size:10px; letter-spacing:.14em; font-weight:900; }
.book-result h3 { margin:5px 0 11px; font-size:30px; letter-spacing:-.04em; }
.book-progress { height:6px; border-radius:9px; background:#382942; overflow:hidden; }
.book-progress i { display:block; width:38%; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--accent),var(--accent-2)); }
.book-result__meta { margin-top:9px; display:flex; justify-content:space-between; gap:12px; color:var(--muted-2); font-size:10px; }
@media (max-width:1060px) { .home-links-grid--four { grid-template-columns:repeat(2,1fr); } .merge-grid { grid-template-columns:1fr; } }
@media (max-width:720px) { .home-links-grid--four { grid-template-columns:1fr; } .merge-demo { min-height:auto; grid-template-columns:1fr; gap:18px; padding:19px; } .merge-arrow { height:62px; } .merge-arrow::before { width:2px; height:100%; background:linear-gradient(180deg,var(--border),var(--accent),var(--border)); } .merge-arrow::after { content:"⌄"; right:auto; bottom:-5px; top:auto; transform:none; } .merge-arrow span { left:50%!important; transform:translateX(-50%); animation:mergeDotVertical 2.6s linear infinite; } @keyframes mergeDotVertical { from{top:0;opacity:0} 18%{opacity:1} 82%{opacity:1} to{top:calc(100% - 7px);opacity:0} } .book-result { max-width:330px; width:100%; justify-self:center; } }


/* site-v4: download + expanded static help */
.text-link { color:#d2a7ff; text-decoration:underline; text-decoration-color:rgba(210,167,255,.35); text-underline-offset:3px; }
.text-link:hover { color:#fff; text-decoration-color:#d2a7ff; }
.download-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.download-card { padding:30px; border:1px solid var(--border); border-radius:24px; background:rgba(255,255,255,.018); }
.download-card--primary { background:linear-gradient(145deg,rgba(124,58,237,.10),rgba(255,255,255,.018)); border-color:var(--border-strong); }
.download-card__top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.download-card__top .feature-icon { margin-bottom:0; }
.download-card h2 { margin:0 0 12px; font-size:27px; letter-spacing:-.03em; }
.download-card p { color:var(--muted); line-height:1.62; }
.download-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.download-note { margin:16px 0 0!important; color:var(--muted-2)!important; font-size:13px; }
.status-badge { display:inline-flex; align-items:center; min-height:30px; padding:0 10px; border:1px solid var(--border); border-radius:999px; color:#aaa0b3; background:rgba(255,255,255,.02); font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.status-badge--soon { color:#d9b7ff; border-color:rgba(168,85,247,.28); background:var(--accent-soft); }
.btn--disabled { color:#8c8294; border-color:var(--border); background:rgba(255,255,255,.02); cursor:not-allowed; user-select:none; }
.install-steps { list-style:none; margin:34px 0 0; padding:0; display:grid; gap:14px; }
.install-step { display:grid; grid-template-columns:72px 1fr; gap:22px; align-items:start; padding:24px 26px; border:1px solid var(--border); border-radius:20px; background:rgba(255,255,255,.018); }
.install-step > span { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:var(--accent-soft); color:#d6adff; font-size:13px; font-weight:900; letter-spacing:.08em; }
.install-step h3 { margin:2px 0 8px; font-size:20px; }
.install-step p { margin:0; color:var(--muted); line-height:1.62; }
.faq-list { display:grid; gap:12px; max-width:900px; }
.faq-item { border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.018); overflow:hidden; }
.faq-item summary { padding:20px 22px; cursor:pointer; font-weight:800; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; float:right; color:#c994ff; font-size:20px; line-height:1; }
.faq-item[open] summary::after { content:"−"; }
.faq-item p { margin:0; padding:0 22px 20px; color:var(--muted); line-height:1.62; }
.muted-note { margin-top:14px!important; color:var(--muted-2)!important; font-size:13px; }
@media (max-width:900px) { .download-grid { grid-template-columns:1fr; } }
@media (max-width:560px) { .install-step { grid-template-columns:1fr; gap:14px; } .download-card { padding:24px; } }


/* Site v5: dokumenty prawne */
.legal-notice { max-width:900px; margin:0 0 26px; padding:18px 20px; border:1px solid rgba(245,158,11,.34); border-radius:17px; background:rgba(245,158,11,.065); color:#e7d8bd; line-height:1.6; }
.legal-notice strong { color:#fff; }
.legal-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; max-width:900px; }
.legal-card { padding:28px 30px; border:1px solid var(--border); border-radius:22px; background:rgba(255,255,255,.018); }
.legal-card h2 { margin:0 0 16px; font-size:26px; letter-spacing:-.025em; }
.legal-card h3 { margin:22px 0 10px; font-size:18px; }
.legal-card p { margin:0 0 13px; color:#d6cddd; line-height:1.72; }
.legal-card p:last-child { margin-bottom:0; }
.legal-card ul,.legal-card ol { margin:10px 0 14px 22px; padding:0; color:#d6cddd; line-height:1.72; }
.legal-card li + li { margin-top:7px; }
.legal-card a { color:#d0a1ff; text-decoration:underline; text-underline-offset:3px; }
.legal-meta { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:20px; color:var(--muted-2); font-size:13px; }
.legal-placeholder { color:#ffd49c; font-weight:800; }
.doc-row--link { color:inherit; text-decoration:none; transition:border-color .18s ease, background .18s ease, transform .18s ease; }
.doc-row--link:hover { border-color:var(--border-strong); background:rgba(168,85,247,.055); transform:translateY(-1px); }
.doc-row__arrow { color:#c78cff!important; font-size:18px!important; }
@media (max-width:560px) { .legal-card { padding:22px 20px; } .doc-row { align-items:flex-start; } }
