/* Strona produktu – ta sama tożsamość co panel: atrament, papier, zakreślacz. */
:root {
  --ink: #1d2b6b; --ink-2: #2c3f92; --paper: #fbfcfe; --band: #eef1f8; --text: #1a1d29; --muted: #545b6e;
  --line: #d6dbe8; --marker: #f5d547; --ok: #2f7d4f; --bell: #d7262b;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.55; font-size: 17px; }
a { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 14px; }
.small { font-size: .9rem; color: var(--muted); }

.bar { position: sticky; top: 0; z-index: 10; background: rgba(251,252,254,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px 9px 9px 2px; background: #fff; border: 1.5px solid var(--line); color: var(--bell); display: grid; place-items: center; }
.bar nav { display: flex; gap: 22px; align-items: center; }
.bar nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.bar nav a:hover { color: var(--ink-2); }
.bar nav .login { border: 1px solid var(--line); padding: 7px 14px; border-radius: 8px; font-weight: 700; }

.btn { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { color: var(--ink); border: 1px solid #b8c0d6; background: #fff; }

.hero { padding: 64px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin: 0 0 20px; color: var(--ink); }
.lede { font-size: 1.2rem; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* telefon w hero – jedyny „głośny” element strony */
.phone { background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: 18px 16px 22px; box-shadow: 0 30px 60px -30px rgba(29,43,107,.35); max-width: 380px; justify-self: end; width: 100%; }
.phone-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); padding: 2px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.phone-top b { color: var(--text); }
.sms { border-radius: 18px; padding: 11px 14px; font-size: .93rem; max-width: 92%; margin-bottom: 12px; }
.sms.in { background: #e9edf5; border-bottom-left-radius: 4px; }
.sms.in u { color: var(--ink-2); text-decoration-thickness: 1px; }
.sms.out { background: var(--marker); margin-left: auto; border-bottom-right-radius: 4px; }
.reply-card { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px 18px; font-size: .9rem; background: var(--paper); }
.reply-card .row i { font-style: normal; color: var(--muted); }
.reply-card .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.reply-card em { font-style: normal; border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; }
.reply-card em.on { background: var(--marker); border-color: #d8b800; font-weight: 700; }
.reply-card .send { background: var(--ink); color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 700; }

.facts { background: var(--ink); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.facts p { margin: 0; padding: 22px 0; font-size: 1rem; color: #cfd5ef; }
.facts b { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--marker); }

.section { padding: 76px 0; }
.band { background: var(--band); }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.col-head p { color: var(--muted); max-width: 26em; }
.col-head { position: sticky; top: 90px; }
.sub { color: var(--muted); max-width: 46em; }
.narrow { max-width: 760px; }

.features { margin: 0; display: grid; gap: 0; }
.features div { padding: 20px 0; border-top: 1px solid var(--line); }
.features div:first-child { border-top: 0; padding-top: 0; }
.features dt { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.features dd { margin: 0; max-width: 40em; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.steps b { font-size: 1.1rem; }
.steps span { color: var(--muted); }

.table-scroll { overflow-x: auto; margin: 22px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prices { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { font-size: .85rem; color: var(--muted); font-weight: 700; }
.prices td span { color: var(--muted); font-size: .9rem; }
.prices tr:last-child td { border-bottom: 0; }
.prices .hl { background: #fdf6d3; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style-position: outside; }
details p { margin: 10px 0 0; color: var(--muted); max-width: 46em; }

.lead-form-public { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.fld input, .fld textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #c4cbdc; border-radius: 8px; width: 100%; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px #e8ecf8; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.chk input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.err { color: #c2362b; font-size: .88rem; font-style: normal; font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.thanks h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--ok); }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .95rem; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }

@media (max-width: 900px) {
  .bar nav a:not(.login) { display: none; }
  .hero { padding-top: 36px; }
  .hero-in, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .phone { justify-self: start; }
  .col-head { position: static; }
  .facts-in { grid-template-columns: 1fr; }
  .facts p { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

.module-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.module-cards article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.module-cards h3 { margin: 4px 0 8px; font-size: 1.2rem; color: var(--ink); }
.module-cards p { margin: 0; color: var(--muted); font-size: .97rem; }
.module-cards .grp { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bell); }
.prices tr.hl td { background: #fdf6d3; }
@media (max-width: 900px) { .module-cards { grid-template-columns: 1fr; } }
.bar nav .try { background: var(--ink); color: #fff; border-color: var(--ink); }
.bar nav .try:hover { color: #fff; background: var(--ink-2); }
@media (max-width: 900px) { .bar nav a.try { display: inline-block; } }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ink); margin: 0 0 6px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal p, .legal li { max-width: 46em; }
.legal-warn { background: #fdf6d3; border: 1px solid #ecd77a; padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.legal-note { background: var(--band); padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.dpa-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 16px; }
.wrap.narrow { max-width: 860px; }
.fld select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #c4cbdc; border-radius: 8px; width: 100%; background: #fff; }

/* poprawki 2026-10 */
.logo, .bar nav .login { white-space: nowrap; }
.mod-tag { font-family: var(--font, inherit); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--bell); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; vertical-align: middle; margin-left: 6px; }
.scroll-hint { display: none; color: var(--muted); margin: 14px 0 -8px; }
.prices th:first-child, .prices td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.prices tr.hl td:first-child { background: #fdf6d3; }
@media (max-width: 700px) {
  .scroll-hint { display: block; }
  .prices th:first-child, .prices td:first-child { min-width: 150px; box-shadow: 1px 0 0 var(--line); }
}
@media (max-width: 420px) {
  .bar-in { gap: 8px; }
  .logo { font-size: .95rem; gap: 7px; }
  .bar nav { gap: 8px; }
  .bar nav .login { padding: 6px 10px; font-size: .88rem; }
}
@media (max-width: 420px) {
  .bar .wrap { padding-left: 14px; padding-right: 14px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo { font-size: .9rem; }
  .bar nav .login { padding: 6px 9px; font-size: .84rem; }
}
@media (max-width: 360px) { .logo .logo-text { display: none; } }

/* moduły i kalkulator */
.module-cards article { display: flex; flex-direction: column; }
.module-cards article.is-new { border-color: var(--bell); box-shadow: 0 0 0 1px var(--bell) inset; }
.badge-new { font-style: normal; background: var(--bell); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .68rem; letter-spacing: .04em; margin-left: 4px; text-transform: uppercase; vertical-align: middle; }
.mod-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; }
.mod-foot b { color: var(--ink); }
.mod-foot span { font-size: .82rem; }
.mod-tag.new { color: #fff; background: var(--bell); border-color: var(--bell); }
.extras { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.extras li { display: grid; gap: 2px; padding-left: 26px; position: relative; }
.extras li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 3px; background: var(--ink); opacity: .85; }
.extras b { color: var(--ink); }
.extras span { color: var(--muted); font-size: .95rem; }
.calc { margin-top: 40px; display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.calc-pick { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.calc-pick h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.4rem; color: var(--ink); }
.calc fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.calc legend { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--bell); margin-bottom: 6px; }
.calc-size { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-size label { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.calc-size label:has(input:checked) { border-color: var(--ink); background: #eef1fb; font-weight: 700; }
.calc-size span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.calc-group { display: grid; gap: 2px; }
.calc-group label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 4px; border-radius: 8px; cursor: pointer; }
.calc-group label:hover { background: #f3f5fb; }
.calc-group .pr { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .92rem; }
.calc input[type=checkbox], .calc input[type=radio] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.calc-sum { position: sticky; top: 84px; background: var(--ink); color: #fff; border-radius: 14px; padding: 22px; display: grid; gap: 10px; }
.calc-sum dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: .95rem; }
.calc-sum dt { color: #c8cff0; }
.calc-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; margin: 4px 0 0; }
.calc-total b { font-family: var(--display); font-size: 2rem; color: #ffd84d; }
.calc-sum .small { color: #dfe4f7; margin: 0; }
.calc-sum .muted { color: #ffd84d !important; }
.calc-sum .btn { justify-content: center; width: 100%; }
.calc-sum .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc-sum { position: static; }
  .extras { grid-template-columns: 1fr; }
}

.mod-foot .mod-price { color: var(--muted); }
.mod-foot > span:not(.mod-price) { flex-basis: 100%; }
.calc-sum .btn-main { background: #ffd84d; color: var(--ink); border-color: #ffd84d; }
.calc-sum .btn-main:hover { background: #ffe27a; color: var(--ink); }
.calc-sum .btn { text-align: center; }
@media (max-width: 900px) { .calc-size { flex-direction: row; } }

/* pakiety */
.tier-switch { border: 0; padding: 0; margin: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tier-switch legend { font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.tier-switch label { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; cursor: pointer; display: grid; text-align: center; min-width: 92px; }
.tier-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tier-switch label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.tier-switch label:has(input:focus-visible) { outline: 3px solid #ffd84d; outline-offset: 2px; }
.tier-switch span { font-size: .8rem; opacity: .75; }
.tier-switch .tier-more { border-style: dashed; }
.tier-switch .tier-more a { color: inherit; text-decoration: none; display: grid; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-bottom: 14px; }
.pkg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.pkg.featured { border: 2px solid var(--ink); box-shadow: 0 14px 40px rgba(29,43,107,.14); }
.pkg-flag { position: absolute; top: -12px; left: 22px; background: #ffd84d; color: var(--ink); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.pkg h3 { margin: 0; font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.pkg-price { margin: 0; color: var(--muted); }
.pkg-price b { font-family: var(--display); font-size: 2.1rem; color: var(--ink); }
.pkg-price s { margin-left: 8px; color: var(--muted); font-size: .95rem; }
.pkg-save { margin: 0; color: #2e7d4f; font-weight: 700; font-size: .9rem; }
.pkg-pitch { margin: 4px 0 0; color: var(--text); }
.pkg-list { margin: 4px 0 10px; padding-left: 18px; color: var(--muted); font-size: .93rem; display: grid; gap: 3px; }
.pkg .btn { margin-top: auto; justify-content: center; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-tier { margin: 0; color: #c8cff0; font-size: .9rem; }
.calc-how { margin: 0; font-weight: 700; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }

/* Zrzuty ekranu panelu */
.shots { display: grid; grid-template-columns: 1fr minmax(0, 250px); gap: 28px; margin-top: 28px; align-items: start; }
.shots-desk { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shots-phone { display: grid; grid-template-columns: 1fr; gap: 24px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 10px 28px -16px rgba(29, 43, 107, .45); transition: transform .15s ease, box-shadow .15s ease; }
.shot a:hover, .shot a:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(29, 43, 107, .55); }
.shot img { display: block; width: 100%; height: auto; }
.phone-shot a { border-radius: 26px; border: 6px solid var(--ink); }
.phone-shot img { aspect-ratio: 600 / 900; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.shot figcaption b { color: var(--text); }
.center { text-align: center; margin-top: 28px; }
@media (max-width: 1000px) {
  .shots { grid-template-columns: 1fr; }
  .shots-phone { grid-template-columns: 1fr 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .shots-desk { grid-template-columns: 1fr; }
  .shots-phone { gap: 14px; }
  .phone-shot a { border-width: 4px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .shot a { transition: none; } }

/* Podstrony pod wyszukiwarkę */
.landing-h1 { font-size: clamp(2.2rem, 5vw, 3.8rem) !important; }
.landing-phone { max-width: 300px; justify-self: center; }
.landing-phone img { display: block; width: 100%; height: auto; border-radius: 20px; border: 6px solid var(--ink); aspect-ratio: 600 / 1000; object-fit: cover; object-position: top; box-shadow: 0 18px 40px -20px rgba(29, 43, 107, .55); }
.landing-points { grid-template-columns: 1fr 1fr; margin: 24px 0 36px; }
.landing-wide { max-width: 980px; }
.landing-more { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.landing-more a { font-weight: 700; }
@media (max-width: 900px) { .landing-points { grid-template-columns: 1fr; } }
.landing-points { gap: 0 48px; }
@media (min-width: 901px) { .landing-points div:nth-child(2) { border-top: 0; padding-top: 0; } }
.foot-links { flex-basis: 100%; font-size: .9rem; }

.dpa-sign > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .dpa-sign { grid-template-columns: 1fr; } }
