/* hoopengine.pl — one stylesheet, no framework.
   Palette from the HoopEngine mark: the orange ball, the cyan "Engine", the ink of the app
   icon. Barlow Condensed and Manrope are the product's own faces, so the site and the
   screenshots read as one thing. Dark only: the screenshots are dark. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-900-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-display: swap; src: url(/assets/fonts/barlow-condensed-v13-900-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-v20-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-v20-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 102.5%; descent-override: 28.8%; line-gap-override: 0%; }

:root {
  --ink: #0a0b12;
  --night: #10121c;
  --panel: #161a28;
  --panel-2: #1d2233;
  --line: #262c40;
  --line-2: #363d57;
  --chalk: #f3f5fa;
  --text: #d6dbe8;
  --mute: #a1a9be;
  --ball: #f26b1d;
  --ball-hi: #ff8a45;
  --engine: #33d1ec;
  --court: #2c1b63;
  --live: #ff4f9a;
  --ok: #4ade80;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --maxw: 1180px;
  --gut: clamp(16px, 4.5vw, 48px);
  --r: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1.0625rem/1.62 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--chalk); text-decoration-color: color-mix(in srgb, var(--engine) 70%, transparent); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--engine); }
:focus-visible { outline: 3px solid var(--engine); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 1em; }
strong, b { color: var(--chalk); font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--chalk); margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 700; line-height: 1.02; letter-spacing: .005em; }
h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chalk); color: var(--ink); padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }

.eyebrow { font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .16em; color: var(--engine); margin: 0 0 18px; display: flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ball); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--text); max-width: 60ch; }
.muted { color: var(--mute); }
.small { font-size: .9rem; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--chalk); }

/* ── top bar ──────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gut); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--chalk); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); }
.nav a { font: 700 1.02rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; color: var(--text); padding: 10px 0; position: relative; }
.nav a:hover { color: var(--chalk); }
.nav a[aria-current="page"] { color: var(--chalk); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ball); }
.nav .nav__cta { background: var(--ball); color: #160800; padding: 11px 16px; border-radius: var(--r); }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { background: var(--ball-hi); color: #160800; }
.nav .nav__cta[aria-current="page"]::after { display: none; }
@media (max-width: 560px) {
  .brand__word { display: none; }
  .nav { gap: 14px; }
  .nav a { font-size: .95rem; letter-spacing: .04em; }
  .nav .nav__cta { padding: 10px 12px; }
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 22px; border-radius: var(--r); font: 700 1.12rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn--ball { background: var(--ball); color: #160800; }
.btn--ball:hover { background: var(--ball-hi); color: #160800; }
.btn--line { border-color: var(--line-2); color: var(--chalk); background: transparent; }
.btn--line:hover { border-color: var(--engine); color: var(--chalk); }
.btn small { display: block; font: 500 .8rem/1.2 var(--body); text-transform: none; letter-spacing: 0; color: inherit; opacity: .8; margin-top: 3px; }
.ext::after { content: "↗"; font-family: var(--body); font-weight: 700; margin-left: .35em; }

/* ── sections ─────────────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.sec--line { border-top: 1px solid var(--line); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 780px; }
.sec__head p { margin: 0; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 92px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::before { /* the court: three-point arc and key, drawn once, very quiet */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at 100% 50%, transparent 0 38%, var(--line) 38% calc(38% + 1.5px), transparent calc(38% + 1.5px)),
    linear-gradient(var(--line), var(--line)) right 0 top 50% / 26% 1.5px no-repeat;
  mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 span { color: var(--ball); display: block; }
.hero .lede { margin-top: 26px; }
.hero__note { margin-top: 22px; font-size: .95rem; color: var(--mute); }
.hero__note a { color: var(--text); }
@media (max-width: 920px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ── signature: the scorer's table (stolik) ───────────────────────────── */
.table-demo { margin: 0; background: linear-gradient(180deg, var(--panel) 0%, var(--night) 100%); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; }
.td__score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 6px 4px 14px; border-bottom: 1px solid var(--line); }
.td__team { font: 700 1rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--text); display: flex; align-items: center; gap: 8px; }
.td__team--away { justify-content: flex-end; text-align: right; }
.td__team i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.td__pts { font: 900 3.2rem/0.9 var(--display); color: var(--chalk); font-variant-numeric: tabular-nums; display: flex; gap: 12px; align-items: baseline; }
.td__pts small { font: 700 .82rem/1 var(--display); color: var(--engine); letter-spacing: .1em; text-transform: uppercase; display: block; text-align: center; }
.td__mid { text-align: center; }
.td__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding-top: 14px; align-items: start; }
.td__court { background: #120f2a; border: 1px solid var(--line); border-radius: 6px; aspect-ratio: 1 / .94; position: relative; overflow: hidden; }
.td__court svg { width: 100%; height: 100%; display: block; }
.td__feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; height: 262px; overflow: hidden; }
.td__feed li { background: var(--panel-2); border-left: 3px solid var(--line-2); border-radius: 4px; padding: 7px 10px; font-size: .86rem; line-height: 1.3; color: var(--text); }
.td__feed li b { font-family: var(--display); font-size: .95rem; letter-spacing: .02em; }
.td__feed li .t { font: 700 .78rem/1 var(--display); color: var(--mute); letter-spacing: .06em; margin-right: 6px; }
.td__feed li.is-new { animation: feed-in .45s ease-out; border-left-color: var(--ball); }
.td__feed li.h { border-left-color: var(--ball); }
.td__feed li.a { border-left-color: var(--engine); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.td__out { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }
.td__out span:first-child { font: 600 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); margin-right: 4px; }
.chip { font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 6px 9px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--mute); transition: color .25s, border-color .25s, background .25s; }
.chip.on { color: #04141a; background: var(--engine); border-color: var(--engine); }
.td__cap { margin: 12px 2px 0; font-size: .82rem; color: var(--mute); }
.dot { transition: opacity .3s; }
@media (max-width: 480px) { .td__body { grid-template-columns: 1fr; } .td__feed { height: 196px; } .td__pts { font-size: 2.6rem; } }

/* ── proof as a box score ─────────────────────────────────────────────── */
.box { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.box caption { text-align: left; caption-side: top; padding-bottom: 14px; color: var(--mute); font-size: .95rem; }
.box th, .box td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.box thead th { font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); border-bottom: 2px solid var(--chalk); }
.box tbody th { font-weight: 600; color: var(--text); width: 46%; }
.box td { font: 900 clamp(1.7rem, 3.4vw, 2.5rem)/1 var(--display); color: var(--chalk); white-space: nowrap; }
.box td small { font: 500 .85rem/1.3 var(--body); color: var(--mute); display: block; margin-top: 6px; white-space: normal; }
.box tr.hl td { color: var(--ball); }
.proof { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } .box tbody th { width: auto; } }
.progress { height: 10px; background: var(--panel-2); border-radius: 5px; overflow: hidden; margin: 8px 0 6px; max-width: 420px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ball), var(--ball-hi)); }

/* ── feature tiles (home) ─────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--night); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--line); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tile__img--phone img { object-fit: cover; object-position: top center; }
.tile__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile__body p { margin: 0; color: var(--text); font-size: .98rem; }
.tile__links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .95rem; font-weight: 600; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }

/* ── screenshots ──────────────────────────────────────────────────────── */
.shot { margin: 0; }
.shot__zoom { display: block; border-radius: 8px; cursor: zoom-in; }
.shot__zoom:hover img { border-color: var(--engine); }
.shot picture, .shot img { border-radius: 8px; }
.shot img { border: 1px solid var(--line-2); box-shadow: 0 24px 60px -28px rgba(0,0,0,.9); background: var(--panel); }
.shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--mute); }
.shot--phone { max-width: 340px; }
.shot--phone img { border-radius: 26px; border: 6px solid #1d2131; }
.shot.mx { margin-inline: auto; }

/* ── archive band ─────────────────────────────────────────────────────── */
.band { background: radial-gradient(120% 140% at 0% 0%, #2a1764 0%, #170f38 45%, var(--ink) 100%); border-block: 1px solid var(--line); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 14px; height: 8px; border-left: 2.5px solid var(--engine); border-bottom: 2.5px solid var(--engine); transform: rotate(-45deg); }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ── price teaser / offer ─────────────────────────────────────────────── */
.teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px 48px; align-items: center; background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4vw, 44px); }
.teaser .big { font: 900 clamp(3rem, 7vw, 5rem)/.9 var(--display); color: var(--chalk); }
.teaser .big small { font: 700 1.1rem/1.2 var(--display); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; display: block; margin-top: 8px; }
.teaser__price { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 720px) { .teaser { grid-template-columns: 1fr; } }
.offer { border: 1px dashed color-mix(in srgb, var(--ball) 70%, transparent); border-radius: 12px; padding: clamp(20px, 3vw, 32px); background: color-mix(in srgb, var(--ball) 6%, var(--ink)); }
.offer h3 { color: var(--ball); margin-bottom: 14px; }
.offer ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.offer p:last-child { margin-bottom: 0; }

/* ── features page ────────────────────────────────────────────────────── */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 36px); }
.page-head .lede { margin-top: 20px; }
.fx { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fx__index { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; }
.fx__index p { font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin: 0 0 12px; }
.fx__index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: g; }
.fx__index a { display: block; padding: 7px 10px; border-left: 2px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: .97rem; }
.fx__index a:hover { color: var(--chalk); border-left-color: var(--engine); }
.fx__index a.is-on { color: var(--chalk); border-left-color: var(--ball); background: var(--night); }
.fx__index ul { list-style: none; margin: 2px 0 10px; padding: 0 0 0 12px; display: none; }
.fx__index li.is-open ul { display: grid; }
.fx__index ul a { font-size: .88rem; font-weight: 500; color: var(--mute); padding: 4px 10px; border-left-color: transparent; }
.group { padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: 0; }
.group > h2 { margin-bottom: 12px; }
.group > .lede { margin-bottom: 30px; }
.feat { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 3vw, 40px); padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.feat--text { grid-template-columns: minmax(0, 1fr); }
.feat--text .feat__txt { max-width: 72ch; }
.feat h3 { margin-bottom: 12px; }
.feat p { color: var(--text); }
.refs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .96rem; }
.tag { display: inline-block; font: 700 .76rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; padding: 5px 8px; border-radius: 4px; margin-bottom: 12px; }
.tag--live { color: #04141a; background: var(--engine); }
.tag--login { color: var(--chalk); background: var(--panel-2); border: 1px solid var(--line-2); }
.tag--soon { color: #160800; background: var(--ball); }
.chips-nav { display: none; }
@media (max-width: 960px) {
  .fx { grid-template-columns: 1fr; }
  .fx__index { display: none; }
  .chips-nav { display: flex; gap: 8px; overflow-x: auto; position: sticky; top: 64px; z-index: 10; background: var(--ink); padding: 12px var(--gut); margin: 0 calc(-1 * var(--gut)) 24px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .chips-nav::-webkit-scrollbar { display: none; }
  .chips-nav a { flex: none; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); }
  .chips-nav a.is-on { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
  .feat { grid-template-columns: 1fr; }
}

/* ── steps (wdrożenie) ────────────────────────────────────────────────── */
.need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.need article { background: var(--night); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.need h3 { margin-bottom: 12px; }
.need p:last-child { margin-bottom: 0; }
.need .if { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--mute); }
@media (max-width: 760px) { .need { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 84px minmax(0, 1fr) 190px; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(s, decimal-leading-zero); font: 900 3rem/.9 var(--display); color: var(--ball); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; }
.steps .when { font: 700 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--engine); text-align: right; }
@media (max-width: 760px) { .steps > li { grid-template-columns: 54px minmax(0, 1fr); } .steps > li::before { font-size: 2.2rem; } .steps .when { grid-column: 2; text-align: left; } }

/* ── pricing calculator ───────────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--night); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.calc__in { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 28px; align-content: start; }
.calc__out { padding: clamp(22px, 3.4vw, 40px); background: linear-gradient(160deg, #241459 0%, #140d33 60%, #0f0b26 100%); border-left: 1px solid var(--line-2); display: grid; gap: 22px; align-content: start; }
.field > label, .field > legend, .field__lbl { font: 700 .92rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); display: block; margin-bottom: 12px; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.teams { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 16px; align-items: center; }
.teams input[type=number] { width: 100%; font: 900 2.2rem/1 var(--display); color: var(--chalk); background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 12px; text-align: center; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--ball); height: 32px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg label { position: relative; text-align: center; cursor: pointer; display: grid; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 12px 6px; font: 700 1rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--text); border-left: 1px solid var(--line-2); }
.seg label:first-child span { border-left: 0; }
.seg span small { display: block; font: 600 .78rem/1.2 var(--body); text-transform: none; letter-spacing: 0; color: var(--mute); margin-top: 3px; }
.seg input:checked + span { background: var(--chalk); color: var(--ink); }
.seg input:checked + span small { color: #3a4157; }
.seg input:focus-visible + span { outline: 3px solid var(--engine); outline-offset: -3px; }
.vat { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.vat label { position: relative; }
.vat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.vat span { display: block; padding: 8px 16px; font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.vat input:checked + span { background: var(--engine); color: #04141a; }
.vat input:focus-visible + span { outline: 3px solid var(--chalk); outline-offset: -3px; }
.res__main { font: 900 clamp(3.2rem, 7vw, 4.8rem)/.9 var(--display); color: var(--chalk); font-variant-numeric: tabular-nums; }
.res__main small, .res__row small { font: 700 1rem/1.2 var(--display); color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.res__lbl { font: 700 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--engine); margin: 0 0 10px; }
.res__rows { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.res__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.res__row span:first-child { color: var(--text); font-size: .98rem; }
.res__row b { font: 900 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res__note { font-size: .88rem; color: var(--mute); margin: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc__out { border-left: 0; border-top: 1px solid var(--line-2); } }
.rates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates th, .rates td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.rates thead th { font: 700 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); border-bottom: 2px solid var(--chalk); }
.rates td.n, .rates th.n { text-align: right; }
.rates td b { font: 700 1.2rem/1 var(--display); }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 820px) { .twocol { grid-template-columns: 1fr; } }
.qa dt { font: 700 1.25rem/1.15 var(--display); text-transform: uppercase; color: var(--chalk); margin-top: 26px; }
.qa dt:first-child { margin-top: 0; }
.qa dd { margin: 8px 0 0; color: var(--text); }
.inc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.inc li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.inc li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px; border-left: 2.5px solid var(--ball); border-bottom: 2.5px solid var(--ball); transform: rotate(-45deg); }
@media (max-width: 620px) { .inc { grid-template-columns: 1fr; } }

/* ── contact ──────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mailbig { font: 900 clamp(2rem, 5.6vw, 3.6rem)/1 var(--display); color: var(--chalk); text-decoration: none; word-break: break-word; border-bottom: 3px solid var(--ball); }
.mailbig:hover { color: var(--ball-hi); }
.card { background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.card ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--night); padding: 52px 0 28px; margin-top: 0; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__lede { color: var(--mute); max-width: 42ch; margin-top: 14px; font-size: .95rem; }
.foot__h { font: 700 .86rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin: 6px 0 14px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__list a { text-decoration: none; color: var(--text); }
.foot__list a:hover { color: var(--engine); }
.foot__fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.foot__fine p { margin: 0; max-width: 90ch; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── featured views (home, /funkcje) ──────────────────────────────────── */
.show { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.show--flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.show--flip > .shot { order: 2; }
.show--phone { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.show--phone .shot { justify-self: center; }
.show__txt h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.show__txt p { color: var(--text); }
.show__txt .ticks { margin: 0 0 18px; }
.show__txt .refs { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; margin: 0; }
@media (max-width: 900px) { .show, .show--phone, .show--flip { grid-template-columns: minmax(0, 1fr); } .show--flip > .shot { order: 0; } }
.solver { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: baseline; padding: 18px 20px; margin: 4px 0 20px; border: 1px solid var(--line-2); border-left: 4px solid var(--ball); border-radius: 8px; background: var(--night); }
.solver__pct { font: 900 clamp(2.8rem, 5vw, 3.6rem)/.9 var(--display); color: var(--ball); grid-row: span 2; }
.solver__main { font: 700 1.2rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--chalk); margin: 0; }
.solver__note { font-size: .86rem; color: var(--mute); margin: 0; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); align-items: start; }
.phones .shot--phone { max-width: none; }
.phones figcaption { font: 700 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--chalk); text-align: center; }
@media (max-width: 900px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat--wide { grid-template-columns: minmax(0, 1fr); }
.feat--wide .feat__txt { max-width: 76ch; }
