/* fonts.css jest wpięty osobnym <link> w index.html — @import kazałby
   przeglądarce najpierw pobrać ten plik, a dopiero potem odkryć fonty. */

/* ============================================================
   Bristio — strona produktowa
   Paleta zgodna z aplikacjami Ospio (teal) i Ledgio (fiolet).
   Bez żółtego i pomarańczowego — celowo.
   ============================================================ */

:root {
  --bg:        #FBFBFC;
  --surface:   #FFFFFF;
  --sunken:    #F1F3F5;
  --line:      #E6E9EC;
  --line-soft: #EFF1F4;
  --ink:       #14161B;
  --muted:     #5C6470;
  --faint:     #98A0AB;

  --ospio:     #0E7C86;
  --ospio-dim: #E3F1F2;
  --ledgio:    #6134C9;
  --ledgio-dim:#EDE7FB;
  --pos:       #1C8A4E;
  --attn:      #C0524A;

  --accent:    var(--ink);
  --shadow:    0 1px 2px rgba(20, 22, 27, .04), 0 8px 24px -12px rgba(20, 22, 27, .12);
  --shadow-lg: 0 2px 4px rgba(20, 22, 27, .05), 0 24px 60px -24px rgba(20, 22, 27, .25);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --pad: 24px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #0E1013;
  --surface:   #16191D;
  --sunken:    #1B2024;
  --line:      #262B31;
  --line-soft: #1F242A;
  --ink:       #EDF0F3;
  --muted:     #98A0AB;
  --faint:     #6B7480;

  --ospio:     #2AA5B0;
  --ospio-dim: #12292C;
  --ledgio:    #9A78F0;
  --ledgio-dim:#1F1936;
  --pos:       #3BAE72;
  --attn:      #D9736B;

  --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* Rozjaśnione akcenty w ciemnym motywie wymagają ciemnego tekstu na sobie. */
[data-theme="dark"] .btn-ospio,
[data-theme="dark"] .btn-ledgio,
[data-theme="dark"] .product-logo,
[data-theme="dark"] .plan-logo,
[data-theme="dark"] .tab[aria-selected="true"] { color: #0E1013; }
[data-theme="dark"] ::selection { background: var(--ospio); color: #0E1013; }

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ospio); color: #fff; }

/* ---------- typografia ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.028em; }
h3 { font-size: 1.22rem; letter-spacing: -.018em; }
h4 { font-size: 1rem; letter-spacing: -.01em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.section-head { max-width: 66ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head h2 + p { margin-top: 18px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- nagłówek ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-head.is-stuck { border-bottom-color: var(--line); }

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.028em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--sunken); }

.head-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--faint); }

.btn-ospio  { background: var(--ospio);  color: #fff; }
.btn-ledgio { background: var(--ledgio); color: #fff; }
.btn-ospio:hover, .btn-ledgio:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-sm { padding: 8px 14px; font-size: .88rem; }

.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  transition: color .18s, border-color .18s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--faint); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun  { display: none; }

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(48px, 7vw, 82px);
  padding-bottom: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  height: 640px;
  background:
    radial-gradient(58% 60% at 22% 40%, color-mix(in srgb, var(--ospio) 13%, transparent), transparent 68%),
    radial-gradient(52% 58% at 80% 30%, color-mix(in srgb, var(--ledgio) 12%, transparent), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner { max-width: 800px; }

.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 58ch; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .01em;
  color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pos);
  flex-shrink: 0;
}

/* stos zrzutów w hero */

.hero-stage {
  margin-top: clamp(44px, 6vw, 72px);
  position: relative;
}
.hero-stage .shot-frame { margin: 0; }
/* Oba kadry w hero mają być tej samej wysokości — Ledgio jest szersze, więc przycinamy. */
.hero-stage .shot, .hero-stage .shot-frame--tall .shot { aspect-ratio: 1440 / 950; }

.stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}
.stack-item { position: relative; }
.stack-item .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-ospio  { background: var(--ospio); }
.dot-ledgio { background: var(--ledgio); }

/* ---------- ramka zrzutu ---------- */

.shot-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.shot-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent);
  pointer-events: none;
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--sunken);
  border-bottom: 1px solid var(--line);
}
.shot-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}
[data-theme="dark"] .shot-bar i { background: #333a41; }
.shot-bar .path {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--faint);
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface);
  aspect-ratio: 1440 / 950;
  object-fit: cover;
  object-position: top center;
}
.shot-frame--tall .shot { aspect-ratio: 1600 / 1000; }

.shot-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: none;
  border: 0;
}
.shot-zoom::after {
  content: "Powiększ";
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.shot-zoom:hover::after, .shot-zoom:focus-visible::after { opacity: 1; transform: none; }

/* ---------- karty wartości ---------- */

.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 26px);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.55; }

.card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--sunken);
  color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 19px; height: 19px; }

/* ---------- sekcja produktu ---------- */

.product { scroll-margin-top: 80px; }
.product--ospio  { --brand: var(--ospio);  --brand-dim: var(--ospio-dim); }
.product--ledgio { --brand: var(--ledgio); --brand-dim: var(--ledgio-dim); }

.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.product-head .kicker { display: block; margin-bottom: 14px; }

.product-id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.product-id .name, .product-id .sub { display: block; }
.product-logo {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.product-id .name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.product-id .sub {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
}

.product h2 { margin-bottom: 18px; }
.product h2 em { font-style: normal; color: var(--brand); }

.spec {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
}
.spec dd {
  font-size: .95rem;
  text-align: right;
  color: var(--ink);
}

.feat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  margin-bottom: clamp(32px, 4vw, 46px);
}
.feat > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.feat > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand);
  opacity: 0;
  transition: opacity .2s;
}
.feat > div:hover::before { opacity: 1; }
.feat h4 { margin-bottom: 7px; }
.feat p { color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------- galeria z zakładkami ---------- */

.gallery { position: relative; }

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .88rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .18s, background .18s, border-color .18s;
}
.tab:hover { color: var(--ink); border-color: var(--faint); }
.tab[aria-selected="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.panels { position: relative; }
.panel { display: none; }
.panel.is-active { display: block; animation: fade .3s ease both; }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.panel-note {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  max-width: 78ch;
}
.panel-note b { color: var(--ink); font-weight: 500; margin-right: 4px; }

/* ---------- cennik ---------- */

.pricing { background: var(--sunken); }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.plan {
  --brand: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.plan--ospio  { --brand: var(--ospio); }
.plan--ledgio { --brand: var(--ledgio); }
.plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand);
}

.plan-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.plan-logo {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.plan-top .name { font-family: var(--display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.025em; }
.plan-top .sub { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.price .amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: -.04em;
  line-height: 1;
}
.price .per { color: var(--muted); font-size: 1rem; }
.price-note { font-size: .87rem; color: var(--faint); margin-bottom: 24px; }

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 11px;
}
.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
}
.plan li svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}
.plan li b { color: var(--ink); font-weight: 500; }
.plan .btn { margin-top: auto; width: 100%; }

.pricing-foot {
  margin-top: clamp(20px, 2.5vw, 28px);
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pricing-foot p { color: var(--muted); font-size: .95rem; max-width: 62ch; }
.pricing-foot b { color: var(--ink); font-weight: 500; }

/* ---------- kroki ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -.04em;
  color: var(--line);
  margin-bottom: 10px;
  transition: color .3s;
}
.step:hover::before { color: var(--faint); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- płatność ---------- */

.pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 20px);
}
.pay-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--surface);
}
.pay-card.is-soon { background: var(--sunken); border-style: dashed; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.badge-live { background: color-mix(in srgb, var(--pos) 14%, transparent); color: var(--pos); }
.badge-soon { background: var(--sunken); color: var(--faint); border: 1px solid var(--line); }
[data-theme="dark"] .badge-soon { background: #12151a; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.pay-card h3 { margin-bottom: 8px; }
.pay-card p { color: var(--muted); font-size: .96rem; }
.pay-card ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .94rem;
  display: grid;
  gap: 8px;
}
.pay-card ol::marker { color: var(--faint); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details[open] summary { color: var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -.015em;
  color: var(--muted);
  transition: color .18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s cubic-bezier(.2,.8,.3,1);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .answer {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  animation: fade .25s ease both;
}
.faq .answer a { color: var(--ospio); text-underline-offset: 3px; }

/* ---------- CTA ---------- */

.cta-band {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 300px;
  background:
    radial-gradient(50% 70% at 30% 100%, color-mix(in srgb, var(--ospio) 16%, transparent), transparent 70%),
    radial-gradient(50% 70% at 70% 100%, color-mix(in srgb, var(--ledgio) 15%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.cta-mail {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .92rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.cta-mail:hover { color: var(--ink); border-color: var(--faint); }

/* ---------- stopka ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 44px 52px;
  margin-top: clamp(48px, 6vw, 80px);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.foot-grid p { color: var(--muted); font-size: .93rem; max-width: 40ch; margin-top: 12px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
  transition: color .18s;
}
.foot-col a:hover { color: var(--ink); }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--faint);
}
.foot-bar .mono { font-family: var(--mono); font-size: .8rem; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: scale(.97);
  transition: transform .22s cubic-bezier(.2,.8,.3,1);
}
.lightbox.is-open img { transform: none; }
.lightbox-close {
  position: absolute;
  top: clamp(12px, 3vw, 26px);
  right: clamp(12px, 3vw, 26px);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
}
.lightbox-cap {
  position: absolute;
  bottom: clamp(12px, 3vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--faint);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- animacje wejścia ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.8,.3,1), transform .6s cubic-bezier(.2,.8,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsywność ---------- */

@media (max-width: 940px) {
  .product-head { grid-template-columns: 1fr; gap: 28px; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  /* Nie ma menu pod hamburgerem — zostaje najważniejszy skrót. */
  .nav a { display: none; }
  .nav a[href="#cennik"] { display: inline-flex; }
}

@media (max-width: 560px) {
  .brand-name { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --pad: 18px; }
  .stack { grid-template-columns: 1fr; }
  .stack-item:last-child { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .shot-bar .path { display: none; }
  .shot-zoom::after { display: none; }
}

@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-head, .lightbox, .tabs, .theme-toggle { display: none !important; }
  .panel { display: block !important; }
  body { background: #fff; color: #000; }
}
