/* NovexHost.PL — arkusz stylów
   Kolory marki zmieniasz tylko w :root poniżej. */

:root {
  --bg: #09090b;
  --bg-2: #0f0f12;
  --surface: #141418;
  --surface-2: #1a1a1f;
  --line: #24242b;
  --line-2: #2f2f37;
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --accent-line: rgba(139, 92, 246, 0.35);
  --ok: #4ade80;

  --radius: 14px;
  --radius-sm: 9px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Dwujęzyczność ---------- */
html:not([data-lang="en"]) [data-l="en"] { display: none !important; }
html[data-lang="en"] [data-l="pl"] { display: none !important; }

/* ---------- Układ ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--font-display); font-weight: 650; font-size: 17px; letter-spacing: 0.01em; }
.brand-name span { color: var(--text-3); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--text-2); font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-inner.simple .header-actions { margin-left: auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; padding: 8px 10px; border-radius: 8px; }
.back-link:hover { color: var(--text); background: var(--surface); }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }
@media (max-width: 520px) { .back-link .label { display: none; } }

.lang-switch {
  display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--text-3);
  font: 600 12px/1 var(--mono); letter-spacing: 0.06em; padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

.menu-toggle {
  display: none; appearance: none; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 11px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-3); background: var(--surface); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 112px) 0 clamp(72px, 10vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.16), transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 72px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); background: rgba(20, 20, 24, 0.7);
  padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 13px; color: var(--text-2); margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); margin-left: 4px; }

.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero h1 .muted { color: var(--text-3); }
.hero-lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--text-2); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--text-3); font-size: 14px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--accent-2); }

/* Makieta serwera */
.mock {
  position: relative;
  border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-server { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.mock-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--text); color: var(--bg); display: grid; place-items: center; font: 700 12px/1 var(--font-display); }
.mock-tag { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; }
.mock-channels { padding: 14px 10px 18px; border-right: 1px solid var(--line); }
.mock-cat { font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--text-3); padding: 14px 8px 8px; text-transform: uppercase; }
.mock-cat:first-child { padding-top: 4px; }
.mock-ch { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; font-size: 13.5px; color: var(--text-2); }
.mock-ch .hash { color: var(--text-3); font-family: var(--mono); }
.mock-ch.active { background: var(--surface-2); color: var(--text); }
.mock-ch .lock { margin-left: auto; width: 12px; height: 12px; color: var(--text-3); }
.mock-side { padding: 18px 16px; display: flex; flex-direction: column; gap: 18px; }
.mock-label { font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; margin-bottom: 10px; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.role { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.role i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.role.r1 i { background: #fafafa; }
.role.r2 i { background: var(--accent-2); }
.role.r3 i { background: #6d6d78; }
.ticket { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; background: var(--bg-2); }
.ticket-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.ticket p { color: var(--text-3); font-size: 12.5px; margin-bottom: 12px; line-height: 1.5; }
.ticket-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; }
.ticket-btn svg { width: 14px; height: 14px; }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.status-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.mock-caption { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ---------- Usługi ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg); padding: clamp(24px, 3vw, 32px); transition: background-color .2s ease; }
.card:hover { background: var(--bg-2); }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid var(--line-2); color: var(--accent-2); background: var(--surface);
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.step-num { font: 600 12px/1 var(--mono); color: var(--accent-2); letter-spacing: 0.08em; margin-bottom: 18px; display: block; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--text-2); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ---------- Cennik ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.plan.featured { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(139, 92, 246, 0.07) 0%, var(--bg-2) 45%); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.plan-name { font-size: 18px; letter-spacing: -0.01em; }
.plan-flag { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 6px 9px; border-radius: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan-price .from { color: var(--text-3); font-size: 14px; }
.plan-price .amount { font: 650 44px/1 var(--font-display); letter-spacing: -0.03em; }
.plan-price .cur { color: var(--text-2); font-weight: 600; }
.plan-desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 24px; min-height: 46px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.plan li svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; }
.plan.top { border-color: var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, var(--bg-2) 40%); }
.plan-tier { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--text-3); }
.plan-price .cur { margin-left: 2px; }
.plan li.inherit { color: var(--text-3); }
.plan li.inherit svg { color: var(--text-3); }

/* Blok wsparcia w karcie pakietu */
.plan-support { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; }
.support-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
  font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 14px; height: 4px; border-radius: 2px; background: var(--line-2); }
.meter i.on { background: var(--accent-2); }
.plan-support dl { margin: 0; display: grid; gap: 9px; }
.plan-support dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; }
.plan-support dt { color: var(--text-3); }
.plan-support dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }

/* Tabela porównania wsparcia */
.compare-block { margin-top: 56px; }
.compare-block h3 { font-size: 20px; margin-bottom: 16px; letter-spacing: -0.01em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare thead th { background: var(--bg-2); color: var(--text); font-weight: 600; }
.compare tbody th { text-align: left; color: var(--text-2); font-weight: 500; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg-2); border-right: 1px solid var(--line); }
.compare td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-featured { background: rgba(139, 92, 246, 0.06); color: var(--text); }
.compare thead .col-featured { color: var(--accent-2); }
.compare td.hi { color: var(--text); font-weight: 600; }
.compare-block .fine-print strong { color: var(--text-2); font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.custom-plan {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px clamp(24px, 3vw, 32px); border: 1px dashed var(--line-2); border-radius: 18px;
}
.custom-plan h3 { font-size: 18px; margin-bottom: 4px; }
.custom-plan p { color: var(--text-2); margin: 0; font-size: 15px; }
.fine-print { margin-top: 22px; color: var(--text-3); font-size: 13.5px; max-width: 820px; }

/* ---------- Portfolio / opinie ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); background: var(--bg-2); }
.panel h3 { font-size: 22px; margin-bottom: 10px; }
.panel > p { color: var(--text-2); }
.concepts { display: grid; gap: 10px; margin: 22px 0 26px; }
.concept { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.concept-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); font: 700 13px/1 var(--font-display); flex-shrink: 0; }
.concept strong { display: block; font-size: 14.5px; font-weight: 600; }
.concept span { display: block; font-size: 13px; color: var(--text-3); }
.concept .tag { margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-2); padding: 5px 7px; border-radius: 6px; }
.promise { display: grid; gap: 14px; margin: 22px 0 26px; }
.promise li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.promise svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }

/* ---------- Płatności ---------- */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pay-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pay-item { display: flex; gap: 14px; padding: 18px 20px; background: var(--bg); }
.pay-item svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.pay-item strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.pay-item span { color: var(--text-2); font-size: 14.5px; }
.operator { margin-top: 18px; color: var(--text-3); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0; margin-right: 4px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq .answer { color: var(--text-2); padding: 0 40px 22px 0; font-size: 15.5px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(48px, 8vw, 88px) var(--gutter);
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(139, 92, 246, 0.14), transparent 70%), var(--bg-2);
}
.cta h2 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.03em; margin-bottom: 16px; }
.cta p { color: var(--text-2); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: clamp(72px, 10vw, 120px); color: var(--text-3); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { font: 600 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--text); }
.footer-tagline { color: var(--text-2); margin: 14px 0 0; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
address { font-style: normal; }
.footer-note { margin: 12px 0 0; font-size: 13px; color: var(--text-3); max-width: 280px; }

/* ---------- Strony prawne ---------- */
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 7vw, 80px); }
.legal-toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.legal-toc h2 { font: 600 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--text); }
.legal { max-width: 760px; min-width: 0; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; margin-bottom: 12px; }
.legal .meta { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin: 48px 0 16px; padding-top: 8px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ol, .legal ul.list { padding-left: 1.4em; margin: 0 0 1em; }
.legal ol li, .legal ul.list li { margin-bottom: 8px; padding-left: 4px; }
.legal ul.list { list-style: disc; }
.legal ol ol { list-style: lower-alpha; margin-top: 8px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.legal a:hover { text-decoration-color: var(--accent-2); }
.note {
  border: 1px solid var(--line-2); border-left: 2px solid var(--accent); border-radius: 10px;
  padding: 16px 18px; background: var(--bg-2); margin: 0 0 28px; font-size: 15px; color: var(--text-2);
}
.note p:last-child { margin: 0; }
.data-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--bg-2); margin: 8px 0 20px; }
.data-box p { margin: 0 0 4px; }
.form-template { border: 1px dashed var(--line-2); border-radius: 12px; padding: 22px; margin-top: 16px; }
.form-template p { color: var(--text-2); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 600 13px/1 var(--mono); color: var(--accent-2); letter-spacing: 0.12em; margin-bottom: 18px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.notfound p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- Animacja wejścia (tylko z JS, bez ruchu dla osób, które go wyłączyły) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover { transform: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-wrap { max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .split, .pay { grid-template-columns: 1fr; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: var(--bg-2); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:hover { background: transparent; }
  .nav-open .nav { display: flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid-3, .steps, .pricing { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-channels { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-cta .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq .answer { padding-right: 0; }
  .concept .tag { display: none; }
}
