/* Polish invitation site – skeleton (2026-11-27). Layout copied from Rauhnachte/网站/static/css/site.css, new palette:
   white page, cool light-grey bands (no beige – the owner rejected cream on Rauhnächte as "AI-looking"), charcoal ink,
   deep sage buttons, thin muted-gold rules. Fonts: system stacks for now. The Rauhnächte woff2 files are the Fontsource
   "latin" subset WITHOUT Polish letters (ą ę ł ś …), so they must not be reused; self-hosted latin-ext fonts are a
   later step (needs a download, ask the owner). */
:root {
  --paper: #FFFFFF; --tint: #FFFFFF; --line: #DADFDB; --field: #AEB6B0; --input: #FFFFFF;
  --sage: #4E6B57; --sage-d: #3D5645; --sage-hell: #DCE5DE; --gold: #B08D57;
  --ink: #1F262B; --ink-soft: #545D63;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(31, 38, 43, .06), 0 8px 20px rgba(31, 38, 43, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.68 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--sage-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(30px, 4vw, 42px); margin: .1em 0 .3em; }
h2 { font-size: clamp(23px, 2.6vw, 29px); margin: 1.6em 0 .45em; }
h3 { font-size: 20px; margin: 1.3em 0 .3em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .3em 0; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 21px var(--serif); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 22px; height: 22px; border: 1.5px solid var(--gold); border-radius: 50%; position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--sage); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 10px 12px; font-size: 15px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* hero */
.hero { padding: 40px 0 52px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 820px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--sage); margin: 0 0 4px; }
.crumbs { font-size: 14px; margin: 0 0 14px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.kurz { max-width: 760px; border-left: 2px solid var(--gold); padding-left: 18px; }
.kurz-label { display: block; font-size: 15px; font-weight: 600; color: var(--sage); }
.kurz p { margin: 2px 0 0; font-size: 17px; }
.stand { font-size: 13px; color: var(--ink-soft); margin: 0; padding: 18px 0 28px; }
.byline { font-size: 13px; color: var(--ink-soft); margin: -4px 0 12px; }

/* bands */
.band { padding: 56px 0; }
.band-tint { background: var(--tint); }
.band-title { margin-top: 0; }
.narrow-text { max-width: 740px; }
.muted { color: var(--ink-soft); font-size: 15px; }
.hint { font-size: 14px; color: var(--ink-soft); }

/* home cards */
.cards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--sage); }
.cards b { display: block; font: 600 19px/1.3 var(--serif); margin-bottom: 6px; }
.cards span { color: var(--ink-soft); font-size: 15px; }
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { position: relative; padding-left: 28px; margin: .45em 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* home: three steps, free vs full set */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 22px 0 0; counter-reset: step; }
.steps li { counter-increment: step; margin: 0; }
.steps h3 { margin: 0 0 6px; }
.steps h3::before { content: counter(step) ". "; color: var(--gold); }
.steps p { color: var(--ink-soft); font-size: 15.5px; }
table.compare { max-width: 860px; background: var(--paper); }
table.compare th:not(:first-child), table.compare td:not(:first-child) { width: 26%; }
table.compare td:last-child { color: var(--sage-d); font-weight: 600; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 18px; } }

/* article + side card */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.content { max-width: 720px; }
.content > h2:first-child { margin-top: 0; }
.side { position: sticky; top: 24px; }
.side-card { border-radius: 6px; padding: 22px; background: var(--tint); }
.side-title { font: 600 19px/1.3 var(--serif); margin: 0 0 6px; }
.side-text { color: var(--ink-soft); font-size: 15px; }
.side-when { font-weight: 600; color: var(--sage-d); margin: 0; }
.side-more { font-size: 14px; margin: 10px 0 0; }

/* tables */
table.facts { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 12px; }
table.facts th, table.facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { color: var(--sage-d); font-weight: 600; border-bottom: 2px solid var(--sage-hell); }
table.facts td:first-child { font-weight: 600; }
table.facts.small { font-size: 14px; }
table.facts.small td:nth-child(3) { font-weight: 600; }
table.plan td:last-child { white-space: nowrap; color: var(--sage-d); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* wording list */
ol.teksty { padding-left: 1.6em; }
ol.teksty li { margin: 0 0 14px; padding-left: 4px; }
ol.teksty li::marker { color: var(--gold); font-weight: 600; }

/* calculator */
.calc { margin: 8px 0 14px; max-width: 280px; }
.calc label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.calc input { width: 100%; font: 16px var(--sans); padding: 10px 12px 8px; border: 0; border-bottom: 1.5px solid var(--field); border-radius: 6px 6px 0 0; background: var(--input); color: var(--ink); }
.calc input:focus { outline: none; border-bottom-color: var(--sage); }

/* faq */
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; min-height: 44px; }
details.faq p { color: var(--ink-soft); }

/* related + footer */
.related { background: var(--tint); padding: 40px 0 48px; }
.related h2 { margin-top: 0; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.related-list li { margin: 0; }
.related-list a { display: block; background: var(--paper); border: 1px solid transparent; border-radius: 6px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.related-list a:hover { border-color: var(--sage); }
.related-list b { display: block; }
.related-list span { font-size: 14px; color: var(--ink-soft); }
.site-footer { background: var(--ink); color: #D5DAD6; padding: 32px 0 44px; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: #D5DAD6; }
.site-footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .side { position: static; max-width: 420px; }
  .cards, .cards.cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { flex-wrap: nowrap; width: 100%; margin: 0 -8px; }
  .nav a { padding: 8px 8px 10px; font-size: 14px; }
  .hero { padding: 26px 0 36px; }
  .band { padding: 38px 0; }
}

/* ---------------------------------------------------------------- generator (2026-11-27, v2 "clean and tidy")
   One spacing scale (4/8/12/16/24/32/48), one field style (white, 1px border, 8px radius, 44px high),
   sections separated by hairlines inside a single white panel, segmented controls, plan cards. */
:root { --r: 8px; --bg-soft: #FFFFFF; }
h1, h2, h3 { font-weight: 600; }
.lede { font-size: 17px; max-width: 720px; color: var(--ink-soft); }
.center { text-align: center; }

/* hero */
.hero-tool { padding: 32px 0 28px; border-bottom: 0; }
.hero-tool h1 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 14px; }
.zalety { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-soft); font-size: 15px; }
.zalety li { margin: 0; padding-left: 22px; position: relative; }
.zalety li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* tool layout */
#gen { background: var(--bg-soft); padding: 32px 0 56px; border-top: 1px solid var(--line); }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 28px; }
.tool-preview { position: sticky; top: 16px; display: grid; gap: 12px; }
.preview-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.preview-card img { display: block; width: 100%; height: auto; aspect-ratio: 146 / 204; transition: opacity .2s; }
.preview-card img.loading { opacity: .5; }
.tool-preview .hint { margin: 0; }
.link-zestaw { text-align: center; font-size: 15px; }
.btn-block { width: 100%; }

/* sections inside the panel */
.krok { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.krok:first-child { border-top: 0; }
.krok h3 { font: 600 19px/1.2 var(--serif); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.krok h3 span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--sage); color: var(--sage); font: 600 13px var(--sans); display: inline-grid; place-content: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.grid2 + .grid2 { margin-top: 14px; }
.span2 { grid-column: 1 / -1; }
.pole label, .pole .lbl { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.hint { font-size: 13.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.5; }
#gen input[type=text], #gen input[type=tel], #gen input[type=email], #gen input[type=date], #gen input[type=time],
#gen input[type=number], #gen textarea {
  width: 100%; height: 44px; font: 15.5px var(--sans); padding: 0 12px; border: 1px solid #CDD3CF; border-radius: var(--r);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
#gen textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
#gen input::placeholder, #gen textarea::placeholder { color: #A3AAA6; }
#gen input:focus, #gen textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(31, 38, 43, .12); }

/* segmented control */
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 3px; gap: 3px; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 6px; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(31, 38, 43, .12); }
.seg input:focus-visible + span { outline: 2px solid var(--sage); }

/* designs + colours */
.wzory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wzor { position: relative; cursor: pointer; margin: 0; }
.wzor input { position: absolute; opacity: 0; }
.wzor > span { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 10px 12px; text-align: center; background: #fff; transition: border-color .15s, box-shadow .15s; }
.wzor img { display: block; width: 100%; height: auto; aspect-ratio: 46 / 58; margin: 0 0 8px; background: #fff; }
.wzor b { display: block; font: 600 15px/1.25 var(--serif); }
.wzor small { font-size: 12px; }
.wzor small.free { color: var(--sage); }
.wzor small.paid { color: var(--ink-soft); }
.wzor input:checked + span { border-color: var(--sage); box-shadow: 0 0 0 2px var(--sage); }
.wzor input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.kolory { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.kolor { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--ink-soft); margin: 0; }
.kolor input { position: absolute; opacity: 0; }
.kolor span { width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.kolor:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.kolor:has(input:focus-visible) { outline: 2px solid var(--sage); outline-offset: 2px; }

/* full set + order */
.zestaw { padding: 56px 0 0; margin-top: 40px; border-top: 1px solid var(--line); }
.zestaw h2 { margin: 0 0 8px; }
.plany { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; max-width: 820px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 10px; }
.plan-main { border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage); }
.plan-name { font-weight: 600; margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.plan-price { font: 600 32px/1.1 var(--serif); margin: 4px 0 14px; }
.plan .ticks li { font-size: 15px; }
.galeria { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin: 8px 0 24px; }
.galeria img { height: 220px; width: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.kup { max-width: 820px; margin-top: 8px; }
.wybor { display: grid; gap: 10px; margin-bottom: 16px; }
.wybor label { position: relative; cursor: pointer; margin: 0; }
.wybor input { position: absolute; opacity: 0; }
.wybor span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.wybor b { font-size: 15.5px; }
.wybor em { font-style: normal; font-weight: 600; }
.wybor small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 13.5px; }
.wybor input:checked + span { border-color: var(--sage); box-shadow: 0 0 0 1px var(--sage); background: #fff; }
.wybor input:focus-visible + span { outline: 2px solid var(--sage); }
.zgody { margin: 16px 0 8px; display: grid; gap: 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; margin: 0; }
label.check input { accent-color: var(--sage); width: 17px; height: 17px; flex: none; margin: 2px 0 0; }
.warn { color: #8A5A2B; }
.err { color: #A03A2A; font-size: 14.5px; }
.err:not(:empty) { margin: 6px 0; }
button.btn, .btn { display: inline-flex; align-items: center; justify-content: center; background: var(--sage); color: #fff; border: 0; border-radius: var(--r); padding: 12px 22px; font: 600 15.5px var(--sans); cursor: pointer; text-decoration: none; min-height: 48px; }
.btn:hover { background: var(--sage-d); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.btn-quiet { background: #fff; color: var(--ink); border: 1px solid #CDD3CF; }
.btn.btn-quiet:hover { background: var(--bg-soft); color: var(--ink); }
.downloads { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.test-note, .ok-note { background: var(--tint); border-radius: var(--r); padding: 10px 14px; font-size: 14.5px; }
.ok-note { background: var(--sage-hell); }

@media (max-width: 1000px) {
  .tool { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
  .wzory { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .tool-preview { position: static; order: -1; }
  .preview-card { max-width: 260px; margin: 0 auto; padding: 12px; }
  .panel { padding: 4px 16px; }
  .grid2, .plany { grid-template-columns: 1fr; }
  .galeria img { height: 150px; }
}

[hidden] { display: none !important; }
.mobile-cta { display: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } .tool-preview .btn-free, #free-note, .link-zestaw { display: none; } }
.pole.uklad { margin-bottom: 16px; }
.foto { margin: 16px 0 4px; padding: 14px 16px; border: 1px dashed #CDD3CF; border-radius: 10px; background: #fff; }
.foto .pole + .pole { margin-top: 12px; }
.foto input[type=file] { font-size: 14.5px; }
.foto input[type=range] { width: 100%; accent-color: var(--sage); }

/* ---------------------------------------------------------------- review round (2026-11-27): price boundary, set
   preview, comparison table, digital-product notes, follow-up card, compact preview on phones */
.cennik-skrot { margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); }
.cennik-skrot b { color: var(--ink); }
.lbl-kolor { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 0; }
.krok > .lbl { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.licznik { margin-top: 6px; color: var(--sage-d); }
.haslo { font: italic 600 20px var(--serif); color: var(--sage-d); margin: 6px 0 22px; }
.galeria-blok { margin: 0 0 28px; }
.galeria-blok .galeria { min-height: 120px; margin-bottom: 6px; }
.porownanie { width: 100%; max-width: 960px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.porownanie th, .porownanie td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.porownanie td:first-child, .porownanie th:first-child { text-align: left; }
.porownanie tr:last-child td { border-bottom: 0; }
.porownanie th { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.porownanie th span { display: block; font: 600 26px/1.2 var(--serif); color: var(--ink); margin-top: 2px; }
.porownanie .glowny { background: #fff; }
.porownanie th.glowny { color: var(--sage-d); border-top: 3px solid var(--sage); }
.info-cyfrowe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 24px 0 8px; }
.info-cyfrowe > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.info-cyfrowe h3 { font: 600 17px var(--serif); margin: 0 0 6px; }
.info-cyfrowe p, .info-cyfrowe li { font-size: 14.5px; color: var(--ink-soft); }
.info-cyfrowe ul { margin: 0 0 6px; }
.po-pobraniu { background: #fff; border: 1px solid var(--sage); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.po-pobraniu p { margin: 0 0 10px; }
.mini-toggle { display: none; }
@media (max-width: 760px) {
  .tool-preview { position: sticky; top: 0; z-index: 20; background: var(--bg-soft); padding: 8px 0; margin: 0 -16px; }
  .preview-card { display: flex; align-items: center; gap: 12px; max-width: none; margin: 0 16px; padding: 8px 12px; }
  .preview-card img { width: auto; height: 22vh; aspect-ratio: auto; }
  .tool-preview.duzy .preview-card img { height: 70vh; }
  .mini-toggle { display: inline-block; background: none; border: 1px solid #CDD3CF; border-radius: 6px; padding: 6px 10px; font: 600 13px var(--sans); color: var(--ink); }
  .tool-preview #podglad-info, .tool-preview .po-pobraniu { display: none; }
  .porownanie { font-size: 13.5px; }
  .porownanie th span { font-size: 20px; }
  .info-cyfrowe { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- tidy pass (2026-11-27, "上下不规整" + phone check)
   One spacing scale (8 / 16 / 24), labels + inputs + hints on shared rows, one content width in the price section,
   equal-height design cards, full-width segmented controls and a stacked comparison table on phones. */
.krok { padding: 24px 0; }
.krok h3 { margin: 0 0 16px; }
.grid2 { gap: 16px; }
.grid2 + .grid2 { margin-top: 16px; }
/* each field = label / control / hint on three shared rows, so inputs line up even when one label wraps */
.grid2 > .pole { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.grid2 > .pole > .hint { margin-top: 8px; }
.grid2 > .pole > .seg { justify-self: start; }
.pole label, .pole .lbl, .krok > .lbl { margin: 0 0 8px; }
.pole.uklad { margin-bottom: 24px; }
.lbl-kolor { margin: 24px 0 8px; }
.kolory { margin-top: 0; }
.krok > .hint, .krok > .grid2 + .hint { margin-top: 16px; }
.krok > .hint + .grid2 { margin-top: 16px; }
.wzor { display: flex; }
.wzor > span { flex: 1; }
/* price section: everything on the same width as the generator above */
.porownanie, .info-cyfrowe, .kup { max-width: none; }
.info-cyfrowe { margin: 24px 0; }
.galeria-blok { margin-bottom: 24px; }
.kup { margin-top: 0; }
.wybor { grid-template-columns: 1fr 1fr; }
.wybor label { display: flex; }
.wybor span { flex: 1; align-content: start; }
.pole-email { max-width: 520px; }
.zgody { margin: 16px 0; }
.side-card .btn { margin-top: 8px; }

/* segmented controls on narrow screens (phones and the 2-column tool up to 1100 px): full width, equal cells,
   4 options as 2 × 2, labels may wrap */
@media (max-width: 1100px) {
  .seg, .grid2 > .pole > .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; justify-self: stretch; }
  .seg:has(> label:nth-child(3)) { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .seg label { display: flex; }
  .seg span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; padding: 8px 10px; line-height: 1.3; }
}
@media (max-width: 760px) {
  .wybor { grid-template-columns: 1fr; }
  .pole-email { max-width: none; }
  /* comparison table: feature name as a full-width row, the three plans side by side underneath */
  .table-scroll { overflow: visible; }
  .porownanie, .porownanie thead, .porownanie tbody { display: block; }
  .porownanie tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .porownanie th:first-child { display: none; }
  .porownanie th, .porownanie td { padding: 8px 6px; font-size: 13.5px; }
  .porownanie td:first-child { grid-column: 1 / -1; text-align: left; font-weight: 600; padding: 10px 12px 2px; border-bottom: 0; }
  .porownanie th { border-top: 3px solid transparent; }
  /* sticky mini preview: smaller, so the form stays visible */
  .tool-preview { padding: 6px 0; }
  .preview-card { padding: 6px 10px; }
  .preview-card img { height: 15vh; }
}
.mobile-cta .po-pobraniu { margin-top: 16px; }
/* wording guide -> generator links */
ol.teksty .uzyj { display: block; width: fit-content; margin-top: 4px; font-size: 14px; font-weight: 600; }
#krok-tekst { scroll-margin-top: 16px; }
@media (max-width: 760px) { #krok-tekst { scroll-margin-top: calc(15vh + 40px); } }
/* order page: "Skąd o nas wiesz?" */
.skad { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.skad .lbl { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.skad .opt { font-weight: 400; color: var(--ink-soft); }
.skad .btn { margin-top: 16px; }
.plan-pdf { margin: 12px 0 8px; }
/* own invitation text (step 5) */
details.wlasny { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; background: #fff; }
details.wlasny summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 12px 0; }
details.wlasny[open] { padding-bottom: 16px; }
details.wlasny .pole { margin-bottom: 12px; }
details.wlasny .hint:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- pure white (2026-11-27, owner: "AI 味太重，不要米白色")
   No tinted backgrounds anywhere: --tint / --bg-soft / --input are white now; areas are separated by hairlines,
   the selected state of segmented controls is an outline instead of a white chip on grey. */
.band-tint, .related { border-top: 1px solid var(--line); }
.side-card { border: 1px solid var(--line); }
.related-list a { border-color: var(--line); }
.calc input { border: 1px solid #CDD3CF; border-radius: 6px; }
.calc input:focus { border-color: var(--sage); }
.seg { border-color: #CDD3CF; }
.seg input:checked + span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.test-note, .ok-note { border: 1px solid var(--line); }
.ok-note { background: #fff; border-color: var(--sage); }
.porownanie .glowny { background: #fff; }
.porownanie td.glowny, .porownanie th.glowny { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .tool-preview { border-bottom: 1px solid var(--line); }
  .porownanie td.glowny, .porownanie th.glowny { border-left: 0; }
}

/* ---------------------------------------------------------------- less "AI look" (2026-11-27, owner)
   One ink colour instead of sage green + gold, no eyebrow / tagline / tick lists / "W skrócie" box, plain step
   numbers, fewer boxed cards, smaller radii. The invitation designs and their colours (PDF) are not touched. */
:root { --sage: #1F262B; --sage-d: #000000; --gold: #1F262B; --sage-hell: #DADFDB; --r: 4px; }
a { color: var(--ink); }
a:hover { color: #000; }
.btn:hover { background: #000; }
/* hero: heading + one plain sentence */
.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 720px; margin: 0 0 6px; }
.hero-tool h1 { margin-bottom: 10px; }
.kurz { border-left: 0; padding-left: 0; font-size: 17px; color: var(--ink-soft); max-width: 760px; margin: 4px 0 0; }
.kurz strong { color: var(--ink); }
/* step headings: "1  Uroczystość" without the circle */
.krok h3 span { border: 0; width: auto; height: auto; color: var(--ink-soft); font: 600 15px var(--serif); display: inline; }
.krok h3 span::after { content: "."; }
/* fewer boxes, smaller radii */
.panel, .preview-card, .porownanie, .wzor > span, .wybor span, details.wlasny, .foto, .po-pobraniu { border-radius: 6px; }
.info-cyfrowe > div { border: 0; padding: 0; border-radius: 0; }
.info-cyfrowe { gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cards a { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0 0; }
.cards a:hover b { text-decoration: underline; }
.related-list a { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0 0; }
.related-list a:hover b { text-decoration: underline; }
.side-card { border-radius: 0; border: 0; border-top: 2px solid var(--ink); padding: 16px 0 0; }
.ok-note { border-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* narrow text blocks stay on the page's left edge (2026-11-27: the centred column looked off next to full-width
   sections); only the text is narrower */
.wrap.narrow-text { max-width: 1100px; }
.wrap.narrow-text > * { max-width: 740px; }
.dwie { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: none !important; margin: 8px 0 16px; }
.dwie > div { border-top: 1px solid var(--line); padding-top: 16px; }
.dwie h3 { margin: 0 0 8px; }
.dwie p { margin: 0; color: var(--ink-soft); }
@media (max-width: 700px) { .dwie { grid-template-columns: 1fr; gap: 16px; } }

/* ---------------------------------------------------------------- review "去 AI 味" (2026-11-27, Gemini + ChatGPT,
   研究/外部评审_去AI味_2026-11-27/评审要点与采纳.md): no step numbers, no ✓/– matrix, no sticky promo card,
   white footer, smaller buttons, tighter vertical rhythm */
.plany3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 8px 0 32px; }
.plan3 { border-top: 1px solid var(--line); padding-top: 14px; }
.plan3-glowny { border-top: 2px solid var(--ink); }
.plan3-cena { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.plan3-cena b { font: 600 19px/1.2 var(--serif); }
.plan3-cena span { font: 600 22px/1.2 var(--serif); white-space: nowrap; }
.plan3 p:last-child { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 760px) { .plany3 { grid-template-columns: 1fr; gap: 20px; } }
/* buttons: tool-like, not component-library pills */
button.btn, .btn { min-height: 44px; padding: 10px 18px; border-radius: 3px; font-size: 15px; }
/* content pages: the promo card becomes a plain line at the end of the article */
.article { grid-template-columns: minmax(0, 1fr); gap: 0; }
.side { position: static; max-width: 720px; margin-top: 32px; }
.side-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.side-card .side-title { margin: 0; font-size: 17px; }
.side-card .side-text { grid-column: 1; margin: 0; }
.side-card .btn, .side-card .side-when, .side-card .side-more { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: auto; }
@media (max-width: 600px) { .side-card { grid-template-columns: 1fr; } .side-card .btn, .side-card .side-when, .side-card .side-more { grid-column: 1; grid-row: auto; margin-top: 8px; } }
/* white footer with a hairline instead of the dark template block */
.site-footer { background: #fff; color: var(--ink-soft); border-top: 1px solid var(--line); padding: 24px 0 36px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: #000; }
/* tighter vertical rhythm */
.hero-tool { padding: 24px 0 20px; }
#gen { padding: 24px 0 48px; }
.zestaw { padding-top: 40px; margin-top: 32px; }
.band { padding: 40px 0; }
.hero { padding: 28px 0 32px; }
/* phones: the preview bar gets a text link instead of a big button */
@media (max-width: 760px) {
  .mini-toggle { border: 0; padding: 0; font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; background: none; }
}
#podglad:not([src]) { visibility: hidden; }          /* no broken-image alt text before the first preview arrives */

/* ---------------------------------------------------------------- fonts (2026-11-27, owner: "换字体试试")
   ChatGPT review: Crimson Text + system-ui is the typical "AI editorial" pairing. Now Lato (UI and text) + Lora
   (headings), both SIL OFL from github.com/google/fonts, self-hosted woff2 subset to Latin + Latin Extended-A
   (all Polish letters; ✓ and → fall back to the system font). Licences: static/fonts/OFL_lato.txt, OFL_lora.txt.
   The PDF invitations keep their own fonts (pdf/fonts). */
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-VF.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Italic-VF.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
:root { --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --serif: "Lora", Georgia, serif; }
body { font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.18; }
.hero-tool h1 { font-size: clamp(28px, 3.2vw, 36px); }
h2 { font-size: clamp(22px, 2.3vw, 27px); }
h3 { font-size: 18px; }
.krok h3 { font-size: 17.5px; }
.cards b, .side-title, .plan3-cena b { font-size: 17.5px; }
.plan3-cena span { font-size: 20px; }
.wzor b { font-size: 14px; font-family: var(--sans); font-weight: 700; }
.pole label, .pole .lbl, .krok > .lbl, .lbl-kolor { font-weight: 700; }
.btn, button.btn { font-weight: 700; letter-spacing: .01em; }
#gen input[type=text], #gen input[type=tel], #gen input[type=email], #gen input[type=date], #gen input[type=time],
#gen input[type=number], #gen textarea { font-family: var(--sans); font-size: 15.5px; }
/* Lato has a smaller x-height than Segoe UI: one step up for running text and small print */
body { font-size: 17px; }
.lede, .hero-sub, .kurz { font-size: 18px; }
.muted, .side-text, .cennik-skrot, .plan3 p:last-child, .info-cyfrowe p, .info-cyfrowe li, .dwie p { font-size: 16px; }
.hint { font-size: 14.5px; }
table.facts { font-size: 16px; }
table.facts.small { font-size: 15px; }
.pole label, .pole .lbl, .krok > .lbl, .lbl-kolor { font-size: 15px; }
.seg span { font-size: 15.5px; }
.nav a { font-size: 16px; }
.crumbs { font-size: 15px; }
.site-footer { font-size: 15px; }
#gen input[type=text], #gen input[type=tel], #gen input[type=email], #gen input[type=date], #gen input[type=time],
#gen input[type=number], #gen textarea { font-size: 16px; }
@media (max-width: 700px) { body { font-size: 16.5px; } }

/* mockup photos (2026-11-27): our designs on free stock photos, see pdf/makiety.py */
.hero-z-foto { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: center; }
.hero-foto { margin: 0; }
.hero-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 32%; border-radius: 3px; }
figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.makiety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.makiety figure { margin: 0; }
.makiety img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.makiety + .hint { margin: 0 0 24px; }
@media (max-width: 760px) {
  .hero-z-foto { grid-template-columns: 1fr; }
  .hero-foto { display: none; }
  .makiety { grid-template-columns: 1fr 1fr; gap: 10px; }
  .makiety figure:nth-child(3) { grid-column: 1 / -1; }
  .makiety figure:nth-child(3) img { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- wording guides, tidy (2026-11-27, owner: "内容很乱")
   contents nav first, one block per text, example data as soft highlights, poems set as poems, small "use" link */
.spis { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.spis a { display: inline-block; padding: 7px 14px; border: 1px solid #CDD3CF; border-radius: 3px; text-decoration: none; font-size: 15px; color: var(--ink); }
.spis a:hover { border-color: var(--ink); }
.content > h2:first-of-type { margin-top: 0; }
ol.teksty { list-style: none; padding: 0; margin: 8px 0 28px; counter-reset: tekst calc(var(--start, 1) - 1); }
ol.teksty li { position: relative; padding: 18px 0 16px 44px; margin: 0; border-top: 1px solid var(--line); font-size: 17.5px; line-height: 1.7; }
ol.teksty li:last-child { border-bottom: 1px solid var(--line); }
ol.teksty li::before { content: attr(data-nr); position: absolute; left: 0; top: 19px; font: 600 15px var(--serif); color: var(--ink-soft); }
ol.teksty.wiersze li { font-family: var(--serif); font-style: italic; font-size: 18.5px; line-height: 1.75; }
.dane { background: #EEF0EE; border-radius: 3px; padding: 1px 4px; font-style: normal; white-space: nowrap; }
ol.teksty.wiersze .dane { font-family: var(--sans); font-size: 16px; }
.dane .nw { font-size: 0; }
.uwaga { color: var(--ink-soft); font-size: 14.5px; font-style: italic; }
ol.teksty .uzyj { display: block; width: fit-content; margin: 8px 0 0 auto; font: 600 14px var(--sans); text-decoration: none; color: var(--ink-soft); }
ol.teksty .uzyj:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 700px) { ol.teksty li { padding-left: 34px; font-size: 16.5px; } ol.teksty.wiersze li { font-size: 17.5px; } .dane { white-space: normal; } }
/* phones: tables scroll again (the overflow:visible rule was only for the removed comparison table); the 4-column
   name table is compact enough to fit 375 px */
@media (max-width: 760px) {
  .table-scroll { overflow-x: auto; }
  table.facts.small { font-size: 14px; }
  table.facts.small th, table.facts.small td { padding: 8px 6px; }
}
@media (max-width: 700px) { ol.teksty.wiersze li { font-size: 16px; line-height: 1.6; } }
.todo { background: #FFF3CD; color: #7A5200; padding: 1px 6px; border-radius: 3px; font-weight: 700; }

/* ---------------------------------------------------------------- 2026-11-27: competitor + Gemini UI review
   (kartenmacherei, Basic Invite, eplanery; Gemini "paper feel" + suite labels). Page stays white. */
/* trust strip under the price line */
.zaufanie { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--ink-soft); }
.zaufanie li { position: relative; padding-left: 20px; }
.zaufanie li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
/* two mockups stacked at an angle */
@media (min-width: 761px) { .hero-z-foto { grid-template-columns: minmax(0, 1fr) 250px; } }
.hero-stos { position: relative; height: 250px; }
.hero-stos img { position: absolute; width: 150px; height: auto; aspect-ratio: auto; object-fit: initial; border-radius: 3px; box-shadow: 0 10px 24px rgba(31, 38, 43, .16), 0 2px 5px rgba(31, 38, 43, .08); }
.hero-stos .stos-tyl { right: 4px; top: 6px; transform: rotate(6deg); }
.hero-stos .stos-przod { left: 6px; top: 22px; transform: rotate(-4deg); }
.hero-stos figcaption { position: absolute; bottom: -4px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-soft); }
/* live preview on a quiet paper surface with a soft shadow */
.preview-card { background: #F6F4F0; border-color: #ECE8E1; }
.preview-card img { background: #fff; box-shadow: 0 8px 22px rgba(31, 38, 43, .13), 0 1px 3px rgba(31, 38, 43, .08); }
/* design picker: free / set badge in the corner instead of a line of small text */
.wzor > span { position: relative; }
.wzor small.free, .wzor small.paid { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 99px; font-size: 11.5px; line-height: 1.6; }
.wzor small.free { background: var(--sage-hell); color: var(--sage-d); }
.wzor small.paid { background: #F3EBDD; color: #7A5F33; }
/* full set gallery: each item with its name */
.galeria figure { margin: 0; text-align: center; }
.galeria figure img { display: block; box-shadow: 0 4px 12px rgba(31, 38, 43, .08); }
.galeria figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.plany3-uwaga { margin: 10px 0 24px; }
/* order page: printing table (2026-11-27) */
table.facts.druk td small { color: var(--ink-soft); font-size: 13px; }
table.facts.druk td:nth-child(2) { white-space: nowrap; }
/* guests & extras (2026-11-27): set-only badge, greyed out for "Same zaproszenia" */
.znak-zestaw { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 99px; background: #F3EBDD; color: #7A5F33; font: 600 11.5px/1.7 var(--sans); vertical-align: 1px; }
.tylko-zestaw.wylaczone { opacity: .45; }
.tylko-zestaw.wylaczone textarea, .tylko-zestaw.wylaczone input { background: #F4F5F4; }
.uwaga-plan { background: #F6F4F0; border-left: 2px solid var(--gold); padding: 8px 12px; color: var(--ink); }
.krok-goscie > .hint { margin: 0 0 12px; }
.grid2 > .pole > .hint-blok { margin-top: 8px; }
.hint-blok .hint { margin: 0; }
.hint-blok .licznik { margin-top: 6px; }
/* example thumbnails under the guest / extras boxes (2026-11-27, real generator output, pdf/przyklady.py) */
.przyklad { display: inline-flex; align-items: flex-end; gap: 8px; margin-top: 10px; text-decoration: none; color: var(--ink-soft); font-size: 13px; }
.przyklad img { display: block; width: 160px; height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 3px 8px rgba(31, 38, 43, .08); }
.przyklad:hover img { border-color: var(--sage); }
.przyklad span { text-decoration: underline; text-underline-offset: 3px; }
.przyklad-wysoki img { width: 110px; }
/* guide pages podziękowania / winietki (2026-11-27) */
.przyklady3 { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; align-items: end; margin: 18px 0 6px; }
.przyklady3 figure, .przyklad-duzy { margin: 0; text-align: center; }
.przyklady3 img, .przyklad-duzy img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 4px 12px rgba(31, 38, 43, .08); }
.przyklady3 figcaption, .przyklad-duzy figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.przyklad-duzy { max-width: 300px; margin: 14px 0 10px; }
.oferta { margin: 32px 0 8px; padding: 18px 20px; background: #F6F4F0; border-left: 2px solid var(--gold); border-radius: 3px; }
.oferta p { margin: 0 0 12px; }
@media (max-width: 700px) { .przyklady3 { grid-template-columns: 1fr 1fr; } .przyklady3 figure:first-child { grid-column: 1 / -1; } }
/* page structure rework (2026-11-27, 方案/页面结构重整): home doors, name box on guides, nav */
@media (max-width: 560px) { .hide-sm { display: none; } }
.nowrap { white-space: nowrap; }
.inna-okazja { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }
/* home hero: text left, the two occasion doors right (desktop); stacked on phones */
.hero-start { padding: 44px 0 48px; }
.start-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.start-tekst h1 { margin-top: 0; }
.start-tekst .hero-sub { margin-bottom: 0; }
.drzwi { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.drzwi li { margin: 0; }
.drzwi a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.drzwi img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow); transition: transform .2s ease; }
.drzwi .drzwi-komunia { object-position: 50% 55%; }
.drzwi .drzwi-chrzest { object-position: 40% 82%; }
.drzwi a:hover img { transform: translateY(-3px); }
.drzwi b { font: 600 22px/1.2 var(--serif); margin: 16px 0 4px; }
.drzwi-cta { color: var(--sage-d); font-weight: 600; font-size: 15px; }
.drzwi a:hover .drzwi-cta { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; gap: 0; }
  .start-tekst { display: contents; }          /* phones: heading, doors, then the trust strip */
  .start-tekst .hero-sub { margin-bottom: 20px; }
  .drzwi { order: 2; }
  .start-tekst .zaufanie { order: 3; margin-top: 22px; }
}
@media (max-width: 560px) {
  .hero-start { padding: 24px 0 32px; }
  .drzwi { gap: 12px; }
  .drzwi b { font-size: 18px; margin-top: 10px; }
  .drzwi-cta { font-size: 13.5px; }
}
/* "Co jeszcze przygotować – po kolei": numbered steps, three per row */
.kolejno { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; counter-reset: krok; }
.kolejno li { margin: 0; }
.kolejno a { display: block; height: 100%; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; }
.kolejno a::before { counter-increment: krok; content: counter(krok, decimal-leading-zero); display: block; font: 400 26px/1 var(--serif); color: var(--ink-soft); margin-bottom: 10px; }
.kolejno b { display: block; font: 600 18px/1.3 var(--serif); margin-bottom: 4px; }
.kolejno a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.kolejno span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .kolejno { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kolejno { grid-template-columns: 1fr; gap: 18px; } }
.imie-cta { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-top: 2px solid var(--sage); border-radius: 3px; }
.imie-cta-tytul { font: 600 20px/1.3 var(--serif); margin: 0 0 6px; }
.imie-cta-tekst { color: var(--ink-soft); margin: 0 0 12px; }
.imie-cta form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.imie-cta .seg { width: auto; }
.imie-cta-row { display: flex; gap: 8px; flex: 1 1 100%; }
.imie-cta-row input { flex: 1; min-width: 0; padding: 10px 12px; font: inherit; border: 1px solid var(--field); border-radius: 6px; }
@media (max-width: 560px) {
  .imie-cta { padding: 16px 14px; }
  .imie-cta .seg { width: 100%; }
  .imie-cta-row { flex-direction: column; }
}
/* phones: the side card would sit after the whole article – the name box in the text replaces it */
@media (max-width: 960px) { .side { display: none; } }
/* home: "Generator czy drukarnia?" note under the heading, FAQ band without the extra heading gap (2026-11-27) */
.dwie-lead { margin: -4px 0 18px; }
.dwie { margin-bottom: 0; }
.start-faq h2 { margin-top: 0; }
/* FAQ everywhere: plain +/− marker on the right instead of the browser triangle */
details.faq summary { list-style: none; position: relative; padding: 14px 36px 14px 0; font-size: 16.5px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 24px/1 var(--sans); color: var(--ink-soft); }
details.faq[open] summary::after { content: "−"; }
details.faq summary:hover { color: var(--sage-d); }
details.faq p { margin: 0 0 16px; max-width: 680px; }
details.faq:first-of-type { border-top: 1px solid var(--line); }
/* home FAQ: heading left, questions right, so the band uses the full width like the sections above */
@media (min-width: 900px) {
  .start-faq .wrap.narrow-text > section { max-width: none; display: grid; grid-template-columns: 1fr 2fr; column-gap: 56px; align-items: start; }
  .start-faq section > h2 { grid-column: 1; grid-row: 1 / span 10; }
  .start-faq details.faq { grid-column: 2; }
}
/* phones: free download button inside the sticky preview bar (2026-11-27) */
.mini-akcje { display: contents; }
.tool-preview .btn.btn-mini, .mini-err { display: none; }   /* desktop: the full-width button is used */
@media (max-width: 760px) {
  .mini-akcje { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
  .tool-preview .btn-free.btn-mini { display: inline-flex; min-height: 42px; padding: 8px 14px; font-size: 14.5px; }
  .mini-err:not(:empty) { display: block; margin: 0; font-size: 13px; line-height: 1.35; }
}
/* /pelny-zestaw (2026-11-27) */
.zestaw-cena { margin: 18px 0 14px; font-size: 15px; color: var(--ink-soft); }
.zestaw-cena b { font: 600 32px/1 var(--serif); color: var(--ink); margin-right: 8px; }
.zestaw-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.zestaw-podglad { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 18px; }
.zestaw-podglad input[type=text] { padding: 10px 12px; font: inherit; border: 1px solid var(--field); border-radius: 6px; min-width: 200px; }
#z-galeria { min-height: 240px; transition: opacity .2s; }
#z-galeria.loading { opacity: .5; }
#z-galeria figure { margin: 0; }
#z-galeria img { display: block; box-shadow: 0 4px 12px rgba(31, 38, 43, .08); }
#z-galeria figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.zawartosc { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; }
.zawartosc li { margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.zawartosc b { display: block; font: 600 17px/1.3 var(--serif); margin-bottom: 4px; }
.zawartosc span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .zawartosc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .zawartosc { grid-template-columns: 1fr; gap: 14px; }
  .zestaw-podglad .seg, .zestaw-podglad input[type=text] { width: 100%; }
  .zestaw-cta .btn { flex: 1 1 100%; }
}
/* free pieces on the thank-you and place-card guides (2026-11-27) */
.darmowe { margin: 8px 0 32px; padding: 20px 22px; border: 1px solid var(--line); border-top: 2px solid var(--sage); border-radius: 3px; }
.darmowe-tytul { font: 600 21px/1.3 var(--serif); margin: 0 0 6px; }
.darmowe-tekst { color: var(--ink-soft); margin: 0 0 14px; }
.darmowe-seg { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.darmowe-pola { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.darmowe-pola .pole label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.darmowe-pola input { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--field); border-radius: 6px; background: #fff; }
.darmowe .err { margin: 8px 0 0; }
.darmowe .err:empty { display: none; }
.darmowe .po-pobraniu { margin-top: 16px; }
.darmowe-dalej { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
@media (max-width: 760px) { .darmowe-pola { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .darmowe { padding: 16px 14px; }
  .darmowe-seg .seg { width: 100%; }
  .darmowe-dalej .btn, .darmowe-form .btn { width: 100%; }
}
/* tool page shortened (2026-11-28): order form and optional steps collapsed, designs scroll sideways on phones */
.kup-details { margin-top: 8px; }
.kup-details > summary { list-style: none; display: inline-flex; width: auto; }
.kup-details > summary::-webkit-details-marker { display: none; }
.kup-details[open] > summary { display: none; }
.kup-details > .panel { margin-top: 0; }
details.wiecej { border-top: 1px solid var(--line); margin-top: 8px; }
details.wiecej > summary { list-style: none; cursor: pointer; position: relative; padding: 18px 36px 18px 0; font: 600 20px/1.3 var(--serif); }
details.wiecej > summary::-webkit-details-marker { display: none; }
details.wiecej > summary .opt { display: block; font: 400 14px/1.4 var(--sans); color: var(--ink-soft); margin-top: 2px; }
details.wiecej > summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 var(--sans); color: var(--ink-soft); }
details.wiecej[open] > summary::after { content: "−"; }
@media (max-width: 760px) {
  .kup-details > summary { display: flex; width: 100%; text-align: center; }
  .wzory { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding: 3px 3px 10px; }
  .wzory .wzor { flex: 0 0 40%; scroll-snap-align: start; }
  .wzor > span { padding: 8px 8px 10px; }
  .wzor b { font-size: 14px; }
  .wzor small { font-size: 11.5px; }
}
/* home: second row of free entries (2026-11-28, 全站格局) */
.wejscia { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wejscia li { margin: 0; }
.wejscia a { display: block; text-decoration: none; color: var(--ink); }
/* 2026-11-28: the whole card must be visible (cover cropped the portrait cards in half) – contain on a soft tile */
.wejscia img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 14px; border-radius: 3px; background: #F6F4F0; }
.wejscia b { display: block; font: 600 19px/1.3 var(--serif); margin: 12px 0 4px; }
.wejscia a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.wejscia span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) {
  .wejscia { grid-template-columns: 1fr; gap: 16px; }
  .wejscia a { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: center; }
  .wejscia img { grid-row: 1 / span 2; aspect-ratio: 1; padding: 8px; }
  .wejscia b { margin: 0 0 2px; align-self: end; font-size: 17px; }
  .wejscia span { align-self: start; }
}
/* tool page: answer content under the generator (2026-11-28) */
.article-1 > * { max-width: 760px; }
.article-1 h2:not(.band-title) { margin-top: 1.5em; }
.plec-wzory { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 520px; }
.plec-wzory li { margin: 0; }
.plec-wzory a { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.plec-wzory img { display: block; width: 100%; height: auto; aspect-ratio: 46 / 58; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.plec-wzory a:hover img { border-color: var(--sage); }
.plec-wzory b { display: block; font: 600 15.5px/1.3 var(--serif); margin-top: 8px; }
.plec-wzory span { font-size: 13px; color: var(--ink-soft); }
/* godparent-request page: free box with an example card beside the form (2026-11-28) */
.darmowe-z-foto { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px 28px; align-items: start; }
.darmowe-z-foto .po-pobraniu { grid-column: 1 / -1; margin-top: 0; }
.darmowe-foto { margin: 0; text-align: center; }
.darmowe-foto img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 4px 12px rgba(31, 38, 43, .08); }
.darmowe-foto figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.darmowe-pola.dwa { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) {
  .darmowe-z-foto { grid-template-columns: 1fr; }
  .darmowe-foto { display: none; }
  .darmowe-pola.dwa { grid-template-columns: 1fr; }
}
/* table set order block on the guides (2026-11-28) */
.oferta .kup-details { margin-top: 12px; }
.oferta .kup-details[open] { margin: 16px -20px -18px; }
.oferta .kup-details .panel { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; }
.stol-opis { margin: 16px 0 4px; }
@media (max-width: 760px) { .oferta .kup-details[open] { margin: 16px -20px -18px; } }
/* tool pages: name field on the first phone screen (2026-11-28, 全站格局 规则 1) */
.plec-u-gory { margin-bottom: 14px; }
@media (max-width: 760px) {
  .hero-tool { padding: 18px 0 14px; }
  .hero-tool h1 { font-size: 26px; margin-bottom: 6px; }
  .hero-tool .hero-sub { font-size: 16px; margin-bottom: 0; }
  .hero-tool .zaufanie { display: none; }          /* the same facts are in the sentence above and in the FAQ */
  .hero-tool .cennik-skrot { margin-top: 8px; font-size: 14px; }
  .hero-tool .inna-okazja { margin-top: 6px; font-size: 13.5px; }
}
/* one product per page (2026-11-28, owner: "简单，清晰，易用"): the paid block closes the form, FAQ collapsed */
.tool-form .kup-details { border-top: 1px solid var(--line); padding: 20px 0 22px; margin: 0; }
.tool-form .kup-details > summary { display: flex; width: 100%; justify-content: center; }
.tool-form .kup-details[open] { padding: 0; }
.tool-form .kup-details .stol-opis { margin-top: 20px; }
#btn-do-zamowienia { text-align: center; }
.darmowe .kup-details { margin-top: 14px; }
.darmowe .kup-details .panel { padding: 8px 18px; }
.pytania-band { padding-top: 8px; }
details.pytania > summary { list-style: none; cursor: pointer; position: relative; padding: 16px 36px 16px 0; font: 600 20px/1.3 var(--serif); border-top: 1px solid var(--line); }
details.pytania > summary::-webkit-details-marker { display: none; }
details.pytania > summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--sans); color: var(--ink-soft); }
details.pytania[open] > summary::after { content: "−"; }
details.pytania #faq-h { display: none; }
.dokup { margin: 20px 0 0; }
@media (max-width: 760px) { #btn-do-zamowienia { display: none; } }
.tool-form .kup-details[open] > summary { display: none; }
/* name step (2026-11-28): genitive shown as one line with a "zmień" link */
.imie-forma { margin: 8px 0 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#imie-d-pole { margin-top: 14px; }
/* compact form (2026-11-28, owner: "左边框框能否再小一点"): smaller boxes and gaps in the generator form only */
.tool-form.panel { padding: 2px 22px; }
.tool-form .krok { padding: 14px 0 16px; }
.tool-form .krok h3 { font-size: 16px; margin: 0 0 10px; }
.tool-form .grid2 { gap: 10px 14px; }
.tool-form .grid2 + .grid2 { margin-top: 10px; }
.tool-form .pole label, .tool-form .pole .lbl, .tool-form .krok > .lbl, .tool-form .lbl-kolor { font-size: 13px; margin: 0 0 4px; }
#gen .tool-form input[type=text], #gen .tool-form input[type=tel], #gen .tool-form input[type=email],
#gen .tool-form input[type=date], #gen .tool-form input[type=time], #gen .tool-form input[type=number] { height: 38px; padding: 0 10px; font-size: 15px; }
#gen .tool-form textarea { font-size: 15px; padding: 8px 10px; }
.tool-form .hint { font-size: 13px; }
.tool-form .krok > .hint, .tool-form .krok > .grid2 + .hint { margin-top: 8px; }
.tool-form .seg span { padding: 5px 14px; font-size: 14px; }
.tool-form .wzory { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tool-form .wzor > span { padding: 6px 6px 8px; }
.tool-form .wzor img { margin: 0 0 4px; }
.tool-form .wzor b { font-size: 13px; }
.tool-form .wzor small { font-size: 11px; line-height: 1.25; display: block; }
.tool-form .lbl-kolor { margin: 12px 0 6px; }
.tool-form .kolory { gap: 6px; }
.tool-form .kolor { padding: 3px 10px 3px 4px; font-size: 13px; gap: 6px; }
.tool-form .kolor span { width: 16px; height: 16px; }
.tool-form .krok > .hint:last-child { margin-bottom: 0; }
.imie-wiersz.z-plcia { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: end; }
.imie-wiersz .seg { display: inline-flex; }
.tool-form details.wiecej > summary { padding: 12px 36px 12px 0; font-size: 17px; }
.tool-form details.wiecej > summary::after { top: 12px; }
.tool-form .mobile-cta, .tool-form .kup-details { padding-top: 14px; padding-bottom: 16px; }
@media (max-width: 760px) {
  .tool-form.panel { padding: 2px 14px; }
  .tool-form .wzory { display: flex; }
  .tool-form .wzory .wzor { flex: 0 0 30%; }
  .imie-wiersz.z-plcia { grid-template-columns: 1fr; gap: 10px; }
  .imie-wiersz .seg { display: grid; }
}
@media (min-width: 1100px) { .tool-form .wzory { grid-template-columns: repeat(7, 1fr); } }
@media (max-width: 760px) {      /* date and time side by side on phones, church and address full width */
  .tool-form .grid2.kiedy { grid-template-columns: 1fr 1fr; }
  .tool-form .grid2.kiedy > .pole:nth-child(n+3) { grid-column: 1 / -1; }
}
/* "already filled in" line at the top of every paid block (2026-11-28) */
.juz-wpisane { margin: 16px 0 4px; padding: 10px 12px; background: #F6F4F0; border-radius: 4px; font-size: 14.5px; }
/* card products: one form on the guide pages (2026-11-28) */
.karty-tytul { margin: 14px 0 2px; font-size: 15px; }
.karty-tool .tool-preview { position: sticky; top: 16px; }
.karty-tool .preview-card { padding: 12px; }
.karty-tool .galeria { margin: 0; gap: 10px; justify-content: center; }
.karty-tool .galeria img { height: 150px; }
.karty-tool .krok-goscie .grid2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) {
  .karty-tool .tool-preview { position: static; margin: 0; padding: 0; background: none; border: 0; }
  .karty-tool .preview-card { display: block; margin: 0; }
  .karty-tool .galeria { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .karty-tool .galeria img { height: 110px; }
  .karty-tool .mobile-cta { display: none; }
  .karty-tool .krok-goscie .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .karty-tool #free-note { display: block; } }

/* enlarged preview (2026-11-28) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 27, .82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); cursor: default; }
.lightbox-x { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 400 28px/1 var(--sans); cursor: pointer; }
html.bez-scrolla { overflow: hidden; }
.btn-powieksz { margin-top: -4px; }
.karty-tool .galeria figure { cursor: zoom-in; }
@media (max-width: 760px) { .tool-preview .btn-powieksz { display: none; } .lightbox { padding: 56px 8px 8px; } }
/* simpler paid block (2026-11-28) */
.krok-opis { margin: 0 0 8px; }
.krok-goscie .pole + .pole { margin-top: 14px; }
.pole-stoly input { max-width: 120px; }
.platnosc .zgody { margin: 12px 0; }
.lightbox img { max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); }
@media (max-width: 760px) { .lightbox img { max-width: calc(100vw - 16px); max-height: calc(100vh - 64px); } }

/* colour next to the child, text options with real words (2026-11-28) */
.kolor-wiersz { margin-top: 12px; }
.kolor-wiersz .lbl { display: block; font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.teksty-wybor { display: grid; gap: 6px; margin-top: 10px; }
.tekst-opcja { position: relative; display: block; margin: 0; cursor: pointer; }
.tekst-opcja input { position: absolute; opacity: 0; }
.tekst-opcja > span { display: block; padding: 8px 12px 8px 36px; border: 1px solid var(--line); border-radius: 6px; font-size: 14.5px; line-height: 1.45; position: relative; }
.tekst-opcja > span::before { content: ""; position: absolute; left: 12px; top: 11px; width: 14px; height: 14px; border: 1.5px solid #A3AAA6; border-radius: 50%; }
.tekst-opcja input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tekst-opcja input:checked + span::before { border: 4.5px solid var(--ink); }
.tekst-opcja input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
#gen[data-uklad="klasyczny"] .t-lead, #gen:not([data-uklad="klasyczny"]) .t-pelny { display: none; }
#gen[data-plec="c"] [data-plec-t="s"], #gen[data-plec="s"] [data-plec-t="c"] { display: none; }
.tool-form .krok .pole.uklad { margin-bottom: 0; }

/* free vs paid (2026-11-28): price tags on the paid options */
.cena-tag { font-size: 11px; font-weight: 600; color: var(--ink-soft); background: #F1EEE8; border-radius: 3px; padding: 1px 5px; margin-left: 2px; }

/* free / full switch (2026-11-28) */
.wersje { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 4px; }
.wersje label { position: relative; margin: 0; cursor: pointer; }
.wersje input { position: absolute; opacity: 0; }
.wersje span { display: block; height: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; }
.wersje b { display: block; font-size: 15.5px; }
.wersje small { display: block; font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.wersje input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wersje input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.wersja-info { margin: 6px 0 0; padding: 8px 10px; background: #F6F4F0; border-radius: 4px; color: var(--ink); }
#gen[data-wersja="pelna"] [data-tylko="darmowa"], #gen[data-wersja="darmowa"] [data-tylko="pelna"] { display: none !important; }
#gen[data-wersja="pelna"] .pelna-znak, #gen[data-wersja="pelna"] .wzor small.paid { display: none; }
.pelna-znak { font-size: 10.5px; color: var(--ink-soft); margin-left: 2px; }
.tool-form .koniec .btn-free { margin-bottom: 4px; }
@media (max-width: 760px) { .wersje { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tool-preview .btn-mini-kup { display: inline-flex; min-height: 42px; padding: 8px 14px; font-size: 14.5px; } }

/* full version stands out (2026-11-28): badge, soft fill, darker border – our recommendation, no invented numbers */
.wersje .wersja-pelna span { position: relative; background: #F6F4F0; border-color: #CFC8BC; padding-top: 14px; }
.wersje .odznaka { position: absolute; top: -9px; right: 10px; font: 700 11px/1 var(--sans); font-style: normal; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 3px; padding: 4px 7px; }
.wersje .wersja-pelna b { font-size: 16.5px; }
.wersje .za-sztuke { color: var(--ink) !important; font-weight: 600; margin-top: 4px !important; }
.wersje .wersja-pelna input:checked + span { background: #F1EEE8; }
.wersje { margin-top: 20px; }

/* order page: keep the link (2026-11-28) */
.zapisz-link { margin: 16px 0 20px; padding: 14px 16px; background: #F6F4F0; border-radius: 6px; }
.zapisz-link p { margin: 0 0 10px; }
.link-wiersz { display: flex; gap: 8px; }
.link-wiersz input { flex: 1; min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; background: #fff; }
.link-wiersz .btn { white-space: nowrap; }
