
:root { --paper:#e8dfcc; --paper2:#f3ecdc; --ink:#1f1a14; --muted:#5f5443; --line:#cdbfa3;
  --accent:#e8705c; --yellow:#f2c200; --blue:#2b6bd6; --green:#2f9e57; --brown:#8a5a2e; --mixed:#4b4f55; --bulky:#8d4fc8; --on-yellow:#1f1a14;
  --head:'Nunito Sans',system-ui,sans-serif; --body:'Nunito Sans',system-ui,sans-serif; --line-w:3px; }
@media (prefers-color-scheme: dark) { :root { --paper:#1c1813; --paper2:#26211a; --ink:#f0e8d6; --muted:#b3a78d; --line:#3b3326;
  --accent:#ee7a66; --yellow:#f5c518; --blue:#336ad4; --green:#3fb36a; --brown:#8a5a2e; --mixed:#6b7078; --bulky:#8d4fc8; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

header.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--line-w) solid var(--ink); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.35rem var(--head); text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 29px; height: 35px; flex: none; }
.logo { --logo-pad: 4px; }

.logo .lg-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .lg-light { box-sizing: content-box; padding: var(--logo-pad, 5px); background: #f0e8d6; border-radius: 12px; } }
:root[data-theme="dark"] .logo .lg-light { box-sizing: content-box; padding: var(--logo-pad, 5px); background: #f0e8d6; border-radius: 12px; }

nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: .95rem; }
nav a { text-decoration: none; padding: 8px 2px; display: inline-block; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; font: 800 1rem var(--head);
  border: var(--line-w) solid var(--ink); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--paper2); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--on-yellow); border-color: #1f1a14; }
.btn.small { min-height: 42px; padding: 6px 16px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 430px) { .bar { gap: 8px; } .logo { font-size: 1.05rem; gap: 6px; } .btn.small { padding: 6px 10px; font-size: .8rem; } }
@media (max-width: 860px) { nav { display: none; } }

.hero { padding: 48px 0 56px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kicker { font: 700 .82rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h1 { font: 800 clamp(2.1rem, 5.2vw, 3.6rem)/1.02 var(--head); letter-spacing: -.03em; margin: 0 0 18px; }
.lead { font-size: 1.15rem; margin: 0 0 24px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: .86rem; color: var(--muted); margin: 16px 0 0; max-width: 36em; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 0; }
/* Obudowa telefonu ma stały, ciemny kolor w obu motywach, żeby odcinała się od zrzutu; w ciemnym motywie dostaje jasny obrys, żeby nie zginęła na tle strony. */
.phone { width: min(46vw, 232px); border: var(--line-w) solid #1f1a14; border-radius: 34px; padding: 8px; background: #1f1a14; flex: none; }
@media (prefers-color-scheme: dark) { .phone { border-color: #8a7d66; } }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 390/844; object-fit: cover; object-position: top; border-radius: 26px; background: var(--paper); }
.phones .phone:nth-child(2) { margin: 36px 0 0 -26px; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .phones .phone:nth-child(2) { display: none; } .phone { width: 220px; } }

section.block { padding: 56px 0; border-top: var(--line-w) solid var(--ink); }
section.alt { background: var(--paper2); }
h2 { font: 800 clamp(1.6rem, 3.6vw, 2.3rem)/1.08 var(--head); letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font: 800 1.2rem/1.2 var(--head); margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { background: var(--paper2); border: var(--line-w) solid var(--ink); border-radius: 18px; padding: 20px; }
.alt .card { background: var(--paper); }
.card p { margin: 0; } .card ul { margin: 0; padding-left: 1.2em; } .card li { margin: 0 0 6px; }
.accent { display: block; width: 42px; height: 8px; border-radius: 4px; background: var(--c); margin-bottom: 12px; border: 2px solid var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; justify-items: center; } }
.shot { text-align: center; } .shot .phone { width: 100%; max-width: 232px; margin: 0 auto 14px; }
.shot b { display: block; font: 800 1.02rem var(--head); } .shot span { display: block; font-size: .92rem; color: var(--muted); }
.features { columns: 2; column-gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .features { columns: 1; } }
.features li { break-inside: avoid; padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.features li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--ink); background: var(--c, var(--yellow)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.flyer { border: var(--line-w) solid var(--ink); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: none; }
.flyer img { display: block; width: 100%; height: auto; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: st; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: st; background: var(--paper); border: var(--line-w) solid var(--ink); border-radius: 16px; padding: 16px; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: var(--line-w) solid var(--ink); font: 800 1rem var(--head); margin-bottom: 8px; background: var(--paper2); }
.steps b { display: block; font: 800 1.05rem var(--head); margin-bottom: 4px; }

.price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.pilot { background: var(--paper2); }
.pilot .card { background: var(--paper); }
.pilot-note { margin: 16px 0 0; padding: 10px 14px; border: var(--line-w) solid var(--ink); border-radius: 12px; background: var(--paper2); max-width: 36em; }
.big { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.05 var(--head); letter-spacing: -.02em; }

details { border: var(--line-w) solid var(--ink); border-radius: 14px; background: var(--paper); margin: 0 0 10px; }
details summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font: 800 1.05rem var(--head); position: relative; min-height: 52px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-70%) rotate(45deg); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0; padding: 0 18px 18px; }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact .card.dark { background: var(--ink); color: var(--paper); }
.contact .card.dark .btn { border-color: var(--paper); }
dl.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
dl.facts dt { font-weight: 700; color: var(--muted); } dl.facts dd { margin: 0; }
footer { border-top: var(--line-w) solid var(--ink); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.prose { max-width: 46em; } .prose h2 { margin-top: 32px; font-size: 1.4rem; } .prose p, .prose li { margin: 0 0 10px; }
