/* ============================================================
   LSEJA — system stylów (motyw ciemny: czerń + fiolet)
   Paleta zgodna z motywem przewodnim aplikacji Lseja.
   Czysty CSS, bez frameworków. Zmienne na górze = łatwa edycja.
   ============================================================ */

:root {
  /* Tła — głęboka czerń jak na logo */
  --bg:      #08080c;
  --bg2:     #0f0f16;
  --card:    #1b1b23;
  --card2:   #20202a;
  --line:    #2b2b36;
  --line2:   #3a3a48;
  /* Tekst */
  --txt:     #f2f2f5;
  --muted:   #a2a2b0;
  --muted2:  #71717f;
  /* Akcent — fiolet, delikatnie ciemniejszy (pod logo/ikonę) */
  --acc:     #7c3aed;
  --acc2:    #5b21b6;
  --acc3:    #a78bfa;
  --acc-soft: rgba(124, 58, 237, 0.14);
  --acc-glow: rgba(124, 58, 237, 0.45);
  /* Semantyczne */
  --good:    #4ade80;
  --warn:    #fbbf24;
  --danger:  #f87171;
  /* Srebro (wordmark jak na logo) */
  --silver:  #e6e3f0;
  /* Wymiary */
  --radius:  16px;
  --radius-sm: 10px;
  --container: 1140px;
  --container-wide: 1280px;
  --header-h: 68px;
  /* Fallback dla pisma CJK (日本語 / 中文) — glify, których Inter/Sora nie mają.
     Latynka zawsze z Inter/Sora; te fonty łapią tylko znaki CJK (fallback per-glif). */
  --font-cjk: "Yu Gothic UI", "Meiryo", "Microsoft YaHei", "PingFang SC", "Hiragino Sans", "Noto Sans CJK JP", "Noto Sans JP", "Noto Sans SC";
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, "Segoe UI", var(--font-cjk), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt);
  background:
    radial-gradient(1100px 600px at 82% -8%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(900px 520px at -10% 8%, rgba(124, 58, 237, 0.10), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* Sticky footer: strona zawsze na całą wysokość, stopka przy dole */
  display: flex;
  flex-direction: column;
}
/* Logo jako subtelne, statyczne tło całej strony (czytelność zachowana) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/lseja-logo.jpg") center center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4 { font-family: "Sora", "Inter", system-ui, var(--font-cjk), sans-serif; line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--acc3); text-decoration: none; transition: color .15s; }
a:hover { color: var(--acc); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc3); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.accent { color: var(--acc3); }
.nowrap { white-space: nowrap; }

/* --- Przyciski --- */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 12px; padding: 13px 22px; font-size: 1rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: .18s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; box-shadow: 0 8px 26px -8px var(--acc-glow); }
.btn--primary:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }
.btn--ghost { background: var(--card2); color: var(--txt); border: 1px solid var(--line2); }
.btn--ghost:hover { border-color: var(--acc); color: var(--txt); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* --- Header / nawigacja --- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(15, 15, 20, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: var(--container-wide); margin: 0 auto; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; color: var(--txt); }
/* Wordmark: srebrno-fioletowy gradient tekstu jak na logo (kropka zachowuje swój kolor) */
.brand { background: linear-gradient(120deg, var(--silver), var(--acc3) 72%, var(--acc)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand__dot { -webkit-text-fill-color: initial; }
.brand:hover { filter: brightness(1.08); }
.brand__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); flex: 0 0 auto; }
.brand__ico { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; object-position: center; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--line2), 0 0 14px rgba(124,58,237,.35); }
.brand__mark { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { color: var(--muted); padding: 9px 14px; border-radius: 10px; font-size: .96rem; font-weight: 500; transition: .15s; }
.nav__link:hover { color: var(--txt); background: var(--card); }
.nav__link.is-active { color: var(--acc3); background: var(--acc-soft); }
.nav__link--beta { color: var(--acc3); border: 1px solid rgba(139,92,246,.45); }
.nav__link--beta:hover { color: var(--acc3); background: var(--acc-soft); }
.nav__link--beta.is-active { border-color: transparent; }
.nav__tools { display: flex; align-items: center; gap: 8px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); }

.lang { display: flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.lang__btn { background: transparent; color: var(--muted); border: 0; padding: 7px 11px; font-size: .82rem; font-weight: 700; cursor: pointer; transition: .15s; font-family: inherit; }
.lang__btn:hover { color: var(--txt); }
.lang__btn.is-active { background: var(--acc); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--txt); border-radius: 2px; transition: .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__title { margin-bottom: 18px; }
.hero__title .accent { background: linear-gradient(120deg, var(--acc3), var(--acc)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 20px; font-size: .9rem; color: var(--muted2); display: inline-flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--acc-soft); border: 1px solid rgba(139,92,246,.3); color: var(--acc3); font-size: .82rem; font-weight: 600; margin-bottom: 20px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.pill-row .pill { margin: 0; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc3); box-shadow: 0 0 8px var(--acc3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Miejsce na render postaci */
.render { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background:
    radial-gradient(120% 90% at 50% 12%, rgba(139,92,246,0.22), transparent 62%),
    linear-gradient(180deg, var(--card2), var(--bg2));
  border: 1px solid var(--line); display: grid; place-items: center; }
.render img { width: 100%; height: 100%; object-fit: contain; }
.render--fill img { object-fit: cover; }
.render__placeholder { text-align: center; color: var(--muted2); padding: 24px; }
.render__placeholder .ph-ico { font-size: 3rem; margin-bottom: 10px; opacity: .5; }
.render__placeholder code { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.render__glow { position: absolute; inset: -30% -10% auto; height: 60%; background: radial-gradient(closest-side, var(--acc-glow), transparent); filter: blur(40px); z-index: -1; }

/* --- Karuzela renderów (hero) --- */
/* Zapętlone wideo hero (zastępuje karuzelę renderów) */
.hero__video { display: block; width: 100%; height: clamp(460px, 74vh, 800px);
  background: transparent;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,0.5)); }

.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  height: clamp(460px, 74vh, 800px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 85% at 50% 16%, rgba(124,58,237,0.18), #000 72%);
  scrollbar-width: none; -ms-overflow-style: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
/* tor ma STAŁĄ wysokość → height:100% się rozwiązuje i object-fit:contain nie przycina */
.carousel__slide img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: rgba(15,15,20,0.66); border: 1px solid var(--line2); color: var(--txt); cursor: pointer;
  display: grid; place-items: center; font-size: 1.1rem; backdrop-filter: blur(6px); transition: .15s; z-index: 2; }
.carousel__arrow:hover { border-color: var(--acc); }
.carousel__arrow--prev { left: 10px; } .carousel__arrow--next { right: 10px; }
.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); border: 0; padding: 0; cursor: pointer; transition: .15s; }
.carousel__dot.is-active { background: var(--acc); box-shadow: 0 0 10px var(--acc-glow); }

/* Placeholder na screeny */
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card2), var(--bg2)); }
.shot img { display: block; width: 100%; height: auto; }
.shot__ph { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px;
  background: radial-gradient(130% 110% at 50% -10%, var(--acc-soft), transparent 68%), linear-gradient(180deg, var(--card2), var(--bg2)); }
.shot__ph .ph-ico { font-size: 3.4rem; opacity: 1; margin: 0; filter: drop-shadow(0 8px 22px var(--acc-glow)); }
.shot__ph [data-i18n="features.shot"] { margin-top: 12px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--acc3); opacity: .8; }
.shot__ph code { display: none; }
.shot__cap { padding: 12px 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }

/* --- Karty / siatki --- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .18s; }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--acc-soft); border: 1px solid rgba(139,92,246,.3); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--acc3); font-weight: 600; font-size: .9rem; }

/* --- Sekcja funkcji z naprzemiennym układem --- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.feature:last-child { border-bottom: 0; }
.feature--flip .feature__media { order: -1; }
.feature__body h2 { margin-bottom: 14px; }
.feature__list { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.feature__list li { position: relative; padding-left: 28px; color: var(--muted); font-size: .96rem; }
.feature__list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--acc3); }

/* --- Lista psikusów --- */
.prank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.prank { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 15px; transition: .18s; }
.prank:hover { border-color: rgba(139,92,246,.45); transform: translateY(-3px); box-shadow: 0 14px 30px -16px var(--acc-glow); }
.prank:hover .prank__ico { transform: scale(1.08); }
.prank__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, var(--acc-soft), rgba(139,92,246,.05)); border: 1px solid rgba(139,92,246,.3); transition: transform .18s; }
.prank h3 { font-size: 1.1rem; margin-bottom: 6px; }
.prank p { margin: 0; font-size: .92rem; }

/* --- Callout / info box --- */
.callout { border-radius: var(--radius); border: 1px solid var(--line2); background: var(--card); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.callout__ico { font-size: 1.5rem; flex: 0 0 auto; }
.callout--acc { border-color: rgba(139,92,246,.4); background: var(--acc-soft); }
.callout p { margin: 0; color: var(--txt); }

/* --- Changelog --- */
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.release { position: relative; padding: 0 0 40px 34px; border-left: 2px solid var(--line); }
.release:last-child { border-left-color: transparent; padding-bottom: 0; }
.release::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--acc-glow); }
.release__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.release__ver { font-family: "Sora", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--txt); }
.release__date { font-size: .85rem; color: var(--muted2); }
.release__tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.release__tag--current { background: var(--acc); color: #fff; }
.release__tag--done { background: rgba(74,222,128,.14); color: var(--good); border: 1px solid rgba(74,222,128,.35); }
.release__tag--planned { background: transparent; color: var(--muted); border: 1px solid var(--line2); }
.release__tag--premiere { background: #22c55e; color: #04140a; }
.release__cta { margin: 14px 0 0; }
.release__cta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 999px; background: var(--acc-soft); border: 1px solid rgba(139,92,246,.35); color: var(--acc3); transition: .15s; }
.release__cta a:hover { background: rgba(139,92,246,.2); color: var(--acc3); }
.release__title { color: var(--acc3); font-weight: 600; margin-bottom: 10px; }
.release ul { list-style: none; display: grid; gap: 7px; }
.release ul li { position: relative; padding-left: 22px; color: var(--muted); font-size: .95rem; }
.release ul li::before { content: "+"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
/* Przerwa „rozwój w toku" między aktualną wersją a premierą 1.0 */
.release--gap { position: relative; border-left: 2px solid var(--line); padding: 4px 0 34px 34px; }
.release--gap::before { display: none; }
.release--gap .gapdots { position: absolute; left: -6px; top: 2px; display: flex; flex-direction: column; gap: 8px; }
.release--gap .gapdots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); display: block; }
.release--gap .gaptxt { color: var(--muted2); font-size: .85rem; font-style: italic; }
.release--current { background: linear-gradient(90deg, rgba(139,92,246,.12), transparent 72%); border-left-color: var(--acc); border-radius: 0 14px 14px 0; }
.release--current .release__ver { color: var(--acc3); }
.release--current::before { box-shadow: 0 0 0 4px var(--bg), 0 0 20px var(--acc); }

/* --- Formularz --- */
.form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line2); color: var(--txt); border-radius: 10px; padding: 12px 14px; font-size: 1rem; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.form__status { font-size: .92rem; min-height: 1.3em; }
.form__status.is-ok { color: var(--good); }
.form__status.is-err { color: var(--danger); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --- Stopka --- */
.footer { border-top: 1px solid var(--line); background: rgba(15,15,20,.6); flex-shrink: 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tag { font-size: .92rem; max-width: 40ch; }
.footer__x { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-weight: 600; font-size: .9rem; transition: color .15s ease; }
.footer__x:hover { color: var(--acc3); }
.footer__x svg { flex: 0 0 auto; }
.footer__col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); margin-bottom: 14px; }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: .94rem; }
.footer__col a:hover { color: var(--acc3); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 34px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted2); }
.footer__made a { color: var(--muted); font-weight: 600; }
.footer__made a:hover { color: var(--acc3); }
.footer__credit { color: var(--muted2); font-size: .82rem; }
.footer__credit:hover { color: var(--acc3); }
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted2); margin: 0 9px; vertical-align: middle; }

/* --- Głos (podstrona /voice) --- */
.voice-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2); color: var(--muted); font-size: .86rem; }

/* Karta wyróżniona (wizytówka) */
.vfeat { display: flex; align-items: center; gap: 26px; padding: 30px; border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(135deg, var(--acc-soft), var(--card)); border: 1px solid rgba(139,92,246,.4); transition: .18s; }
.vfeat:hover { border-color: var(--acc); transform: translateY(-2px); }
.vfeat:focus-visible { outline: 2px solid var(--acc3); outline-offset: 3px; }
.vfeat__txt { flex: 1 1 auto; }
.vfeat__k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc3); }
.vfeat__line { font-family: "Sora", var(--font-cjk), sans-serif; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; color: var(--txt); line-height: 1.25; margin-top: 8px; letter-spacing: -.01em; }

/* Siatka kart głosu */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.vcard { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); transition: .18s; }
.vcard:hover { border-color: var(--line2); transform: translateY(-2px); }
.vcard:focus-visible { outline: 2px solid var(--acc3); outline-offset: 3px; }
.vcard.is-playing { border-color: var(--acc); background: linear-gradient(135deg, var(--acc-soft), var(--card)); }
.vcard__txt { flex: 1 1 auto; min-width: 0; }
.vcard__k { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc3); margin-bottom: 4px; }
.vcard__line { color: var(--txt); font-size: 1rem; font-weight: 500; line-height: 1.4; }

/* Przycisk play/pauza (czysty CSS) */
.vbtn { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 8px 22px -8px var(--acc-glow);
  display: grid; place-items: center; transition: .18s; }
.vfeat .vbtn { width: 66px; height: 66px; }
.vcard:hover .vbtn, .vfeat:hover .vbtn { filter: brightness(1.12); }
.vbtn::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; transition: .12s; }
.is-playing .vbtn::before { border: 0; width: 5px; height: 17px; background: #fff; box-shadow: 9px 0 0 #fff; margin-left: -7px; }

/* Equalizer (animuje się przy odtwarzaniu) */
.veq { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 3px; height: 22px; opacity: .5; transition: opacity .18s; }
.vcard.is-playing .veq, .vfeat.is-playing .veq { opacity: 1; }
.veq i { display: block; width: 3px; height: 6px; background: var(--acc3); border-radius: 2px; }
.is-playing .veq i { animation: eq .85s ease-in-out infinite; }
.veq i:nth-child(2) { animation-delay: .12s; } .veq i:nth-child(3) { animation-delay: .28s; }
.veq i:nth-child(4) { animation-delay: .05s; } .veq i:nth-child(5) { animation-delay: .34s; }

/* Galeria charakterów (voice.html) — reużywa .vcard/.voice-grid, dokłada tylko nagłówek grupy */
.persona-group { margin-top: 40px; }
.persona-group:first-of-type { margin-top: 8px; }
.persona-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-family: "Sora", var(--font-cjk), sans-serif; font-size: 1.2rem; margin: 0 0 14px; }
.persona-title .persona-emoji { font-size: 1.35rem; line-height: 1; align-self: center; }
.persona-title .persona-tag { color: var(--muted); font-weight: 500; font-size: .88rem; font-family: "Inter", var(--font-cjk), sans-serif; letter-spacing: 0; }
.persona-group .voice-grid { margin-top: 0; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 20px; } }

/* --- Lightbox (powiększanie zdjęć) --- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 4vmin;
  background: rgba(4, 4, 8, .86); backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox.is-open { display: grid; animation: lbfade .18s ease; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: var(--radius); border: 1px solid var(--line2); box-shadow: 0 30px 80px -20px #000; }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(20,20,28,.8); border: 1px solid var(--line2); color: var(--txt); font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: .15s; }
.lightbox__close:hover { border-color: var(--acc); color: var(--acc3); }

/* --- Kontakt: adresy e-mail --- */
.contact-emails { display: grid; gap: 10px; margin-top: 12px; }
.email-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--txt); font-weight: 600; font-size: .98rem; transition: .15s; width: fit-content; }
.email-chip:hover { border-color: var(--acc); color: var(--acc3); }
.email-chip .email-chip__ico { font-size: 1.05rem; }

/* --- Reveal animacja --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.has-js .no-js-only { display: none; }

/* --- Responsywność --- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* mobile: pitch + CTA najpierw, postać pod spodem i niższa (nie zjada ekranu); nudge w lewo koryguje off-center wideo */
  .hero__media { max-width: 340px; margin: 8px auto 0; order: 0; }
  .hero__video, .carousel__track { height: clamp(320px, 44vh, 440px); }
  .hero__video { object-position: 44% bottom; }
  .grid--3, .grid--2, .prank-grid, .voice-grid { grid-template-columns: 1fr; }
  .vfeat { flex-direction: row; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 20px; }
  .feature--flip .feature__media, .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 12px; transform: translateY(-140%); transition: transform .25s ease; }
  .nav.is-open { transform: none; }
  .nav__tools { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: space-between; }
  .burger { display: flex; }
  .section { padding: 60px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Podstrony prawne (Polityka prywatności, EULA) i FAQ
   Bloki dwujęzyczne przełączane przez html[lang] (bez i18n na treści).
   ============================================================ */
/* Ukryj oba, pokaż tylko blok aktywnego języka. Selektory z klasą (.legal/.faq)
   dają wyższą specyficzność niż samo `.faq{display:grid}`, więc reguła wygrywa
   niezależnie od kolejności; reguły „pokaż" przywracają właściwy display. */
.legal[data-langblock], .faq[data-langblock] { display: none; }
html[lang="pl"] .legal[data-langblock="pl"],
html[lang="en"] .legal[data-langblock="en"] { display: block; }
html[lang="pl"] .faq[data-langblock="pl"],
html[lang="en"] .faq[data-langblock="en"] { display: grid; }
/* Treść prawna/FAQ istnieje tylko po PL i EN. Dla 日本語/中文 (nagłówki są przetłumaczone
   przez i18n) treść pełni fallback po angielsku — standard dla dokumentów prawnych. */
html[lang="ja"] .legal[data-langblock="en"],
html[lang="zh"] .legal[data-langblock="en"] { display: block; }
html[lang="ja"] .faq[data-langblock="en"],
html[lang="zh"] .faq[data-langblock="en"] { display: grid; }

.container--readable { max-width: 820px; }

.legal-meta { color: var(--muted2); font-size: .86rem; }
.legal-meta--top { margin: -4px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

.legal { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal h2 { color: var(--silver); font-size: 1.5rem; margin: 34px 0 12px; }
.legal h3 { color: var(--txt); font-size: 1.12rem; margin: 26px 0 8px; }
.legal h3:first-child, .legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin: 0 0 7px; }
.legal strong { color: var(--txt); font-weight: 600; }
.legal code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; color: var(--acc3); }
.legal a { color: var(--acc3); }

/* FAQ */
.faq { display: grid; gap: 0; }
.faq__q { color: var(--txt); font-size: 1.08rem; font-weight: 600; margin: 14px 0 0; padding: 18px 20px 0; }
.faq__q:first-child { margin-top: 0; }
.faq__a { color: var(--muted); line-height: 1.65; margin: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); }
.faq__q, .faq__a { background: var(--bg2); }
.faq__q { border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; }
.faq__a { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; }
.faq code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; color: var(--acc3); }

/* Linki prawne w stopce (dolny pasek) */
.footer__legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted); font-size: .9rem; }
.footer__legal a:hover { color: var(--acc3); }

/* Strona /unlock (18+) */
.unlock-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: center; }
.unlock-card .legal-meta { max-width: 60ch; margin: 0 auto 18px; line-height: 1.6; }
.unlock-code { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 18px; padding: 12px 18px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; }
.unlock-code code { font-size: 1.4rem; letter-spacing: .06em; color: var(--acc3); font-weight: 600; }
.btn-copy { background: transparent; border: 1px solid var(--line2); color: var(--muted); border-radius: 8px; padding: 4px 12px; font-size: .85rem; cursor: pointer; }
.btn-copy:hover { color: var(--acc3); border-color: var(--acc); }
