@charset "UTF-8";

/* =============================================================================
   Audimo — landing page
   Tokeny są przepisane 1:1 z frontend/src/index.css panelu, żeby strona i produkt
   wyglądały jak jedna rzecz. Kolejność sekcji arkusza: tokeny, podstawy, layout,
   komponenty, sekcje stron, RWD.
   ========================================================================== */

/* --- Tokeny ---------------------------------------------------------------- */
:root {
    --bg: #F6F7F5;
    --surface: #FFFFFF;
    --surface-sunken: #F0F2EF;
    --border: #E2E6E2;
    --ink: #1B2421;
    --ink-muted: #5B665F;
    --primary: #0E6E63;
    --primary-hover: #0B564D;
    --primary-tint: #E4F1EE;
    --accent: #D98A3D;
    /* Ten sam odcień, przyciemniony do 3,21:1 na białym. Bursztyn z palety marki
       ma na białym tle 2,74:1, czyli poniżej progu WCAG dla elementów graficznych.
       Używany wyłącznie do linii i znaczników na wykresach; plakietki, obramowania
       i tła zostają na --accent, bo tam kontrast liczy się względem tekstu. */
    --accent-data: #C87F38;
    --accent-tint: #FBF0E2;
    --danger: #B3413A;
    --success: #2F7D5A;
    --success-tint: #E5F2EA;
    --dark: #0F2622;

    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --radius: 10px;
    --radius-lg: 16px;

    --container: 1120px;
    --gutter: 20px;

    --shadow-sm: 0 1px 2px rgba(15, 38, 34, .06);
    --shadow-md: 0 4px 16px rgba(15, 38, 34, .07);
    --shadow-lg: 0 16px 44px rgba(15, 38, 34, .10);

    --space-section: 72px;
}

@media (min-width: 768px) {
    :root {
        --gutter: 32px;
        --space-section: 104px;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.25rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

img, svg { max-width: 100%; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 0 0 var(--radius) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

/* --- Layout ---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--space-section);
}

.section--tight { padding-block: calc(var(--space-section) * .66); }

.section--sunken { background: var(--surface-sunken); }

.section--dark {
    position: relative;
    background: var(--dark);
    color: #E7EDEA;
    overflow: hidden;
}

.section--dark h2,
.section--dark h3 { color: #fff; }

/* Tło ciemnych sekcji: siatka audiogramu, ledwo widoczna. Ten sam motyw,
   co wykres — dlatego nie jest tu dowolną dekoracją. */
.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(to right, rgba(255, 255, 255, .055) 0 1px, transparent 1px 88px),
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, .055) 0 1px, transparent 1px 64px);
    pointer-events: none;
}

.section--dark > .container {
    position: relative;
    z-index: 1;
}

.section__head {
    max-width: 62ch;
    margin-bottom: 40px;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
}

.section--dark .eyebrow { color: #6FC5B4; }

.lead {
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--ink-muted);
}

.section--dark .lead { color: #B7C6C1; }

@media (min-width: 768px) {
    .lead { font-size: 1.1875rem; }
}

/* --- Przyciski ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn--secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--ink);
}

.btn--secondary:hover {
    background: var(--surface-sunken);
    color: var(--ink);
}

.btn--ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* --- Nagłówek strony ------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 247, 245, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.brand__mark { flex: none; display: block; }

.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
    display: none;
    width: 100%;
    padding-bottom: 18px;
}

.site-nav.is-open { display: block; }

.site-nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-block: 8px;
    border-top: 1px solid var(--border);
}

.site-nav__link {
    display: block;
    padding: 10px 2px;
    color: var(--ink);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav__link:hover { color: var(--primary); }
.site-nav__link.is-current { color: var(--primary); font-weight: 600; }

.site-nav__cta {
    margin-top: 10px;
    width: 100%;
}

@media (min-width: 940px) {
    .nav-toggle { display: none; }

    .site-nav {
        display: flex;
        align-items: center;
        gap: 26px;
        width: auto;
        padding-bottom: 0;
    }

    .site-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 26px;
        padding-block: 0;
        border-top: 0;
    }

    .site-nav__link { padding: 4px 0; }

    .site-nav__cta {
        margin-top: 0;
        width: auto;
        padding: 10px 18px;
    }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
    padding-block: 56px 72px;
}

@media (min-width: 768px) {
    .hero { padding-block: 84px 104px; }
}

.hero__grid {
    display: grid;
    gap: 44px;
    align-items: center;
}

@media (min-width: 1000px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
        gap: 64px;
    }
}

.hero__title { margin-bottom: 20px; }

.hero__title em {
    font-style: normal;
    color: var(--primary);
}

.hero__text {
    max-width: 54ch;
    font-size: 1.0625rem;
    color: var(--ink-muted);
}

@media (min-width: 768px) {
    .hero__text { font-size: 1.1875rem; }
}

/* Wyróżnik w hero — aplikacja mobilna. Lewa krawędź w kolorze akcentu, bo to
   ma być pierwsza rzecz, którą oko złapie po nagłówku i akapicie wprowadzającym. */
.hero__highlight {
    margin-top: 20px;
    padding: 14px 18px;
    background: var(--accent-tint);
    border-left: 3px solid var(--accent);
    border-radius: 4px var(--radius) var(--radius) 4px;
    font-size: .9375rem;
    color: #6B3E11;
}

.hero__highlight strong {
    color: #5A3309;
}

.hero__note {
    margin-top: 18px;
    font-size: .875rem;
    color: var(--ink-muted);
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    background: var(--primary-tint);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--primary-hover);
}

.badge--accent {
    background: var(--accent-tint);
    color: #8A5117;
}

/* --- Karta z wykresem (element rozpoznawczy) ------------------------------- */
.chart-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.chart-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.chart-card__title {
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 600;
}

.chart-card__delta {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--success);
}

.chart-card__caption {
    margin-bottom: 14px;
    font-size: .8125rem;
    color: var(--ink-muted);
}

.chart-card__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .8125rem;
    color: var(--ink-muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-item__mark {
    flex: none;
    width: 14px;
    height: 14px;
}

.chart-card__foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .8125rem;
    color: var(--ink-muted);
}

/* --- Wykres audiogramowy --------------------------------------------------- */
/* Wysokość wynika z viewBox, więc siatka i znaczniki skalują się proporcjonalnie
   i kółka pozostają kółkami także na wąskim ekranie. */
.audiogram {
    display: block;
    width: 100%;
    height: auto;
}

.audiogram__grid {
    stroke: var(--border);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.audiogram__grid--vertical { opacity: .55; }

.audiogram__label {
    font-family: var(--font-sans);
    font-size: 11px;
    fill: var(--ink-muted);
}

.audiogram__line {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.audiogram__line--current {
    stroke: var(--primary);
    stroke-width: 2;
}

.audiogram__line--previous {
    stroke: var(--accent-data);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.audiogram__marker--current {
    fill: var(--surface);
    stroke: var(--primary);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.audiogram__marker--previous {
    fill: none;
    stroke: var(--accent-data);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

/* --- Siatki i karty -------------------------------------------------------- */
.grid {
    display: grid;
    gap: 20px;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 940px) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.card__title { margin-bottom: 10px; }

.card__lead {
    margin-bottom: 16px;
    font-size: .9375rem;
    color: var(--primary);
    font-weight: 500;
}

.card__text {
    font-size: .9375rem;
    color: var(--ink-muted);
}

.card--dark {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
}

.card--dark .card__text { color: #B7C6C1; }

.card__title--sm { font-size: 1rem; }

/* Lista funkcji z kreską zamiast punktora — kreska jest cichsza i nie udaje
   numeracji tam, gdzie kolejność nic nie znaczy. */
.tick-list { display: grid; gap: 10px; }

.tick-list li {
    position: relative;
    padding-left: 24px;
    font-size: .9375rem;
    color: var(--ink-muted);
}

.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .68em;
    width: 12px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.tick-list--dark li { color: #B7C6C1; }
.tick-list--dark li::before { background: #6FC5B4; }

/* --- Sekcja problemu ------------------------------------------------------- */
.problem-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 4px var(--radius) var(--radius) 4px;
}

.problem-card__title {
    margin-bottom: 8px;
    font-size: 1.0625rem;
}

.problem-card__text {
    font-size: .9375rem;
    color: var(--ink-muted);
}

/* --- Wyróżniony blok (NFZ / KSeF) ------------------------------------------ */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.pill {
    padding: 7px 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 500;
    color: #DCE7E3;
}

.alert-demo {
    padding: 20px;
    background: rgba(217, 138, 61, .1);
    border: 1px solid rgba(217, 138, 61, .35);
    border-radius: var(--radius);
}

.alert-demo--spaced { margin-top: 20px; }

.alert-demo__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}

.alert-demo__label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.alert-demo__text {
    font-size: .9375rem;
    color: #E7EDEA;
}

.alert-demo__meta {
    margin-top: 10px;
    font-size: .8125rem;
    color: #96A8A2;
}

/* --- Sekcja szczerości ----------------------------------------------------- */
.honesty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.honesty__head {
    padding: 26px;
    background: var(--surface-sunken);
    border-bottom: 1px solid var(--border);
}

.honesty__lead {
    max-width: 60ch;
    font-size: .9375rem;
    color: var(--ink-muted);
}

.honesty__list { display: grid; }

.honesty__item {
    padding: 22px 26px;
    border-bottom: 1px solid var(--border);
}

.honesty__item:last-child { border-bottom: 0; }

.honesty__title {
    margin-bottom: 6px;
    font-size: 1rem;
}

.honesty__text {
    font-size: .9375rem;
    color: var(--ink-muted);
}

@media (min-width: 780px) {
    .honesty__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .honesty__item:nth-child(odd) { border-right: 1px solid var(--border); }
    .honesty__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* --- Cennik ---------------------------------------------------------------- */
.plans {
    display: grid;
    gap: 20px;
    align-items: start;
}

@media (min-width: 900px) {
    .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.plan--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.plan__flag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 4px 10px;
    background: var(--primary-tint);
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-hover);
}

.plan__name {
    font-size: 1.375rem;
    margin-bottom: 6px;
}

.plan__tagline {
    min-height: 3em;
    margin-bottom: 20px;
    font-size: .9375rem;
    color: var(--ink-muted);
}

.plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.plan__price-prefix {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.plan__amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.plan__period {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.plan__price-note {
    margin-top: 6px;
    font-size: .8125rem;
    color: var(--ink-muted);
}

.plan__limits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding: 14px 0;
    border-block: 1px solid var(--border);
}

.plan__limit {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface-sunken);
    border-radius: 999px;
    padding: 5px 12px;
}

.plan__setup {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: var(--success-tint);
    border-radius: var(--radius);
    font-size: .8125rem;
    color: #245F45;
}

.plan__setup--paid {
    background: var(--surface-sunken);
    color: var(--ink-muted);
}

.plan__features { margin-bottom: 24px; }

.plan__cta { margin-top: auto; }

/* Przykładowe wyliczenie w karcie pakietu — cena progowa bez przykładu jest
   abstrakcją, więc każda karta pokazuje jedną konkretną sieć. */
.plan__example {
    margin-bottom: 18px;
    padding: 16px;
    background: var(--surface-sunken);
    border-radius: var(--radius);
}

.plan__example-label {
    margin-bottom: 4px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.plan__example-sum {
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    letter-spacing: -0.02em;
}

.plan__example-unit {
    font-size: .8125rem;
    color: var(--ink-muted);
}

/* --- Zrzuty ekranu --------------------------------------------------------- */
.shot {
    margin: 0;
}

.shot__frame {
    position: relative;
    overflow: hidden;
    background: var(--surface-sunken);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Proporcje trzymają miejsce zanim obrazek się wczyta, więc układ nie skacze.
   Każda proporcja użyta w app/data/screenshots.php potrzebuje tu swojej reguły. */
.shot__frame--16-10 { aspect-ratio: 16 / 10; }
.shot__frame--16-9  { aspect-ratio: 16 / 9; }
.shot__frame--390-844 { aspect-ratio: 390 / 844; }

.shot__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Zrzuty z telefonu dostają ciemną ramkę i mocniejsze zaokrąglenie —
   inaczej pionowy prostokąt na białym tle wygląda jak błąd składu. */
.shot--phone {
    max-width: 280px;
    margin-inline: auto;
}

.shot--phone .shot__frame {
    padding: 8px;
    background: var(--dark);
    border-color: var(--dark);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

.shot--phone .shot__image {
    border-radius: 18px;
}

.shot__caption {
    margin-top: 12px;
    font-size: .875rem;
    color: var(--ink-muted);
}

.shot__title {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
}

.section--dark .shot__caption { color: #B7C6C1; }
.section--dark .shot__title { color: #fff; }
.section--dark .shot__frame {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .14);
}

/* Miejsce zastępcze. Ma wyglądać na celowe i tymczasowe, a nie na zepsuty obrazek —
   stąd przerywana ramka i nazwa pliku, którą trzeba nadać zrzutowi. */
.shot__placeholder {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    text-align: center;
    border: 1px dashed #B9C6C0;
    border-radius: calc(var(--radius) - 2px);
    background: repeating-linear-gradient(
        135deg,
        transparent 0 10px,
        rgba(14, 110, 99, .04) 10px 20px
    );
}

.shot__placeholder-label {
    margin: 0;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
}

.shot__placeholder-file {
    margin: 0;
}

.shot__placeholder-file code {
    padding: 3px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: .75rem;
    color: var(--ink);
    word-break: break-all;
}

.shot__placeholder-hint {
    max-width: 44ch;
    margin: 0;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--ink-muted);
}

/* Hierarchia tej etykiety wynika ze stopnia pisma i wersalików, a nie
   z jaśniejszego koloru — jaśniejszy nie spełniał progu kontrastu. */
.shot__placeholder-size {
    margin: 0;
    font-size: .6875rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.section--dark .shot__placeholder {
    border-color: rgba(255, 255, 255, .28);
    background: repeating-linear-gradient(
        135deg,
        transparent 0 10px,
        rgba(255, 255, 255, .04) 10px 20px
    );
}

.section--dark .shot__placeholder-label { color: #6FC5B4; }
.section--dark .shot__placeholder-hint { color: #B7C6C1; }
.section--dark .shot__placeholder-size { color: #96A8A2; }

.section--dark .shot__placeholder-file code {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: #E7EDEA;
}

/* Zrzut wiodący — szerszy od pozostałych, bo pokazuje wyróżnik produktu. */
.shots-lead {
    max-width: 900px;
    margin-inline: auto;
}

/* Zrzuty z telefonu obok siebie w sekcji o aplikacji mobilnej. */
.shot-pair {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    max-width: 620px;
}

.shot-pair .shot--phone { max-width: 260px; }

/* --- Kalkulator ------------------------------------------------------------ */
.calculator {
    display: grid;
    gap: 24px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
    .calculator {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 44px;
        padding: 34px;
    }
}

.calculator__controls {
    display: grid;
    gap: 26px;
    align-content: start;
}

.calculator__output {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
}

.calculator__range {
    width: 100%;
    height: 28px;
    accent-color: var(--primary);
    cursor: pointer;
}

.calculator__result {
    padding: 24px;
    background: var(--primary-tint);
    border-radius: var(--radius);
}

.calculator__label {
    margin-bottom: 2px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-hover);
}

.calculator__amount {
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.calculator__sub {
    margin-bottom: 18px;
    font-size: .875rem;
    color: var(--ink-muted);
}

.calculator__rows {
    display: grid;
    gap: 9px;
    margin: 0 0 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(14, 110, 99, .2);
}

.calculator__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: .875rem;
}

.calculator__row dt { color: var(--ink-muted); }

.calculator__row dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.price-note {
    margin-top: 24px;
    font-size: .875rem;
    color: var(--ink-muted);
}

/* --- Tabela dodatków ------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: .9375rem;
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table thead th {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    background: var(--surface-sunken);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table__price {
    font-family: var(--font-display);
    font-weight: 600;
    white-space: nowrap;
}

.data-table__price--free { color: var(--success); }

.data-table__note {
    font-size: .875rem;
    color: var(--ink-muted);
}

/* --- FAQ ------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }

.faq__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq__item[open] { border-color: #C9D6D1; }

.faq__question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
    content: "+";
    flex: none;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--primary);
    transition: transform .2s ease;
}

.faq__item[open] .faq__question::after {
    content: "–";
}

.faq__answer {
    padding: 0 22px 20px;
    font-size: .9375rem;
    color: var(--ink-muted);
    max-width: 72ch;
}

/* --- CTA ------------------------------------------------------------------- */
.cta-band {
    padding: 44px 28px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    color: #E7EDEA;
    text-align: center;
}

.cta-band h2 { color: #fff; }

.cta-band__text {
    max-width: 56ch;
    margin: 16px auto 0;
    color: #B7C6C1;
}

.cta-band .btn-row { justify-content: center; }

@media (min-width: 768px) {
    .cta-band { padding: 60px 48px; }
}

/* --- Formularz ------------------------------------------------------------- */
.form-layout {
    display: grid;
    gap: 36px;
    align-items: start;
}

@media (min-width: 940px) {
    .form-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
}

.form-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.form-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 620px) {
    .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field__label {
    display: block;
    margin-bottom: 6px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink);
}

.field__hint {
    margin-top: 6px;
    font-size: .8125rem;
    color: var(--ink-muted);
}

.field__error {
    margin-top: 6px;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--danger);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: .9375rem;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.textarea {
    min-height: 130px;
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235B665F' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .8125rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

.checkbox input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 18px 20px;
    border-radius: var(--radius);
    font-size: .9375rem;
    margin-bottom: 26px;
}

.notice--success {
    background: var(--success-tint);
    border: 1px solid #BFE0CD;
    color: #245F45;
}

.notice--error {
    background: #F8E8E6;
    border: 1px solid #EDC7C3;
    color: #8C2F29;
}

.notice__title {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-weight: 600;
}

.aside-card {
    padding: 24px;
    background: var(--primary-tint);
    border-radius: var(--radius-lg);
}

.aside-card + .aside-card { margin-top: 20px; }

.aside-card--plain {
    background: var(--surface);
    border: 1px solid var(--border);
}

.aside-card__title { margin-bottom: 12px; font-size: 1rem; }

.aside-card__text {
    font-size: .9375rem;
    color: var(--ink-muted);
}

.contact-list { display: grid; gap: 10px; }

.contact-list__item {
    font-size: .9375rem;
}

.contact-list__label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* --- Treść tekstowa (polityka prywatności) --------------------------------- */
.prose {
    max-width: 72ch;
}

.prose h2 { margin: 40px 0 14px; font-size: 1.375rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; }

.prose p,
.prose li {
    color: var(--ink-muted);
    font-size: .9375rem;
}

.prose ul {
    display: grid;
    gap: 8px;
    margin-bottom: 1em;
}

.prose li {
    position: relative;
    padding-left: 20px;
}

.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 10px;
    height: 2px;
    background: var(--primary);
}

/* --- Stopka ---------------------------------------------------------------- */
.site-footer {
    padding-block: 56px 28px;
    background: var(--dark);
    color: #B7C6C1;
}

.site-footer__inner {
    display: grid;
    gap: 34px;
}

@media (min-width: 700px) {
    .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
    .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
}

.site-footer__tagline {
    margin-top: 14px;
    max-width: 38ch;
    font-size: .875rem;
    color: #96A8A2;
}

.site-footer__heading {
    margin-bottom: 14px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6FC5B4;
}

.site-footer__col ul { display: grid; gap: 9px; }

.site-footer__col li { font-size: .875rem; }

.site-footer__col a {
    color: #DCE7E3;
    text-decoration: none;
}

.site-footer__col a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .8125rem;
    color: #7E918B;
}

.site-footer__bottom p { margin: 0; }

/* --- Ruch ------------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Drobne pomoce --------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
