/* Wspólny wygląd podstron (FAQ, zasady, polityka, podziękowanie) — ten sam styl co strona główna */
:root {
  color-scheme: dark;
  --ink: #0c0907;
  --black: #0c0a08;
  --brown: #3a1d0a;
  --cognac: #7a3f12;
  --cream: #f3eee7;
  --beige: #e0d1c5;
  --muted: #dac9bc;
  --rule: rgba(243, 238, 231, .32);
  --todo: #f2c46d;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--cream); -webkit-font-smoothing: antialiased; }
::selection { background: var(--beige); color: var(--ink); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--beige); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
.shell { width: min(100% - 48px, 860px); margin-inline: auto; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }

.top { background: linear-gradient(164deg, #914e18 0%, var(--cognac) 22%, var(--brown) 70%, #140c08 100%); }
.top .shell { padding-block: 26px clamp(48px, 8vw, 88px); }
.bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; padding-bottom: 18px; margin-bottom: clamp(40px, 7vw, 72px); border-bottom: 1px solid var(--rule); }
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
.brand:hover { color: var(--beige); }
h1 { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 700; letter-spacing: -.06em; line-height: .98; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 60ch; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }

main .shell { padding-block: clamp(48px, 8vw, 96px); }
.prose { display: grid; gap: 16px; font-size: 1.04rem; line-height: 1.7; }
.prose h2 { margin-top: 28px; font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 70ch; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose strong { color: var(--beige); }
.prose a { color: var(--beige); text-underline-offset: 3px; }

/* Miejsca do uzupełnienia — widoczne celowo, usuń przed publikacją */
.todo { padding: 1px 6px; border-radius: 3px; background: var(--todo); color: var(--ink); font-weight: 600; }
.draft-note { padding: 14px 16px; border: 1px dashed var(--todo); color: var(--todo); font-size: .92rem; line-height: 1.5; }

.faq { display: grid; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding-block: 18px; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; font-size: 1.2rem; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 24px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; display: grid; gap: 12px; }
.faq .answer p { max-width: 68ch; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 54px; padding: 14px 18px; border: 1px solid var(--beige); background: var(--beige); color: var(--ink); font-size: .77rem; font-weight: 800; letter-spacing: .15em; line-height: 1.3; text-decoration: none; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--cream); transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.button-outline:hover { color: var(--ink); background: var(--cream); }
.button .arrow { width: 19px; height: 19px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.5; fill: none; }
.prose a.button { color: var(--ink); text-decoration: none; }
.prose a.button-outline { color: var(--cream); }
.prose a.button-outline:hover { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.actions .button { min-width: 250px; }
.faq-actions { justify-content: space-between; }

footer { padding: 30px 0 38px; border-top: 1px solid var(--rule); }
footer p { color: var(--muted); font-size: .76rem; line-height: 1.6; }
footer a { color: var(--muted); }
footer .shell { width: min(100% - 48px, 1220px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 44px; font-size: .76rem; line-height: 1.6; }
.foot-links a { position: relative; white-space: nowrap; }
.foot-links a + a::before { content: "·"; position: absolute; left: -26px; text-decoration: none; }

@media (max-width: 760px) {
  .shell { width: min(100% - 40px, 560px); }
  .actions .button { width: 100%; }
  .faq-actions { flex-direction: column-reverse; }
  footer .shell { width: min(100% - 40px, 560px); }
  .foot-links { gap: 8px 24px; }
  .foot-links a + a::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .faq summary::after { transition: none; }
}
