/* IThandy Monitor - publiczne strony ofertowe (resources/views/marketing). Ten sam język co panele: mint z siatką kropek,
   linia gradientu marki, Poppins w nagłówkach, Inter w tekście, karty z linią #D7E6E4 i miękkim cieniem.
   Kolory wyłącznie z brand kitu (ithandy/docs/01-brand-kit.md) i odcieni turkusu z App\Support\BrandPalette.
   Kontrast AA: tekst ink na bieli i mincie, #5B6B6A min. 5,3:1, CTA coral z tekstem ink 5,4:1, linki ink z podkreśleniem. */

:root {
    --teal: #12B5A5; --teal-700: #0E8C80; --teal-800: #0D6A62; --teal-100: #E3F6F4; --teal-200: #C4ECE8; --teal-300: #8FDBD3;
    --ink: #0B2B2A; --muted: #5B6B6A; --surface: #F4FBFA; --border: #D7E6E4; --white: #FFFFFF;
    --coral: #FF6B5C; --coral-600: #E85546; --ok: #16A34A; --warn: #F59E0B; --info: #0EA5E9;
    --shadow: 0 8px 24px rgba(11, 43, 42, .08);
    --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
    --wrap: 1120px;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.m-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.m-skip:focus { top: 12px; color: #fff; }
.m-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.m-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Nagłówek: biały, z linią gradientu marki u dołu (jak górny pasek paneli). */
.m-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--teal), var(--teal-700)) 1; }
.m-head__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 20px; }
.m-head__brand { text-decoration: none; flex: none; }
.m-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.m-nav a { padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.m-nav a:hover, .m-nav a[aria-current="page"] { background: var(--teal-100); }
.m-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal-700); }
.m-head__cta { flex: none; }
.m-menu { display: none; margin-left: auto; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; display: grid; }
.m-menu__panel a { padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.m-menu__panel a:hover { background: var(--teal-100); }
@media (max-width: 960px) { .m-nav { display: none; } .m-menu { display: block; } .m-head .m-head__cta { display: none; } }

/* Przyciski: CTA coral z tekstem ink (5,4:1), drugi przycisk obrysowany. */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--r-sm);
    font: 600 1rem/1.2 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease; text-align: center; }
.m-btn--cta { background: var(--coral); color: var(--ink); box-shadow: 0 6px 16px rgba(255, 107, 92, .28); }
.m-btn--cta:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 6px 16px rgba(255, 107, 92, .28); }
.m-btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.m-btn--ghost:hover { background: var(--teal-100); }
.m-btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.m-btn svg { width: 20px; height: 20px; flex: none; }
.m-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sekcje: na zmianę biel i mint; mint z siatką kropek tylko w hero (jak tło paneli). */
.m-sec { padding: 72px 0; }
.m-sec--mint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.m-sec--ink { background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 40%, var(--teal-800) 100%); color: #fff; }
.m-sec--ink a:not(.m-btn) { color: #fff; }
.m-sec__head { max-width: 760px; margin-bottom: 36px; }
.m-sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.m-sec__head p { color: var(--muted); font-size: 1.08rem; }
.m-sec--ink .m-sec__head p { color: #E3F6F4; }
.m-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 600 .78rem/1.2 Poppins, Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-800); }
.m-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--teal), var(--teal-700)); }
.m-sec--ink .m-eyebrow { color: var(--teal-300); }
.m-h2line::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-700)); }
.m-sec__head--center .m-h2line::after { margin-left: auto; margin-right: auto; }

/* Hero */
.m-hero { position: relative; padding: 56px 0 64px; background: linear-gradient(180deg, rgba(244, 251, 250, 0) 0, var(--surface) 460px) no-repeat,
    radial-gradient(circle, rgba(18, 181, 165, .13) 1.3px, transparent 1.8px) 0 0 / 18px 18px, var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
.m-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.m-hero__lead { font-size: 1.15rem; color: var(--ink); max-width: 620px; }
.m-hero__note { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.m-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 500; }
.m-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.m-hero__facts svg { width: 20px; height: 20px; color: var(--teal-700); flex: none; }
.m-hero--page { padding: 40px 0 48px; }
.m-hero--page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
@media (max-width: 960px) { .m-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Okruszki */
.m-crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.m-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.m-crumbs a { color: var(--ink); }

/* Zrzut panelu w ramce okna przeglądarki. */
.m-shot { margin: 0; }
.m-shot__frame { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 18px 48px rgba(11, 43, 42, .14); overflow: hidden; }
.m-shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.m-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.m-shot__url { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-size: .75rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.m-shot figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.m-shot figcaption strong { color: var(--ink); }
.m-shot--phone .m-shot__frame { max-width: 300px; margin: 0 auto; border-radius: 28px; border: 8px solid var(--ink); }
.m-shot--phone .m-shot__bar { display: none; }
.m-shot--crop .m-shot__img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }

/* Karty i siatki */
.m-grid { display: grid; gap: 20px; }
.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .m-grid--3, .m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .m-grid--2, .m-grid--3, .m-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.m-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.m-card h3 { margin-bottom: .45em; }
.m-card p:last-child { margin-bottom: 0; }
.m-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--teal-100); color: var(--ink); }
.m-card__icon svg { width: 26px; height: 26px; }
.m-card--warn .m-card__icon { background: #FEF3DA; }
.m-card p { color: var(--muted); }
.m-card--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-card--ink p { color: #E3F6F4; }

.m-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.m-split--wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 960px) { .m-split, .m-split--wide { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Lista z ikonami (zakres) */
.m-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.m-list li { position: relative; padding-left: 34px; }
.m-list li > svg:first-child { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; color: var(--teal-700); }
.m-list--x li > svg:first-child { color: var(--muted); }

/* Cytowalna odpowiedź (AISEO): krótka definicja w ramce. */
.m-answer { margin: 0 0 28px; padding: 18px 20px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; box-shadow: var(--shadow); }
.m-answer p { margin: 0; }
.m-sec--mint .m-answer { background: #fff; }

/* Kroki */
.m-steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.m-steps li { position: relative; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); min-width: 0; }
.m-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; font: 600 .78rem/1 Poppins, Inter, sans-serif; letter-spacing: .1em; color: var(--muted); }
.m-steps h3 { font-size: 1.08rem; }
.m-steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.m-steps__icon { position: absolute; right: 18px; top: 16px; width: 26px; height: 26px; color: var(--teal-700); }
@media (max-width: 960px) { .m-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .m-steps { grid-template-columns: minmax(0, 1fr); } }
.m-steps--long { grid-template-columns: minmax(0, 1fr); }
.m-steps--long li { padding: 24px 24px 24px 76px; }
.m-steps--long li::before { position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-700)); color: var(--ink); font-size: .85rem; }
.m-steps--long .m-steps__icon { display: none; }
.m-steps--long p + p, .m-steps--long p + ul { margin-top: 10px; }
.m-steps--long ul { margin: 0; padding-left: 20px; color: var(--muted); }

/* Droga klienta na stronie publicznej: karta wokół x-ith.road. */
.m-road { padding: 28px 24px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.m-road .ith-road__btn { cursor: default; }

/* Pakiety */
.m-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .m-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.m-plan { display: flex; flex-direction: column; position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); min-width: 0; }
.m-plan--featured { border: 2px solid var(--teal-700); box-shadow: 0 16px 40px rgba(11, 43, 42, .14); }
.m-plan__badge { position: absolute; top: -14px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--teal); color: var(--ink); font: 600 .78rem/1.4 Poppins, Inter, sans-serif; letter-spacing: .04em; }
.m-plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.m-plan__for { color: var(--muted); font-size: .96rem; min-height: 3.1em; }
.m-plan__price { margin: 6px 0 2px; font: 700 2.5rem/1.1 Poppins, Inter, sans-serif; letter-spacing: -.02em; }
.m-plan__price small { font: 500 1rem Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.m-plan__vat { margin: 0; font-size: .88rem; color: var(--muted); }
.m-plan__year { margin: 8px 0 18px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); font-size: .92rem; }
.m-plan .m-list { margin-bottom: 22px; font-size: .97rem; }
.m-plan .m-btn { margin-top: auto; width: 100%; }
.m-trial { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg);
    background: #fff; border: 2px dashed var(--teal-300); }
.m-trial__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--teal-100); }
.m-trial__icon svg { width: 30px; height: 30px; }
.m-trial h3 { margin-bottom: 4px; }
.m-trial p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .m-trial { grid-template-columns: minmax(0, 1fr); } .m-trial__icon { display: none; } }

/* Tabele (porównanie pakietów, platformy): przewijanie tylko wewnątrz ramki, strona nie przewija się w bok. */
.m-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.m-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.m-table caption { text-align: left; padding: 16px 20px 0; font-size: .9rem; color: var(--muted); caption-side: bottom; padding-bottom: 16px; }
.m-table th, .m-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.m-table thead th { font: 600 .78rem/1.3 Poppins, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.m-table tbody th { font-weight: 500; }
.m-table td { text-align: center; white-space: nowrap; }
.m-table .m-table__group th { background: var(--surface); font: 600 .95rem Poppins, Inter, sans-serif; color: var(--ink); }
.m-table tr:last-child > * { border-bottom: 0; }
.m-table--matrix { min-width: 640px; }
.m-table--matrix thead th:not(:first-child) { text-align: center; }
.m-table--platforms { min-width: 760px; }
.m-table--platforms td { font-size: .9rem; }
.m-yes, .m-no, .m-soon { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.m-yes svg, .m-no svg, .m-soon svg { width: 18px; height: 18px; flex: none; }
.m-yes svg { color: var(--ok); }
.m-soon svg { color: var(--info); }
.m-no { color: var(--muted); font-weight: 400; }
.m-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

/* Galeria zrzutów */
.m-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .m-gallery { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.m-faq { display: grid; gap: 12px; max-width: 860px; }
.m-faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); }
.m-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 600 1.05rem/1.4 Poppins, Inter, sans-serif; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-100); font-size: 1.2rem; line-height: 1; }
.m-faq details[open] summary::after { content: "-"; }
.m-faq details > div { padding: 0 20px 18px; color: var(--ink); }
.m-faq details > div p:last-child { margin: 0; }

/* Pas CTA na końcu strony */
.m-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.m-cta h2 { color: #fff; }
.m-cta p { color: #E3F6F4; margin: 0; }
.m-cta .m-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.m-cta .m-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 760px) { .m-cta { grid-template-columns: minmax(0, 1fr); } }
.m-street { max-width: 520px; margin-left: auto; padding: 20px 20px 0; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.m-street .ith-ill { width: 100%; height: auto; }

/* Formularz */
.m-form { display: grid; gap: 18px; }
.m-field { display: grid; gap: 6px; min-width: 0; }
.m-field label, .m-field legend { font-weight: 600; font-size: .96rem; }
.m-field .m-opt { font-weight: 400; color: var(--muted); }
.m-field input[type="email"], .m-field input[type="text"], .m-field input[type="tel"], .m-field select, .m-field textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #869998; border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 400 1rem/1.4 Inter, sans-serif; }
.m-field textarea { min-height: 110px; resize: vertical; }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { border-color: var(--teal-700); }
.m-field__help { margin: 0; font-size: .88rem; color: var(--muted); }
.m-field__error { margin: 0; font-size: .9rem; font-weight: 600; color: #B91C1C; }
.m-field--invalid input, .m-field--invalid select { border-color: #DC2626; }
.m-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .96rem; }
.m-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal-700); }
.m-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.m-alert { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; }
.m-alert--ok { border-color: var(--ok); background: #F0FAF3; }
.m-alert--err { border-color: #DC2626; background: #FEF2F2; }
.m-alert h2, .m-alert h3 { font-size: 1.15rem; margin-bottom: 6px; }
.m-alert p:last-child { margin: 0; }
.m-rodo { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.m-rodo h2 { font-size: 1rem; margin: 0 0 6px; color: var(--ink); }

/* Stopka z danymi firmy (NAP z ithandy/docs/08): biały tekst na ink 15:1, linki turkus 100. */
.m-foot { background: var(--ink); color: #E3F6F4; padding: 48px 0 28px; font-size: .95rem; }
.m-foot a { color: #fff; text-decoration-color: var(--teal); }
.m-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.m-foot h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 12px; }
.m-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.m-foot .ith-brand-it { color: #fff; }
.m-foot .ith-brand-sub { color: #E3F6F4; }
.m-foot__nap { margin-top: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.m-foot__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; color: #C4ECE8; }
@media (max-width: 860px) { .m-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .m-foot__grid { grid-template-columns: minmax(0, 1fr); } }

.m-muted { color: var(--muted); }
.m-small { font-size: .9rem; }
.m-center { text-align: center; }
.m-mt { margin-top: 28px; }
.m-note { padding: 14px 18px; border-radius: var(--r-md); background: var(--teal-100); border: 1px solid var(--teal-200); font-size: .95rem; }
.m-note p:last-child { margin: 0; }
@media (max-width: 640px) {
    body { font-size: 16px; }
    .m-sec { padding: 52px 0; }
    .m-hero { padding: 36px 0 44px; }
    .m-card, .m-plan, .m-road { padding: 20px 18px; border-radius: var(--r-md); }
    .m-btns .m-btn { width: 100%; }
}

/* Dokumenty prawne i formularz zgłoszenia */
.m-legal { max-width: 860px; }
.m-legal h2 { font-size: 1.3rem; margin: 2em 0 .6em; scroll-margin-top: 90px; }
.m-legal ol, .m-legal ul { padding-left: 1.4em; }
.m-legal li { margin-bottom: .5em; }
.m-legal__meta, .m-legal__box { padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.m-legal__table th { font-weight: 500; text-align: left; }
.m-legal__table td { text-align: left; white-space: normal; }
.m-legal .m-table { min-width: 640px; }
.m-split--top { align-items: start; }
.m-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.m-fieldset legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.m-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.m-choice { position: relative; display: block; cursor: pointer; }
.m-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-choice__box { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid #869998; border-radius: var(--r-sm); background: #fff; }
.m-choice__box span { font-size: .9rem; color: var(--muted); }
.m-choice input:checked + .m-choice__box { border: 2px solid var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.m-choice input:focus-visible + .m-choice__box { outline: 3px solid var(--ink); outline-offset: 2px; }
.m-sum { margin: 10px 0 0; font-weight: 600; }
.m-sum:empty { display: none; }
.m-consents { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.m-mini-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.m-transfer { margin: 16px 0; }
.m-transfer dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.m-transfer dt { color: var(--muted); }
.m-transfer dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .m-choices { grid-template-columns: minmax(0, 1fr); } .m-transfer dl { grid-template-columns: minmax(0, 1fr); } .m-transfer dd { margin-bottom: 6px; } }

/* Kod weryfikacji i fragmenty do wklejenia: łamane w ramce, bez rozpychania karty. */
.m-sec pre, .m-legal pre { margin: 8px 0 12px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .85rem; }
.m-sec code, .m-legal code { overflow-wrap: anywhere; word-break: break-word; }

/* ===== blog (resources/views/marketing/blog): lista, artykuł, blok "Z bloga". Kolory z tokenów wyżej. ===== */
.b-hero .m-eyebrow a { color: inherit; text-decoration: none; }
.b-hero .m-eyebrow a:hover { text-decoration: underline; text-decoration-color: var(--teal); }
.b-hero h1 { max-width: 900px; }
.b-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
.b-meta span + span::before { content: "·"; margin-right: 18px; color: var(--teal-700); font-weight: 700; }
.b-meta time { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .b-meta { flex-direction: column; gap: 2px; } .b-meta span + span::before { content: none; } }
.b-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.b-topics__label { font-weight: 600; font-size: .95rem; margin-right: 4px; }
.b-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; font-weight: 500; font-size: .95rem; }
.b-chip span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--teal-100); font-size: .8rem; font-weight: 600; }
.b-chip:hover { background: var(--teal-100); }
.b-feed { margin-left: auto; font-size: .92rem; }
.b-empty { max-width: 760px; }
.b-empty h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

/* Karty artykułów */
.b-card { display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.b-card:hover { box-shadow: 0 14px 34px rgba(11, 43, 42, .14); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .b-card, .b-card:hover { transition: none; transform: none; } }
.b-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; font-size: .82rem; color: var(--muted); }
.m-card .b-card__meta { color: var(--muted); }
.b-card__cluster { font: 600 .74rem/1.6 Poppins, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-800); }
.b-card__title { font-size: 1.12rem; line-height: 1.35; }
.b-card__title a { text-decoration: none; }
.b-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.b-card__title a:focus-visible { outline: none; }
.b-card:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.b-card > p:not(.b-card__meta):not(.b-card__more) { font-size: .96rem; }
.m-card .b-card__more { margin: auto 0 0; padding-top: 6px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.b-card__more span { color: var(--teal-700); }
.b-latest__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.b-latest__head .m-sec__head { margin-bottom: 0; }
.b-latest__head h2 { margin-bottom: 0; }
.b-cluster { scroll-margin-top: 84px; }
.b-cluster .b-card__cluster { display: none; }

/* Artykuł: spis treści z boku (komputer) albo zwijany nad treścią (telefon), treść do ok. 72 znaków w wierszu. */
.b-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 72px; }
.b-main { min-width: 0; max-width: 760px; }
.b-side { min-width: 0; }
.b-toc { font-size: .92rem; }
.b-side .b-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.b-toc__title, .b-toc summary { margin: 0 0 10px; font: 600 .78rem/1.2 Poppins, Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-800); }
.b-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.b-toc li { counter-increment: toc; }
.b-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 6px 8px; border-radius: var(--r-sm); text-decoration: none; line-height: 1.4; }
.b-toc a::before { content: counter(toc) "."; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-toc a:hover { background: var(--teal-100); }
.b-toc--mobile { display: none; margin: 0 0 28px; padding: 0 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.b-toc--mobile summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin: 0; }
.b-toc--mobile summary::-webkit-details-marker { display: none; }
.b-toc--mobile summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--teal-100); color: var(--ink); font-size: 1.1rem; letter-spacing: 0; }
.b-toc--mobile[open] summary::after { content: "-"; }
.b-toc--mobile ol { padding-bottom: 12px; }
@media (max-width: 960px) {
    .b-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; padding-bottom: 56px; }
    .b-side { display: none; }
    .b-toc--mobile { display: block; }
    .b-main { max-width: none; }
}

/* Treść z Markdown */
.b-prose { font-size: 1.06rem; line-height: 1.72; }
.b-prose > :first-child { margin-top: 0; }
.b-prose > p:first-child { font-size: 1.16rem; line-height: 1.65; }
.b-prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); scroll-margin-top: 96px; }
.b-prose h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-700)); }
.b-prose h3 { margin: 1.7em 0 .5em; font-size: 1.2rem; scroll-margin-top: 96px; }
.b-prose p, .b-prose ul, .b-prose ol, .b-prose blockquote, .b-prose table { margin: 0 0 1.1em; }
.b-prose ul, .b-prose ol { padding-left: 1.4em; }
.b-prose li { margin: 0 0 .45em; }
.b-prose li::marker { color: var(--teal-700); font-weight: 600; }
.b-prose a { overflow-wrap: anywhere; }
.b-prose a[target="_blank"]::after { content: "\2197"; display: inline-block; margin-left: 2px; font-size: .8em; color: var(--teal-700); text-decoration: none; }
.b-prose strong { font-weight: 600; }
.b-prose code { padding: 1px 6px; border-radius: 6px; background: var(--teal-100); font-size: .88em; overflow-wrap: anywhere; word-break: break-word; }
.b-prose pre { margin: 0 0 1.2em; padding: 14px 16px; overflow-x: auto; background: var(--ink); color: #E3F6F4; border-radius: var(--r-md); font-size: .88rem; line-height: 1.55; }
.b-prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; word-break: normal; overflow-wrap: normal; white-space: pre; }
.b-prose blockquote { padding: 14px 18px; border-left: 4px solid var(--teal); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; }
.b-prose blockquote p:last-child { margin: 0; }
.b-prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.b-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .94rem; line-height: 1.5; border: 1px solid var(--border); border-radius: var(--r-md); }
.b-prose th, .b-prose td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; min-width: 140px; }
.b-prose thead th { font: 600 .76rem/1.3 Poppins, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.b-prose tr:last-child > td { border-bottom: 0; }

/* FAQ, CTA i autor pod treścią */
.b-faq { margin-top: 56px; scroll-margin-top: 96px; }
.b-cta { margin-top: 48px; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 45%, var(--teal-800) 100%); color: #fff; }
.b-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.b-cta p { color: #E3F6F4; }
.b-cta .m-eyebrow { color: var(--teal-300); }
.b-cta .m-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.b-cta .m-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.b-author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 32px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); scroll-margin-top: 96px; }
.b-author img { width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--border); padding: 8px; }
.b-author p { margin: 0 0 .4em; font-size: .96rem; }
.b-author p:last-child { margin: 0; color: var(--muted); }
.b-author__name { color: var(--ink); }
@media (max-width: 480px) { .b-author { grid-template-columns: minmax(0, 1fr); } .b-cta { padding: 22px 18px; } }

/* ===== Cennik (resources/views/marketing/pricing.blade.php, partials/plans, public/marketing/pricing.js) ===== */
.m-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 960px) { .m-plans--2 { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.m-plan__gross { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.m-plan__year { display: grid; gap: 2px; }
.m-plan__next { font-weight: 600; color: var(--teal-800); }
.m-plan__try { margin: 10px 0 0; }
.m-deal { display: inline-block; max-width: 760px; margin: 6px 0 4px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--teal-700); box-shadow: var(--shadow); }
.m-deal__title { margin: 0 0 4px; font: 700 1.3rem/1.3 Poppins, Inter, sans-serif; color: var(--ink); }
.m-deal__text { margin: 0; font-size: .96rem; color: var(--muted); }
.m-kindtabs { display: inline-flex; gap: 4px; margin: 0 0 28px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); max-width: 100%; }
.m-kindtabs button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .98rem/1.2 Inter, sans-serif; cursor: pointer; }
.m-kindtabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.m-kindtabs button:hover:not([aria-selected="true"]) { background: var(--teal-100); }
.m-kindpanel + .m-kindpanel { margin-top: 48px; }
.m-kindpanel__title { font-size: 1.35rem; }
.m-kindpanel .m-sec__head { margin-bottom: 28px; }
.m-offer { display: flex; flex-direction: column; }
.m-offer .m-btn { margin-top: auto; align-self: flex-start; }
.m-offer__calc { padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); color: var(--ink) !important; font-weight: 600; }
.m-calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.m-calc__controls { display: grid; gap: 22px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); min-width: 0; }
.m-calc__countrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.m-calc__countrow label { font-weight: 600; }
.m-calc__countval { font: 700 1.35rem/1.2 Poppins, Inter, sans-serif; color: var(--teal-800); }
.m-range { width: 100%; height: 32px; margin: 8px 0 0; accent-color: var(--teal-700); cursor: pointer; }
.m-calc__scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.m-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.m-seg--stack { display: grid; }
.m-seg__opt { position: relative; cursor: pointer; }
.m-seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-seg__opt span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 44px; padding: 9px 14px; border: 1.5px solid #869998; border-radius: var(--r-sm); background: #fff; font-weight: 500; font-size: .96rem; }
.m-seg__opt small { font-size: .8rem; font-weight: 600; color: var(--teal-800); }
.m-seg--stack .m-seg__opt span { display: flex; }
.m-seg__opt input:checked + span { border: 2px solid var(--teal-700); background: var(--teal-100); box-shadow: inset 0 0 0 1px var(--teal-700); }
.m-seg__opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.m-calc__result { position: sticky; top: 96px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--teal-700); box-shadow: 0 16px 40px rgba(11, 43, 42, .14); min-width: 0; }
.m-calc__label { margin: 0; font: 600 .78rem/1.2 Poppins, Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-calc__total { margin: 6px 0 2px; font: 700 2.6rem/1.1 Poppins, Inter, sans-serif; letter-spacing: -.02em; overflow-wrap: anywhere; }
.m-calc__total small { font: 500 1rem Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.m-calc__note { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.m-calc__avg { margin: 0 0 8px; font-weight: 500; }
.m-calc__save { margin: 0 0 8px; padding: 10px 12px; border-radius: var(--r-sm); background: #F0FAF3; border: 1px solid var(--ok); font-weight: 600; }
.m-calc__bonus { margin: 0 0 8px; font-size: .94rem; color: var(--teal-800); font-weight: 500; }
.m-calc__breakdown { margin: 0 0 18px; font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.m-calc__result .m-btn { width: 100%; }
.m-calc__try { margin: 10px 0 0; }
@media (max-width: 860px) { .m-calc { grid-template-columns: minmax(0, 1fr); } .m-calc__result { position: static; } }
.m-tiers { margin-top: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); }
.m-tiers summary { cursor: pointer; padding: 16px 20px; font: 600 1.05rem/1.4 Poppins, Inter, sans-serif; }
.m-tiers__body { padding: 0 20px 20px; }
.m-tiers__body > p { color: var(--muted); font-size: .96rem; }
.m-tiers .m-table-wrap { box-shadow: none; }
.m-table--tiers { min-width: 720px; }
.m-table--tiers thead th:not(:first-child) { text-align: center; }
.m-tiers__off { display: block; font-size: .8rem; font-weight: 600; color: var(--teal-800); }
.m-table__price { text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (max-width: 640px) {
    .m-calc__controls, .m-calc__result { padding: 20px 18px; border-radius: var(--r-md); }
    .m-calc__total { font-size: 2.1rem; }
    .m-kindtabs { display: flex; }
    .m-kindtabs button { flex: 1 1 0; padding: 8px 10px; }
    .m-deal__title { font-size: 1.15rem; }
}

/* ---------- Wielojęzyczność: przełącznik języka, podpowiedź wersji, języki w stopce ---------- */
.m-lang { position: relative; flex: none; }
.m-lang summary { list-style: none; cursor: pointer; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-weight: 600; font-size: .9rem; min-width: 44px; text-align: center; }
.m-lang summary::-webkit-details-marker { display: none; }
.m-lang summary::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.m-lang[open] summary { border-color: var(--ink); }
.m-lang__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 170px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); }
.m-lang__list a { display: block; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; font-size: .95rem; }
.m-lang__list a:hover { background: var(--teal-100); }
.m-lang__list a[aria-current="true"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--teal-700); }
@media (max-width: 1100px) { .m-nav { display: none; } .m-menu { display: block; margin-left: 8px; } .m-lang { margin-left: auto; } .m-head .m-head__cta { display: none; } }
.m-suggest { position: relative; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 10px 52px 10px 16px; background: var(--teal-100); border-bottom: 1px solid var(--teal-200); font-size: .95rem; text-align: center; }
.m-suggest a { font-weight: 600; }
.m-suggest__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.m-suggest__close:hover { background: #fff; }
.m-foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.m-foot__langs a[aria-current="true"] { font-weight: 600; }
.m-code { white-space: pre-wrap; word-break: break-all; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .9rem; }

/* ---------- Powiększanie zrzutów panelu (<dialog>, public/marketing/marketing.js) ---------- */
.m-shot__zoom { display: block; position: relative; color: inherit; text-decoration: none; cursor: zoom-in; }
.m-shot__icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(11, 43, 42, .82); color: #fff; opacity: .85; transition: opacity .15s; }
.m-shot__icon svg { width: 20px; height: 20px; }
.m-shot__zoom:hover .m-shot__icon, .m-shot__zoom:focus-visible .m-shot__icon { opacity: 1; }
.m-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0B2B2A; color: #fff; }
.m-lightbox::backdrop { background: rgba(11, 43, 42, .6); }
.m-lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.m-lightbox__stage { overflow: auto; display: grid; place-items: center; padding: 56px 16px 8px; touch-action: pinch-zoom pan-x pan-y; -webkit-overflow-scrolling: touch; }
.m-lightbox__img { max-width: min(100%, 1440px); max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: var(--r-sm); background: #fff; box-shadow: 0 18px 48px rgba(0, 0, 0, .35); }
.m-lightbox__caption { margin: 0; padding: 8px 64px 18px; text-align: center; font-size: .95rem; color: #E3F6F4; }
.m-lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.m-lightbox__btn:hover, .m-lightbox__btn:focus-visible { background: var(--teal); color: var(--ink); }
.m-lightbox__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.m-lightbox__close { top: 10px; right: 10px; }
.m-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.m-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .m-lightbox__stage { padding: 60px 0 0; place-items: start center; }
    .m-lightbox__img { max-width: none; width: 100%; max-height: none; border-radius: 0; }
    .m-lightbox__prev, .m-lightbox__next { top: auto; bottom: 10px; transform: none; }
}
