/* ═══════════════════════════════════════════════════════════════
   COSTimate — Design System v2.0 · tokeny (2026-09-17)
   Źródło estetyki: klikalny prototyp KALKULATORA
   (https://vps-b7155ffb.vps.ovh.net/costimate-calculator/) — decyzje usera 2026-09-17:
   (1) kalkulator = wzór: petrol #122b32 + limonka #b6ef62, Manrope + DM Sans;
   (2) liczby w DM Sans z tabular-nums — JetBrains Mono WYCOFANY;
   poprzednie kotwice (zieleń #0b5c3f + żółć #ffb703) i tokeny v1.x → tokens-v1.css
   (archiwum: costimate-s01-ds, costimate-premium, costimate-ds-*).
   Dyscyplina: prototyp miał 11 radiusów i ~14 rozmiarów fontu — tu są SKALE.
   Wymagane fonty (Google Fonts):
   DM+Sans:wght@400;500;600;700 · Manrope:wght@500;700;800
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* ── 1. KOTWICE MARKI v2 (z kalkulatora) ── */
  --dark: #122b32;        /* petrol — CTA, ciemne powierzchnie, znak marki */
  --lime: #b6ef62;        /* limonka — akcent: błyskawica, checki, zaznaczenia */

  /* ── 2. KOLOR ── */
  --ink: #17343b;         /* tekst główny; czysta czerń zakazana */
  --muted: #63777d;       /* tekst drugorzędny, metadane (min. 12px na jasnym) */
  --line: #dce4e5;        /* ramki, separatory */
  --bg: #f5f7f8;          /* tło strony (szare) — karty zawsze białe */
  --surface: #ffffff;
  --green: #247760;       /* pos — oszczędności, trendy w dół, checki tekstowe */
  --lime-100: #eaf8cf;    /* tint zaznaczeń + zakreślacz */
  --alert: #c2492e;       /* ostrzeżenia (nabór wyczerpany, trend w górę) */

  /* aliasy semantyczne (komponenty używają TYCH nazw) */
  --primary: var(--dark);
  --accent: var(--lime);
  --body-2: var(--muted);
  --hl: var(--lime-100);
  --tint: var(--lime-100);
  --pos: var(--green);
  --card: var(--surface);
  --dark-surface: var(--dark);

  /* ── 3. TYPOGRAFIA ── */
  --font-display: 'Manrope', system-ui, sans-serif;   /* h1–h3, moduły, logo */
  --font-body: 'DM Sans', system-ui, sans-serif;      /* body, UI */
  --font-num: 'DM Sans', system-ui, sans-serif;       /* liczby: DM Sans 700 + tabular-nums */
  /* skala rozmiarów — TYLKO te wartości */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 44px;
  --w-display: 800;
  --lh-tight: 1.1;
  --lh-head: 1.15;
  --lh-body: 1.6;
  --lh-small: 1.55;

  /* ── 4. ODSTĘPY — TYLKO te wartości ── */
  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 64px; --s-8: 96px;
  --wrap-max: 1140px;
  --prose-max: 720px;

  /* ── 5. PROMIENIE (destylacja z 11 wartości prototypu) ── */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* ── 6. CIENIE ── */
  --shadow-sm: 0 2px 10px rgba(23,52,59,.07);     /* karty, CTA */
  --shadow-lg: 0 15px 50px rgba(24,56,63,.08);    /* element-bohater (sygnatura kalkulatora) */

  /* ── 7. RUCH ── */
  --t-fast: 150ms ease;
}

/* ── bazowe zachowania systemowe (wspólne dla wszystkich mockupów) ── */
:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; border-radius: 4px; }
.num { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ═══ Strona główna — style własne strony (z makiety costimate-home-calc) ═══ */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: var(--font-body); color: var(--ink); background: var(--bg); font-size: var(--text-base); line-height: var(--lh-body); font-variant-numeric: tabular-nums; }
  .wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { font-family: var(--font-display); line-height: var(--lh-head); letter-spacing: -.01em; }
  .num { letter-spacing: -.01em; }
  .hl { background: var(--hl); padding: 0 4px; }
  section { padding: 64px 0; }
  a, button, summary, .prod { transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast), filter var(--t-fast); }
  .btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); border-radius: var(--r-pill); padding: 12px 24px; cursor: pointer; text-decoration: none; border: none; }
  .btn-main { background: var(--dark); color: #fff; box-shadow: var(--shadow-sm); }
  .btn-main:hover { transform: translateY(-1px); filter: brightness(1.12); }
  .btn-main:active { transform: translateY(0); }
  .btn-lime { background: var(--lime); color: var(--dark); font-weight: 700; }
  .btn-lime:hover { filter: brightness(1.04); }
  .sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
  .sec-head h2 { font-size: var(--text-3xl); font-weight: 800; }
  .sec-head a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: var(--text-base); white-space: nowrap; }
  .sec-head a:hover { color: var(--green); }

  /* ── 0. NAV: znak kalkulatora (SVG piorun jak w faviconie) + menu sekcji + CTA ── */
  header { position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); z-index: 50; }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
  .logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
  .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--dark); color: var(--lime); }
  .brand-mark svg { display: block; }
  .logo .dot { color: var(--lime); }
  .nav-links { display: flex; gap: 24px; }
  .nav-links a { font-size: var(--text-sm); font-weight: 600; color: var(--muted); text-decoration: none; }
  .nav-links a:hover { color: var(--ink); }
  .btn-nav { font-size: var(--text-sm); padding: 8px 16px; }

  /* ── 1. HERO ── */
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: var(--text-4xl); font-weight: 800; line-height: var(--lh-tight); max-width: 800px; }
  .hero .sub { font-size: var(--text-lg); color: var(--muted); margin: 16px 0 8px; max-width: var(--prose-max); }
  .hero .sub b { color: var(--ink); }
  /* moduł 1:1 z karuzeli EnergySage „Power your home, your way" (zmierzone 2026-09-22):
     aktywny kafelek 2,4× szerszy od zwiniętego I odrobinę wyższy, sam przewija się co 6 s,
     pod spodem strzałki + kropki; benefit i przycisk leżą NA obrazku (bez boksu pod spodem) */
  .prods { display: flex; align-items: center; gap: 16px; margin-top: 32px; height: 480px; }
  .prod { position: relative; flex: 1; height: 92%; border-radius: var(--r-md); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: flex .5s cubic-bezier(.4,0,.2,1), height .5s cubic-bezier(.4,0,.2,1); }
  .prod:not(.on):hover { flex: 1.15; }
  .prod.on { flex: 2.4; height: 100%; }
  /* zdjęcie ma STAŁĄ szerokość — okno kafelka przesuwa się po nim, zamiast je ściskać (jak w ES) */
  /* --fx / --fy: gdzie na zdjęciu jest to, co ma być widać w wąskim kafelku (poziomo 34–66%, żeby aktywny kafelek nie wyszedł poza zdjęcie) */
  .prod img { position: absolute; top: 0; left: 50%; transform: translateX(calc(-1 * var(--fx, 50%))); width: 620px; max-width: none; height: 100%; object-fit: cover; object-position: 50% var(--fy, 50%); }
  .prod::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,43,50,.82), rgba(18,43,50,.05) 60%); pointer-events: none; }
  .p-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; }
  /* tytuł i benefit PRZENIKAJĄ SIĘ: w aktywnym kafelku nazwa gaśnie, jej miejsce zajmuje
     zdanie-korzyść z przyciskiem (nazwa produktu wraca w treści CTA: „Policz pompę ciepła") */
  .prod h3 { font-size: var(--text-xl); font-weight: 800; color: #fff; line-height: 1.2; max-height: 60px; transition: opacity .3s ease, transform .3s ease, max-height .45s ease; }
  .prod.on h3 { opacity: 0; transform: translateY(-8px); max-height: 0; overflow: hidden; }
  .p-go { display: inline-block; margin-top: 8px; font-size: var(--text-sm); font-weight: 600; color: #fff; opacity: .9; }
  .p-more { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: opacity .35s ease .12s, transform .35s ease .12s, max-height .5s ease; }
  .prod.on .p-more { max-height: 260px; opacity: 1; transform: none; }
  .prod.on .p-go { display: none; }
  .p-more p { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; line-height: 1.15; max-width: 460px; }
  .p-more .btn { margin-top: 16px; }
  /* sterowanie karuzeli pod modułem — strzałki + kropki, jak w oryginale */
  .prod-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
  .prod-nav > button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: var(--text-base); line-height: 1; cursor: pointer; }
  .prod-nav > button:hover { border-color: var(--dark); }
  .dots { display: flex; align-items: center; gap: 8px; }
  .dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: var(--r-pill); background: var(--line); cursor: pointer; transition: width var(--t-fast), background-color var(--t-fast); }
  .dots button.on { width: 24px; background: var(--dark); }

  /* ── 1a. OD DANYCH DO OFERTY (model Solar.com) ── */
  .flow { padding: 64px 0; }
  .flow-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
  .flow-steps { list-style: none; counter-reset: fs; }
  .flow-steps li { counter-increment: fs; position: relative; padding: 0 0 24px 56px; }
  .flow-steps li::before { content: counter(fs); position: absolute; left: 0; top: 0; width: 38px; height: 38px;
    border-radius: 50%; background: var(--dark); color: var(--lime); font-family: var(--font-display); font-weight: 800;
    display: flex; align-items: center; justify-content: center; font-size: var(--text-base); }
  .flow-steps li::after { content: ""; position: absolute; left: 18.5px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
  .flow-steps li:last-child::after { display: none; }
  .flow-steps h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: 4px; }
  .flow-steps p { font-size: var(--text-sm); color: var(--muted); line-height: var(--lh-small); }
  .flow-steps p b { color: var(--ink); font-weight: 700; }
  /* offer-card = element-bohater: jedyny z --shadow-lg (sygnatura kalkulatora) */
  .offer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
  .offer-card .o-head { background: var(--dark); color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .offer-card .o-head .o-lab { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); }
  .offer-card .o-head .o-t { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
  .offer-card .o-body { padding: 20px 24px; }
  .o-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); padding: 8px 0; border-bottom: 1px dashed var(--line); }
  .o-row .k { color: var(--muted); }
  .o-row .v { font-weight: 700; text-align: right; }
  .o-row .v.pos { color: var(--pos); }
  .o-price { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 4px; }
  .o-price .p { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; letter-spacing: -.02em; }
  .o-price .vs { font-size: var(--text-xs); font-weight: 700; color: var(--pos); background: var(--tint); padding: 2px 8px; border-radius: var(--r-sm); }
  .o-actions { display: flex; gap: 8px; padding: 0 24px 20px; }
  .o-actions .btn { flex: 1; text-align: center; }
  .o-actions .btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); box-shadow: none; }
  .o-actions .btn-ghost:hover { border-color: var(--muted); color: var(--ink); }
  .o-fine { font-size: var(--text-xs); color: var(--muted); padding: 0 24px 16px; }

  /* ── ticker korzyści (element s01 — zostaje z przechyłem, w petrolu) ── */
  .ticker { background: var(--dark); color: #c8d6d2; overflow: hidden; padding: 12px 0; transform: rotate(-.6deg) scale(1.01); }
  .ticker-inner { display: flex; gap: 48px; white-space: nowrap; font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; animation: tick 42s linear infinite; }
  @keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .ticker span b { color: var(--lime); }
  @media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } }

  /* ── adopcja rynku ── */
  .adopt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .a-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
  .a-stat .v { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; letter-spacing: -.02em; }
  .a-stat .v small { font-size: var(--text-base); color: var(--muted); font-weight: 500; }
  .a-stat .l { font-size: var(--text-base); margin-top: 8px; font-weight: 700; }
  .a-stat .d { font-size: var(--text-sm); color: var(--muted); margin-top: 4px; }
  .a-stat .d b { color: var(--pos); font-weight: 700; }
  .a-tempo { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .a-tempo .t-big { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
  .a-tempo .t-big b { color: var(--green); }
  .a-src { font-size: var(--text-xs); color: var(--muted); }

  /* ── opinie (ciemna sekcja s01 — zostaje, w petrolu) ── */
  .reviews { background: var(--dark); color: #fff; }
  .reviews .sec-head h2 { color: #fff; }
  .rating-badge { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-pill); padding: 8px 20px; margin-bottom: 24px; flex-wrap: wrap; }
  .stars { color: var(--lime); letter-spacing: 2px; font-size: var(--text-base); }
  .rating-badge .num { font-weight: 700; }
  .rating-badge small { color: #a8bcb6; font-size: var(--text-sm); }
  .rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .rev { background: var(--card); color: var(--ink); border-radius: var(--r-md); padding: 24px; }
  .rev .r-quote { font-size: var(--text-sm); color: var(--muted); line-height: var(--lh-small); }
  .rev .r-quote b { color: var(--pos); background: var(--hl); padding: 0 3px; font-weight: 700; }
  .rev .r-who { margin-top: 16px; font-size: var(--text-sm); color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
  .rev .r-who .v { color: var(--green); font-weight: 700; }

  /* ── karuzela contentu ── */
  .carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .carousel::-webkit-scrollbar { display: none; }
  .art { flex: 0 0 300px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
  .art .a-img { height: 128px; background: linear-gradient(135deg, var(--lime-100), var(--bg)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--dark); }
  .art .a-body { padding: 16px; }
  .art .a-cat { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 700; }
  .art h3 { font-size: var(--text-base); font-weight: 700; margin: 8px 0; }
  .art .a-meta { font-size: var(--text-xs); color: var(--muted); }
  .car-nav { display: flex; gap: 8px; }
  .car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: var(--text-base); color: var(--ink); }
  .car-nav button:hover { border-color: var(--dark); }

  /* ── sekcje contentowe (tło strony szare, .alt = białe) ── */
  .alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .alt .a-tempo, .alt .grant, .alt details.faq { box-shadow: none; }
  .stamp { font-size: var(--text-xs); color: var(--muted); }
  .stamp b { color: var(--pos); }

  /* ── dotacje: siatka kart „program + kwota + krótki opis" ── */
  .grants-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grant { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; }
  .grant .g-st { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
  .grant .g-st .live { color: var(--pos); }
  .grant .g-st .soon { color: var(--alert); }
  .grant .g-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; margin: 8px 0 4px; }
  .grant .g-amt { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; letter-spacing: -.02em; color: var(--pos); }
  .grant .g-amt.none { color: var(--muted); font-size: var(--text-xl); }
  .grant .g-amt small { font-size: var(--text-sm); font-weight: 500; color: var(--muted); display: block; letter-spacing: 0; }
  .grant .g-desc { font-size: var(--text-sm); color: var(--muted); line-height: var(--lh-small); margin-top: 8px; }
  .grant .g-desc b { color: var(--ink); font-weight: 700; }
  .grant .g-foot { margin-top: auto; padding-top: 16px; font-size: var(--text-xs); color: var(--muted); }
  /* program zamknięty = pasek na całą szerokość pod aktywnymi kartami, wyciszony */
  .grant-closed { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; opacity: .8; }
  .grant-closed .g-name { margin: 0; }
  .grant-closed .g-desc { margin-top: 0; flex: 1 1 340px; }
  .g-budget { margin-top: 4px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
  .g-budget i { display: block; height: 100%; background: var(--alert); }

  table.atlas { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
  .atlas th { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .atlas td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
  .atlas tbody tr { transition: background-color var(--t-fast); }
  .atlas tbody tr:hover td { background: var(--bg); }
  .atlas tr:last-child td { border-bottom: none; }
  .atlas .t-name { font-weight: 700; }
  .atlas .t-med { font-weight: 700; }
  .atlas .t-range, .atlas .t-n { font-size: var(--text-xs); color: var(--muted); }
  .atlas .up { color: var(--alert); } .atlas .down { color: var(--pos); }
  .verdict { margin-top: 24px; background: var(--card); border: 1px solid var(--dark); border-radius: var(--r-md); padding: 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
  .verdict .v-txt { flex: 1 1 420px; font-size: var(--text-base); }

  /* ── FAQ + NEWSLETTER ── */
  .faq-nl { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
  details.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
  details.faq summary { cursor: pointer; padding: 16px; font-weight: 700; font-size: var(--text-base); list-style: none; position: relative; padding-right: 48px; }
  details.faq summary:hover { color: var(--green); }
  details.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-family: var(--font-display); font-size: var(--text-xl); color: var(--green); }
  details.faq[open] summary::after { content: "−"; }
  details.faq .faq-a { padding: 0 16px 16px; font-size: var(--text-sm); color: var(--muted); line-height: var(--lh-small); }
  details.faq .faq-a b { color: var(--ink); font-weight: 700; }
  .nl-box { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 24px; position: sticky; top: 88px; box-shadow: var(--shadow-lg); }
  .nl-box h3 { font-size: var(--text-xl); font-weight: 800; }
  .nl-box .nl-sub { font-size: var(--text-sm); color: #a8bcb6; margin: 8px 0 16px; }
  .nl-issue { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-sm); padding: 16px; margin-bottom: 16px; }
  .nl-issue .n-lab { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); }
  .nl-issue ul { list-style: none; margin-top: 8px; }
  .nl-issue li { font-size: var(--text-sm); padding: 4px 0 4px 16px; position: relative; color: #dbe7e2; }
  .nl-issue li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }
  .nl-form { display: flex; gap: 8px; }
  .nl-form input { flex: 1; padding: 12px 16px; border-radius: var(--r-pill); border: none; font-family: var(--font-body); font-size: var(--text-sm); }
  .nl-form .btn { background: var(--lime); color: var(--dark); font-weight: 700; }
  .nl-fine { font-size: var(--text-xs); color: #8aa39c; margin-top: 8px; }

  /* ── footer ── */
  footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 24px; }
  .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .f-claim { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
  .f-col h4 { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
  .f-col a { display: block; font-size: var(--text-sm); color: var(--muted); text-decoration: none; padding: 4px 0; }
  .f-col a:hover { color: var(--ink); }
  .f-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

  @media (max-width: 900px) {
    .adopt-grid, .grants-grid { grid-template-columns: repeat(2, 1fr); }
    .rev-grid, .f-grid, .faq-nl { grid-template-columns: 1fr; }
    .hero h1 { font-size: var(--text-3xl); }
    .nl-box { position: static; }
    .nav-links { display: none; }
    .prods { height: 420px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .prods::-webkit-scrollbar { display: none; }
    .prod { flex: 0 0 62%; scroll-snap-align: start; }
    .prod:not(.on):hover { flex: 0 0 62%; }
    .prod.on { flex: 0 0 86%; }
  }
  @media (max-width: 560px) {
    .adopt-grid, .grants-grid { grid-template-columns: 1fr; }
    .prod, .prod:not(.on):hover { flex: 0 0 78%; }
    .prod.on { flex: 0 0 92%; }
  }

  /* ── v3: porównywarka ofert (2026-10) ── */
  .p-note { display: block; font-size: var(--text-xs); opacity: .8; margin-top: 4px; font-weight: 500; }
  .grant { gap: 0; }
  .grant .g-st { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
  .g-chip { font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em; text-transform: none; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); }
  .g-chip.live { color: var(--pos); border-color: var(--pos); }
  .g-chip.soon { color: var(--dark); background: var(--lime); border-color: var(--lime); }
  .g-chip.ending, .g-chip.closed { color: var(--alert); border-color: var(--alert); }
  .g-prod { font-size: var(--text-xs); color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
  .grant .g-amt { font-size: var(--text-2xl); line-height: 1.2; }
  .grant .g-amt small { margin-top: 2px; }
  .g-dates { font-size: var(--text-xs); color: var(--ink); margin-top: 12px; font-weight: 500; }
  .g-cta { margin-top: 16px; font-weight: 700; font-size: var(--text-sm); color: var(--green); text-decoration: none; }
  .g-cta:hover { text-decoration: underline; }
  .grant-off { opacity: .72; }
  .grant-off .g-amt { color: var(--muted); }
  .g-loading { color: var(--muted); font-size: var(--text-sm); grid-column: 1 / -1; }
  .reviews .r-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; margin-bottom: 8px; color: var(--ink); }
  .r-context { margin-top: 24px; font-size: var(--text-sm); color: #a8bcb6; max-width: var(--prose-max); }
  .faq-list { max-width: var(--prose-max); }
  .faq-a a { color: var(--green); }
