/* FitsyAI — style witryny. Paleta i skala zgodne z aplikacją mobilną
   (constants/theme.js, "Ink & Citrus"): ink #16302A, cytrusowy bursztyn #FFB100,
   elektryczna limonka #C6F135. Strona jest celowo jasna (bez trybu ciemnego) —
   tak samo jak sama aplikacja (userInterfaceStyle: "light" w app.json). */

:root {
  --ink: #16302A;
  --ink-soft: #3B5049;
  --paper: #F3F4F1;
  --card: #FFFFFF;
  --border: #E2E5DE;
  --text: #15201B;
  --text-muted: #697169;
  --text-faint: #8B9188;
  --accent: #FFB100;
  --lime: #C6F135;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  overflow-x: clip; /* poswiata hero wystaje poza ekran - bez tego telefon dodaje przewijanie w poziomie i przybliza strone */
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 24px;
}
#funkcje, #dla-kogo, #faq, #kontakt { scroll-margin-top: 90px; }

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 244, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .nav-links { display: none; }
}
.nav-cta {
  background: var(--lime);
  color: var(--ink) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.86rem !important;
  font-weight: 700;
}

/* --- Eyebrow / labels --- */
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

/* --- Hero --- */
.hero {
  padding-block: 72px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 32px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 44px 32px; }
}
.hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  display: inline-block;
  margin-top: 6px;
  line-height: 1.1;
  font-style: normal;
  background: linear-gradient(100deg, var(--lime), var(--accent));
  padding: 0 6px;
  border-radius: 6px;
}
.hero p.lede {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.store-badges { display: flex; gap: 16px; align-items: center; flex-wrap: nowrap; }
.store-badges img { display: block; height: 56px; width: auto; }
.cta-band-actions img { display: block; height: 56px; width: auto; }
@media (max-width: 480px) {
  .store-badges img, .cta-band-actions img { height: 44px; }
  .store-badges, .cta-band-actions { gap: 12px; }
  .hero-actions { gap: 12px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--border); }
.btn-soon { background: var(--border); color: var(--text-faint); pointer-events: none; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 32% 28%, rgba(198,241,53,0.32), transparent 55%),
              radial-gradient(circle at 78% 78%, rgba(255,177,0,0.24), transparent 50%);
  z-index: 0;
}
.hero-phone {
  position: absolute;
  width: 46%;
  height: auto;
}
/* Wachlarz trzech telefonów: środkowy (aparat, główna funkcja) wysunięty na przód,
   większy i prosto; boczne (Jedzenie/Aktywność) odsunięte za niego i lekko przycięte
   krawędzią hero-visual, jak w typowych kompozycjach hero na stronach appek. */
.hero-phone-left {
  left: 2%;
  top: 8%;
  transform: rotate(-11deg);
  z-index: 0;
}
.hero-phone-right {
  right: 2%;
  top: 12%;
  transform: rotate(11deg);
  z-index: 0;
}
.hero-phone-center {
  width: 56%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
}
@media (max-width: 480px) {
  .hero-phone { width: 40%; }
  .hero-phone-center { width: 50%; }
}

/* --- Sections --- */
section { padding-block: 56px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
#funkcje .section-head { margin-bottom: 0; padding-bottom: 14px; }
.section-head h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

/* --- Feature showcase (funkcje obok zrzutów ekranu, na przemian) --- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid var(--border);
}
.section-head + .feature-row { border-top: none; padding-top: 24px; }
.feature-row.reverse .feature-row-copy { order: 2; }
.feature-row.reverse .feature-row-visual { order: 1; }
.feature-row-copy h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--ink);
  margin: 10px 0 14px;
  text-wrap: balance;
}
.feature-row-copy > p { color: var(--text-muted); margin: 0 0 18px; max-width: 48ch; }
.feature-row-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-row-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.feature-row-points li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.feature-row-visual { display: flex; justify-content: center; }
.feature-row-visual img { height: 520px; width: auto; max-width: 100%; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .feature-row.reverse .feature-row-copy,
  .feature-row.reverse .feature-row-visual,
  .feature-row .feature-row-copy,
  .feature-row .feature-row-visual { order: initial; }
  .feature-row-visual img { height: 420px; }
}
@media (max-width: 480px) {
  .feature-row-visual img { height: 340px; }
}

/* --- CTA band --- */
.cta-band {
  background: var(--lime);
  border-radius: 28px;
  padding: 52px 40px;
  color: var(--ink);
  text-align: center;
}
.cta-band h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
.cta-band p { color: var(--ink-soft); margin: 0 0 26px; }
.cta-band-actions { display: flex; flex-wrap: nowrap; justify-content: center; gap: 16px; }

/* --- Disclaimer --- */
.disclaimer-star {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
}
.disclaimer-star:hover { color: var(--ink); }
.disclaimer-block {
  scroll-margin-top: 90px;
  max-width: 78ch;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-faint);
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-faint);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--text-muted); }
.footer-links a:hover { color: var(--ink); }

/* --- Legal pages --- */
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 40px;
  padding-block: 40px 72px;
  align-items: start;
}
@media (max-width: 760px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 90px; }
.legal-toc-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
}
.legal-toc a:hover { background: var(--card); color: var(--text); }
@media (max-width: 760px) {
  .legal-toc { position: static; }
  .legal-toc ul { flex-direction: row; flex-wrap: wrap; }
  .legal-toc a { border: 1px solid var(--border); background: var(--card); }
}
.legal-header { margin-bottom: 24px; }
.legal-header h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  color: var(--ink);
  margin: 0 0 8px;
}
.legal-meta { color: var(--text-faint); font-size: 0.85rem; margin: 0; }
.legal-section { max-width: 68ch; margin-bottom: 28px; scroll-margin-top: 90px; }
.legal-section h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.08rem; color: var(--ink); margin: 0 0 10px; }
.legal-section p { margin: 0 0 12px; }
.legal-section ul { margin: 0 0 12px; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* --- Trust row (hero) --- */
.trust-row-group { width: fit-content; max-width: 100%; }
.trust-row {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 20px;
  row-gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
}
.hero-secondary-cta { margin-top: 20px; text-align: left; width: 372px; max-width: 100%; } /* = szerokosc obu ikon sklepow: 56px * (2.99 + 3.37) + 16px odstepu */
.hero-secondary-cta .btn { display: flex; justify-content: center; width: 100%; }
@media (max-width: 480px) {
  .trust-row-group { width: auto; }
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-row span::before {
  content: "✓";
  color: var(--ink);
  background: var(--lime);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Problem / agitation --- */
.problem {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 760px) { .problem { grid-template-columns: 1fr; padding: 26px 22px; } }
.problem-copy p { color: var(--text-muted); margin: 0; }
.problem-highlight {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding: 14px 20px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(100deg, var(--lime), var(--accent));
  border-radius: 12px;
}
.problem-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.problem-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
}
.problem-list .x {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(239, 92, 92, 0.12);
  color: #C04646;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-list strong { display: block; color: var(--ink); }

/* --- Use cases (dla kogo) --- */
.usecases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 960px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecases { grid-template-columns: 1fr; } }
.usecase {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: linear-gradient(165deg, var(--card), var(--paper));
}
.usecase-icon { font-size: 1.5rem; margin-bottom: 10px; text-align: center; }
.usecase h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 0.95rem; margin: 0 0 6px; color: var(--ink); text-align: center; white-space: nowrap; }
.usecase p { margin: 0; color: var(--text-muted); font-size: 0.88rem; text-align: center; }

/* --- Comparison table --- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.9rem; table-layout: fixed; }
table.compare th, table.compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); width: 33.33%; }
table.compare thead th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
table.compare thead th.col-fitsy { color: var(--ink); background: rgba(198,241,53,0.18); }
table.compare td.col-fitsy { background: rgba(198,241,53,0.10); font-weight: 700; color: #16A34A; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare th:first-child, table.compare td:first-child { color: var(--ink); font-weight: 700; }
table.compare th:nth-child(2), table.compare td:nth-child(2) { background: rgba(220,38,38,0.08); font-weight: 700; color: var(--ink); }
table.compare td:nth-child(2) .no { color: var(--ink); }
table.compare .yes { color: #16A34A; font-weight: 700; }
table.compare .no { color: var(--text-faint); font-weight: 700; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

#faq .section-head { max-width: none; }
#kontakt section { display: grid; justify-items: center; width: fit-content; max-width: 100%; margin-inline: auto; }
#kontakt .section-head { max-width: none; text-align: center; }
#kontakt .section-head p:not(.eyebrow) { color: var(--text-muted); margin: 10px 0 0; }
@media (min-width: 720px) { #kontakt .section-head p:not(.eyebrow) { white-space: nowrap; } }
.contact-email { font-family: "IBM Plex Mono", monospace; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--text-muted); font-size: 0.92rem; max-width: 62ch; }

@media (min-width: 720px) { .nowrap-wide { white-space: nowrap; } }

/* --- Language switcher / banner (PL/EN) --- */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-menu { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 11px 6px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  user-select: none;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover { border-color: var(--ink-soft); }
.lang-btn img, .lang-opt img { width: 20px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); display: block; }
.lang-btn svg { transition: transform 0.15s; }
.lang-menu[open] .lang-btn svg { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(22, 48, 42, 0.14);
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.lang-opt:hover { background: var(--paper); }
.lang-opt[aria-current="true"] { background: var(--paper); font-weight: 800; }
.lang-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
}
.lang-banner a.lang-banner-go { background: var(--lime); color: var(--ink); padding: 7px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.lang-banner button.lang-banner-stay { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* --- Mobile (<= 640px): tabela porownania miesci sie w calosci, tresci wysrodkowane --- */
@media (max-width: 640px) {
  /* Tabela porownania: bez przewijania w poziomie, kolumny sie zwezaja, tekst zawija */
  .compare-wrap { overflow-x: visible; }
  table.compare { min-width: 0; font-size: 0.78rem; }
  table.compare th, table.compare td { padding: 12px 6px; overflow-wrap: anywhere; hyphens: auto; }
  table.compare thead th { font-size: 0.66rem; hyphens: manual; overflow-wrap: normal; letter-spacing: 0; }

  /* Wysrodkowanie tresci */
  .section-head, .hero > div:first-child, .problem-copy, .cta-band,
  .disclaimer-block, .footer-inner { text-align: center; }
  .section-head { margin-inline: auto; }
  .hero-actions, .store-badges, .cta-band-actions, .footer-inner, .footer-links { justify-content: center; }
  .hero-actions { flex-direction: column; }
  /* Przycisk na szerokosc obu ikon sklepow (56px * (2.99 + 3.37) + 16px odstepu = 372px) */
  .hero-secondary-cta { margin-inline: auto; width: 372px; max-width: 100%; }
  .hero-secondary-cta .btn { display: flex; justify-content: center; width: 100%; }
  .trust-row-group { margin-inline: auto; }
  .trust-row { grid-template-columns: 1fr 1fr; column-gap: 12px; width: 100%; font-size: 0.8rem; }
  .trust-row span { font-size: 0.78rem; align-items: flex-start; text-align: left; }
  .hero-secondary-cta { margin-bottom: 20px; }
  .problem-copy p { margin-inline: auto; }
  .eyebrow { text-align: center; }
  .feature-row-copy .eyebrow { text-align: left; }
  /* Baner jezykowy: pelna szerokosc na dole ekranu, w jednej/dwoch liniach */
  .lang-banner { left: 16px; right: 16px; bottom: 12px; transform: none; max-width: none; padding: 10px 14px; gap: 8px 14px; font-size: 0.85rem; }
}

/* --- Menu rozwijane (hamburger) na telefonie, na prawo od przycisku pobierania --- */
.nav-menu { display: none; position: relative; }
.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  color: var(--ink);
  user-select: none;
}
.nav-burger::-webkit-details-marker { display: none; }
.nav-menu[open] .nav-burger { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 230px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(22, 48, 42, 0.14);
}
.nav-menu-list a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-menu-list a:hover { background: var(--paper); }
@media (max-width: 640px) {
  .nav-menu { display: block; }
  .nav-right { gap: 8px; }
  .nav-inner { gap: 8px; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 6px 9px; gap: 6px; }
  .nav-cta { padding: 8px 14px; }
}

/* Naglowki sekcji w jednym wierszu na szerszych ekranach (na telefonie sie zawijaja) */
@media (min-width: 861px) {
  .section-head h2.one-line { white-space: nowrap; text-wrap: nowrap; font-size: clamp(1.5rem, 2.55vw, 2.2rem); }
}

@media (max-width: 480px) {
  /* ikony sklepow maja tu 44px: 44px * 6.36 + 12px odstepu = 292px */
  .hero-secondary-cta { width: 292px; }
}

/* Mobile: odstepy pionowe miedzy sekcjami zmniejszone o polowe wzgledem wersji web */
@media (max-width: 640px) {
  section { padding-block: 28px; }
  .feature-row { padding-block: 20px; }
  .section-head { margin-bottom: 20px; }
  .disclaimer-block { margin-top: 20px; }
}

@media (max-width: 640px) {
  .hero-visual::before { inset: -4%; }
}

/* Mobile: odstepy w boxie "problem" zmniejszone o polowe (tekst -> lista: 58 -> 29 px, lista -> pasek: 60 -> 30 px) */
@media (max-width: 760px) {
  .problem { row-gap: 16px; }
  .problem-list { margin-top: 13px; }
  .problem-highlight { margin-top: 14px; }
}

/* Poziome linie nad sekcjami: Jak to dziala, Dla kogo, Porownanie, FAQ (jak ta pod "Poznaj FitsyAI") */
#funkcje > section,
#dla-kogo > section,
#faq > section,
section[aria-labelledby="compare-head"] { border-top: 1px solid var(--border); }
#funkcje .section-head { max-width: none; } /* linia pod naglowkiem na cala szerokosc, jak linie nad sekcjami */
