/* ALGO BROTHERS — strona publiczna. Granat + złoto z logo. */
:root {
  --bg: #070b14; --bg-2: #0a101c; --bg-3: #0e1626;
  --card: rgba(17, 26, 43, .72); --card-solid: #111a2b;
  --line: rgba(212, 162, 79, .16); --line-2: rgba(255, 255, 255, .07);
  --gold: #d4a24f; --gold-2: #f3d58a; --gold-3: #a8782a;
  --grad-gold: linear-gradient(135deg, #f7e2a6 0%, #d4a24f 45%, #a8782a 100%);
  --cyan: #5cc0e6; --red: #f07a7e; --green: #4cc27a;
  --text: #eef1f7; --text-2: #c3cbdb; --muted: #8f9bb3;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: rgba(212, 162, 79, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shine { background: linear-gradient(110deg, #a8782a 0%, #f7e2a6 25%, #d4a24f 45%, #fff3c9 55%, #d4a24f 65%, #a8782a 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -250% 0; } }

/* ---------- tło ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.bg-glow { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(110px); opacity: .45; }
.bg-glow.g1 { width: 620px; height: 620px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(circle, rgba(212,162,79,.55), transparent 65%); animation: breathe 9s ease-in-out infinite; }
.bg-glow.g2 { width: 520px; height: 520px; right: -200px; top: 45%; background: radial-gradient(circle, rgba(92,192,230,.22), transparent 65%); }
.bg-glow.g3 { width: 480px; height: 480px; left: -220px; bottom: -140px; background: radial-gradient(circle, rgba(212,162,79,.25), transparent 65%); }
.bg-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(212,162,79,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(212,162,79,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%); }
@keyframes breathe { 0%, 100% { opacity: .38; transform: translateX(-50%) scale(1); } 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }

/* ---------- nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; padding: 18px 0; }
.nav.scrolled { background: rgba(7, 11, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding: 10px 0; }
.nav-in { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img.mark { width: 42px; height: 42px; border-radius: 11px; box-shadow: none; }
.brand img.wm { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text-2); padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- przyciski ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 26px; border-radius: 14px; font: 600 15.5px/1 var(--font); letter-spacing: .01em; cursor: pointer; border: 0; overflow: hidden;
  transition: transform .2s, box-shadow .25s, background .25s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-gold { background: var(--grad-gold); color: #1a1205; box-shadow: 0 10px 34px rgba(212,162,79,.32), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold:hover { color: #1a1205; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(212,162,79,.42), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { color: #fff; border-color: rgba(212,162,79,.5); background: rgba(212,162,79,.08); transform: translateY(-2px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 120px 0 80px; position: relative; text-align: center; }
.hero-logo { position: relative; width: 210px; height: 210px; margin: 0 auto 30px; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; position: relative; z-index: 2; box-shadow: none; filter: drop-shadow(0 22px 40px rgba(0,0,0,.65)); }
.hero-logo::before { content: ""; position: absolute; inset: -3px; border-radius: 37px; z-index: 1;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, #f3d58a 60deg, transparent 120deg, transparent 200deg, #5cc0e6 250deg, transparent 300deg);
  animation: spin 6s linear infinite; }
.hero-logo::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; z-index: 0; background: radial-gradient(circle, rgba(212,162,79,.35), transparent 65%); filter: blur(20px); animation: pulse 4s ease-in-out infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(212,162,79,.06); color: var(--gold-2); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(76,194,122,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(76,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(76,194,122,0); } }
.h1 { font: 700 clamp(40px, 7vw, 84px)/1.04 var(--display); letter-spacing: -.01em; margin: 26px 0 22px; }
.h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; }
.h1 .line:nth-child(2) > span { animation-delay: .18s; }
@keyframes rise { to { transform: none; } }
.lead { max-width: 680px; margin: 0 auto; color: var(--text-2); font-size: clamp(16px, 2vw, 19px); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.stats { display: flex; justify-content: center; gap: 0; margin-top: 54px; flex-wrap: wrap; }
.stat { padding: 6px 34px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(28px, 4vw, 40px)/1.1 var(--display); }
.stat span { color: var(--muted); font-size: 13.5px; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(212,162,79,.35); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* pasek z hasłami */
.ticker { border-block: 1px solid var(--line); background: rgba(10,16,28,.6); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font: 600 14px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ticker span::after { content: "◆"; color: var(--gold); font-size: 10px; letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sekcje ---------- */
.sec { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(14,22,38,.65) 12%, rgba(14,22,38,.65) 88%, transparent); }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; opacity: .6; }
.h2 { font: 700 clamp(30px, 4.6vw, 52px)/1.12 var(--display); margin: 0 0 16px; }
.sub { color: var(--text-2); font-size: 18px; margin: 0; }
.foot-note { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 22px; }

/* karty */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; backdrop-filter: blur(6px);
  transition: border-color .3s, transform .3s, box-shadow .3s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(212,162,79,.35); box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(212,162,79,.08); }
.card h3 { font: 700 21px/1.3 var(--display); margin: 0 0 10px; }
.card p { color: var(--text-2); margin: 0; }
.num { font: 700 46px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(212,162,79,.55); margin-bottom: 18px; }
.card .bar { position: absolute; left: 30px; right: 30px; bottom: 0; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.card:hover .bar { transform: scaleX(1); }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(212,162,79,.1); border: 1px solid var(--line); color: var(--gold-2); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }

/* rozwiązanie */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.feat { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.feat li { display: flex; gap: 16px; padding: 16px 12px; border-radius: 14px; transition: background .25s; }
.feat li:hover { background: rgba(212,162,79,.06); }
.feat .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-gold); color: #1a1205; }
.feat .ic svg { width: 20px; height: 20px; }
.feat b { display: block; font-size: 16.5px; }
.feat span { color: var(--text-2); font-size: 15px; }
.anti { display: grid; gap: 10px; margin-top: 14px; }
.anti div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(240,122,126,.06); border: 1px solid rgba(240,122,126,.14); color: var(--text-2); }
.anti div::before { content: "✕"; color: var(--red); font-weight: 700; }
.quote { margin-top: 18px; padding: 24px 26px; border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; background: linear-gradient(90deg, rgba(212,162,79,.1), transparent);
  font: 600 italic 19px/1.5 var(--display); color: var(--text); }

/* dostęp */
.access .card { padding: 34px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(92,192,230,.12); color: var(--cyan); margin-bottom: 14px; }
.badge.g { background: rgba(212,162,79,.14); color: var(--gold-2); }
.list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; color: var(--text-2); }
.list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(212,162,79,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d58a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.card.premium { border: 0; background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
  conic-gradient(from var(--a, 0deg), rgba(212,162,79,.15), #f3d58a, rgba(212,162,79,.15), #5cc0e6, rgba(212,162,79,.15)) border-box;
  border: 1.5px solid transparent; animation: spin 8s linear infinite; }
.lock { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-2); padding: 6px 12px; border-radius: 999px; background: rgba(212,162,79,.1); border: 1px solid var(--line); }

/* proces */
.steps { position: relative; max-width: 760px; margin: 0 auto; }
.steps::before, .steps .fill { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.steps .fill { background: var(--grad-gold); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px rgba(212,162,79,.6); }
.step { position: relative; display: flex; gap: 26px; padding: 14px 0 34px; }
.step .n { flex: none; position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font: 700 20px/1 var(--display); background: var(--bg-3); border: 1.5px solid var(--line); color: var(--muted); transition: all .5s; }
.step.on .n { background: var(--grad-gold); color: #1a1205; border-color: transparent; box-shadow: 0 0 0 6px rgba(212,162,79,.12), 0 10px 30px rgba(212,162,79,.35); }
.step h4 { font: 700 20px/1.3 var(--display); margin: 12px 0 6px; }
.step p { margin: 0; color: var(--text-2); }

/* brokerzy */
.brokers { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.brokers .broker { flex: 0 0 calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); }
.broker { text-align: center; padding: 34px 20px; }
.broker b { display: block; font: 700 24px/1.2 var(--display); margin-bottom: 6px; }
.broker span { color: var(--muted); font-size: 14px; }
.broker .go { display: flex; width: fit-content; margin: 16px auto 0; align-items: center; gap: 8px; color: var(--gold-2); font-size: 14px; font-weight: 600; }
.broker .go svg { width: 16px; height: 16px; transition: transform .25s; }
a.broker { color: inherit; text-decoration: none; }
a.broker:hover .go svg, a.broker:focus-visible .go svg { transform: translateX(4px); }
a.broker:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); overflow: hidden; transition: border-color .3s; }
.qa.open { border-color: rgba(212,162,79,.35); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: none; border: 0; color: var(--text); font: 600 17px/1.4 var(--font); text-align: left; cursor: pointer; }
.qa button::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,162,79,.1); color: var(--gold-2); font-size: 20px; transition: transform .3s; }
.qa.open button::after { transform: rotate(45deg); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa.open .a { grid-template-rows: 1fr; }
.qa .a > div { overflow: hidden; }
.qa .a p { margin: 0; padding: 0 24px 22px; color: var(--text-2); }

/* cta */
.cta { position: relative; text-align: center; padding: clamp(46px, 7vw, 80px) clamp(22px, 5vw, 70px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(212,162,79,.22), transparent 70%), var(--card-solid); border: 1px solid var(--line); }
.cta .h2 { margin-bottom: 14px; }
.cta p { color: var(--text-2); max-width: 600px; margin: 0 auto; }

/* stopka */
.footer { border-top: 1px solid var(--line); padding: 60px 0 34px; margin-top: 40px; background: rgba(5,8,15,.6); }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.f-grid p { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; max-width: 360px; }
.f-col b { display: block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.f-col a { display: block; color: var(--text-2); padding: 4px 0; font-size: 14.5px; }
.f-col a:hover { color: #fff; }
.f-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; display: grid; gap: 8px; }

/* odsłanianie przy przewijaniu */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- formularze (wniosek, licencja) ---------- */
.page { padding: 130px 0 70px; min-height: 100svh; }
.form-card { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.page-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.page-head img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 0 0 1px rgba(212,162,79,.3), 0 20px 50px rgba(0,0,0,.5); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.input { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 13px; border: 1px solid rgba(255,255,255,.1); background: rgba(5,8,15,.55);
  color: var(--text); font: 16px var(--font); transition: border-color .2s, box-shadow .2s, background .2s; }
.input::placeholder { color: #6b778f; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,162,79,.15); background: rgba(5,8,15,.8); }
textarea.input { min-height: 110px; resize: vertical; }
.field.bad .input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(240,122,126,.12); }
.field .err, .group > .err { color: var(--red); font-size: 13px; display: none; }
.group.bad { border-color: rgba(240,122,126,.6); box-shadow: 0 0 0 4px rgba(240,122,126,.1); }
.group.bad > .err { display: block; }
.field.bad .err { display: block; }
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.plans { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.choices.plans span { min-height: 116px; gap: 4px; padding: 16px; font-weight: 500; color: var(--text-2); }
.choices.plans input:checked + span { color: var(--text); }
.choice input:disabled + span { opacity: .4; cursor: not-allowed; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; place-items: center; text-align: center; min-height: 58px; padding: 10px; border-radius: 13px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(5,8,15,.45); font-weight: 600; font-size: 15px; transition: all .2s; line-height: 1.25; }
.choice span small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.choice input:hover + span { border-color: rgba(212,162,79,.45); }
.choice input:checked + span { border-color: var(--gold); background: rgba(212,162,79,.12); color: #fff; box-shadow: 0 0 0 3px rgba(212,162,79,.12); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.reveal-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.reveal-more.show { grid-template-rows: 1fr; }
.reveal-more > div { overflow: hidden; }
.reveal-more.show > div { padding-top: 12px; }
.group { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; margin-bottom: 20px; background: rgba(255,255,255,.015); }
.group .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.group .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 12px; }
/* dwa pola obok siebie: etykiety, pola i błędy w tych samych rzędach (subgrid), wspólna podpowiedź pod spodem */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 8px; margin-bottom: 20px; }
.pair > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 8px; margin: 0; align-content: start; }
.pair > .field > label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pair > .hint { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.pair .l-short { display: none; }
@media (max-width: 560px) { .pair .l-full { display: none; } .pair .l-short { display: inline; } .pair { column-gap: 12px; } }
.sublabel { font-size: 14px; font-weight: 600; color: var(--text-2); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sublabel em { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.sublabel em.req { color: var(--gold-2); } .sublabel em.opt { color: var(--muted); }
#referrer-wrap.show > div { display: grid; gap: 8px; padding-top: 14px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a24f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; cursor: pointer; }
select.input option { background: #0e1626; color: var(--text); }
.plan-price { display: block; font-size: 22px; font-family: var(--display); margin-bottom: 4px; }
.group .field { margin-bottom: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 24px; color: var(--text-2); font-size: 14.5px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 13px; margin-bottom: 18px; font-size: 14.5px; display: none; }
.alert.show { display: block; animation: shake .4s; }
.alert.bad { background: rgba(240,122,126,.1); border: 1px solid rgba(240,122,126,.3); color: #ffc4c6; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.btn-wide { width: 100%; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26,18,5,.35); border-top-color: #1a1205; animation: rot .8s linear infinite; display: none; }
.loading .spin { display: block; } .loading .lbl { opacity: .7; }
@keyframes rot { to { transform: rotate(360deg); } }
.success { text-align: center; display: none; }
.success.show { display: block; animation: pop .6s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.check-anim { width: 96px; height: 96px; margin: 0 auto 22px; }
.check-anim circle { stroke: var(--gold); stroke-width: 3; fill: rgba(212,162,79,.08); stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw .8s ease forwards; }
.check-anim path { stroke: var(--gold-2); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.code-box { display: inline-block; margin: 14px 0 8px; padding: 12px 22px; border-radius: 14px; border: 1px dashed var(--gold); font: 700 24px/1 ui-monospace, Consolas, monospace; letter-spacing: .18em; color: var(--gold-2); background: rgba(212,162,79,.08); }
.next { text-align: left; max-width: 520px; margin: 26px auto 0; display: grid; gap: 10px; }
.next div { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); color: var(--text-2); }
.next b { color: var(--gold-2); }
.progress { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.progress span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.progress span i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; border: 1px solid var(--line); }
.progress span.on { color: var(--text); } .progress span.on i { background: var(--grad-gold); color: #1a1205; border: 0; }
.progress .sep { width: 28px; height: 1px; background: var(--line); align-self: center; }

/* licencja */
.lic-row { display: flex; gap: 12px; }
.lic-row .input { flex: 1; font: 600 20px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-align: center; }
.result { display: none; margin-top: 22px; padding: 22px; border-radius: 16px; gap: 16px; align-items: center; animation: pop .45s cubic-bezier(.2,.8,.2,1); }
.result.show { display: flex; }
.result .ri { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.result .ri svg { width: 26px; height: 26px; }
.result b { display: block; font-size: 18px; } .result span { color: var(--text-2); font-size: 14.5px; }
.result.ok { background: rgba(76,194,122,.08); border: 1px solid rgba(76,194,122,.3); } .result.ok .ri { background: rgba(76,194,122,.15); color: var(--green); }
.result.wait { background: rgba(240,176,74,.08); border: 1px solid rgba(240,176,74,.3); } .result.wait .ri { background: rgba(240,176,74,.15); color: #f0b04a; }
.result.no { background: rgba(240,122,126,.08); border: 1px solid rgba(240,122,126,.3); } .result.no .ri { background: rgba(240,122,126,.15); color: var(--red); }

/* modal licencji */
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(3,5,10,.7); backdrop-filter: blur(6px); }
.modal.show { display: grid; animation: fade .25s; }
.modal .form-card { width: min(520px, 100%); position: relative; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; }
@keyframes fade { from { opacity: 0; } }
.float-btn { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(17,26,43,.9); backdrop-filter: blur(10px); color: var(--text); font: 600 14px var(--font); cursor: pointer; box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .2s, border-color .2s; }
.float-btn:hover { transform: translateY(-3px); border-color: var(--gold); }
.float-btn svg { width: 18px; height: 18px; color: var(--gold-2); }

/* treść prawna */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font: 700 22px/1.3 var(--display); margin: 34px 0 10px; color: var(--gold-2); }
.legal p, .legal li { color: var(--text-2); }

/* ---------- responsywność ---------- */
@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 2px; padding: 90px 20px 26px; background: rgba(7,11,20,.97);
    border-bottom: 1px solid var(--line); transform: translateY(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; background: var(--bg); }
  .nav.open .nav-links { transform: none; }
  .nav-links a { padding: 14px 12px; font-size: 17px; }
  .burger { display: block; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .brokers .broker { flex-basis: calc((100% - 18px) / 2); max-width: calc((100% - 18px) / 2); }
  .split, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .container { width: min(1180px, 100% - 32px); }
  .brand img.wm { display: none; }
  .nav-cta .btn-gold { --h: 40px; padding: 0 14px; font-size: 14px; }
  .stat { padding: 8px 18px; }
  .stat + .stat { border-left: 0; }
  .stats { gap: 6px; }
  .choices, .choices.three, .group .row3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .group .row2, .choices.plans { grid-template-columns: minmax(0, 1fr) !important; }
  .lic-row { flex-direction: column; }
  .float-btn span { display: none; }
  .float-btn { padding: 14px; }
  .card { padding: 24px; }
  .hero-logo { width: 170px; height: 170px; }
  .tag { font-size: 11px; letter-spacing: .08em; padding: 7px 12px; }
  .progress .sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .h1 .line > span { transform: none; }
  html { scroll-behavior: auto; }
}

.hero-logo::before { display: none; }

/* Główna grafika strony: szeroki baner zamiast okrągłego logo */
.hero-banner { width: min(760px, 100%); margin: 0 auto 34px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(212,162,79,.28); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hero-banner img { display: block; width: 100%; height: auto; }


/* Strona główna jak prezentacja: każda sekcja to pełny ekran, przewijanie przyciąga do sekcji.
   Tylko szerokie ekrany (na telefonie zostaje zwykłe przewijanie). Wysokości liczone od wysokości okna. */
@media (min-width: 900px) and (min-height: 600px) {
  html.home { scroll-snap-type: y mandatory; }
  .hero, .sec { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
  .sec { padding: 64px 0 32px; }
  .hero { padding: 88px 0 28px; }
  .hero-grafika { padding: 40px 0; }
  .hero-grafika .container { width: min(1560px, 100% - 40px); }
  .hero-grafika .hero-banner { width: 100%; margin: 0 auto; }
  .hero .h1 { font-size: clamp(40px, 7.2vh, 76px); margin: 18px 0 14px; }
  .hero .lead { font-size: clamp(15px, 2.1vh, 18px); }
  .hero-cta { margin-top: 24px; }
  #proces .head { margin-bottom: 26px; }
  #proces .step { padding: 8px 0 18px; }
  #proces .step .n { width: 46px; height: 46px; }
  #proces .steps::before, #proces .steps .fill { left: 22px; }
  #proces .step h4 { margin: 4px 0 2px; font-size: 18px; }
  #proces .step p { font-size: 15px; line-height: 1.5; }
  html.home .footer { scroll-snap-align: start; }
}

/* Telefon: pionowy baner mieści się w oknie w całości (bez obcinania), skala po wysokości i szerokości. */
@media (max-width: 899px) {
  .hero-grafika { min-height: 100svh; display: flex; align-items: center; padding: 72px 0 12px; }
  .hero-grafika .hero-banner { width: 100%; display: flex; justify-content: center; }
  .hero-grafika .hero-banner img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 96px); object-fit: contain; }
}

/* ---------- produkty (/produkty) ---------- */
.muted { color: var(--muted); font-size: 14px; }
.ptabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
.ptab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line-2); color: var(--text); font: inherit; transition: border-color .25s, background .25s, transform .2s; }
.ptab:hover { border-color: rgba(212,162,79,.35); transform: translateY(-2px); }
.ptab i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 24px;
  background: rgba(212,162,79,.1); border: 1px solid var(--line); color: var(--gold-2); transition: background .25s, color .25s; }
.ptab span { min-width: 0; }
.ptab b { display: block; font-size: 16px; line-height: 1.3; }
.ptab small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.ptab[aria-selected="true"] { border-color: var(--gold); background: linear-gradient(180deg, rgba(212,162,79,.14), rgba(212,162,79,.04)); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.ptab[aria-selected="true"] i { background: var(--grad-gold); color: #1a1205; }
.ppanel { animation: pin .45s cubic-bezier(.2,.8,.2,1); }
.ppanel:focus { outline: none; }
@keyframes pin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ptop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 34px; align-items: center; }
.ptitle { font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--display); margin: 0 0 12px; }
.plead { color: var(--text-2); font-size: 17px; margin: 0; }
.pinfo .list { margin: 20px 0 0; gap: 10px; }
.pinfo .list b { color: var(--text); font-weight: 600; }
.pvideo { border-radius: 18px; overflow: hidden; border: 1px solid rgba(212,162,79,.28); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.pvideo video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pgal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 46px 0 16px; }
.pgal-head h3 { font: 700 22px/1.3 var(--display); margin: 0; }
.pgal { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.pshot { display: block; padding: 0; margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--card-solid);
  cursor: zoom-in; text-align: left; color: var(--text-2); font: inherit; transition: border-color .25s, transform .25s, box-shadow .25s; }
.pshot:hover, .pshot:focus-visible { border-color: rgba(212,162,79,.5); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.pshot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #05080f; }
.pshot span { display: block; padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.4; }
.pcta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 56px; }
.pcta h3 { margin-bottom: 6px; }
.pcta-btns { display: flex; gap: 12px; flex: none; }
/* podgląd zrzutu */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px;
  padding: 24px 16px; background: rgba(3, 5, 10, .93); backdrop-filter: blur(6px); animation: lbin .25s ease; }
.lb[hidden] { display: none; }
[hidden] { display: none !important; }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lb img { max-width: 100%; max-height: calc(100svh - 120px); border-radius: 12px; border: 1px solid rgba(212,162,79,.3); box-shadow: var(--shadow); object-fit: contain; }
.lb figcaption { margin-top: 12px; display: flex; gap: 14px; align-items: baseline; color: var(--text-2); font-size: 15px; text-align: center; }
.lb figcaption b { color: var(--gold-2); font-weight: 600; }
.lb-nav, .lb-x { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .2s, color .2s; justify-self: center; }
.lb-nav:hover, .lb-x:hover { background: rgba(212,162,79,.2); color: #fff; }
.lb-nav svg, .lb-x svg { width: 24px; height: 24px; }
.lb-x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; }
@media (max-width: 980px) {
  .ptabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptop { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pvideo { order: -1; }
  .pgal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 620px) {
  .ptabs { gap: 8px; }
  .ptab { flex-direction: column; align-items: center; text-align: center; padding: 12px 8px; gap: 8px; }
  .ptab i { width: 38px; height: 38px; font-size: 20px; }
  .ptab b { font-size: 14.5px; }
  .ptab small { font-size: 12px; }
  .pgal { gap: 10px; }
  .pshot span { padding: 8px 9px 10px; font-size: 12.5px; }
  .pgal-head .muted { display: none; }
  .pcta-btns { flex-direction: column; }
  .lb { grid-template-columns: minmax(0, 1fr); padding: 70px 10px 90px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-nav.prev { left: calc(50% - 64px); }
  .lb-nav.next { right: calc(50% - 64px); }
}

/* strona główna: karty produktów */
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--text); }
.prod img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-2); }
.prod div { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod small { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.prod h3 { margin: 6px 0 8px; font-size: 20px; }
.prod p { font-size: 14.5px; line-height: 1.55; flex: 1; }
.prod .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: 14px; font-weight: 600; font-style: normal; }
.prod .go svg { width: 16px; height: 16px; transition: transform .25s; }
.prod:hover .go svg { transform: translateX(4px); }
@media (max-width: 980px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prods { gap: 12px; } .prod div { padding: 12px 12px 14px; } .prod h3 { font-size: 16px; } .prod p { display: none; } .prod small { font-size: 10.5px; letter-spacing: .08em; } }
.ptabs { scroll-margin-top: 96px; }
/* menu z 7 pozycjami: na węższych ekranach bez łamania (Discord jest też w treści strony) */
.nav-links a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; }
  .nav-cta .btn-ghost { display: none; }
}
