/*
Theme Name: smartCHEM Ewidencja
Description: Stacja robocza — sprzedaż programu smartCHEM.
Version: 1.7.1
*/

:root {
  --bg: #f4f1ea;
  --panel: #ebe6dc;
  --line: #d4cfc4;
  --text: #1c1a16;
  --mute: #1c1a16;
  --go: #3d9a48;
  --paper: #f4f1ea;
  --ink: #1c1a16;
  --desk: #121612;
  --desk-text: #e8eee8;
  --desk-mute: #e8eee8;
  --desk-line: #2a332c;
  --chem: #3d9a48;
  --chem-2: #2d7a38;
  --lime: #5fbe2f;
}

* { box-sizing: border-box; }
.nobr { white-space: nowrap; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; }
body {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  orphans: 2;
  widows: 2;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h1, h2, h3, .kicker {
  text-wrap: balance;
}
p, li, dd, dt, .lead, .download-pack-note, .strip-row p, .gui-caption,
.lic-lead, .faq dd, .steps li, .tabpanel p, .blocks article p {
  orphans: 2;
  widows: 2;
  text-wrap: pretty;
}
a { color: var(--go); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}
.brand strong { display: block; font-size: 20px; letter-spacing: 0.02em; }
.brand strong span { color: var(--go); }
.brand small { display: block; color: var(--mute); font-size: 12px; }
.brand-author { font-size: 11px; font-weight: 500; line-height: 1.3; margin-top: 2px; }
.menu {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 14px;
}
.menu .current-menu-item a,
.menu a:hover { color: var(--go); }

.kicker {
  margin: 0 0 10px;
  color: var(--go);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker.dark { color: #2d7a38; }
h1, h2, h3 { color: inherit; }
h1 {
  font-family: inherit;
  font-size: clamp(32px, 4.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h2 {
  font-family: inherit;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
h3 {
  font-family: inherit;
  font-weight: 600;
}
.lead { font-size: 18px; color: var(--mute); max-width: 38em; }
.lead.on-ink {
  color: var(--mute);
  max-width: none !important;
  width: 100%;
}
#platformy .lead {
  max-width: none !important;
  width: 100%;
}
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 16px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: 13px; }

.btn, .woocommerce a.button, .woocommerce button.button, button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--go);
  color: #061208 !important;
  font-weight: 700;
  text-decoration: none;
}
.btn:hover, .woocommerce a.button:hover { background: #4db358; }
.btn.secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line);
}
.btn.ink { background: var(--desk); color: var(--paper) !important; }
.btn.download {
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--go);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 22px;
}
.btn.download:hover { background: rgba(45, 122, 56, 0.15); }
.ink .btn.download {
  color: #e8f5ea !important;
  border-color: var(--go);
}
.ink .btn.download:hover { background: rgba(45, 122, 56, 0.25); }
.os-card .btn.download {
  font-size: 17px;
  padding: 16px 26px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#instaluj {
  scroll-margin-top: 24px;
}
.install-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 18px auto 8px;
  width: fit-content;
  max-width: 100%;
}
.trial-gui-window {
  margin: 0;
  width: 852px; /* desktop +50% względem 568 — akceptacja 2026-09-08 */
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9f8;
  border: 1px solid #2a342c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.trial-gui-window iframe {
  display: block;
  width: 852px;
  height: 980px;
  max-width: none;
  border: 0;
  background: #f8f9f8;
  transform-origin: top left;
  overflow: hidden;
}
.trial-gui-note {
  margin: 0 0 8px;
  max-width: 40em;
  font-size: 14px;
}
.install-legal {
  margin: 0;
  width: 852px;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(40, 36, 28, 0.06);
}
.install-legal-lead {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.install-legal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--mute);
  cursor: pointer;
}
.install-legal-item input {
  margin: 2px 0 0;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: #3d9a48;
}
.install-legal-item a {
  color: var(--chem-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.install-legal-item a:hover { color: var(--go); }
.install-legal-msg {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #8a5a00;
}
.install-legal.is-complete {
  border-color: rgba(61, 154, 72, 0.55);
}
.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.download-label {
  flex: 1 1 100%;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text);
}
.download-pack-note {
  margin: 0 0 16px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.download-pack-note strong { color: var(--text); font-weight: 650; }
.os { display: grid; gap: 12px; }
.os-card {
  border: 1px solid var(--line);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.os-card b { display: block; font-size: 20px; }
.os-card > span {
  font-size: 14px;
  color: rgba(232, 245, 234, 0.72);
  margin-bottom: 4px;
}
.trial-form { gap: 10px; }
.trial-form label.trial-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  max-width: 36em;
}
.trial-form .trial-hint,
.trial-form .trial-field-legend {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(232, 245, 234, 0.72);
}
.trial-form input[type="email"],
.trial-form input[type="text"],
.trial-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: #101510;
  border: 1px solid var(--line);
}
.trial-form input[type="email"]:focus,
.trial-form input[type="text"]:focus,
.trial-form input[type="tel"]:focus {
  outline: 2px solid var(--go);
  outline-offset: 1px;
}
.trial-form fieldset.trial-os {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
}
.trial-form fieldset.trial-os legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 8px;
}
.trial-form .trial-os-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-weight: 400;
  font-size: 15px;
}
.trial-form .trial-os-opts label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.trial-form .trial-os-opts label.is-soon {
  color: rgba(232, 245, 234, 0.55);
}
.trial-form .btn.download[type="submit"] {
  cursor: pointer;
  font-family: inherit;
}
.trial-form .trial-mark {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trial-form .trial-mark.is-req { color: #b8e0bc; }
.trial-form .trial-mark.is-opt {
  color: rgba(232, 245, 234, 0.55);
  font-weight: 500;
}
.trial-form input.is-invalid {
  border-color: #c45c5c;
}
.trial-form .trial-msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #b8e0bc;
}
.trial-form .trial-msg.is-error { color: #f0b4b4; }
.trial-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-desk { padding: 36px 0 36px; }
.hero-desk .wrap { width: min(1180px, calc(100% - 40px)); }
.hero-duty-banner {
  margin: 0 0 28px;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #1b3d2f, #2d7a38 55%, #1b3d2f);
  color: #f4faf6;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(27, 61, 47, 0.28);
}
.hero-duty-banner .duty-inner {
  display: inline;
  max-width: 100%;
  padding: 0 4px;
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  word-spacing: 0.08em;
  white-space: nowrap;
}
.hero-duty-banner strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}
@media (max-width: 1000px) {
  .hero-duty-banner .duty-inner {
    white-space: normal;
    font-size: clamp(14px, 2.6vw, 18px);
  }
}
@media (max-width: 900px) {
  .hero-duty-banner {
    padding: 14px 16px;
  }
  .hero-duty-banner .duty-inner {
    white-space: normal;
    font-size: clamp(15px, 3.6vw, 18px);
    line-height: 1.4;
  }
}
.hero-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
}
.hero-copy .lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  max-width: none;
}
.hero-copy .lead-sub {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mute);
}
.hero-copy .ctas {
  margin: 22px 0 0;
}
.hero-note {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--mute);
  max-width: none;
}
.hero-copy .meta-row {
  margin: 16px 0 0;
  font-size: 14px;
  gap: 10px 16px;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  align-self: start;
}
.stage {
  background: linear-gradient(160deg, #1a221c, #0c0f0d);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
  min-width: 0;
}
.chrome { display: none; }
.gui-frame {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1180 / 740;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2ef;
  border: 1px solid #2a342c;
  isolation: isolate;
}
.gui-frame-clip {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  pointer-events: auto;
}
.gui-frame iframe {
  display: block;
  border: 0;
  pointer-events: auto;
  transform-origin: top left;
}
.gui-caption {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 12px 0 0;
  padding: 10px 2px 2px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--mute);
  text-align: left;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
}
.gui-caption-label {
  flex: 1 1 auto;
  min-width: 10em;
  color: var(--mute);
}
.gui-caption-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.gui-caption a {
  color: var(--go);
  font-weight: 700;
  position: relative;
  z-index: 4;
  display: inline-block;
  padding: 2px 0;
  text-underline-offset: 3px;
}
.hero-aside-downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.hero-aside-downloads .download-row {
  margin: 0;
}
.hero-aside-downloads .download-label {
  margin: 0 0 2px;
}
.hero-aside-downloads .download-pack-note {
  margin: 0;
  max-width: none;
  font-size: 13px;
}
.hero-aside-downloads .download-android-note {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 66, 40, 0.12);
  max-width: none;
  font-size: 13px;
  line-height: 1.45;
}
.mat-links { margin: 18px 0 0; font-size: 17px; line-height: 1.45; }
.mat-links a { color: var(--go); font-weight: 700; text-underline-offset: 3px; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.strip-row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 10px 28px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.strip-row:last-child { border-bottom: 0; }
.strip-row b {
  margin: 0;
  color: var(--go);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  padding-top: 2px;
}
.strip-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  max-width: 52em;
}
.strip-row strong { color: var(--go); font-weight: 700; }
.strip-row a { color: var(--text); text-underline-offset: 2px; }
.strip-row a:hover { color: var(--go); }
@media (max-width: 700px) {
  .strip-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
}

.paper { background: var(--desk); color: var(--desk-text); padding: 72px 0; }
.paper.tight { padding-top: 0; }
.paper h2, .paper h3 { color: var(--desk-text); }
.paper .kicker.dark { color: var(--go); }
.paper .lead,
.paper .lic-lead,
.paper .note,
.paper .lic-terms,
.paper .faq dd {
  color: var(--desk-mute);
}
.paper .steps li {
  border-bottom-color: var(--desk-line);
}
.paper .steps li::before {
  color: var(--go);
}
.paper .why {
  background: #1a221c;
  color: var(--desk-text);
  border-left-color: var(--go);
}
.paper .tablist {
  border-bottom-color: var(--desk-line);
}
.paper .tablist button {
  color: var(--desk-mute) !important;
}
.paper .tablist button[aria-selected="true"] {
  color: var(--desk-text) !important;
  border-bottom-color: var(--go);
}
.paper .tabpanel,
.paper .tabpanel h3,
.paper .faq dt {
  color: var(--desk-text);
}
.paper .lic-terms-title {
  color: var(--desk-text);
}
/* Jasne karty / tabele w ciemnych sekcjach — zawsze ciemny tekst */
.paper .lic-card,
.paper .spec,
.paper .publisher,
.paper .order-card {
  color: var(--ink);
}
.paper .order-card h3,
.paper .order-brand-sub,
.paper .order-lead,
.paper .order-field > span,
.paper .order-check,
.paper .order-note {
  color: inherit;
}
.paper .order-brand h3 { color: #142d23; }
.paper .order-brand-sub,
.paper .order-lead,
.paper .order-field > span,
.paper .order-name-hint,
.paper .order-check,
.paper .order-note { color: #5c6b5f; }
.paper .order-alert,
.paper .order-field-req { color: #1b3d2f; }
.paper .order-field-req > span { color: #1b3d2f; }
.paper .order-field-req .order-name-hint { color: #2f4035; }
.paper .lic-card .lic-plan,
.paper .lic-card .sum,
.paper .lic-card .sum-period,
.paper .lic-card .sum-period strong,
.paper .lic-facts dd,
.paper .spec td,
.paper .spec td:first-child,
.paper .spec tbody th,
.paper .publisher-role,
.paper .publisher-facts dd {
  color: var(--ink);
}
.paper .lic-facts dt {
  color: var(--ink);
}
.paper .publisher-facts dt {
  color: var(--chem);
}
.paper .spec th,
.paper .spec thead th {
  color: var(--ink);
}
.paper .note.inside-card,
.paper .lic-card .note {
  color: var(--ink);
}
.ink { padding: 72px 0; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.why {
  background: #ece7dc;
  padding: 20px 22px;
  border-left: 3px solid var(--go);
  font-size: 15px;
}
.why b { display: block; margin-bottom: 8px; }
.why .more { margin-bottom: 0; }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 28px; }
.blocks article { border-top: 1px solid var(--line); padding-top: 16px; }
.blocks span { color: var(--go); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li {
  counter-increment: st;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid #d4cfc4;
  position: relative;
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  color: #2d7a38;
  font-weight: 700;
  font-size: 13px;
}
.steps b { display: block; margin-bottom: 4px; }

.lic-lead {
  color: var(--text);
  max-width: none;
  width: 100%;
  margin: 0 0 8px;
}
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px;
  align-items: stretch;
}
.lic-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cfc9bb;
  border-radius: 4px;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(40, 36, 28, 0.04);
  color: var(--ink);
}
.lic-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #e5e0d6;
  background: #faf8f3;
}
.lic-plan {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lic-code {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chem);
  white-space: nowrap;
}
.lic-card .sum {
  margin: 0;
  padding: 18px 22px 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.lic-card .sum small {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  vertical-align: baseline;
}
.lic-card .sum-period {
  margin: 6px 0 0;
  padding: 0 22px 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--chem);
  line-height: 1.35;
}
.lic-card .sum-period strong {
  color: var(--ink);
  font-weight: 800;
}
.lic-facts {
  margin: 0;
  padding: 10px 22px 8px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.lic-facts div {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #ece7dc;
}
.lic-facts div:first-child {
  padding-top: 0;
  border-top: 0;
}
.lic-facts dt {
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.lic-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.lic-card .cta {
  margin: 0;
  padding: 16px 22px 22px;
}
.lic-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: horizontal-tb;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  padding: 12px 16px;
  line-height: 1.35;
  font-size: 15px;
  hyphens: none;
}
#zamow-kod {
  scroll-margin-top: 24px;
}
.order-block {
  margin: 8px 0 28px;
  display: flex;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
.order-card {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce6dc;
  border-radius: 24px;
  padding: 18px 20px 16px;
  box-shadow: 0 8px 28px rgba(27, 61, 47, 0.08);
  color: #102017;
}
.order-brand {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
  margin: 0 0 10px;
}
.order-brand img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.order-brand h3 {
  margin: 4px 0 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #142d23;
}
.order-brand-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: #5c6b5f;
}
.order-alert {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid #c5d4bc;
  border-radius: 14px;
  background: #eef4eb;
  color: #1b3d2f;
  font-size: 13px;
  line-height: 1.35;
}
.order-alert b {
  font-size: 14px;
  font-weight: 700;
}
.order-alert span {
  color: #2f4035;
  font-weight: 500;
}
.order-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #5c6b5f;
  text-align: left;
}
.order-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.order-field {
  display: grid;
  gap: 4px;
  margin: 0;
  min-width: 0;
}
.order-field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6b5f;
  line-height: 1.25;
}
.order-field-req {
  padding: 8px 12px;
  border: 1px solid #c5d4bc;
  border-radius: 14px;
  background: #eef4eb;
  color: #1b3d2f;
}
.order-field-req > span {
  color: #1b3d2f;
}
.order-field-req .order-input {
  background: #fff;
  border-color: #c5d4bc;
}
.order-name-hint {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #2f4035;
  text-transform: none;
  letter-spacing: 0;
}
.order-field-full { grid-column: 1 / -1; }
.order-form input.order-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  color: #102017;
  background: #fff;
  border: 1px solid #dce6dc;
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
}
.order-form input.order-input:focus {
  outline: 2px solid #5f7664;
  outline-offset: 1px;
}
.order-form input.order-input.is-invalid {
  border-color: #e8a0a8;
  background: #ffe8ea;
}
.order-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.order-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #5c6b5f;
  cursor: pointer;
}
.order-check input {
  margin: 1px 0 0;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: #1b3d2f;
}
.order-check a {
  color: #1b3d2f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.order-check a:hover { color: #5f7664; }
.order-msg {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1b3d2f;
  background: #eef4eb;
  border: 1px solid #c5d4bc;
}
.order-msg.is-error {
  color: #5c4a12;
  background: #fff4e0;
  border-color: #f0d090;
}
.order-submit {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
  height: 42px;
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--go);
  color: #061208 !important;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}
.order-submit:hover {
  background: #4db358;
}
.order-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #5c6b5f;
  text-align: center;
}
.spec-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 0 8px;
}
.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid #cfc9bb;
  color: var(--ink);
  table-layout: fixed;
}
.spec th, .spec td {
  border: 1px solid #e5e0d6;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.spec thead th {
  background: #f0ebe2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.spec tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 22%;
  background: #faf8f3;
}
.spec td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 22%;
}
.note { color: var(--text); font-size: 14px; }
.lic-terms-title {
  margin: 28px 0 10px;
  font-size: 20px;
  color: var(--ink);
}
.lic-terms {
  margin: 0 0 16px;
  padding-left: 1.2em;
  max-width: 52em;
  color: var(--ink);
  font-size: 15px;
}
.lic-terms li { margin: 0 0 10px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.faq dt { font-weight: 700; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--text); }

.publisher {
  background: #fff;
  border: 1px solid #d4cfc4;
  border-radius: 14px;
  padding: 28px 28px 22px;
  max-width: 640px;
  color: var(--ink);
}
.publisher-brand {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e0d6;
}
.logo-publisher {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  margin: 0 0 8px;
  background: transparent;
}
.publisher-role {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.publisher-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin: 0;
}
.publisher-facts div { margin: 0; }
.publisher-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chem);
}
.publisher-facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}
.publisher-facts a { font-weight: 600; }


.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: #5c635c;
  padding: 28px 0;
}
.site-footer strong { color: var(--text); }
.site-footer a { color: var(--chem-2); }
.site-footer .mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  display: block;
  margin-bottom: 12px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0; }

body:not(.home) main {
  background: var(--desk);
  color: var(--desk-text);
  padding: 40px 0 64px;
}
body:not(.home) main .wrap,
body:not(.home) .woocommerce,
body:not(.home) .entry-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.woocommerce, .entry-content {
  background: #fff;
  border: 1px solid #d4cfc4;
  border-radius: 12px;
  padding: 24px;
  color: var(--ink);
}
body:not(.home) main .woocommerce,
body:not(.home) main .entry-content {
  color: var(--ink);
}
body:not(.home) main .woocommerce a,
body:not(.home) main .entry-content a {
  color: var(--chem-2);
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products li.product {
  background: #f4f1ea;
  border: 1px solid #d4cfc4;
  border-radius: 12px;
  padding: 18px;
  margin: 0 !important;
  width: auto !important;
}
.woocommerce input, .woocommerce textarea, .woocommerce select {
  background: #fff;
  border: 1px solid #d4cfc4;
  color: var(--ink);
}

.tabs { margin-top: 8px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #d4cfc4;
  margin: 0 0 24px;
}
.tablist button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 0;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px 12px;
  cursor: pointer;
}
.tablist button[aria-selected="true"] {
  color: var(--ink) !important;
  border-bottom-color: #2d7a38;
}
.tabpanel { max-width: 52em; }
.tabpanel h3 {
  font-family: inherit;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 10px;
}
.tabpanel ul { margin: 10px 0 0; padding-left: 18px; }
.tabpanel li { margin: 8px 0; }
.tabpanel .more { margin-top: 16px; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin: 12px 0 0; padding: 0; list-style: none; }
.acts li { margin: 0 0 10px; padding: 0; }
.acts a { font-weight: 600; }


@media (max-width: 600px) {
  .publisher-facts { grid-template-columns: 1fr; }
}

@media (max-width: 900px) { .acts { grid-template-columns: 1fr; } }

/* —— Mobile —— */
@media (max-width: 900px) {
  .wrap,
  .hero-desk .wrap,
  body:not(.home) main .wrap,
  body:not(.home) .woocommerce,
  body:not(.home) .entry-content {
    width: min(1120px, calc(100% - 28px));
  }

  /* Ręczne <br> z desktopu — na telefonie naturalny zawijacz */
  .hero-copy br,
  .hero-note br,
  .strip-row p br,
  #platformy .lead br,
  .lic-lead br,
  .download-pack-note br {
    display: none;
  }
  .nobr { white-space: normal; }

  .brand {
    align-items: flex-start;
  }
  .brand-author {
    font-size: 10px;
    max-width: 16rem;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }
  .menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    overflow: visible;
    padding: 4px 0 8px;
  }
  .menu a {
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1.3;
  }

  .hero-desk { padding: 20px 0 28px; }
  .hero-desk-grid,
  .split,
  .blocks,
  .prices,
  .faq,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .order-block {
    margin: 6px 0 20px;
    padding: 0;
    width: 100%;
  }
  .order-form {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .order-card {
    max-width: 100%;
    padding: 14px 12px 12px;
    border-radius: 20px;
  }
  .order-brand img {
    width: 40px;
    height: 40px;
  }
  .order-brand h3 {
    font-size: clamp(18px, 5.5vw, 22px);
  }
  .order-alert {
    padding: 7px 10px;
    border-radius: 12px;
  }
  .order-form input.order-input {
    height: 38px;
    min-height: 38px;
    padding: 7px 11px;
    border-radius: 12px;
  }
  .order-submit {
    height: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  .hero-desk-grid { gap: 24px; align-items: stretch; }
  .hero-note {
    margin-top: 18px;
    font-size: 15px;
    padding-top: 16px;
  }
  .hero-aside-downloads {
    padding: 14px 12px 12px;
  }

  h1 { font-size: clamp(26px, 7vw, 34px); }
  h2 { font-size: clamp(20px, 5.5vw, 26px); }
  .lead { font-size: 16px; max-width: none; }
  .download-pack-note { max-width: none; font-size: 13px; }

  .ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ctas .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.35;
    padding: 12px 14px;
  }
  .download-row {
    flex-direction: column;
    align-items: stretch;
  }
  .download-row .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .stage { padding: 10px; border-radius: 14px; }
  .gui-frame {
    aspect-ratio: auto;
    min-height: 380px;
    max-height: none;
  }
  .gui-caption {
    font-size: 13px;
    padding: 10px 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .gui-caption-links {
    width: 100%;
  }

  .install-column {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .trial-gui-window,
  .install-legal {
    width: 100%;
    max-width: 100%;
  }
  .trial-gui-window {
    border-radius: 10px;
  }

  .paper,
  .ink { padding: 48px 0; }
  .paper.tight { padding-top: 0; }
  .split { gap: 28px; }

  .tablist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: visible;
    flex-wrap: unset;
    border-bottom: 1px solid var(--desk-line, #d4cfc4);
  }
  .paper .tablist {
    border-bottom-color: var(--desk-line);
  }
  .tablist button {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    min-height: 44px;
  }
  .tabpanel { max-width: none; }

  .steps li {
    padding-left: 48px;
    font-size: 15px;
  }

  .lic-card .btn {
    font-size: 14px;
    padding: 12px 14px;
  }
  .lic-head {
    padding: 16px 16px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .lic-code {
    white-space: normal;
    letter-spacing: 0.04em;
  }
  .lic-card .sum {
    font-size: 32px;
    padding: 16px 16px 0;
  }
  .lic-card .sum-period,
  .lic-facts {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lic-card .cta {
    padding: 14px 16px 18px;
  }
  .lic-facts { gap: 0; }

  /* Tabela licencji: karty zamiast 4 kolumn (bez ucięcia) */
  .spec-wrap {
    overflow: visible;
  }
  .spec {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    table-layout: auto;
  }
  .spec thead {
    display: none;
  }
  .spec tbody {
    display: grid;
    gap: 12px;
  }
  .spec tr {
    display: block;
    background: #fff;
    border: 1px solid #cfc9bb;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(40, 36, 28, 0.04);
  }
  .spec tbody th,
  .spec td {
    display: block;
    width: auto;
    border: 0;
    border-top: 1px solid #e5e0d6;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
  }
  .spec tbody th {
    background: #f0ebe2;
    border-top: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .spec td::before {
    content: attr(data-label);
    display: block;
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chem);
  }

  .os-card {
    padding: 16px;
  }
  .os-card .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .publisher {
    padding: 22px 18px;
    border-radius: 12px;
  }
  .meta-row {
    gap: 6px 12px;
    font-size: 12px;
  }

  .site-footer { padding: 24px 0; }
  .legal-links {
    gap: 8px 14px;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
  }

  .woocommerce,
  .entry-content { padding: 16px; }
}

@media (max-width: 480px) {
  .wrap,
  .hero-desk .wrap {
    width: calc(100% - 20px);
  }
  .hero-duty-banner {
    padding: 12px 12px;
  }
  .hero-duty-banner .duty-inner {
    font-size: 14px;
  }
  .brand strong { font-size: 18px; }
  .strip-row b { font-size: 12px; }
  .strip-row p { font-size: 15px; }
  .gui-caption { font-size: 13px; }
}
