/* Public site ("/", "/cennik"). Only tokens from base.css; the stamp on the hero invoice is the one bold thing. */

.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 30; padding: var(--s-2) var(--s-3); border-radius: var(--r-ctl);
  background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: var(--s-3); }

/* ── header ─────────────────────────────────────────────────────────── */
.site-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s-5);
  max-width: 1200px; margin: 0 auto; padding: var(--s-3) var(--s-6);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); }
.site-top::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: var(--f-17); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; margin: 0; color: var(--stamp); }
.site-nav { display: flex; gap: var(--s-1); margin-right: auto; }
.site-nav a { padding: var(--s-2) var(--s-3); border-radius: var(--r-ctl); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--ink); background: var(--sheet); }
.site-nav a[aria-current="page"] { color: var(--stamp); }
.top-actions { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-ctl);
  background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--ink); background: var(--sheet); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; }

/* ── page frame ─────────────────────────────────────────────────────── */
.site { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-6); }
.btn-lg { min-height: 48px; padding: 0 var(--s-5); font-size: var(--f-17); }
.lead { font-size: var(--f-17); line-height: 28px; color: var(--ink-2); max-width: 56ch; }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center;
  padding: var(--s-8) 0 var(--s-8); }
.hero h1 { font-size: clamp(33px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; max-width: 13ch; text-wrap: balance; }
.hero .lead { margin: var(--s-5) 0 var(--s-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-note { margin-top: var(--s-3); font-size: var(--f-13); color: var(--ink-2); }

/* the miniature desk: sheet + decision column, real numbers */
.hero-desk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; margin: 0; }
.mini-sheet { padding: var(--s-5) var(--s-5) var(--s-6); font-size: var(--f-13); line-height: 20px; }
.ms-label { display: block; color: var(--ink-2); font-size: 12px; line-height: 16px; }
.ms-head { display: flex; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 2px solid var(--ink); }
.ms-no { display: block; font-size: var(--f-21); line-height: 28px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ms-dates { display: flex; gap: var(--s-4); margin: 0; }
.ms-dates dt { color: var(--ink-2); font-size: 12px; } .ms-dates dd { margin: 0; font-weight: 550; white-space: nowrap; }
.ms-parties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--rule); }
.ms-parties b { display: block; font-size: var(--f-15); } .ms-parties span:last-child { color: var(--ink-2); }
.ms-items { width: 100%; border-collapse: collapse; margin: var(--s-2) 0; }
.ms-items th { font-weight: 500; color: var(--ink-2); font-size: 12px; text-align: left; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.ms-items td { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ms-items .num { padding-left: var(--s-3); }
.ms-total { display: flex; justify-content: flex-end; padding-top: var(--s-3); min-height: 104px; }
.ms-total > div { display: grid; justify-items: end; }
.ms-total span, .ms-total small { color: var(--ink-2); font-size: 12px; }
.ms-total b { font-size: var(--f-33); line-height: 40px; letter-spacing: -0.01em; border-bottom: 3px double var(--ink); margin-bottom: 4px; }
/* the stamp lands in the free corner left of the total, the way a real one sits next to the amount */
.hero-stamp { right: auto; left: var(--s-5); bottom: var(--s-5); opacity: 0; }
.hero-stamp.shown { opacity: .92; }

.ms-decide { align-self: center; margin-left: -12px; padding: var(--s-4); border-left: 2px solid var(--stamp);
  background: var(--paper); font-size: var(--f-13); line-height: 20px; }
.t-acc { display: grid; grid-template-columns: 1fr 1fr; margin: var(--s-2) 0; border-top: 2px solid var(--ink); }
.t-acc > div { padding: var(--s-2) var(--s-2) 0 0; } .t-acc > div + div { padding-left: var(--s-2); border-left: 2px solid var(--ink); }
.t-acc span { display: block; color: var(--ink-2); font-size: 12px; }
.t-acc b { display: block; font-size: var(--f-21); line-height: 26px; font-variant-numeric: tabular-nums; }
.t-acc small { display: block; color: var(--ink-2); font-size: 12px; margin-bottom: var(--s-2); }
.ms-why { margin: var(--s-2) 0; }
.ms-checks { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ok); font-weight: 550; }
.ms-checks svg { width: 16px; height: 16px; }

/* ── bands ──────────────────────────────────────────────────────────── */
.band { padding: var(--s-7) 0; border-top: 1px solid var(--rule); }
.band-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: baseline; margin-bottom: var(--s-6); }
.band h2 { font-size: var(--f-26); line-height: 32px; }
.band-head p { margin: 0; color: var(--ink-2); }
.band-foot { margin: var(--s-5) 0 0; color: var(--ink-2); font-size: var(--f-13); }

/* steps: a real sequence, so numbers belong here */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); counter-reset: step; }
.steps li { position: relative; padding-top: var(--s-6); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 2px solid var(--stamp); background: var(--paper); color: var(--stamp); font-weight: 700; font-size: var(--f-13); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 13px; left: 28px; right: calc(-1 * var(--s-5)); height: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps li:nth-child(4)::before { background: var(--stamp); color: var(--on-stamp); }
.steps h3 { font-size: var(--f-17); margin-bottom: var(--s-2); }
.steps p { margin: 0; color: var(--ink-2); font-size: var(--f-15); }

.check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.check-group { padding: 0 var(--s-5); border-left: 1px solid var(--rule); }
.check-group:first-child { padding-left: 0; border-left: 0; }
.check-group h3 { margin-bottom: var(--s-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.who { padding-right: var(--s-6); }
.who-acc { padding: 0 0 0 var(--s-6); border-left: 1px solid var(--rule); }
.who h3 { font-size: var(--f-21); line-height: 28px; margin-bottom: var(--s-3); }
.ticks { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.ticks li { position: relative; padding: var(--s-2) 0 var(--s-2) 28px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border: solid var(--stamp);
  border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.who-link { font-weight: 550; }

.ico-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center;
  margin: var(--s-5) 0; padding: var(--s-6); border: 0; border-radius: var(--r-ctl); background: var(--stamp-wash); }
.ico-band p { margin: var(--s-2) 0 0; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-5) 0 0; }
.facts dt { font-weight: 650; margin-bottom: var(--s-1); }
.facts dd { margin: 0; color: var(--ink-2); }

.closing { padding: var(--s-7) 0 var(--s-8); border-top: 1px solid var(--rule); }
.closing h2 { font-size: var(--f-33); line-height: 40px; letter-spacing: -0.015em; margin-bottom: var(--s-3); }
.closing p { color: var(--ink-2); margin-bottom: var(--s-5); }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-foot { display: flex; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; max-width: 1200px; margin: 0 auto;
  padding: var(--s-6); border-top: 1px solid var(--rule); }
.foot-brand { display: flex; gap: var(--s-3); max-width: 46ch; }
.foot-brand .mark { width: 28px; height: 28px; margin: 0; color: var(--stamp); flex: none; }
.foot-brand p { margin: var(--s-1) 0 0; color: var(--ink-2); font-size: var(--f-13); line-height: 20px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-content: start; }
.site-foot nav a { color: var(--ink-2); text-decoration: none; } .site-foot nav a:hover { color: var(--stamp); text-decoration: underline; }
.site ~ .foot, .site-foot ~ .foot { max-width: 1200px; margin: 0 auto; border-top: 0; padding-top: 0; }

/* ── pricing ────────────────────────────────────────────────────────── */
.price-hero { padding: var(--s-8) 0 var(--s-7); }
.price-hero h1 { font-size: clamp(33px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: var(--s-4); }
table.plans { width: 100%; border-collapse: collapse; min-width: 560px; }
.plans th, .plans td { padding: var(--s-3); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.plans thead th { vertical-align: bottom; width: 22%; border-bottom: 2px solid var(--ink); }
.plans thead .plan { display: block; font-size: var(--f-21); line-height: 28px; }
.plans thead small { display: block; color: var(--ink-2); font-weight: 400; font-size: var(--f-13); line-height: 18px; margin-top: var(--s-1); }
.plans tbody th { font-weight: 400; }
.plans td { text-align: center; } .plans thead th { text-align: center; }
.plans .yes { width: 20px; height: 20px; color: var(--ok); }
.plans .no { color: var(--ink-2); }
.plan-notes { display: none; margin: var(--s-4) 0 0; padding: 0; list-style: none; font-size: var(--f-13); color: var(--ink-2); }
.plan-notes li { padding: 2px 0; } .plan-notes b { color: var(--ink); }
.notify-form { display: flex; gap: var(--s-3); align-items: end; max-width: 520px; }
.notify-form .field { flex: 1; }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: var(--s-6); padding-top: var(--s-7); }
  .hero h1 { max-width: 18ch; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 var(--s-5) 48px; }
  .steps li::after { top: 28px; left: 13px; right: auto; bottom: 0; width: 2px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .check-grid { grid-template-columns: 1fr 1fr; row-gap: var(--s-5); }
  .check-group:nth-child(3) { padding-left: 0; border-left: 0; }
  .band-head { grid-template-columns: 1fr; gap: var(--s-2); }
}
@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: var(--s-2) var(--s-4) var(--s-4);
    background: var(--paper); border-bottom: 1px solid var(--rule); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: var(--s-3); }
  .menu-btn { display: grid; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 767px) {
  .site-top { padding: var(--s-2) var(--s-4); gap: var(--s-2); }
  .site { padding: 0 var(--s-4); }
  .top-actions .btn { min-height: 36px; padding: 0 var(--s-3); font-size: var(--f-13); }
  .hero { padding: var(--s-6) 0; }
  .hero-desk { grid-template-columns: 1fr; }
  .mini-sheet { padding: var(--s-4) var(--s-4) var(--s-6); }
  .ms-head { flex-direction: column; gap: var(--s-2); }
  .ms-decide { margin: -8px 0 0 var(--s-4); }
  .ms-total b { font-size: var(--f-26); line-height: 32px; }
  .hero-stamp { left: var(--s-4); bottom: var(--s-3); }
  .hero-stamp b { font-size: var(--f-17); }
  .band { padding: var(--s-6) 0; }
  .check-grid { grid-template-columns: 1fr; }
  .check-group { padding: var(--s-4) 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .check-group:first-child { padding-top: 0; border-top: 0; }
  .split { grid-template-columns: 1fr; }
  .who { padding: 0 0 var(--s-5); } .who-acc { padding: var(--s-5) 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .ico-band { grid-template-columns: 1fr; padding: var(--s-5) var(--s-4); }
  .facts { grid-template-columns: 1fr; }
  .closing h2 { font-size: var(--f-26); line-height: 32px; }
  .site-foot { padding: var(--s-5) var(--s-4); }
  .site-foot ~ .foot { padding: 0 var(--s-4) var(--s-5); }
  .price-hero { padding: var(--s-6) 0; }
  .notify-form { flex-direction: column; align-items: stretch; }
  table.plans { min-width: 0; table-layout: fixed; }
  .plans th, .plans td { padding: var(--s-2) var(--s-1); }
  .plans thead th { width: 70px; } .plans thead td { width: auto; }
  .plans thead .plan { font-size: 12px; line-height: 18px; }
  .plans thead small { display: none; }
  .plans tbody th { font-size: var(--f-13); line-height: 18px; padding-left: 0; }
  .plan-notes { display: block; }
}
@media (max-width: 380px) { .ms-parties { grid-template-columns: 1fr; } }
/* 320 px (and 400 % zoom): the header keeps the logo mark and the demo button, the wordmark makes room */
@media (max-width: 360px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-actions { gap: var(--s-1); }
  .top-actions .btn { padding: 0 var(--s-2); }
}
@media (prefers-reduced-motion: reduce) { .hero-stamp { opacity: .92; } }

.who-ask { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--f-15); }
