:root {
  --navy: #0d2a4d;
  --navy-deep: #050d1a;
  --yellow: #ffd400;
  --yellow-ink: #8a6d00;
  --green: #34c759;
  --red: #ff453a;
  --bg: #f5f7fb;
  --bg-alt: #eaeef5;
  --card: #ffffff;
  --text: #14202e;
  --muted: #5b6b7d;
  --border: #e1e6ee;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(13, 42, 77, .06), 0 8px 24px rgba(13, 42, 77, .06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #07111f; --bg-alt: #0a1728; --card: #0e1e34; --text: #eef3f9; --muted: #9fb0c3;
          --border: #1c3050; --yellow-ink: var(--yellow); --shadow: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--yellow); color: #000;
        padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }

/* Both languages are in the page. Without JavaScript only Polish is shown. */
html:not(.en) [lang="en"]:not(html) { display: none !important; }
html.en [lang="pl"]:not(html) { display: none !important; }

/* Icons */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Navigation */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 13, 26, .82);
       backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
       border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: .2px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; opacity: .82; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.langs { display: flex; gap: 4px; background: rgba(255,255,255,.1); padding: 3px; border-radius: 999px; }
.langs button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: transparent; color: #fff;
                padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--yellow); color: #000; }
@media (max-width: 760px) { .top nav a.hide-sm { display: none; } }

/* Dark bands share the court background */
.dark { color: #fff; position: relative; overflow: hidden;
        background: radial-gradient(1000px 480px at 75% 0%, rgba(255,212,0,.10), transparent 60%),
                    linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.dark::before { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background:
    linear-gradient(#fff, #fff) 50% 0 / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 18% / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 82% / 100% 2px no-repeat; }
.dark > .wrap { position: relative; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
              padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
           letter-spacing: 2px; text-transform: uppercase; color: var(--yellow-ink); }
.dark .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; margin: 14px 0 18px; letter-spacing: -1.2px; }
.lead { font-size: 20px; opacity: .86; margin: 0 0 28px; max-width: 36ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
       font-weight: 700; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--yellow); color: #000; }
.btn.ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px;
         background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); line-height: 1.15; }
.store small { display: block; font-size: 11px; opacity: .75; }
.store strong { font-size: 17px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none;
         font-size: 14px; opacity: .85; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { width: 17px; height: 17px; color: var(--yellow); }
.req { font-size: 13px; opacity: .6; margin: 14px 0 0; }
.devices { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-left: 80px; }
.phone { width: min(260px, 62vw); border-radius: 46px; padding: 10px; background: #111;
         box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px #2a2a2a; }
.phone img { border-radius: 37px; }
.watch { width: min(160px, 36vw); border-radius: 48px; padding: 9px; background: #1a1a1a;
         box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 0 0 2px #3a3a3a; }
.watch img { border-radius: 40px; }
.devices .watch { position: absolute; left: 2%; bottom: 24px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta, .trust { justify-content: center; }
  .devices { padding-left: 60px; }
}

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.12; margin: 10px 0 12px; letter-spacing: -.6px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.grid > *, .gallery > *, .steps > *, .gesture > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
        box-shadow: var(--shadow); }
.card .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
              background: var(--navy); color: var(--yellow); margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Double Tap */
.gesture .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.gesture h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; margin: 12px 0 14px; letter-spacing: -.6px; }
.gesture .lead { max-width: 44ch; }
.taps { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.taps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
           background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
           border-radius: 16px; padding: 14px 18px; }
.taps .count { display: flex; gap: 5px; }
.taps .count span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
                    background: var(--yellow); color: #000; font-weight: 800; font-size: 13px; }
.taps strong { display: block; font-size: 18px; }
.taps small { opacity: .75; font-size: 14px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.green { background: var(--green); }
.dot.red { background: var(--red); }
.gesture .note { font-size: 14px; opacity: .7; margin: 0; }
.watches { display: flex; justify-content: center; align-items: center; gap: 22px; }
.watches figure { margin: 0; text-align: center; }
.watches figcaption { margin-top: 12px; font-size: 14px; opacity: .8; }
.watches .watch { width: min(200px, 40vw); }
.watches figure:last-child .watch { box-shadow: 0 0 0 3px var(--yellow), 0 24px 60px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .gesture .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* Formats */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px;
            font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.chips li b { color: var(--yellow-ink); font-weight: 800; }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.shot { margin: 0; }
.shot .frame { border-radius: 34px; padding: 7px; background: #111; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.shot .frame img { border-radius: 28px; }
.shot .frame.card-img { padding: 0; background: transparent; border-radius: 22px; overflow: hidden; }
.shot .frame.card-img img { border-radius: 22px; transform: scale(1.012); }
.shot figcaption { text-align: center; margin-top: 14px; font-weight: 700; font-size: 15px; }
.shot figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  .gallery { gap: 14px; }
  .shot .frame { border-radius: 26px; padding: 5px; }
  .shot .frame img { border-radius: 22px; }
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 66px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 26px;
                width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: #000;
                font-weight: 800; display: grid; place-items: center; }

/* Privacy band */
.band { border-radius: 28px; padding: 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px;
        align-items: center; }
.band .shield { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
                background: rgba(255,212,0,.15); color: var(--yellow); }
.band .shield .i { width: 34px; height: 34px; }
.band h2 { margin: 0 0 6px; font-size: 28px; }
.band p { margin: 0; opacity: .8; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; justify-items: center; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px;
               box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex;
               justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }
.contact { text-align: center; margin-top: 36px; }
.contact p { margin: 0 0 20px; color: var(--muted); }

/* Page header for subpages */
.page-head { padding: 52px 0 44px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 46px); }
.page-head p { margin: 0; opacity: .8; }

footer { border-top: 1px solid var(--border); padding: 36px 0 52px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- Illustrations and color ---------- */

/* Colorful feature icons */
.card .icon.c-green  { background: linear-gradient(135deg, #34c759, #0f9d58); color: #fff; }
.card .icon.c-yellow { background: linear-gradient(135deg, #ffd400, #ff9f0a); color: #3a2a00; }
.card .icon.c-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #fff; }
.card .icon.c-blue   { background: linear-gradient(135deg, #38bdf8, #1d4ed8); color: #fff; }
.card .icon.c-orange { background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff; }
.card .icon.c-red    { background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; }
.card .icon.c-teal   { background: linear-gradient(135deg, #2dd4bf, #0d9488); color: #fff; }
.card .icon.c-pink   { background: linear-gradient(135deg, #f472b6, #db2777); color: #fff; }
.card .icon.c-sky    { background: linear-gradient(135deg, #7dd3fc, #0284c7); color: #fff; }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13,42,77,.06), 0 18px 40px rgba(13,42,77,.12); }

/* Formats section: soft court colors */
.formats { background:
  radial-gradient(600px 300px at 10% 0%, rgba(47, 128, 255, .16), transparent 70%),
  radial-gradient(600px 300px at 90% 100%, rgba(255, 212, 0, .18), transparent 70%),
  var(--bg-alt); }
.chips li:nth-child(3n+1) { border-color: rgba(47, 128, 255, .35); }
.chips li:nth-child(3n+2) { border-color: rgba(52, 199, 89, .35); }
.chips li:nth-child(3n)   { border-color: rgba(255, 159, 10, .4); }

/* Reveal on scroll (only with JavaScript and when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .reveal { opacity: 0; transform: translateY(26px);
                              transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  html.reveal-ready .reveal.visible { opacity: 1; transform: none; }
  html.reveal-ready .grid .reveal:nth-child(3n+2), html.reveal-ready .gallery .reveal:nth-child(4n+2),
  html.reveal-ready .steps .reveal:nth-child(2) { transition-delay: .08s; }
  html.reveal-ready .grid .reveal:nth-child(3n), html.reveal-ready .gallery .reveal:nth-child(4n+3),
  html.reveal-ready .steps .reveal:nth-child(3) { transition-delay: .16s; }
  html.reveal-ready .gallery .reveal:nth-child(4n) { transition-delay: .24s; }
}

/* Tapazo logo above the hero headline */
.hero-logo { display: block; width: min(320px, 78%); height: auto; margin: -8px 0 10px -10px; }
@media (max-width: 900px) { .hero-logo { margin: 0 auto 8px; } }
