/* fonts.css */
/* Self-hosted Fraunces + Inter (variable, latin + latin-ext only — every glyph a PL/EN page
   needs). Generated from Google Fonts css2; file names are Google's content hashes, so they
   are cached immutably (StaticCacheConfig). Regenerate rather than hand-edit. */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin-ext-6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjdPeQ_5Y.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin-6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjeveQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin-ext-6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxCFTeO-U.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin-6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin-ext-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-normal-latin-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Caveat 600 — handwritten captions on the photo-bingo polaroids. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-normal-latin-ext-WnznHAc5bAfYB2QRah7pcpNvOx-pjSx6eIupYSxP.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-normal-latin-WnznHAc5bAfYB2QRah7pcpNvOx-pjSx6eIWpYQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens.css */
/* Design tokens — single source of truth for brand colours, type, and shared primitives.
 * Imported by dashboard.css, scan.css, and auth.css; do not duplicate here. */
:root {
  /* Palette */
  --bg:     #F9F4EB;
  --card:   #FFFFFF;
  --warm:   #E8DBC4;
  --soft:   #FDF8EE;
  --muted:  #6E5A47; /* darkened from #8A7560 for WCAG AA 4.5:1 on --bg */
  --copper: #B66C45;
  --ink:    #2D2620;
  --dark:   #1A1411;
  /* Light text on the dark bars/bands at two strengths, both WCAG AA (>=4.5:1)
     on every dark surface the site uses (#0F0C0A..#2D2620). Use these instead of
     a hand-picked rgba alpha: the old 0.25-0.45 alphas measured 2.1-4.2:1. */
  --on-dark-soft: rgba(249,244,235,0.62); /* secondary text, links  ~7:1  */
  --on-dark-dim:  rgba(249,244,235,0.55); /* fine print, captions  ~5.2-5.8:1 */

  /* Semantic */
  --danger:    #B0382A;
  --ok:        #2D5F4D;
  --ok-bg:     #ECFDF5;
  --ok-border: #A7F3D0;
  --ok-text:   #065F46;
  --danger-bg:     #FEF2F2;
  --danger-border: #FECACA;
  --danger-text:   #991B1B;
  --warn-bg:     #FFFBEB;
  --warn-border: #FCD34D;
  --warn-text:   #92400E;

  /* One corner radius for every rectangular button (primary, secondary,
     modal, CTA). It used to be 8, 9, 10, 11 or 12px depending on which file
     the button was born in, which is most of why buttons felt unrelated. */
  --radius-btn: 10px;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* The `hidden` attribute always wins. Any component rule that sets `display:`
   has the same specificity as the UA's `[hidden]{display:none}` and author
   styles win ties, so a flex/grid element stays visible while marked hidden —
   the bug behind the ragged block picker, the empty distance pill and the
   guestbook form's phantom gap. One rule here instead of a per-component pin. */
[hidden] { display: none !important; }

.brand-accent { color: var(--copper); }

/* components/site-chrome.css */
/* site-chrome.css — shared top bar (nav) + bottom bar (footer).
   Single source of truth: landing, use-case SEO pages, and /poradnik all use
   the fragments in templates/fragments/site-chrome.html + these styles, so the
   belka can never drift between pages again.
   Depends on tokens (--warm, --copper, --dark, --font-d) — load tokens.css too. */

a,button,.lang-btn,.nav-signin,.nav-start,.footer-link{cursor:pointer!important}

/* Text-on-copper buttons on the marketing pages only. --copper (#B66C45) under
   light text is 3.67:1 (2.94:1 under #E8DBC4), so the filled CTAs take a deeper
   copper; hover goes darker still (lightening would drop below AA). Copper
   text, links and decoration keep --copper. Scan/editor/dashboard never load
   this file. #F9F4EB on: --copper-cta 5.16:1, --copper-cta-hover 6.14:1. */
:root{--copper-cta:#9A5530;--copper-cta-hover:#8A4B2A;--on-copper-cta:#F9F4EB}

/* ═══ NAV (top bar) ═══ */
.nav{
  position:sticky;top:0;z-index:100;
  height:68px;
  /* Same token as .footer — the bar used to be rgba(15,12,10,0.75), which
     composited against whatever was behind it: dark on the landing, but grey
     over the cream --bg of /poradnik. Opaque, so no backdrop-filter either. */
  background:var(--dark);
  border-bottom:1px solid rgba(255,255,255,0.06);
  display:flex;align-items:center;padding:0 2.5rem;gap:0;
}
.nav-brand{font-family:var(--font-d);font-weight:800;font-size:1.7rem;color:var(--warm);letter-spacing:-0.03em;display:inline-flex;align-items:center;gap:0.25rem;white-space:nowrap;text-decoration:none}
@keyframes logo-wobble{0%,100%{transform:rotate(0deg)}15%{transform:rotate(-12deg)}30%{transform:rotate(10deg)}45%{transform:rotate(-8deg)}60%{transform:rotate(6deg)}75%{transform:rotate(-3deg)}90%{transform:rotate(2deg)}}
.nav-brand img{width:40px;height:40px;flex-shrink:0;animation:logo-wobble 2.8s ease-in-out infinite;transform-origin:center}
.brand-accent{color:var(--copper)}
.nav-links{display:flex;gap:2rem;margin-left:3rem;flex:1}
.nav-links a{font-size:0.88rem;color:var(--on-dark-soft);text-decoration:none;transition:color 150ms ease-out}
.nav-links a:hover{color:rgba(249,244,235,0.85)}
.nav-cta{display:flex;align-items:center;gap:0.6rem;margin-left:auto}
.nav-signin{font-size:0.88rem;color:var(--on-dark-soft);padding:0.5rem 0.9rem;border-radius:8px;text-decoration:none;transition:color 150ms ease-out,background 150ms ease-out}
.nav-signin:hover{color:var(--warm);background:rgba(255,255,255,0.06)}
.nav-start{background:var(--copper-cta,#9A5530);color:var(--on-copper-cta,#F9F4EB);padding:0.55rem 1.2rem;border-radius:var(--radius-btn);font-size:0.88rem;font-weight:600;text-decoration:none;transition:background 150ms ease-out,transform 100ms ease-out;box-shadow:0 4px 16px rgba(182,108,69,0.3)}
.nav-start:hover{background:var(--copper-cta-hover,#8A4B2A)}
.nav-start:active{transform:scale(0.97)}
.lang-toggle{display:flex;align-items:center;gap:1px;background:rgba(255,255,255,0.06);border-radius:7px;padding:2px;margin-left:0.4rem}
.lang-btn{border:0;background:none;font-family:inherit;font-size:0.75rem;font-weight:600;padding:0.3rem 0.6rem;border-radius:5px;cursor:pointer;color:var(--on-dark-dim);transition:all 150ms ease-out;user-select:none}
.lang-btn.active{background:rgba(255,255,255,0.12);color:var(--warm)}

/* Hamburger + the mobile-only menu items: present in the markup everywhere,
   shown only where the inline link row is gone (≤860px, below). The button sits
   in the bar's flow at a fixed 44px, so nothing moves when the menu opens. */
.nav-burger,.nav-menu-signin,.nav-menu-lang{display:none}
.nav-burger{align-items:center;justify-content:center;width:44px;height:44px;margin-right:-0.6rem;background:none;border:0;border-radius:10px;color:#F9F4EB;cursor:pointer}
.nav-burger:focus-visible,.nav-links a:focus-visible,.nav-menu-lang .lang-btn:focus-visible{outline:2px solid var(--copper);outline-offset:2px}
.nav-burger-close,.nav.is-open .nav-burger-open{display:none}
.nav.is-open .nav-burger-close{display:inline}

/* ═══ STICKY FOOTER ═══
   A page shorter than the viewport (an empty board, a filtered-to-nothing
   search, /poradnik on a tall screen) used to leave a cream strip of --bg
   below the dark footer. The chrome owns the top and bottom bars, so it also
   owns pushing them apart: every page that loads this file gets it for free.
   `margin-top:auto` sits on the first element of the footer group — on the SEO
   links when they are present, otherwise on the footer itself — so the two
   stay glued together at the bottom. */
body{min-height:100dvh;display:flex;flex-direction:column}
.footer-seo,.footer{margin-top:auto;flex-shrink:0}
.footer-seo + .footer{margin-top:0}

/* ═══ FOOTER (bottom bar) ═══ */
/* The bar itself stays full-bleed for the background; the cap lives on the inner
   row. margin-top:auto above sticks the bar to the bottom, so the inner row is
   what centres — .footer must never take a `margin` shorthand or it loses it. */
.footer{background:var(--dark);border-top:1px solid rgba(255,255,255,0.05);padding:2rem 2.5rem}
.footer-inner{max-width:1200px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem 2.5rem;flex-wrap:wrap}
.footer-id{display:flex;align-items:baseline;gap:0.85rem}
.footer-links{display:flex;align-items:center;gap:1.75rem;flex-wrap:wrap}
.footer-brand{font-family:var(--font-d);font-weight:800;font-size:1rem;color:var(--on-dark-dim)}
.footer-copy{font-size:0.82rem;color:var(--on-dark-dim)}
.footer-link{color:var(--on-dark-soft);text-decoration:none;font-size:0.82rem}
.footer-link:hover{color:var(--copper)}
.footer-seo{background:var(--dark);padding:3rem 2.5rem 2.25rem;text-align:center}
.footer-seo-label{font-size:0.72rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--on-dark-dim);margin-bottom:1.25rem}
.seo-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:840px;margin:0 auto}
.seo-links a{color:rgba(249,244,235,0.6);text-decoration:none;font-size:0.85rem;font-weight:500;border:1px solid rgba(249,244,235,0.12);border-radius:999px;padding:8px 16px;transition:0.16s}
.seo-links a:hover{color:var(--copper);border-color:rgba(182,108,69,0.55);background:rgba(182,108,69,0.08)}

/* ── Mobile ── */
@media(max-width:860px){
  .nav{padding:0 1.25rem}
  .nav-burger{display:inline-flex}
  .nav-cta > .lang-toggle{display:none}
  /* The link row turns into a panel hanging under the sticky bar. Absolute, so
     opening it overlays the page instead of pushing it down, and the page keeps
     scrolling underneath — closing is one tap outside, Escape or a link. */
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;margin:0;flex-direction:column;gap:0;
    background:var(--dark);border-bottom:1px solid rgba(255,255,255,0.08);box-shadow:0 18px 40px rgba(0,0,0,0.45);
    padding:0.25rem 1.25rem 1rem;max-height:calc(100dvh - 68px);overflow-y:auto}
  .nav.is-open .nav-links{display:flex}
  .nav-links a{font-size:1rem;color:rgba(249,244,235,0.85);padding:0.85rem 0;border-bottom:1px solid rgba(255,255,255,0.06)}
  .nav-menu-lang{display:flex;gap:0.5rem;padding-top:1rem}
  .nav-menu-lang .lang-btn{font:inherit;font-size:0.85rem;font-weight:600;border:1px solid rgba(255,255,255,0.12);background:none;padding:0.55rem 1.1rem;min-width:56px}
  .nav-menu-lang .lang-btn.active{background:rgba(255,255,255,0.12);color:#F9F4EB}
}
@media(max-width:520px){
  .nav-signin{display:none}
  /* …so sign-in moves into the menu. */
  .nav-menu-signin{display:block}
  /* The one CTA a phone visitor has: with the links collapsed, hiding this left
     the mobile bar as a logo and a language toggle. Sign-in stays reachable from
     the sign-up page and, on the landing, from a line under the hero CTA. */
  .nav-start{padding:0.45rem 0.85rem;font-size:0.8rem}
  .nav-brand{font-size:1.35rem}
  .nav-brand img{width:32px;height:32px}
  /* Bottom padding reserves the strip the fixed support launcher occupies
     (right:1.25rem/bottom:1.25rem) — without it the button sat on top of the
     last footer link on a phone. */
  .footer{padding:1.25rem 1.25rem 4.5rem}
  .footer-inner{gap:0.6rem;justify-content:center}
  .footer-links{gap:0.5rem 1.1rem;justify-content:center}
  .footer-brand{display:none}
  .footer-copy{font-size:0.75rem;text-align:center}
}

/* components/landing/base.css */
/* landing/base.css — design tokens + global reset for the landing + use-case
   SEO pages (both render templates/landing.html). Load first, right after
   tokens.css and site-chrome.css. Split out of landing.html's inline <style>;
   the per-section files load in source order so the cascade is unchanged. */
:root {
  --dark:#0F0C0A; --dark2:#1A1410; --dark3:#2D2620;
  --copper:#B66C45; --copper-glow:rgba(182,108,69,0.25);
  --warm:#F9F4EB; --warm2:#F5EFE3; --warm3:#E8DBC4;
  --muted:#8A7560; --ink:#2D2620;
  --font-d:'Fraunces',Georgia,serif; --font-b:'Inter',system-ui,sans-serif;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --ease-drawer:cubic-bezier(0.32,0.72,0,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;cursor:default!important;user-select:none;-webkit-user-select:none}
a,button,.lang-btn,.plan-cta,.btn-primary,.btn-ghost,.nav-signin,.nav-start,.footer-link{cursor:pointer!important}
html{overflow-x:hidden;scroll-behavior:smooth}
body{font-family:var(--font-b);background:var(--dark);color:var(--warm);overflow-x:hidden}

/* Bands size to their content: forcing each to a full screen left most of a
   large monitor empty around a short band. Snap is only a gentle nudge
   (proximity), so it never yanks the page to a band edge mid-read. */
html{scroll-snap-type:y proximity;scroll-padding-top:var(--nav-h)}
:root{--nav-h:68px}
body>section{scroll-snap-align:start;display:flex;flex-direction:column}
/* The footer link cloud is not a band of its own: it snaps with the footer. */
body>section.footer-seo{scroll-snap-align:none}
body>footer,body>.stats-bar{scroll-snap-align:end}

/* Dark site: the former cream bands keep their own token names but take dark
   values. Inside them --warm/--warm2/--warm3 are surfaces and borders and --ink
   is text; outside, --warm stays the light text colour of the dark bands. */
.how,.showcase,.cases,.nfc-info{
  --warm:#15100D; --warm2:#211A15; --warm3:#3A2F26;
  --ink:#F3EADF; --muted:#B3A08B; --body:#CDBBA6;
}
/* The support chat reads the studio token names; give it the dark set here. */
.sc-root{--card:#211A15; --soft:#15100D; --warm:#3A2F26; --ink:#F3EADF; --muted:#B3A08B}

/* Set by the landing script on sections out of view. */
.anim-off,.anim-off *{animation-play-state:paused !important}

/* components/landing/hero.css */
/* landing/hero.css — hero band: headline + CTAs + the animated demo stage
   (glow, contact shadow, tap burst, NFC tag, phone, screen layers, scan-page
   mock, floating cards). NAV lives in site-chrome.css. */

/* ═══ HERO ═══ */
.hero{
  /* A full screen under the sticky nav; the wheel handler in landing.html turns
     the first scroll into a jump to the next band. Side padding grows with the
     viewport so the content stays in a 1320px column — on a 2000px monitor the
     headline hugged the left edge with the phone a metre away on the right. */
  min-height:calc(100svh - 68px);
  padding:3rem max(2.5rem, calc((100vw - 1320px) / 2));
  /* Not 2fr 1fr: the phone is shifted 80% of its own width left of the stage's
     centre, so a one-third column let it overlap the headline and subline. */
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2rem clamp(5rem, 11vw, 12rem);align-items:center;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;
  right:-5%;top:-10%;width:50%;height:70%;
  background:radial-gradient(ellipse,rgba(182,108,69,0.12) 0%,transparent 65%);
  pointer-events:none;
}
/* (No second glow bottom-left: on a wide dark screen it read as a smudge
   beside the numbers strip, not as light.) */

.hero-l{position:relative;z-index:2}
/* Sentence case, readable size: on a use-case page this line is the search
   phrase itself ("Tag dla psa"), not decoration — it should read like text. */
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:0.6rem;
  font-size:0.95rem;font-weight:600;letter-spacing:0;
  color:var(--copper);margin-bottom:1.5rem;
}
.eyebrow-line{display:none}
.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:var(--copper);animation:blink 2s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.3}}
.hero-h{
  font-family:var(--font-d);font-weight:800;
  font-size:clamp(3.2rem,5.5vw,5.2rem);
  letter-spacing:-0.04em;line-height:0.92;
  color:var(--warm);
}
.hero-h em{font-style:italic;color:var(--copper);font-weight:400}
.hero-sub{
  font-size:1.1rem;line-height:1.6;
  color:rgba(249,244,235,0.55);
  margin-top:1.8rem;
}
/* Home: the line crossfades with the phone's scene. Two lines reserved so the
   CTAs below never jump when a shorter or longer line comes in. */
.hero-sub-synced{min-height:3.2em;transition:opacity 250ms ease-out}
.hero-sub-synced.is-swapping{opacity:0}
.hero-cta{display:flex;gap:1rem;align-items:center;margin-top:2.5rem;flex-wrap:wrap}
.btn-primary{
  background:var(--copper-cta,#9A5530);color:var(--on-copper-cta,#F9F4EB);
  padding:1rem 1.8rem;border-radius:var(--radius-btn);
  font-size:1rem;font-weight:600;text-decoration:none;
  display:inline-flex;align-items:center;gap:0.6rem;
  box-shadow:0 8px 32px rgba(182,108,69,0.35);
  transition:background 150ms ease-out,transform 100ms ease-out,box-shadow 150ms ease-out;
}
.btn-primary:hover{background:var(--copper-cta-hover,#8A4B2A);box-shadow:0 12px 40px rgba(182,108,69,0.45);transform:translateY(-1px)}
.btn-primary:active{transform:scale(0.97) translateY(0)}
.btn-ghost{
  color:rgba(249,244,235,0.5);font-size:0.95rem;
  padding:1rem 0.8rem;text-decoration:none;
  display:inline-flex;align-items:center;gap:0.6rem;
  transition:color 150ms ease-out;
}
.btn-ghost:hover{color:rgba(249,244,235,0.85)}
.hero-trust{
  font-size:0.82rem;color:var(--on-dark-dim);
  margin-top:2rem;display:flex;align-items:center;gap:0.6rem;
}
/* Shown only where the nav hides "Sign in" — see responsive.css. */
.hero-signin{display:none;font-size:0.88rem;color:var(--on-dark-soft);margin-top:0.25rem}
.hero-signin a{color:var(--copper);text-decoration:none;font-weight:600}
.hero-signin a:hover{text-decoration:underline}
.trust-dot{width:5px;height:5px;border-radius:50%;background:#2D5F4D;flex-shrink:0}

/* ═══ DEMO STAGE ═══ */
.hero-r{position:relative;z-index:2;display:flex;justify-content:center;align-items:center;min-height:780px}
.demo-stage{
  position:relative;width:100%;max-width:560px;height:800px;
  perspective:1200px;
  perspective-origin:50% 35%;
}

/* AMBIENT LIGHT — breathes, intensifies after tap */
.stage-glow{
  position:absolute;left:32%;top:50%;
  width:560px;height:560px;margin:-280px;
  background:radial-gradient(circle,rgba(182,108,69,0.16) 0%,transparent 60%);
  opacity:0.45;transition:opacity 900ms ease-out;
  animation:glow-breathe 6s ease-in-out infinite;
  pointer-events:none;z-index:0;
}
.demo-stage.lit .stage-glow{opacity:1}
@keyframes glow-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}

/* CONTACT SHADOW — grows as phone descends */
.stage-shadow{
  position:absolute;bottom:11%;left:28%;
  width:250px;height:56px;margin-left:-125px;
  background:radial-gradient(ellipse,rgba(0,0,0,0.6) 0%,transparent 65%);
  filter:blur(7px);
  transform:scale(0.5);opacity:0.3;
  transition:transform 1000ms var(--ease-drawer),opacity 1000ms var(--ease-drawer);
  pointer-events:none;z-index:1;
}
.stage-shadow.near{transform:scale(1);opacity:0.85}

/* TAP BURST — copper energy rings at contact point */
.tap-burst{
  position:absolute;bottom:20%;left:28%;
  transform:translate(-50%,50%);
  width:1px;height:1px;pointer-events:none;z-index:5;
}
.tap-burst i{
  position:absolute;left:50%;top:50%;
  width:140px;height:54px;margin:-27px -70px;
  border:2px solid rgba(232,176,130,0.9);
  border-radius:50%;opacity:0;
}
.tap-burst i:nth-child(2){border-width:1px;border-color:rgba(182,108,69,0.7)}
.tap-burst i:nth-child(3){
  border:none;width:90px;height:36px;margin:-18px -45px;
  background:radial-gradient(ellipse,rgba(255,214,170,0.8) 0%,transparent 70%);
}
.tap-burst.go i{animation:tap-ring 750ms cubic-bezier(0.16,1,0.3,1) forwards}
.tap-burst.go i:nth-child(2){animation-delay:90ms}
.tap-burst.go i:nth-child(3){animation:tap-glow 550ms ease-out forwards}
@keyframes tap-ring{0%{opacity:0.9;transform:scale(0.25)}100%{opacity:0;transform:scale(2.5)}}
@keyframes tap-glow{0%{opacity:1;transform:scale(0.4)}100%{opacity:0;transform:scale(1.9)}}

/* NFC TAG at bottom */
.nfc-tag{
  position:absolute;bottom:14%;left:28%;
  transform:translateX(-50%) rotateX(55deg) rotateY(-5deg);
  transform-style:preserve-3d;
  z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.nfc-tag-card{
  width:120px;height:72px;border-radius:10px;
  background:linear-gradient(135deg,#2D2620,#1A1410);
  border:1px solid rgba(182,108,69,0.35);
  box-shadow:0 0 0 6px rgba(182,108,69,0.04),0 10px 30px rgba(0,0,0,0.5);
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;gap:8px;
  position:relative;overflow:hidden;
  transition:border-color 300ms ease-out,box-shadow 300ms ease-out,filter 300ms ease-out;
}
.nfc-tag-card.flare{
  border-color:rgba(232,176,130,0.9);
  box-shadow:0 0 0 6px rgba(182,108,69,0.12),0 0 34px rgba(182,108,69,0.55),0 10px 30px rgba(0,0,0,0.5);
  filter:brightness(1.3);
}
.nfc-tag-card::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 30% 50%,rgba(182,108,69,0.08),transparent 60%);
}
.nfc-tag-nfc{display:flex;flex-direction:column;align-items:center;gap:3px}
.nfc-tag-icon{font-size:1.2rem;line-height:1;transition:opacity 400ms ease-out}
.nfc-tag-nfc-lbl{font-size:0.38rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;color:rgba(182,108,69,0.6)}
.nfc-tag-divider{width:1px;height:36px;background:rgba(255,255,255,0.08);flex-shrink:0}
.nfc-tag-qr{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5px;width:36px;height:36px;flex-shrink:0}
.qr-cell{border-radius:1px;background:rgba(249,244,235,0.6)}
.qr-cell.e{background:transparent}
.nfc-tag-label{
  font-size:0.5rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;
  color:var(--on-dark-dim);
  transition:opacity 400ms ease-out;
}

/* NFC RIPPLES */
.nfc-ripples{
  position:absolute;bottom:20%;left:28%;
  transform:translate(-50%,50%);
  width:1px;height:1px;pointer-events:none;z-index:2;
}
.nfc-ripples span{
  position:absolute;left:50%;top:50%;
  width:110px;height:46px;margin:-23px -55px;
  border:1.5px solid var(--copper);
  border-radius:50%;opacity:0;
}

/* PHONE */
.phone{
  position:absolute;left:50%;top:0%;
  transform:translateX(-80%) rotateX(38deg) rotateY(-18deg) translateY(-10px);
  /* No preserve-3d: nothing inside is 3D, and keeping the children in the
     stage's 3D space left Chrome hit-testing the lower half of the screen
     against the wrong depth, so "Zobacz live" only worked on the top half. */
  width:370px;z-index:4;
  will-change:transform;
}
/* Use-case iframe path: the fake-scene JS (which tilts the phone each cycle) is
   skipped, so give the live phone a gentle continuous sway around its rest pose
   — same "alive, rotating" feel as the landing, but the angle stays readable. */
@keyframes phone-live-sway{
  0%,100%{transform:translateX(-80%) rotateX(38deg) rotateY(-18deg) translateY(-10px)}
  50%{transform:translateX(-80%) rotateX(29deg) rotateY(-9deg) translateY(-16px)}
}
.phone.live-sway{animation:phone-live-sway 7s ease-in-out infinite}
.phone-shell{
  position:relative;
  background:#0a0806;border-radius:40px;
  border:9px solid #111;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.7),
    0 20px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow:hidden;
  position:relative;
}
.phone-notch{
  height:26px;background:#0a0806;
  display:flex;align-items:center;justify-content:center;gap:6px;
  position:relative;z-index:2;
}
.phone-notch-spk{width:50px;height:4px;background:#151210;border-radius:2px}
.phone-notch-cam{width:8px;height:8px;border-radius:50%;background:#151210;border:1px solid rgba(255,255,255,0.04)}

/* SCREEN LAYERS */
.phone-screen{position:relative;height:580px;overflow:hidden;background:#faf3ee}
/* The use-case preview iframe auto-pans a full scan page through this 580px
   window, so its top and bottom rows are always mid-scroll. Soft fade masks at
   both edges make the crop read as intentional instead of a hard slice.
   Only the live-iframe path uses them (fake-scene screens fill the frame). */
.phone-screen.has-live-fade::before,
.phone-screen.has-live-fade::after{
  content:"";position:absolute;left:0;right:0;height:30px;z-index:4;pointer-events:none;
}
.phone-screen.has-live-fade::before{top:0;background:linear-gradient(to bottom,#faf3ee,rgba(250,243,238,0))}
.phone-screen.has-live-fade::after{bottom:0;background:linear-gradient(to top,#faf3ee,rgba(250,243,238,0))}
.screen-layer{position:absolute;inset:0;transition:opacity 500ms var(--ease-out),transform 500ms var(--ease-out)}

/* Lock screen */
.screen-lock{
  background:linear-gradient(160deg,#1a1410 0%,#0a0806 100%);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:12px;
  z-index:3;
}
.lock-nfc-icon{
  width:52px;height:52px;
  border-radius:50%;
  border:1.5px solid rgba(182,108,69,0.35);
  display:grid;place-items:center;position:relative;
}
/* The pulse is a ring that scales and fades (compositor only); animating
   box-shadow repainted the icon every frame. */
.lock-nfc-icon::after{content:'';position:absolute;inset:-2px;border-radius:50%;border:2px solid rgba(182,108,69,0.35);
  animation:lock-pulse 2s ease-in-out infinite;pointer-events:none}
@keyframes lock-pulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.4);opacity:0}}
.lock-nfc-icon svg{stroke:var(--copper);opacity:0.7}
.lock-nfc-icon path{stroke-dasharray:30;stroke-dashoffset:0;animation:lock-draw 2.4s ease-in-out infinite}
.lock-nfc-icon path:nth-child(2){animation-delay:150ms}
.lock-nfc-icon path:nth-child(3){animation-delay:300ms}
.lock-nfc-icon path:nth-child(4){animation-delay:450ms}
@keyframes lock-draw{
  0%{stroke-dashoffset:30;opacity:0.15}
  40%{stroke-dashoffset:0;opacity:1}
  75%,100%{stroke-dashoffset:0;opacity:0.45}
}
.lock-text{font-size:0.75rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:rgba(249,244,235,0.5)}
.lock-sub{font-size:0.58rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--on-dark-dim)}

/* Scan flash */
/* A copper glow, not a near-opaque cream sheet: at 0.98 the flash read as a
   blank grey frame between two screens, i.e. as a loading glitch. */
.screen-flash{
  background:radial-gradient(circle at 50% 62%,rgba(214,140,96,0.55) 0%,rgba(182,108,69,0.18) 55%,transparent 80%);
  z-index:5;opacity:0;pointer-events:none;
}

/* Content screens */
.screen-content{z-index:2;opacity:0}
.screen-content.visible{opacity:1}

/* Real scan page structure */
.sc-page{
  background:linear-gradient(to bottom,#F9F4EB 0%,#F5EFE3 100%);
  min-height:100%;
  padding:10px;
  display:flex;align-items:flex-start;justify-content:center;
}
.sc-card{
  background:#fff;border-radius:10px;width:100%;
  box-shadow:0 1px 2px rgba(45,38,32,0.04),0 6px 20px rgba(45,38,32,0.1);
  overflow:hidden;
}
.sc-header{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 11px;border-bottom:1px solid #E8DBC4;
}
.sc-brand{font-family:var(--font-d);font-weight:800;font-size:0.78rem;color:#2D2620;letter-spacing:-0.01em;display:inline-flex;align-items:center;gap:2px}
.sc-brand-logo{width:11px;height:11px;flex-shrink:0}
.sc-tmpl{font-size:0.45rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:#B66C45}
.sc-body{padding:0}
.sc-block{padding:8px 11px;border-top:1px solid #E8DBC4}
.sc-block:first-child{border-top:none;padding-top:9px}
.sc-block:last-child{padding-bottom:9px}
.sc-heading{
  font-family:var(--font-d);font-weight:800;
  font-size:1.15rem;letter-spacing:-0.02em;line-height:1.1;color:#2D2620;
}
.sc-para{font-size:0.62rem;color:#2D2620;line-height:1.55}
.sc-facts{display:grid;grid-template-columns:max-content 1fr;gap:3px 8px;font-size:0.58rem}
.sc-facts dt{font-size:0.45rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;color:#B66C45}
.sc-facts dd{color:#2D2620;margin:0}
.sc-btn{
  display:flex;align-items:center;gap:6px;
  padding:7px 9px;border-radius:8px;
  background:#2D2620;color:#F9F4EB;
  font-size:0.6rem;font-weight:700;text-align:center;justify-content:center;
}
.sc-btn-outline{
  display:flex;align-items:center;gap:6px;
  padding:6px 9px;border-radius:8px;
  border:1px solid #E8DBC4;color:#2D2620;
  font-size:0.6rem;font-weight:600;justify-content:center;
}
.sc-footer{text-align:center;padding:5px 11px 8px;font-size:0.42rem;letter-spacing:0.15em;text-transform:uppercase;color:#8A7560}
.sc-btn-copper{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:8px;background:var(--copper-cta,#9A5530);color:var(--on-copper-cta,#F9F4EB);font-size:0.6rem;font-weight:700;text-align:center;justify-content:center}
#scPet .sc-page{position:relative}
#scPet .sc-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-color:#B66C45;opacity:0.08;-webkit-mask-image:url('/img/bg/paws.svg');mask-image:url('/img/bg/paws.svg');-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-mode:alpha;mask-mode:alpha;-webkit-mask-size:50px;mask-size:50px}
#scPet .sc-card{position:relative;z-index:1}
#scWedding .sc-page{position:relative}
#scWedding .sc-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-color:#B66C45;opacity:0.06;-webkit-mask-image:url('/img/bg/rings.svg');mask-image:url('/img/bg/rings.svg');-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-mode:alpha;mask-mode:alpha;-webkit-mask-size:48px;mask-size:48px}
#scWedding .sc-card{position:relative;z-index:1}

.phone-home{height:4px;background:rgba(255,255,255,0.15);border-radius:2px;width:50px;margin:6px auto}
.phone-preview-overlay{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:rgba(15,12,10,0.5);backdrop-filter:blur(3px);opacity:0;transition:opacity 200ms ease-out;text-decoration:none;pointer-events:none;border-radius:31px}
.phone-shell:hover .phone-preview-overlay{opacity:1;pointer-events:auto}
/* "Zobacz live" over a locked screen offered a preview of nothing. */
.phone.is-locked .phone-preview-overlay{opacity:0 !important;pointer-events:none !important}
.phone-preview-btn{color:var(--on-copper-cta,#F9F4EB);font-family:var(--font-d);font-weight:700;font-size:1rem;letter-spacing:-0.01em;background:var(--copper-cta,#9A5530);padding:0.55rem 1.1rem;border-radius:9px;box-shadow:0 4px 20px rgba(182,108,69,0.45);white-space:nowrap;cursor:pointer}
/* Touch has no hover: the overlay took one tap to appear (and that tap landed on
   the mock, not the link), so the button needed two taps — or never worked at all
   where the browser doesn't emulate sticky hover. Keep it permanently visible and
   clickable, pinned to the bottom so the mock screen stays readable. Only the
   button takes the tap; the click still bubbles to the wrapping <a>. */
@media (hover: none){
  .phone-preview-overlay{opacity:1;background:none;backdrop-filter:none;align-items:flex-end;padding-bottom:22px}
  .phone-preview-btn{pointer-events:auto}
}

/* FLOATING CARDS */
/* Anchored to the phone, not the stage edge: at right:0 the notifications floated
   a hand's width away from the screen they are supposed to come from. */
.float-cards{position:absolute;left:calc(50% + 44px);top:26%;z-index:10;display:flex;flex-direction:column;gap:8px;width:184px;pointer-events:none}
.fcard.visible{pointer-events:auto}
.fcard{
  /* Opaque, no backdrop-filter: a blur over a moving 3D phone with a live
     iframe behind it re-rendered every frame and made the page scroll stutter. */
  background:rgba(15,12,10,0.94);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;padding:10px 12px;
  display:flex;align-items:flex-start;gap:8px;
  opacity:0;transform:translateX(16px);
  transition:opacity 400ms var(--ease-out),transform 400ms var(--ease-out);
  box-shadow:0 8px 32px rgba(0,0,0,0.4);
}
.fcard.visible{opacity:1;transform:translateX(0);animation:fcard-float 4.5s ease-in-out 600ms infinite}
.fcard.visible:nth-child(2){animation-delay:1100ms}
@keyframes fcard-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.fcard-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:0.9rem;flex-shrink:0}
.fcard-icon.green{background:rgba(45,95,77,0.25);border:1px solid rgba(45,95,77,0.3)}
.fcard-icon.copper{background:rgba(182,108,69,0.2);border:1px solid rgba(182,108,69,0.3)}
.fcard-icon.blue{background:rgba(59,130,246,0.15);border:1px solid rgba(59,130,246,0.2)}
.fcard-icon.purple{background:rgba(139,92,246,0.15);border:1px solid rgba(139,92,246,0.2)}
.fcard-body{flex:1;min-width:0}
.fcard-title{font-size:0.7rem;font-weight:600;color:var(--warm);line-height:1.2}
.fcard-sub{font-size:0.6rem;color:var(--on-dark-dim);margin-top:1px}
/* Live preview loader: the iframe fades to 0 while the next theme loads; show a
   spinner on the page's own cream instead of a white flash. The loaded frame is
   opaque and covers it. */
#scLive{background:#faf3ee}
#scLive::before{content:'';position:absolute;top:50%;left:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;border:2.5px solid rgba(182,108,69,0.2);border-top-color:var(--copper);animation:live-spin 0.8s linear infinite}
#scLive .phone-iframe{position:relative;z-index:1}
@keyframes live-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){#scLive::before{animation-duration:2.4s}}

/* components/landing/stats.css */
/* landing/stats.css — the metrics strip below the hero. */

/* ═══ STATS BAR ═══ */
.stats-bar{
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
  display:flex;
  background:rgba(255,255,255,0.02);
}
.stat{flex:1;padding:1.6rem 2rem;border-right:1px solid rgba(255,255,255,0.06);display:flex;flex-direction:column;gap:4px}
.stat:last-child{border-right:none}
.stat-n{font-family:var(--font-d);font-weight:800;font-size:2.2rem;letter-spacing:-0.03em;color:var(--warm)}
.stat-l{font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--on-dark-dim)}

/* components/landing/how.css */
/* landing/how.css — the "How it works" band
   (4 animated step visuals + shared section heading styles used across bands). */

/* ═══ HOW IT WORKS ═══ */
.how{background:var(--warm);padding:6rem 2.5rem 7rem}
/* Section eyebrows ("JAK TO DZIAŁA", "CENNIK"…) only repeated the nav above an
   equally explicit heading — one more line of chrome per band. Hidden rather
   than deleted: the elements still carry i18n ids the language switch writes to. */
.section-eyebrow{display:none}
.section-h{font-family:var(--font-d);font-weight:800;font-size:clamp(2.1rem,4.2vw,3.2rem);letter-spacing:-0.03em;line-height:1.02;text-align:center;color:var(--ink);max-width:20ch;margin:0 auto}
/* The italic copper word is the hero's move. Repeated in every heading it
   stopped meaning anything, so section headings keep their words plain. */
.section-h em{font-style:normal;color:inherit;font-weight:inherit}
.section-sub{font-size:1.05rem;color:var(--body);line-height:1.6;max-width:52ch;margin:1.2rem auto 0;text-align:center}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:4rem;max-width:1100px;margin-left:auto;margin-right:auto}
.step{display:flex;flex-direction:column;align-items:center;gap:0.9rem;position:relative}
.step::after{content:'';position:absolute;top:56px;left:calc(50% + 48px);right:calc(-50% + 48px);height:1px;background:repeating-linear-gradient(to right,var(--warm3) 0 5px,transparent 5px 10px)}
.step:last-child::after{display:none}

.step-visual{
  width:96px;height:96px;border-radius:20px;
  background:var(--dark);border:1px solid var(--warm3);
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
  box-shadow:0 8px 24px rgba(45,38,32,0.2);
  flex-shrink:0;
}
.step-visual::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 30% 30%,rgba(182,108,69,0.15),transparent 60%);
}

.sv1-chip{
  width:40px;height:40px;border-radius:50%;
  border:2px solid rgba(182,108,69,0.6);
  background:rgba(182,108,69,0.1);
  display:grid;place-items:center;position:relative;z-index:1;
}
.sv1-chip span{font-size:1.1rem}
.sv1-ring{
  position:absolute;border-radius:50%;
  border:1.5px solid rgba(182,108,69,0.4);
  animation:sv-ring 2.4s ease-out infinite;
}
.sv1-ring:nth-child(1){width:52px;height:52px;animation-delay:0s}
.sv1-ring:nth-child(2){width:68px;height:68px;animation-delay:0.6s}
.sv1-ring:nth-child(3){width:84px;height:84px;animation-delay:1.2s}
@keyframes sv-ring{
  0%{opacity:0.7;transform:scale(0.8)}
  100%{opacity:0;transform:scale(1.2)}
}

.sv2-screen{
  width:68px;background:rgba(249,244,235,0.08);border-radius:6px;
  padding:7px;display:flex;flex-direction:column;gap:4px;position:relative;z-index:1;
}
.sv2-line{height:4px;border-radius:2px;background:rgba(249,244,235,0.25)}
/* The "typing" bar scales instead of animating width: width re-ran layout every frame. */
.sv2-line.active{background:var(--copper);width:75%;transform-origin:left center;animation:sv-type 2s ease-in-out infinite}
.sv2-cursor{
  width:2px;height:10px;background:var(--copper);border-radius:1px;
  animation:sv-blink 1s ease-in-out infinite;
  display:inline-block;
}
@keyframes sv-type{0%,100%{transform:scaleX(.4)}50%{transform:scaleX(1)}}
@keyframes sv-blink{0%,100%{opacity:1}50%{opacity:0}}

.sv3-phone{
  width:32px;height:52px;border-radius:6px;
  border:2px solid rgba(249,244,235,0.4);
  background:rgba(249,244,235,0.06);
  display:flex;align-items:center;justify-content:center;
  position:relative;z-index:1;
  animation:sv-phone-tap 3s ease-in-out infinite;
}
.sv3-ping{
  position:absolute;
  width:10px;height:10px;border-radius:50%;
  background:var(--copper);top:-4px;right:-4px;
  animation:sv-ping 1.5s ease-out infinite;
}
.sv3-ping::after{
  content:'';position:absolute;inset:-4px;border-radius:50%;
  border:2px solid var(--copper);
  animation:sv-ping-ring 1.5s ease-out infinite;
}
@keyframes sv-phone-tap{0%,30%,100%{transform:translateY(0)}15%{transform:translateY(6px)}}
@keyframes sv-ping{0%,100%{opacity:1}50%{opacity:0.6}}
@keyframes sv-ping-ring{0%{transform:scale(1);opacity:0.8}100%{transform:scale(2.5);opacity:0}}

.sv4-wrap{display:flex;align-items:center;gap:8px;position:relative;z-index:1}
.sv4-dot{
  width:20px;height:20px;border-radius:50%;
  border:2px solid rgba(249,244,235,0.4);
  background:rgba(249,244,235,0.08);
  flex-shrink:0;
}
.sv4-dot.active{background:var(--copper);border-color:var(--copper);animation:sv4-pulse 1.6s ease-in-out infinite}
@keyframes sv4-pulse{0%,100%{box-shadow:0 0 0 0 rgba(182,108,69,0.4)}50%{box-shadow:0 0 0 8px rgba(182,108,69,0)}}
.sv4-line{
  flex:1;height:2px;background:rgba(249,244,235,0.15);position:relative;overflow:hidden;border-radius:1px;
}
.sv4-line::after{
  content:'';position:absolute;inset-y:0;left:-100%;width:100%;
  background:linear-gradient(to right,transparent,var(--copper),transparent);
  animation:sv4-flow 2s ease-in-out infinite;
}
@keyframes sv4-flow{0%{left:-100%}100%{left:100%}}

.step-num-wrap{display:flex;justify-content:center}
.step-num{
  width:36px;height:36px;border-radius:50%;
  background:rgba(249,244,235,0.04);border:1px solid var(--warm3);
  color:var(--muted);
  font-family:var(--font-d);font-weight:800;font-size:0.85rem;
  display:grid;place-items:center;
}
.step-h{font-family:var(--font-d);font-weight:800;font-size:1.15rem;letter-spacing:-0.02em;color:var(--ink);text-align:center}
.step-p{font-size:0.86rem;color:var(--body);line-height:1.55;text-align:center}

/* components/landing/showcase.css */
/* landing/showcase.css — the "see the features" band: three phone frames, each
   holding a live iframe of a real page (scan template or a staged mock).

   The hero's .phone cannot be reused here — it is absolutely positioned and
   carries a 3D transform tied to the hero layout — so this is a flat twin of
   .phone-shell with the same skin (see hero.css). Keep the two in sync. */

.showcase{background:var(--warm2);padding:6rem 2.5rem 7rem}

.sc-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;
  max-width:1100px;margin:4rem auto 0;
}
.sc-item{display:flex;flex-direction:column;align-items:center;gap:1.6rem}

/* ═══ CAROUSEL ═══
   The main landing shows the whole feature catalogue (UseCaseFeatures.all),
   which is far too many for the three-up grid the use-case pages use. Same
   markup, same .sc-item — only the container changes, so the two layouts can
   never drift apart. Must come after .sc-grid: equal specificity, source order
   decides. */
.sc-rail{position:relative}
.sc-rail-on{width:100%;max-width:1100px;margin:4rem auto 0}
.sc-carousel{
  display:flex;max-width:none;margin:0;
  /* overflow-x:auto turns overflow-y into auto too; the .reveal slide-in
     (translateY) then gave the track a few px of vertical scroll, and a wheel
     over the phones scrolled them under their own top bezel. Pin the axis, and
     pad so the phone shadow is not cropped. */
  overflow-x:auto;overflow-y:hidden;padding-block:4px 3rem;margin-bottom:-2rem;
  scroll-snap-type:x mandatory;
  /* Momentum scrolling on iOS, and no scrollbar eating into the phone frames —
     the dots and arrows below say "there is more" instead. */
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;-ms-overflow-style:none;
}
.sc-carousel::-webkit-scrollbar{display:none}
.sc-carousel .sc-item{
  /* Three across with two 2.5rem gaps between them. flex-basis, not width:
     the items must not shrink, or eleven of them would squeeze into one screen. */
  flex:0 0 calc((100% - 5rem) / 3);
  scroll-snap-align:start;
}

/* ═══ ARROWS ═══ (created by the landing script, so they never appear without JS
   to drive them) */
.sc-arrow{
  position:absolute;top:180px;z-index:3;
  width:44px;height:44px;border-radius:50%;
  background:var(--warm);border:1px solid var(--warm3);color:var(--ink);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(45,38,32,0.14);
  transition:opacity 0.2s ease,border-color 0.2s ease,transform 0.2s ease;
}
.sc-arrow svg{width:20px;height:20px}
.sc-arrow:hover:not(:disabled){border-color:var(--copper);transform:scale(1.06)}
.sc-arrow:disabled{opacity:0;pointer-events:none}
.sc-arrow-prev{left:-22px}
.sc-arrow-next{right:-22px}

/* ═══ DOTS ═══ */
.sc-dots{display:flex;justify-content:center;gap:0.5rem;margin-top:2.5rem}
.sc-dot{
  width:8px;height:8px;padding:0;border:0;border-radius:50%;
  background:var(--warm3);cursor:pointer;transition:background 0.2s ease,width 0.2s ease;
}
.sc-dot.active{background:var(--copper);width:22px;border-radius:4px}

/* ═══ PHONE FRAME ═══ */
/* Same chrome as the editor's preview phone (.lc-ph-*): the notch and home bar
   float over the screen instead of pushing it down. */
.sc-phone{
  position:relative;width:100%;max-width:290px;
  background:#0a0806;border:9px solid #111;border-radius:42px;
  outline:1px solid rgba(255,240,225,0.4);outline-offset:-1px;
  box-shadow:0 22px 48px rgba(45,38,32,0.24);
  overflow:hidden;
}
.sc-phone-notch{
  position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:3;
  width:76px;height:20px;background:#111;border-radius:0 0 13px 13px;
  display:flex;align-items:center;justify-content:center;gap:6px;
}
.sc-phone-spk{width:20px;height:3px;background:#2a2420;border-radius:2px}
.sc-phone-cam{width:6px;height:6px;border-radius:50%;background:#2a2420;border:1px solid rgba(255,255,255,0.08)}
.sc-phone-home{
  position:absolute;bottom:7px;left:50%;transform:translateX(-50%);z-index:3;
  width:64px;height:4px;background:rgba(45,38,32,0.35);border-radius:2px;
}
.sc-phone-screen{
  /* The iframe is laid out at 1/--sc-scale of the frame (≈390px, a real phone
     width) and scaled back down, so the embedded page hits its own mobile
     breakpoints instead of the ~272px the frame is physically wide. */
  --sc-scale:0.7;
  position:relative;height:440px;overflow:hidden;background:#faf3ee;
}
/* Fade the hard crop at the bottom so the frame reads as "more page below",
   not as a screenshot that ran out. */
.sc-phone-screen::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:34px;
  background:linear-gradient(to bottom,rgba(250,243,238,0),rgba(250,243,238,0.95));
  pointer-events:none;z-index:2;
}
.sc-frame{
  width:calc(100% / 0.7);height:calc(440px / 0.7);
  transform:scale(var(--sc-scale));transform-origin:top left;
  border:0;display:block;background:#fff;
  /* Marketing furniture: the frames are there to be looked at, not used. */
  pointer-events:none;
}

/* ═══ COPY ═══ */
.sc-copy{text-align:center;max-width:34ch}
.sc-emoji{font-size:1.5rem;margin-bottom:0.6rem}
.sc-h{
  font-family:var(--font-d);font-weight:800;font-size:1.35rem;
  letter-spacing:-0.02em;line-height:1.2;color:var(--ink);
}
.sc-p{font-size:0.95rem;color:var(--body);line-height:1.6;margin-top:0.6rem}

/* Two across before the phone frames get too narrow to read. */
@media(max-width:1024px) and (min-width:861px){
  .sc-carousel .sc-item{flex:0 0 calc((100% - 2.5rem) / 2)}
}

@media(max-width:860px){
  .showcase{padding:4.5rem 1.5rem 5rem}
  .sc-grid{grid-template-columns:1fr;gap:3.5rem;margin-top:3rem}
  .sc-phone{max-width:270px}
  /* The .sc-grid rule above lands after the carousel block and would otherwise
     re-apply the grid's top margin and 3.5rem gap on top of the rail's. */
  .sc-carousel{margin-top:0;gap:1.5rem}
  .sc-rail-on{margin-top:3rem}
  .sc-carousel .sc-item{flex:0 0 100%}
  /* Swipe is the native gesture here, and 44px circles over a phone frame on a
     narrow screen cover the thing they are pointing at. */
  .sc-arrow{display:none}
  .sc-dots{margin-top:2rem}
}

/* components/landing/cases.css */
/* landing/cases.css — the "Use cases" card grid (photo cases + benefit cards). */

/* ═══ USE CASES ═══ */
/* Top padding because the band above (.showcase) is warm2 — without it the
   eyebrow sits flush on the colour boundary. No bottom padding because
   .nfc-info follows on the same warm background and already opens with 6rem;
   two paddings on one continuous colour read as a hole. */
.cases{background:var(--warm);padding:6rem 2.5rem 6rem}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:1100px;margin:3.5rem auto 0}
.case{
  background:var(--warm2);border:1px solid var(--warm3);border-radius:16px;
  overflow:hidden;
  transition:transform 200ms var(--ease-out),box-shadow 200ms var(--ease-out),border-color 200ms ease-out;
}
@media(hover:hover) and (pointer:fine){
  .case:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(45,38,32,0.1);border-color:var(--copper)}
}
.case:active{transform:scale(0.99)}
.case-photo{aspect-ratio:4/5;background-size:cover;background-position:center;position:relative}
/* Home grid: seven categories do not fill a three-column grid (the last card sat
   alone on its own row). Four columns with the first card doubled make 4 + 4,
   and a fixed photo height keeps every row level whatever the span. */
.cases-grid.cases-home{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1160px}
.cases-home .case-photo{aspect-ratio:auto;height:250px}
.cases-home .case{display:flex;flex-direction:column}
.cases-home .case-foot{flex:1}
.case-try{background:var(--dark);border-color:var(--copper);text-decoration:none;color:#F9F4EB}
.case-try-body{padding:1.6rem 1.4rem;display:flex;flex-direction:column;gap:0.7rem;height:100%;justify-content:flex-end}
.case-try-h{font-family:var(--font-d);font-weight:800;font-size:1.35rem;line-height:1.1;letter-spacing:-0.02em}
.case-try-p{font-size:0.85rem;line-height:1.5;color:rgba(249,244,235,0.7)}
.case-try-cta{align-self:flex-start;margin-top:0.4rem;background:var(--copper-cta,#9A5530);color:var(--on-copper-cta,#F9F4EB);font-weight:600;font-size:0.88rem;padding:0.6rem 1rem;border-radius:10px}
.case-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,transparent 40%,rgba(45,38,32,0.8))}
.case-label{position:absolute;bottom:1rem;left:1rem;right:1rem;z-index:1}
.case-cat{font-size:0.58rem;letter-spacing:0.2em;text-transform:uppercase;font-weight:700;color:rgba(255,255,255,0.7)}
.case-name{font-family:var(--font-d);font-weight:800;font-size:1.1rem;letter-spacing:-0.015em;color:#fff;margin-top:0.2rem;line-height:1.1}
.case-foot{padding:0.85rem 1rem 1rem;font-size:0.78rem;color:var(--body);line-height:1.45;border-top:1px solid var(--warm3);background:var(--warm2)}
/* Use-case benefit cards (no photo, so no overlay label): title on the card body. */
.case.benefit{background:var(--warm2)}
.benefit-body{padding:1.6rem;display:flex;flex-direction:column;gap:0.5rem}
.benefit-emoji{font-size:2rem;line-height:1}
.benefit-title{font-family:var(--font-d);font-weight:800;font-size:1.15rem;letter-spacing:-0.015em;color:var(--ink);line-height:1.15}
.benefit-desc{font-size:0.85rem;color:var(--body);line-height:1.5}

/* components/landing/cta.css */
/* landing/cta.css — the dark call-to-action band above the footer. */

/* ═══ CTA SECTION ═══ */
.cta-section{
  background:var(--dark2);padding:7rem 2.5rem;text-align:center;
  position:relative;overflow:hidden;
}
.cta-section::before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:600px;height:300px;background:radial-gradient(ellipse,rgba(182,108,69,0.12),transparent 65%);pointer-events:none}
.cta-h{font-family:var(--font-d);font-weight:800;font-size:3.6rem;letter-spacing:-0.035em;line-height:1;color:var(--warm);max-width:16ch;margin:0 auto}
.cta-h em{font-style:normal;color:inherit;font-weight:inherit}
.cta-sub{font-size:1.05rem;color:var(--on-dark-soft);max-width:48ch;margin:1.2rem auto 0;line-height:1.6}
.cta-btns{display:flex;gap:1rem;justify-content:center;margin-top:2.5rem;flex-wrap:wrap}
.cta-trust{font-size:0.82rem;color:var(--on-dark-dim);margin-top:1.5rem}

/* ═══ FOOTER → /css/components/site-chrome.css ═══ */

/* components/landing/gallery.css */
/* landing/gallery.css — the guest-gallery sections of /galeria-gosci:
   limits strip, table card → upload page, live wall, guest controls. */

/* Dark site (see base.css): same scoped dark token set as .how/.showcase; the
   --light bands flip it back to cream for contrast between them. */
.gg-numbers,.gg-sec{--warm:#15100D; --warm2:#211A15; --warm3:#3A2F26; --ink:#F3EADF; --muted:#B3A08B; --body:#CDBBA6}
.gg-sec--light{--warm:#F6EFE3; --warm2:#FBF7F0; --warm3:#E6D8C2; --ink:#2D2620; --muted:#6E5A47; --body:#5A4A3B}

.gg-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;max-width:1040px;margin:0 auto;
  padding:0 2.5rem;transform:translateY(-1.5rem)}
.gg-num{background:var(--warm2);border:1px solid var(--warm3);padding:1.4rem 1rem;text-align:center;display:flex;flex-direction:column;gap:.3rem}
.gg-num:first-child{border-radius:16px 0 0 16px}
.gg-num:last-child{border-radius:0 16px 16px 0}
.gg-num b{font-family:var(--font-d);font-weight:800;font-size:clamp(1.4rem,2.6vw,2rem);letter-spacing:-.02em;color:var(--copper)}
.gg-num span{font-size:.85rem;color:var(--muted)}

.gg-sec{padding:6rem 2.5rem;background:var(--warm)}
.gg-sec--light{background:var(--warm)}
.gg-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;max-width:1100px;margin:0 auto}
.gg-split--rev .gg-copy{order:2}
.gg-copy{min-width:0}
.gg-h{font-family:var(--font-d);font-weight:800;font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.08;letter-spacing:-.03em;color:var(--ink);margin:.5rem 0 1rem}
.gg-h em{font-style:italic;color:var(--copper)}
.gg-p{font-size:1.02rem;line-height:1.7;color:var(--body);margin:0 0 1.4rem}
.gg-checks{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.gg-checks li{position:relative;padding-left:1.8rem;color:var(--ink);font-size:.95rem;line-height:1.5}
.gg-checks li::before{content:'';position:absolute;left:0;top:.2rem;width:1.1rem;height:1.1rem;border-radius:50%;
  background:color-mix(in srgb,var(--copper) 18%,transparent)}
.gg-checks li::after{content:'';position:absolute;left:.38rem;top:.42rem;width:.32rem;height:.55rem;
  border:solid var(--copper);border-width:0 2px 2px 0;transform:rotate(45deg)}

/* Table card + phone, overlapping like on a table. */
.gg-visual{display:flex;justify-content:center;align-items:center;min-width:0}
.gg-visual--card{position:relative;gap:0}
.gg-card{position:relative;z-index:1;width:220px;margin-right:-18px;transform:rotate(-5deg);
  background:#fffaf2;color:#2d2620;border-radius:10px;padding:1.4rem 1.1rem 1.2rem;text-align:center;
  box-shadow:0 24px 50px rgba(0,0,0,.28),0 0 0 1px rgba(45,38,32,.06)}
.gg-card-kicker{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:#9a7b5f;margin:0 0 .4rem}
.gg-card-names{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:1.9rem;line-height:1.1;margin:0 0 .8rem;color:#2d2620}
.gg-card-qr{display:block;width:132px;height:132px;margin:0 auto .7rem;image-rendering:pixelated}
.gg-card-cta{font-size:.72rem;color:#6e5a47;margin:0}
.gg-phone{max-width:280px;z-index:2}
.gg-phone-screen{height:540px}
.gg-frame{height:calc(540px / 0.7)}

/* The live wall in a TV: the iframe is laid out at 1280×720 and scaled down. */
.gg-tv{width:100%;max-width:560px}
.gg-tv-screen{position:relative;aspect-ratio:16/9;background:#000;border:10px solid #111;border-radius:14px;
  overflow:hidden;box-shadow:0 28px 60px rgba(0,0,0,.35)}
/* Scale set by the landing script (screen width / 1280) — CSS cannot divide a length by a length yet. */
.gg-tv-frame{position:absolute;top:0;left:0;width:1280px;height:720px;border:0;transform-origin:top left;
  transform:scale(var(--tv-scale,.42));pointer-events:none}
.gg-tv-stand{width:30%;height:14px;margin:0 auto;background:linear-gradient(#1a1a1a,#0c0c0c);border-radius:0 0 10px 10px}

.gg-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:1040px;margin:3rem auto 0}
.gg-col{background:var(--warm2);border:1px solid var(--warm3);border-radius:16px;padding:1.6rem 1.4rem;min-width:0}
.gg-col-h{font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--copper);margin:0 0 1rem}
.gg-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.gg-col li{display:flex;gap:.7rem;align-items:flex-start;color:var(--ink);font-size:.93rem;line-height:1.45}
.gg-col svg{flex:0 0 20px;width:20px;height:20px;margin-top:1px;fill:none;stroke:var(--copper);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:900px){
  .gg-numbers{grid-template-columns:repeat(2,1fr);padding:0 16px;gap:8px;transform:none;margin-top:1.5rem}
  .gg-num,.gg-num:first-child,.gg-num:last-child{border-radius:14px}
  .gg-sec{padding:4rem 16px}
  .gg-split{grid-template-columns:1fr;gap:2.5rem}
  .gg-split--rev .gg-copy{order:0}
  .gg-cols{grid-template-columns:1fr}
  .gg-card{width:160px;margin-right:-28px;padding:1rem .8rem}
  .gg-card-names{font-size:1.45rem}
  .gg-card-qr{width:100px;height:100px}
  .gg-phone{max-width:230px}
  .gg-phone-screen{height:460px}
  .gg-frame{height:calc(460px / 0.7)}
}

/* components/landing/pricing.css */
/* landing/pricing.css — warm→dark reverse bridge + the two-card pricing grid. */

/* ═══ BRIDGE reverse ═══ */
/* (.bridge-rev removed — see how.css: hard edges instead of grey fades.) */

/* ═══ PRICING ═══ */
/* Top padding restored: it used to come from the gradient bridge above, and with
   that gone the heading sat against the colour edge. */
.pricing{background:var(--dark2);padding:6rem 2.5rem 7rem}
.pricing .section-h{color:var(--warm)}
.pricing .section-sub{color:var(--on-dark-soft)}
.pricing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;max-width:720px;margin:3.5rem auto 0}
.pricing-grid--3{grid-template-columns:repeat(3,1fr);max-width:1080px}
.plan{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;padding:1.75rem 1.5rem;
  display:flex;flex-direction:column;
  transition:border-color 200ms ease-out;
  position:relative;
}
.plan:hover{border-color:rgba(182,108,69,0.35)}
.plan.popular{border-color:rgba(182,108,69,0.5);background:rgba(182,108,69,0.06)}
.plan-name{font-family:var(--font-d);font-weight:800;font-size:1.3rem;letter-spacing:-0.02em;color:var(--warm)}
.plan-price{font-size:2rem;font-weight:800;font-family:var(--font-d);color:var(--warm);letter-spacing:-0.03em;margin-top:0.5rem;line-height:1}
.plan-annual{font-size:0.78rem;color:var(--copper);margin-top:0.45rem;line-height:1.3}
.plan-tagline{font-size:0.84rem;color:var(--on-dark-dim);margin-top:0.9rem;line-height:1.4;min-height:2.4em}
.plan-feats{list-style:none;margin-top:1.25rem;display:flex;flex-direction:column;gap:0.55rem;flex:1}
.plan-feats li{font-size:0.84rem;color:rgba(249,244,235,0.65);position:relative;padding-left:1.1rem;line-height:1.35}
.plan-feats li::before{content:'✓';color:var(--copper);font-size:0.72rem;font-weight:700;position:absolute;left:0;top:2px}
/* The block list is the answer to "what do I actually get" — the count in
   copper, the names muted underneath so the card stays scannable. */
.plan-blocks{margin-top:1.1rem;padding-top:0.9rem;border-top:1px solid rgba(255,255,255,0.08)}
.plan-blocks summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0.25rem 0.75rem;min-height:44px;align-content:center}
.plan-blocks summary::-webkit-details-marker{display:none}
.plan-blocks-h{font-size:0.82rem;font-weight:700;color:var(--copper);letter-spacing:-0.01em}
.plan-blocks-more{font-size:0.78rem;color:var(--on-dark-soft);text-decoration:underline;text-underline-offset:3px}
.plan-blocks-more::after{content:' ▾';display:inline-block;transition:transform 150ms ease-out}
.plan-blocks[open] .plan-blocks-more::after{transform:rotate(180deg)}
.plan-blocks summary:focus-visible{outline:2px solid var(--copper);outline-offset:3px;border-radius:4px}
.plan-blocks-l{font-size:0.72rem;color:var(--on-dark-dim);line-height:1.5;margin-top:0.35rem}
/* Per-category prices under "od 29 zł": category left, amount right, reason below. */
.plan-prices{list-style:none;margin-top:0.9rem;display:flex;flex-direction:column;gap:0.6rem}
.plan-prices li{display:grid;grid-template-columns:1fr auto;gap:0.1rem 0.75rem;font-size:0.8rem;line-height:1.35}
.plan-prices-cat{color:rgba(249,244,235,0.75)}
.plan-prices-amt{color:var(--warm);font-weight:700;white-space:nowrap}
.plan-prices-note{grid-column:1 / -1;font-size:0.72rem;color:var(--on-dark-dim)}
.pricing-note{max-width:900px;margin:1.5rem auto 0;text-align:center;font-size:0.78rem;color:var(--on-dark-dim);line-height:1.5}
.plan-cta{
  display:block;text-align:center;margin-top:1.5rem;padding:0.75rem 1rem;
  border-radius:10px;font-size:0.88rem;font-weight:600;text-decoration:none;
  transition:background 150ms ease-out,transform 100ms ease-out;
}
.plan-cta.primary{background:var(--copper-cta,#9A5530);color:var(--on-copper-cta,#F9F4EB);box-shadow:0 4px 16px rgba(182,108,69,0.3)}
.plan-cta.primary:hover{background:var(--copper-cta-hover,#8A4B2A)}
.plan-cta.ghost{border:1px solid rgba(255,255,255,0.12);color:rgba(249,244,235,0.65)}
.plan-cta.ghost:hover{border-color:rgba(255,255,255,0.25);color:var(--warm)}

/* components/landing/reveal.css */
/* landing/reveal.css — scroll-entrance animation state (progressive enhancement:
   content is visible by default; hidden only once the .js class is present). */

/* scroll entrance */
/* Visible by default; only hidden once JS is present to reveal them on scroll. */
.reveal{opacity:1;transform:none;transition:opacity 400ms var(--ease-out),transform 400ms var(--ease-out)}
.js .reveal{opacity:0;transform:translateY(16px)}
.js .reveal.visible{opacity:1;transform:translateY(0)}

/* Sections scrolled out of view stop their looping animations (landing.js). */
.anim-off,.anim-off *,.anim-off *::before,.anim-off *::after{animation-play-state:paused!important}

/* components/landing/nfc-info.css */
/* landing/nfc-info.css — the "NFC or QR" setup explainer band (four cards, 2×2). */

/* ═══ NFC SETUP ═══ */
.nfc-info{padding:6rem 2.5rem;background:var(--warm)}
/* 2×2, not four across: at 900px four columns squeeze each card to ~190px and
   the Polish copy wraps every third word. */
.nfc-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;max-width:900px;margin:3rem auto 0}
/* min-width:0 — grid items default to min-width:auto, so a long unbreakable
   word (Polish compounds get there fast) pushes the track wider than its share
   and the last card slides off the viewport. */
.nfc-card{background:var(--warm2);border:1px solid var(--warm3);border-radius:16px;padding:1.75rem 1.5rem;min-width:0}
/* Line icons in the brand copper instead of emoji: four different emoji styles
   (satellite dish, black square, cart, phone) read as clip-art next to the type. */
.nfc-card-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;margin-bottom:1rem;color:var(--copper);background:color-mix(in srgb,var(--copper) 10%,transparent)}
.nfc-card-h{font-family:var(--font-d);font-weight:800;font-size:1.1rem;letter-spacing:-0.02em;color:var(--ink);margin-bottom:0.6rem}
.nfc-card-p{font-size:0.85rem;color:var(--muted);line-height:1.6}
.nfc-card-p a{color:var(--copper);text-decoration:none}
.nfc-card-p a:hover{text-decoration:underline}


/* ═══ USE-CASE ARTICLE — the page's own copy, read like a guide ═══ */
.uc-article-body{max-width:720px;margin:0 auto}
.uc-article-h{font-family:var(--font-d);font-weight:800;font-size:clamp(1.35rem,2.4vw,1.75rem);letter-spacing:-0.02em;line-height:1.2;color:var(--ink);margin:2.5rem 0 0.9rem}
.uc-article-h:first-child{margin-top:0}
.uc-article-p{font-size:1rem;line-height:1.75;color:var(--muted);margin:0 0 1rem}
.uc-related{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--warm3)}
.uc-related-h{font-size:0.75rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted);margin-bottom:0.75rem}
.uc-related ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0.5rem}
.uc-related a{display:inline-block;padding:0.45rem 0.9rem;border:1px solid var(--warm3);border-radius:999px;color:var(--ink);text-decoration:none;font-size:0.88rem}
.uc-related a:hover{border-color:var(--copper);color:var(--copper)}

/* ═══ USE-CASE PROMO VIDEO ═══ */
.uc-video{text-align:center}
.uc-video-clip{display:block;width:100%;height:auto;aspect-ratio:9/16;border-radius:24px;background:var(--warm3);box-shadow:0 20px 50px rgba(0,0,0,.18)}
/* Several clips: side by side, up to three, captions under each. */
.uc-vids{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,400px));justify-content:center;gap:2rem;max-width:1320px;margin:2.5rem auto 0}
.uc-vid{margin:0;min-width:0;transition:opacity .5s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
/* One clip plays at a time; the others wait, dimmed, so the eye has one place to go. */
.uc-vids.is-sequenced .uc-vid{opacity:.38;transform:scale(.94);cursor:pointer}
.uc-vids.is-sequenced .uc-vid.is-focus{opacity:1;transform:none}
.uc-vids.is-sequenced .uc-vid.is-focus .uc-video-clip{box-shadow:0 28px 70px rgba(0,0,0,.35),0 0 0 2px color-mix(in srgb,var(--copper) 55%,transparent)}
.uc-vid figcaption{margin-top:.9rem;font-family:var(--font-d);font-weight:700;font-size:1.05rem;line-height:1.3;color:var(--ink)}
/* One clip: beside its copy, so the band is not a narrow phone in empty space. */
.uc-one{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:4rem;align-items:center;max-width:1000px;margin:1.5rem auto 0;text-align:left}
@media (max-width:900px){
  .uc-vids{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;justify-content:start;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 8px;margin-left:-16px;margin-right:-16px}
  .uc-vid{scroll-snap-align:center}
  .uc-one{grid-template-columns:1fr;gap:1.5rem;text-align:center}
  .uc-one .uc-video-clip{max-width:340px;margin:0 auto}
}

/* components/landing/responsive.css */
/* landing/responsive.css — cross-section mobile breakpoints + reduced-motion.
   Load AFTER every section base file: these rules override .hero/.steps/.cases/
   .stats/.pricing/.nfc-cards etc., so the cascade needs them last. */

/* ── Mobile ── */
@media(max-width:860px){
  .steps{grid-template-columns:repeat(2,1fr)}
  .step::after{display:none}
  .cases-grid,.cases-grid.cases-home{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nfc-cards{grid-template-columns:1fr}
  .pricing-grid,.pricing-grid--3{grid-template-columns:1fr}
}
@media(max-width:640px){
  /* Tight on purpose: at 390×844 the CTA and the top of the phone must both
     land in the first screen, so the hero text gives up its desktop air. */
  .hero{grid-template-columns:1fr;min-height:auto;padding:1.25rem 1.5rem 1.5rem;gap:0}
  .hero-eyebrow{margin-bottom:0.7rem;font-size:0.85rem}
  .hero-h{font-size:clamp(2.1rem,8.6vw,3.2rem);line-height:0.95}
  .hero-sub{font-size:1rem;line-height:1.5;margin-top:0.85rem}
  .hero-sub-synced{min-height:4.5em}
  .hero-cta{margin-top:1.1rem;gap:0 0.75rem}
  .hero-cta .btn-primary{padding:0.9rem 1.4rem}
  .hero-cta .btn-ghost{padding:0.75rem 0.4rem}
  .hero-trust{margin-top:0.6rem}
  /* The phone used to vanish below 640px, so a phone visitor — most of the
     search traffic — never saw the product in the hero. It stays, scaled down
     under the CTAs: the stage is a fixed 560×800 scene, so it is scaled as a
     whole and nudged right, because the phone sits left of the stage centre. */
  .hero-r{display:block;min-height:0;height:470px;margin:0.75rem -1.5rem 0;overflow:hidden;position:relative}
  .hero-r .demo-stage{position:absolute;left:50%;top:0;width:560px;max-width:none;transform:translateX(-50%) translateX(64px) scale(0.58);transform-origin:top center}
  .hero-r .float-cards{display:none}
  /* Upright here: a page tilted 38° away is unreadable at this size. !important
     beats the scene loop's inline transforms (ponytail: drops the tap dip on
     phones; make the loop's poses media-aware if that dip is missed). */
  .hero-r .phone{animation:none;transform:translateX(-80%) translateY(-10px) !important}
}
@media(max-width:520px){
  /* site-chrome.css drops .nav-signin at this width; the hero carries it instead. */
  .hero-signin{display:block}
  .cases-grid,.cases-grid.cases-home{grid-template-columns:1fr}
  /* ~450px per card turned seven categories into a long scroll of photos. */
  .cases-home .case-photo{height:170px}
  /* One step per row, visual beside the text: two 150px columns squeezed the
     copy into four-word lines. */
  .steps{grid-template-columns:1fr;gap:1.4rem;margin-top:2.5rem}
  .step{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:1rem;row-gap:0.2rem;align-items:start;text-align:left}
  .step .step-visual{grid-row:span 3;width:72px;height:72px;border-radius:16px}
  .step-num-wrap{justify-content:flex-start}
  .step-num{width:28px;height:28px;font-size:0.75rem}
  .step-h,.step-p{text-align:left}
  .how,.cases,.showcase,.nfc-info,.pricing{padding-left:1.25rem;padding-right:1.25rem}
  .stats-bar{flex-wrap:wrap}
  .stat{flex:1 1 50%;border-right:none;border-bottom:1px solid rgba(255,255,255,0.06)}
  .cta-h{font-size:2.4rem}
}

@media(prefers-reduced-motion:reduce){
  .reveal,.fcard,.screen-layer{transition:none}
  .js .reveal{opacity:1;transform:none}
  .eyebrow-dot,.lock-nfc-icon{animation:none}
  .stage-glow,.lock-nfc-icon path,.fcard.visible,.tap-burst.go i{animation:none}
  .sv1-ring,.sv2-line.active,.sv2-cursor,.sv3-phone,.sv3-ping,.sv3-ping::after,.sv4-line::after,.sv4-dot.active{animation:none}
  .phone.live-sway{animation:none}
}

/* components/landing/faq.css */
/* landing/faq.css — the <details>-based FAQ accordion. */

.faq-item{background:var(--warm);border:1px solid var(--warm3);border-radius:12px;overflow:hidden}
.faq-q{padding:1.1rem 1.25rem;font-size:0.95rem;font-weight:700;color:var(--ink);cursor:pointer!important;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-q::-webkit-details-marker{display:none}
.faq-q::after{content:'+';font-size:1.2rem;color:var(--copper);flex-shrink:0;line-height:1}
details[open]>.faq-q::after{content:'−'}
.faq-a{padding:0 1.25rem 1.1rem;font-size:0.88rem;color:var(--muted);line-height:1.65;margin:0}
.faq-list{max-width:720px;margin:3rem auto 0;display:flex;flex-direction:column;gap:0.75rem}
/* Every question starts collapsed (no `open` attribute) — on a phone eight open
   answers were a wall of text. Tighter rows so the whole list fits a screen or two. */
@media(max-width:640px){
  .faq-list{margin-top:1.75rem;gap:0.5rem}
  .faq-q{padding:0.85rem 1rem;font-size:0.92rem;line-height:1.35}
  .faq-a{padding:0 1rem 0.95rem;font-size:0.86rem;line-height:1.6}
}

/* components/support-chat.css */
/* support-chat.css — the fixed bottom-right support-chat widget (.sc-*),
   paired with /js/support-chat.js. Split out of landing.html's inline <style>.
   Uses var(--token, fallback) so it stands alone on any page that mounts it. */

.sc-root { --sc-accent: color-mix(in srgb, var(--copper, #B66C45) 72%, #000); position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900; font-family: var(--font-b, system-ui, sans-serif); }
/* `display:flex/inline-flex` below outranks the UA `[hidden]{display:none}`
   rule, so without this the panel ignores its `hidden` attr and shows open on
   load. Keep this first so hidden always wins. */
.sc-panel[hidden], .sc-launcher[hidden] { display: none !important; }
/* A utility, not a call to action: a light pill with ink text and a copper icon.
   As a filled copper pill it competed with each page's real primary button —
   and inside the app, where primaries are ink, it looked like a foreign widget.
   The border and shadow keep it visible over the dark landing hero. */
.sc-launcher { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--card, #fff); color: var(--ink, #2D2620); border: 1px solid var(--warm, #E8DBC4); border-radius: 999px; padding: 0.6rem 1rem; font-weight: 600; font-size: 0.85rem; font-family: var(--font-body, system-ui, sans-serif); cursor: pointer !important; box-shadow: 0 6px 20px rgba(26,20,17,0.18); }
.sc-launcher svg { color: var(--copper, #B66C45); }
.sc-launcher:hover { border-color: var(--copper, #B66C45); }
.sc-launcher:focus-visible { outline: 2px solid var(--copper, #B66C45); outline-offset: 2px; }
/* On a phone the labelled pill covered a strip of every page it sat on; the icon
   alone is enough (the button keeps its aria-label). */
@media (max-width: 520px) {
  .sc-root { right: 0.9rem; bottom: 0.9rem; }
  .sc-launcher { min-width: 44px; height: 44px; padding: 0 0.6rem; justify-content: center; }
  .sc-launcher svg { width: 20px; height: 20px; }
  .sc-launcher-label { display: none; }
}
/* Hidden while scrolling down (support-chat.js toggles .sc-tucked). Phones and
   small tablets only; keyboard focus or an unread reply always brings it back. */
@media (max-width: 760px) {
  .sc-launcher { transition: transform 220ms cubic-bezier(0.23,1,0.32,1), opacity 180ms ease-out; }
  .sc-launcher.sc-tucked:not(:focus-visible):not(.sc-has-unread) { transform: translateY(calc(100% + 1.5rem)); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 220ms cubic-bezier(0.23,1,0.32,1), opacity 180ms ease-out, visibility 0s linear 220ms; }
}
@media (prefers-reduced-motion: reduce) { .sc-launcher { transition: opacity 120ms linear; } }
/* Unread badge — account mode only: support wrote and the user has not read it. */
.sc-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px; background: var(--card); color: var(--copper, #B66C45); font-size: 0.7rem; font-weight: 800; }
.sc-badge[hidden] { display: none !important; }
.sc-has-unread { animation: sc-pulse 1.8s ease-in-out infinite; }
@keyframes sc-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 8px rgba(182,108,69,0.18); }
}
@media (prefers-reduced-motion: reduce) { .sc-has-unread { animation: none; } }
.sc-panel { width: 340px; max-width: calc(100vw - 2rem); height: 460px; max-height: calc(100vh - 3rem); background: var(--card); border: 1px solid var(--warm, #E8DBC4); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.22); display: flex; flex-direction: column; overflow: hidden; }
.sc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; padding: 1rem 1.1rem; background: var(--sc-accent); color: #fff; }
.sc-title { font-family: var(--font-d, inherit); font-weight: 800; font-size: 1rem; }
.sc-sub { font-size: 0.78rem; opacity: 0.9; margin-top: 0.15rem; }
.sc-close { background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer !important; }
.sc-presence { font-size: 0.75rem; color: var(--muted, #8A7560); background: var(--soft, #F5EFE3); padding: 0.5rem 1.1rem; text-align: center; }
.sc-presence-loading { display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.sc-presence-loading::before { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid var(--warm, #E8DBC4); border-top-color: var(--copper, #B66C45); animation: sc-spin 0.7s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sc-presence-loading::before { animation: none; } }
.sc-log { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.sc-msg { display: flex; flex-direction: column; }
.sc-msg-visitor { align-items: flex-end; }
.sc-msg-support { align-items: flex-start; }
.sc-bubble { max-width: 78%; padding: 0.5rem 0.75rem; border-radius: 12px; font-size: 0.875rem; white-space: pre-wrap; word-break: break-word; }
.sc-msg-visitor .sc-bubble { background: var(--sc-accent); color: #fff; border-bottom-right-radius: 4px; }
.sc-msg-support .sc-bubble { background: var(--soft, #F5EFE3); border: 1px solid var(--warm, #E8DBC4); color: var(--ink, #2D2620); border-bottom-left-radius: 4px; }
.sc-bubble-image { display: block; max-width: 100%; max-height: 180px; border-radius: 8px; margin-top: 0.35rem; }
.sc-meta { font-size: 0.68rem; color: var(--muted, #8A7560); margin-top: 0.2rem; padding: 0 0.2rem; }
.sc-preview { position: relative; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.1rem; border-top: 1px solid var(--warm, #E8DBC4); }
.sc-preview[hidden] { display: none !important; }
.sc-preview img { max-height: 48px; border-radius: 6px; }
.sc-preview-remove { background: var(--warm, #E8DBC4); color: var(--ink, #2D2620); border: none; border-radius: 50%; width: 1.3rem; height: 1.3rem; line-height: 1; cursor: pointer !important; }
.sc-form { display: flex; align-items: stretch; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--warm, #E8DBC4); }
.sc-attach { flex-shrink: 0; background: none; border: none; color: var(--muted, #8A7560); padding: 0.3rem; display: flex; align-items: center; cursor: pointer !important; }
.sc-attach:hover { color: var(--copper, #B66C45); }
.sc-input { flex: 1; min-width: 0; border: 1px solid var(--warm, #E8DBC4); border-radius: 10px; padding: 0.55rem 0.7rem; font-size: 0.875rem; background: var(--soft, #fff); color: var(--ink, #2D2620); cursor: text !important; user-select: text; -webkit-user-select: text; }
.sc-input:disabled { background: var(--soft, #F5EFE3); }
.sc-send { flex-shrink: 0; background: var(--sc-accent); color: #fff; border: none; border-radius: 10px; padding: 0 1rem; font-weight: 700; font-size: 0.85rem; cursor: pointer !important; }
