/* =========================================================================
   jaksytuacja — system stylów strony
   Paleta i typografia zgodne z briefem znaku (sekcje 04–05).
   Zmiana wartości tokenów = zmiana identyfikacji wizualnej; trzymaj spójnie
   z aplikacją.
   ========================================================================= */

/* ---- Fonty (self-host) -------------------------------------------------- */
/* Manrope + JetBrains Mono, SIL OFL 1.1, subsety z Fontsource (jsDelivr).
   Każda waga w dwóch plikach: `latin` i `latin-ext` (ten drugi niesie polskie
   znaki — ą ć ę ł ń ś ź ż). `unicode-range` decyduje, który plik pobrać. */

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
    font-weight: 400; font-display: swap;
    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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-ext-400-normal.woff2') format('woff2');
    font-weight: 400; font-display: swap;
    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: 'Manrope';
    src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
    font-weight: 600; font-display: swap;
    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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-ext-600-normal.woff2') format('woff2');
    font-weight: 600; font-display: swap;
    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: 'Manrope';
    src: url('fonts/manrope-latin-700-normal.woff2') format('woff2');
    font-weight: 700; font-display: swap;
    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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-ext-700-normal.woff2') format('woff2');
    font-weight: 700; font-display: swap;
    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: 'Manrope';
    src: url('fonts/manrope-latin-800-normal.woff2') format('woff2');
    font-weight: 800; font-display: swap;
    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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-ext-800-normal.woff2') format('woff2');
    font-weight: 800; font-display: swap;
    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: 'JetBrains Mono';
    src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
    font-weight: 400; font-display: swap;
    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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
    font-weight: 400; font-display: swap;
    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;
}

/* ---- Tokeny: motyw jasny ---------------------------------------------- */

:root {
    --bg: #F6F7F8;
    --surface: #FFFFFF;
    --surface-muted: #ECEEF1;
    --border: #E0E4E8;
    --text: #15181C;
    --text-secondary: #5B636D;
    --text-tertiary: #838B96;
    --accent: #D4711B;
    --accent-soft: #FBEADA;
    --accent-strong: #A6540E;
    --accent-pressed: #C06819;
    --on-accent: #1C1208;
    --link: #1268C3;
    --danger: #C0362B;
    --success: #17794C;
    --shadow: 0 1px 2px rgba(15, 18, 22, .06), 0 8px 24px rgba(15, 18, 22, .06);

    --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

    --maxw: 1080px;
    --radius: 14px;
    --radius-sm: 9px;
}

/* ---- Tokeny: motyw ciemny --------------------------------------------------
   Ten sam zestaw wartości w dwóch selektorach — TRZYMAJ JE ZSYNCHRONIZOWANE:
     1) @media (prefers-color-scheme: dark) + :root:not([data-theme="light"])
        — motyw systemowy, o ile użytkownik nie wymusił jasnego przełącznikiem
     2) :root[data-theme="dark"]
        — użytkownik wymusił ciemny przełącznikiem (nadpisuje motyw systemowy)
   -------------------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #131519;
        --surface: #1A1D22;
        --surface-muted: #22262C;
        --border: #2F343B;
        --text: #ECEEF1;
        --text-secondary: #A3AAB4;
        --text-tertiary: #6F7680;
        --accent: #F5A05C;
        --accent-soft: #2C2A28;
        --accent-strong: #F2954D;
        --accent-pressed: #DD8B42;
        --on-accent: #1C1208;
        --link: #63B3FF;
        --danger: #F58080;
        --success: #4FC98E;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .45);
    }
}

:root[data-theme="dark"] {
    --bg: #131519;
    --surface: #1A1D22;
    --surface-muted: #22262C;
    --border: #2F343B;
    --text: #ECEEF1;
    --text-secondary: #A3AAB4;
    --text-tertiary: #6F7680;
    --accent: #F5A05C;
    --accent-soft: #2C2A28;
    --accent-strong: #F2954D;
    --accent-pressed: #DD8B42;
    --on-accent: #1C1208;
    --link: #63B3FF;
    --danger: #F58080;
    --success: #4FC98E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .45);
}

/* ---- Reset / baza ------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- Typografia ------------------------------------------------------- */

h1, h2, h3 {
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text);
}

h1 {
    font-weight: 800;
    font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem);
}

h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.1rem);
}

h3 {
    font-weight: 700;
    font-size: 1.125rem;
}

p { max-width: 62ch; }

.lead {
    font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
    font-weight: 600;
    color: var(--text-secondary);
    max-width: 54ch;
}

strong { font-weight: 700; color: var(--text); }

.mono { font-family: var(--font-mono); }

/* ---- Layout ---------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 0.6rem + 2.5vw, 2.5rem);
}

section {
    padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
    border-top: 1px solid var(--border);
}

.section-marker {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.9rem;
}

.section-title {
    max-width: 22ch;
    margin-bottom: 1.4rem;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.6rem;
    max-width: 58ch;
}

/* ---- Nagłówek strony ------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding-block: 0.6rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Przełącznik motywu */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.theme-toggle:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Ikona pokazuje motyw, NA KTÓRY przełączy klik.
   Domyślnie (jasny) — księżyc. Ciemny — słońce. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* JS jeszcze nie wpiął przycisku — nie pokazuj martwego elementu */
.theme-toggle:not([data-ready]) { display: none; }

/* ---- Grafiki zależne od motywu -------------------------------------------
   Ten sam wzorzec dwóch selektorów co przy ikonach przełącznika. Element
   z .only-light widać w motywie jasnym, z .only-dark — w ciemnym.
   UWAGA: <picture media="(prefers-color-scheme: dark)"> tu NIE zadziała,
   bo reaguje wyłącznie na motyw systemowy i ignoruje przełącznik.
   -------------------------------------------------------------------------- */

.only-dark { display: none; }

:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .only-light { display: none; }
    :root:not([data-theme="light"]) .only-dark { display: block; }
}

.wordmark {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

.wordmark::first-letter { color: var(--accent); }

/* ---- Przyciski ----------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
}

.btn-primary:hover { background: var(--accent-strong); }
.btn-primary:active { background: var(--accent-pressed); transform: translateY(1px); }

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

.btn-ghost:hover { background: var(--surface-muted); }

/* ---- Hero --------------------------------------------------------- */

.hero {
    border-top: none;
    padding-block: clamp(2.75rem, 1.5rem + 6vw, 5.5rem) clamp(3.5rem, 2rem + 6vw, 6rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 1rem + 4vw, 4rem);
    align-items: center;
}

.hero h1 { margin-bottom: 1.3rem; max-width: 15ch; }
.hero .lead { margin-bottom: 2rem; }
.hero .btn-primary { margin-bottom: 0.9rem; }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    max-width: 460px;
}

.hero-cta input[type="email"] {
    flex: 1 1 220px;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.98rem;
}

.hero-cta input[type="email"]::placeholder { color: var(--text-tertiary); }

.form-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    max-width: 44ch;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.store-badge .tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-strong);
}

/* ---- Wizual telefonu ---------------------------------------------- */

.phone {
    justify-self: center;
    width: min(300px, 78vw);
    border: 1px solid var(--border);
    border-radius: 32px;
    background: var(--surface-muted);
    padding: 10px;
    box-shadow: var(--shadow);
}

.phone img {
    border-radius: 24px;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    background: var(--surface);
}

/* ---- Listy / karty ---------------------------------------------- */

.cols {
    display: grid;
    gap: 1.1rem;
}

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

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

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-secondary); font-size: 0.98rem; }

.step-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-strong);
    margin-bottom: 0.75rem;
    display: block;
}

/* dwie linie: "nie rozkład / nie nawigacja" */
.claim {
    font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    max-width: 24ch;
    margin-bottom: 1.4rem;
}

.claim .accent { color: var(--accent); }

/* ---- Lista "czego nie ma" -------------------------------------- */

.checklist {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.checklist li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--text-secondary);
    max-width: 60ch;
}

.checklist li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.checklist li strong { color: var(--text); }

.note-line {
    margin-top: 1.8rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.96rem;
    color: var(--text);
    max-width: 60ch;
}

.note-line + .note-line { margin-top: 0.75rem; }

/* ---- Plany / cennik ------------------------------------------- */

.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-top: 1.5rem;
    max-width: 640px;
}

.plan {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--surface);
}

.plan.is-premium { border-color: var(--accent); }

.plan .name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}

.plan.is-premium .name { color: var(--accent-strong); }

.plan .price {
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0.4rem 0 0.6rem;
}

.plan p { font-size: 0.95rem; color: var(--text-secondary); }

/* ---- Galeria zrzutów ---------------------------------------- */

.shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

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

.shots img {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
}

.shots figcaption {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border);
    background: var(--surface);
}

/* ---- FAQ ---------------------------------------------------- */

.faq {
    max-width: 760px;
    border-top: 1px solid var(--border);
}

.faq details {
    border-bottom: 1px solid var(--border);
    padding: 1.15rem 0;
}

.faq summary {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
    margin-top: 0.8rem;
    color: var(--text-secondary);
}

/* ---- Sekcja końcowego CTA --------------------------------- */

.cta-final {
    text-align: center;
}

.cta-final h2 { margin-inline: auto; max-width: 18ch; }

.cta-final .hero-cta {
    margin-inline: auto;
    margin-top: 2rem;
    justify-content: center;
}

.cta-final .form-note { margin-inline: auto; text-align: center; }

/* ---- Stopka ---------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--border);
    padding-block: 3rem;
    background: var(--surface-muted);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    align-items: center;
    justify-content: space-between;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

.site-footer .copy {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    width: 100%;
}

#contact-email a { color: var(--link); font-weight: 600; }
#contact-email .email-fallback { color: var(--link); font-weight: 600; }

/* ---- Sekcja zapisu na premierę --------------------------- */

.signup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
    max-width: 620px;
    margin-top: 1.75rem;
}

.signup form { margin-top: 1.5rem; }

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.signup input[type="email"],
.signup input[type="text"] {
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    width: 100%;
}

.signup input[type="email"]::placeholder { color: var(--text-tertiary); }

/* Honeypot — poza ekranem (nie display:none: część botów pomija pola jawnie
   ukryte). aria-hidden + tabindex="-1" w HTML chowają je przed czytnikiem i Tab. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 1rem 0 1.35rem;
}

.consent input {
    margin-top: 0.25rem;
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
}

.consent label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.signup .btn-primary { width: 100%; }

.status {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.4rem;
}

.status.ok { color: var(--success); font-weight: 600; }
.status.err { color: var(--danger); font-weight: 600; }

.fineprint {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    max-width: 60ch;
}

.fineprint a { color: var(--text-secondary); }

/* ---- Strony z tokenem (potwierdz / wypisz) i podstrony tekstowe --------- */

.text-page {
    max-width: 720px;
    margin-inline: auto;
    padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}

.text-page.narrow { max-width: 560px; }

.text-page h1 { margin-bottom: 1.2rem; }
.text-page h2 { margin: 2.4rem 0 0.8rem; font-size: 1.25rem; }
.text-page h3 { margin: 1.6rem 0 0.4rem; font-size: 1.02rem; }
.text-page p { margin-bottom: 1rem; color: var(--text-secondary); }
.text-page p.lead { color: var(--text-secondary); }
.text-page ul { margin: 0 0 1rem 1.2rem; color: var(--text-secondary); }
.text-page li { margin-bottom: 0.5rem; }
.text-page strong { color: var(--text); }

#action .btn-primary { margin-top: 1.35rem; }
#action[hidden] { display: none; }

/* ---- Strona o botach ---------------------------------------------------- */

.badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.code-block {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.5;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.65rem 0.9rem;
    margin: 0.4rem 0;
    overflow-x: auto;
    color: var(--text);
    white-space: pre;
}

.ua-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    margin: 1.5rem 0 0.5rem;
}

/* ---- Responsywność ------------------------------------- */

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .phone { width: min(240px, 62vw); order: 2; }
    .cols-3 { grid-template-columns: 1fr 1fr; }
    .shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .cols-3, .cols-2, .plans { grid-template-columns: 1fr; }
    .shots { grid-template-columns: 1fr 1fr; }
    .hero-cta { max-width: none; }
    .hero-cta .btn { flex: 1 1 100%; }
    .site-header .container { min-height: 54px; }
}

/* Na wąskim ekranie w nagłówku zostają wordmark + przełącznik + główny CTA.
   Pomocniczy „Strona główna" znika — wordmark i tak prowadzi na stronę główną. */
@media (max-width: 520px) {
    .site-header .btn-ghost { display: none; }
}

@media (min-width: 621px) {
    .signup .btn-primary { width: auto; min-width: 220px; }
}
