/* ============================================================
   Strony ofertowe: /dla-klubow i /dla-trenerow („Court Editorial").
   Jeden arkusz dla obu (przebudowa 22.10.2026, w ślad za stroną główną):
   hero z produktem po prawej → liczby na żywo → cztery filary → trzy
   kroki najmocniejszego narzędzia → pilotaż/uczciwie → apka dla graczy
   → jak zacząć → kontakt. Pasek i stopkę wstawia
   scripts/powloka-recznych.mjs do <style> w samej stronie.
   Tokeny 1:1 z tailwind.config.js apki i ze strony głównej.
   ============================================================ */
:root {
  --canvas: #FCFDF9;
  --ink: #0E1512;
  --ink-bar: #0A0F0C;
  --court: #0B6E4F;
  --court-soft: #12A87C;
  --lime: #C6F135;
  --lime-ink: #2A3A06;
  --muted: #54615A;
  --hairline: rgba(14, 21, 18, 0.12);
  --hairline-strong: rgba(14, 21, 18, 0.22);
  --hair-ink: rgba(252, 253, 249, 0.14);
  --empty: #F4F6EF;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Inter", system-ui, sans-serif;
  --maxw: 1240px;
}
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--lime); color: var(--lime-ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.tabnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }

/* --- przyciski --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px;
  padding-inline: 22px; border-radius: 16px; font-size: 16px; font-weight: 800; letter-spacing: -0.2px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, opacity .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-court { background: var(--court); color: var(--canvas); }
.btn-court:hover { background: #0a5f45; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #bde821; }
/* `.btn.btn-ghost`, nie samo `.btn-ghost`: CSS paska (navCss) wstrzykiwany do
   <style> strony stoi PO tym arkuszu i jego `.btn { border: 1px solid transparent }`
   ma tę samą wagę - wygrywał kolejnością i przyciski traciły ramkę. */
.btn.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn.btn-ghost:hover { border-color: var(--ink); }
.btn.btn-ghost-ink { background: transparent; color: var(--canvas); border-color: rgba(252,253,249,.3); }
.btn.btn-ghost-ink:hover { border-color: var(--canvas); }
.link-go { font-size: 15.5px; font-weight: 800; color: var(--court); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link-go:hover { color: var(--ink); }
.store { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 20px 0 17px; border-radius: 15px;
  background: var(--ink-bar); color: var(--canvas); transition: transform .12s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store > span { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.store .st-top { font-size: 10.5px; font-weight: 600; letter-spacing: .3px; opacity: .72; line-height: 1.2; }
.store .st-big { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.15; }
.store.on-ink { background: var(--canvas); color: var(--ink-bar); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* --- sekcje --- */
section { padding-block: 84px; }
.sec-head { max-width: 780px; }
h2.sec-title { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin-top: 16px; text-wrap: balance; }
.sec-lead { margin-top: 18px; font-size: 18px; color: var(--muted); line-height: 1.55; font-weight: 500; max-width: 64ch; }
.sec-lead b { color: var(--ink); font-weight: 800; }
.sec-lead a { color: var(--court); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.sec-foot { margin-top: 30px; }

/* --- hero --- */
.hero { padding-top: 64px; padding-bottom: 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.hero h1 .hl { background: var(--lime); color: var(--lime-ink); padding: 0 .1em; border-radius: 6px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--muted); font-weight: 500; max-width: 48ch; }
.hero .lead b { color: var(--ink); font-weight: 800; }
.hero .row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hero-note a { color: var(--court); font-weight: 800; }
/* Zrzut panelu: wychodzi za prawą krawędź kolumny, jak okno przeglądarki. */
.shot { border-radius: 18px; border: 1px solid var(--hairline-strong); overflow: hidden; background: #fff;
  width: 118%; max-width: none; }
.shot img { width: 100%; height: auto; }
@media (max-width: 900px) { .shot { width: 100%; } }

/* --- liczby na żywo --- */
.nums { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.nums-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: 26px 20px; border-left: 1px solid var(--hairline); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -1.6px; line-height: 1; }
.num span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) {
  .nums-grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(odd) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* --- cztery filary --- */
.filary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 36px; }
.filar { padding: 30px 0 32px; border-top: 2px solid var(--ink); }
.filar .k { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--court); }
.filar h3 { margin-top: 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; letter-spacing: -.6px; line-height: 1.1; text-wrap: balance; }
.filar > p { margin-top: 8px; font-size: 15.5px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.filar ul { list-style: none; margin-top: 16px; border-top: 1px solid var(--hairline); }
.filar li { padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 1.45; color: var(--muted); }
.filar li b { color: var(--ink); font-weight: 800; }
.filar li .pilot { margin-left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  border: 1px solid var(--court); color: var(--court); border-radius: 5px; padding: 1px 5px; vertical-align: 2px; }
@media (max-width: 860px) { .filary { grid-template-columns: 1fr; } }

/* --- trzy kroki (prawdziwa kolejność, więc numery) --- */
.band-ink { background: var(--ink-bar); color: var(--canvas); border-radius: 32px; padding: 64px 56px; }
.band-ink .kicker { color: rgba(198,241,53,.85); }
.band-ink h2.sec-title { color: #fff; }
.band-ink h2.sec-title span { color: var(--lime); }
.band-ink .sec-lead { color: rgba(252,253,249,.68); }
.band-ink .sec-lead b { color: #fff; }
.kroki { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 44px; list-style: none; counter-reset: k; }
.kroki li { border-top: 1px solid var(--hair-ink); padding-top: 20px; counter-increment: k; }
.kroki li::before { content: "0" counter(k); display: block; font-size: 14px; font-weight: 900; color: var(--lime); letter-spacing: 1px; }
.kroki h3 { margin-top: 10px; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.kroki p { margin-top: 8px; font-size: 15px; color: rgba(252,253,249,.7); line-height: 1.5; }
.kroki.jasne li { border-top-color: var(--hairline-strong); }
.kroki.jasne li::before { color: var(--court-soft); }
.kroki.jasne h3 { color: var(--ink); }
.kroki.jasne p { color: var(--muted); }
@media (max-width: 860px) { .kroki { grid-template-columns: 1fr; gap: 26px; } }

/* --- dwie kolumny --- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.lista { margin-top: 26px; border-top: 1px solid var(--hairline-strong); }
.lista div { padding: 16px 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
.lista b { font-size: 16px; font-weight: 800; }
.lista p { font-size: 15px; color: var(--muted); font-weight: 500; line-height: 1.5; }
@media (max-width: 560px) { .lista div { grid-template-columns: 1fr; gap: 2px; } }

/* --- uczciwie --- */
.nie { list-style: none; margin-top: 26px; border-top: 1px solid var(--hairline-strong); }
.nie li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--hairline); font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.nie li b { color: var(--ink); font-weight: 800; }
.nie li::before { content: "×"; position: absolute; left: 4px; top: 13px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--empty); color: var(--ink); font-weight: 900; font-size: 14px; display: grid; place-items: center; }

/* --- apka dla graczy --- */
.apka { background: var(--empty); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.apka .row { margin-top: 26px; }
.apka-ekran { display: flex; justify-content: center; }
.apka-ekran img { width: 230px; height: auto; border-radius: 30px; border: 1px solid var(--hairline); }
@media (max-width: 860px) { .apka { grid-template-columns: 1fr; padding: 40px 24px; } .apka-ekran img { width: 200px; } }

/* --- kontakt --- */
.kontakt { text-align: center; }
.kontakt h2 { font-size: clamp(36px, 6vw, 68px); font-weight: 900; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
.kontakt .sub { margin: 20px auto 0; font-size: 18px; color: var(--muted); font-weight: 500; max-width: 54ch; }
.kontakt .row { justify-content: center; margin-top: 30px; }
.mail { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.6px; color: var(--court); border-bottom: 2px solid currentColor; }
.mail:hover { color: var(--ink); }

/* --- reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  section { padding-block: 60px; }
  .hero { padding-top: 44px; }
  .band-ink { padding: 44px 24px; border-radius: 24px; }
  .apka { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store { transition: none; }
}
