/* ═══════ GRUFFIO - strona główna (korzysta z tokenów i komponentów ze styles.css) ═══════ */
html { scroll-behavior: smooth; }
body.lp { background: var(--cream); line-height: 1.55; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp a { color: inherit; }

/* ── przyciski ── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp-btn:active { transform: scale(.97); }
.lp-btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff !important; box-shadow: 0 8px 22px var(--orange-glow); }
.lp-btn-primary:hover { box-shadow: 0 10px 28px rgba(232, 80, 15, .45); }
.lp-btn-ghost { background: var(--paper); color: var(--navy) !important; border: 2px solid var(--line); }
.lp-btn-dark { background: var(--navy); color: #fff !important; }
.lp-btn-light { background: #fff; color: var(--orange-deep) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .15); }
.lp-btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }

/* ── nagłówek ── */
.lp-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 248, 243, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-top: env(safe-area-inset-top); }
.lp-logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--orange) !important; }
.lp-logo .wordmark { font-size: 1.45rem; }
.lp-nav { display: none; gap: 26px; }
.lp-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--navy-soft); }
.lp-nav a:hover { color: var(--orange-deep); }
.lp-header-actions { display: flex; align-items: center; gap: 10px; }

/* ── hero ── */
.lp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(232, 80, 15, .18), transparent),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(30, 42, 58, .08), transparent);
}
.lp-hero-in { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 56px; align-items: center; }
.lp-kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-deep); background: var(--orange-soft); padding: 6px 12px; border-radius: 999px;
}
.lp-hero h1 { font-size: clamp(2.3rem, 7.5vw, 4rem); line-height: 1.04; font-weight: 800; margin: 16px 0 16px; letter-spacing: -.02em; text-wrap: balance; }
.lp-lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--navy-soft); max-width: 34em; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-note { margin-top: 14px; font-size: .88rem; color: var(--ink-mute); }

.lp-hero-visual { position: relative; display: grid; place-items: center; }
.lp-phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 390 / 844; border-radius: 44px; overflow: hidden;
  border: 10px solid var(--navy); background: var(--navy);
  box-shadow: 0 30px 60px rgba(30, 42, 58, .28), 0 8px 18px rgba(30, 42, 58, .18);
  transform: rotate(2.5deg);
}
.lp-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* białe tło wideo znika przez multiply - widać tylko pomarańczowe ślady */
.lp-trail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .2; pointer-events: none; }
.lp-hero-in { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .lp-trail { display: none; } }

/* ── sekcje ── */
.lp-section { padding: 64px 0; }
.lp-section-alt { background: var(--paper); }
.lp-section h2, .lp-cta h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.lp-sub { color: var(--ink-mute); font-size: 1.02rem; margin-top: 10px; max-width: 40em; }
.lp-section h3 { font-size: 1.15rem; margin-bottom: 6px; }
.lp-section p { color: var(--ink-mute); }

.lp-steps { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
/* film instruktażowy pod krokami */
.lp-video { display: grid; gap: 18px; justify-items: center; text-align: center; margin-top: 36px; }
.lp-video-text h3 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.15; }
.lp-video-text p { color: var(--ink-mute); margin: 8px 0 18px; max-width: 30em; }
.lp-video-player { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 9 / 16; border-radius: 26px; background: var(--cream); box-shadow: var(--shadow); }
.lp-steps li { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: 0 2px 10px rgba(30, 42, 58, .06); }
.lp-step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}

.lp-features { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lp-features article { background: var(--cream); border-radius: 22px; padding: 22px; border: 1px solid var(--line); }
.lp-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; background: var(--ico-bg); color: var(--ico-fg); }
.lp-ico svg { width: 30px; height: 30px; }
.lp-ico-green { --ico-bg: var(--green-soft); --ico-fg: #1F7A47; }
.lp-ico-orange { --ico-bg: var(--orange-soft); --ico-fg: var(--orange-deep); }
.lp-ico-navy { --ico-bg: #E6EBF2; --ico-fg: var(--navy); }

.lp-beta-note { font-weight: 700; color: var(--green); }
.lp-plans { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lp-plan { background: var(--paper); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.lp-plan h3 { font-size: 1.2rem; }
.lp-price { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--orange) !important; margin: 4px 0 14px; }
.lp-plan ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.lp-plan li { padding-left: 26px; position: relative; color: var(--ink); }
.lp-plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--green); }
/* promocja na start na kartach płatnych (data-promo: ukrywana po CONFIG.TRIAL_UNTIL) */
.lp-plan .lp-promo { margin: -4px 0 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .13); color: #fff; font-size: .88rem; line-height: 1.4; }
.lp-promo b { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.lp-plan-premium { background: linear-gradient(140deg, var(--navy), #2C3E56); }
.lp-plan-premium h3, .lp-plan-premium li { color: #fff; }
.lp-plan-premium li::before { color: var(--orange); }
.lp-plan-human { background: linear-gradient(140deg, #1F6B45, var(--green)); }
.lp-plan-human h3, .lp-plan-human li { color: #fff; }
.lp-plan-human .lp-price { color: #FFD9A8 !important; }
.lp-plan-human li::before { color: #FFD9A8; }

.lp-install { display: grid; gap: 22px; align-items: center; }
.lp-install .lp-btn { margin-top: 18px; }
.lp-install-steps { list-style: none; display: grid; gap: 12px; }
.lp-install-steps li { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-size: .98rem; color: var(--ink); }

.lp-faq { max-width: 780px; }
.lp-faq h2 { margin-bottom: 18px; }
.lp-faq details { background: var(--paper); border-radius: 18px; margin-top: 10px; box-shadow: 0 2px 8px rgba(30, 42, 58, .05); }
.lp-faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq details p { padding: 0 20px 18px; }
.lp-faq details a { color: var(--orange-deep); font-weight: 700; }

.lp-cta { padding: 64px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.lp-cta h2 { color: #fff; }
.lp-cta p { margin: 12px auto 26px; max-width: 32em; font-size: 1.08rem; opacity: .95; }

/* ── stopka ── */
.lp-footer { background: var(--navy); color: #C5CEDA; padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); font-size: .9rem; }
.lp-footer-in { display: grid; gap: 28px; }
.lp-footer-logo { font-size: 1.6rem; color: var(--orange); }
.lp-footer .wm-i svg { color: #fff; }
.lp-footer-tag { margin-top: 6px; color: #97A3B5; }
.lp-footer-links { display: grid; gap: 4px; }
.lp-footer-links a { text-decoration: none; font-weight: 700; color: #fff; min-height: 36px; display: inline-flex; align-items: center; }
.lp-footer-links a:hover { color: #FFB089; }
.lp-company p { line-height: 1.7; }
.lp-company b { color: #fff; }

/* ── szerokie ekrany ── */
@media (min-width: 900px) {
  .lp-nav { display: flex; }
  .lp-hero-in { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 88px; }
  .lp-phone { width: 320px; }
  .lp-section { padding: 88px 0; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-video { grid-template-columns: 1fr auto; justify-items: start; align-items: center; text-align: left; gap: 48px; max-width: 820px; margin: 48px auto 0; }
  .lp-video-player { width: 340px; }
  .lp-install { grid-template-columns: 1fr 1fr; }
  .lp-footer-in { grid-template-columns: 1.2fr .8fr 1.2fr; align-items: start; }
}
@media (max-width: 420px) {
  .lp-header-actions .lp-btn-sm { padding: 0 12px; }
  .lp-logo > svg { display: none; }
}

/* ═══════ strona „w budowie” + lista oczekujących ═══════ */
.cs-body { min-height: 100dvh; display: flex; flex-direction: column; }
.cs-hero { flex: 1; display: grid; align-items: center; }
.cs-in { position: relative; z-index: 1; text-align: center; padding-top: 48px; padding-bottom: 56px; max-width: 780px; }
.cs-in h1 { font-size: clamp(2.3rem, 7.5vw, 4rem); line-height: 1.04; font-weight: 800; margin: 18px 0 16px; letter-spacing: -.02em; text-wrap: balance; }
.cs-lead { margin: 0 auto; }
.cs-form { max-width: 560px; margin: 30px auto 0; background: var(--paper); border-radius: 26px; padding: 14px; box-shadow: var(--shadow); text-align: left; }
.cs-row { display: flex; gap: 10px; }
.cs-row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--cream); font: inherit; font-size: 1rem; color: var(--ink);
}
.cs-row input:focus { outline: none; border-color: var(--orange); }
.cs-row .lp-btn { min-height: 52px; white-space: nowrap; }
.cs-row .lp-btn:disabled { opacity: .7; cursor: progress; }
.cs-consent { margin: 12px 6px 2px; font-size: .82rem; }
.cs-msg { max-width: 560px; margin: 14px auto 0; padding: 12px 16px; border-radius: 16px; font-weight: 700; font-size: .95rem; }
.cs-msg.ok { background: var(--green-soft); color: #1F7A47; font-size: 1.05rem; }
.cs-msg.err { background: #FDECEA; color: #B03225; }
.cs-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.cs-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--navy);
}
.cs-chips .lp-ico { width: 34px; height: 34px; border-radius: 50%; margin: 0; }
.cs-chips .lp-ico svg { width: 20px; height: 20px; }
.cs-footer { padding: 26px 0 calc(28px + env(safe-area-inset-bottom)); text-align: center; font-size: .85rem; color: var(--ink-mute); border-top: 1px solid var(--line); background: var(--paper); }
.cs-footer a { color: var(--orange-deep); font-weight: 700; }
.cs-links { display: flex; justify-content: center; gap: 18px; margin: 8px 0; }
.cs-links a { min-height: 32px; display: inline-flex; align-items: center; }
.cs-company { font-size: .75rem; line-height: 1.6; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 520px) {
  .cs-row { flex-direction: column; }
  .cs-row .lp-btn { width: 100%; }
}
.nf-paws { font-size: 2rem; letter-spacing: .3em; opacity: .5; }
