/* Strona oferty „Podatki” — wygląd z rodziny pageforyou.pl (tokeny skopiowane z apps/web/app/globals.css i landing/site.css,
   NIE importowane: zmiany w pageforyou.pl nie psują tej strony i odwrotnie). Grafit domyślnie, papier w motywie jasnym. */
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-latin-ext.woff2) format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-latin.woff2) format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #121311; --bg-2: #191a17; --surface: #1d1e1b; --surface-2: #212325;
  --fg: #f0eee6; --muted: #a7a9a2; --dim: #a3a59b;
  --border: rgba(255, 255, 255, 0.10); --border-strong: rgba(255, 255, 255, 0.22);
  --signal: #ff6646; --signal-ink: #151613; --signal-text: #ff8a70; --signal-soft: rgba(255, 102, 70, 0.16);
  --island: #070807; --island-fg: #f0eee6; --island-dim: #a9aba1; --island-line: rgba(240, 238, 230, 0.12);
  --nav-bg: rgba(29, 30, 27, 0.9);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px -14px rgba(0, 0, 0, 0.7);
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px; --pill: 999px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --section-y: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbfaf6; --bg-2: #e9e6dc; --surface: #ffffff; --surface-2: #f3f1ea;
  --fg: #151613; --muted: #3e403a; --dim: #5d5f57;
  --border: #dcd8cc; --border-strong: #b5b7ad;
  --signal: #ff5533; --signal-ink: #151613; --signal-text: #b8300f; --signal-soft: rgba(255, 85, 51, 0.14);
  --island: #151613; --island-fg: #f3f1ea; --island-dim: #b4b5ac; --island-line: rgba(243, 241, 234, 0.16);
  --nav-bg: rgba(251, 250, 246, 0.9);
  --shadow: 0 2px 0 rgba(21, 22, 19, 0.03), 0 40px 80px -32px rgba(21, 22, 19, 0.35);
  --shadow-sm: 0 1px 0 rgba(21, 22, 19, 0.04), 0 8px 24px -12px rgba(21, 22, 19, 0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfaf6; --bg-2: #e9e6dc; --surface: #ffffff; --surface-2: #f3f1ea;
    --fg: #151613; --muted: #3e403a; --dim: #5d5f57;
    --border: #dcd8cc; --border-strong: #b5b7ad;
    --signal: #ff5533; --signal-text: #b8300f; --signal-soft: rgba(255, 85, 51, 0.14);
    --island: #151613; --island-fg: #f3f1ea; --island-dim: #b4b5ac; --island-line: rgba(243, 241, 234, 0.16);
    --nav-bg: rgba(251, 250, 246, 0.9);
    --shadow: 0 2px 0 rgba(21, 22, 19, 0.03), 0 40px 80px -32px rgba(21, 22, 19, 0.35);
    --shadow-sm: 0 1px 0 rgba(21, 22, 19, 0.04), 0 8px 24px -12px rgba(21, 22, 19, 0.18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.03em; }
h3 { letter-spacing: -0.015em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 8px; }

/* menu — pływająca pigułka jak na pageforyou.pl */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding-inline: 12px; }
.nav-pill { max-width: 1180px; margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px;
  border-radius: var(--pill); background: var(--nav-bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo i { color: var(--signal); font-style: normal; }
.logo .tag { font-family: "Inter"; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-text);
  border: 1px solid var(--signal-soft); background: var(--signal-soft); padding: 3px 8px; border-radius: var(--pill); }
.nav-links { display: none; margin: 0 auto; padding: 0; list-style: none; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { background: var(--bg-2); color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.theme-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.theme-btn:hover { color: var(--fg); background: var(--bg-2); }
.nav .nav-cta { display: none; }
@media (min-width: 520px) { .nav .nav-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav-links { display: flex; } }

/* przyciski */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px 6px 24px; border-radius: var(--pill);
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .35s var(--ease); }
.btn:hover .btn-ico { transform: translateX(4px) rotate(-45deg); }
.btn:active { transform: scale(0.98); }
.btn--signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 10px 30px -12px var(--signal); }
.btn--signal .btn-ico { background: var(--signal-ink); color: var(--signal); }
.btn--ghost { padding: 6px 24px; border-color: var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: var(--surface); }
.btn--sm { min-height: 44px; padding: 4px 6px 4px 18px; font-size: 15px; }
.btn--sm .btn-ico { width: 34px; height: 34px; }

/* hero */
.hero { position: relative; padding: clamp(120px, 16vw, 190px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--signal-soft), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: -0.05em; right: -0.05em; bottom: 0.06em; height: 0.28em; background: var(--signal); border-radius: 0.1em; z-index: -1; }
.h1 .mark { z-index: 0; }
.lead { margin: 26px 0 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust svg { flex: none; margin-top: 4px; color: var(--signal-text); }

/* karta-zestawienie w hero */
.sheet { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 22px; max-width: 520px; margin-inline: auto; width: 100%; transform: rotate(1.2deg); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sheet-head b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.pill--ok { background: var(--signal-soft); color: var(--signal-text); }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.sheet td { padding: 10px 0; border-top: 1px solid var(--border); }
.sheet td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.sheet tr.total td { font-family: var(--display); font-size: 19px; border-top: 1px solid var(--border-strong); }
.sheet .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sheet-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--pill);
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; transform: rotate(-1.2deg); }
.sheet-chip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-style: normal; }
.sheet-chip span { font-weight: 400; color: var(--muted); }
.sheet-chip--a { left: -18px; bottom: -22px; }
.sheet-chip--b { right: -14px; top: -20px; }
@media (max-width: 719px) { .sheet { transform: none; } .sheet-chip--a { left: 8px; } .sheet-chip--b { right: 8px; } .sheet-chip { font-size: 12px; padding: 8px 12px; } }

/* sekcje */
.section { padding: var(--section-y) 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--bg-2); }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.num { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal-text); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance; }
.head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 640px; }

.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); padding: clamp(22px, 3vw, 32px); }
.card h3 { font-size: 24px; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--signal-soft); color: var(--signal-text); }
.card .kicker { position: absolute; top: clamp(22px, 3vw, 32px); right: clamp(22px, 3vw, 32px); }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); padding: 28px; }
.step b { display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--signal); letter-spacing: -0.04em; }
.step h3 { font-size: 22px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); }

.sources { display: grid; gap: 24px; }
@media (min-width: 900px) { .sources { grid-template-columns: 1fr 1fr; } }
.src-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.src { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill); border: 1px solid var(--border-strong); font-weight: 600; font-size: 15px; background: var(--surface); }
.src small { font-weight: 500; color: var(--muted); }
.src--soon { border-style: dashed; color: var(--muted); background: none; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--signal-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

.island { border-radius: var(--r-xl); background: var(--island); color: var(--island-fg); padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; }
.island::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--signal-soft), transparent 70%); }
.island .h2 { position: relative; color: var(--island-fg); max-width: 760px; }
.island p { position: relative; color: var(--island-dim); max-width: 620px; font-size: 18px; margin: 18px 0 0; }
.island .actions { position: relative; }
.island .btn--ghost { color: var(--island-fg); border-color: var(--island-line); }

.footer { padding: 48px 0 64px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { margin: 0 0 10px; color: var(--fg); font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a:hover { color: var(--fg); }
.note { margin-top: 28px; font-size: 13px; color: var(--dim); max-width: 900px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sheet-wrap { position: relative; padding: 24px 8px; }
.logo--foot { margin-bottom: 10px; }
.foot-lead { margin: 0; max-width: 420px; }

.island-legal { position: relative; margin: 22px 0 0 !important; font-size: 13px !important; color: var(--island-dim); max-width: 760px !important; }
.island-legal a, .note a { text-decoration: underline; text-underline-offset: 3px; }
.note b { color: var(--fg); font-weight: 600; }
