/* TuGram — style strony tugram.pl */

@layer reset, base, layout, components, pages, utilities;

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-400.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-600.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter Display";
    src: url("../fonts/inter-display-900.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    * { margin: 0; }
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    img, svg { display: block; max-width: 100%; }
    input, button, textarea { font: inherit; color: inherit; }
    ul[class], ol[class] { list-style: none; padding: 0; }
}

@layer base {
    :root {
        --orange: #E8571E;
        --orange-ink: #B8410F;   /* pomarańcz do tekstu na kremowym tle (kontrast 4.9:1) */
        --navy: #13232A;
        --navy-2: #1E3540;
        --cream: #F5F1E8;
        --sand: #EAE2D2;
        --line: rgb(19 35 42 / 0.14);

        --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        --font-display: "Inter Display", "Inter", system-ui, sans-serif;

        --step--1: 0.875rem;
        --step-0: 1rem;
        --step-1: 1.1875rem;
        --step-2: 1.5rem;
        --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
        --step-4: clamp(3.25rem, 2rem + 6vw, 7rem);

        --space-s: 1rem;
        --space-m: 1.5rem;
        --space-l: clamp(2.5rem, 2rem + 2vw, 3.5rem);
        --space-xl: clamp(4rem, 3rem + 5vw, 7.5rem);

        --radius: 14px;
        --radius-s: 8px;
        --wrap: 1180px;

        color-scheme: light;
    }

    html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

    body {
        font-family: var(--font-body);
        font-size: var(--step-0);
        line-height: 1.6;
        color: var(--navy);
        background: var(--cream);
        font-feature-settings: "ss01", "kern";
        -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
    p, li, dd { text-wrap: pretty; }

    a { color: var(--orange-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
    a:hover { text-decoration-thickness: 2px; }

    :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

    code {
        font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
        font-size: 0.9em;
        background: var(--sand);
        padding: 0.05em 0.35em;
        border-radius: 4px;
    }
}

@layer layout {
    .wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
    @media (min-width: 700px) { .wrap { width: min(var(--wrap), 100% - 4rem); } }

    .section { padding-block: var(--space-xl); }
    /* Skok do kotwicy: treść sekcji ląduje tuż pod nagłówkiem, bez pustego pasa z górnego odstępu sekcji. */
    .section[id] { scroll-margin-top: calc(1rem - var(--space-xl)); }
    .follow[id] { scroll-margin-top: calc(1rem - var(--space-l)); }
    .section__title {
        font-family: var(--font-display);
        font-weight: 900;
        font-size: var(--step-3);
        letter-spacing: -0.03em;
    }
    .section__lead {
        max-width: 38rem;
        margin-top: var(--space-s);
        font-size: var(--step-1);
        line-height: 1.55;
    }
}

@layer components {
    .skip-link {
        position: absolute;
        left: 1rem;
        top: -4rem;
        z-index: 100;
        padding: 0.75rem 1rem;
        background: var(--navy);
        color: var(--cream);
        border-radius: var(--radius-s);
    }
    .skip-link:focus { top: 1rem; }

    /* Nagłówek */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgb(245 241 232 / 0.92);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
    }
    .site-header__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem 2rem;
        padding-block: 0.9rem;
    }
    .site-header__logo img { width: 148px; height: auto; }
    .site-nav ul { display: flex; gap: 0.25rem; list-style: none; padding: 0; }
    .site-nav a {
        display: block;
        padding: 0.5rem 0.8rem;
        border-radius: 999px;
        color: var(--navy);
        font-weight: 600;
        font-size: var(--step--1);
        text-decoration: none;
        white-space: nowrap;
    }
    .site-nav a:hover { background: var(--sand); }
    .site-nav a[aria-current="page"] { background: var(--navy); color: var(--cream); }

    @media (max-width: 760px) {
        .site-nav { width: 100%; margin-inline: -0.6rem; }
        .site-header__inner { padding-block: 0.75rem 0.4rem; }
        .site-nav ul { flex-wrap: wrap; gap: 0; }
        .site-nav a { padding: 0.5rem 0.45rem; font-size: 0.8125rem; }
    }

    /* Przyciski */
    .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 3rem;
        padding: 0.75rem 1.4rem;
        border-radius: 999px;
        border: 2px solid transparent;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .button--dark { background: var(--navy); color: var(--cream); }
    .button--dark:hover { background: var(--navy-2); }
    .button--orange { background: var(--orange); color: var(--navy); }
    .button--orange:hover { background: var(--navy); color: var(--cream); }
    .button--outline { border-color: var(--navy); color: var(--navy); }
    .button--outline:hover { background: var(--navy); color: var(--cream); }
    .button--outline-dark { border-color: var(--navy); color: var(--navy); }
    .button--outline-dark:hover { background: var(--navy); color: var(--cream); }

    .text-link { font-weight: 600; color: var(--orange-ink); }

    .plain-list { list-style: none; padding: 0; }
    .plain-list li + li { margin-top: 0.35rem; }

    /* Stopka */
    .site-footer {
        background: var(--navy);
        color: rgb(245 241 232 / 0.82);
        padding-block: var(--space-l) 2rem;
        font-size: var(--step--1);
    }
    .site-footer a { color: var(--cream); text-decoration: none; }
    .site-footer a:hover { text-decoration: underline; }
    .site-footer :focus-visible { outline-color: var(--orange); }
    .site-footer__grid {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }
    .site-footer__brand { grid-column: span 2; max-width: 22rem; }
    .site-footer__brand img { width: 160px; height: auto; margin-bottom: 1rem; }
    .site-footer h2 {
        font-size: var(--step--1);
        font-weight: 600;
        color: var(--orange);
        margin-bottom: 0.75rem;
    }
    .site-footer ul { list-style: none; padding: 0; }
    .site-footer li + li { margin-top: 0.4rem; }
    .site-footer__legal {
        margin-top: var(--space-l);
        padding-top: 1.25rem;
        border-top: 1px solid rgb(245 241 232 / 0.16);
        color: rgb(245 241 232 / 0.62);
        font-size: 0.8125rem;
    }
    .site-footer__legal a { text-decoration: underline; }
    .site-footer__legal p + p { margin-top: 0.3rem; }
    @media (max-width: 520px) { .site-footer__brand { grid-column: auto; } }

    /* Nagłówek podstron */
    .page-head { padding-block: 1.25rem 1rem; }
    .page-head__title {
        font-family: var(--font-display);
        font-weight: 900;
        font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
        letter-spacing: -0.035em;
    }
    .page-head__lead { max-width: 40rem; margin-top: 1rem; font-size: var(--step-1); }
    .page-head--center { text-align: center; padding-block: var(--space-xl); }
    .page-head--center .page-head__lead { margin-inline: auto; }
    .page-head--center .hero__actions { justify-content: center; }

    /* Komunikaty */
    .notice { padding: 1rem 1.25rem; border-radius: var(--radius-s); margin-bottom: 1.5rem; border-left: 5px solid; }
    .notice--success { background: #E3EDE2; border-color: #2F6B3A; }
    .notice--error { background: #F8E1D7; border-color: var(--orange-ink); }
}

@layer pages {
    /* Hero: mapa miasta z pinezką */
    .hero {
        position: relative;
        overflow: hidden;
        background: var(--orange);
        color: var(--navy);
    }
    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
        gap: 2rem;
        min-height: min(36rem, calc(100svh - 4.5rem));
        padding-block: 1.25rem 2rem;
    }
    .hero__status a {
        display: inline-block;
        padding: 0.35rem 0.9rem;
        border: 1.5px solid var(--navy);
        border-radius: 999px;
        font-size: var(--step--1);
        font-weight: 600;
        color: var(--navy);
        text-decoration: none;
    }
    .hero__status a:hover { background: var(--navy); color: var(--cream); }
    .hero__title {
        margin-top: 1.5rem;
        font-family: var(--font-display);
        font-weight: 900;
        font-size: var(--step-4);
        line-height: 0.92;
        letter-spacing: -0.045em;
        color: var(--cream);
    }
    .hero__title span { color: var(--navy); }
    .hero__lead {
        max-width: 33rem;
        margin-top: 1.75rem;
        font-size: var(--step-1);
        line-height: 1.55;
        font-weight: 600;
    }
    .hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
    .hero__map { margin: 0; align-self: stretch; display: flex; align-items: center; }
    .hero__map svg { width: 100%; height: auto; overflow: visible; }


    /* Jedyny moment animacji: pinezka opada na mapę po wczytaniu strony. */
    @media (prefers-reduced-motion: no-preference) {
        .map-pin > g { animation: pin-drop 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s both; }
        .map-pin__shadow { animation: pin-shadow 0.7s ease-out 0.15s both; transform-origin: 300px 250px; }
        .map-label { animation: label-in 0.4s ease-out 0.8s both; }
        .isle-top { animation: isle-in 0.6s ease-out both; }
        @keyframes pin-drop { from { transform: translate(229.6px, 42px) scale(2.2); opacity: 0; } to { transform: translate(229.6px, 122.4px) scale(2.2); opacity: 1; } }
        @keyframes pin-shadow { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 0.3; } }
        @keyframes label-in { from { opacity: 0; } to { opacity: 1; } }
        @keyframes isle-in { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
    }

    @media (max-width: 860px) {
        .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-top: 1rem; }
        .hero__map { order: -1; max-width: 22rem; margin: 0 auto -1rem; }
    }

    /* O grze */
    .about__inner {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--space-l);
        align-items: start;
    }
    .facts { display: grid; gap: 0; }
    .facts__item { padding-block: 1.4rem; border-top: 1px solid var(--line); }
    .facts__item:last-child { border-bottom: 1px solid var(--line); }
    .facts dt { font-weight: 600; font-size: var(--step-1); }
    .facts dd { margin: 0.35rem 0 0; max-width: 34rem; color: rgb(19 35 42 / 0.82); }
    @media (max-width: 860px) { .about__inner { grid-template-columns: 1fr; } }

    /* Widoki */
    .views { background: var(--navy); color: var(--cream); }
    .views .section__lead { color: rgb(245 241 232 / 0.85); }
    .zoom {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        margin-top: 1.5rem;
        counter-reset: none;
    }
    .zoom::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        border-radius: 2px;
        background: linear-gradient(90deg, rgb(232 87 30 / 0.25), var(--orange));
    }
    .zoom__step { padding-top: 1.25rem; }
    .zoom__art {
        width: 100%;
        height: auto;
        aspect-ratio: 20 / 13;
        object-fit: cover;
        display: block;
        background: var(--navy-2);
        border-radius: var(--radius);
    }
    .zoom__step h3 {
        margin-top: 0.9rem;
        font-family: var(--font-display);
        font-weight: 900;
        font-size: var(--step-2);
        letter-spacing: -0.02em;
    }
    .zoom__step p { margin-top: 0.4rem; color: rgb(245 241 232 / 0.8); max-width: 22rem; }
    .art-area { fill: rgb(245 241 232 / 0.1); stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 4; }
    .art-water { fill: #3B6C80; }
    .art-road { fill: none; stroke: rgb(245 241 232 / 0.75); stroke-width: 7; }
    .art-street { fill: none; stroke: rgb(245 241 232 / 0.35); stroke-width: 3; }
    .art-park { fill: #4D7A4A; }
    .art-walk { fill: #6C7F86; }
    .art-asphalt { fill: #0E1A1F; }
    .art-zebra { stroke: var(--cream); stroke-width: 6; }
    .art-dot { fill: var(--orange); stroke: var(--cream); stroke-width: 2; }
    @media (max-width: 760px) {
        .zoom { grid-template-columns: 1fr; }
        .zoom::before { right: auto; bottom: 0; width: 4px; height: auto; background: linear-gradient(180deg, rgb(232 87 30 / 0.25), var(--orange)); }
        .zoom__step { padding: 0 0 0 1.5rem; }
    }

    /* Miasta: mapa Polski i wyszukiwarka */
    .cities__layout {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: clamp(1.5rem, 4vw, 3.5rem);
        align-items: center;
    }
    .city-search { position: relative; margin-top: 1.5rem; max-width: 30rem; }
    .city-search label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
    .city-search__box { display: flex; gap: 0.5rem; }
    .city-search input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.8rem 1rem;
        font: inherit;
        color: var(--navy);
        background: #fff;
        border: 2px solid var(--navy);
        border-radius: var(--radius-s);
    }
    .city-search input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
    .city-search__list {
        position: absolute;
        z-index: 5;
        top: 5.3rem;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0.25rem;
        list-style: none;
        background: #fff;
        border: 2px solid var(--navy);
        border-radius: var(--radius-s);
        box-shadow: 0 10px 24px rgb(19 35 42 / 0.18);
    }
    .city-search__list[hidden] { display: none; }
    .city-search__list li { padding: 0.6rem 0.75rem; border-radius: 6px; cursor: pointer; }
    .city-search__list li.is-active, .city-search__list li:hover { background: var(--sand); }
    .city-search__list li.is-game { font-weight: 600; }
    .city-search__status { margin-top: 0.75rem; min-height: 3rem; color: rgb(19 35 42 / 0.8); }
    .city-card {
        margin-top: 1rem;
        padding: 1.25rem 1.5rem;
        max-width: 30rem;
        color: var(--cream);
        background: var(--navy);
        border-radius: var(--radius);
    }
    .city-card__status {
        display: inline-block;
        padding: 0.15rem 0.7rem;
        font-size: var(--step--1);
        font-weight: 600;
        color: var(--navy);
        background: var(--orange);
        border-radius: 999px;
    }
    .city-card__name { margin-top: 0.6rem; font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); }
    .city-card__text { margin-top: 0.35rem; color: rgb(245 241 232 / 0.85); }
    .city-card .text-link, .pl-pop .text-link { display: inline-block; margin-top: 0.6rem; color: var(--cream); }
    .cities__map { position: relative; margin: 0; }
    .cities__map svg { display: block; width: 100%; height: auto; }
    .pl-outline { fill: var(--sand); stroke: var(--navy); stroke-opacity: 0.35; stroke-width: 2; stroke-linejoin: round; }
    .pl-dot { fill: #a9a7a0; }
    .pl-elk { cursor: pointer; }
    .pl-elk__shadow { fill: var(--navy); opacity: 0.25; }
    .pl-elk__body { fill: var(--navy); }
    .pl-elk__play { fill: var(--cream); stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; }
    .pl-elk__pill { fill: var(--navy); }
    .pl-elk__label { fill: var(--cream); font-family: var(--font-display); font-weight: 900; font-size: 17px; }
    .pl-elk:hover .pl-elk__pill, .pl-elk:focus-visible .pl-elk__pill { fill: var(--orange); }
    .pl-elk:hover .pl-elk__label, .pl-elk:focus-visible .pl-elk__label { fill: var(--navy); }
    .pl-elk:focus-visible { outline: none; }
    .pl-elk:focus-visible .pl-elk__pill { stroke: var(--navy); stroke-width: 3; }
    .pl-select[hidden] { display: none; }
    .pl-select__ring { fill: none; stroke: var(--orange); stroke-width: 3; }
    .pl-select__dot { fill: var(--orange); }
    .pl-select__pill { fill: var(--orange); }
    .pl-select__label { fill: var(--navy); font-family: var(--font-display); font-weight: 900; font-size: 15px; }
    .pl-pop {
        position: absolute;
        z-index: 4;
        width: min(18rem, 80%);
        padding: 1rem 1.15rem;
        color: var(--cream);
        background: var(--navy);
        border-radius: var(--radius);
        box-shadow: 0 12px 28px rgb(19 35 42 / 0.3);
        transform: translateX(-50%);
    }
    .pl-pop[hidden] { display: none; }
    .pl-pop .city-card__name { font-size: var(--step-1); margin-top: 0.4rem; }
    .pl-pop .city-card__text { font-size: var(--step--1); }
    .cities__panel { min-width: 0; }
    .city-search__box button { flex: none; }
    @media (max-width: 860px) {
        .cities__layout { grid-template-columns: minmax(0, 1fr); }
        .cities__map { order: -1; max-width: 32rem; margin-inline: auto; }
        .pl-pop { left: 50% !important; width: min(18rem, 92%); }
    }

    /* Ostatnie zmiany */
    .updates { background: var(--sand); }
    .updates__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
    .timeline { margin-top: var(--space-l); list-style: none; padding: 0; }
    .timeline__item {
        display: grid;
        grid-template-columns: 13rem minmax(0, 1fr);
        gap: 0.5rem 2rem;
        padding-block: 1.4rem;
        border-top: 1px solid var(--line);
    }
    .timeline__item:last-child { border-bottom: 1px solid var(--line); }
    .timeline__meta { display: flex; flex-direction: column; }
    .timeline__version { font-weight: 600; color: var(--navy); font-size: var(--step-1); text-decoration: none; }
    .timeline__version:hover { text-decoration: underline; }
    .timeline__meta time { font-size: var(--step--1); color: rgb(19 35 42 / 0.7); }
    .timeline__summary { font-size: var(--step-1); max-width: 42rem; }
    @media (max-width: 640px) { .timeline__item { grid-template-columns: 1fr; } }

    /* Obserwuj */
    .follow { background: var(--orange); padding-block: var(--space-l); }
    .follow__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
    .follow__title { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); letter-spacing: -0.03em; color: var(--cream); }
    .follow__text { margin-top: 0.5rem; max-width: 34rem; font-size: var(--step-1); font-weight: 600; }
    .follow__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

    /* Dziennik zmian */
    .changelog {
        display: grid;
        grid-template-columns: 12rem minmax(0, 1fr);
        gap: var(--space-l);
        padding-block: var(--space-m) var(--space-xl);
        align-items: start;
    }
    .changelog__index { position: sticky; top: 6rem; }
    .changelog__index h2 { font-size: var(--step--1); font-weight: 600; color: rgb(19 35 42 / 0.7); margin-bottom: 0.75rem; }
    .changelog__index ol { list-style: none; padding: 0; border-left: 2px solid var(--line); }
    .changelog__index li { padding: 0.3rem 0 0.3rem 1rem; font-size: var(--step--1); }
    .changelog__index a { font-weight: 600; color: var(--navy); text-decoration: none; }
    .changelog__index a:hover { color: var(--orange-ink); }
    .changelog__index time { color: rgb(19 35 42 / 0.6); margin-left: 0.35rem; }
    .release { padding-block: 0 var(--space-l); }
    .release + .release { padding-top: var(--space-l); border-top: 1px solid var(--line); }
    .release__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
    .release__head h2 { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); letter-spacing: -0.03em; }
    .release__head time { color: rgb(19 35 42 / 0.7); }
    .release__summary {
        margin-top: 1rem;
        max-width: 44rem;
        padding: 1rem 1.25rem;
        background: var(--navy);
        color: var(--cream);
        border-radius: var(--radius-s);
        font-size: var(--step-1);
    }
    .release__section { margin-top: 1.75rem; max-width: 46rem; }
    .release__section h3 { font-size: var(--step-1); font-weight: 600; padding-bottom: 0.4rem; border-bottom: 2px solid var(--orange); display: inline-block; }
    .release__section ul { margin-top: 0.75rem; padding-left: 1.2rem; }
    .release__section li { margin-top: 0.4rem; }
    .release__section li::marker { color: var(--orange-ink); }
    @media (max-width: 860px) {
        .changelog { grid-template-columns: 1fr; }
        .changelog__index { position: static; }
        .changelog__index ol { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; border: 0; }
        .changelog__index li { padding: 0; }
    }

    /* Kontakt */
    .contact {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: var(--space-l);
        padding-block: var(--space-m) var(--space-xl);
        align-items: start;
    }
    .contact h2 { font-size: var(--step-2); font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
    .contact__form {
        padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
        background: #FFFDF8;
        border: 1px solid var(--line);
        border-radius: var(--radius);
    }
    .field { margin-bottom: 1.25rem; }
    .field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
    .field__hint { font-weight: 400; color: rgb(19 35 42 / 0.65); }
    .field input, .field textarea {
        width: 100%;
        padding: 0.8rem 1rem;
        background: var(--cream);
        border: 1.5px solid rgb(19 35 42 / 0.3);
        border-radius: var(--radius-s);
    }
    .field textarea { resize: vertical; min-height: 10rem; }
    .field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
    .field--error input, .field--error textarea { border-color: var(--orange-ink); background: #FBEDE6; }
    .field__error { margin-top: 0.4rem; color: var(--orange-ink); font-weight: 600; font-size: var(--step--1); }
    .field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
    .contact__privacy { margin-top: 1.25rem; font-size: var(--step--1); color: rgb(19 35 42 / 0.75); max-width: 36rem; }
    .contact__aside { display: grid; gap: 2rem; }
    .contact__aside h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }
    .contact__mail { font-size: var(--step-2); font-weight: 600; word-break: break-word; }
    .contact__aside address { font-style: normal; line-height: 1.7; }
    .contact__note { margin-top: 0.5rem; font-size: var(--step--1); color: rgb(19 35 42 / 0.7); }
    @media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

    /* Teksty prawne */
    .prose { max-width: 46rem; padding-block: var(--space-m) var(--space-xl); }
    .prose__updated { color: rgb(19 35 42 / 0.7); font-size: var(--step--1); }
    .prose h2 { margin-top: 2.5rem; font-size: var(--step-2); font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; }
    .prose h3 { margin-top: 1.5rem; font-size: var(--step-1); font-weight: 600; }
    .prose p, .prose ul, .prose ol { margin-top: 0.75rem; }
    .prose li + li { margin-top: 0.4rem; }
}
