/* Pełny Sygnał: landing dla klientów.
   Kierunek: technika sygnału, plansza kontrolna, teletekst. Czcionki lokalne (OFL). */

@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-ext-wdth.woff2) format('woff2');
  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: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-wdth.woff2) format('woff2');
  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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(assets/fonts/jetbrains-mono-latin-ext-wght.woff2) format('woff2');
  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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(assets/fonts/jetbrains-mono-latin-wght.woff2) format('woff2');
  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: #eef1f5;
  --paper: #ffffff;
  --soft: #f4f6fa;
  --ink: #0b1230;
  --ink-2: #4a5470;
  --ink-3: #7d86a2;
  --line: rgba(11, 18, 48, .12);
  --line-2: rgba(11, 18, 48, .2);
  --blue: #1946e0;
  --blue-2: #0f2f9e;
  --blue-soft: #e8eeff;
  --navy: #0b1230;
  --navy-2: #121c46;
  --yellow: #ffd21a;
  --yellow-2: #ffe066;
  --red: #e5322b;
  --green: #14b86a;
  --screen: #05070f;
  --bar-1: #f2f2f2; --bar-2: #ffe600; --bar-3: #00c2e0; --bar-4: #13c26b; --bar-5: #e0249a; --bar-6: #f03a2e; --bar-7: #2140e8;
  --f-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1260px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-sans); font-stretch: 100%; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: .8rem 1rem; font-weight: 700; text-decoration: none; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
main { overflow-x: clip; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Wspólne ---------- */
.hero__grid > *, .diag__grid > *, .guide > *, .sky__grid > *, .aim__grid > *, .radar__grid > *, .order__grid > *, .ttx__body > * { min-width: 0; }
.tag { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem .45rem .6rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .7); font: 600 .74rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229, 50, 43, .6); animation: rec 1.8s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 8px rgba(229, 50, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 50, 43, 0); } }
.section { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; }
.head { margin-bottom: clamp(2.2rem, 4.5vw, 3.8rem); }
.head--row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: end; }
.head__idx { font: 600 .8rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem; }
.head__idx--light { color: var(--yellow); }
.h2 { font-weight: 800; font-stretch: 112%; font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.028em; max-width: 18ch; text-wrap: balance; }
.h2--light { color: #fff; }
.head__lead { color: var(--ink-2); font-size: 1.06rem; max-width: 52ch; }

.btn { display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 1.45rem; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 750; font-stretch: 108%; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1); transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); background: var(--yellow-2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(11, 18, 48, .45); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn--wide { width: 100%; justify-content: center; padding-block: 1.2rem; font-size: 1.1rem; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; }
.bars b { width: 3px; background: currentColor; border-radius: 1px; }
.bars b:nth-child(1) { height: 30%; } .bars b:nth-child(2) { height: 55%; } .bars b:nth-child(3) { height: 80%; } .bars b:nth-child(4) { height: 100%; opacity: .28; }
.btn:hover .bars b, .btn.is-loading .bars b { animation: sig 1s infinite; }
.btn:hover .bars b:nth-child(2), .btn.is-loading .bars b:nth-child(2) { animation-delay: .12s; }
.btn:hover .bars b:nth-child(3), .btn.is-loading .bars b:nth-child(3) { animation-delay: .24s; }
.btn:hover .bars b:nth-child(4), .btn.is-loading .bars b:nth-child(4) { animation-delay: .36s; }
@keyframes sig { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.bars--full b { opacity: 1 !important; color: var(--green); }
.linkish { display: inline-flex; align-items: center; gap: .45rem; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.linkish svg { width: 18px; height: 18px; }

/* ---------- Nagłówek ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .35s, box-shadow .35s, height .35s; }
.header.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); height: 64px; }
.header__in { display: flex; align-items: center; gap: 1.6rem; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--yellow); }
.logo__mark svg { width: 24px; height: 24px; }
.logo:hover .logo__mark rect { animation: sig 1s infinite; }
.logo:hover .logo__mark rect:nth-child(2) { animation-delay: .12s; } .logo:hover .logo__mark rect:nth-child(3) { animation-delay: .24s; } .logo:hover .logo__mark rect:nth-child(4) { animation-delay: .36s; }
.logo__txt { font-weight: 650; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1; }
.logo__txt b { margin-left: .12em; font-weight: 900; font-stretch: 125%; color: var(--blue); }
.logo--light .logo__mark { background: var(--yellow); color: var(--ink); }
.logo--light .logo__txt { color: #fff; }
.logo--light .logo__txt b { color: var(--yellow); }
.nav { display: flex; gap: 1.5rem; font-weight: 600; font-size: .93rem; }
.nav a { position: relative; text-decoration: none; padding: .35rem 0; color: var(--ink-2); transition: color .25s; }
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a.is-current::before { content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--red); }
.nav__phone { display: none; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem/1 var(--f-mono); text-decoration: none; }
.header__phone svg { width: 18px; height: 18px; color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 40%, rgba(238, 241, 245, .35), var(--bg) 85%); pointer-events: none; }
.hero__beams { position: absolute; right: -240px; top: -240px; width: 900px; height: 900px; pointer-events: none; }
.hero__beams i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(25, 70, 224, .22); transform: scale(.15); opacity: 0; animation: beam 7s linear infinite; }
.hero__beams i:nth-child(2) { animation-delay: -1.75s; } .hero__beams i:nth-child(3) { animation-delay: -3.5s; } .hero__beams i:nth-child(4) { animation-delay: -5.25s; }
@keyframes beam { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { margin: 1.4rem 0 1.4rem; font-weight: 820; font-stretch: 115%; font-size: clamp(2.7rem, 5.8vw, 5.6rem); line-height: .98; letter-spacing: -.035em; }
.hero__title span { display: block; }
.hero__title-2 { color: var(--blue); }
.hero__lead { max-width: 50ch; font-size: clamp(1.02rem, 1.25vw, 1.14rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.4rem; }
.hero__specs { display: flex; gap: 0; border-top: 1px solid var(--line-2); max-width: 520px; }
.hero__specs div { flex: 1; padding: 1rem 1rem 0 0; }
.hero__specs div + div { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.hero__specs dt { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }
.hero__specs dd { font-weight: 850; font-stretch: 125%; font-size: 1.55rem; line-height: 1; letter-spacing: -.02em; }
.js [data-hero] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-hero]:nth-child(2) { transition-delay: .08s; } .js [data-hero]:nth-child(3) { transition-delay: .16s; } .js [data-hero]:nth-child(4) { transition-delay: .24s; } .js [data-hero]:nth-child(5) { transition-delay: .32s; }
.js .hero__device[data-hero] { transform: translateY(30px) scale(.97); transition-delay: .2s; }
.is-ready [data-hero] { opacity: 1; transform: none !important; }

/* Telewizor */
.hero__device { position: relative; }
.tv { position: relative; padding: 14px 14px 0; border-radius: 24px; background: linear-gradient(160deg, #262c40, #0c0f19 60%); box-shadow: 0 50px 90px -40px rgba(11, 18, 48, .65), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.tv__glass { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--screen); isolation: isolate; }
.tv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(1.05); }
.tv__noise { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 1; transition: opacity .25s; }
.tv__scan { position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, .42)); }
.tv__glass::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .12), transparent 32%); }
.tv__chin { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 .4rem; }
.tv__led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.tv__brand { font: 600 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.osd { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(.7rem, 1.6vw, 1.2rem); color: #fff; font: 600 clamp(.62rem, .95vw, .8rem)/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.osd__top { display: flex; justify-content: space-between; gap: 1rem; }
.osd__ch { padding: .3rem .5rem; background: rgba(25, 70, 224, .85); border-radius: 4px; }
.osd__az { padding: .3rem .5rem; background: rgba(0, 0, 0, .45); border-radius: 4px; }
.osd__msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .6rem 1rem; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .5); font-size: clamp(.8rem, 1.4vw, 1.1rem); transition: opacity .3s; white-space: nowrap; }
.tv.is-tuned .osd__msg { opacity: 0; }
.osd__meters { display: grid; gap: .45rem; width: min(62%, 320px); padding: .7rem .8rem; background: rgba(5, 7, 15, .7); border-radius: 6px; }
.osd__meters p { display: grid; grid-template-columns: 5.6em 1fr 3.2em; align-items: center; gap: .6rem; }
.osd__meters i { display: block; height: 8px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.osd__meters b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow) 45%, var(--green) 85%); background-size: 320px 100%; }
.osd__meters em { font-style: normal; text-align: right; color: var(--yellow); }
.retune { position: absolute; right: 18px; bottom: -58px; display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .5rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font: 600 .78rem/1 var(--f-mono); letter-spacing: .04em; cursor: pointer; transition: background .25s; }
.retune:hover { background: var(--yellow); }
.retune__knob { position: relative; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9cfdf); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .15); transition: transform .8s var(--ease); }
.retune__knob::after { content: ""; position: absolute; left: 50%; top: 3px; width: 2px; height: 8px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.retune.is-turning .retune__knob { transform: rotate(270deg); }

/* ---------- Plansza i taśma ---------- */
.testbars { display: flex; height: 12px; }
.testbars i { flex: 1; }
.testbars i:nth-child(1) { background: var(--bar-1); } .testbars i:nth-child(2) { background: var(--bar-2); } .testbars i:nth-child(3) { background: var(--bar-3); } .testbars i:nth-child(4) { background: var(--bar-4); } .testbars i:nth-child(5) { background: var(--bar-5); } .testbars i:nth-child(6) { background: var(--bar-6); } .testbars i:nth-child(7) { background: var(--bar-7); }
.testbars--thin { height: 6px; }
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 1.2rem; padding: 1rem 1.2rem 1rem 0; font: 600 .9rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--blue); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: calc(var(--rd, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Diagnoza ---------- */
.diag__grid { display: grid; grid-template-columns: .9fr 1.25fr 1fr; gap: 1.6rem; align-items: start; }
.diag__list { display: grid; gap: .5rem; }
.symptom { display: flex; align-items: center; gap: .85rem; width: 100%; padding: .95rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); text-align: left; font-weight: 600; font-size: .97rem; line-height: 1.3; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.symptom:hover { transform: translateX(4px); border-color: var(--ink); }
.symptom__no { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--soft); font: 700 .8rem/1 var(--f-mono); color: var(--blue); transition: background .25s, color .25s; }
.symptom[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.symptom[aria-pressed="true"] .symptom__no { background: var(--yellow); color: var(--ink); }
.diag__screen { position: sticky; top: 90px; }
.diag__canvas { width: 100%; height: 100%; }
.diag__note { margin-top: .6rem; text-align: center; font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cause { padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; animation: cause-in .5s var(--ease); }
@keyframes cause-in { from { opacity: 0; transform: translateY(10px); } }
.cause h3 { font-weight: 800; font-stretch: 110%; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1rem; }
.cause h4 { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 1rem 0 .6rem; }
.cause ul { display: grid; gap: .35rem; }
.cause li { position: relative; padding-left: 1.1rem; color: var(--ink-2); font-size: .95rem; }
.cause li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 1px; }
.cause p { color: var(--ink-2); font-size: .95rem; }
.cause__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.cause__cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cause__cta:hover svg { transform: translateX(4px); }

/* ---------- Usługi (przewodnik po kanałach) ---------- */
.services { background: var(--paper); }
.guide { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 1.6rem; align-items: start; }
.guide__list { display: grid; gap: .35rem; padding: .5rem; border-radius: 20px; background: var(--soft); }
.guide__list button { position: relative; display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: .6rem; padding: .85rem .9rem; border: 0; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.guide__list button:hover { background: rgba(11, 18, 48, .06); }
.guide__list button[aria-selected="true"] { background: var(--ink); color: #fff; }
.guide__ch { font: 700 .88rem/1 var(--f-mono); color: var(--blue); }
.guide__list button[aria-selected="true"] .guide__ch { color: var(--yellow); }
.guide__name { font-weight: 600; font-size: .96rem; line-height: 1.25; }
.guide__cat { padding: .28rem .45rem; border-radius: 5px; background: rgba(25, 70, 224, .12); color: var(--blue); font: 600 .62rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.guide__cat--t { background: rgba(20, 184, 106, .14); color: #0c7a47; }
.guide__cat--s { background: rgba(224, 36, 154, .12); color: #a3176e; }
.guide__cat--m { background: rgba(255, 210, 26, .3); color: #7a5b00; }
.guide__cat--o { background: rgba(11, 18, 48, .08); color: var(--ink-2); }
.guide__list button[aria-selected="true"] .guide__cat { background: rgba(255, 255, 255, .14); color: #fff; }
.program { position: relative; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -40px rgba(11, 18, 48, .35); }
.program:not([hidden]) { animation: prog-in .45s var(--ease); }
@keyframes prog-in { from { opacity: 0; } }
.program__bar { position: relative; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.4rem; background: var(--ink); color: #fff; font: 600 .78rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.program__bar span:first-child { color: var(--yellow); }
.program__live { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; }
.program__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.program__body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.program__icon { width: 58px; height: 58px; color: var(--blue); margin-bottom: 1.2rem; }
.program h3 { font-weight: 820; font-stretch: 112%; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1rem; max-width: 20ch; }
.program p { color: var(--ink-2); font-size: 1.04rem; max-width: 60ch; }
.program__when { margin-top: 1.1rem; padding: .8rem 1rem; background: var(--soft); border-radius: 12px; font-size: .95rem !important; }
.program__when b { color: var(--ink); }
.program h4 { margin: 1.5rem 0 .7rem; font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.kit { display: flex; flex-wrap: wrap; gap: .45rem; }
.kit li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .82rem/1 var(--f-mono); }
.kit li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.program__cta { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; background: var(--yellow); font-weight: 750; font-stretch: 108%; text-decoration: none; transition: background .25s; }
.program__cta svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.program__cta:hover { background: var(--yellow-2); }
.program__cta:hover svg { transform: translateX(5px); }
.program.is-switching .program__body { animation: channel .35s steps(3); }
.program.is-switching::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .9; animation: static-fade .35s forwards;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes static-fade { 0% { opacity: .95; transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { opacity: 0; transform: translateY(4px); } }
@keyframes channel { 0% { transform: translateX(-6px); filter: blur(2px); } 100% { transform: none; filter: none; } }

/* ---------- Starlink ---------- */
.sky { background: radial-gradient(80% 60% at 70% 20%, #1b2a6b, var(--navy) 70%); color: #fff; overflow: hidden; }
.sky__stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sky__lead { margin: 1.4rem 0 2rem; font-size: 1.08rem; color: rgba(255, 255, 255, .75); max-width: 50ch; }
.sky__list { display: grid; gap: 1rem; margin-bottom: 2.2rem; counter-reset: s; }
.sky__list li { position: relative; padding: 0 0 1rem 3rem; border-bottom: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); counter-increment: s; }
.sky__list li::before { content: "0" counter(s); position: absolute; left: 0; top: .15rem; font: 700 .85rem/1 var(--f-mono); color: var(--yellow); }
.sky__list b { color: #fff; }
.sky__art svg { width: 100%; overflow: visible; }
.sky__cone { transform-origin: 330px 206px; animation: cone 5s ease-in-out infinite; }
@keyframes cone { 50% { opacity: .55; transform: scaleY(.96); } }
.sky__label { font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--yellow); }
.sky__sats { animation: train 9s linear infinite; }
@keyframes train { from { transform: translate(-260px, 40px); } to { transform: translate(360px, -60px); } }
.sky__dish { transform-origin: 330px 205px; animation: dish 6s ease-in-out infinite; }
@keyframes dish { 50% { transform: rotate(3deg); } }

/* ---------- Kalkulator anteny ---------- */
.aim__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.4rem; }
.aim__panel { display: grid; gap: 1.2rem; align-content: start; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.field { display: grid; gap: .45rem; align-content: start; }
.field > span:not(.combo) { font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field > span small { font: 500 .75rem var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.field > span b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .35rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .68rem; }
.field em, .group legend em, .consent em { font-style: normal; color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem .95rem; border: 1.5px solid transparent; border-radius: 12px; background: var(--soft); font-size: 1rem; font-weight: 500; transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230b1230' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: var(--paper); box-shadow: 0 0 0 4px rgba(25, 70, 224, .12); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.combo { position: relative; display: block; }
.combo__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 260px; overflow-y: auto; padding: .35rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(11, 18, 48, .35); }
.combo__list li { padding: .6rem .7rem; border-radius: 8px; cursor: pointer; font-weight: 500; }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--blue-soft); color: var(--blue-2); }
.combo__list li small { color: var(--ink-3); font: 500 .75rem var(--f-mono); margin-left: .4rem; }
.seg { display: flex; padding: 4px; margin: 0; border: 0; border-radius: 999px; background: var(--soft); min-width: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: .7rem .8rem; border-radius: 999px; text-align: center; font-weight: 650; font-size: .92rem; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.readout div { padding: .9rem 1rem; }
.readout div + div { border-left: 1px solid var(--line); }
.readout dt { font: 600 .64rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .45rem; }
.readout dd { font: 700 clamp(1.35rem, 2.2vw, 1.9rem)/1 var(--f-mono); letter-spacing: -.03em; color: var(--ink); }
.aim__place { font: 500 .8rem/1.3 var(--f-mono); color: var(--ink-3); }
.aim__viz { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: center; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 22px; background: var(--navy); color: #fff; }
.aim__viz figure { display: grid; gap: .6rem; justify-items: center; }
.aim__viz figcaption { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-align: center; }
.compass svg { width: 100%; max-width: 320px; }
.compass__ring { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.compass__ticks line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.compass__ticks line.major { stroke: rgba(255, 255, 255, .7); stroke-width: 2; }
.compass__n, .compass__l { font: 700 15px var(--f-mono); text-anchor: middle; fill: rgba(255, 255, 255, .6); }
.compass__n { fill: var(--yellow); }
.compass__sector { fill: rgba(255, 210, 26, .22); }
.compass__needle { transform-origin: 150px 150px; transition: transform 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.compass__needle path { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.compass__needle circle { fill: var(--yellow); }
.compass__hub { fill: var(--navy); stroke: var(--yellow); stroke-width: 3; }
.tilt svg { width: 100%; max-width: 260px; overflow: visible; }
.tilt__ground { stroke: rgba(255, 255, 255, .5); stroke-width: 2; }
.tilt__arc { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 3 6; }
.tilt__beam { transform-origin: 40px 170px; transition: transform 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.tilt__beam path { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 8 6; animation: dash 1.2s linear infinite; }
.tilt__beam circle { fill: var(--yellow); }
@keyframes dash { to { stroke-dashoffset: -14; } }
.tilt__wedge { fill: rgba(255, 210, 26, .18); }
.tilt__dish { transition: transform 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.tilt__dish path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.aim__note { margin-top: 1.2rem; font-size: .85rem; color: var(--ink-3); max-width: 90ch; }
.aim__note a { color: var(--ink-2); }

/* ---------- Jak działamy ---------- */
.chain { background: var(--paper); }
.chain__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.chain__list::before { content: ""; position: absolute; left: 36px; right: 36px; top: 35px; height: 4px; border-radius: 2px; background: var(--soft); }
.chain__list::after { content: ""; position: absolute; left: 36px; right: 36px; top: 35px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0, var(--yellow) 6%, var(--blue) 10%, transparent 16%) 0 0 / 200% 100% no-repeat; animation: pulse-run 3.2s linear infinite; }
@keyframes pulse-run { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.chain__list li { position: relative; }
.node { position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1.3rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.node svg { width: 34px; height: 34px; }
.chain__list li:hover .node { background: var(--yellow); transform: translateY(-4px); }
.chain__no { display: block; font: 700 .78rem/1 var(--f-mono); color: var(--blue); margin-bottom: .5rem; }
.chain__list h3 { font-weight: 800; font-stretch: 110%; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .5rem; }
.chain__list p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Radar ---------- */
.radar { background: var(--navy); color: #fff; overflow: hidden; }
.radar__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.radar__lead { margin-top: 1.4rem; color: rgba(255, 255, 255, .72); font-size: 1.06rem; max-width: 46ch; }
.radar__stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; }
.radar__stats b { display: block; font-weight: 850; font-stretch: 125%; font-size: 3rem; line-height: 1; color: var(--yellow); letter-spacing: -.03em; }
.radar__stats span { font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.radar__map svg { width: 100%; max-width: 580px; margin-inline: auto; overflow: visible; }
.radar__rings { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.radar__regions use { fill: rgba(255, 255, 255, .045); stroke: rgba(201, 211, 245, .45); stroke-width: .9; transition: fill .3s; }
.radar__regions use:hover { fill: rgba(255, 210, 26, .25); }
.radar__sweep { transform-origin: 220px 220px; animation: sweep 6s linear infinite; will-change: transform; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__towns circle { fill: #7f8bb8; transform-box: fill-box; transform-origin: center; animation: ping 6s linear infinite; animation-delay: var(--delay, 0s); }
@keyframes ping { 0% { fill: var(--yellow); transform: scale(2.1); } 12% { fill: var(--yellow); transform: scale(1.2); } 40%, 100% { fill: #7f8bb8; transform: scale(1); } }
.radar__map figcaption { margin-top: .8rem; text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .5); }
.radar__map figcaption a { color: rgba(255, 255, 255, .75); }

/* ---------- Teletekst ---------- */
.ttx { perspective: 1200px; }
.ttx__screen { position: relative; padding: clamp(1rem, 2.4vw, 1.8rem); border-radius: 22px; background: #000; color: #fff; font: 500 clamp(.86rem, 1.15vw, 1.02rem)/1.45 var(--f-mono); box-shadow: 0 0 0 12px #161a26, 0 0 0 13px rgba(255, 255, 255, .06), 0 50px 90px -40px rgba(11, 18, 48, .7); overflow: hidden; }
.ttx__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); }
.ttx__status { display: flex; justify-content: space-between; gap: 1rem; color: #fff; margin-bottom: .8rem; }
.ttx__status b { color: var(--bar-2); font-weight: 700; }
.ttx__status span:nth-child(2) { color: var(--bar-3); }
.ttx__status span:last-child { color: var(--bar-2); }
.ttx__banner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 1rem; margin-bottom: 1.2rem; background: #0000c8; }
.ttx__mosaic { display: grid; grid-template-columns: repeat(6, 9px); grid-auto-rows: 9px; gap: 1px; flex: none; }
.ttx__mosaic i { background: transparent; }
.ttx__mosaic i:nth-child(1), .ttx__mosaic i:nth-child(2), .ttx__mosaic i:nth-child(7), .ttx__mosaic i:nth-child(8), .ttx__mosaic i:nth-child(9), .ttx__mosaic i:nth-child(14), .ttx__mosaic i:nth-child(15), .ttx__mosaic i:nth-child(16), .ttx__mosaic i:nth-child(10) { background: var(--bar-2); }
.ttx__mosaic i:nth-child(12), .ttx__mosaic i:nth-child(18) { background: var(--bar-3); }
.ttx__mosaic i:nth-child(5), .ttx__mosaic i:nth-child(17) { background: var(--bar-6); }
.ttx__big { display: inline-block; font-weight: 800; letter-spacing: .08em; color: var(--bar-2); transform: scaleY(1.8); transform-origin: center; }
.ttx__body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 1.4rem; min-height: 320px; }
.ttx__index { display: grid; gap: .1rem; align-content: start; }
.ttx__index button { width: 100%; padding: .28rem .5rem; border: 0; background: none; color: var(--bar-3); text-align: left; font: inherit; cursor: pointer; }
.ttx__index button b { color: #fff; margin-right: .6rem; }
.ttx__index button:hover, .ttx__index button.is-on { background: var(--bar-2); color: #000; }
.ttx__index button:hover b, .ttx__index button.is-on b { color: #000; }
.ttx__page { padding-left: 1.2rem; border-left: 2px solid #0000c8; }
.ttx__page h3 { display: inline-block; margin: .3rem 0 1rem; font-weight: 700; color: var(--bar-2); font-size: 1em; transform: scaleY(1.6); transform-origin: left top; line-height: 1.3; }
.ttx__page p { color: #fff; }
.ttx__page p + p { margin-top: .8rem; }
.ttx__page a { color: var(--bar-4); }
.ttx__hint { color: var(--bar-4) !important; }
.ttx__page:not([hidden]) { animation: ttx-in .35s steps(4); }
@keyframes ttx-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ttx__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid #222; }
.ttx__nav label { color: var(--bar-3); }
.ttx__nav input { width: 5ch; padding: .2rem .4rem; border: 1px solid #333; background: #000; color: var(--bar-2); font: inherit; letter-spacing: .2em; }
.ttx__nav input:focus { outline: none; border-color: var(--bar-2); }
.ttx__keys { display: flex; gap: .5rem; margin-left: auto; flex-wrap: wrap; }
.ttx__keys button, .ttx__keys a { padding: .15rem .5rem; border: 0; color: #000; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.ttx__keys button:hover, .ttx__keys a:hover { filter: brightness(1.2); }
.k-red { background: var(--bar-6); } .k-green { background: var(--bar-4); } .k-yellow { background: var(--bar-2); } .k-cyan { background: var(--bar-3); }

/* ---------- Zamówienie ---------- */
.order { background: linear-gradient(var(--bg), #e6eaf1); }
.order__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.order__side { position: sticky; top: 100px; }
.order__lead { margin: 1.3rem 0 1.8rem; color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.order__steps { display: grid; gap: .7rem; margin-bottom: 2rem; }
.order__steps li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.order__steps svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--yellow); }
.order__call { display: inline-flex; align-items: center; gap: .9rem; padding: .9rem 1.2rem .9rem .9rem; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.order__call:hover { transform: translateY(-2px); }
.order__call svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--yellow); color: var(--ink); }
.order__call span { display: grid; line-height: 1.2; }
.order__call small { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.order__call b { font: 700 1.3rem/1.2 var(--f-mono); letter-spacing: .02em; }
.panel { position: relative; border-radius: 24px; background: var(--paper); box-shadow: 0 40px 80px -50px rgba(11, 18, 48, .5), 0 0 0 1px var(--line); overflow: hidden; }
.panel__top { display: flex; height: 8px; }
.panel__top i { flex: 1; }
.panel__top i:nth-child(1) { background: var(--bar-1); } .panel__top i:nth-child(2) { background: var(--bar-2); } .panel__top i:nth-child(3) { background: var(--bar-3); } .panel__top i:nth-child(4) { background: var(--bar-4); } .panel__top i:nth-child(5) { background: var(--bar-5); } .panel__top i:nth-child(6) { background: var(--bar-6); } .panel__top i:nth-child(7) { background: var(--bar-7); }
.form { display: grid; gap: 1.5rem; padding: clamp(1.4rem, 3.4vw, 2.6rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form__row--3 { grid-template-columns: 1.3fr .8fr 1.2fr; }
.group { border: 0; padding: 0; margin: 0; min-width: 0; }
.group legend { display: flex; align-items: center; gap: .4rem; padding: 0; margin-bottom: .75rem; font: 600 .72rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.group legend b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .1rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .68rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: .55rem; }
.tile { position: relative; cursor: pointer; }
.tile input, .pills input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span { display: grid; gap: .55rem; height: 100%; padding: .85rem .85rem .8rem; border: 1.5px solid var(--line-2); border-radius: 14px; font-weight: 650; font-size: .92rem; line-height: 1.2; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.tile svg { width: 30px; height: 30px; color: var(--blue); }
.tile:hover span { transform: translateY(-2px); border-color: var(--ink); }
.tile input:checked + span { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.tile input:checked + span::after { content: ""; position: absolute; top: 9px; right: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tile input:focus-visible + span, .pills input:focus-visible + span, .consent input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pills label { cursor: pointer; position: relative; }
.pills span { display: inline-block; padding: .58rem .95rem; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.pills label:hover span { border-color: var(--ink); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cond { padding: 1rem 1.1rem; border-radius: 14px; background: var(--soft); animation: cond-in .4s var(--ease); }
@keyframes cond-in { from { opacity: 0; transform: translateY(-6px); } }
.consent { position: relative; display: block; font-size: .92rem; cursor: pointer; }
.consent span { position: relative; display: block; padding-left: 2.1rem; line-height: 1.5; }
.consent span::before { content: ""; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 7px; background: var(--paper) center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.consent input:checked + span::before { background-color: var(--blue); border-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E"); }
.consent a { color: var(--blue); font-weight: 650; }
.err { display: block; margin-top: .35rem; font: 600 .8rem/1.3 var(--f-sans); font-style: normal; color: var(--red); }
.err:empty { display: none; }
.is-invalid input, .is-invalid select { border-color: var(--red) !important; background-color: #fff5f4; }
.is-invalid .tile span, .is-invalid .pills span { border-color: rgba(229, 50, 43, .6); }
.is-invalid.consent span::before { border-color: var(--red); }
.form__errors { padding: 1rem 1.1rem; border-radius: 12px; background: #fff1f0; border: 1px solid rgba(229, 50, 43, .35); font-size: .92rem; }
.form__errors ul { margin-top: .4rem; display: grid; gap: .2rem; }
.form__errors a { color: #b3211b; font-weight: 650; }
.form__submit { display: grid; gap: .7rem; }
.form__status { font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-error { color: var(--red); }
.done { padding: clamp(1.4rem, 3.4vw, 2.6rem); }
.done:focus { outline: none; }
.done__osd { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; margin-bottom: 1.6rem; border-radius: 12px; background: var(--screen); color: #fff; font: 700 .9rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.done__osd .bars { height: 22px; gap: 3px; }
.done__osd .bars b { width: 5px; animation: grow .5s var(--ease) backwards; }
.done__osd .bars b:nth-child(2) { animation-delay: .15s; } .done__osd .bars b:nth-child(3) { animation-delay: .3s; } .done__osd .bars b:nth-child(4) { animation-delay: .45s; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
.done h3 { font-weight: 820; font-stretch: 112%; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .7rem; }
.done p { color: var(--ink-2); }
.done__summary { display: grid; gap: .5rem; margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: 14px; background: var(--soft); }
.done__summary div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; font-size: .95rem; }
.done__summary dt { font: 600 .7rem/1.7 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.done__summary dd { font-weight: 650; }
.done__demo { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 10px; background: #fff8d6; font-size: .88rem; }

/* ---------- Stopka ---------- */
.footer { background: var(--navy); color: #fff; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem; }
.footer h3 { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer p { color: rgba(255, 255, 255, .7); font-size: .95rem; line-height: 1.9; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__about { margin-top: 1.2rem; max-width: 36ch; line-height: 1.6 !important; }
.footer .footer__word { font-weight: 900; font-stretch: 125%; font-size: clamp(3.5rem, 13vw, 12.5rem); line-height: .85; letter-spacing: -.05em; color: rgba(255, 255, 255, .05); white-space: nowrap; margin: 0 0 1.5rem; user-select: none; }
.footer__word b { color: rgba(255, 210, 26, .12); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom p { font-size: .8rem; color: rgba(255, 255, 255, .5); line-height: 1.5; }
.footer__bottom p:first-child { margin-right: auto; }

/* ---------- Dolny pasek ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem .8rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.dock svg { width: 18px; height: 18px; }
.dock__call { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dock__order { background: var(--yellow); }

/* ---------- Responsywność ---------- */
@media (max-width: 1200px) {
  .header__phone { display: none; }
  .diag__grid { grid-template-columns: 1fr 1.2fr; }
  .diag__out { grid-column: 1 / -1; }
  .diag__screen { position: static; }
}
@media (max-width: 1040px) {
  .burger { display: block; order: 3; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: .3rem; padding: 6rem var(--gutter) 3rem; background: var(--paper); font-weight: 800; font-stretch: 112%; font-size: 2.1rem; letter-spacing: -.03em; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav a { color: var(--ink); opacity: 0; transform: translateX(-16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .04s; } .nav.is-open a:nth-child(3) { transition-delay: .08s; } .nav.is-open a:nth-child(4) { transition-delay: .12s; } .nav.is-open a:nth-child(5) { transition-delay: .16s; } .nav.is-open a:nth-child(6) { transition-delay: .2s; } .nav.is-open a:nth-child(7) { transition-delay: .24s; }
  .nav a.is-current::before { display: none; }
  .nav__phone { display: block; margin-top: 1.2rem; font-family: var(--f-mono); font-size: 1.4rem; color: var(--blue) !important; }
  .hero__grid, .sky__grid, .radar__grid, .order__grid, .aim__grid { grid-template-columns: 1fr; }
  .hero__device { max-width: 640px; }
  .head--row { grid-template-columns: 1fr; gap: 1rem; }
  .guide { grid-template-columns: 1fr; }
  .guide__list { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scrollbar-width: thin; }
  .chain__list { grid-template-columns: 1fr; gap: 0; }
  .chain__list::before, .chain__list::after { left: 35px; right: auto; top: 36px; bottom: 36px; width: 4px; height: auto; }
  .chain__list::after { background: linear-gradient(180deg, transparent 0, var(--yellow) 6%, var(--blue) 10%, transparent 16%) 0 0 / 100% 200% no-repeat; animation-name: pulse-run-v; }
  @keyframes pulse-run-v { from { background-position: 0 120%; } to { background-position: 0 -40%; } }
  .chain__list li { display: grid; grid-template-columns: 74px 1fr; column-gap: 1.2rem; padding-bottom: 1.8rem; }
  .node { grid-row: 1 / 4; margin: 0; }
  .order__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ttx__body { grid-template-columns: 1fr; }
  .ttx__page { padding-left: 0; border-left: 0; padding-top: 1rem; border-top: 2px solid #0000c8; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header__cta { display: none; }
  .logo__txt { font-size: 1.15rem; }
  .hero__title { font-stretch: 104%; }
  .hero__specs dd { font-size: 1.15rem; font-stretch: 110%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .retune { position: static; margin: 1rem 0 0 auto; display: flex; width: max-content; }
  .osd__az { display: none; }
  .osd__meters { width: 78%; }
  .diag__grid { grid-template-columns: 1fr; }
  .diag__list { grid-auto-flow: column; grid-auto-columns: minmax(210px, 72%); overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
  .symptom { scroll-snap-align: start; }
  .symptom:hover { transform: none; }
  .aim__viz { grid-template-columns: 1fr; }
  .readout dd { font-size: 1.25rem; }
  .readout div { padding: .8rem .7rem; }
  .radar__stats { gap: 1.4rem; }
  .radar__stats b { font-size: 2.3rem; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ttx__keys { margin-left: 0; }
  .ttx__big { font-size: .9em; }
  .done__summary div { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .dock { display: grid; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ticker__track, .radar__sweep, .hero__beams i, .sky__sats { animation: none; }
}

/* ---------- Polityka prywatności ---------- */
.privacy { background: var(--bg); }
.privacy__bar { background: var(--paper); box-shadow: 0 1px 0 var(--line); padding: .9rem 0; }
.privacy__bar-in { display: flex; align-items: center; gap: 1rem; }
.privacy__doc { max-width: 820px; padding: clamp(3rem, 7vw, 5rem) 0; }
.privacy__doc h1 { margin-bottom: 1rem; }
.privacy__intro { font-size: 1.15rem; color: var(--ink-2); }
.privacy__date { margin-top: .6rem; font: 500 .8rem var(--f-mono); color: var(--ink-3); }
.privacy__doc section { margin-top: 1.4rem; padding: 1.6rem 1.8rem; background: var(--paper); border-radius: 18px; border: 1px solid var(--line); }
.privacy__doc h2 { font-weight: 800; font-stretch: 110%; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .8rem; }
.privacy__doc p, .privacy__doc li { color: var(--ink-2); }
.privacy__doc p + p { margin-top: .8rem; }
.privacy__doc ul { display: grid; gap: .6rem; margin: .4rem 0 1rem; }
.privacy__doc li { position: relative; padding-left: 1.1rem; }
.privacy__doc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 1px; }
.privacy__doc strong { color: var(--ink); }
.privacy__doc a:not(.btn) { color: var(--blue); font-weight: 650; }
.privacy__controller { display: grid; gap: .3rem; margin: 1rem 0; padding: 1rem 1.2rem; border-radius: 12px; background: var(--soft); }
.privacy__controller div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; }
.privacy__controller dt { font: 600 .7rem/1.9 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.privacy__controller dd { font-weight: 650; }
.privacy__back { margin-top: 2rem; }
