/* Wspólny wygląd podstron knowu2.app (Pytania, Dla rodziców, Bezpieczeństwo, Nowości, O nas, Kontakt).
   Strony powstają z strona/podstrony/*.html przez `node strona/zbuduj.mjs`; tego pliku nie generuje nic, edytujemy go ręcznie.
   Kolory i kształty jak na stronie głównej (design A „Krem z logo”). */
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url(/fonts/figtree-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url(/fonts/figtree-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+1E00-1E9F; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+1E00-1E9F; }

:root {
  --bg: #F8F5EF; --card: #FFFFFF; --ink: #151515; --muted: #6F6A62; --line: #E7E1D7;
  --accent: #F48FAA; --pink-soft: #FDE8EE; --solid-bg: #151515; --solid-fg: #F8F5EF; --shadow: rgba(21, 21, 21, .08);
  --edge: #151515;
  --blue: #8EC5FF; --mint: #9EDDB8; --yellow: #FFD27A; --lilac: #C4B2F2;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: clamp(20px, 2.4vw, 28px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151515; --card: #211F1D; --ink: #F8F5EF; --muted: #A9A296; --line: #3A3632; --pink-soft: #3A2229; --solid-bg: #F8F5EF; --solid-fg: #151515; --shadow: rgba(0, 0, 0, .5); --edge: #646361; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--solid-bg); color: var(--solid-fg); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* góra: logo i przycisk, pod nimi menu podstron */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem/1 var(--display); letter-spacing: -.02em; flex: none; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 6px 14px var(--shadow)); }
.sub { border-bottom: 1px solid var(--line); }
.sub ul { display: flex; gap: 6px; margin: 0; padding: 0 0 10px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sub ul::-webkit-scrollbar { display: none; }
.sub a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.sub a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.sub a[aria-current="page"] { background: var(--solid-bg); color: var(--solid-fg); }

/* przyciski jak w apce */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--solid-bg); color: var(--solid-fg); font: 800 1.02rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn.pink { background: var(--accent); color: #151515; }

/* treść */
main { padding-bottom: clamp(48px, 8vw, 96px); }
.crumbs { margin: clamp(22px, 4vw, 40px) 0 22px; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.eyebrow { display: block; font: 800 .78rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h1 { font: 800 clamp(2.15rem, 1.2rem + 4.2vw, 3.7rem)/1.04 var(--display); letter-spacing: -.035em; margin-top: 18px; }
h2 { font: 800 clamp(1.55rem, 1.1rem + 2vw, 2.25rem)/1.1 var(--display); letter-spacing: -.028em; margin-top: clamp(40px, 6vw, 64px); }
h3 { font: 800 clamp(1.08rem, 1rem + .35vw, 1.22rem)/1.25 var(--font); }
p { overflow-wrap: break-word; margin: 14px 0 0; }
.lead { font-size: clamp(1.1rem, 1.02rem + .5vw, 1.28rem); color: var(--muted); margin-top: 18px; text-wrap: pretty; }
.muted { color: var(--muted); }
.pink { position: relative; display: inline-block; isolation: isolate; color: #151515; padding: 0 .12em; margin: 0 -.02em; }
.pink::before { content: ""; position: absolute; z-index: -1; inset: .04em -.02em 0; background: var(--accent); border-radius: .16em .3em .18em .28em; transform: rotate(-1.2deg); }
ul.plain, ol.plain { margin: 14px 0 0; padding-left: 1.2em; }
ul.plain li, ol.plain li { margin-top: 8px; padding-left: 4px; }
ul.ticks { margin: 16px 0 0; padding: 0; list-style: none; }
ul.ticks li { position: relative; margin-top: 10px; padding-left: 34px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 2px #151515; }
ul.crosses li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); background-color: var(--yellow); }

.cards { display: grid; gap: 14px; margin-top: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 26px); box-shadow: 0 0 0 2px var(--edge), 0 6px 0 -1px var(--edge); }
.card h3 + p, .card h2 + p { margin-top: 8px; }
.card p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.card p:first-child { margin-top: 0; }
.card.mint { background: var(--mint); } .card.blue { background: var(--blue); } .card.yellow { background: var(--yellow); } .card.lilac { background: var(--lilac); } .card.pinkc { background: var(--accent); }
.card.mint, .card.blue, .card.yellow, .card.lilac, .card.pinkc { color: #151515; box-shadow: 0 0 0 2px #151515, 0 6px 0 -1px #151515; }
.card.mint p, .card.blue p, .card.yellow p, .card.lilac p, .card.pinkc p { color: #2A2724; }
.note { margin-top: 22px; padding: 16px 20px; border-radius: 18px; background: var(--pink-soft); border: 2px dashed var(--edge); }
.note p { margin: 0; }
.note p + p { margin-top: 10px; }
.note b { font-weight: 800; }
.answer { margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: var(--card); border-left: 6px solid var(--accent); }
.answer p { margin: 0; }

.qs { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.qs li { padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; }
.qs small { display: block; margin-bottom: 2px; font: 800 .74rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; font-size: .92rem; }

.facts { margin: 22px 0 0; display: grid; gap: 0; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 2px var(--edge); overflow: hidden; }
.facts div { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr; gap: 6px 18px; padding: 14px 20px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 800; color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.timeline { margin: 26px 0 0; padding: 0; list-style: none; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #151515; }
.timeline time { display: block; font: 800 .8rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin-top: 4px; }
.timeline p { margin-top: 6px; }

.faq { margin-top: 22px; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 2px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; min-height: 52px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.faq details[open] { box-shadow: inset 0 0 0 2px var(--edge); }

.cta { margin-top: clamp(44px, 7vw, 80px); padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 44px); border-radius: clamp(26px, 3vw, 36px); background: var(--accent); color: #151515; text-align: center; box-shadow: 0 0 0 3px var(--edge), 0 8px 0 -1px var(--edge); }
.cta h2 { margin: 0; color: #151515; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.4rem); }
.cta p { margin: 12px auto 0; max-width: 34rem; color: #2A2724; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.cta .btn { background: #151515; color: #F8F5EF; }
.cta .btn.ghost { background: transparent; color: #151515; box-shadow: inset 0 0 0 2.5px #151515; }
.cta :focus-visible { outline-color: #151515; }

.by { margin-top: clamp(36px, 6vw, 56px); padding: 18px 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-size: .95rem; }
.by p { margin: 0; color: var(--muted); }
.by b, .by a { color: var(--ink); }

footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 22px; align-items: center; }
.foot .legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .top { height: 62px; }
  .facts div { grid-template-columns: 1fr; padding: 12px 16px; gap: 2px; }
  .btn { min-height: 50px; padding: 0 22px; }
  .cta .row .btn { flex: 1 1 auto; }
  .btn.ghost:not(.sm) { white-space: normal; line-height: 1.2; padding-block: 10px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
