/* Strona główna pomocniczek.pl (P42, 2026-11-30). Kolory i czcionka jak w aplikacji (docs/05-wyglad.md). */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #fff8f3;
  --bg-2: #fdeee4;
  --surface: #ffffff;
  --ink: #2a1f1b;
  --ink-2: #5e4d45;
  --line: #f0dfd4;
  --brand: #b3462c;
  --brand-ink: #ffffff;
  --brand-soft: #fbe3d8;
  --teal: #1f6f6b;
  --teal-soft: #d8f0ee;
  --pink-soft: #fbe2ea;
  --mint-soft: #ddf2e6;
  --sun-soft: #fff1c9;
  --shadow: 0 24px 60px -24px rgba(122, 52, 28, .35);
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120f; --bg-2: #211915; --surface: #241c18; --ink: #f6ece6; --ink-2: #cbb9ae; --line: #3a2e28;
    --brand: #ff9b7d; --brand-ink: #2a1f1b; --brand-soft: #3b241b; --teal: #7fd3cc; --teal-soft: #1b3533;
    --pink-soft: #3a2229; --mint-soft: #1d3326; --sun-soft: #3a311b; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }

/* Nagłówek */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.lang { color: var(--ink-2); font-weight: 700; font-size: .9rem; text-decoration: none; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 800;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -10px var(--brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--brand); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -120px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -160px; background: radial-gradient(circle, var(--teal-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 800; font-size: .85rem; color: var(--teal); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 900; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--sun-soft); z-index: -1; border-radius: 6px; }
.lead { font-size: 1.22rem; color: var(--ink-2); max-width: 32em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

/* Telefon */
.phone { position: relative; width: 300px; border-radius: 44px; padding: 11px; background: #1d1714;
  box-shadow: var(--shadow), inset 0 0 0 2px #3b302a; }
.phone img { border-radius: 34px; width: 100%; height: auto; }
.phone-stage { position: relative; justify-self: center; }
.phone-stage .phone { transform: rotate(2deg); }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: .95rem; }
.float small { display: block; font-weight: 700; color: var(--ink-2); font-size: .8rem; }
.float-1 { left: -84px; top: 330px; }
.float-2 { right: -40px; bottom: 80px; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.dot svg { width: 22px; height: 22px; }
.dot-sun { background: var(--sun-soft); color: #9a6b00; }
.dot-mint { background: var(--mint-soft); color: #1d6b3f; }

/* Sekcje */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker { font-weight: 900; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 900; margin: 8px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

/* Jak to działa */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 0; overflow: hidden;
  display: flex; flex-direction: column; }
.step-num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: var(--brand-soft); color: var(--brand); }
.step h3 { font-size: 1.3rem; margin: 14px 0 6px; font-weight: 900; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); margin: 0 0 22px; }
.step .shot { margin-top: auto; align-self: center; width: 78%; border-radius: 26px 26px 0 0; border: 9px solid #1d1714; border-bottom: 0;
  overflow: hidden; height: 300px; }
.step .shot img { width: 100%; }
/* Rozliczenie: kadr od nagłówka arkusza (wybór 100/75/50%), nie od przyciemnionego tła. */
.step .shot-bottom img { margin-top: -68%; }

/* Funkcje */
.bg-soft { background: var(--bg-2); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feature .dot { margin-bottom: 14px; }
.feature h3 { font-size: 1.08rem; margin: 0 0 6px; font-weight: 900; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.dot-pink { background: var(--pink-soft); color: #a3335a; }
.dot-teal { background: var(--teal-soft); color: var(--teal); }
.dot-brand { background: var(--brand-soft); color: var(--brand); }

/* Dla dziecka */
.kids .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.kids-phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.kids-phones .phone { width: 240px; }
.kids-phones .phone:nth-child(2) { margin-top: 60px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { width: 26px; height: 26px; flex: none; color: var(--teal); margin-top: 2px; }
.checks strong { display: block; }
.checks span { color: var(--ink-2); }

/* Zaufanie */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card { border-radius: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.trust-card h3 { margin: 12px 0 6px; font-size: 1.1rem; font-weight: 900; }
.trust-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* Końcowe wezwanie */
.final { padding: 40px 0 80px; }
.final-card { position: relative; overflow: hidden; border-radius: 32px; background: var(--brand); color: var(--brand-ink);
  padding: 52px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.final-card h2 { color: inherit; margin: 0 0 10px; }
.final-card p { margin: 0 0 24px; opacity: .9; font-size: 1.1rem; }
.final-card .btn { background: var(--brand-ink); color: var(--brand); }
.final-card img { width: 200px; }

/* Stopka */
.footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--ink-2); font-size: .95rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer a { color: var(--ink-2); }
.footer .spacer { margin-left: auto; }

/* Responsywność */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .wrap { gap: 14px; }
  .lang { margin-left: auto; }
  .hero .wrap, .kids .wrap { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 12px; }
  .float-1 { left: -24px; }
  .float-2 { right: -16px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .final-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .final-card img { width: 140px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .hero { padding-top: 32px; }
  .phone { width: 250px; }
  .float { font-size: .85rem; padding: 10px 12px; }
  .float-1 { left: -10px; top: 40px; }
  .float-2 { right: -6px; bottom: 40px; }
  .features { grid-template-columns: 1fr; }
  .kids-phones .phone { width: 170px; border-radius: 32px; padding: 8px; }
  .kids-phones .phone img { border-radius: 25px; }
  .nav .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
