        /* ==== Fonty (self-hosted, variable 200-700) ==== */
        @font-face {
            font-family: 'Oswald';
            font-style: normal;
            font-weight: 200 700;
            font-display: swap;
            src: url('/fonts/oswald-variable-latin-ext.woff2') format('woff2');
            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: 'Oswald';
            font-style: normal;
            font-weight: 200 700;
            font-display: swap;
            src: url('/fonts/oswald-variable-latin.woff2') format('woff2');
            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;
        }

        /* ==== Design tokens ==== */
        :root {
            --brand: #aa2844;
            --brand-dark: #801831;
            --brand-deep: #4d0f1e;
            --ink: #2b2226;
            --ink-soft: #6b5f64;
            --paper: #ffffff;
            --paper-tint: #f8f4f5;
            --line: #ece4e6;
            --radius: 12px;
            --shadow: 0 2px 10px rgba(77, 15, 30, 0.07);
            --shadow-hover: 0 10px 28px rgba(77, 15, 30, 0.16);
            --font-head: 'Oswald', 'Segoe UI', system-ui, sans-serif;
            --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --wrap: 1140px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after { transition: none !important; animation: none !important; }
        }
        body {
            font-family: var(--font-body);
            color: var(--ink);
            background: var(--paper);
            line-height: 1.65;
            font-size: 1.0625rem;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--brand); }
        section { scroll-margin-top: 84px; }

        h1, h2, h3, .font-head { font-family: var(--font-head); font-weight: 400; line-height: 1.2; }
        h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 300; }
        h3 { font-size: 1.25rem; font-weight: 500; }

        .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

        .skip-link {
            position: absolute; left: -9999px; top: 0; z-index: 200;
            background: var(--brand-deep); color: #fff; padding: 10px 18px;
        }
        .skip-link:focus { left: 0; }

        /* ==== Nagłówek (jak w oryginale: przezroczysty nad hero, biały po przewinięciu) ==== */
        header.site {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            background: transparent;
            border-bottom: 1px solid transparent;
            transition: all .4s ease;
        }
        header.site.scrolled {
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(8px);
            border-bottom-color: var(--brand);
            box-shadow: 0 2px 12px rgba(77,15,30,.08);
        }
        .nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; max-width: var(--wrap); margin: 0 auto; }
        .nav-bar .logo img { height: 80px; width: auto; transition: height .4s ease; }
        header.site.scrolled .logo img { height: 40px; }
        header.site.scrolled nav.main a { font-size: .85rem; }
        nav.main ul { display: flex; align-items: center; gap: 4px; list-style: none; }
        nav.main a {
            font-family: var(--font-head); font-weight: 400; font-size: .95rem;
            letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
            color: var(--ink); padding: 10px 14px; border-radius: 8px; display: block;
            transition: color .15s, background .15s;
        }
        nav.main a:hover, nav.main a:focus-visible { color: var(--brand); background: var(--paper-tint); }
        nav.main a.lang { border: 1px solid var(--line); }
        .nav-toggle {
            display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
            padding: 8px 10px; cursor: pointer; color: var(--ink);
        }
        .nav-toggle svg { display: block; }

        @media (max-width: 860px) {
            header.site { background: rgba(255,255,255,.96); border-bottom-color: var(--brand); }
            .nav-bar .logo img { height: 50px; }
            header.site.scrolled .logo img { height: 40px; }
            .nav-toggle { display: block; }
            nav.main {
                position: absolute; top: 100%; left: 0; right: 0;
                background: #fff; border-bottom: 1px solid var(--line);
                display: none; box-shadow: 0 14px 24px rgba(77,15,30,.12);
            }
            nav.main.open { display: block; }
            nav.main ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 14px; }
            nav.main a { padding: 13px 14px; }
        }

        /* ==== Hero (grafika ze starej strony) ==== */
        .hero-top {
            background: url('/img/slider_top_tlo.jpg') center / cover no-repeat #e2ddd0;
            text-align: center;
            padding: clamp(120px, 15vw, 170px) 20px clamp(38px, 5vw, 64px);
        }
        .hero-top .eyebrow {
            font-family: var(--font-head); font-weight: 500; letter-spacing: .22em;
            text-transform: uppercase; font-size: .82rem; color: var(--brand-dark); margin-bottom: 20px;
        }
        .hero-top h1 {
            font-family: var(--font-head); font-weight: 600;
            font-size: clamp(1.8rem, 1.1rem + 3.2vw, 3rem);
            color: var(--ink); max-width: 24ch; margin: 0 auto 12px;
            text-wrap: balance; line-height: 1.25;
        }
        .hero-top .sub {
            font-family: var(--font-head); font-weight: 200;
            font-size: clamp(1.15rem, .95rem + 1.4vw, 1.8rem);
            color: var(--ink); opacity: .82; margin-bottom: 34px;
        }
        .hero-top .cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
        .hero-photo { width: 100%; display: block; background: #dbd7cb; }
        .btn {
            display: inline-block; font-family: var(--font-head); font-weight: 500;
            letter-spacing: .05em; text-transform: uppercase; font-size: .95rem;
            padding: 13px 28px; border-radius: 8px; text-decoration: none;
            transition: transform .15s, box-shadow .15s, background .15s, color .15s;
            border: 2px solid transparent; cursor: pointer;
        }
        .btn:hover { transform: translateY(-2px); }
        .btn-outline { border-color: var(--brand); color: var(--brand-dark); }
        .btn-outline:hover { background: var(--brand); color: #fff; }
        .btn-brand { background: var(--brand); color: #fff; }
        .btn-brand:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(170,40,68,.35); }

        /* ==== Sekcje ==== */
        .section { padding: clamp(56px, 8vw, 96px) 0; }
        .section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
        .section-head .kicker {
            font-family: var(--font-head); color: var(--brand); letter-spacing: .2em;
            text-transform: uppercase; font-size: .8rem; font-weight: 500; display: block; margin-bottom: 10px;
        }
        .section-head p.sub { color: var(--ink-soft); margin-top: 12px; }

        /* ==== O nas (bordowa sekcja, fale rysowane w CSS) ==== */
        .onas::before, .onas::after {
            content: ''; display: block;
            height: clamp(56px, 9.9vw, 190px);
            background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 190' preserveAspectRatio='none'><path fill='%23aa2844' d='M0,140 C300,196 620,186 900,90 C1120,16 1310,44 1440,78 L1440,190 L0,190 Z'/></svg>") center / 100% 100% no-repeat;
        }
        .onas::after { transform: scale(-1); background-color: var(--paper-tint); }
        .onas-red { background: var(--brand); position: relative; }
        .onas-grid {
            display: grid; grid-template-columns: 1fr 1.1fr;
            gap: clamp(28px, 4vw, 56px); align-items: center;
            padding-block: clamp(10px, 1.5vw, 24px);
            min-height: 30vw;
        }
        /* laptop wychodzi poza kontener - sięga lewej krawędzi ekranu i ponad falę */
        .onas-laptop {
            position: absolute; z-index: 1; pointer-events: none;
            left: -4vw;
            top: 50%; transform: translateY(-50%);
            width: min(51vw, 960px); height: auto;
            filter: drop-shadow(0 18px 34px rgba(77,15,30,.32));
        }
        .onas-panel { grid-column: 2; }
        .onas-panel {
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.24);
            border-radius: 16px;
            padding: clamp(24px, 3.5vw, 42px);
            color: #fff;
            box-shadow: 0 12px 34px rgba(77,15,30,.28);
            backdrop-filter: blur(3px);
        }
        .onas-panel .kicker {
            font-family: var(--font-head); font-weight: 200; letter-spacing: .2em;
            text-transform: uppercase; font-size: .8rem; color: rgba(255,255,255,.8);
            display: block; margin-bottom: 8px;
        }
        .onas-panel h2 { color: #fff; margin-bottom: 18px; }
        .onas-panel p { font-weight: 300; letter-spacing: .02em; color: rgba(255,255,255,.94); }
        .onas-panel p + p { margin-top: 12px; }
        .onas-panel .joke { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; margin-top: 16px; color: #fff; }
        .onas-stats { display: flex; gap: 30px; margin: 24px 0 28px; flex-wrap: wrap; }
        .onas-stats .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1; }
        .onas-stats .lbl { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: 4px; }
        .btn-sail {
            border: 2px solid #fff; border-radius: 99px; color: #fff;
            background: transparent;
        }
        .btn-sail:hover { background: #fff; color: var(--brand-dark); }
        .onas-panel .footnote { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 10px; }
        @media (max-width: 900px) {
            /* laptop to dekoracja - na wąskich ekranach znika i nie jest pobierany */
            .onas-laptop { display: none; }
            .onas-grid { grid-template-columns: 1fr; }
            .onas-panel { grid-column: 1; }
        }

        /* ==== Usługi ==== */
        .services { background: var(--paper-tint); }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
        @media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
        .card {
            background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
            padding: 26px; box-shadow: var(--shadow);
            transition: transform .18s, box-shadow .18s;
        }
        .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .service-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
        .service-card h3 { margin-bottom: 8px; }
        .service-card p { color: var(--ink-soft); font-size: .97rem; }

        /* ==== Produkty ==== */
        .product-group { margin-top: clamp(40px, 6vw, 64px); }
        .product-group:first-of-type { margin-top: 0; }
        .group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
        .group-head h3 { font-size: 1.5rem; font-weight: 500; color: var(--brand-dark); }
        .group-head .rule { flex: 1; height: 1px; background: var(--line); min-width: 60px; }
        .group-sub { color: var(--ink-soft); max-width: 70ch; margin-bottom: 24px; }
        .group-sub a { color: var(--brand); }

        .product-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; position: relative; }
        .product-card .head { display: flex; align-items: center; gap: 14px; }
        .product-card .head img, .product-card .head .svg-icon {
            width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
        }
        .product-card .svg-icon {
            background: linear-gradient(140deg, var(--brand-dark), var(--brand));
            display: flex; align-items: center; justify-content: center; color: #fff;
        }
        .product-card .head .t { font-family: var(--font-head); }
        .product-card .head .t h4 { font-size: 1.15rem; font-weight: 500; line-height: 1.25; }
        .product-card .head .t .type { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 300; }
        .product-card p.desc { color: var(--ink-soft); font-size: .95rem; flex: 1; }
        .tags { display: flex; flex-wrap: wrap; gap: 7px; }
        .tag {
            font-size: .74rem; font-family: var(--font-head); letter-spacing: .05em;
            background: var(--paper-tint); border: 1px solid var(--line); color: var(--brand-dark);
            padding: 3px 10px; border-radius: 99px; white-space: nowrap;
        }
        .tag.soon { background: var(--brand); border-color: var(--brand); color: #fff; }
        .card .more { font-family: var(--font-head); font-size: .9rem; letter-spacing: .04em; color: var(--brand); }
        a.card:hover .more { text-decoration: underline; }

        .platforms { display: flex; flex-wrap: wrap; gap: 7px; }
        .platform {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: .8rem; color: var(--ink); background: var(--paper-tint);
            border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
        }
        .platform svg { width: 14px; height: 14px; color: var(--brand); }

        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
        @media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }

        /* ==== Kontakt ==== */
        .contact { background: var(--paper-tint); }
        .contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
        @media (max-width: 780px) { .contact-tiles { grid-template-columns: 1fr; } }
        .contact-tile { text-align: center; text-decoration: none; }
        .contact-tile .svg-icon {
            width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px;
            background: linear-gradient(140deg, var(--brand-dark), var(--brand));
            display: flex; align-items: center; justify-content: center; color: #fff;
        }
        .contact-tile .lbl { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--ink-soft); }
        .contact-tile .val { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-top: 2px; }

        form.contact-form { max-width: 820px; margin: 0 auto; }
        .form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
        @media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
        .contact-form input, .contact-form textarea {
            width: 100%; font: inherit; color: var(--ink);
            background: #fff; border: 1px solid var(--line); border-radius: 8px;
            padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
        }
        .contact-form input:focus, .contact-form textarea:focus {
            outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(170,40,68,.15);
        }
        .contact-form textarea { resize: vertical; min-height: 130px; }
        .contact-form .actions { text-align: center; margin-top: 22px; }
        .contact-form .hint { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 12px; }

        /* ==== Stopka ==== */
        footer.site {
            background: var(--brand-deep); color: rgba(255,255,255,.85);
            padding: 48px 0 28px; font-size: .95rem;
        }
        .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
        @media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
        footer.site img.logo { width: 170px; margin-bottom: 14px; }
        footer.site h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: #fff; margin-bottom: 12px; }
        footer.site ul { list-style: none; }
        footer.site li { margin-bottom: 7px; }
        footer.site a { color: rgba(255,255,255,.85); text-decoration: none; }
        footer.site a:hover { color: #fff; text-decoration: underline; }
        .socials { display: flex; gap: 12px; margin-top: 6px; }
        .socials a {
            width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s;
        }
        .socials a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
        .socials svg { width: 17px; height: 17px; }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px;
            display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
            font-size: .85rem; color: rgba(255,255,255,.6);
        }

/* ==== Podstrony wtyczek ==== */
.plugin-hero {
    background: linear-gradient(140deg, var(--brand-deep), var(--brand));
    color: #fff;
    padding: clamp(120px, 14vw, 156px) 0 clamp(36px, 5vw, 56px);
}
.plugin-hero .head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.plugin-hero img.icon { width: 96px; height: 96px; border-radius: 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.plugin-hero h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); color: #fff; }
.plugin-hero .lead { max-width: 70ch; opacity: .94; font-weight: 300; margin-top: 6px; }
.plugin-hero .plugin-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--paper-tint); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.plugin-hero .plugin-meta { margin-top: 18px; font-size: .85rem; opacity: .85; display: flex; gap: 16px; flex-wrap: wrap; }

.section.alt { background: var(--paper-tint); }
.section .wrap > h2 { margin-bottom: 16px; }
.checklist { list-style: none; }
.checklist li { padding: 7px 0 7px 28px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
code { background: var(--paper-tint); border: 1px solid var(--line); color: var(--brand-dark); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.section.alt code { background: #fff; }

/* ==== Formularz: Turnstile, status, sukces, klauzula ==== */
.contact-form .cf-turnstile { display: flex; justify-content: center; margin-top: 18px; }
.contact-form .status { text-align: center; margin-top: 12px; min-height: 1.3em; }
.contact-form .status.is-error { color: var(--brand-dark); font-weight: 600; }
.contact-form-success { text-align: center; font-family: var(--font-head); font-size: 1.25rem; color: var(--brand-dark); padding: 34px 0; }
.form-note { text-align: center; color: var(--ink-soft); font-size: .8rem; margin-top: 14px; }
