:root {
  --ink: #17201d;
  --body: #4b5550;
  --muted: #5f6964;
  --line: #e3e6e1;
  --canvas: #f4f4ef;
  --accent: #1a856b;
  --mint: #c8f0df;
  --shadow: 0 1px 2px rgba(23, 32, 29, .06), 0 30px 60px -30px rgba(23, 32, 29, .32);
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { margin: 0; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-in, main { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; border-radius: 10px; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.top-link:hover { background: #eef0eb; }

/* Rodzinny nagłówek GrowX: ikona aplikacji + „od GrowCommerce” */
.gx-brand-icon { display: block; flex: none; width: 36px; height: 36px; border-radius: 10px; }
.gx-brand-txt { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.gx-brand-txt strong { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.gx-by { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #6b645f; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.gx-by svg { display: block; flex: none; width: 16px; height: 15px; }
.gx-by b { color: #2b3246; font-weight: 600; letter-spacing: -.005em; }

/* Strony dokumentów: instrukcja, regulamin, prywatność */
main { padding: 48px 0 64px; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 5vw, 44px); line-height: 1.08; font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }
h1 + p { max-width: 560px; margin: 0 0 24px; color: var(--body); font-size: 18px; }
main p { color: var(--body); }
.cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 18px -8px rgba(23, 32, 29, .45); }
.cta:hover { background: #25312d; }
a:focus-visible, summary:focus-visible, .uses:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) {
  .top-in { min-height: 64px; }
  main { padding: 32px 0 48px; }
  h1 + p { font-size: 16px; }
}

/* Landing: prawdziwy widżet w akcji (kadry z tests/landing/capture_landing_media.cjs) */
.landing .top-in, .landing .wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.landing main { width: auto; padding: 0; }
.top-nav { display: flex; align-items: center; gap: 2px; }
.landing h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
.landing figure { margin: 0; }
.landing img { display: block; max-width: 100%; height: auto; }

.hero { padding: 72px 0 0; }
.hero-copy { max-width: 780px; }
.landing .hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.landing .lead { max-width: 620px; margin: 0; color: var(--body); font-size: 20px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.cta-quiet { background: #fff; color: var(--ink); border: 1px solid #d5d9d3; box-shadow: none; }
.cta-quiet:hover { background: #eef0eb; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; color: var(--body); font-size: 15px; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg, .price-list svg { display: block; flex: none; }
.facts svg { color: var(--accent); }

.shot { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3dd; }
.shot-bar span { flex: 0 1 300px; margin-left: 12px; padding: 0 10px; border-radius: 6px; background: var(--canvas); color: var(--muted); font-size: 12px; line-height: 24px; }
.shot img { width: 100%; }
.landing .shot-hero { margin-top: 52px; }
.shot-hero figcaption { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.section { padding: 104px 0; }
.section-tint { background: #fff; border-block: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 36px; }
.head p { margin: 0; color: var(--body); font-size: 18px; }

.look-tabs { display: inline-flex; gap: 4px; margin: 0 0 28px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.look-tab { position: relative; }
.look-tab input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.look-tab span { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 10px; color: var(--body); font-size: 15px; font-weight: 600; }
.look-tab b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--canvas); color: var(--ink); font-size: 13px; }
.look-tab input:hover + span { background: #eef0eb; color: var(--ink); }
.look-tab input:checked + span { background: var(--ink); color: #fff; }
.look-tab input:checked + span b { background: rgba(255, 255, 255, .16); color: #fff; }
.look-tab input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.look { display: none; grid-template-columns: 380px minmax(0, 1fr) 272px; grid-template-areas: "desk desk phone" "button facts facts"; gap: 32px; align-items: start; }
.looks:has(input[value="a"]:checked) .look[data-look="a"],
.looks:has(input[value="b"]:checked) .look[data-look="b"],
.looks:has(input[value="c"]:checked) .look[data-look="c"] { display: grid; }
@supports not selector(:has(*)) {
  .look-tabs { display: none; }
  .look { display: grid; margin-bottom: 64px; }
}
.look-desk { grid-area: desk; }
.look-phone { grid-area: phone; overflow: hidden; border: 6px solid var(--ink); border-radius: 30px; background: var(--ink); box-shadow: var(--shadow); }
.look-button { grid-area: button; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.look-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.look-facts dt { margin-bottom: 4px; color: var(--ink); font-size: 15px; font-weight: 650; }
.look-facts dd { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }

.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.use { padding: 28px 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.landing .use-shot { width: min(272px, 100%); margin: 0 auto 24px; overflow: hidden; border: 6px solid var(--ink); border-radius: 30px; background: var(--ink); box-shadow: var(--shadow); }
.use-shot img { width: 100%; }
.landing .use h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.landing .use p { margin: 0; color: var(--body); font-size: 15px; }

.panel-shot img { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.panel-shot figcaption { margin-top: 14px; color: var(--body); font-size: 15px; }
.panel-shot strong { color: var(--ink); font-weight: 650; }
.panel-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }

.section-ink { background: var(--ink); color: #fff; }
.price-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.landing .section-ink h2 { color: #fff; }
.landing .price-main { margin: 24px 0 4px; color: #fff; font-size: 22px; }
.price-main b { font-size: clamp(48px, 6vw, 64px); font-weight: 650; letter-spacing: -.035em; }
.landing .price-alt { margin: 0 0 20px; color: #c9d3ce; font-size: 17px; }
.landing .price-trial { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 15px; font-weight: 600; }
.price-list { display: grid; gap: 14px; margin: 0; padding: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; list-style: none; font-size: 16px; }
.price-list li { display: flex; align-items: flex-start; gap: 12px; }
.price-list svg { margin-top: 2px; color: var(--mint); }

.faq-in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); rotate: 45deg; translate: 0 -3px; transition: rotate 160ms ease; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 2px; }
.landing .faq p { max-width: 640px; margin: 0 0 20px; color: var(--body); }

.foot { border-top: 1px solid var(--line); background: #fff; color: var(--body); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 76px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .look { grid-template-columns: minmax(0, 1fr) 240px; grid-template-areas: "desk phone" "button button" "facts facts"; }
  .look-button { max-width: 420px; }
  .uses { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .price-in, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .top-anchor { display: none; }
  .hero { padding-top: 40px; }
  .landing .lead { font-size: 17px; }
  .landing .shot-hero { max-width: 360px; margin: 36px auto 0; border: 6px solid var(--ink); border-radius: 30px; }
  .shot-hero .shot-bar { display: none; }
  .shot-hero figcaption { border-top: 0; background: var(--ink); color: #c9d3ce; text-align: center; }
  .section { padding: 72px 0; }
  .head p { font-size: 16px; }
  .look-tabs { display: grid; width: 100%; box-sizing: border-box; }
  .look { grid-template-columns: minmax(0, 1fr); grid-template-areas: "phone" "button" "facts"; gap: 24px; }
  .look-desk { display: none; }
  .look-phone { width: min(300px, 100%); justify-self: center; }
  .look-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .uses { display: flex; gap: 14px; margin-right: -20px; padding: 0 20px 8px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .use { flex: 0 0 82%; scroll-snap-align: start; }
  .panel-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}
