/* Inter (SIL Open Font License 1.1), czcionki u siebie - bez Google Fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b1020;
  --bg-alt: #0f1529;
  --surface: #151c33;
  --line: #26304d;
  --text: #f4f6fb;
  --muted: #a9b2c8;
  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --gold: #e3b964;
  --gold-strong: #d4a347;
  --green: #4ade80;
  --radius: 18px;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #93c5fd; }
a:hover { color: #bfdbfe; }
:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  padding: 10px 14px; border-radius: 10px; background: var(--blue-strong); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

/* --- Nagłówek --- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(38, 48, 77, 0.7);
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { border-radius: 8px; }
.top__nav { display: flex; align-items: center; gap: 4px; }
.top__nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center;
}
.top__nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.top__nav .top__cta { color: #1a1206; background: var(--gold); margin-left: 6px; font-weight: 600; }
.top__nav .top__cta:hover { background: #ecc77c; color: #1a1206; }
@media (max-width: 720px) {
  .top__nav a:not(.top__cta) { display: none; }
}

/* --- Przyciski --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-strong); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: #3b4a73; background: rgba(255, 255, 255, 0.04); color: var(--text); }
.btn--gold { background: var(--gold); color: #1a1206; }
.btn--gold:hover { background: #ecc77c; color: #1a1206; }

/* --- Hero --- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(59, 130, 246, 0.18), transparent 70%),
    radial-gradient(520px 320px at 12% 62%, rgba(227, 185, 100, 0.07), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 750; margin-top: 18px; }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(227, 185, 100, 0.1); border: 1px solid rgba(227, 185, 100, 0.35);
  color: #f0d49b; font-size: 14px; font-weight: 600;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227, 185, 100, 0.18); }

/* Rzutnik zajmuje lewą część, telefon stoi obok i niżej - zachodzi tylko na
   brzeg obrazu, nie na tekst pieśni. */
.hero__visual { position: relative; padding-right: 20%; padding-bottom: 24%; }
.screen__frame {
  border-radius: 14px; overflow: hidden;
  border: 1px solid #2c3757;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.025);
}
.screen figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.phone--hero { position: absolute; right: 0; bottom: 0; width: 27%; }
.phone--hero .phone__frame { padding: 16px 6px 14px; border-radius: 30px; }
.phone--hero .phone__frame img { border-radius: 14px; }
.phone--hero .phone__frame::after { top: 7px; height: 3px; }
@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Ramki urządzeń --- */
/* Głośnik w górnej ramce, a nie wycięcie nad ekranem - wycięcie zasłaniało
   nagłówek aplikacji na zrzucie. */
.phone__frame {
  position: relative;
  padding: 26px 9px 22px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2f3d, #0d1018 60%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone__frame img { border-radius: 22px; }
.phone__frame::after {
  content: ''; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 22%; height: 5px; border-radius: 3px; background: #05070c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tablet__frame {
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(145deg, #2a2f3d, #0d1018 60%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tablet__frame img { border-radius: 16px; }

.window {
  border-radius: 14px; overflow: hidden;
  border: 1px solid #2c3757; background: #0b1020;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.window__bar {
  display: flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  background: #161d33; border-bottom: 1px solid #26304d;
}
.window__bar > span:not(.win-btns) { width: 11px; height: 11px; border-radius: 50%; background: #3a4566; }
.window__bar em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 10px; }
.window--app .window__bar em { margin-left: 0; flex: 1; }
.win-btns { display: flex; align-items: center; gap: 18px; color: #8e99b8; }
.win-btns svg { width: 12px; height: 12px; display: block; fill: none; stroke: currentColor; stroke-width: 1.3; }

/* --- Sekcje --- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.section__title { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 720; max-width: 22em; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 40em; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* --- Informacja o testach --- */
.notice { padding: 0 0 8px; margin-top: -40px; position: relative; z-index: 2; }
.notice__inner {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  max-width: calc(var(--wrap) - 40px);
}
.notice h2 { font-size: 22px; font-weight: 700; }
.notice p { margin-top: 8px; color: var(--muted); }
.notice__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(227, 185, 100, 0.12); color: var(--gold);
}
@media (max-width: 720px) {
  .notice { margin-top: -24px; }
  .notice__inner { flex-direction: column; padding: 22px; }
}

/* --- Możliwości --- */
.features {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.feature {
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.feature__icon {
  width: 28px; height: 28px; fill: none; stroke: #93c5fd;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { margin-top: 18px; font-size: 18px; font-weight: 650; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1080px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* --- Wygląd --- */
.phones {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.phones figcaption, .devices figcaption, .app-window figcaption {
  margin-top: 18px; color: var(--muted); font-size: 15px; text-align: center;
}
.phones figcaption strong, .devices figcaption strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 760px) {
  /* Telefony w rzędzie przewijanym palcem zamiast trzech miniatur. */
  .phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px;
    margin-left: -20px; margin-right: -20px; padding: 4px 20px 16px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phones > .phone { scroll-snap-align: center; }
}

.devices {
  margin-top: 72px;
  display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 40px; align-items: end;
}
@media (max-width: 900px) {
  .devices { grid-template-columns: 1fr; }
  .tablet { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* --- Jak to działa --- */
.jak { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; align-items: center; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: krok; display: grid; gap: 24px; }
.steps li { counter-increment: krok; position: relative; padding-left: 64px; }
.steps li::before {
  content: counter(krok);
  position: absolute; left: 0; top: -2px;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.14); color: #bfdbfe; font-weight: 700;
}
.steps h3 { font-size: 19px; font-weight: 650; }
.steps p { margin-top: 6px; color: var(--muted); }
.app-window { max-width: 460px; margin: 0 auto; width: 100%; }
@media (max-width: 900px) { .jak { grid-template-columns: 1fr; gap: 48px; } }

/* --- Wsparcie --- */
.support { padding-top: 24px; }
.support__inner {
  text-align: center; max-width: 820px;
  padding: 56px 40px; border-radius: 24px;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(227, 185, 100, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.support h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 720; }
.support p { margin: 16px auto 0; color: var(--muted); max-width: 36em; }
.support .btn { margin-top: 28px; }
.support__pending { font-size: 15px; }
@media (max-width: 720px) { .support__inner { padding: 40px 22px; } }

/* --- Stopka --- */
.footer { padding: 40px 0 48px; border-top: 1px solid var(--line); margin-top: 72px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; }
.footer__muted { color: var(--muted); }

/* --- 404 --- */
.notfound { max-width: 640px; text-align: center; }
.notfound h1 { font-size: 34px; }
.notfound p { margin-top: 14px; color: var(--muted); }
.notfound .btn { margin-top: 28px; }

[hidden] { display: none !important; }
