/* ============================================================
   Helabio · koncept "suppmatch look"
   Własna implementacja design systemu zmierzonego z wzorca:
   ciemne sekcje + krem, serif light naglowki, pill buttons,
   glass notes, LED dot. Paleta przeniesiona na brand Helabio.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, 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: 'Figtree';
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* tlo ciemne: glęboka zieleń-czerń Helabio (odpowiednik #1C1917 wzorca) */
  --ink: #161d18;
  --ink-soft: #1b231d;
  --ink-deep: #10150f;
  --paper: #fdfcfa;
  --paper-dim: rgba(253, 252, 250, 0.72);
  --cream: #f6f3ec;
  --cream-deep: #eae3d4;
  --muted-dark: #a8a59b;   /* tekst wyciszony na ciemnym */
  --muted-light: #6b675c;  /* tekst wyciszony na kremie */
  --heading-dim-dark: #8f8c82;
  --heading-dim-light: #a09a8a;
  --line-dark: rgba(253, 252, 250, 0.14);
  --line-light: rgba(22, 29, 24, 0.14);
  --gold: #c9955c;
  --gold-bright: #e6b472;
  --green: #0e5a46;
  --green-deep: #0a4534;
  --radius-panel: 2rem;
  --radius-card: 1.5rem;
  --radius-pill: 50px;
  --font-serif: 'Figtree', system-ui, sans-serif;
  --font-sans: 'Figtree', system-ui, sans-serif;
  --pad-x: 4.5rem;
  --section-pad: 8rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; }

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);   /* 56px */
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 60;
}
h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.9vw, 3rem);   /* 48px */
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 60;
}
.dim { color: var(--heading-dim-dark); }
.center { text-align: center; }
.container { max-width: 82.5rem; margin: 0 auto; padding: 0 var(--pad-x); }

::selection { background: var(--gold); color: var(--ink-deep); }

/* focus */
a:focus-visible, button:focus-visible, summary:focus-visible {
  /* Bylo --gold-bright: 1,58:1 na kremowych sekcjach, czyli fokus niewidoczny.
     Token przelaczany per sekcja nizej w pliku. */
  outline: 2px solid var(--focus-ring, #fdfcfa);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--paper); color: #1c1917; border-color: var(--paper); }
.btn-light:hover { background: #fff; }
.btn-dark { background: #1c1917; color: var(--paper); border-color: #1c1917; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: rgba(253, 252, 250, 0.4); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(253, 252, 250, 0.35); }
.btn-outline:hover { border-color: var(--paper); }
.btn-glass {
  background: rgba(20, 24, 20, 0.55);
  color: var(--paper);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill_icon {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 1.5px solid currentColor; position: relative; display: inline-block;
}
.pill_icon::after {
  content: ''; position: absolute; left: 55%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ---------- Reveal (in-view) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-motion [data-reveal], [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 0 1rem;
}
.nav_shell {
  max-width: 96rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s, box-shadow 0.5s, border-color 0.5s;
  will-change: transform;
}
.nav_shell.is-scrolled {
  transform: translateY(1rem);
  background: linear-gradient(0deg, rgba(24, 32, 26, 0.82) 0%, rgba(34, 44, 36, 0.82) 100%);
  border-color: rgba(253, 252, 250, 0.1);
  box-shadow: 0 6px 16px rgba(10, 14, 11, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav_shell.is-hidden { transform: translateY(-150%); }
.nav_side { display: flex; align-items: center; gap: 0.25rem; }
.nav_side-right { justify-content: flex-end; }
.nav_link {
  font-size: 1rem; font-weight: 500; text-decoration: none;
  padding: 0.5rem 1.5rem; color: var(--paper);
  opacity: 0.92; transition: opacity 0.3s;
}
.nav_link:hover { opacity: 1; }
.nav_logo img { height: 1.75rem; width: auto; }
.nav_sep { width: 1px; height: 1.5rem; background: var(--line-dark); margin: 0 1rem; }
.nav_lang { font-size: 1rem; font-weight: 500; margin-right: 1.25rem; color: var(--paper-dim); }
.nav_burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--ink-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.75rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu_link {
  font-family: var(--font-serif); font-size: 2rem; text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--ink); }
.hero_stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: clip;
  display: grid; place-items: center;
}
.hero_trigger { height: 210vh; }

.hero_screen1 {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 6.5rem var(--pad-x) 0;
  z-index: 2;
}
.hero_sub {
  max-width: 34rem; margin-top: 1.5rem;
  color: var(--muted-dark);
}
.hero_cta-row { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; justify-content: center; }

.hero_media {
  position: absolute; left: 50%; top: clamp(24rem, 46%, 26.5rem);
  width: min(78rem, 92vw); height: 62vh;
  border-radius: var(--radius-panel);
  overflow: hidden;
  z-index: 3;
  will-change: transform, width, height;
}
.hero_media-scene {
  position: absolute; inset: 0;
  /* Bylo kremowe wypelnienie z palety Helabio (#efe6d3 -> #cdbd9c), czyli jasna
     plachta na ciemnej stronie. Teraz karta w barwie marki: lekkie podniesienie
     wzgledem tla plus zielony refleks w prawym dolnym rogu. */
  /* Jasna kremowa karta: to na niej stoi napis "Dbasz o siebie?" podczas
     przewijania. Wersja pierwotna, sprawdzona wizualnie. */
  background:
    radial-gradient(120% 90% at 20% 0%, #f7efdf 0%, rgba(247, 239, 223, 0) 55%),
    radial-gradient(110% 100% at 85% 100%, #0d5443 0%, rgba(13, 84, 67, 0) 60%),
    linear-gradient(160deg, #efe6d3 0%, #e2d5ba 45%, #cdbd9c 100%);
}
.hero_media-halo {
  position: absolute; left: 50%; top: 58%; width: 46rem; height: 46rem;
  transform: translate(-50%, -50%);
  /* Bylo kremowe kolo z palety Helabio (biel 0.85) i na ciemnym tle czytalo sie
     jak pusta plachta. Teraz miekka poswiata w barwie marki. */
  background: radial-gradient(circle, rgba(255, 250, 238, 0.85) 0%, rgba(255, 250, 238, 0) 62%);
}
.hero_jar {
  /* Bylo -4%, wiec dolna krawedz sceny przycinala zdjecia. */
  position: absolute; bottom: 7%;
  filter: drop-shadow(0 30px 40px rgba(20, 26, 21, 0.35));
  border-radius: 1.25rem;
}
.hero_jar-c { left: 50%; transform: translateX(-50%); width: clamp(15rem, 26vh, 21rem); z-index: 3; animation: jarFloat 7s ease-in-out infinite; }
.hero_jar-l { left: 16%; bottom: 12%; width: clamp(10rem, 18vh, 14rem); z-index: 2; opacity: 0.95; animation: jarFloat 8.5s ease-in-out 0.8s infinite; }
.hero_jar-r { right: 16%; bottom: 12%; width: clamp(10rem, 18vh, 14rem); z-index: 2; opacity: 0.95; animation: jarFloat 9.5s ease-in-out 1.6s infinite; }
@keyframes jarFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.hero_media-title {
  position: absolute; left: 50%; top: 40%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #23301f;
  white-space: nowrap;
  z-index: 4;
}
.hero_media-pill {
  position: absolute; left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  z-index: 5;
}
.hero_screen3 {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.hero_screen3.is-live { pointer-events: auto; }
.hero_screen3 h2 { max-width: 46rem; }
.serif-strong { color: var(--paper); font-style: normal; }
.hero_screen3-btn { margin-top: 2.4rem; }
.hero_scrollhint {
  position: absolute; bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(35, 48, 31, 0.72);
  z-index: 6;
}

/* static fallback (reduced motion) */
.no-motion .hero_stage { position: relative; height: auto; display: block; overflow: visible; padding-bottom: 4rem; }
.no-motion .hero_trigger { display: none; }
.no-motion .hero_screen1 { position: static; padding-top: 9rem; }
.no-motion .hero_media {
  position: relative; left: auto; top: auto; transform: none; translate: none;
  margin: 3.5rem auto 0; height: 32rem;
}
.no-motion .hero_screen3 { position: static; opacity: 1; pointer-events: auto; margin-top: 4.5rem; }
.no-motion .hero_scrollhint { display: none; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--ink); padding: var(--section-pad) 0; }
.features_list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.features_item {
  border-left: 1px solid var(--line-dark);
  padding-left: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 15rem;
}
.features_icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(253, 252, 250, 0.07);
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  color: var(--gold-bright);
}
.features_icon svg { width: 1.25rem; height: 1.25rem; }
.features_title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.features_item p { color: var(--muted-dark); font-size: 1rem; margin-top: 0.5rem; }

/* ============================================================
   PLAN
   ============================================================ */
.plan { background: var(--ink); padding: var(--section-pad) 0; }
.plan_heading { max-width: 30rem; }
.plan_grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem; align-items: center;
  margin-top: 4.5rem;
}
.plan_steps { list-style: none; display: flex; flex-direction: column; gap: 3rem; }
.plan_step { display: flex; gap: 1.4rem; }
.plan_step-icon {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(253, 252, 250, 0.07);
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  color: var(--gold-bright);
}
.plan_step-icon svg { width: 1.25rem; height: 1.25rem; }
.plan_step-title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; }
.plan_step p { color: var(--muted-dark); font-size: 1rem; }

.plan_panel {
  background: linear-gradient(170deg, #241f19 0%, #1d1a15 100%);
  border: 1px solid rgba(253, 252, 250, 0.06);
  border-radius: var(--radius-panel);
  padding: 3rem 2rem 2.4rem;
  position: relative;
}
.plan_swiper { max-width: 21rem; margin: 0 auto; overflow: visible; }
.plan_swiper .swiper-slide { opacity: 0 !important; transition: opacity 0.9s; }
.plan_swiper .swiper-slide-active { opacity: 1 !important; }

.phone {
  background: #fff8f0;
  border-radius: 2.4rem;
  border: 6px solid #2a241d;
  box-shadow: 0 40px 60px rgba(8, 10, 8, 0.5);
  overflow: hidden;
  color: #2b1c14;
}
.phone_head {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1.1rem 1.2rem 0.9rem;
  border-bottom: 1px solid rgba(43, 28, 20, 0.08);
}
.phone_avatar {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: linear-gradient(135deg, #a06c33, #d9a866);
  color: #fff8f0; font-weight: 700; font-size: 0.95rem;
  display: grid; place-items: center;
}
.phone_head strong { display: block; font-size: 0.95rem; }
.phone_head span { display: block; font-size: 0.75rem; color: #8a5a2b; }
.phone_body { padding: 1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; }
.bubble {
  font-size: 0.85rem; line-height: 1.45;
  padding: 0.65rem 0.9rem; border-radius: 1.1rem;
  max-width: 88%;
}
.bubble-user { align-self: flex-end; background: #2b1c14; color: #fff8f0; border-bottom-right-radius: 0.3rem; }
.bubble-ai { align-self: flex-start; background: rgba(138, 90, 43, 0.1); border-bottom-left-radius: 0.3rem; }
.phone_product {
  display: flex; gap: 0.8rem; align-items: center;
  background: #fff; border: 1px solid rgba(43, 28, 20, 0.1);
  border-radius: 1rem; padding: 0.7rem;
  box-shadow: 0 6px 16px rgba(43, 28, 20, 0.08);
}
.phone_product img { width: 3.4rem; height: 3.4rem; border-radius: 0.6rem; object-fit: cover; }
.phone_product strong { display: block; font-size: 0.85rem; }
.phone_price { display: block; font-size: 0.85rem; font-weight: 700; color: #8a5a2b; margin-top: 0.15rem; }
.phone_price s { font-weight: 400; opacity: 0.55; margin-left: 0.3rem; }
.phone_rating { display: block; font-size: 0.72rem; color: #6b675c; margin-top: 0.1rem; }

.plan_pagination { position: static; margin-top: 1.6rem; text-align: center; }

/* Swiper pagination (dash style jak wzorzec) */
.swiper-pagination-bullet {
  width: 0.5rem; height: 0.5rem;
  background: var(--muted-dark); opacity: 0.5;
  border-radius: 999px;
  transition: width 0.4s, opacity 0.4s, background-color 0.4s;
}
.swiper-pagination-bullet-active {
  width: 1.6rem; opacity: 1; background: var(--gold-bright);
}
.carousel3d_pagination .swiper-pagination-bullet { background: #6b675c; }
.carousel3d_pagination .swiper-pagination-bullet-active { background: #1c1917; }

/* ============================================================
   CAROUSEL 3D
   ============================================================ */
.carousel3d { background: var(--cream); color: #1c1917; padding: var(--section-pad) 0 6.5rem; overflow: clip; }
.carousel3d h2 .dim { color: var(--heading-dim-light); }
.carousel3d_swiper { margin-top: 4rem; overflow: visible; }
.carousel3d_swiper .swiper-slide { border-radius: var(--radius-panel); }
.slide_card {
  position: relative;
  border-radius: var(--radius-panel);
  height: clamp(24rem, 52vw, 30rem);
  overflow: hidden;
  display: grid; place-items: center;
}
.slide-tone-a .slide_card { background: linear-gradient(150deg, #eee7d8 0%, #d9cbae 100%); }
.slide-tone-b .slide_card { background: linear-gradient(150deg, #e3e6dd 0%, #b9c4b4 100%); }
.slide-tone-c .slide_card { background: linear-gradient(150deg, #ead9c0 0%, #c7a97f 100%); }
.slide_jar {
  width: clamp(13rem, 22vw, 17rem);
  border-radius: 1.2rem;
  filter: drop-shadow(0 24px 36px rgba(20, 26, 21, 0.3));
}
.tag_pill {
  position: absolute; top: 1.4rem; left: 1.4rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(28, 30, 26, 0.72);
  color: var(--paper);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
}
.tag_dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 2px var(--gold-bright), 0 0 6px var(--gold-bright), 0 0 10px var(--gold-bright);
}
.slide_note {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 3;
  display: flex; gap: 0.9rem;
  background: rgba(24, 26, 22, 0.88);
  color: var(--paper);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
}
.slide_note-icon {
  flex: none;
  width: 2.2rem; height: 2.2rem; border-radius: 0.6rem;
  background: linear-gradient(135deg, #a06c33, #d9a866);
  display: grid; place-items: center;
  font-weight: 700; color: #fff8f0;
}
.slide_note strong { font-size: 0.98rem; display: block; margin-bottom: 0.25rem; }
.slide_note p { font-size: 0.88rem; color: rgba(253, 252, 250, 0.75); line-height: 1.45; }
.carousel3d_pagination { position: static; margin-top: 2.6rem; text-align: center; }

/* ============================================================
   GOALS (grid + parallax)
   ============================================================ */
.goals { background: var(--cream); color: #1c1917; padding: var(--section-pad) 0; }
.goals h2 { max-width: 36rem; }
.goals h2 .dim { color: var(--heading-dim-light); }
.goals_grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 4rem;
}
.goals_card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 34rem;
}
.goals_card-wide { margin-top: 2rem; min-height: 38rem; }
.goals_media {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.goals_media-a { background: linear-gradient(165deg, #10493a 0%, #0a3527 60%, #072a1f 100%); }
.goals_media-b { background: linear-gradient(165deg, #23261f 0%, #191c16 100%); }
.goals_media-c { background: linear-gradient(160deg, #0f4034 0%, #123c2f 40%, #1c2a1f 100%); }
.goals_jar {
  width: clamp(16rem, 26vw, 22rem);
  border-radius: 1.4rem;
  filter: drop-shadow(0 34px 46px rgba(5, 10, 7, 0.55));
  will-change: transform;
}
.goals_jar-wide { width: clamp(20rem, 40vw, 30rem); }
.glass_note {
  position: absolute; left: 1.6rem; bottom: 1.6rem; z-index: 2;
  max-width: 26rem;
  display: flex; gap: 1rem;
  background: rgba(20, 23, 19, 0.62);
  color: var(--paper);
  border-radius: 1.2rem;
  padding: 1.2rem 1.3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass_note-icon {
  flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: 0.65rem;
  background: rgba(253, 252, 250, 0.1);
  border: 1px solid rgba(253, 252, 250, 0.16);
  display: grid; place-items: center;
  color: var(--gold-bright);
}
.glass_note-icon svg { width: 1.2rem; height: 1.2rem; }
.glass_note strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.35rem; }
.glass_note p { font-size: 0.92rem; color: rgba(253, 252, 250, 0.75); line-height: 1.5; }

/* ============================================================
   READY (2 ścieżki)
   ============================================================ */
.ready { background: var(--cream); color: #1c1917; padding: var(--section-pad) 0; }
.ready h2 .dim { color: var(--heading-dim-light); }
.ready_grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 4.5rem;
}
.ready_card { position: relative; }
.ready_card .tag_pill { position: absolute; top: 1.2rem; left: 1.2rem; }
.ready_visual {
  border-radius: var(--radius-card);
  height: 24rem;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem;
}
.ready_visual-shop { background: linear-gradient(160deg, #103f31 0%, #0b2f24 100%); }
.ready_visual-chat { background: linear-gradient(160deg, #262119 0%, #17140f 100%); }
.ready_shoprow { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.6rem; }
.ready_shoprow img {
  width: 30%; border-radius: 0.9rem;
  box-shadow: 0 18px 30px rgba(4, 9, 6, 0.45);
}
.ready_shopbar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253, 252, 250, 0.1);
  border: 1px solid rgba(253, 252, 250, 0.14);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.6rem 0.55rem 1.2rem;
}
.ready_shopbar > span:first-child {
  width: 40%; height: 0.5rem; border-radius: 999px;
  background: rgba(253, 252, 250, 0.25);
}
.ready_shopbtn {
  background: var(--paper); color: #1c1917;
  font-size: 0.85rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: var(--radius-pill);
}
.ready_visual-chat .bubble { font-size: 0.95rem; }
.ready_visual-chat .bubble-user { background: var(--paper); color: #1c1917; }
.ready_visual-chat .bubble-ai { background: rgba(253, 252, 250, 0.12); color: var(--paper); margin-top: 0.7rem; }
.ready_chatbar {
  margin-top: 1.4rem;
  background: rgba(253, 252, 250, 0.08);
  border: 1px solid rgba(253, 252, 250, 0.14);
  color: rgba(253, 252, 250, 0.55);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}
.ready_desc {
  display: flex; gap: 0.8rem;
  margin-top: 1.5rem;
  color: var(--muted-light);
  font-size: 1rem;
  max-width: 30rem;
}
.dot {
  flex: none;
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--gold); margin-top: 0.5rem;
}

/* ============================================================
   MATCH (produkty)
   ============================================================ */
.match {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  color: #1c1917;
  padding: var(--section-pad) 0;
}
.match h2 { max-width: 34rem; }
.match h2 .dim { color: var(--heading-dim-light); }
.match_panel {
  margin-top: 4rem;
  border-radius: var(--radius-panel);
  background: linear-gradient(175deg, #e7dfcf 0%, #ded2ba 100%);
  padding: 2rem 3rem;
  overflow: hidden;
  position: relative;
}
.match_row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  justify-items: center;
}
.match_row-blur { filter: blur(7px); opacity: 0.55; }
.match_row-top { transform: translateY(-58%); margin-bottom: -8rem; }
.match_row-bottom { transform: translateY(45%); margin-top: -6rem; }
.match_card {
  position: relative;
  width: 100%; max-width: 19.5rem;
  background: #201d18;
  color: var(--paper);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(31, 26, 18, 0.25);
}
.match_card-top {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: rgba(253, 252, 250, 0.55);
  padding: 0.8rem 1rem;
}
.match_badge {
  position: absolute; top: 2.6rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(16, 18, 15, 0.85);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 0.7rem; border-radius: 0.5rem;
}
.match_badge-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 4px var(--gold-bright);
}
.match_card-img { background: #0d3f31; }
.match_card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.match_card-body { padding: 1.1rem 1.1rem 1.2rem; }
.match_card-body header {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem;
  font-size: 1.02rem;
}
.match_card-body header span { white-space: nowrap; color: var(--gold-bright); font-weight: 600; }
.match_card-body p {
  font-size: 0.85rem; color: rgba(253, 252, 250, 0.65);
  margin-top: 0.5rem; line-height: 1.45;
}
.match_card-body p a { color: var(--paper); }
.match_card-body dl { margin-top: 0.9rem; border-top: 1px solid rgba(253, 252, 250, 0.12); }
.match_card-body dl div {
  display: flex; justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(253, 252, 250, 0.08);
  font-size: 0.85rem;
}
.match_card-body dt { color: rgba(253, 252, 250, 0.55); }
.match_footnote {
  display: flex; gap: 0.8rem;
  margin-top: 3rem;
  max-width: 34rem;
  color: var(--muted-light); font-size: 1rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: linear-gradient(180deg, var(--cream-deep) 0%, #e4dbc8 100%);
  color: #1c1917;
  padding: var(--section-pad) 0;
}
.faq_grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
.faq_intro h2 .dim { color: var(--heading-dim-light); }
.faq_more { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.2rem; color: var(--muted-light); font-size: 1rem; }
.faq_list { display: flex; flex-direction: column; }
.faq_group { border-bottom: 1px solid var(--line-light); }
.faq_group summary {
  list-style: none;
  display: flex; align-items: baseline; gap: 1rem;
  cursor: pointer;
  padding: 1.7rem 0.5rem;
}
.faq_group summary::-webkit-details-marker { display: none; }
.faq_num { color: var(--heading-dim-light); font-family: var(--font-serif); font-size: 1.5rem; }
.faq_cat { font-family: var(--font-serif); font-size: 1.75rem; letter-spacing: -0.01em; }
.faq_chev {
  margin-left: auto; align-self: center;
  width: 0.7rem; height: 0.7rem;
  border-right: 1.5px solid #1c1917; border-bottom: 1.5px solid #1c1917;
  transform: rotate(45deg);
  transition: transform 0.35s;
}
.faq_group[open] .faq_chev { transform: rotate(225deg); }
.faq_content { padding: 0.3rem 0.5rem 1.6rem; display: flex; flex-direction: column; gap: 1.4rem; }
.faq_qa h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.faq_qa p { color: var(--muted-light); font-size: 1rem; max-width: 38rem; }

/* ============================================================
   STATS (kurtyna)
   ============================================================ */
.stats_module { position: relative; }
.stats_trigger { height: 190vh; }
.stats {
  position: fixed; inset: 0; z-index: -1;
  background: var(--ink);
  overflow: hidden;
  display: grid; place-items: center;
}
.stats_glow {
  position: absolute; left: 50%; top: -28rem;
  width: 90rem; height: 56rem;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(160, 108, 51, 0.4) 0%, rgba(160, 108, 51, 0) 70%);
  will-change: transform;
}
.stats_screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
}
.stats_screen h2 { max-width: 46rem; }
.stats_screen2 { opacity: 0; }
.stats_gold { color: var(--gold-bright); font-weight: 400; }
.stats_btn { margin-top: 2.4rem; }
.no-motion .stats { position: relative; inset: auto; z-index: auto; min-height: 100vh; }
.no-motion .stats_trigger { display: none; }
.no-motion .stats_screen { position: static; padding: 4rem var(--pad-x); }
.no-motion .stats_screen2 { opacity: 1; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  position: relative;
  background: var(--ink-deep);
  text-align: center;
  padding: 10rem var(--pad-x) 9rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.cta_led {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 2px var(--gold-bright), 0 0 4px var(--gold-bright), 0 0 6px var(--gold-bright), 0 0 8px var(--gold-bright), 0 0 10px var(--gold-bright), 0 0 12px var(--gold-bright);
  margin-bottom: 1.2rem;
}
.cta h2 { max-width: 34rem; }
.cta p { color: var(--muted-dark); max-width: 34rem; }
.cta .btn { margin-top: 1rem; }

.footer { background: var(--ink-deep); border-top: 1px solid rgba(253, 252, 250, 0.08); padding: 5rem 0 3rem; }
.footer_grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer_brand img { height: 1.9rem; width: auto; }
.footer_brand p { color: var(--muted-dark); font-size: 0.95rem; margin-top: 1.2rem; }
.footer_col h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-dark);
  margin-bottom: 1.2rem;
}
.footer_col a {
  display: block;
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.35rem 0;
  transition: color 0.3s;
}
.footer_col a:hover { color: var(--paper); }
.footer_bottom {
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgba(253, 252, 250, 0.08);
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  color: var(--muted-dark); font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad-x: 2.5rem; --section-pad: 6rem; }
  .features_list { grid-template-columns: repeat(2, 1fr); }
  .plan_grid { grid-template-columns: minmax(0, 1fr); }
  .faq_grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .goals_card, .goals_card-wide { min-height: 28rem; }
  .match_panel { padding: 1.6rem; }
  .match_row { gap: 1.2rem; }
}
@media (max-width: 991px) {
  .nav_side { display: none; }
  .nav_shell { grid-template-columns: auto 1fr auto; }
  .nav_logo { justify-self: start; }
  .nav_burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 0.6rem; cursor: pointer;
    justify-self: end;
  }
  .nav_burger span { width: 1.5rem; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
  .nav_burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav_burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav_burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 760px) {
  :root { --pad-x: 1.4rem; --section-pad: 4.5rem; }
  .plan_panel { padding: 2rem 1.2rem; }
  .plan_swiper { max-width: min(21rem, 100%); }
  .slide_jar { transform: translateY(-14%); }
  .slide_note { padding: 0.85rem 0.95rem; }
  .slide_note p { font-size: 0.82rem; }
  .features_list { grid-template-columns: 1fr; }
  .features_item { min-height: 0; }
  .goals_grid, .ready_grid { grid-template-columns: minmax(0, 1fr); }
  .match_row { grid-template-columns: minmax(0, 1fr); }
  .match_row-blur { display: none; }
  .match_row-top, .match_row-bottom { transform: none; margin: 0; }
  .footer_grid { grid-template-columns: 1fr 1fr; }
  .hero_media-title { font-size: 2rem; }
  .hero_jar-l, .hero_jar-r { display: none; }
  .glass_note { left: 1rem; right: 1rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================= START ROZMOWY Z LANDINGU ================= */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.hero_start {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(30rem, 100%);
  margin: 1.75rem auto 0;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  background: rgba(253, 252, 250, 0.07);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero_start:focus-within {
  border-color: rgba(253, 252, 250, 0.72);
  background: rgba(253, 252, 250, 0.12);
  box-shadow: 0 0 0 3px rgba(253, 252, 250, 0.12);
}

.hero_start-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.7rem 0;
  outline: none;
}

.hero_start-input::placeholder { color: var(--muted-dark); }

.hero_start-send {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero_start-send svg { width: 20px; height: 20px; }
.hero_start-send:active { transform: scale(0.93); }

.hero_seeds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.9rem auto 0;
  padding: 0;
  list-style: none;
  width: min(34rem, 100%);
}

.hero_seed {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted-dark);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem;
  min-height: 38px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Kurtyna: landing scieminia sie i oddaje pole czatowi. */
.handoff {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 1rem;
  /* Kurtyna prowadzi z ciemnego landingu do jasnego czatu: startuje w kolorze
     strony i w trakcie zanikania rozjasnia sie do bieli, ktora jest tlem czatu.
     Dzieki temu nie ma przeskoku, jest przejscie. */
  background: #161d18;
  animation: hcRozjasnienie 0.46s ease-out forwards;
  animation-play-state: paused;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.handoff.is-on { opacity: 1; pointer-events: auto; animation-play-state: running; }

@keyframes hcRozjasnienie {
  0%   { background-color: #161d18; }
  55%  { background-color: #6f7d72; }
  100% { background-color: #FFFFFF; }
}

/* Tresc kurtyny musi pozostac czytelna na obu koncach przejscia, wiec
   przechodzi z jasnej na ciemna razem z tlem. */
.handoff.is-on .handoff_inner { animation: hcTekstNaCiemny 0.46s ease-out forwards; }
@keyframes hcTekstNaCiemny {
  0%   { color: #fdfcfa; }
  100% { color: #0A0A0A; }
}

@media (prefers-reduced-motion: reduce) {
  .handoff { animation: none; background: #FFFFFF; }
  .handoff.is-on .handoff_inner { animation: none; color: #0A0A0A; }
}

.handoff_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
}

.handoff.is-on .handoff_inner { transform: translateY(0); opacity: 1; }

.handoff_spark {
  width: 34px; height: 34px;
  color: var(--paper);
  animation: handoffPulse 1.4s ease-in-out infinite;
}

.handoff_text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--muted-dark);
  letter-spacing: 0.01em;
}

@keyframes handoffPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

@media (hover: hover) and (pointer: fine) {
  .hero_start-send:hover { opacity: 0.88; }
  .hero_seed:hover { color: var(--paper); border-color: rgba(253, 252, 250, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .handoff, .handoff_inner { transition: none; }
  .handoff_spark { animation: none; }
}

@media (max-width: 700px) {
  .hero_start { width: 100%; margin-top: 1.4rem; }
  .hero_seeds { width: 100%; }
}

/* Mobile: panel nizej, zeby pole startu rozmowy bylo widoczne nad nim. */
@media (max-width: 860px) {
  .hero_screen1 { padding-top: 5rem; }
  .hero_screen1 h1 { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
  .hero_sub { font-size: 0.95rem; margin-top: 1rem; }
  .hero_media { top: clamp(21rem, 52%, 24rem); height: 54vh; }
}
@media (max-width: 520px) {
  .hero_media { top: clamp(19rem, 54%, 22rem); height: 48vh; }
}


/* Typografia ujednolicona z czatem: jeden krój (Figtree), ciężkie nagłówki. */
h1, h2, h3,
.hero_screen1 h1, .hero_screen3 h2,
.serif-strong, .section_title, .stats_title, .cta_title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
}
.hero_screen1 h1 { font-weight: 600; letter-spacing: -0.025em; }
.serif-strong { font-weight: 700; font-style: normal; }

/* Wordmark: "her" ciezkie, "chat" lzejsze i wyciszone (jak w czacie). */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  color: var(--paper);
  line-height: 1;
  text-decoration: none;
}
.wordmark_soft { font-weight: 500; color: var(--muted-dark); }
/* Logo nigdy nie jest podkreslone, takze przez styl linku rodzica. */
.nav_logo, .nav_logo:hover, a:has(> .wordmark) { text-decoration: none; }

/* ================= ZDJECIA: WYMIARY =================
   Reguly ponizej byly pisane pod packshoty (slojki z przezroczystym tlem),
   ktore mialy "plywac" w kaflu. Teraz sa tam fotografie, wiec musza wypelniac
   kadr, inaczej wisza jako male prostokaty na srodku. */

/* Karuzela: zdjecie jest tlem slajdu, plakietka i notka lezą na nim. */
.slide_card .slide_jar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: inherit;
  filter: none;
}
.slide_card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 15, 12, 0.34) 0%, rgba(12, 15, 12, 0) 38%, rgba(12, 15, 12, 0.62) 100%);
  pointer-events: none;
}
.tag_pill, .slide_note { z-index: 3; }

/* Siatka celow: to samo, zdjecie wypelnia karte. */
.goals_media .goals_jar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0;
  filter: none;
}
.goals_media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 11, 0.15) 0%, rgba(10, 14, 11, 0) 45%, rgba(10, 14, 11, 0.75) 100%);
  pointer-events: none;
}
.glass_note { z-index: 2; }

/* Hero: kadry o stalych proporcjach, zeby trzy zdjecia tworzyly spojna kompozycje. */
.hero_jar {
  object-fit: cover;
  border-radius: 1.25rem;
}
.hero_jar-c { aspect-ratio: 3 / 4; width: clamp(11rem, 19vh, 15rem); }
.hero_jar-l,
.hero_jar-r { aspect-ratio: 4 / 5; width: clamp(7.5rem, 13vh, 10.5rem); }

/* ==========================================================================
   PLAYBOOK UX + TWARDE POPRAWKI MOBILNE
   Telefon jest glownym urzadzeniem, wiec te reguly celowo stoja na koncu
   pliku i nadpisuja wszystko powyzej.
   ========================================================================== */

/* --- Poswiata AI wokol pola pierwszej wiadomosci -------------------------
   Pole ma wygladac jak wejscie do modelu, nie jak formularz kontaktowy.
   Dwie warstwy: wolno obracajaca sie obwodka i oddychajaca luna pod spodem.
   Cykl 3,6s ease-in-out: ambientowy, wiec swiadomie wolniejszy niz 500-800ms
   z playbooka, ktore dotyczy jednorazowego przyciagniecia uwagi. */

@property --hc-kat {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hero_start {
  position: relative;
  isolation: isolate;
}

/* Obwodka: cienki pierscien z gradientu obracany wokol pola. */
.hero_start::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--hc-kat),
    rgba(253, 252, 250, 0.05) 0deg,
    rgba(196, 222, 205, 0.75) 60deg,
    rgba(253, 252, 250, 0.28) 130deg,
    rgba(253, 252, 250, 0.04) 210deg,
    rgba(168, 205, 186, 0.55) 300deg,
    rgba(253, 252, 250, 0.05) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: hcObrot 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Luna: miekki oddech pod polem, to on niesie sygnal "cos tu zyje". */
.hero_start::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  background: radial-gradient(
    55% 130% at 50% 50%,
    rgba(176, 210, 190, 0.3) 0%,
    rgba(176, 210, 190, 0.12) 45%,
    transparent 72%
  );
  filter: blur(14px);
  animation: hcOddech 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes hcObrot {
  to { --hc-kat: 360deg; }
}

@keyframes hcOddech {
  0%, 100% { opacity: 0.4; transform: scale(0.985); }
  50%      { opacity: 1;   transform: scale(1.02); }
}

/* Podczas pisania poswiata sie wycisza: ruch obok kursora rozprasza. */
.hero_start:focus-within::after {
  animation-duration: 6s;
  opacity: 0.5;
}
.hero_start:focus-within::before {
  animation-duration: 12s;
}

/* --- Cele dotykowe: 44px absolutne minimum, 48px tam gdzie sie miesci ----
   Powiekszamy OBSZAR DOTYKU, nie wyglad: uzywamy min-height i wkladek,
   zeby uklad wizualny sie nie rozjechal. */

.hero_seed {
  min-height: 44px;
  padding-block: 0.55rem;
  touch-action: manipulation;
}

.nav_logo,
.footer_col a,
.footer_bottom a,
.footer_note a,
.nav_link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
}

.nav_burger {
  min-width: 48px;
  min-height: 48px;
  touch-action: manipulation;
}

/* Kropki karuzeli mialy 8x8px. Wyglad zostaje, obszar dotyku rosnie do 44px
   niewidzialna wkladka, bo powiekszona kropka wyglada jak guzik. */
.swiper-pagination-bullet {
  position: relative;
  touch-action: manipulation;
}
.swiper-pagination-bullet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.swiper-pagination { padding-block: 0.75rem; }

/* --- Sprzezenie dotykowe --------------------------------------------------
   Domyslny niebieski blysk Androida wyglada jak niedokonczona strona.
   Zastepujemy go wlasnym stanem :active ponizej 100ms, jak chce playbook. */

* { -webkit-tap-highlight-color: transparent; }

a, button, [role="button"], input, textarea, select, summary {
  touch-action: manipulation;
}

.hero_seed:active,
.nav_link:active,
.footer_col a:active {
  transform: scale(0.97);
  opacity: 0.75;
  transition: transform 0.08s ease-out, opacity 0.08s ease-out;
}

.btn:active { transform: scale(0.975); transition: transform 0.08s ease-out; }

/* --- Fokus klawiatury: 2px pierscien + 2px odstepu, kontrastowy ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Pole ma juz wlasna obwodke (:focus-within nizej) ORAZ animowany pierscien
   poswiaty AI (::before), wiec trzeci kontur robil z niego gruby, podwojny obrys. */
.hero_start-input:focus-visible { outline: none; }

/* --- Przewijanie na telefonie -------------------------------------------- */
body { overscroll-behavior-y: none; }

/* --- Szacunek dla ograniczonego ruchu ------------------------------------
   Poswiata zostaje, ale przestaje pulsowac: sygnal "to AI" nie ginie,
   znika samo migotanie. */
@media (prefers-reduced-motion: reduce) {
  .hero_start::before { animation: none; }
  .hero_start::after  { animation: none; opacity: 0.7; transform: none; }
  .hero_seed:active,
  .nav_link:active,
  .footer_col a:active,
  .btn:active { transform: none; }
}

/* --- Waskie ekrany -------------------------------------------------------- */
@media (max-width: 640px) {
  /* Pole pierwszej wiadomosci: pelna szerokosc i wiekszy komfort dotyku. */
  .hero_start {
    padding-left: 1.1rem;
    margin-top: 1.5rem;
  }
  .hero_start-input {
    padding-block: 0.85rem;
    font-size: 16px; /* ponizej 16px iOS przybliza widok przy fokusie */
  }
  .hero_start-send { width: 46px; height: 46px; }

  /* Chipy: wieksze, ale nadal lekkie. */
  .hero_seed { min-height: 46px; font-size: 0.9rem; padding-inline: 0.95rem; }
  .hero_seeds { gap: 0.55rem; }

  /* Stopka: linki jako lista dotykowa, nie ciasny slupek tekstu. */
  .footer_col a { min-height: 48px; }
  .footer { padding-block: 3.5rem 2rem; }
}

/* Krotkie slowa w stopce ("Skora") nie dobijaly do 44px szerokosci. */
.footer_col a, .footer_bottom a, .footer_note a { min-width: 44px; }

/* --- Pisanie na klawiaturze ekranowej -------------------------------------
   Gdy pole hero ma fokus, ekran hero musi zostac ostry i widoczny niezaleznie
   od tego, co animacja przewijania zdazyla zapisac stylem inline.
   To siatka bezpieczenstwa pod blokada z landing.js. */
.pisze-na-klawiaturze .hero_screen1 {
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.pisze-na-klawiaturze .hero_scrollhint { opacity: 0 !important; }


/* --- Pierscien fokusa dopasowany do tla sekcji --------------------------- */
:root { --focus-ring: #fdfcfa; }
/* Sekcje kremowe: ciemny pierscien, 12,7:1 zamiast 1,58:1. */
.carousel3d, .goals, .ready, .match, .faq { --focus-ring: #1c1917; }
/* Ciemne wyspy w srodku kremowych sekcji wracaja do jasnego. */
.match_card, .goals_media, .ready_visual { --focus-ring: #fdfcfa; }
summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* --- Blur przy pisaniu: wersja bez udzialu JS ----------------------------
   Gdy pole hero ma fokus, ekran hero zostaje ostry niezaleznie od tego, co
   animacja przewijania zapisala stylem inline. Dziala nawet gdy skrypt
   sie nie wykona. */
html:has(.hero_start-input:focus) .hero_screen1 {
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html:has(.hero_start-input:focus) .hero_scrollhint { opacity: 0 !important; }


/* --- Hero: jasna karta, wiec tresc na niej musi byc ciemna ---------------- */
.hero_media-title { color: #0A0A0A; }
.hero_media-halo {
  background: radial-gradient(circle,
    rgba(255, 250, 238, 0.85) 0%,
    rgba(255, 250, 238, 0.3) 40%,
    rgba(255, 250, 238, 0) 64%);
}
.hero_media-pill {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
}
.hero_media-pill:hover { background: #262626; border-color: #262626; }
.hero_media .hero_jar { filter: drop-shadow(0 24px 34px rgba(20, 26, 21, 0.22)); }


/* --- Krotsze przewijanie ------------------------------------------------
   Uwaga z testow: "na telefonie trzeba dwa razy machnac palcem, zanim
   zjedzie sie do nastepnej informacji". Skracamy droge przewijania hero
   i odstepy miedzy sekcjami, zeby tresc szla gesciej. */
@media (max-width: 900px) {
  .hero_trigger { height: 150vh; }
  :root { --section-pad: 3.5rem; }
  .goals_card-wide { min-height: 24rem; }
  .carousel3d { padding-bottom: 3.5rem; }
}

@media (max-width: 640px) {
  .hero_trigger { height: 130vh; }
  :root { --section-pad: 3rem; }
  .goals_card-wide { min-height: 21rem; margin-top: 1.2rem; }
  .footer { padding-block: 3rem 1.75rem; }
  .cta { padding-block: 3.5rem; }
}

/* Wprowadzenie do sekcji "jak to dziala". */
.plan_lead {
  max-width: 46rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--paper-dim, rgba(253, 252, 250, 0.72));
}
@media (max-width: 640px) { .plan_lead { font-size: 1rem; margin-top: 1rem; } }


/* Zdjecia sceny hero w calosci w kadrze takze na waskich ekranach. */
@media (max-width: 640px) {
  .hero_jar { bottom: 10%; }
  .hero_jar-l, .hero_jar-r { bottom: 15%; width: clamp(8rem, 22vw, 11rem); }
  .hero_jar-c { width: clamp(11rem, 34vw, 15rem); }
}
