/* Dziewczyny Polska - arkusz stylów (mobile first) */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-var-pl.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Zastępczy Arial dopasowany do metryk Nunito: mniej przesunięć przy podmianie fontu */
@font-face {
  font-family: "Nunito Fallback";
  src: local("Arial");
  size-adjust: 99.56%;
  ascent-override: 101.54%;
  descent-override: 35.45%;
  line-gap-override: 0%;
}

:root {
  --white: #ffffff;
  --bg-alt: #f5f7ff;
  --pink: #ff3d8b;
  --blue: #2f6bff;
  --pink-strong: #c2185b;
  --blue-strong: #2453d6;
  --primary: #d81b6a;
  --primary-dark: #b0124f;
  --text: #14162b;
  --muted: #5b5f7a;
  --line: #e4e8f6;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(20, 22, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 22, 43, 0.12);
  --container: 1120px;
  --gutter: 16px;
  --font: "Nunito", "Nunito Fallback", Arial, sans-serif;
}

/* Reset i podstawy */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink-strong);
}

:focus-visible {
  outline: 3px solid var(--blue-strong);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
}

strong {
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 800px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
  color: var(--white);
}

.no-js .js-only,
.js .no-js-only {
  display: none !important;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(216, 27, 106, 0.25);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(216, 27, 106, 0.3);
}

.btn-light {
  color: var(--pink-strong);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(20, 22, 43, 0.18);
}

.btn-light:hover {
  color: var(--blue-strong);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--line);
}

.btn-outline:hover {
  color: var(--pink-strong);
  border-color: var(--pink);
}

.btn-block {
  width: 100%;
}

.btn-xl {
  width: 100%;
  min-height: 60px;
  font-size: 1.15rem;
}

/* Wyróżnione słowa: jednolite kolory z palety */
.accent-pink {
  color: var(--primary);
}

.accent-blue {
  color: var(--blue);
}

/* Nagłówek strony */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.logo:hover {
  color: var(--text);
}

.logo-accent {
  color: var(--pink-strong);
}

.nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover {
  color: var(--pink-strong);
  background: var(--bg-alt);
}

/* Hero */
.hero {
  padding: 18px 0 40px;
  text-align: center;
  background: var(--white);
}

.hero h1 {
  max-width: 19ch;
  margin: 0 auto 0.35em;
  font-size: clamp(1.75rem, 1.05rem + 3.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
}

.hero-sub {
  max-width: 42ch;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.5;
}

/* Hero: tekst po lewej, makieta telefonu po prawej */
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-cta {
  max-width: 380px;
  margin: 4px auto 0;
}

/* Makieta aplikacji: dwa przechylone telefony z rozmytym filmem */
.hero {
  overflow-x: clip;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 4% 28px;
}

.app-phone {
  position: relative;
  flex: 0 0 auto;
  width: 54%;
  max-width: 250px;
  aspect-ratio: 9 / 19;
  padding: 2.6%;
  background: #2b2b31;
  border-radius: 13%/6.2%;
  box-shadow: 0 24px 50px rgba(20, 22, 43, 0.28);
  container-type: inline-size;
}

.app-phone::before {
  content: "";
  position: absolute;
  top: 2.6%;
  left: 50%;
  z-index: 3;
  width: 32%;
  height: 3.4%;
  background: #2b2b31;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.app-phone--back {
  z-index: 1;
  margin-right: -12%;
  transform: rotate(-7deg);
}

.app-phone--front {
  z-index: 2;
  margin-top: 12%;
  transform: rotate(6deg);
}

.app-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: var(--white);
  background: #6b6470;
  border-radius: 10%/4.8%;
  font-size: 6.4cqw;
  line-height: 1.25;
  text-align: left;
}

.app-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 14, 24, 0.22);
}

.app-top,
.app-lock,
.app-info {
  position: absolute;
  z-index: 2;
}

.app-top {
  top: 0;
  left: 0;
  right: 0;
  padding: 0.7em 1em 0;
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75em;
  font-weight: 800;
}

.app-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 0.8em;
}

.app-signal i {
  width: 3px;
  background: var(--white);
  border-radius: 1px;
}

.app-signal i:nth-child(1) { height: 30%; }
.app-signal i:nth-child(2) { height: 55%; }
.app-signal i:nth-child(3) { height: 80%; }
.app-signal i:nth-child(4) { height: 100%; }

.app-bars {
  display: flex;
  gap: 4px;
  margin-top: 0.7em;
}

.app-bars i {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.app-bars i.is-on {
  background: var(--white);
}

.app-lock {
  top: 40%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  width: 86%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.app-lock-icon {
  display: grid;
  place-items: center;
  width: 3em;
  height: 3em;
  background: var(--primary);
  border-radius: 50%;
}

.app-lock-icon svg {
  width: 1.4em;
  height: 1.4em;
}

.app-lock p {
  margin: 0;
  padding: 0.45em 0.9em;
  background: rgba(20, 20, 28, 0.62);
  border-radius: 0.7em;
  font-size: 0.9em;
}

.app-lock strong {
  display: block;
  font-size: 1.12em;
  font-weight: 900;
}

.app-info {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0.9em 0.6em;
}

.app-name {
  margin: 0;
  font-size: 1.55em;
  font-weight: 900;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.app-city {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin: 0.15em 0 0.6em;
  font-size: 0.82em;
  font-weight: 700;
}

.app-city svg {
  width: 1em;
  height: 1em;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0 0 0.9em;
}

.app-tags span {
  padding: 0.2em 0.65em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 700;
}

.app-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.app-btn {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.app-btn svg {
  width: 1.1em;
  height: 1.1em;
}

.app-btn--like {
  width: 3.3em;
  height: 3.3em;
  background: var(--primary);
  border-color: var(--primary);
}

.app-btn--like svg {
  width: 1.5em;
  height: 1.5em;
}

.app-info::after {
  content: "";
  display: block;
  width: 36%;
  height: 3px;
  margin: 0.8em auto 0;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

/* Quiz */
.quiz {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quiz-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.quiz-progress {
  flex: 1;
  height: 6px;
  overflow: hidden;
  background: #eef1fb;
  border-radius: 999px;
}

.quiz-progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.quiz[data-at="2"] .quiz-progress span,
.quiz[data-at="3"] .quiz-progress span {
  width: 100%;
}

.quiz-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quiz-q {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options--2 {
  grid-template-columns: 1fr 1fr;
}

.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.opt::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
}

.opt:hover {
  border-color: var(--pink);
  background: #fff6fa;
}

.opt[aria-pressed="true"] {
  border-color: var(--pink-strong);
  background: #fff0f6;
}

.quiz-options--2 .opt {
  justify-content: center;
  text-align: center;
}

.quiz-options--2 .opt::after {
  display: none;
}

.quiz-back {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 4px;
  color: var(--muted);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.quiz-back:hover {
  color: var(--pink-strong);
}

.quiz-final {
  text-align: center;
}

.quiz-final .quiz-q {
  text-align: center;
}

.quiz-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.js .quiz-step:not(.is-active) {
  display: none;
}

.js .quiz-step.is-active {
  animation: step-in 0.3s ease both;
}

.no-js .quiz-step--q,
.no-js .quiz-head,
.no-js .quiz-back {
  display: none;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust svg {
  width: 16px;
  height: 16px;
  color: var(--pink-strong);
}

/* Sekcje */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  color: var(--pink-strong);
  background: #ffe8f1;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Jak to działa: numerowane kroki */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px 22px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-weight: 900;
}

.step h3 {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

.step p {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--muted);
}

.phone {
  position: relative;
  width: min(200px, 56vw);
  aspect-ratio: 9 / 19.5;
  margin: 0 auto 20px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 10px solid var(--text);
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 42%;
  height: 20px;
  background: var(--text);
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile: karuzela na telefonie, siatka 3 x 2 na desktopie */
.profiles-label {
  text-align: center;
}

.profiles {
  display: grid;
  grid-auto-columns: 76%;
  grid-auto-flow: column;
  gap: 14px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  list-style: none;
}

.profiles::-webkit-scrollbar {
  display: none;
}

.profile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.profile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eef1fb;
}

.profile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 14px 16px;
}

.profile-name {
  margin: 0 0 2px;
  font-size: 1.1rem;
}

.profile-city {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-city svg {
  width: 16px;
  height: 16px;
  color: var(--pink-strong);
}

.profile .btn {
  margin-top: auto;
  min-height: 46px;
  padding: 10px 18px;
}

/* Karta z rozmytym filmem albo rozmytym zdjęciem */
.profile-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #8a8c9e;
}

.profile-media video,
.profile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: var(--white);
  text-align: center;
  background: rgba(20, 22, 43, 0.3);
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(20, 22, 43, 0.72);
  border-radius: 50%;
}

.lock-icon svg {
  width: 24px;
  height: 24px;
}

.profile-lock p {
  max-width: 22ch;
  margin: 0;
  padding: 8px 14px;
  background: rgba(20, 22, 43, 0.78);
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.swipe-hint {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.note {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Korzyści */
.features {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature h3 {
  margin-bottom: 0.4em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--pink-strong);
  background: #ffe8f1;
  border-radius: 14px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

/* Tekst i FAQ */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose ul,
.prose ol,
.article-body ul,
.article-body ol {
  padding-left: 1.3em;
}

.prose li,
.article-body li {
  margin-bottom: 0.45em;
}

.faq-section {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-section > h2 {
  text-align: center;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 18px;
  list-style: none;
  cursor: pointer;
  border-radius: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2.5px solid var(--pink-strong);
  border-bottom: 2.5px solid var(--pink-strong);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  margin-top: -3px;
  transform: rotate(-135deg);
}

.faq-q {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.faq-a {
  padding: 0 18px 16px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

/* Karty artykułów */
.cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-tag {
  margin: 0;
  color: var(--blue-strong);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.card h2 a,
.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h2 a::after,
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card h2 a:hover,
.card h3 a:hover {
  color: var(--pink-strong);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Końcowe CTA */
.cta-end {
  padding: 64px 0;
  color: var(--white);
  text-align: center;
  background: var(--blue-strong);
}

.cta-end h2 {
  color: var(--white);
}

.cta-end p {
  max-width: 46ch;
  margin: 0 auto 24px;
  color: var(--white);
  font-size: 1.1rem;
}

/* Stopka */
.site-footer {
  padding: 40px 0 calc(28px + env(safe-area-inset-bottom));
  color: var(--muted);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid p {
  margin: 0 0 8px;
}

.footer-label {
  color: var(--text);
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-mail {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover {
  color: var(--pink-strong);
  text-decoration: underline;
}

.footer-legal {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  margin: 0;
}

/* Przyklejone CTA na telefonie */
.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 22, 43, 0.08);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.sticky-cta.is-visible {
  visibility: visible;
  transform: none;
  transition: transform 0.25s ease;
}

/* Artykuły */
.page {
  padding: 20px 0 56px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.875rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--pink-strong);
}

.page h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.8rem);
  font-weight: 900;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.lead p {
  font-size: 1.12rem;
}

.disclosure {
  padding: 12px 16px;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: 14px;
  font-size: 0.92rem;
}

.toc {
  margin: 24px 0 8px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.3em;
}

.toc li {
  margin: 4px 0;
}

.article-body h2 {
  margin-top: 1.8em;
  scroll-margin-top: 16px;
}

.article-body h3 {
  margin-top: 1.4em;
}

.page .faq-section {
  margin-top: 56px;
}

.page .faq-section > h2 {
  text-align: left;
}

.table-wrap {
  margin: 0 0 1.2em;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

caption {
  padding-bottom: 8px;
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--bg-alt);
}

tbody th {
  width: 36%;
  font-weight: 800;
}

.pros-cons {
  display: grid;
  gap: 16px;
  margin-bottom: 1.2em;
}

.pros-cons > div {
  padding: 18px 20px 6px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.pros-cons h3 {
  margin-top: 0;
}

.cta-box {
  margin: 36px 0;
  padding: 26px 22px;
  text-align: center;
  background: #fff0f6;
  border-radius: var(--radius-lg);
}

.cta-box-title {
  margin-bottom: 0.3em;
  font-size: 1.2rem;
  font-weight: 900;
}

.cta-box .btn {
  margin-top: 4px;
}

.cta-box-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.related {
  margin-top: 56px;
}

.page-404 {
  padding: 56px 0;
  text-align: center;
}

.page-404 .code {
  margin: 0;
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 900;
  line-height: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 40px;
}

.page-404 .cards {
  text-align: left;
}

/* Breakpointy */
@media (min-width: 640px) {
  .features,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .profiles {
    grid-auto-columns: 44%;
  }

  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .quiz {
    padding: 22px;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-sub {
    margin-bottom: 24px;
  }

  .sticky-cta,
  .swipe-hint {
    display: none;
  }

  .cta-box {
    padding: 32px;
  }
}

@media (min-width: 900px) {
  .hero {
    text-align: left;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

  .hero h1,
  .hero-sub,
  .hero-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .hero .trust {
    justify-content: flex-start;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  /* 3 karty w rzędzie, niepełny ostatni rząd wyśrodkowany */
  .profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }

  .profiles > .profile {
    flex: 0 0 calc((100% - 48px) / 3);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
