:root {
  --page: #f5f6f8;
  --surface: #fbfcfd;
  --ink: #20232a;
  --muted: #667085;
  --line: #dfe3e8;
  --brand: #1d4ed8;
  --brand-strong: #1e40af;
  --success: #16794d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgb(29 78 216 / 28%);
  outline-offset: 3px;
}

.site-header,
.section-inner,
.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #20232a;
  color: #f8fafc;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  background: #e9ebef;
  color: var(--ink);
}

.site-nav .button {
  color: #f8fafc;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 17px;
  background: var(--brand);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, transform 120ms ease;
}

.button:hover {
  background: var(--brand-strong);
}

.button:active {
  transform: scale(.98);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  background: #eceef2;
}

.hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-copy {
  min-width: 0;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 750;
}

.hero .eyebrow {
  color: var(--brand-strong);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: 72px;
  line-height: .98;
  font-weight: 850;
  text-wrap: balance;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-proof li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--success);
}

.section {
  padding: 84px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2,
.feature-copy h2,
.price-copy h2 {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p,
.feature-copy p,
.price-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
  text-wrap: pretty;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
  align-items: center;
  gap: 64px;
}

.feature + .feature {
  margin-top: 88px;
}

.feature-reverse {
  grid-template-columns: minmax(380px, 1.18fr) minmax(0, .82fr);
}

.feature-reverse .feature-copy {
  order: 2;
}

.product-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgb(32 35 42 / 8%), 0 18px 50px rgb(32 35 42 / 13%);
}

.check-list,
.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 28px 0 0;
}

.step + .step {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 850;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.price-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.price {
  text-align: right;
}

.price strong {
  display: block;
  font-size: 66px;
  line-height: 1;
  font-weight: 850;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.family-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.family-note img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.family-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.family-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.article {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.article h1 {
  max-width: none;
  font-size: 68px;
}

.article > p {
  max-width: 70ch;
  color: var(--muted);
  font-size: 18px;
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.article-section p,
.article-section li {
  color: #4e5665;
}

.article-section code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #e9ebef;
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #cfd4ff;
  border-radius: 8px;
  background: #eef0ff;
  color: #31396f;
}

@media (max-width: 820px) {
  .site-nav a:not(.button) {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  h1 {
    font-size: 54px;
  }

  .article h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .feature-copy h2,
  .price-copy h2 {
    font-size: 36px;
  }

  .price strong {
    font-size: 52px;
  }

  .feature,
  .feature-reverse,
  .price-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-reverse .feature-copy {
    order: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 24px 0;
  }

  .step + .step {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .price {
    text-align: left;
  }

  .family-note {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .family-note .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .site-header,
  .section-inner,
  .site-footer-inner,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  .hero-inner {
    padding: 36px 0 40px;
  }

  h1 {
    font-size: 48px;
  }

  .article h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: .01ms !important;
  }
}

/* GrowX family header brand (2026-09-28): app icon + "od GrowCommerce" */
.gx-brand-icon{width:36px!important;height:36px!important;flex:none!important;display:block!important;border-radius:10px}
.gx-brand-txt{display:inline-flex!important;flex-direction:column!important;justify-content:center;line-height:1.15}
.gx-brand-txt .gx-by{display:flex!important;flex-direction:row!important;align-items:center;gap:5px;margin:3px 0 0!important;font-size:12px!important;font-weight:600!important;line-height:1!important;color:#78716c!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}
.gx-brand-txt .gx-by svg{display:block!important;width:16px!important;height:15px!important;flex:none!important;margin:0!important}
.gx-brand-txt .gx-by b{font-weight:600!important;font-size:12px!important;color:#2b3246!important;letter-spacing:-.005em!important;text-transform:none!important}
/* Landing 2026-10-06: prawdziwy widżet w akcji (przełącznik opcji, przykłady, panel) */
.hero-media { min-width: 0; }
.hero-video,
.hero-still img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgb(32 35 42 / 14%); }
.hero-still { display: none; }

.opt-layout { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.opt-nav { display: grid; gap: 18px; }
.opt-group__label { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-pill { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.opt-pill:hover { border-color: var(--brand); }
.opt-pill[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.opt-view { min-width: 0; align-self: start; position: sticky; top: 88px; }
.opt-panel { margin: 0; }
.opt-panel[hidden] { display: none; }
.opt-stage { display: grid; place-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #eef0f3; }
.opt-stage img { display: block; max-width: 100%; max-height: max(320px, calc(100vh - 380px)); width: auto; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 10px 28px rgb(32 35 42 / 14%); }
.opt-stage--phone img { width: 390px; }
.opt-panel figcaption { margin-top: 16px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.opt-where { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case { min-width: 0; }
.case-media { display: block; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #eef0f3; }
.case-media picture,
.case-media video { display: block; width: 100%; height: auto; }
.case-media img,
.case-media video { display: block; width: 100%; height: auto; border-radius: 8px; }
.case-media .case-still { display: none; }
.case h3 { margin: 16px 0 6px; font-size: 20px; }
.case p { margin: 0; color: var(--muted); }

.panel-shots { columns: 2; column-gap: 28px; }
.panel-shot { min-width: 0; margin: 0 0 28px; break-inside: avoid; }
.panel-shot__media { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.panel-shot__media img { display: block; width: 100%; height: auto; }
.panel-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.panel-shot figcaption strong { color: var(--ink); }

@media (max-width: 960px) {
  .opt-layout { grid-template-columns: minmax(0, 1fr); }
  .opt-view { position: static; }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 720px) {
  .hero-video { display: none; }
  .hero-still { display: block; }
  .hero-still img { width: 100%; }
  .case-media .case-video { display: none; }
  .case-media .case-still { display: block; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .panel-shots { columns: 1; }
  .opt-stage { padding: 14px; }
  .opt-stage--phone img { width: 100%; max-width: 390px; }
  .case-media { padding: 12px; }
  .case-media picture,
  .case-media img { height: auto; }
  .hero h1 { font-size: 48px; }
}

.footer-links span { color: var(--muted); font-size: 14px; }
.hero-video,
.hero-still img,
.opt-stage img { background: #fff; }
.price-band .price-copy .hero-actions { margin-top: 20px; }
.case-media--still { aspect-ratio: auto; }
