/* FoxyPrices.com — style strony (mobile-first, bez zależności). Font: fonts.css */

:root {
  --accent: #E65C29;          /* kolor z logo — jedyny kolor akcentu */
  --accent-hover: #CF4D1D;
  --accent-text: #C2410C;     /* akcent jako tekst na jasnym tle (kontrast AA) */
  --accent-soft: #FFF3ED;
  --ink: #101828;
  --text: #344054;
  --muted: #667085;
  --line: #E4E7EC;
  --surface: #F8F9FB;
  --white: #FFFFFF;
  --green: #067647;
  --green-soft: #ECFDF3;
  --on-dark: #E4E7EC;
  --on-dark-muted: #98A2B3;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, .16);
  --pad-x: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 136px);
  --max: 1160px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 620px; margin: 0 auto clamp(44px, 6vw, 80px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 16px auto 0; max-width: 520px; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.section--dark .eyebrow { color: #FF9A6C; }
.text-grad { color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--accent);
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  color: #fff; background: var(--accent); box-shadow: var(--shadow-sm);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { color: #fff; background: var(--accent-hover); border-color: var(--accent-hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: #fff; color: var(--ink); border-color: #D0D5DD; }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: #98A2B3; }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--pad-x) 24px; display: none;
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 14px 2px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--accent-text); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 24px; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .92rem; color: var(--text); }
  .site-nav li a:hover { background: var(--surface); color: var(--ink); }
  .nav-actions { flex-direction: row; margin: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--white); padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; gap: clamp(56px, 7vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-checks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; margin-bottom: 28px; border-radius: 999px; background: var(--accent-soft); border: 1px solid #FFD9C7; font-size: .82rem; font-weight: 600; color: var(--accent-text); }
.pill b { font-weight: 700; white-space: nowrap; }
.pill b::after { content: "·"; margin-left: 8px; opacity: .6; }

/* Scena z grafiką: lis i dwa wykresy (elementy wycięte z infografiki) */
.stage { position: relative; margin-top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(28px, 3.4vw, 40px) clamp(20px, 3vw, 36px) 0; }
.stage-fox { position: absolute; top: -52px; left: 50%; width: 76px; height: auto; margin-left: -38px; mix-blend-mode: multiply; }
.stage-cols { display: grid; gap: 32px; }
.stage-col { text-align: center; }
.stage-col + .stage-col { padding-top: 32px; border-top: 1px solid var(--line); }
.stage-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; margin-bottom: 12px; }
.stage-tag svg { width: 13px; height: 13px; }
.stage-tag--down { background: var(--accent-soft); color: var(--accent-text); }
.stage-tag--up { background: var(--green-soft); color: var(--green); }
.stage-col h2 { font-size: 1.15rem; min-height: 2.6em; margin: 0 0 8px; letter-spacing: -.015em; }
.stage-col img { width: 100%; max-width: 230px; height: 140px; object-fit: contain; object-position: center bottom; margin: 0 auto 16px; mix-blend-mode: multiply; }
.stage-col p { margin: 0; font-size: .88rem; color: var(--muted); }
.stage-foot { list-style: none; margin: 32px calc(-1 * clamp(20px, 3vw, 36px)) 0; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; border-top: 1px solid var(--line); background: var(--surface); border-radius: 0 0 20px 20px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.stage-foot li { display: inline-flex; align-items: center; gap: 6px; }
.stage-foot svg { width: 15px; height: 15px; color: var(--accent); }
@media (min-width: 640px) {
  .stage-cols { grid-template-columns: 1fr 1fr; gap: 0; }
  .stage-col { padding: 0 20px; }
  .stage-col + .stage-col { padding-top: 0; border-top: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 960px) { .hero .container { grid-template-columns: 1fr 1.05fr; } .stage { margin-top: 0; } }
@media (max-width: 480px) { .hero .btn { width: 100%; } }

/* ---------- Logotypy klientów ---------- */
.logos { padding: 0 0 clamp(64px, 8vw, 104px); }
.logos p { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(28px, 6vw, 64px); }
.logos img { height: 38px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: opacity .2s, filter .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Statystyki ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: clamp(20px, 3vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(2n) { border-right: 1px solid var(--line); border-bottom: 0; }
  .stat:last-child { border-right: 0; }
}

/* ---------- Obniża / podnosi ---------- */
.duo { display: grid; gap: 16px; }
.duo-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.duo-card h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-bottom: 10px; }
.duo-card p { color: var(--muted); }
.duo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: .78rem; font-weight: 600; margin-bottom: 16px; }
.duo-tag svg { width: 14px; height: 14px; }
.duo-card--down .duo-tag { background: var(--accent-soft); color: var(--accent-text); }
.duo-card--up .duo-tag { background: var(--green-soft); color: var(--green); }
.duo-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.duo-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .95rem; }
.duo-card li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.duo-card--down li svg { color: var(--accent); }
.duo-card--up li svg { color: var(--green); }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.infographic { margin: clamp(24px, 3.5vw, 40px) 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }

/* ---------- Karty korzyści ---------- */
.cards { display: grid; gap: 24px; }
.card { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #D0D5DD; box-shadow: var(--shadow-sm); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card { text-align: center; }
.card .icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin: 0 auto 28px; }
.card .icon svg { width: 36px; height: 36px; stroke-width: 1.75; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Wideo ---------- */
.video-wrap { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-lead { color: var(--on-dark-muted); margin: 0 0 32px; max-width: 420px; }
.video-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.video-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: .98rem; }
.video-points svg { width: 20px; height: 20px; color: #FF9A6C; flex: none; margin-top: 2px; }
@media (min-width: 960px) { .video-wrap { grid-template-columns: .85fr 1.15fr; } }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 24px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-ico { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); border: 1px solid #FFD9C7; }
.step-ico svg { width: 30px; height: 30px; stroke-width: 1.75; }
.step-ico b { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; border: 2px solid #fff; }
.step--done .step-ico { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px -8px rgba(230, 92, 41, .55); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0 auto; max-width: 230px; font-size: .94rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  /* przerywana linia łącząca kolejne kroki */
  .step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 52px); width: calc(100% + 24px - 104px); border-top: 2px dashed #F2B59B; }
}

/* ---------- Funkcje (zakładki) ---------- */
.features { display: grid; gap: 32px; align-items: stretch; }
.feature-list { display: grid; gap: 10px; }
.feature-tab { display: block; width: 100%; text-align: left; font: inherit; cursor: pointer; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text); transition: border-color .15s, background-color .15s; }
.feature-tab:hover { border-color: #D0D5DD; }
.feature-tab h3 { font-size: 1rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.feature-tab h3 span { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 700; }
.feature-tab p { margin: 8px 0 0 40px; color: var(--muted); font-size: .93rem; }
html:not(.no-js) .feature-tab:not([aria-selected="true"]) p, html:not(.no-js) .feature-tab:not([aria-selected="true"]) .feature-inline { display: none; }
.feature-tab[aria-selected="true"] { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 1px var(--accent); }
.feature-tab[aria-selected="true"] h3 span { background: var(--accent); color: #fff; }
.feature-media { position: relative; align-self: stretch; min-height: 360px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature-media img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.feature-figure { display: none; margin: 0; position: absolute; inset: 0; }
.feature-figure.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.no-js .feature-media { display: none; }
.feature-inline { display: none; }
.no-js .feature-inline { display: block; margin-top: 14px; border-radius: 10px; background: var(--surface); }
@media (max-width: 899px) {
  .feature-media { display: none; }
  .feature-tab p { margin-left: 0; }
  .feature-inline { display: block; margin-top: 14px; border-radius: 10px; background: var(--surface); padding: 8px; }
}
@media (min-width: 900px) { .features { grid-template-columns: 1fr 1.05fr; } }

/* ---------- Bezpieczeństwo ---------- */
.section--security { background: var(--ink); color: var(--on-dark);
  background-image: radial-gradient(600px 360px at 85% 20%, rgba(230, 92, 41, .16), transparent 70%); }
.section--security h2 { color: #fff; }
.security { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.security .eyebrow { color: #FF9A6C; }
.security h2 em { font-style: normal; color: #FF9A6C; }
.security p.lead { color: var(--on-dark-muted); font-size: 1.05rem; max-width: 520px; }
.trust-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.trust-grid li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.trust-grid svg { width: 22px; height: 22px; flex: none; color: #FF9A6C; }
.security-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.security-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.security-list .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(230,92,41,.16); color: #FF9A6C; }
.security-list .ico svg { width: 22px; height: 22px; }
.security-list b { display: block; color: #fff; margin-bottom: 4px; font-weight: 600; }
.security-list span { color: var(--on-dark-muted); font-size: .94rem; }
.security-visual { position: relative; border-radius: var(--radius-lg); background: #fff; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 40px) clamp(56px, 6vw, 72px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.security-visual img { margin: 0 auto; max-width: 380px; width: 100%; }
.security-seal { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: 0 12px 28px -10px rgba(230,92,41,.7); }
.security-seal svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .security { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } .security-seal { font-size: .85rem; padding: 10px 16px; } }

/* ---------- Integracje ---------- */
.integrations { display: grid; gap: 14px; }
.integration { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.integration .mark { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--ink) !important; }
.integration b { display: block; color: var(--ink); font-weight: 600; }
.integration span { font-size: .88rem; color: var(--muted); }
.status { display: inline-block; margin-left: auto; flex: none; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.status--on { background: var(--green-soft); color: var(--green); }
.status--soon { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
@media (min-width: 860px) { .integrations { grid-template-columns: repeat(3, 1fr); } .integration { flex-wrap: wrap; } .integration .status { margin-left: 0; } }

/* ---------- Cennik ---------- */
.pricing-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--text); }
.chip svg { width: 14px; height: 14px; color: var(--green); }
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 1.05rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .9rem; min-height: 2.9em; margin: 0; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 2px; color: var(--ink); }
.price b { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price span { font-weight: 600; color: var(--muted); }
.price-sub { font-size: .82rem; color: var(--muted); margin: 0 0 20px; }
.price--custom b { font-size: 1.8rem; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; font-size: .92rem; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.plan li span { color: var(--muted); }
.plan li b { color: var(--ink); font-weight: 600; text-align: right; }
.plan--featured { border: 2px solid var(--accent); padding: 31px 25px; box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; }
.pricing-foot { margin: 32px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: .85rem; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

.trial { margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid #FFD9C7; display: grid; gap: 18px; align-items: center; }
.trial h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 6px; }
.trial p { margin: 0; color: var(--text); font-size: .95rem; }
.trial .btn--white { background: var(--accent); color: #fff; border-color: var(--accent); }
.trial .btn--white:hover { background: var(--accent-hover); color: #fff; border-color: var(--accent-hover); }
@media (min-width: 860px) { .trial { grid-template-columns: 1fr auto; } }

/* ---------- Case study ---------- */
.cases { display: grid; gap: 24px; }
.case { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.case:hover { border-color: #D0D5DD; box-shadow: var(--shadow); }
.case-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.case-body .tag { font-size: .78rem; font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.case-body p { color: var(--muted); font-size: .95rem; }
.case blockquote { margin: 0 0 16px; padding: 0 0 0 16px; border-left: 2px solid var(--accent); color: var(--ink); font-size: .95rem; }
.case .more { margin-top: auto; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); }
.case .more svg { width: 16px; height: 16px; }
@media (min-width: 860px) { .cases { grid-template-columns: 1fr 1fr; } }

/* ---------- Demo ---------- */
.demo { display: grid; gap: 24px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.demo h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.demo p { color: var(--muted); margin: 0; }
.demo-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.demo-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); font-size: .95rem; }
.demo-list svg { width: 18px; height: 18px; color: var(--green); flex: none; }
@media (min-width: 860px) { .demo { grid-template-columns: 1.3fr auto; } }

/* ---------- Blog: karty ---------- */
.posts { display: grid; gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: #D0D5DD; box-shadow: var(--shadow); color: inherit; }
.post-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card time, .post-meta { font-size: .8rem; font-weight: 500; color: var(--muted); }
.post-card h3 { font-size: 1.05rem; margin: 8px 0 8px; line-height: 1.35; }
.post-card p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.post-card .read { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--accent-text); }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.center { text-align: center; }
.mt { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .15s; }
.faq details[open] { border-color: #D0D5DD; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 600; color: var(--ink); line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--ink); }

/* ---------- CTA końcowe ---------- */
.final-cta { text-align: center; color: #fff; background: var(--ink); padding: clamp(72px, 10vw, 128px) 0; }
.final-cta h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.final-cta p { max-width: 520px; margin: 0 auto 36px; color: var(--on-dark-muted); font-size: 1.05rem; }
.final-cta .btn-row { justify-content: center; }
.final-cta .fox { display: none; }

/* ---------- Stopka ---------- */
.site-footer { background: #0B1220; color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 24px; font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #FF9A6C; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; }
.contact-line svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: #FF9A6C; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Podstrony (blog, regulaminy) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4.5vw, 52px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 880px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 1.05rem; margin: 0; }
.page-hero p a { color: var(--accent-text); }
.crumbs { font-size: .85rem; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }

.blog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 280px; max-width: 400px; }
.search input { width: 100%; min-height: 46px; padding: 0 16px 0 42px; border-radius: 10px; border: 1px solid #D0D5DD; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,92,41,.15); }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); }
.blog-count { color: var(--muted); font-size: .88rem; font-weight: 500; }
.no-results { display: none; text-align: center; padding: 40px 0; color: var(--muted); }
.post-featured { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; margin-bottom: 24px; transition: border-color .2s, box-shadow .2s; }
.post-featured:hover { border-color: #D0D5DD; box-shadow: var(--shadow); color: inherit; }
.post-featured .thumb { aspect-ratio: 3 / 2; overflow: hidden; }
.post-featured .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-featured .body { padding: clamp(22px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 12px; }
.post-featured p { color: var(--muted); }
.post-featured .label { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: .75rem; font-weight: 600; }
@media (min-width: 900px) { .post-featured { grid-template-columns: 1.1fr 1fr; } .post-featured .thumb { aspect-ratio: auto; min-height: 100%; } }

.article-wrap { display: grid; gap: 40px; padding: clamp(32px, 4vw, 52px) 0 var(--section-y); }
.article-cover { max-width: 900px; margin: 0 auto clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; }

.prose { max-width: 740px; margin: 0 auto; font-size: 1.04rem; color: var(--text); overflow-wrap: break-word; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.9em 0 .6em; }
.prose h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: 10px; margin: 0 auto; }
.prose figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.prose blockquote { margin: 1.6em 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.prose .callout { padding: 18px 20px; border-radius: 10px; background: var(--surface); border-left: 3px solid var(--accent); }
.prose .cta-inline { margin: 2em 0; text-align: center; }
.prose .cta-inline .btn { white-space: normal; padding: 12px 24px; height: auto; }
.prose .btn, .prose .btn:hover { color: #fff; text-decoration: none; }

.article-cta { max-width: 740px; margin: 44px auto 0; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); display: grid; gap: 16px; }
.article-cta h2 { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: 0 0 4px; }
.article-cta p { margin: 0; color: var(--on-dark-muted); font-size: .95rem; }
.article-cta img { display: none; }
.legal .prose { font-size: .98rem; }
.legal .prose h2 { font-size: 1.3rem; }
.legal .prose h3 { font-size: 1.1rem; }

/* ---------- Pojawianie się, przycisk do góry, pasek CTA ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
@media (max-width: 759px) { .to-top { bottom: 80px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .mobile-cta, .to-top, .article-cta { display: none !important; } }

/* ---------- Zgoda na cookies ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(440px, calc(100vw - 32px)); padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -12px rgba(16, 24, 40, .35); }
.consent[hidden], .consent-opts[hidden] { display: none; }
.consent h2 { font-size: 1.05rem; margin: 0 0 8px; }
.consent p { font-size: .88rem; color: var(--muted); margin: 0 0 16px; line-height: 1.55; }
.consent-opts { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px; border-radius: var(--radius); background: var(--surface); }
.consent-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; line-height: 1.45; cursor: pointer; }
.consent-opts input { margin-top: 3px; accent-color: var(--accent); }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-btns .btn { flex: 1 1 auto; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--on-dark); cursor: pointer; text-align: left; }
.link-btn:hover { color: #FF9A6C; }
@media (max-width: 480px) { .consent { left: 8px; right: 8px; bottom: 8px; width: auto; } }
