/* Strony publiczne GrowKeys: landing, instrukcja, regulamin, prywatność. Bez gradientów, bez zdalnych fontów. */
.gk-public {
  margin: 0;
  background: #fffdf8;
  color: #1c1917;
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.gk-public * { box-sizing: border-box; }
.gk-public :focus-visible { outline: 2px solid #2155d9; outline-offset: 3px; }
.gk-wrap { max-width: 1040px; margin: 0 auto; padding: 16px 20px 56px; }
.gk-wrap--narrow { max-width: 760px; }

/* Nagłówek rodziny: ikona appki + „od GrowCommerce” */
.gk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; padding: 8px 0; }
.gk-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 650; font-size: 17px; border-radius: 8px; }
.gk-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.gk-nav a { padding: 8px 10px; border-radius: 8px; color: #44403c; font-size: 15px; font-weight: 500; text-decoration: none; }
.gk-nav a:hover { background: #f3efe6; color: #1c1917; }
.gk-nav a[aria-current="page"] { color: #1c1917; font-weight: 600; }

/* Hero */
.gk-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 0 8px; }
.gk-hero h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
.gk-accent { font-style: normal; color: #1d4ed8; }
.gk-lead { margin: 0 0 22px; max-width: 54ch; color: #57534e; font-size: 18px; line-height: 1.5; }
.gk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px;
  background: #2155d9; color: #fff; text-decoration: none; font-weight: 600;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.gk-btn:hover { background: #1a46b8; box-shadow: 0 6px 16px -6px rgba(33, 85, 217, 0.5); }
.gk-btn:active { transform: translateY(1px); }
.gk-btn--quiet { background: #fff; color: #1c1917; border-color: #d6d3d1; }
.gk-btn--quiet:hover { background: #f5f5f4; box-shadow: none; }
.gk-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.gk-facts li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid #e7e5e4; border-radius: 999px; background: #fff; color: #44403c; font-size: 14px; font-weight: 500; }
.gk-facts svg { width: 15px; height: 15px; color: #1d4ed8; }
.gk-hero__media { margin: 0; }
.gk-hero__media img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #e7e5e4; box-shadow: 0 1px 3px rgba(28, 25, 23, 0.05), 0 24px 48px -24px rgba(28, 25, 23, 0.22); }

/* Sekcje */
.gk-section { margin-top: 56px; }
.gk-section > h2, .gk-public h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.gk-section > p.gk-sub { margin: 0 0 20px; max-width: 60ch; color: #57534e; }
.gk-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: krok; }
.gk-step { position: relative; padding: 20px 20px 20px 22px; border: 1px solid #e7e5e4; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04); }
.gk-step::before { counter-increment: krok; content: counter(krok, decimal-leading-zero); display: block; margin-bottom: 10px; color: #1d4ed8; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gk-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; }
.gk-step p { margin: 0; color: #57534e; font-size: 15px; }
.gk-step .gk-ico { position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; color: #a8a29e; }
.gk-public ul.gk-list { margin: 0; padding-left: 1.2em; }
.gk-public ul.gk-list li { margin: 6px 0; }
.gk-shot { margin: 24px 0 0; }
.gk-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #e7e5e4; background: #fff; }
.gk-shot figcaption { margin-top: 8px; color: #78716c; font-size: 13px; }

/* Cennik */
.gk-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gk-plan { padding: 22px; border: 1px solid #e7e5e4; border-radius: 16px; background: #fff; }
.gk-plan--year { border-color: #b9caf5; box-shadow: 0 0 0 1px #b9caf5; }
.gk-plan__name { margin: 0 0 6px; color: #57534e; font-size: 14px; font-weight: 600; }
.gk-plan__price { margin: 0; font-size: 30px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gk-plan__price small { font-size: 15px; font-weight: 500; color: #57534e; letter-spacing: 0; }
.gk-plan__note { margin: 8px 0 0; color: #57534e; font-size: 14px; }
.gk-badge { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: #eef3ff; color: #1a46b8; font-size: 12px; font-weight: 600; vertical-align: middle; }
.gk-note { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #e7e5e4; border-radius: 12px; background: #fff; color: #44403c; font-size: 15px; }

/* Pytania */
.gk-faq { margin: 0; padding: 0; }
.gk-faq details { border-top: 1px solid #e7e5e4; }
.gk-faq details:last-child { border-bottom: 1px solid #e7e5e4; }
.gk-faq summary { padding: 14px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gk-faq summary::-webkit-details-marker { display: none; }
.gk-faq summary::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #f5f5f4; color: #57534e; text-align: center; line-height: 24px; font-weight: 500; }
.gk-faq details[open] summary::after { content: "–"; }
.gk-faq details p { margin: 0 0 16px; max-width: 70ch; color: #57534e; }

/* Strony dokumentów */
.gk-doc h1 { margin: 24px 0 10px; font-size: 32px; line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; }
.gk-doc h2 { margin: 28px 0 8px; font-size: 20px; }
.gk-doc p, .gk-doc li { max-width: 72ch; }
.gk-doc p { margin: 0 0 12px; }

/* Stopka */
.gk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 56px; padding-top: 16px; border-top: 1px solid #e7e5e4; color: #6b645f; font-size: 13px; }
.gk-foot a { color: #44403c; }

@media (min-width: 880px) {
  .gk-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding: 36px 0 16px; }
  .gk-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gk-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
}
@media (max-width: 479px) {
  .gk-wrap { padding: 12px 16px 48px; }
  .gk-hero h1 { font-size: 31px; }
  .gk-lead { font-size: 17px; }
  .gk-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gk-public * { transition: none !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:#6b645f!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}

/* Runda 24: landing z prawdziwą stroną „Twoje kody” */
.gk-nav__cta { background: #2155d9; color: #fff !important; font-weight: 600 !important; }
.gk-nav__cta:hover { background: #1a46b8 !important; }
.gk-price-note { margin: 16px 0 0; max-width: 54ch; color: #57534e; font-size: 14px; }
.gk-hero__media img { width: 100%; height: auto; }
.gk-tint { margin-left: -20px; margin-right: -20px; padding: 40px 20px; background: #f6f1e6; }
.gk-tint > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.gk-tint .gk-plan, .gk-tint .gk-note { background: #fff; }
.gk-tint .gk-plans { margin-left: 0; margin-right: auto; }

/* Zakładki „Zobacz w sklepie” */
.gk-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.gk-tab { min-height: 44px; padding: 0 16px; border: 1px solid #d6d3d1; border-radius: 999px; background: #fff; color: #44403c; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.gk-tab:hover { background: #f5f5f4; }
.gk-tab[aria-selected="true"] { background: #1c1917; border-color: #1c1917; color: #fff; }
.gk-group[hidden] { display: none; }
.gk-group h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.gk-group-sub { margin: 0 0 18px; max-width: 70ch; color: #57534e; font-size: 15px; }
.gk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.gk-variant { display: flex; flex-direction: column; gap: 10px; margin: 0; min-width: 0; }
.gk-variant img, .gk-case img, .gk-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #e7e5e4; background: #fff; }
.gk-variant figcaption, .gk-shot figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #57534e; }
.gk-variant figcaption b, .gk-shot figcaption b { color: #1c1917; font-size: 16px; font-weight: 650; }
.gk-grid--1 .gk-variant { max-width: 520px; }

/* Wypróbuj */
.gk-try__bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.gk-chip { min-height: 44px; padding: 0 18px; border: 1px solid #d6d3d1; border-radius: 999px; background: #fff; color: #1c1917; font: inherit; font-weight: 600; cursor: pointer; transition: background-color 160ms ease; }
.gk-chip:hover { background: #f5f5f4; }
.gk-chip[aria-pressed="true"] { background: #1c1917; border-color: #1c1917; color: #fff; }
.gk-try__frame { display: block; width: 100%; max-width: 760px; height: 600px; border: 1px solid #d6d3d1; border-radius: 12px; background: #fff; }

/* Branże */
.gk-cases { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.gk-case { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gk-case picture { margin-bottom: 6px; }
.gk-case__tag { margin: 0; color: #1a46b8; font-size: 13px; font-weight: 650; }
.gk-case h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.gk-case p { margin: 0; color: #57534e; font-size: 15px; }
.gk-case .gk-case__set { color: #1c1917; font-size: 14px; font-weight: 500; }

/* Panel */
.gk-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.gk-panels .gk-shot { margin: 0; }
.gk-panels .gk-shot figcaption { margin-top: 10px; }

@media (min-width: 720px) {
  .gk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gk-cases, .gk-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gk-variant picture, .gk-case picture, .gk-shot picture { max-width: 390px; }
  .gk-try__frame { height: 780px; }
  .gk-tint { margin-left: -16px; margin-right: -16px; padding: 32px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gk-tab, .gk-chip { transition: none; }
}
