/* NAVIPO – strona główna. Wszystkie kolory i wymiary w :root (opis ról: DESIGN.md). */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/_landing/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/_landing/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* marka */
  --green: #2A64D8;          /* kolor marki: logo, linki, aktywne zakładki */
  --green-2: #1F4FB3;        /* hover zieleni, ikony */
  --red: #E5383B;            /* akcent: CTA, alerty, wyróżniony pakiet */
  --red-2: #C92D30;          /* hover akcentu */
  --red-on-dark: #FF8A8C;    /* akcent na ciemnym tle (kontrast AA) */
  --gradient: linear-gradient(118deg, #0F2A47 0%, #2A64D8 100%);
  --hero-bg: linear-gradient(118deg, #081A2E 0%, #0F2A47 46%, #17406E 82%, #2A64D8 118%);

  /* neutralne */
  --bg: #F4F7FB;
  --bg-tint: #E9EEF5;
  --surface: #FFFFFF;
  --dark: #0A1E35;
  --dark-2: #12304F;
  --text: #0F2A47;
  --muted: #5B6B80;
  --line: #DAE1EA;
  --on-dark: #F4F7FB;
  --on-dark-muted: #AFC0D4;
  --line-dark: rgba(244, 247, 251, .14);

  /* statusy urządzeń */
  --ok: #1F8A3B;
  --warn: #F5A020;
  --alert: #E5383B;

  /* typografia */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-h3: 1.25rem; --fs-h2: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); --fs-h1: clamp(2.125rem, 1.2rem + 3.3vw, 3.5rem);

  /* siatka */
  --wrap: 1200px; --gutter: 24px; --section: clamp(64px, 9vw, 120px);
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --shadow: 0 1px 2px rgba(26, 26, 26, .05), 0 12px 32px -12px rgba(15, 42, 71, .18);
  --shadow-lg: 0 30px 70px -30px rgba(4, 12, 24, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* tryb ciemny: z systemu, chyba że użytkownik wybrał jasny */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0A1A2E; --bg-tint: #0E2138; --surface: #132A45; --text: #EEF3F9; --muted: #A3B4C9; --line: #24405F;
  --green: #7FA6F0; --green-2: #A9C4F5; --dark: #071426; --dark-2: #0E2340; --red: #E5383B; --red-2: #F25C5F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0A1A2E; --bg-tint: #0E2138; --surface: #132A45; --text: #EEF3F9; --muted: #A3B4C9; --line: #24405F;
  --green: #7FA6F0; --green-2: #A9C4F5; --dark: #071426; --dark-2: #0E2340; --red: #E5383B; --red-2: #F25C5F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6); color-scheme: dark; }

/* dodatkowe role (opis: DESIGN.md) */
:root { --btn: #C92D30; --btn-2: #AE2326; --brand-green: #3DBA4E; --header-h: 68px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--fs-md)/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- przyciski: prostokątne, jak w serwisie usługowym ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .25s var(--ease); }
.btn > * { pointer-events: none; }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-primary { color: #fff; background: var(--btn); box-shadow: 0 10px 22px -12px rgba(201, 45, 48, .9); }
.btn-primary:hover { background: var(--btn-2); }
.btn-outline { color: var(--text); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-outline-light { color: var(--on-dark); border-color: rgba(244, 247, 251, .4); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-dark); background: rgba(244, 247, 251, .08); }
.btn-light { color: #0F2A47; background: #F4F7FB; }
.btn-light:hover { background: #fff; }
.btn[disabled] { opacity: .45; cursor: default; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 0; background: transparent; color: inherit; }
.icon-btn:hover { background: var(--bg-tint); }

/* ---------- pasek informacyjny + nagłówek ---------- */
.topbar { background: var(--dark); color: var(--on-dark-muted); font-size: var(--fs-xs); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 12px 28px -20px rgba(15, 42, 71, .5); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; --logo-ring: var(--text); }
.logo-word { font-weight: 800; font-size: 1.25rem; letter-spacing: .09em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); padding: 8px 12px; border-radius: var(--r-sm); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; } :root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico-sun { display: block; } :root:not([data-theme="light"]) .ico-moon { display: none; } }

/* ---------- nagłówki sekcji: mały nadtytuł + ciężki tytuł ---------- */
.kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.kicker-light { color: var(--on-dark-muted); }
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; font-weight: 800; }
.section { padding: var(--section) 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-lead { margin-top: 16px; font-size: var(--fs-lg); color: var(--muted); max-width: 38em; }
.section-dark .section-lead { color: var(--on-dark-muted); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--on-dark); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(244, 247, 251, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 247, 251, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { padding-left: 24px; border-left: 3px solid rgba(244, 247, 251, .9); }
.lead { margin-top: 24px; font-size: var(--fs-lg); color: #D6E0EC; max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* dwubarwny pas pod hero */
.stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 3; pointer-events: none; }
.stripe i { position: absolute; height: 10px; }
.stripe i:first-child { left: 0; width: 64%; top: 0; background: var(--brand-green); }
.stripe i:last-child { right: 0; width: 36%; top: 10px; background: var(--red); }

.hero-visual { perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
.tilt.is-live { transition: none; }
.browser { border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(244, 247, 251, .16); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #E7EDF4; color: #5B6B80; font-size: 12px; font-weight: 600; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C3CDDA; }
.browser-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #F4F7FB; }
.screens { display: grid; }
.screens img { grid-area: 1 / 1; width: 100%; opacity: 0; transform: scale(1.015); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.screens img.is-on { opacity: 1; transform: none; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); background: #fff; color: #0F2A47; box-shadow: 0 18px 40px -18px rgba(4, 12, 24, .6);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 40px); transition: transform .5s var(--ease); font-size: var(--fs-xs); line-height: 1.35; }
.tilt.is-live .float-card { transition: none; }
.float-card strong { display: block; font-size: var(--fs-sm); }
.float-card small { color: #5B6B80; font-size: 12px; }
.float-alert { top: 9%; right: -18px; }
.float-ok { bottom: 8%; left: -22px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.dot-ok { background: var(--ok); } .dot-warn { background: var(--warn); } .dot-alert { background: var(--alert); }
.dot-todo { background: transparent; border: 2px dashed var(--on-dark-muted); }
.float-alert .dot-alert { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .5); } 100% { box-shadow: 0 0 0 12px rgba(229, 56, 59, 0); } }
.screen-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
.screen-tabs button { position: relative; padding: 10px 4px 12px; border: 0; background: transparent; color: var(--on-dark-muted); font-weight: 700; font-size: var(--fs-sm); text-align: left; transition: color .2s; }
.screen-tabs button::before, .screen-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(244, 247, 251, .2); }
.screen-tabs button::after { background: var(--on-dark); transform: scaleX(0); transform-origin: 0 50%; }
.screen-tabs button:hover, .screen-tabs button[aria-pressed="true"] { color: var(--on-dark); }
.screen-tabs button[aria-pressed="true"]::after { transform: scaleX(1); }
.screen-tabs.is-auto button[aria-pressed="true"]::after { animation: fill 4.5s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.screen-note { margin-top: 10px; font-size: 12px; color: var(--on-dark-muted); }

/* ---------- liczby ---------- */
.stats { padding: clamp(40px, 5vw, 64px) 0 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-row > div { display: flex; flex-direction: column-reverse; padding: 4px 28px; border-left: 3px solid var(--line); }
.stats-row dd { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: var(--text); font-variant-numeric: tabular-nums; }
.stats-row dt { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.stats-note { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- karty + poświata za kursorem ---------- */
.card { position: relative; padding: 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--green) 14%, transparent), transparent 70%); }
.spot:hover::before { opacity: 1; }

/* lista z kwadratowym znacznikiem */
.checks { display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 4px; background: var(--ok) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.500 4.500L19 7.500'/%3E%3C/svg%3E"); }
.checks-sm { gap: 10px; font-size: var(--fs-sm); }
.checks-sm li { padding-left: 30px; } .checks-sm li::before { width: 18px; height: 18px; background-size: 12px; }

/* ---------- co zyskujesz: porównanie dziś / z NAVIPO (oba stany widoczne od razu) ---------- */
.swap-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.swap-wrap .section-head { margin-bottom: 0; position: sticky; top: 108px; }
.pick { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 4px; border-radius: var(--r-md); background: var(--bg-tint); border: 1px solid var(--line); }
.pick button { border: 0; background: transparent; padding: 10px 18px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.pick button:hover { color: var(--text); }
.pick button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.swap { display: grid; gap: 12px; }
.swap li { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.15fr); gap: 6px 16px; align-items: start; padding: 20px 24px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ok); }
.swap-when { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.swap p { line-height: 1.45; }
.swap p::before { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.swap p.before { grid-column: 1; color: var(--muted); font-size: var(--fs-sm); }
.swap p.before::before { content: "Dziś"; }
.swap p.after { grid-column: 3; font-size: var(--fs-md); font-weight: 700; }
.swap p.after::before { content: "Z " var(--brand-name, "NAVIPO"); color: var(--ok); }
.swap li::after { content: ""; grid-area: 2 / 2; align-self: center; width: 22px; height: 22px; background: var(--muted); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* ---------- demo: kontrola → raport ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.map { position: relative; border-radius: var(--r-md); background: var(--dark-2); border: 1px solid var(--line-dark); }
.floor { display: block; width: 100%; height: auto; }
.plan-out { fill: none; stroke: rgba(244, 247, 251, .12); stroke-dasharray: 4 6; }
.plan-wall { fill: rgba(244, 247, 251, .035); stroke: rgba(244, 247, 251, .5); stroke-width: 2; fill-rule: evenodd; }
.plan-door { stroke: var(--dark-2); stroke-width: 4; fill: none; }
.plan-labels text { fill: rgba(244, 247, 251, .42); font: 700 10px var(--font); letter-spacing: .12em; text-anchor: middle; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; padding: 0;
  color: var(--on-dark); background: var(--dark); border: 2px dashed var(--on-dark-muted); transition: transform .25s var(--ease), background-color .3s, border-color .3s, box-shadow .25s; }
.pin.is-next { border-color: #fff; animation: beacon 1.8s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(244, 247, 251, .55); } 100% { box-shadow: 0 0 0 16px rgba(244, 247, 251, 0); } }
.pin.is-done { border: 2px solid var(--dark); color: #fff; background: var(--ok); animation: pop .45s var(--ease); }
.pin.is-done[data-status="warn"] { background: var(--warn); color: #2A2000; }
.pin.is-done[data-status="alert"] { background: var(--alert); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.pin:hover, .pin:focus-visible { transform: scale(1.18); z-index: 3; }
.map-tip { position: absolute; z-index: 5; min-width: 180px; padding: 10px 14px; border-radius: var(--r-sm); background: #F4F7FB; color: #0F2A47; font-size: var(--fs-xs); line-height: 1.45; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7); pointer-events: none; }
.map-tip b { display: block; font-size: var(--fs-sm); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.legend li { display: flex; align-items: center; gap: 8px; }

.report { position: relative; padding: 24px; border-radius: var(--r-md); background: #fff; color: #0F2A47; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid #0F2A47; }
.report-head .logo-mark { width: 34px; height: 34px; --logo-ring: #0F2A47; }
.report-head b { display: block; font-size: 1rem; } .report-head div span { color: #5B6B80; font-size: var(--fs-xs); }
.report-stamp { margin-left: auto; padding: 4px 10px; border: 2px solid #1F8A3B; border-radius: 6px; color: #1F8A3B; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-6deg) scale(1.6); opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.report.is-done .report-stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
.report-progress { height: 6px; margin-top: 16px; border-radius: 6px; background: #E3E9F1; overflow: hidden; }
.report-progress i { display: block; height: 100%; width: 0; background: #2A64D8; border-radius: 6px; transition: width .4s var(--ease), background-color .3s; }
.report.is-done .report-progress i { background: #1F8A3B; }
.report-count { margin-top: 8px; font-size: var(--fs-xs); color: #5B6B80; font-weight: 600; }
.report-rows { margin-top: 10px; min-height: 296px; }
.report-rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 12px; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #E6ECF3; animation: row-in .4s var(--ease) both; }
.report-rows li > span:first-child { color: #5B6B80; font-variant-numeric: tabular-nums; }
.report-rows li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.report-rows .dot { width: 10px; height: 10px; }
.report-rows .report-empty { display: block; border: 0; color: #5B6B80; padding-top: 14px; }
@keyframes row-in { from { opacity: 0; transform: translateX(14px); } }
.report-summary { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: #E9EEF5; font-size: var(--fs-xs); font-weight: 600; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.report-actions .btn-light { background: #0F2A47; color: #F4F7FB; } .report-actions .btn-light:hover { background: #17406E; }
.report-actions .btn-outline-light { color: #0F2A47; border-color: #C3CDDA; } .report-actions .btn-outline-light:hover { background: #E9EEF5; border-color: #0F2A47; }

.trend { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 28px; padding: 24px 28px; border-radius: var(--r-md); background: var(--dark-2); border: 1px solid var(--line-dark); }
.trend figcaption strong { display: block; font-size: var(--fs-h3); line-height: 1.3; font-weight: 800; }
.trend figcaption span { display: block; margin-top: 8px; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.trend svg { width: 100%; height: auto; overflow: visible; }
.trend-grid path { stroke: rgba(244, 247, 251, .1); fill: none; }
.trend-axis text { fill: var(--on-dark-muted); font: 600 10px var(--font); text-anchor: end; }
.trend-months text { text-anchor: middle; }
.trend-limit { stroke: var(--red-on-dark); stroke-dasharray: 5 5; fill: none; }
.trend-limit-label { fill: var(--red-on-dark); font: 700 10px var(--font); text-anchor: end; }
.trend-line { fill: none; stroke: #6FD58A; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trend.is-drawn .trend-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.trend-dot { fill: var(--dark-2); stroke: #6FD58A; stroke-width: 2; opacity: 0; transition: opacity .3s; }
.trend-dot.over { stroke: var(--red-on-dark); }
.trend.is-drawn .trend-dot { opacity: 1; transition-delay: calc(var(--i) * .15s); }

/* ---------- audyt ---------- */
.audit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fineprint { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); max-width: 46ch; }
.audit-card { padding: 8px 28px; box-shadow: var(--shadow); }
.audit-card .checks { gap: 0; }
.audit-card li { display: flex; align-items: center; gap: 16px; padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line); transition: transform .25s var(--ease); }
.audit-card li:last-child { border-bottom: 0; }
.audit-card li::before { top: 20px; }
.audit-card li:hover { transform: translateX(6px); }
.audit-card li div { flex: 1; }
.audit-card b { display: block; } .audit-card li span { color: var(--muted); font-size: var(--fs-sm); }
.audit-card em { font-style: normal; padding: 3px 9px; border-radius: 5px; background: var(--dark); color: var(--on-dark); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

/* ---------- pakiety ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.plan h3 { font-size: 1.625rem; letter-spacing: -.02em; }
.plan-price { margin: 10px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan-badge { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 5px; background: var(--btn); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease); }
.plan.is-picked { border-color: var(--btn); box-shadow: 0 0 0 1px var(--btn), var(--shadow); transform: translateY(-6px); }
.plan.is-picked .plan-badge { opacity: 1; transform: none; }
.plan.is-picked .btn { background: var(--btn); border-color: var(--btn); color: #fff; }
.plans.has-pick .plan:not(.is-picked) { opacity: .62; }
.plans-note { margin-top: 28px; color: var(--muted); }
.plans-note a { font-weight: 700; }
.todo { display: inline-block; padding: 2px 10px; border-radius: 6px; border: 1px dashed currentColor; font-size: var(--fs-xs); font-weight: 600; opacity: .85; }

/* ---------- FAQ ---------- */
.faq-row { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-row .section-head { margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--green); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 4px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- CTA ---------- */
.cta { background: var(--hero-bg); color: #F4F7FB; padding: clamp(56px, 8vw, 96px) 0; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta p { margin-top: 16px; font-size: var(--fs-lg); color: #D6E0EC; max-width: 34em; }
.cta-box { display: grid; gap: 18px; padding: 28px; border-radius: var(--r-md); background: rgba(10, 30, 53, .55); border: 1px solid rgba(244, 247, 251, .18); }
.contact { display: grid; gap: 12px; }
.contact div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.contact dt { color: #CDD6E2; font-size: var(--fs-sm); }
.contact dd { font-weight: 700; }
.contact a { color: inherit; }

/* ---------- stopka ---------- */
.site-footer { background: #071426; color: var(--on-dark-muted); padding: 36px 0 24px; font-size: var(--fs-sm); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .logo { color: var(--on-dark); } .site-footer .logo-mark { --logo-ring: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }

/* ---------- wjazd sekcji ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .plan.reveal.is-in { transition: opacity .3s, border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.js .plan.reveal.is-in.is-picked { transform: translateY(-6px); }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .swap-wrap, .audit-row, .faq-row { grid-template-columns: minmax(0, 1fr); }
  .swap-wrap .section-head { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: var(--fs-md); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .hero-row, .demo, .cta-row, .trend { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; }
  .float-alert { right: -6px; } .float-ok { left: -6px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .report-rows { min-height: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .topbar-note { display: none; } .topbar-row { justify-content: flex-end; }
  .hero-title { padding-left: 16px; }
  .hero-cta .btn { width: 100%; }
  .float-card { padding: 9px 12px; } .float-card small { display: none; }
  .stats-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .swap li { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; }
  .swap p.before, .swap p.after { grid-column: 1; }
  .swap li::after { grid-area: auto; transform: rotate(90deg); margin: 2px 0; }
  .pick { display: flex; flex-direction: column; }
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 11px; }
  .plan-labels text { font-size: 9px; }
  .card, .plan, .report { padding: 22px 20px; }
  .audit-card { padding: 4px 20px; }
  .trend { padding: 20px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- mniej ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tilt, .float-card, .btn { transform: none !important; }
  .trend-line { stroke-dashoffset: 0; } .trend-dot { opacity: 1; }
}
