/* Uczelnia+, strona produktu.
   Założenia: spokojnie i czysto. Neutralne tło, jeden krój (ten sam co w rozszerzeniu), dużo powietrza,
   prawdziwe zrzuty interfejsu. Ruch jest tylko tam, gdzie coś pokazuje: wejście nagłówka, przejście
   ze starego portalu w nowy, tekst rozjaśniany przewijaniem i zmiana zrzutów w przeglądzie funkcji. */

:root {
  --bg: #fbfbf9;
  --surface: #fff;
  --soft: #f4f4f1;
  --ink: #161615;
  --ink-2: #4a4945;
  --muted: #7c7b75;
  --line: #e9e8e3;
  --line-2: #d8d7d1;
  --green: #1b7447;
  --red: #b3261e;
  --gap: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 0 0 1px rgb(22 22 21 / .09), 0 2px 6px rgb(22 22 21 / .04), 0 44px 88px -48px rgb(22 22 21 / .32);
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  interpolate-size: allow-keywords;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
button { border: 0; padding: 0; background: none; cursor: pointer; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.3vw, 5.1rem); font-weight: 640; line-height: 1.05; letter-spacing: -.037em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); font-weight: 630; line-height: 1.12; letter-spacing: -.028em; }
h3 { font-size: 1.0625rem; font-weight: 630; line-height: 1.35; letter-spacing: -.008em; }

.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.small { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.mono, code, kbd { font-family: var(--mono); }
code { font-size: .88em; }
kbd { padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); font-size: .82em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro { max-width: 40em; margin-top: 16px; font-size: 1.125rem; color: var(--ink-2); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, scale .2s var(--ease);
}
.btn:hover { background: #000; }
.btn:active { scale: .98; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-small { height: 38px; padding: 0 15px; border-radius: 9px; font-size: .9375rem; }

/* Elementy z klasą .rv wjeżdżają łagodnie, kiedy pojawią się w kadrze. */
.js .rv { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease) calc(var(--i, 0) * 80ms), translate .8s var(--ease) calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; translate: 0 0; }

/* Nagłówek */

.top { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 640 1.1875rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo i { font-style: normal; font-weight: 400; color: var(--muted); }
.mark { width: 28px; height: 28px; }
.mark rect { fill: var(--ink); }
.mark path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: .9375rem; }
.top nav a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.top nav a:hover { color: var(--ink); }

/* Początek strony */

.hero { padding: clamp(40px, 5.4vw, 76px) 0 0; text-align: center; }
.w { display: inline-block; }
.js .w { opacity: 0; filter: blur(12px); translate: 0 .28em; transition: opacity .9s var(--ease), filter .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i) * 75ms + 60ms); }
.js.ready .w { opacity: 1; filter: blur(0); translate: 0 0; }
.js .fade { opacity: 0; translate: 0 14px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(.62s + var(--i) * 90ms); }
.js.ready .fade { opacity: 1; translate: 0 0; }

.lede { max-width: 37em; margin: 28px auto 0; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 32px; }
.more { font-weight: 500; }
.more::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: translate .25s var(--ease); }
.more:hover::after { translate: 4px 0; }
.fine { margin-top: 20px; font-size: .875rem; color: var(--muted); }

/* Portal przed i po. Po wczytaniu strony stary widok sam odsłania nowy, potem suwak jest do dyspozycji. */

.compare { width: min(100% - 48px, 1240px); margin-top: clamp(40px, 4.6vw, 64px); }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.js .ba-frame { opacity: 0; translate: 0 44px; scale: .985; transition: opacity 1s var(--ease) .6s, translate 1.2s var(--ease) .6s, scale 1.2s var(--ease) .6s; }
.js.ready .ba-frame { opacity: 1; translate: 0 0; scale: 1; }
.ba-frame:has(.ba-range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.ba-side { position: absolute; inset: 0; }
.ba-side img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 14px; padding: 3px 10px; border-radius: 7px; background: rgb(255 255 255 / .94); box-shadow: 0 0 0 1px rgb(22 22 21 / .1); font-size: .8125rem; font-weight: 600; }
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(22 22 21 / .28); pointer-events: none; }
.ba-handle svg {
  position: absolute;
  top: min(50%, 230px);
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: 0 0 0 1px rgb(22 22 21 / .12), 0 8px 20px rgb(22 22 21 / .2);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba figcaption { margin-top: 18px; font-size: .875rem; color: var(--muted); text-align: center; text-wrap: balance; }

/* Kilka zdań dużym krojem. Słowa rozjaśniają się w miarę przewijania. */

.why { padding: var(--gap) 0 0; }
.manifest { max-width: 21.5em; font: 620 clamp(1.5rem, 3.5vw, 2.75rem)/1.25 var(--display); letter-spacing: -.028em; text-wrap: pretty; }
.manifest span { transition: opacity .3s linear; }

/* Za darmo */

.free { padding: clamp(80px, 10vw, 136px) 0 0; }
.free h2 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); line-height: 1.06; letter-spacing: -.035em; }
.free .intro { margin-top: 18px; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.facts li { padding-top: 18px; border-top: 1px solid var(--ink); }
.facts p { margin-top: 6px; font-size: 1rem; color: var(--ink-2); }

/* Funkcje */

.features { padding: var(--gap) 0 0; }
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.portal { padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.portal h3 { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.portal p { margin-top: 10px; font-size: 1.125rem; line-height: 1.5; }

/* Opis przewija się po lewej, zrzut po prawej stoi w miejscu i zmienia się razem z opisem. */
.tour { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; margin-top: 28px; }
.step { display: grid; align-content: center; justify-items: start; gap: 10px; min-height: 60vh; padding: 28px 0 28px 26px; border-left: 1px solid var(--line); transition: border-color .45s; }
.step > * { opacity: .3; transition: opacity .45s; }
.step.is-active { border-left-color: var(--ink); }
.step.is-active > * { opacity: 1; }
.step h3 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); letter-spacing: -.025em; }
.step p { max-width: 27em; color: var(--ink-2); }
.step p.small { color: var(--muted); }
.step-img { display: none; }
.tour-stage { position: sticky; top: 10vh; align-self: start; display: grid; align-content: center; gap: 14px; height: 80vh; }
.tour-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #f6f6f4; box-shadow: var(--shadow); }
.tour-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; scale: 1.02; transition: opacity .55s var(--ease), scale .8s var(--ease); }
.tour-frame img.pad { padding: 30px; object-fit: contain; object-position: center; }
.tour-frame img.pad-small { padding: 14% 22%; }
.tour-frame img.is-active { opacity: 1; scale: 1; }
.tour-note { font-size: .8125rem; color: var(--muted); text-align: right; }

.switch { display: inline-flex; gap: 2px; margin-top: 6px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.switch button { padding: 5px 14px; border-radius: 7px; font-size: .9375rem; transition: background .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.swatches { display: flex; gap: 10px; margin-top: 6px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; background: var(--c); transition: scale .2s var(--ease); }
.swatches button:hover { scale: 1.12; }
.swatches button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Dane */

.data { margin-top: var(--gap); padding: clamp(80px, 10vw, 136px) 0; border-block: 1px solid var(--line); background: var(--soft); }

.flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; margin-top: 56px; }
.node { display: grid; gap: 2px; padding: 22px 20px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); text-align: center; }
.node b { font-weight: 630; }
.node span { font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.node-you { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.node-none { border-style: dashed; background: none; color: var(--muted); }
.node-none b { font-weight: 500; text-decoration: line-through; text-decoration-color: var(--line-2); }
.pipe { position: relative; width: clamp(64px, 10vw, 150px); height: 1px; background: var(--ink); }
.pipe span { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; font-size: .8125rem; white-space: nowrap; color: var(--muted); }
.pipe i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: travel 2.8s cubic-bezier(.6, 0, .4, 1) infinite alternate; }
@keyframes travel { to { left: calc(100% - 7px); } }
.pipe-cut { height: 0; background: none; border-top: 1px dashed var(--line-2); }

.does { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; margin-top: 64px; }
.does ul { display: grid; gap: 10px; margin-top: 14px; }
.does li { position: relative; padding-left: 28px; color: var(--ink-2); }
.does li::before { position: absolute; left: 0; font-weight: 700; }
.yes li::before { content: "\2713"; color: var(--green); }
.no li::before { content: "\2715"; color: var(--red); }
.note { max-width: 40em; margin-top: 36px; padding-left: 16px; border-left: 2px solid var(--line-2); color: var(--ink-2); }

.check { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px 56px; margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line-2); }
.check p { margin-top: 12px; color: var(--ink-2); }
pre { padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); font-size: .875rem; line-height: 1.75; overflow-x: auto; }
pre .c { color: var(--muted); }

/* Uczelnie */

.where { padding: var(--gap) 0 0; }
.table-scroll { margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
thead th { vertical-align: bottom; font-weight: 630; }
thead span { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); }
tbody th { font-weight: 400; color: var(--ink-2); }
td { width: 27%; }
td.on { font-weight: 600; }
td.on::before { content: "\2713"; margin-right: 8px; color: var(--green); }
td.off { color: #a8a7a1; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; font-size: .9375rem; color: var(--ink-2); }

.vote { display: grid; gap: 18px; margin-top: 20px; padding: 26px 28px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.vote-text p { max-width: 40em; margin-top: 4px; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; }
.fields label { font-size: .875rem; font-weight: 600; }
.fields label span { margin-left: 4px; font-weight: 400; color: var(--muted); }
.fields input { display: block; width: 100%; height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); font-size: 1rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.fields input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(22 22 21 / .1); }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.error { color: var(--red); }

/* Kontakt i zgłoszenia */
.eyebrow { margin-bottom: 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.support { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-top: var(--gap); padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.support .intro { max-width: 36em; font-size: 1rem; }
.support-actions { display: grid; justify-items: start; gap: 14px; }
.support-email { overflow-wrap: anywhere; font-size: .9375rem; }
.contact-hero { padding: clamp(36px, 6vw, 80px) 0 32px; }
.contact-hero h1 { max-width: 16ch; }
.contact-hero .intro { max-width: 44em; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 36px; padding-bottom: var(--gap); }
.contact-form { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.contact-form label { display: grid; gap: 7px; font-size: .9375rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 1rem; font-weight: 400; }
.contact-form textarea { min-height: 156px; resize: vertical; }
.contact-form .contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-secondary { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--line); }
.contact-info { display: grid; gap: 28px; padding: 6px 0; }
.contact-info p { margin-top: 10px; color: var(--ink-2); }
.contact-info .contact-email { display: inline-block; margin-top: 14px; font-size: 1.1875rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-info ul { display: grid; gap: 8px; margin-top: 12px; color: var(--ink-2); }
.contact-info li { padding-left: 16px; border-left: 2px solid var(--line-2); }
.contact-draft { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-draft textarea { min-height: 180px; font-size: .875rem; }

/* Instalacja */

.install { padding: var(--gap) 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 28px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border: 1px solid var(--line-2); border-radius: 50%; font: 500 .8125rem var(--mono); color: var(--ink-2); }
.steps p { color: var(--ink-2); }
.steps strong { color: var(--ink); font-weight: 600; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 14px; }

/* Dopóki rozszerzenia nie ma w Chrome Web Store, <html> ma klasę „soon” (ustawia ją tools/configure.mjs):
   przyciski instalacji są wtedy spokojniejsze i prowadzą do sekcji „Instalacja”. */
html:not(.soon) .only-soon { display: none; }
html.soon .only-live { display: none; }
html.soon .btn[data-cta] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
html.soon .btn[data-cta]:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* Podstrony portali i polityka prywatności */

.crumbs { margin-bottom: 22px; font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; color: var(--line-2); }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.shot-frame { border-radius: 16px; overflow: hidden; background: #f6f6f4; box-shadow: var(--shadow); }
.js .shot-frame { opacity: 0; translate: 0 44px; scale: .985; transition: opacity 1s var(--ease) .6s, translate 1.2s var(--ease) .6s, scale 1.2s var(--ease) .6s; }
.js.ready .shot-frame { opacity: 1; translate: 0 0; scale: 1; }

.rows { padding: var(--gap) 0 0; }
.feat-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: 64px; margin-top: 88px; }
.feat-row:first-of-type { margin-top: 56px; }
.feat-row:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feat-row:nth-of-type(even) > div { order: 2; }
.feat-row h3 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); letter-spacing: -.022em; }
.feat-row p { max-width: 27em; margin-top: 10px; color: var(--ink-2); }
.feat-row p.small { color: var(--muted); }
.feat-row > img { width: 100%; border-radius: 14px; background: #f6f6f4; box-shadow: var(--shadow); }
.feat-row > img.pad { padding: 22px; }

.plain { padding: var(--gap) 0 0; }
.plain .intro + .intro { margin-top: 12px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; margin-top: 32px; }
.cols-2 p { margin-top: 10px; color: var(--ink-2); }
.cols-2 .no { display: grid; gap: 10px; margin-top: 12px; }
.cols-2 .no li { position: relative; padding-left: 28px; color: var(--ink-2); }
.cols-2 .no li::before { position: absolute; left: 0; font-weight: 700; }

.portal .more { display: inline-block; margin-top: 16px; }
.portal-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.portal-links a { display: grid; gap: 2px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: border-color .2s; }
.portal-links a:hover { border-color: var(--ink); }
.portal-links b { font-size: 1.1875rem; font-weight: 630; }
.portal-links b::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: translate .25s var(--ease); }
.portal-links a:hover b::after { translate: 4px 0; }
.portal-links span { font-size: .9375rem; color: var(--muted); }
.portal-links + .table-scroll { margin-top: 20px; }

.prose { max-width: 760px; padding: clamp(32px, 5vw, 64px) 0 var(--gap); }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.prose h1 + .small { margin-top: 14px; }
.prose h2 { margin-top: 56px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h3 { margin-top: 32px; font-size: 1.125rem; }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .crumbs { margin-top: 0; }

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; font-size: .9375rem; color: var(--ink-2); }

/* Pytania */

.faq { padding: var(--gap) 0 0; }
.faq-list { max-width: 820px; margin-top: 28px; border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { height: auto; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 2px; font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: rotate .35s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { max-width: 44em; padding: 0 2px 22px; color: var(--ink-2); }

/* Zakończenie i stopka */

.end { padding: var(--gap) 0; text-align: center; }
.end p { margin-top: 14px; font-size: 1.125rem; color: var(--ink-2); }
.end .actions { margin-top: 28px; }

.foot { padding: 28px 0 48px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.foot p { max-width: 84ch; }
.foot p + p { margin-top: 10px; }

/* Płynne przewijanie do sekcji, o ile ktoś nie ograniczył ruchu w systemie */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .w, .js .fade, .js .ba-frame { opacity: 1; filter: none; translate: none; scale: 1; transition: none; }
  .pipe i { animation: none; left: calc(50% - 3px); }
  details::details-content { transition: none; }
}

/* Mniejsze ekrany */

@media (max-width: 1000px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .support, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .portals, .does, .check, .steps, .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .feat-row, .feat-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 56px; }
  .feat-row:nth-of-type(even) > div { order: 0; }
  .tour { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .tour-stage { display: none; }
  .step { min-height: 0; padding: 0 0 44px; border-left: 0; }
  .step > * { opacity: 1; }
  .step-img { display: block; width: 100%; margin-top: 12px; border-radius: 12px; background: #f6f6f4; box-shadow: var(--shadow); }
  .step-img-small { max-width: 407px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .node { width: 100%; }
  .pipe { width: 1px; height: 56px; }
  .pipe span { left: 16px; bottom: auto; top: 50%; translate: 0 -50%; }
  .pipe i { top: 0; left: -3px; animation-name: travel-down; }
  @keyframes travel-down { to { top: calc(100% - 7px); } }
  .pipe-cut { width: 0; height: 56px; border-top: 0; border-left: 1px dashed var(--line-2); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { gap: 12px; }
  .top .btn-small { padding-inline: 12px; font-size: .8125rem; }
  .wrap, .compare { width: min(100% - 32px, 1120px); }
  .hero .btn { width: 100%; }
  .support, .contact-form { padding: 22px; }
  .contact-form .contact-pair { grid-template-columns: minmax(0, 1fr); }
  .ba-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
  .ba-tag { top: 8px; font-size: .75rem; }
  .ba-tag-before { left: 8px; }
  .ba-tag-after { right: 8px; }
  .ba-handle svg { width: 36px; height: 36px; margin: -18px 0 0 -18px; padding: 9px; }
  .ba figcaption { text-align: left; }
  .facts { gap: 24px 20px; }
  .portal, .vote, .steps li { padding: 22px; }
  .portal-links { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shot-frame { border-radius: 12px; }
  .feat-row > img { border-radius: 10px; }
  .feat-row > img.pad { padding: 12px; }
  th, td { padding: 12px 14px; }
  pre { padding: 16px; font-size: .8125rem; }
}
