@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("./assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("./assets/fonts/stix-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("./assets/fonts/stix-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f8f9f5;
  --ink: #172d3e;
  --muted: #475c60;
  --green: #006657;
  --mint: #dcede4;
  --line: #cbd6ce;
  --serif: "STIX Two Text", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.6 Inter, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #096cba; outline-offset: 4px; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.frame { width: min(1240px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 5; background: white; padding: .65rem 1rem; }
.skip:focus { top: .5rem; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead { min-height: 77px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; font-size: 23px; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.topnav { display: flex; gap: clamp(18px, 2.5vw, 40px); margin-left: auto; align-items: center; font-size: 13px; font-weight: 550; }
.topnav a, .contents-link, .secondary, .foot a { text-underline-offset: 4px; }
.topnav a:hover, .secondary:hover, .foot a:hover { text-decoration: underline; }
.contents-link { display: none; align-items: center; gap: 11px; margin-left: 10px; padding: 8px 14px; border: 1px solid #92aba1; border-radius: 6px; font-size: 13px; font-weight: 650; color: var(--green); }
.contents-link:hover { background: var(--mint); }
.contents-link .icon { width: 15px; height: 15px; }
.cover { border-bottom: 1px solid var(--line); }
.buyer-cover { border-bottom: 1px solid var(--line); background: #eff4ed; }
.buyer-lead { padding-block: clamp(34px, 4.6vw, 70px); }
.buyer-lead h1 { max-width: 24ch; }
.buyer-lead .intro { max-width: 73ch; }
.buyer-example .note { margin-top: 20px; }
.time-calculator {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 18px 22px;
  margin-block: 22px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eff4ed;
}
.time-calculator label { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 14px; font-weight: 600; }
.time-calculator input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #7d9288; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; }
.time-calculator output { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 15px; font-size: 16px; font-weight: 650; color: var(--green); }
.body-link { color: var(--green); text-decoration: underline; text-underline-offset: .18em; }
.body-link:hover { color: #004a40; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(30px, 5.3vw, 84px); align-items: center; padding-block: clamp(48px, 4.8vw, 78px); }
.cover-copy { min-width: 0; }
.kicker, .chapter-label { color: var(--green); font-size: 11px; font-weight: 680; letter-spacing: .115em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; line-height: 1.35; }
.kicker .icon { width: 18px; height: 18px; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(45px, 4.8vw, 72px); line-height: 1.015; letter-spacing: -.051em; margin-block: 20px 18px; }
.intro { max-width: 62ch; font-size: clamp(15px, 1.12vw, 17px); line-height: 1.7; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.primary, .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 11px; font-size: 13px; font-weight: 650; }
.primary { background: var(--green); color: white; padding: 13px 18px; border-radius: 6px; min-height: 47px; }
.primary:hover { background: #004f43; }
.primary .icon, .secondary .icon { width: 16px; height: 16px; }
.secondary { color: var(--green); min-height: 44px; }
.publication-date { margin-top: 22px; display: flex; gap: .35em; align-items: center; color: var(--muted); font-size: 12px; }
.publication-date .icon { margin-right: 3px; width: 15px; height: 15px; }
.plate { position: relative; background: #eaf2e9; border: 1px solid #becfc3; border-radius: 10px; overflow: hidden; }
.drawing {
  position: relative; isolation: isolate; padding: 4.7% 3.5% 5%; background-color: #eaf2e9;
  background-image: linear-gradient(to right, #839f8c26 1px, transparent 1px), linear-gradient(to bottom, #839f8c26 1px, transparent 1px);
  background-size: 24px 24px;
}
.building { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: saturate(.66); }
.case-link { position: absolute; left: 4.5%; bottom: 5%; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #b5c9be; box-shadow: 0 3px 10px #273c321a; border-radius: 6px; padding: 9px 13px 9px 9px; color: var(--ink); line-height: 1.3; }
.case-link:hover { border-color: var(--green); }
.pin-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 4px; background: var(--mint); color: var(--green); }
.case-link small, .case-link strong { display: block; }
.case-link small { font-size: 10px; color: var(--muted); }
.case-link strong { font-size: 13px; font-weight: 650; }
.case-arrow { width: 14px; height: 14px; margin-left: 5px; color: var(--green); }
figcaption { display: flex; align-items: baseline; gap: 10px; padding: 8px 15px; border-top: 1px solid #bfcec3; font-size: 11px; color: var(--muted); background: #f0f5ed; }
figcaption span { font-weight: 700; color: var(--green); }
.reading-layout { display: grid; grid-template-columns: minmax(190px, 245px) minmax(0, 780px); gap: clamp(48px, 7vw, 110px); padding-block: clamp(44px, 4.5vw, 70px) 76px; align-items: start; }
.contents { position: sticky; top: 30px; }
.toc-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; }
.toc-title .icon { color: var(--green); }
.contents ol { list-style: none; padding: 0; margin: 18px 0; }
.contents li a { display: flex; align-items: center; gap: 13px; font-size: 14px; padding: 9px 14px; border-left: 2px solid var(--line); }
.contents li span { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.contents li a:hover, .contents a[aria-current="location"] { border-color: var(--green); background: #e6efe7; color: var(--green); }
.contents a[aria-current="location"] { font-weight: 650; }
.print-link { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 3px; color: var(--muted); background: transparent; border: none; font-size: 13px; }
.print-link:hover { color: var(--green); text-decoration: underline; }
.chapters section { scroll-margin-top: 22px; }
.chapters section + section { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 43px; }
.chapter-label span { font-weight: 700; background: var(--mint); border: 1px solid #bbd5c7; border-radius: 4px; padding: 3px 6px; letter-spacing: .04em; }
h2 { margin-block: 15px 14px; max-width: 32ch; font-size: clamp(33px, 3.3vw, 48px); letter-spacing: -.042em; line-height: 1.08; }
.chapters p, .criteria dd, .workflow p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.chapters p + p { margin-top: 10px; }
.criteria { margin-block: 23px; border-top: 1px solid var(--line); }
.criteria > div { display: grid; grid-template-columns: minmax(140px, .8fr) 2fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.criteria dt, .note strong, .workflow h3 { font-size: 16px; line-height: 1.45; font-weight: 650; }
.note { border-left: 3px solid var(--green); padding: 18px 22px; background: #eaf1e9; }
.note p { margin-top: 4px; }
.table-wrap { container-type: inline-size; margin-top: 24px; }
table { width: 100%; border-spacing: 0; border-collapse: separate; font-size: 15px; line-height: 1.6; }
caption { text-align: left; font-size: 17px; font-weight: 650; color: var(--ink); padding-bottom: 10px; }
thead th { background: #155b50; color: white; font-weight: 600; }
th, td { vertical-align: top; text-align: left; padding: 14px 17px; }
thead th:first-child { border-top-left-radius: 5px; width: 46%; }
thead th:last-child { border-top-right-radius: 5px; }
.ai-comparison thead th:first-child { width: 20%; }
.ai-comparison thead th:nth-child(2) { width: 35%; }
.table-wrap + p, .note + p { margin-top: 16px; }
tbody th, tbody td { border-bottom: 1px solid var(--line); }
tbody th { font-weight: 550; }
tbody td { color: var(--muted); }
tbody tr:nth-child(odd) { background: #eef3ec; }
.step { color: var(--green); font-weight: 700; }
.workflow { list-style: none; counter-reset: flow; padding: 0; margin: 25px 0; }
.workflow li { position: relative; counter-increment: flow; border-left: 1px solid #aecdbd; margin-left: 13px; padding: 0 0 22px 27px; }
.workflow li:last-child { border-color: transparent; padding-bottom: 0; }
.workflow li::before { position: absolute; content: counter(flow); left: -14px; top: -1px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #aecdbd; background: #e6efe7; color: var(--green); font-size: 12px; font-weight: 650; }
.workflow h3 { margin-bottom: 4px; }
footer { border-top: 1px solid var(--line); }
.foot { min-height: 76px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: 13px; color: var(--muted); }
@container (max-width: 520px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody, tbody tr, tbody th, tbody td { display: block; }
  tbody tr { border-top: 1px solid var(--line); padding: 14px; }
  tbody th, tbody td { border: 0; padding: 0; }
  tbody td { margin-top: 9px; }
  tbody th::before, tbody td::before { display: block; color: var(--green); font-size: 11px; font-weight: 650; }
  tbody th::before { content: "Co zrobić na demo"; content: "Co zrobić na demo" / ""; }
  tbody td::before { content: "Co powinno być widać"; content: "Co powinno być widać" / ""; }
  .ai-comparison tbody th::before { content: none; }
  .ai-comparison tbody td:nth-child(2)::before { content: "Podstawowy rejestr"; content: "Podstawowy rejestr" / ""; }
  .ai-comparison tbody td:nth-child(3)::before { content: "ZARZĄDCA.AI"; content: "ZARZĄDCA.AI" / ""; }
}
@media (max-width: 1040px) {
  .reading-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
  .hero { gap: 28px; }
}
@media (max-width: 800px) {
  .masthead { justify-content: space-between; }
  .topnav { display: none; }
  .contents-link { display: inline-flex; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 34px; }
  h1 { font-size: clamp(40px, 7.6vw, 60px); max-width: 18ch; }
  .plate { width: min(100%, 570px); justify-self: center; }
  .reading-layout { grid-template-columns: 1fr; gap: 33px; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .contents ol { display: grid; grid-template-columns: 1fr 1fr; margin-block: 12px; }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 36px); }
  .masthead { min-height: 63px; gap: 8px; justify-content: space-between; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .contents-link { margin-left: 0; padding: 7px 10px; gap: 6px; white-space: nowrap; }
  .actions { gap: 5px 17px; }
  .criteria > div { grid-template-columns: 1fr; gap: 4px; }
  .chapters p, .criteria dd, .workflow p { font-size: 15.5px; }
  .case-link { padding: 6px 9px; }
  .case-link small { font-size: 10px; }
  .case-link strong { font-size: 12px; }
  .pin-icon { width: 30px; height: 30px; }
}
@media (max-width: 370px) {
  .brand { font-size: 18px; }
  .contents-link .icon { display: none; }
  h1 { font-size: 35px; }
}
@media print {
  :root { background: white; font-size: 10pt; }
  .frame { width: 100%; }
  .topbar, .contents, .actions, .case-link, .foot, .primary, .skip { display: none; }
  .hero, .reading-layout { display: block; padding: 0; }
  .buyer-lead { padding-block: 0 12pt; }
  .cover { padding-block: 0 12pt; }
  h1 { font-size: 30pt; max-width: none; }
  h2 { font-size: 20pt; }
  .plate { display: none; }
  .chapters section, .chapters section + section { margin: 15pt 0 0; padding: 0; border: 0; }
  h2, h3, .chapter-label, caption { break-after: avoid; }
  .table-wrap { container-type: normal; }
  tr, .criteria > div, .workflow li, .note { break-inside: avoid; }
  thead th { color: black; border-bottom: 1px solid; }
  .intro, .chapters p, .criteria dd, .workflow p, table { font-size: 10pt; }
}
