/* MamyMapy landing - tokens 1:1 from designs/mamymapy */

:root {
  --accent: #a99bc4;
  --accent-lt: #c7bcde;
  --accent-dk: #8b79b4;
  --accent-glow: rgba(139, 121, 180, 0.42);
  --accent-soft: rgba(169, 155, 196, 0.16);
  --ground: #efe7da;
  --park: #cbd8bc;
  --water: #b6d2de;
  --road: #fbf7f0;
  --block: #e6dccc;
  --bg-top: #fbf5ec;
  --bg-mid: #efe5d6;
  --bg-deep: #e7dbc9;
  --text: #2c2622;
  --muted: #7c7167;
  --muted-2: #8a8076;
  --verified: #4ba87b;
  --white: #ffffff;
  /* Lawenda przyciemniona do tekstu na kremie — AA (>= 4.5:1 na --bg-mid i --bg-deep); --accent-dk tylko dla dużego/pogrubionego tekstu i tła */
  --accent-text: #645587;
  /* Ciemniejszy wariant --muted dla najdrobniejszych tekstów (hero-note, stopka) — AA na całym gradiencie tła */
  --muted-strong: #665d54;
  --font-ui: "Figtree", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 14px 40px rgba(58, 42, 30, 0.12);
  --shadow-btn: 0 12px 28px var(--accent-glow);
  /* Content column: ~1200px — standard big-brand marketing (Stripe/Linear/Airbnb band).
     Side gutter grows with viewport so ultrawide doesn't hug the edges. */
  --wrap: min(1200px, calc(100% - clamp(2.5rem, 6vw, 5rem)));
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

p {
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(251, 245, 236, 0.82);
  border-bottom: 1px solid rgba(58, 42, 30, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
}

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

.brand-logo {
  width: 30px;
  height: 36px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.brand-logo-lg {
  width: 0.95em;
  height: 1.12em;
}

.footer-brand .brand-logo {
  width: 26px;
  height: 30px;
}

.brand-name {
  font-size: 1.05rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--text);
}

.header-nav .btn {
  color: var(--white);
}

.legal-lang-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 15px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  border-radius: 13px;
  background: var(--accent);
  box-shadow: 0 8px 18px var(--accent-glow);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-sm:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px var(--accent-glow);
}

#top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* Hero - 50/50: copy | art, fits viewport below sticky header */
.hero {
  --hero-h: calc(100svh - var(--header-h));
  position: relative;
  min-height: var(--hero-h);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
  width: var(--wrap);
  max-width: var(--wrap);
  min-height: var(--hero-h);
  margin-inline: auto;
  padding: 0;
  box-sizing: border-box;
  perspective: 900px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: none;
  min-height: 0;
  padding: clamp(1.5rem, 4vh, 3rem) 0;
  box-sizing: border-box;
}

.hero-art {
  margin: clamp(0.75rem, 2vh, 1.5rem);
  align-self: center;
  justify-self: center;
  width: fit-content;
  max-width: calc(100% - clamp(1.5rem, 4vh, 3rem));
  max-height: calc(100% - clamp(1.5rem, 4vh, 3rem));
  min-height: 0;
  box-sizing: border-box;
  border-radius: 22px;
  overflow: hidden;
  background: #fdf9ee;
  box-shadow:
    0 18px 40px -18px rgba(44, 42, 38, 0.35),
    0 0 0 1px rgba(44, 42, 38, 0.06);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(var(--hero-h) - clamp(1.5rem, 4vh, 3rem));
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.brand-hero {
  margin: 0 0 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 32ch;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--muted);
}

.lead-short {
  display: none;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.hero-note {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-strong);
}

/* Phone mock */
.phone {
  width: min(290px, 72vw);
  margin-inline: auto;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #222 0%, #15110e 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 40px 80px -20px rgba(58, 42, 30, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: phone-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-sm {
  width: min(250px, 68vw);
}

.phone-bezel {
  border-radius: 34px;
  overflow: hidden;
  background: var(--ground);
}

.phone-screen {
  position: relative;
  aspect-ratio: 390 / 760;
  overflow: hidden;
}

/* Map phone mock (.map-*, .status-bar, .chip*, .pin*, .you-are-here, .nav-*) — CELOWO nieużywany
   w HTML: sekcja „Mapa miejsc” czeka na screeny/mock apki (decyzja 2026-07-19). Nie usuwać. */
.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-ui {
  position: absolute;
  inset: 0;
  font-size: 11px;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 0;
  font-weight: 700;
  font-size: 11px;
}

.map-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px 0;
  background: linear-gradient(180deg, var(--ground) 55%, rgba(239, 229, 214, 0));
}

.map-brand {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.map-hello {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  margin-top: 2px;
}

.map-loc {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
  font-size: 9.5px;
}

.map-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(150deg, var(--accent-lt), var(--accent-dk));
  border: 2px solid var(--white);
  box-shadow: 0 6px 14px var(--accent-glow);
}

.map-search {
  margin: 10px 14px 0;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 12px;
  color: #9a9087;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(58, 42, 30, 0.1);
}

.map-chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
  padding: 10px 14px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #ebe2d5;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c2622;
}

.chip-active {
  background: var(--accent);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 14px var(--accent-glow);
}

.chip-active i {
  background: rgba(255, 255, 255, 0.85);
}

.pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: pin-in 0.55s ease forwards;
}

.pin:nth-child(1 of .pin) { animation-delay: 0.35s; }
.pin:nth-child(2 of .pin) { animation-delay: 0.45s; }
.pin:nth-child(3 of .pin) { animation-delay: 0.55s; }
.pin:nth-child(4 of .pin) { animation-delay: 0.65s; }
.pin:nth-child(5 of .pin) { animation-delay: 0.75s; }
.pin:nth-child(6 of .pin) { animation-delay: 0.85s; }
.pin:nth-child(7 of .pin) { animation-delay: 0.95s; }

.pin-head {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 6px 12px rgba(44, 38, 34, 0.28);
  background: var(--pin, #7c9070);
}

.pin-point {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--pin, #7c9070);
  margin-top: -2px;
}

.pin-park { --pin: #7c9070; }
.pin-cafe { --pin: #c2854f; }
.pin-nursing { --pin: #a99bc4; }
.pin-indoor { --pin: #5fa0c2; }
.pin-pharmacy { --pin: #c75d52; }
.pin-quiet { --pin: #5fa58c; }

.pin-label {
  position: absolute;
  bottom: 36px;
  white-space: nowrap;
  background: var(--white);
  color: var(--text);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(44, 38, 34, 0.18);
}

.you-are-here {
  position: absolute;
  left: 46%;
  top: 66%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.you-are-here .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(61, 125, 219, 0.45);
  animation: mm-pulse 2.4s ease-out infinite;
}

.you-are-here .dot {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #3d7ddb;
  border: 2px solid var(--white);
}

.map-nav {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: var(--white);
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 12px 28px rgba(58, 42, 30, 0.16);
  font-size: 8px;
  font-weight: 700;
  color: #a89f94;
}

.nav-item.active {
  color: var(--accent);
}

.nav-fab {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  transform: translateY(-8px);
  background: linear-gradient(155deg, var(--accent-lt), var(--accent-dk));
  box-shadow: 0 10px 20px var(--accent-glow);
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section-head {
  max-width: 28rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin-top: 0.25rem;
}

/* Recognize */
.recognize {
  background: linear-gradient(180deg, rgba(251, 245, 236, 0.4), transparent);
}

.recognize-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  perspective: 900px;
}

.recognize h2 {
  max-width: 18ch;
}

.recognize-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 38ch;
}

.recognize-list li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.recognize-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.bridge {
  margin-top: 1.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-dk);
  max-width: 34ch;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  padding: 1.4rem 1.3rem 1.55rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(58, 42, 30, 0.06);
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-text);
}

.step p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  perspective: 900px;
}

.product-grid.reverse {
  grid-template-columns: 1.05fr 1fr;
}

.product-grid.reverse .product-copy {
  order: 2;
}

.product-grid.reverse .product-visual {
  order: 1;
}

.product-copy p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 38ch;
}

.amenity-list,
.trust-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.amenity-list li,
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.amenity-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.trust-list {
  gap: 0.7rem;
}

.trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--verified);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.product-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.product-visual img {
  width: 100%;
  height: min(460px, 55vw);
  object-fit: cover;
}

.product-visual-art {
  border-radius: 22px;
  overflow: hidden;
  background: #fdf9ee;
  box-shadow:
    0 18px 40px -18px rgba(44, 42, 38, 0.35),
    0 0 0 1px rgba(44, 42, 38, 0.06);
  transform-style: preserve-3d;
  will-change: transform;
}

.product-visual-art img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  display: block;
  width: 100%;
}

/* UI strip */
.ui-strip {
  padding-top: 0;
}

.ui-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(58, 42, 30, 0.06);
}

.ui-strip-copy h2 {
  max-width: 16ch;
}

.ui-strip-copy p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 36ch;
}

.meet-screen {
  background: var(--bg-top);
  padding: 18px 14px 16px;
  aspect-ratio: 390 / 680;
}

.meet-title {
  font-size: 20px;
  font-weight: 800;
}

.meet-sub {
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted-2);
  font-weight: 500;
}

.meet-tabs {
  display: flex;
  gap: 3px;
  margin-top: 12px;
  padding: 3px;
  border-radius: 11px;
  background: var(--ground);
}

.meet-tabs span {
  flex: 1;
  text-align: center;
  padding: 7px 2px;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted-2);
}

.meet-tabs .on {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(58, 42, 30, 0.08);
}

.meet-card {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(58, 42, 30, 0.06);
}

.meet-card.soft {
  opacity: 0.92;
}

.meet-when {
  min-width: 44px;
  text-align: center;
  background: var(--accent-soft);
  border-radius: 11px;
  padding: 8px 4px;
  color: var(--accent-dk);
}

.meet-when strong {
  display: block;
  font-size: 11px;
}

.meet-when span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
}

.meet-name {
  font-size: 12px;
  font-weight: 800;
}

.meet-meta {
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted-2);
  font-weight: 600;
}

.meet-avatars {
  display: flex;
  margin-top: 8px;
}

.meet-avatars i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  border: 1.5px solid var(--white);
  margin-left: -5px;
  font-style: normal;
}

.meet-avatars i:first-child {
  margin-left: 0;
}

/* Download */
.download {
  padding-bottom: 3rem;
}

.download-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, var(--accent-soft), transparent 55%);
  border: 1px solid rgba(169, 155, 196, 0.28);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.download-lead {
  margin: 0.85rem auto 0;
  color: var(--muted);
  max-width: 38ch;
}

.store-btns {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.hero-cta .store-btns {
  margin-top: 0;
  justify-content: flex-start;
}

/* Official Apple / Google badges - only scale, do not restyle artwork */
.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.store-badge-play img {
  /* Google asset includes extra padding; match Apple visual height */
  height: 60px;
  margin-block: -10px;
}

.store-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 40px;
  min-width: 11.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9px;
  background: var(--text);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(44, 38, 34, 0.18);
  text-align: left;
  line-height: 1.15;
}

.btn-store small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
}

.btn-store span {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-store:hover {
  background: #1c1815;
  transform: translateY(-1px);
}

.btn-store-web {
  background: var(--accent);
  box-shadow: var(--shadow-btn);
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-store-web:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px var(--accent-glow);
}

.download-auth {
  margin: 1.15rem auto 0;
  max-width: 36ch;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

/* FAQ */
.faq h2 {
  margin-bottom: 1.25rem;
}

.faq-item {
  border-top: 1px solid rgba(58, 42, 30, 0.08);
  padding: 0.95rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(58, 42, 30, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent-text);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
}

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

.faq-item p {
  margin-top: 0.55rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(58, 42, 30, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 0.45rem;
}

.footer-brand {
  color: var(--text);
  margin-bottom: 0.15rem;
}

.footer-copy {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted-strong);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.delay-1 {
  transition-delay: 0.12s;
}

.reveal.delay-2 {
  transition-delay: 0.22s;
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pin-in {
  from {
    opacity: 0;
    transform: translate(-50%, -80%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}

@keyframes mm-pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.55;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

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

  .reveal,
  .phone,
  .pin,
  .you-are-here .pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 920px) {
  :root {
    --header-h: 60px;
    --wrap: min(1200px, calc(100% - 2rem));
  }

  .header-nav a:not(.btn):not(.header-nav__mobile) {
    display: none;
  }

  /* Mobile hero: art first → headline + lead → CTA (brand lives in sticky header) */
  .brand-hero {
    display: none;
  }

  .hero {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    height: auto;
    min-height: 0;
    padding: 0.65rem 1.15rem 1.5rem;
    align-items: stretch;
    perspective: none;
  }

  .hero-art {
    order: -1;
    height: auto;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    justify-self: stretch;
    will-change: auto;
    transform: none !important;
    transition: none !important;
  }

  .hero-art img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
  }

  .hero-copy {
    order: 1;
    text-align: center;
    align-items: center;
    max-width: none;
    padding: 0.15rem 0.25rem 0;
  }

  .product-visual-art {
    will-change: auto;
    transform: none !important;
    transition: none !important;
  }

  .lead-full {
    display: none;
  }

  .lead-short {
    display: inline;
  }

  #hero-title,
  #hero-title .display {
    display: block;
    max-width: none;
    width: 100%;
  }

  h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    max-width: none;
    width: 100%;
  }

  .section {
    padding: 2.75rem 0;
  }

  .recognize {
    padding-top: 2.25rem;
  }

  .section-head {
    margin-bottom: 1.35rem;
  }

  .steps,
  .recognize-grid,
  .product-grid,
  .product-grid.reverse,
  .ui-strip-inner {
    grid-template-columns: 1fr;
  }

  .recognize-grid .product-visual,
  .product-grid .product-visual {
    max-width: none;
    width: 100%;
    margin-inline: 0;
  }

  .product-grid.reverse .product-copy,
  .product-grid.reverse .product-visual {
    order: initial;
  }

  .product-grid,
  .product-grid.reverse {
    gap: 1.35rem;
  }

  .product-visual img {
    height: auto;
    width: 100%;
  }

  .product-visual-art img {
    height: auto;
    width: 100%;
    max-height: none;
  }

  .steps {
    gap: 0.75rem;
  }

  .step {
    padding: 1.05rem 1.05rem 1.15rem;
  }

  .step-num {
    margin-bottom: 0.45rem;
  }

  .step p {
    margin-top: 0.35rem;
    font-size: 0.92rem;
  }

  .ui-strip {
    padding-top: 0;
  }

  .ui-strip-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 0;
    padding: 1.35rem 1.25rem;
  }

  .ui-strip-inner .phone {
    display: none;
  }

  .ui-strip-copy {
    text-align: left;
  }

  .ui-strip-copy h2 {
    font-size: 1.45rem;
  }

  .recognize-list {
    margin-top: 1.15rem;
    gap: 0.55rem;
    max-width: none;
  }

  .recognize-list li {
    font-size: 1rem;
  }

  .bridge {
    margin-top: 1.25rem;
    font-size: 1.05rem;
  }

  .download-panel {
    padding: 1.4rem 1.2rem 1.55rem;
    border-radius: 24px;
  }

  .store-btns {
    flex-direction: column;
    align-items: center;
  }

  .store-badge img {
    height: 44px;
  }

  .store-badge-play img {
    height: 64px;
    margin-block: -10px;
  }

  .btn-store {
    width: min(100%, 220px);
    justify-content: center;
  }

  .btn-primary {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
    margin-top: 1.15rem;
    align-items: stretch;
  }

  .hero-cta .store-btns {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-note {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(1120px, calc(100% - 2rem));
    --header-h: 56px;
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 0.65rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-logo {
    width: 26px;
    height: 30px;
  }

  .btn-sm {
    padding: 0.58rem 0.95rem;
    font-size: 0.86rem;
  }

  .hero-content {
    padding: 0.5rem 1rem 1.35rem;
    gap: 0.95rem;
  }

  .hero-art {
    border-radius: 18px;
  }

  h1 {
    font-size: 1.85rem;
    max-width: none;
    width: 100%;
    line-height: 1.12;
  }

  .hero-lead {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 28ch;
  }

  .hero-cta {
    margin-top: 0.95rem;
    gap: 0.35rem;
  }

  .hero-note {
    font-size: 0.78rem;
  }

  .recognize-list .reveal.delay-1,
  .recognize-list .reveal.delay-2 {
    transition-delay: 0s;
  }

  .pin-label {
    display: none;
  }

  .section {
    padding: 2.5rem 0;
  }

  .recognize {
    padding-top: 2rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .product-copy p {
    font-size: 0.95rem;
  }

  .product-visual {
    border-radius: 18px;
  }

  .product-visual-art {
    border-radius: 18px;
  }

  .ui-strip-inner {
    padding: 1.15rem 1.05rem;
    border-radius: 20px;
  }

  .faq-item summary {
    font-size: 0.98rem;
  }

  .site-footer {
    padding: 2rem 0 2.5rem;
  }

  .legal-section p,
  .legal-section ul,
  .legal-section ol {
    max-width: none;
  }
}

/* ============================================================
   Legal / info pages (regulamin, polityka prywatności, faq)
   Long-form prose reusing the landing tokens — no new values.
   ============================================================ */
.legal {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-text);
}

.legal-back:hover {
  color: var(--accent-dk);
}

.legal-doc h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

.legal-updated {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.legal-lead {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

/* Table of contents */
.legal-toc {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(58, 42, 30, 0.06);
}

.legal-toc h2 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.legal-toc ol {
  margin: 0.85rem 0 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.legal-toc a {
  color: var(--muted);
  font-weight: 600;
}

.legal-toc a:hover {
  color: var(--accent-dk);
}

/* Sections */
.legal-section {
  margin-top: 2.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.legal-section h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.legal-section p {
  margin-top: 0.9rem;
  max-width: 68ch;
  color: var(--muted);
}

.legal-section ul,
.legal-section ol {
  margin: 0.9rem 0 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.5rem;
  max-width: 68ch;
  color: var(--muted);
}

.legal-section a {
  color: var(--accent-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section strong {
  color: var(--text);
}

.legal-note {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(169, 155, 196, 0.28);
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.legal-note strong {
  color: var(--text);
}

/* FAQ full page */
.faq-group {
  margin-top: 2.25rem;
}

.faq-group > h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  margin-bottom: 0.35rem;
}

.faq-item p a {
  color: var(--accent-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-more {
  margin-top: 1.75rem;
  font-weight: 700;
}

.faq-more a {
  color: var(--accent-dk);
}

.faq-more a:hover {
  color: var(--accent-text);
}

/* Footer document links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.35rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-dk);
}

.header-nav a[aria-current="page"] {
  color: var(--accent-text);
  font-weight: 800;
}

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

/* ============================================================
   Pricing page (cennik.html)
   ============================================================ */
.pricing-page {
  padding-bottom: 0;
}

.pricing-hero {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pricing-lead {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
}

.pricing-hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.pricing-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.pricing-plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.pricing-plans-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
}

.pricing-billing {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(58, 42, 30, 0.06);
}

.pricing-billing-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.pricing-billing-save {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--verified);
  letter-spacing: 0.02em;
}

.pricing-billing-toggle {
  position: relative;
  width: 3rem;
  height: 1.65rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--accent-soft);
  cursor: pointer;
  transition: background 0.2s ease;
}

.pricing-billing-toggle[aria-checked="true"] {
  background: var(--accent);
}

.pricing-billing-knob {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(58, 42, 30, 0.18);
  transition: transform 0.2s ease;
}

.pricing-billing-toggle[aria-checked="true"] .pricing-billing-knob {
  transform: translateX(1.35rem);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(58, 42, 30, 0.07);
  box-shadow: 0 8px 24px rgba(58, 42, 30, 0.06);
}

.pricing-card--featured {
  border-color: rgba(169, 155, 196, 0.45);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.82), rgba(169, 155, 196, 0.12));
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.pricing-card-badge {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Keeps card headers aligned when only the middle card has a badge */
.pricing-card-badge-placeholder {
  display: block;
  min-height: 1.15rem;
  margin: 0 0 0.5rem;
}

.pricing-card-name {
  font-size: 1.25rem;
  font-weight: 800;
}

.pricing-card-tagline {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
  min-height: 2.6em;
}

.pricing-card-price {
  margin: 1rem 0 0.85rem;
}

.pricing-card-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.45rem);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.pricing-card-period {
  margin-left: 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  flex: 1;
  /* Reserve space for 4 rows so buttons align with even gap on every card */
  min-height: calc(4 * 1.45em + 3 * 0.55rem);
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-card-features li {
  padding-left: 1.35rem;
  position: relative;
}

.pricing-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verified);
  font-weight: 800;
}

.pricing-card-cta {
  margin-top: 1.25rem;
  width: 100%;
  text-decoration: none;
}

.pricing-footnote {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted-strong);
  max-width: 72ch;
}

.pricing-footnote a {
  color: var(--accent-dk);
  font-weight: 600;
}

.pricing-fn a {
  color: var(--accent-dk);
  text-decoration: none;
  font-weight: 700;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(58, 42, 30, 0.07);
  background: rgba(255, 255, 255, 0.55);
}

.pricing-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(58, 42, 30, 0.06);
}

.pricing-table thead th {
  font-weight: 800;
  color: var(--text);
  background: rgba(169, 155, 196, 0.1);
}

.pricing-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--muted-strong);
}

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

.pricing-yes {
  color: var(--verified);
  font-weight: 800;
}

.pricing-no {
  color: var(--muted-2);
  font-weight: 700;
}

.pricing-age-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(169, 155, 196, 0.28);
  color: var(--muted-strong);
}

.pricing-age-note strong {
  color: var(--text);
}

.pricing-feature .product-copy a {
  color: var(--accent-dk);
  font-weight: 600;
}

.pricing-faq {
  padding-top: 0;
}

[data-billing].pricing--yearly [data-price-monthly],
[data-billing].pricing--yearly [data-period-monthly] {
  display: none;
}

[data-billing].pricing--yearly [data-price-yearly],
[data-billing].pricing--yearly [data-period-yearly] {
  display: inline;
}

[data-billing]:not(.pricing--yearly) [data-price-yearly],
[data-billing]:not(.pricing--yearly) [data-period-yearly] {
  display: none;
}

@media (max-width: 920px) {
  .pricing-hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-art {
    max-width: 28rem;
    margin-inline: auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-inline: auto;
  }

  .pricing-card--featured {
    transform: none;
  }
}
