/* ============================================
   SiftMate Website — Global Styles
   Kolory z app/src/theme/colors.ts
   Fonty: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
   Ikony: Ionicons (CDN)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:       #0F4C5C;
  --primary-mid:   #1A6B7A;
  --primary-light: #D6EEF2;
  --primary-glow:  rgba(15,76,92,0.07);
  --cta:           #0E7490;
  --cta-dark:      #0C6078;
  --bg:            #F5F3EE;
  --bg-deep:       #EBE8E1;
  --card:          #FFFFFF;
  --text:          #111827;
  --text-body:     #374151;
  --text-muted:    #7C8298;
  --text-light:    #A8ADBE;
  --border:        #DDD9D1;
  --border-light:  #ECEAE4;
  --success:       #15803D;
  --success-bg:    #DCFCE7;
  --warning:       #CA8A04;
  --warning-bg:    #FEF9C3;
  --danger:        #B91C1C;
  --danger-bg:     #FEE2E2;
  --neutral:       #6B7280;
  --neutral-bg:    #F0EFEB;
  --teal:          #0E7490;   /* ikony info */
  --amber:         #D97706;   /* ikony alert */

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --max-width:     1080px;
  --content-width: 860px;
  --radius:        12px;
  --radius-sm:     8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout --- */
.container        { max-width: var(--max-width);     margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
section           { padding: 64px 0; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); color: var(--primary); line-height: 1.3; }
h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; transition: background .2s, transform .1s;
}
.btn:hover  { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-dark); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.btn--outline:hover { border-color: var(--primary); }

/* --- Cards --- */
.card { background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--radius); padding: 24px; }

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border-light);
}
.site-header__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.site-header__logo img { height: 36px; width: auto; }
.site-header__logo span {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--primary);
}
.site-header__nav { display: flex; align-items: center; gap: 24px; }
.site-header__nav a {
  font-size: 0.9rem; font-weight: 600; color: var(--text-body); transition: color .2s;
}
.site-header__nav a:hover { color: var(--primary); text-decoration: none; }
.site-header__lang {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 6px; background: var(--primary-light);
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
}
.site-header__lang a { color: var(--text-light); font-weight: 600; }
.site-header__lang a:hover { color: var(--primary); text-decoration: none; }

/* Mobile */
.site-header__mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.site-header__mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--primary); margin: 4px 0; border-radius: 1px; }

@media (max-width: 768px) {
  .site-header__mobile-toggle { display: block; }
  .site-header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border-light);
    flex-direction: column; padding: 16px 24px; gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .site-header__nav.open { display: flex; }
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 48px 0 32px; }
.site-footer__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.site-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px;
}
.site-footer__brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer__brand-logo img { height: 32px; filter: brightness(0) invert(1); }
.site-footer__brand-logo span { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.site-footer__brand p  { font-size: .9rem; line-height: 1.6; max-width: 260px; }
.site-footer h4 {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #fff;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px;
}
.site-footer__links { list-style: none; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .2s; }
.site-footer__links a:hover { color: #fff; text-decoration: none; }

/* Download column in footer */
.site-footer__download-badge img { height: 44px; border-radius: 6px; }
.site-footer__download-soon {
  margin-top: 8px; font-size: .8rem; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 6px;
}
.site-footer__download-soon ion-icon {
  font-size: 20px; flex-shrink: 0; position: relative; top: -3px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: .82rem;
}
.site-footer__bottom a { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom { flex-wrap: wrap; row-gap: 4px; column-gap: 12px; }
  .site-footer__bottom .sm-cookie-settings-link { margin-left: auto; }
}

/* ============================================
   HERO SECTION — centered text + phone showcase
   ============================================ */
.hero { padding: 72px 0 0; }

.hero__copy {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px; text-align: center;
}
.hero__tagline {
  font-size: .85rem; color: var(--cta); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 35px;
}
.hero h1 {
  font-size: 2.8rem; margin-bottom: 30px;
  max-width: 920px; margin-left: auto; margin-right: auto;
}
.hero__subtitle {
  font-size: 1.05rem; color: #374151; margin-bottom: 0; line-height: 1.75;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

/* Showcase band */
.hero__showcase {
  margin-top: 26px; width: 100%;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 0;
  padding-top: 48px;
}

/* Slider */
.phone-slider { position: relative; }
.phone-slider__track {
  display: flex; align-items: flex-start; justify-content: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.phone-slider__item {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
}
.phone-slider__arrow {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: calc(240px - 24px);
  margin-left: 15px; margin-right: 15px;
  position: relative; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 4px 16px rgba(14,116,144,.45);
  transition: transform .2s, box-shadow .2s;
}
.phone-slider__arrow::before {
  content: '';
  display: block;
  width: 11px; height: 11px;
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg) translateX(-2px);
}
.phone-slider__label {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; margin-bottom: 40px;
  font-size: .88rem; font-weight: 600; color: var(--text-body);
}
.phone-slider__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cta); color: #fff;
  font-size: .72rem; font-weight: 800; flex-shrink: 0;
}
.phone-slider__dots { display: none; }

/* Store badges row */
.hero__stores {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  padding: 62px 24px 56px 50px;
  background: var(--bg-deep); border-top: 1px solid var(--border-light);
}
.hero__store { display: flex; align-items: center; gap: 12px; }
.hero__store--soon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__soon-chip {
  font-size: .7rem; font-weight: 700; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 2px 10px; text-transform: uppercase; letter-spacing: .8px;
}
.hero__badge { height: 52px; border-radius: 8px; display: block; }
.hero__badge--apple { height: 45px; opacity: 0.42; filter: grayscale(1); pointer-events: none; }
.hero__qr-btn {
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; background: var(--card);
  border: 1.5px solid var(--border-light); border-radius: 10px;
  padding: 6px; cursor: pointer; transition: border-color .2s; overflow: hidden;
}
.hero__qr-btn:hover { border-color: var(--cta); }
.hero__qr-btn img { width: 100%; height: 100%; object-fit: contain; }

/* QR Modal */
.qr-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.qr-modal.is-open { opacity: 1; pointer-events: all; }
.qr-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.qr-modal__card {
  position: relative; z-index: 1;
  background: var(--card); border-radius: var(--radius);
  padding: 32px 28px 24px; text-align: center; width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.qr-modal__close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
}
.qr-modal__close:hover { background: var(--bg-deep); color: var(--primary); }
.qr-modal__img { width: 200px; height: 200px; margin: 0 auto 16px; display: block; object-fit: contain; }
.qr-modal__label { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Mobile hero */
@media (max-width: 768px) {
  .hero { padding: 48px 0 0; }
  .hero h1 { font-size: 2rem; }
  .hero__showcase { margin-top: 16px; padding-top: 32px; }
  .phone-slider__track {
    overflow-x: scroll; scroll-snap-type: x mandatory;
    justify-content: flex-start; scrollbar-width: none;
    -ms-overflow-style: none; padding: 0;
  }
  .phone-slider__track::-webkit-scrollbar { display: none; }
  .phone-slider__item { min-width: 100%; scroll-snap-align: start; }
  .phone-slider__arrow { display: none; }
  .phone-slider__next-btn {
    position: absolute;
    right: calc(50% - 142px);
    top: 240px;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--cta);
    box-shadow: 0 4px 16px rgba(14,116,144,.45);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
  }
  .phone-slider__next-btn::before {
    content: '';
    display: block;
    width: 11px; height: 11px;
    border-right: 3px solid #fff; border-top: 3px solid #fff;
    transform: rotate(45deg) translateX(-2px);
  }
  .phone-slider__dots {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; padding: 36px 0 18px;
  }
  .phone-slider__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgb(168, 173, 190); transition: all .25s; cursor: pointer;
  }
  .phone-slider__dot.is-active { background: var(--cta); width: 22px; border-radius: 4px; }
  .hero__stores { gap: 20px; padding: 24px 24px 40px; }
  .hero__qr-btn { display: none; }
}

/* ============================================
   PHONE MOCKUP
   ============================================ */
.phone-mockup {
  width: 240px; height: 480px; margin: 0 auto;
  background: #2e3a3f; border-radius: 36px; padding: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12), inset 0 0 0 2px rgba(255,255,255,.08);
  position: relative;
}
.phone-mockup--lg { width: 260px; height: 520px; }
.phone-mockup__screen {
  width: 100%; height: 100%;
  background: var(--bg); border-radius: 28px; overflow: hidden; position: relative;
}
.phone-mockup__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #2e3a3f; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-mockup__content { padding: 32px 14px 14px; height: 100%; display: flex; flex-direction: column; }

/* Phone mockup — hero screen (odwzorowuje HomeScreen aplikacji) */
.phone-hero-screen {
  width: 100%; height: 100%; position: relative;
  background: var(--bg); display: flex; flex-direction: column; align-items: stretch;
}
.phone-hero-screen__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 14px 9px;
  flex-shrink: 0;
}
.phone-hero-screen__logo-row { display: flex; align-items: center; gap: 6px; }
.phone-hero-screen__logo-row img { width: 22px; height: 22px; }
.phone-hero-screen__logo-row span {
  font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--primary);
}
.phone-mock-burger { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.phone-mock-burger span { height: 2px; background: var(--primary); border-radius: 1px; display: block; }

/* Scrollable body — treść wyśrodkowana jak w aplikacji */
.phone-hero-screen__body {
  padding: 12px 12px 0; flex: 1; display: flex; flex-direction: column;
  justify-content: center; gap: 9px;
}

/* Nagłówek — wyśrodkowany */
.phone-mock-header { text-align: center; }
.phone-mock-headline {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--primary); line-height: 1.3; margin-bottom: 5px;
}
.phone-mock-subtitle { font-size: 8px; color: var(--text-muted); line-height: 1.4; }

/* Pole input */
.phone-mock-input-card {
  background: var(--card); border: 2px solid var(--border-light);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.phone-mock-input-text {
  padding: 9px 10px 18px; font-size: 8px; color: var(--text-light); line-height: 1.4;
}
.phone-mock-input-footer {
  display: flex; justify-content: flex-end; padding: 6px 8px;
}
.phone-mock-btn {
  background: var(--border-light); color: var(--text-light);
  font-size: 8px; font-weight: 700; padding: 5px 11px; border-radius: 7px;
}

/* Kafelek przykładów — tło jak w aplikacji (colors.primaryLight) */
.phone-mock-example {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary-light); border: 1.5px solid rgba(26,107,122,0.19);
  border-radius: 10px; padding: 8px 10px;
}
.phone-mock-example-title { font-size: 8px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.phone-mock-example-sub { font-size: 7px; color: var(--text-muted); }
.phone-mock-chevron { font-size: 16px; color: var(--text-light); line-height: 1; margin-left: auto; }

/* Bottom bar */
.phone-mock-bottombar {
  border-top: 1px solid var(--border-light); background: var(--bg); flex-shrink: 0;
}
.phone-mock-bottombar-row {
  display: flex; justify-content: space-around; padding: 7px 4px 6px;
}
.phone-mock-bottombar-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1;
}
.phone-mock-bottombar-item ion-icon { font-size: 14px; color: var(--primary); }
.phone-mock-bottombar-label { font-size: 5.5px; color: var(--primary); text-align: center; line-height: 1.2; }

/* ============================================
   PHONE MOCK — pmock-* shared components
   (odwzorowują dokładnie wygląd aplikacji)
   ============================================ */
.pmock-screen {
  width: 100%; height: 100%; background: #F5F3EE;
  display: flex; flex-direction: column; overflow: hidden;
}

/* AppBar */
.pmock-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 10px 7px;
  background: #F5F3EE; border-bottom: 1px solid #ECEAE4; flex-shrink: 0;
}
.pmock-appbar__logo-row { display: flex; align-items: center; gap: 5px; }
.pmock-appbar__logo { width: 18px; height: 18px; object-fit: contain; display: block; }
.pmock-appbar__title {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: #0F4C5C; letter-spacing: -0.2px;
}
.pmock-burger { display: flex; flex-direction: column; gap: 2.5px; width: 13px; }
.pmock-burger span { height: 1.5px; background: #0F4C5C; border-radius: 1px; display: block; }

/* HomeScreen content */
.pmock-home-content {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; gap: 8px; padding: 10px 10px 4px;
}
.pmock-home-header { text-align: center; }
.pmock-home-headline {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: #0F4C5C; line-height: 1.3; margin-bottom: 4px; white-space: pre-line;
}
.pmock-home-subtitle { font-size: 9px; color: #7C8298; line-height: 1.4; text-align: center; }

/* Input card */
.pmock-input-card {
  background: #FFFFFF; border-radius: 10px; border: 1.5px solid #DDD9D1; overflow: hidden;
}
.pmock-input-placeholder {
  padding: 8px 9px 64px; font-size: 9px; color: #A8ADBE; line-height: 1.4;
}
.pmock-input-footer { display: flex; justify-content: flex-end; padding: 4px 7px; }
.pmock-submit-btn {
  font-size: 9px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}
.pmock-submit-btn--disabled { background: #ECEAE4; color: #A8ADBE; }
.pmock-submit-btn--active { background: #0F4C5C; color: #fff; }

/* Example card */
.pmock-example-card {
  display: flex; align-items: center;
  background: #D6EEF2; border: 1px solid rgba(26,107,122,0.19);
  border-radius: 8px; padding: 7px 9px; position: relative;
}
.pmock-example-text { flex: 1; text-align: center; padding: 0 16px 0 8px; }
.pmock-example-title { font-size: 9px; font-weight: 700; color: #0F4C5C; }
.pmock-example-sub { font-size: 8px; color: #7C8298; margin-top: 1px; }
.pmock-chevron { font-size: 14px; color: #0F4C5C; line-height: 1; position: absolute; right: 8px; }

/* BottomBar */
.pmock-bottombar { background: #F5F3EE; flex-shrink: 0; }
.pmock-bottombar-sep { height: 1px; background: #ECEAE4; }
.pmock-bottombar-row { display: flex; justify-content: space-around; padding: 5px 2px; }
.pmock-bottombar-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1;
}
.pmock-bottombar-item ion-icon { font-size: 14px; color: #0F4C5C; }
.pmock-bottombar-item span { font-size: 7px; color: #0F4C5C; text-align: center; }
.pmock-bottombar-logo { width: 14px; height: 14px; object-fit: contain; display: block; }

/* ============================================
   PHONE MOCK — LoadingL2 screen
   ============================================ */
.pmock-loading-screen {
  width: 100%; height: 100%; background: #F5F3EE;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 120px 12px 100px; gap: 28px;
}
.pmock-loading-top {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pmock-loading-logo { width: 42px; height: 42px; object-fit: contain; display: block; }
.pmock-loading-stage { font-size: 10px; font-weight: 600; color: #374151; }
.pmock-loading-sub { font-size: 8.5px; color: #7C8298; text-align: center; }
.pmock-progress-track {
  width: 120px; height: 3px; background: #ECEAE4; border-radius: 3px; overflow: hidden;
}
.pmock-progress-fill { width: 66.7%; height: 100%; background: #0E7490; border-radius: 3px; }
.pmock-tip-card {
  background: #FFFFFF; border: 1px solid #ECEAE4; border-radius: 9px;
  padding: 10px; width: 100%;
  display: flex; flex-direction: column; gap: 5px;
}
.pmock-tip-label { font-size: 8px; font-weight: 600; color: #7C8298; }
.pmock-tip-text { font-size: 9px; color: #374151; line-height: 1.45; }

/* ============================================
   PHONE MOCK — ReportScreen content
   ============================================ */
.pmock-report-content {
  flex: 1; overflow: hidden; padding: 6px 9px 4px;
  display: flex; flex-direction: column; gap: 3px;
}
.pmock-back-btn {
  display: inline-flex; align-items: center; gap: 3px;
  background: #D6EEF2; border-radius: 5px; padding: 3px 7px;
  align-self: flex-start; margin-bottom: 3px;
}
.pmock-back-btn ion-icon { font-size: 11px; color: #0F4C5C; }
.pmock-back-btn span { font-size: 8.5px; font-weight: 700; color: #0F4C5C; }
.pmock-url-chip {
  display: flex; align-items: center; gap: 4px;
  background: #FFFFFF; border-radius: 6px; border: 1px solid #ECEAE4;
  padding: 4px 7px; margin-bottom: 3px; overflow: hidden;
}
.pmock-url-chip span:first-child { font-size: 8px; flex-shrink: 0; line-height: 1; }
.pmock-url-chip span:last-child {
  font-size: 8px; color: #7C8298;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pmock-semaphore {
  display: flex; align-items: flex-start; gap: 7px;
  background: #FFFFFF; border-radius: 9px; padding: 7px;
  border: 1px solid #ECEAE4; margin-bottom: 3px;
}
.pmock-semaphore__dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.pmock-semaphore--green .pmock-semaphore__dot { background: #15803D; }
.pmock-semaphore--yellow .pmock-semaphore__dot { background: #CA8A04; }
.pmock-semaphore--red   .pmock-semaphore__dot { background: #B91C1C; }
.pmock-semaphore__content { flex: 1; }
.pmock-semaphore__label {
  font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px;
}
.pmock-semaphore--green .pmock-semaphore__label { color: #15803D; }
.pmock-semaphore--yellow .pmock-semaphore__label { color: #CA8A04; }
.pmock-semaphore--red   .pmock-semaphore__label { color: #B91C1C; }
.pmock-semaphore__text { font-size: 8.5px; color: #374151; line-height: 1.4; }
.pmock-section-label {
  font-size: 7.5px; font-weight: 700; color: #1A6B7A; text-transform: uppercase;
  letter-spacing: .5px; margin-top: 2px; margin-bottom: 1px;
}
.pmock-obs {
  border-left: 2.5px solid; border-radius: 0 5px 5px 0;
  padding: 5px 6px; margin-bottom: 2px; font-size: 8.5px; color: #374151; line-height: 1.35;
}
.pmock-obs--green  { background: #DCFCE7; border-left-color: #15803D; }
.pmock-obs--yellow { background: #FEF9C3; border-left-color: #CA8A04; }
.pmock-obs--red    { background: #FEE2E2; border-left-color: #B91C1C; }
.pmock-obs--neutral{ background: #F0EFEB; border-left-color: #6B7280; }
.pmock-source-chip {
  display: flex; align-items: center; gap: 5px;
  background: #FFFFFF; border-radius: 6px; border: 1px solid #ECEAE4;
  padding: 4px 7px; margin-bottom: 0px;
}
.pmock-source-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pmock-source-dot--green   { background: #15803D; }
.pmock-source-dot--red     { background: #B91C1C; }
.pmock-source-dot--neutral { background: #6B7280; }
.pmock-source-content { flex: 1; }
.pmock-source-label { font-size: 8.5px; font-weight: 700; color: #111827; }
.pmock-source-desc  { font-size: 7.5px; color: #7C8298; }
.pmock-source-arrow { font-size: 10px; color: #7C8298; font-weight: 700; }

/* ============================================
   PHONE MOCK — LoadingL2 screen (old, kept for compat)
   ============================================ */
.phone-loading-screen {
  width: 100%; height: 100%; background: var(--bg);
  display: flex; flex-direction: column;
}
.phone-loading-screen__body {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 16px; padding: 12px;
}
.phone-loading-screen__status {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.phone-loading-screen__label {
  font-size: 8.5px; color: var(--text-muted); font-weight: 600;
}
.phone-loading-dots { display: flex; gap: 5px; align-items: center; }
.phone-loading-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cta);
}
.phone-loading-dots span:nth-child(1) { opacity: 0.35; }
.phone-loading-dots span:nth-child(2) { opacity: 0.65; }
.phone-loading-dots span:nth-child(3) { opacity: 1; }
.phone-loading-tip {
  background: var(--primary-light); border: 1.5px solid rgba(14,116,144,.2);
  border-radius: 10px; padding: 9px 10px; width: 100%;
}
.phone-loading-tip__header {
  display: flex; align-items: center; gap: 4px; margin-bottom: 5px;
}
.phone-loading-tip__header ion-icon { font-size: 9px; color: var(--cta); flex-shrink: 0; }
.phone-loading-tip__header span {
  font-size: 7px; font-weight: 800; color: var(--cta);
  text-transform: uppercase; letter-spacing: .5px;
}
.phone-loading-tip__text { font-size: 8px; color: var(--text-body); line-height: 1.45; }

/* ============================================
   PHONE MOCK — Report screen
   ============================================ */
.phone-report-screen {
  width: 100%; height: 100%; background: var(--bg);
  display: flex; flex-direction: column;
}
.phone-report-screen__topbar {
  display: flex; align-items: center; padding: 36px 12px 8px; flex-shrink: 0;
}
.phone-report-back { display: flex; align-items: center; gap: 3px; }
.phone-report-back ion-icon { font-size: 13px; color: var(--cta); }
.phone-report-back span { font-size: 8px; font-weight: 700; color: var(--cta); }
.phone-report-screen__body {
  flex: 1; overflow: hidden; padding: 4px 11px 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.phone-report-semaphore {
  display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 2px;
}
.phone-report-semaphore__dot { width: 28px; height: 28px; border-radius: 50%; }
.phone-report-semaphore__dot--yellow { background: var(--warning); }
.phone-report-semaphore__dot--green  { background: var(--success); }
.phone-report-semaphore__dot--red    { background: var(--danger); }
.phone-report-semaphore__label { font-size: 8.5px; font-weight: 800; color: var(--warning); }
.phone-report-section-label {
  font-size: 7.5px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
}
.phone-report-section-label--mt { margin-top: 2px; }
.phone-report-obs {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 7.5px; color: var(--text-body); line-height: 1.4;
}
.phone-report-obs__dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
}
.phone-report-obs--green .phone-report-obs__dot { background: var(--success); }
.phone-report-obs--yellow .phone-report-obs__dot { background: var(--warning); }
.phone-report-obs--red    .phone-report-obs__dot { background: var(--danger); }
.phone-report-sources { display: flex; flex-wrap: wrap; gap: 4px; }
.phone-report-source-chip {
  font-size: 6.5px; color: var(--cta); background: var(--primary-light);
  border-radius: 4px; padding: 2px 5px; border: 1px solid rgba(14,116,144,.2);
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission { background: var(--card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.mission__intro { font-size: 1.05rem; text-align: center; max-width: 800px; margin: 0 auto 48px; }
.how-to-use > .container > p,
.how-it-works > .container > p { font-size: 1.05rem; color: var(--text-body); }
.mission__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission__value {
  text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--bg);
  border: 1.5px solid var(--border-light);
}
.mission__value-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  background: var(--primary-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.mission__value-icon ion-icon { font-size: 26px; color: var(--cta); }
.mission__value h3 { margin-bottom: 8px; color: var(--primary); }
.mission__value p   { font-size: .92rem; color: var(--text-muted); }

@media (max-width: 768px) { .mission__values { grid-template-columns: 1fr; } }

/* ============================================
   HOW TO USE SECTION
   ============================================ */
.how-to-use { background: var(--bg); }
.how-to-use__grid { display: flex; flex-direction: column; gap: 64px; margin-top: 48px; }
.how-to-use__step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.how-to-use__step:nth-child(even) { direction: rtl; }
.how-to-use__step:nth-child(even) > * { direction: ltr; }
.how-to-use__text { max-width: 440px; }
.how-to-use__step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cta); color: #fff; font-weight: 800; font-size: 1rem;
  font-family: var(--font-display); margin-bottom: 12px;
}
.how-to-use__text h3 { font-size: 1.25rem; margin-bottom: 10px; }
.how-to-use__text p  { color: var(--text-muted); font-size: .95rem; }
.see-animation { display: flex; align-items: center; gap: 5px; margin-top: 18px; color: var(--primary); font-weight: 600; font-size: 0.95rem; justify-content: flex-end; }
.how-step__play-btn { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--primary); font-weight: 600; font-size: 0.95rem; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; text-decoration: none; transition: opacity 0.2s; }
.how-step__play-btn ion-icon { font-size: 1.4rem; }
.how-step__play-btn--running { color: var(--text-muted); cursor: default; pointer-events: none; }
.see-animation ion-icon { font-size: 1.5rem; }
.how-to-use__step:nth-child(even) .see-animation { justify-content: flex-start; }

@media (max-width: 768px) {
  .how-to-use__step { grid-template-columns: 1fr; gap: 24px; }
  .how-to-use__step:nth-child(even) { direction: ltr; }
  .see-animation { justify-content: center; }
  .how-to-use__step:nth-child(even) .see-animation { justify-content: center; }
  .see-animation ion-icon[name="arrow-forward-circle-outline"] { transform: rotate(90deg); }
  .see-animation ion-icon[name="arrow-back-circle-outline"] { transform: rotate(-90deg); }
}

/* ============================================
   HOW IT WORKS SECTION (was "Co otrzymasz")
   ============================================ */
.how-it-works { background: var(--card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.how-it-works__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }

.how-it-works__col {
  padding: 28px 28px 28px 32px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-left-width: 4px;
}
.how-it-works__col--yes { border-left-color: var(--success); }
.how-it-works__col--no  { border-left-color: var(--danger); }

.how-it-works__col h3 { font-size: 1.05rem; margin-bottom: 16px; }
.how-it-works__col--yes h3 { color: var(--success); }
.how-it-works__col--no  h3 { color: var(--danger); }

.how-it-works__col ul { list-style: none; padding: 0; }
.how-it-works__col li { padding: 6px 0 6px 28px; position: relative; font-size: .93rem; }
.how-it-works__col li::before { position: absolute; left: 0; font-weight: 700; }
.how-it-works__col--yes li::before { content: '✓'; color: var(--success); }
.how-it-works__col--no  li::before { content: '✗'; color: var(--danger); }

.how-it-works__alert {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid var(--border-light);
  display: flex; align-items: flex-start; gap: 16px;
}
.how-it-works__alert-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #fff; border-radius: 10px; border: 1.5px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
.how-it-works__alert-icon ion-icon { font-size: 22px; color: var(--danger); }
.how-it-works__alert-text strong { color: var(--text); }
.how-it-works__alert-text p { font-size: .93rem; color: var(--text-muted); }

@media (max-width: 768px) { .how-it-works__cols { grid-template-columns: 1fr; } }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq { background: var(--bg); }
.faq__list { max-width: var(--content-width); margin: 32px auto 0; }
.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__item:last-child { border-bottom: none; }
.faq__question {
  width: 100%; background: none; border: none;
  padding: 18px 40px 18px 0; text-align: left; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  color: var(--text); position: relative; line-height: 1.5;
}
.faq__question::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--text-light); transition: color .2s;
}
.faq__item.open .faq__question::after { content: '\2212'; color: var(--cta); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__item.open .faq__answer { max-height: 800px; }
.faq__answer p { padding: 0 0 18px; color: var(--text-muted); font-size: .93rem; line-height: 1.7; }
.faq__more { text-align: center; margin-top: 32px; }

/* ============================================
   DOWNLOAD CTA SECTION
   ============================================ */
.download-cta { background: #0c6078; text-align: center; padding: 72px 0; }
.download-cta h2 { color: #fff; margin-bottom: 12px; }
.download-cta p  { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1.05rem; }
.download-cta__badges { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.download-cta__store { text-align: center; }
/* Kontener badge — obie kolumny identycznej wysokości */
.download-cta__badge-wrap {
  height: 66px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.download-cta__badge-wrap .badge--apple {
  height: 52px; width: auto; border-radius: 8px; display: block;
}
/* Google Play PNG ma transparentne marginesy ~ 14px (7px góra+dół)
   Zwiększamy CSS height żeby widoczna czarna treść = ~52px */
.download-cta__badge-wrap .badge--android {
  height: 66px; width: auto; border-radius: 8px; display: block;
}
.download-cta__store .qr {
  width: 92px; height: 92px; margin: 0 auto 24px;
  background: #fff; border-radius: 8px; padding: 6px;
  display: flex; align-items: center; justify-content: center;
}
.download-cta__store .qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.download-cta__store .qr--clickable { cursor: pointer; transition: box-shadow .2s; }
.download-cta__store .qr--clickable:hover { box-shadow: 0 0 0 2px var(--cta); }
.download-cta__store .label { font-size: .78rem; color: rgba(255,255,255,.55); }
.download-cta__store--soon { opacity: 0.5; }
.download-cta__store--soon .download-cta__badge-wrap { margin-bottom: 0; }
.download-cta__store--soon .badge--apple { filter: grayscale(1); pointer-events: none; }
.download-cta__soon-chip {
  display: inline-block; font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 2px 10px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .8px;
}
@media (max-width: 600px) {
  .download-cta__store .qr { display: none; }
  .download-cta__store .label { display: none; }
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */
/* Breadcrumb navigation */
.blog-breadcrumb {
  font-size: 0.78rem; color: var(--text-light);
  margin-bottom: 28px; line-height: 1.4;
}
.blog-breadcrumb a { color: var(--text-light); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--cta); text-decoration: underline; }

/* Guide tagline (h2 subtitle under h1) */
.guide-tagline {
  margin-top: 30px !important; margin-bottom: 1em !important;
}

/* Guide intro paragraph */
.guide-intro { margin-bottom: 0.5em; }

/* Blog link sentence — hidden in WebView */
.guide-blog-ref { margin-bottom: 1.5em; }

/* "Czytaj artykuł" icon in FAQ answers — size and vertical alignment */
.faq__answer a ion-icon {
  font-size: 1.15em;
  vertical-align: middle;
  margin-left: 3px;
  position: relative; top: -1px;
}

/* Blog article page */
.blog-article__category {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--cta); margin-bottom: 20px;
}
.blog-article__tip-box {
  background: var(--primary-light); border-left: 3px solid var(--cta);
  border-radius: 6px; padding: 12px 16px; margin: 1.2em 0;
  font-weight: 600; color: var(--primary);
}
.blog-article__intro { margin-bottom: 1.2em; }
.blog-article__stub-notice {
  background: var(--bg-deep); border-radius: 8px;
  padding: 14px 18px; margin: 1.4em 0; font-size: 0.9rem; color: var(--text-muted);
}
.blog-article__stub-notice a { color: var(--cta); }
.blog-article__faq { margin-top: 1.6em; }
.blog-article__faq h2 { font-size: 1.05rem; color: var(--primary); margin-bottom: .5em; }
.blog-article__faq p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }
.blog-article__back { margin-top: 2em; font-size: 0.9rem; }
.blog-related { margin-top: 1.6em; }
.blog-related h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5em; }
.blog-related ul { list-style: none; padding: 0; }
.blog-related li { margin-bottom: 0.35em; }
.blog-related a { color: var(--cta); font-size: 0.9rem; }

/* Blog index page */
.blog-index { max-width: var(--content-width); margin: 0 auto; padding: 36px 24px 72px; }
.blog-index__sub { color: var(--text-muted); margin-bottom: 2em; }
.blog-category { margin-bottom: 2.4em; padding: 0; }
.blog-category__header {
  display: flex; align-items: center; gap: 12px;
  background: var(--primary-light); border: 1.5px solid rgba(26,107,122,0.2);
  border-radius: var(--radius); padding: 10px 16px;
  margin-bottom: 1em;
}
.blog-category__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.blog-category__icon ion-icon { font-size: 24px; color: var(--cta); }
.blog-category__meta { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.blog-category__header .blog-category__title { border-bottom: none; margin: 0; padding-bottom: 0; color: var(--primary); font-size: 1.15rem; }
.blog-category__count { font-size: 0.8rem; font-weight: 600; color: var(--primary-mid); margin-left: 15px; }
.blog-category__count::before { content: ''; margin-right: 0; }
.blog-category__title {
  font-size: 1rem; font-weight: 700; color: var(--primary-mid);
  border-bottom: 2px solid var(--border-light); padding-bottom: 6px; margin-bottom: 1em;
}
.blog-card { padding: 8px 0 10px; border-bottom: 1px solid var(--border-light); }
.blog-card:last-child { border-bottom: none; }
.blog-card .blog-card__title { font-size: 1.08rem; font-weight: 700; margin-top: 15px; margin-bottom: 12px; }
.blog-card__title a { color: var(--primary); text-decoration: none; }
.blog-card__title a:hover { color: var(--cta); }
.blog-card__intro { font-size: 0.88rem; color: var(--text-muted); margin-bottom: .5em; line-height: 1.55; }
.blog-card__link { font-size: 0.88rem; font-weight: 400; color: var(--cta); display: inline-flex; align-items: center; gap: 4px; }
.blog-card__link ion-icon { font-size: 1.1em; position: relative; top: 1px; }

.subpage {
  max-width: var(--content-width); margin: 0 auto; padding: 36px 24px 72px;
}
.subpage h1 {
  font-size: 1.6rem; font-weight: 800;
  border-bottom: 3px solid var(--cta); padding-bottom: 10px; margin-bottom: 22px;
}
.subpage h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--primary-mid);
  margin-top: 2em; margin-bottom: .9em;
}

/* FAQ — nagłówki sekcji (Ogólne, Analiza i wyniki itd.) */
.subpage .faq-section-header {
  display: flex; align-items: center; gap: 12px;
  margin-top: 2em; margin-bottom: .8em;
}
.subpage .faq-section-header h2 {
  margin: 0; font-size: 1.15rem; color: var(--primary-mid);
}
.subpage .faq-section-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.subpage .faq-section-icon ion-icon { font-size: 24px; color: var(--cta); }
.subpage h3 { font-size: 1em; font-weight: 700; color: var(--primary); margin-bottom: .4em; }
.subpage .meta { color: var(--text-light); font-size: .9rem; margin-bottom: 1.5em; }
.subpage p   { color: var(--text-body); margin-bottom: .9em; }
.subpage a   { color: var(--cta); }

.subpage ul, .subpage ol { padding-left: 0.8em; margin-bottom: 1em; }
.subpage li  { margin-bottom: .35em; }

/* highlight / warning boxes */
.subpage .highlight {
  background: var(--primary-glow); border-left: 3px solid var(--cta);
  padding: 12px 16px; margin: 1.2em 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.subpage .warning {
  background: transparent; border: 1.5px solid var(--border-light);
  padding: 16px 20px; margin: 1.2em 0; border-radius: var(--radius);
  display: flex; align-items: flex-start; gap: 14px;
}
.subpage .warning-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #fff; border-radius: 8px; border: 1.5px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
.subpage .warning-icon ion-icon { font-size: 20px; color: var(--danger); }
.subpage .warning-body { flex: 1; }
.subpage .warning-body strong { color: var(--text); }
.subpage .warning-body p { font-size: .93rem; color: var(--text-muted); margin-bottom: 0; }

/* Tables */
.subpage table  { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .9em; }
.subpage th, .subpage td { border: 1px solid var(--border-light); padding: 8px 12px; text-align: left; vertical-align: top; }
.subpage th { background: var(--primary-glow); font-weight: 700; color: var(--primary); font-size: .85em; text-transform: uppercase; letter-spacing: .4px; }
.subpage td { color: var(--text-body); }

/* Section title (FAQ subpage) */
.subpage .section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05em;
  color: var(--primary-mid); margin-top: 2em; margin-bottom: .5em; display: block;
}

/* FAQ accordion on subpage */
.subpage details { border-bottom: 1px solid var(--border-light); padding: 12px 0; }
.subpage details:last-of-type { border-bottom: none; }
.subpage summary { font-weight: 600; cursor: pointer; padding: 4px 0; font-size: 1.02em; }
.subpage summary:hover { color: var(--cta); }
.subpage details p { margin: 8px 0 4px; color: var(--text-muted); }

/* Scenario cards (how-to-use subpage) */
.subpage .scenario {
  background: var(--card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px;
}
.subpage .scenario-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.subpage .scenario-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.subpage .scenario-icon-wrap ion-icon { font-size: 24px; color: var(--cta); }
.subpage .scenario-title { font-size: 1.15rem; font-weight: 700; color: var(--primary-mid); margin: 0; font-family: var(--font-display); }
.subpage .scenario-when { color: var(--text-muted); font-size: .92em; font-style: italic; margin-bottom: 12px; }

/* Steps counter */
.subpage .steps { counter-reset: step; padding-left: 0; list-style: none; }
.subpage .steps li { counter-increment: step; padding-left: 34px; position: relative; margin-bottom: 9px; }
.subpage .steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; background: var(--cta); color: #fff;
  border-radius: 50%; font-size: .8em; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* How-step (how-to-use subpage z mockupami) */
.how-step {
  margin-top: 40px; margin-bottom: 16px;
}
.how-step__header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.how-step__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; font-family: var(--font-display);
  flex-shrink: 0;
}
/* Wyższa specyficzność niż .subpage h2 (margin-top: 2em) */
.how-step__header .how-step__title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--primary); margin: 0; line-height: 1.25;
}
.how-step__desc {
  color: var(--text-muted); font-size: 1rem; line-height: 1.6;
  margin: 0 0 12px;
}
.how-step__list {
  margin: 0 0 24px; padding-left: 0;
  list-style: none; counter-reset: how-list;
}
.how-step__list li {
  color: var(--text-body); font-size: 1rem; line-height: 1.6;
  font-family: var(--font-body);
  margin-bottom: 8px;
  counter-increment: how-list;
  position: relative;
  padding-left: 1.4em;
}
.how-step__list li::before {
  content: counter(how-list) ".";
  position: absolute; left: 0;
  color: var(--primary); font-weight: 700;
}
.how-step__mockup {
  display: flex; justify-content: center;
  margin-top: 35px; margin-bottom: 28px;
}

/* tip box */
.subpage .tip {
  background: var(--primary-glow); border-left: 3px solid var(--cta);
  padding: 12px 16px; margin-top: 42px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95em;
}

/* About values */
.subpage .values { display: flex; gap: 20px; margin: 1.5em 0; flex-wrap: wrap; }
.subpage .value {
  flex: 1; min-width: 180px;
  background: var(--card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 20px;
}
.subpage .value-icon {
  width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.subpage .value-icon ion-icon { font-size: 24px; color: var(--cta); }
.subpage .value h3 { color: var(--primary-mid); margin-bottom: 6px; font-size: 1em; }
.subpage .value p  { margin: 0; font-size: .92em; color: var(--text-muted); }

/* Contact cards */
.subpage .contact-card {
  background: var(--card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 20px;
}
.subpage .contact-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.subpage .contact-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.subpage .contact-card-icon ion-icon { font-size: 24px; color: var(--cta); }
.subpage .contact-card h2 { font-size: 1.15rem; margin-top: 0; margin-bottom: 0; color: var(--primary-mid); }
.subpage .email-link { font-size: 1.05em; font-weight: 600; }

/* how-it-works cols on subpage */
.subpage .cols { display: flex; gap: 24px; margin: 1em 0; }
.subpage .cols .col { flex: 1; }
.subpage .cols .col h2 { font-size: 1.05em; margin-top: 0; }
.subpage .yes { color: var(--success); }
.subpage .no  { color: var(--danger); }

/* Czym jest/nie jest cards on subpage */
.subpage .how-col {
  padding: 20px 20px 20px 24px; border-radius: var(--radius);
  background: var(--card); border: 1.5px solid var(--border-light);
  border-left-width: 4px; margin-bottom: 16px;
}
.subpage .how-col--yes { border-left-color: var(--success); }
.subpage .how-col--no  { border-left-color: var(--danger); }
.subpage .how-col h2 { font-size: 1.05em; margin-top: 0; margin-bottom: 12px; }
.subpage .how-col--yes h2 { color: var(--success); }
.subpage .how-col--no  h2 { color: var(--danger); }
.subpage .how-col ul { padding-left: 0; list-style: none; }
.subpage .how-col li { padding-left: 24px; position: relative; margin-bottom: 6px; font-size: .93em; }
.subpage .how-col--yes li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.subpage .how-col--no  li::before { content: '✗'; position: absolute; left: 0; color: var(--danger);  font-weight: 700; }

/* open-source-licenses summary box */
.subpage .summary-box {
  background: var(--primary-glow); border-left: 3px solid var(--cta);
  padding: 12px 16px; margin: 1em 0 1.5em;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92em; line-height: 1.6;
}
.license-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 1px 7px; border-radius: 4px; font-size: .83em; font-weight: 700;
}

/* ============================================
   HOW-TO-USE MOCK 1 — Share sheet animation
   ============================================ */

/* Browser layout */
.how-mock-1 {
  height: 100%; display: flex; flex-direction: column; padding: 32px 0 0;
}
.how-mock-1__toolbar {
  display: flex; align-items: center; gap: 5px;
  padding: 0 10px; margin-bottom: 6px; flex-shrink: 0;
}
.how-mock-1__back {
  font-size: 18px; color: var(--text-muted); line-height: 1; width: 12px; text-align: center;
}
.how-mock-1__url-bar {
  flex: 1; height: 16px; background: var(--border-light); border-radius: 4px;
  display: flex; align-items: center; padding: 0 6px;
  font-size: 7px; color: var(--text-muted); overflow: hidden; white-space: nowrap;
}
.how-mock-1__dots {
  display: flex; flex-direction: column; align-items: center; gap: 2.5px;
  padding: 5px 4px; border-radius: 6px; flex-shrink: 0;
  transition: background 0.15s, box-shadow 0.15s;
  position: relative; overflow: visible;
}
.how-mock-1__dots span {
  width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--text-muted);
  display: block; transition: background 0.15s;
}
.how-mock-1__dots.tapped {
  background: rgba(14,116,144,0.22);
  box-shadow: 0 0 0 5px rgba(14,116,144,0.13);
  animation: mock1DotsBounce 0.28s ease-out;
}
.how-mock-1__dots.tapped span { background: var(--cta); }

/* Tap cursor */
.how-mock-1__tap-cursor {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(14,116,144,0.25);
  border: 2px solid rgba(14,116,144,0.8);
  box-shadow: 0 0 0 0 rgba(14,116,144,0.4);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}
.how-mock-1__tap-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: mock1CursorPulse 0.7s ease-in-out infinite;
}
@keyframes mock1CursorPulse {
  0%   { box-shadow: 0 0 0 0 rgba(14,116,144,0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(14,116,144,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,116,144,0); }
}

/* Ripple */
.how-mock-1__ripple {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(14,116,144,0.42);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.how-mock-1__ripple.active {
  animation: mock1Ripple 0.55s ease-out forwards;
}
@keyframes mock1Ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
@keyframes mock1DotsBounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.55); }
  65%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Grafika u góry artykułu */
.how-mock-1__article-img {
  width: 100%; height: 90px; flex-shrink: 0;
  background: url('/assets/pexels-salome-salazar-ravagli-1447387235-34235385_v2.webp') center/cover no-repeat;
}

/* Artykuł — wypełnia resztę ekranu */
.how-mock-1__article {
  background: var(--card); flex: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 0; padding: 0 10px 10px;
}
/* Badge kategorii */
.how-mock-1__badge {
  display: inline-block; font-size: 6.5px; font-weight: 800; letter-spacing: .5px;
  color: var(--cta); background: var(--primary-light);
  padding: 2px 6px; border-radius: 3px; margin: 7px 0 5px; align-self: flex-start;
}
/* Tytuł tekstowy */
.how-mock-1__title {
  font-family: var(--font-display); font-weight: 800; font-size: 9.5px; line-height: 1.35;
  color: var(--text); margin-bottom: 5px;
}
/* Meta: autor + data */
.how-mock-1__article-meta {
  display: flex; align-items: center; gap: 4px; margin-bottom: 6px; flex-shrink: 0;
}
.how-mock-1__meta-avatar {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border); flex-shrink: 0;
}
.how-mock-1__meta-text { font-size: 6.5px; color: var(--text-muted); }
/* Linie tekstu */
.how-mock-1__line {
  height: 5.5px; background: var(--border-light); border-radius: 2px; flex-shrink: 0;
  margin-bottom: 4px;
}
.how-mock-1__line--gap { margin-top: 4px; background: transparent; margin-bottom: 0; }
/* Grafika w treści artykułu */
.how-mock-1__inline-img {
  width: 100%; height: 48px; flex-shrink: 0;
  background: url('/assets/pexels-rafael-yepez-1058122622-36796690_v2.webp') center/cover no-repeat;
  border-radius: 4px; margin: 5px 0;
}
/* Śródtytuł tekstowy */
.how-mock-1__subheading-text {
  font-family: var(--font-display); font-weight: 700; font-size: 8px;
  color: var(--primary); margin: 2px 0 5px;
}

/* Dropdown — 60% szer. ekranu, 50% wys. ekranu */
.how-mock-1__dropdown {
  position: absolute; top: 54px; right: 8px;
  width: 60%; height: 50%;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  padding: 4px 0; z-index: 10; overflow: hidden;
  opacity: 0; transform: scale(0.88) translateY(-6px); transform-origin: top right;
  transition: opacity 0.38s ease, transform 0.38s ease; pointer-events: none;
  display: flex; flex-direction: column;
}
.how-mock-1__dropdown.visible {
  opacity: 1; transform: scale(1) translateY(0);
}
.how-mock-1__dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  font-size: 9.5px; color: var(--text); flex-shrink: 0;
  transition: background 0.15s;
}
.how-mock-1__dropdown-item ion-icon { font-size: 13px; color: var(--text-body); flex-shrink: 0; }
.how-mock-1__dropdown-sep {
  height: 1px; background: var(--border-light); margin: 2px 0; flex-shrink: 0;
}
/* Podświetlenie "Udostępnij" po tapnięciu */
.how-mock-1__dropdown-item--share.active {
  background: rgba(14,116,144,0.32); color: var(--cta);
}
.how-mock-1__dropdown-item--share.active ion-icon { color: var(--cta); }

/* Overlay przyciemniający (pojawia się razem ze sheetem) */
.how-mock-1__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.42);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 7;
}
.how-mock-1__overlay.visible { opacity: 1; }

/* Share sheet */
.how-mock__sheet {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--card); border-top: 1px solid var(--border-light);
  border-radius: 12px 12px 0 0; padding: 8px 14px 18px;
  transform: translateY(100%); transition: transform 0.55s cubic-bezier(.4,0,.2,1); z-index: 8;
}
.how-mock__sheet.visible { transform: translateY(0); }
.how-mock__sheet-handle {
  width: 28px; height: 3px; background: var(--border); border-radius: 2px; margin: 0 auto 8px;
}
.how-mock__sheet-title {
  text-align: center; font-size: 9px; font-weight: 600;
  color: var(--text-body); margin-bottom: 12px;
}
.how-mock__sheet-apps { display: flex; gap: 10px; justify-content: center; align-items: flex-start; }

/* Wrapper dla SiftMate (ikona + napis skalują się razem) */
.how-mock__app-wrapper {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform 0.2s ease;
  transform-origin: center bottom;
}
.how-mock__app { display: flex; flex-direction: column; align-items: center; }
.how-mock__app-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
/* SiftMate icon — białe tło + kolorowe logo */
.how-mock__app-ico--sm {
  background: #fff; padding: 8px;
  border: 1.5px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.how-mock__app-ico--sm img { width: 100%; height: 100%; object-fit: contain; display: block; }
.how-mock__app-ico--empty { background: var(--border-light); }
.how-mock__app-lbl {
  font-size: 8px; font-weight: 700; color: var(--text-body);
  text-align: center; line-height: 1.2;
}
/* Glow + scale po tapnięciu — wrapper skaluje się jako całość */
.how-mock__app-wrapper.glow {
  transform: scale(1.22);
}
.how-mock__app-wrapper.glow .how-mock__app-ico--sm {
  box-shadow: 0 0 0 3px rgba(14,116,144,0.4), 0 0 16px rgba(14,116,144,0.55);
  border-color: var(--cta);
}

/* Ekran ładowania SiftMate */
.how-mock-1__loading {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  z-index: 9; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.how-mock-1__loading.visible { opacity: 1; }
.how-mock-1__loading-logo { width: 66px; height: 66px; object-fit: contain; margin-bottom: 6px; }
.how-mock-1__loading-title {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary);
}
.how-mock-1__loading-sub { font-size: 10px; color: var(--cta); margin-bottom: 6px; }
.how-mock-1__loading-bar {
  width: 140px; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden;
}
.how-mock-1__loading-fill {
  height: 100%; width: 0%; background: var(--cta); border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================
   HOW-TO-USE MOCK 2 — Long-press context menu
   ============================================ */

.how-mock-2 {
  height: 100%; display: flex; flex-direction: column; padding: 32px 0 0;
}
.how-mock-2__toolbar {
  display: flex; align-items: center; gap: 5px;
  padding: 0 10px; margin-bottom: 6px; flex-shrink: 0;
}
.how-mock-2__back { font-size: 18px; color: var(--text-muted); line-height: 1; width: 12px; text-align: center; }
.how-mock-2__url-bar {
  flex: 1; height: 16px; background: var(--border-light); border-radius: 4px;
  display: flex; align-items: center; padding: 0 6px;
  font-size: 7px; color: var(--text-muted); overflow: hidden; white-space: nowrap;
}
.how-mock-2__dots {
  display: flex; flex-direction: column; align-items: center; gap: 2.5px;
  padding: 5px 4px; border-radius: 6px; flex-shrink: 0;
}
.how-mock-2__dots span {
  width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--text-muted); display: block;
}

/* Artykuł — amber/warm tones */
.how-mock-2__article-img {
  width: 100%; height: 90px; flex-shrink: 0;
  background: url('/assets/pexels-robert-owen-wahl-98047099-11509918.webp') center/cover no-repeat;
}
.how-mock-2__article {
  background: var(--card); flex: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 0; padding: 0 10px 10px;
}
.how-mock-2__badge {
  display: inline-block; font-size: 6.5px; font-weight: 800; letter-spacing: .5px;
  color: #92400e; background: #fef3c7;
  padding: 2px 6px; border-radius: 3px; margin: 7px 0 5px; align-self: flex-start;
}
.how-mock-2__title {
  font-family: var(--font-display); font-weight: 800; font-size: 9.5px; line-height: 1.35;
  color: var(--text); margin-bottom: 5px;
}
.how-mock-2__article-meta {
  display: flex; align-items: center; gap: 4px; margin-bottom: 6px; flex-shrink: 0;
}
.how-mock-2__meta-avatar {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border); flex-shrink: 0;
}
.how-mock-2__meta-text { font-size: 6.5px; color: var(--text-muted); }
.how-mock-2__line {
  height: 5.5px; background: var(--border-light); border-radius: 2px; flex-shrink: 0;
  margin-bottom: 4px;
}
.how-mock-2__line--gap { margin-top: 4px; background: transparent; margin-bottom: 0; }
.how-mock-2__line--short { height: 5.5px; background: var(--border-light); border-radius: 2px; flex-shrink: 0; }

/* Rząd z linkiem */
.how-mock-2__line-with-link {
  display: flex; align-items: stretch; gap: 4px; margin-bottom: 4px;
  height: 7px; overflow: hidden;
}
.how-mock-2__link {
  font-size: 9px; line-height: 1; font-weight: 600; color: #1d4ed8;
  text-decoration: underline; text-underline-offset: 1px;
  white-space: nowrap; flex-shrink: 0; position: relative;
  display: flex; align-items: center;
}

/* Long-press ring */
.how-mock-2__press-ring {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,92,0.72) 0%, rgba(15,76,92,0.42) 40%, rgba(15,76,92,0.10) 65%, transparent 100%);
  filter: blur(0.2px);
  opacity: 0; pointer-events: none; z-index: 5;
  transform: scale(0.3);
  transition: opacity 0.12s ease, transform 0.4s cubic-bezier(.2,.8,.4,1);
}
.how-mock-2__press-ring.visible {
  opacity: 1; transform: scale(1);
}

/* Tap cursor mock-2 */
.how-mock-2__tap-cursor {
  position: absolute; border-radius: 50%;
  background: rgba(14,116,144,0.25);
  border: 2px solid rgba(14,116,144,0.8);
  box-shadow: 0 0 0 0 rgba(14,116,144,0.4);
  opacity: 0; pointer-events: none; z-index: 6;
  transform: scale(0);
  transition: opacity 0.2s, transform 0.2s;
}
.how-mock-2__tap-cursor.visible {
  opacity: 1;
  transform: scale(1);
  animation: mock1CursorPulse 0.7s ease-in-out 0.2s infinite;
}
/* Ripple mock-2 */
.how-mock-2__ripple {
  position: absolute; border-radius: 50%;
  background: rgba(14,116,144,0.42);
  opacity: 0; pointer-events: none; z-index: 6;
  transform: scale(0);
}
.how-mock-2__ripple.active {
  animation: mock2Ripple 0.55s ease-out forwards;
}
@keyframes mock2Ripple {
  0%   { transform: scale(0); opacity: 0.75; }
  100% { transform: scale(4); opacity: 0; }
}

.how-mock-2__inline-img {
  width: 100%; height: 48px; flex-shrink: 0;
  background: url('/assets/pexels-robert-owen-wahl-98047099-11509871.webp') center/cover no-repeat;
  border-radius: 4px; margin: 5px 0;
}
.how-mock-2__subheading-text {
  font-family: var(--font-display); font-weight: 700; font-size: 8px;
  color: var(--primary); margin: 2px 0 5px;
}

/* Context menu — centered, Chrome Android style */
.how-mock-2__context-menu {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.88);
  width: 84%; background: var(--card);
  border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.22);
  z-index: 10; overflow: hidden;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.how-mock-2__context-menu.visible {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
.how-mock-2__menu-header {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px;
}
.how-mock-2__menu-favicon {
  width: 24px; height: 24px; border-radius: 50%; background: #6b7280;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.how-mock-2__menu-domain { font-size: 9px; font-weight: 700; color: var(--text); line-height: 1.3; }
.how-mock-2__menu-url { font-size: 7px; color: var(--text-muted); line-height: 1.3; }
.how-mock-2__menu-sep { height: 1px; background: var(--border-light); }
.how-mock-2__menu-item {
  padding: 10px 14px; font-size: 10px; color: var(--text-body);
  border-bottom: 1px solid var(--border-light); cursor: default;
  transition: background 0.15s;
}
.how-mock-2__menu-item:last-child { border-bottom: none; }
.how-mock-2__menu-item--share.active {
  background: rgba(14,116,144,0.32); color: var(--cta); font-weight: 600;
}

/* Overlay */
.how-mock-2__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.38);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 7;
}
.how-mock-2__overlay.visible { opacity: 1; }

/* Share sheet — reuses .how-mock__sheet styles, needs position */
.how-mock-2__sheet {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--card); border-top: 1px solid var(--border-light);
  border-radius: 12px 12px 0 0; padding: 8px 14px 18px;
  transform: translateY(100%); transition: transform 0.55s cubic-bezier(.4,0,.2,1); z-index: 8;
}
.how-mock-2__sheet.visible { transform: translateY(0); }

/* Loading screen */
.how-mock-2__loading {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  z-index: 9; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.how-mock-2__loading.visible { opacity: 1; }
.how-mock-2__loading-logo { width: 66px; height: 66px; object-fit: contain; margin-bottom: 6px; }
.how-mock-2__loading-title {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary);
}
.how-mock-2__loading-sub { font-size: 10px; color: var(--cta); margin-bottom: 6px; }
.how-mock-2__loading-bar {
  width: 140px; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden;
}
.how-mock-2__loading-fill {
  height: 100%; width: 0%; background: var(--cta); border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================
   HOW-TO-USE MOCK 3 — Paste text into SiftMate
   ============================================ */

/* Outer wrapper fills phone screen */
.how-mock-3 {
  position: relative; display: flex; flex-direction: column;
  height: 100%; background: var(--bg); overflow: hidden;
}

/* TopBar */
.how-mock-3__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 14px 8px; background: var(--bg); flex-shrink: 0;
}
.how-mock-3__logo-row {
  display: flex; align-items: center; gap: 6px;
}
.how-mock-3__logo-row img { width: 28px; height: 28px; object-fit: contain; }
.how-mock-3__logo-row span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--primary); }
.how-mock-3__burger { display: flex; flex-direction: column; gap: 3px; cursor: default; }
.how-mock-3__burger span { display: block; width: 16px; height: 2px; background: var(--text-body); border-radius: 1px; }

/* Body */
.how-mock-3__body {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 8px 14px 16px; gap: 10px; overflow: hidden;
}
.how-mock-3__headline {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: var(--primary); line-height: 1.2; white-space: pre-line; text-align: center;
}
.how-mock-3__sub {
  font-size: 8.5px; color: var(--text-muted); line-height: 1.4;
  margin-top: -4px; text-align: center; white-space: pre-line;
}

/* Input card */
.how-mock-3__input-card {
  background: var(--card); border-radius: 10px;
  border: 1.5px solid var(--border); overflow: hidden;
  transition: border-color 0.25s ease; flex-shrink: 0;
}
.how-mock-3__input-card.focused { border-color: var(--cta); }
.how-mock-3__input-area {
  height: 54px; padding: 8px 10px; position: relative; overflow: hidden;
  font-size: 8.5px; line-height: 1.45; color: var(--text-body);
}
.how-mock-3__placeholder {
  position: absolute; top: 8px; left: 10px; right: 10px;
  color: var(--text-light); font-size: 8.5px; line-height: 1.45;
  transition: opacity 0.2s ease; pointer-events: none;
}
.how-mock-3__placeholder.hidden { opacity: 0; }
.how-mock-3__pasted-text {
  display: block; font-size: 8.5px; color: var(--text-body);
  line-height: 1.45; word-break: break-word;
}
.how-mock-3__cursor {
  position: absolute; top: 8px; left: 10px;
  display: inline-block; width: 1.5px; height: 10px;
  background: #0F4C5C;
  opacity: 0;
}
.how-mock-3__cursor::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  background: #0F4C5C;
  border-radius: 50%;
  margin-top: 1px;
}
.how-mock-3__cursor.visible { opacity: 1; }
.how-mock-3__cursor.blink {
  animation: mock3-blink 0.7s linear 3;
}
@keyframes mock3-blink {
  0%    { opacity: 1; }
  49.9% { opacity: 1; }
  50%   { opacity: 0; }
  100%  { opacity: 0; }
}
.how-mock-3__input-footer {
  padding: 5px 8px 7px; display: flex; justify-content: flex-end;
}
.how-mock-3__btn {
  padding: 5px 14px; border-radius: 6px;
  background: var(--border); color: var(--text-muted);
  font-size: 8.5px; font-weight: 700; font-family: var(--font-display);
  cursor: default; transition: transform 0.1s ease;
  user-select: none;
}
.how-mock-3__btn.active { background: var(--cta); color: #fff; }
.how-mock-3__btn.tapped { background: var(--cta-dark); transform: scale(1.12); }

/* Example tile */
.how-mock-3__example-tile {
  background: var(--primary-light); border-radius: 8px;
  padding: 8px 10px; display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.how-mock-3__example-title { font-size: 8px; font-weight: 700; color: var(--primary); }
.how-mock-3__example-sub { font-size: 7px; color: var(--primary-mid); margin-top: 1px; }
.how-mock-3__chevron { font-size: 16px; color: var(--primary-mid); line-height: 1; }

/* Bottom bar */
.how-mock-3__bottombar {
  display: flex; background: var(--card);
  border-top: 1px solid var(--border-light);
  padding: 5px 0 8px; flex-shrink: 0;
}
.how-mock-3__bb-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.how-mock-3__bb-item ion-icon { font-size: 16px; color: #0F4C5C; }
.how-mock-3__bb-logo { width: 16px; height: 16px; object-fit: contain; }
.how-mock-3__bb-item span { font-size: 7px; color: #0F4C5C; }

/* Paste mini-menu */
.how-mock-3__paste-menu {
  position: absolute; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease;
}
.how-mock-3__paste-menu.visible { opacity: 1; }
.how-mock-3__paste-item {
  background: #222; border-radius: 6px;
  padding: 6px 14px; display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: #fff;
  white-space: nowrap; cursor: default;
  transition: background 0.15s;
}
.how-mock-3__paste-item.active { background: var(--cta); }
.how-mock-3__paste-dots { font-size: 12px; opacity: 0.6; }
.how-mock-3__paste-caret {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #222;
}
.how-mock-3__paste-item.active + .how-mock-3__paste-caret { border-top-color: var(--cta); }

/* Loading screen */
.how-mock-3__loading {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  z-index: 9; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.how-mock-3__loading.visible { opacity: 1; }
.how-mock-3__loading-logo { width: 66px; height: 66px; object-fit: contain; margin-bottom: 6px; }
.how-mock-3__loading-title {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary);
}
.how-mock-3__loading-sub { font-size: 10px; color: var(--cta); margin-bottom: 6px; }
.how-mock-3__loading-bar {
  width: 140px; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden;
}
.how-mock-3__loading-fill {
  height: 100%; width: 0%; background: var(--cta); border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================
   IN-APP MODE — hide header/footer
   ============================================ */
body.in-app .site-header,
body.in-app .site-footer { display: none; }
body.in-app .subpage { padding-top: 16px; }

/* ============================================
   COOKIE BANNER
   ============================================ */
#sm-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--card);
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.10);
  animation: sm-cookie-up 0.3s ease;
}
#sm-cookie-banner.sm-cookie--hiding {
  animation: sm-cookie-down 0.32s ease forwards;
}
@keyframes sm-cookie-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes sm-cookie-down {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
.sm-cookie__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sm-cookie__text { flex: 1; min-width: 220px; }
.sm-cookie__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 3px;
}
.sm-cookie__text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.sm-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.sm-cookie__actions button {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  transition: opacity 0.15s;
}
.sm-cookie__actions button:hover { opacity: 0.82; }
#sm-cookie-accept  { background: var(--primary); color: #fff; }
#sm-cookie-decline { background: var(--bg-deep);  color: var(--text-body); }

/* Link "Ustawienia cookies" w footerze */
.sm-cookie-settings-link {
  color: var(--text-light);
  font-size: 0.8rem;
  cursor: pointer;
}
.sm-cookie-settings-link:hover { color: var(--text-muted); text-decoration: underline; }
