/* Montserrat (OFL), self-hosted — licencja: /fonts/OFL.txt */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("/fonts/montserrat-latin-ext-400-normal.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: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("/fonts/montserrat-latin-400-normal.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;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url("/fonts/montserrat-latin-ext-500-normal.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: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url("/fonts/montserrat-latin-500-normal.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;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("/fonts/montserrat-latin-ext-600-normal.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: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url("/fonts/montserrat-latin-600-normal.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;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("/fonts/montserrat-latin-ext-700-normal.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: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url("/fonts/montserrat-latin-700-normal.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;
}

:root {
    --ink: #1c2b3a;
    --ink-soft: #52606e;
    --bg: #ffffff;
    --bg-alt: #f3f7fb;
    --line: #e1e8ef;
    --primary: #4f8cc7;
    --primary-dark: #3b73a9;
    --primary-text: #2f6aa3;
    --accent: #f2a93b;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(16, 26, 51, 0.08);
    --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
}

a {
    color: var(--primary-text);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.3rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1em;
}

.container {
    width: min(1120px, 100% - 40px);
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-text);
    margin-bottom: 0.8em;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85em 1.5em;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-text);
}

.btn-ghost:hover {
    background: rgba(79, 140, 199, 0.08);
    color: var(--primary-dark);
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    word-break: break-all;
}

.btn-light:hover {
    background: #f1f3fa;
    border-color: #f1f3fa;
}

.btn-small {
    padding: 0.5em 1.1em;
    font-size: 0.92rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-alt);
}

.lang-switch button {
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 0.35em 0.75em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lang-switch button:hover {
    color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
}

/* Hero */

.hero {
    background:
        radial-gradient(800px 400px at 85% 10%, rgba(242, 169, 59, 0.18), transparent 60%),
        radial-gradient(900px 500px at 10% 0%, rgba(79, 140, 199, 0.14), transparent 60%),
        var(--bg);
    padding: clamp(48px, 9vw, 110px) 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 38em;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    min-height: 340px;
}

.device {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.device-laptop {
    top: 0;
    left: 0;
    width: 88%;
    border-radius: 14px;
    overflow: hidden;
}

.device-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}

.device-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d9e6;
}

.device-screen {
    padding: 20px;
}

.device-phone {
    right: 0;
    bottom: 0;
    width: 38%;
    min-width: 130px;
    padding: 26px 14px 18px;
    border-radius: 26px;
    border: 6px solid var(--ink);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36%;
    height: 6px;
    border-radius: 6px;
    background: var(--ink);
    transform: translateX(-50%);
}

.skeleton {
    border-radius: 8px;
    background: linear-gradient(90deg, #eef1f8, #e2e7f3, #eef1f8);
    background-size: 200% 100%;
    animation: shimmer 2.4s ease-in-out infinite;
}

.skeleton-title {
    height: 18px;
    width: 55%;
    margin-bottom: 16px;
    background: linear-gradient(90deg, rgba(79, 140, 199, 0.35), rgba(79, 140, 199, 0.2));
}

.skeleton-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.skeleton-card {
    height: 70px;
}

.skeleton-line {
    height: 10px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--accent), #f6c77c);
}

.skeleton-button {
    height: 28px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--primary);
    animation: none;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton { animation: none; }
    html { scroll-behavior: auto; }
}

/* Sections */

.section {
    padding: clamp(56px, 8vw, 96px) 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 680px;
    margin-bottom: 40px;
}

.section-head p:last-child {
    color: var(--ink-soft);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card p {
    color: var(--ink-soft);
    margin: 0;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(79, 140, 199, 0.1);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
}

.step p {
    color: var(--ink-soft);
    margin: 0;
}

.step-num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
}

.why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.checks li {
    position: relative;
    padding: 16px 18px 16px 54px;
    border-radius: 12px;
    background: var(--bg-alt);
    font-weight: 600;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
    transform: translateY(-50%);
}

.cta-section {
    padding-top: 0;
}

.cta-box {
    padding: clamp(36px, 6vw, 64px);
    border-radius: 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(242, 169, 59, 0.35), transparent 60%),
        linear-gradient(135deg, #1f3f60, var(--primary-dark));
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.company {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    margin: 0;
    padding: 8px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.company > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.company > div:last-child,
.company > div:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.company dt {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.company dd {
    margin: 4px 0 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

.footer-inner p {
    margin: 0;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner,
    .why {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 520px;
        width: 100%;
        margin-inline: auto;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .cards,
    .steps,
    .company {
        grid-template-columns: 1fr;
    }

    .company > div:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-cta .btn {
        flex: 1 1 100%;
    }

    .brand span {
        font-size: 1rem;
        white-space: nowrap;
    }

    .header-inner {
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }
}

@media (max-width: 370px) {
    .header-actions .btn-small {
        display: none;
    }
}
