/* =========================================================================
   Tutlo Go — quiz startowy (klon struktury lejka onboardingowego)
   Tokeny: Tutlo Design System (claude.ai/design → Tutlo Design System)
   ========================================================================= */

:root {
  /* Kolory — trzon marki */
  --tutlo-yellow: #FDD100;
  --tutlo-ivory:  #FBFAF5;
  --tutlo-black:  #20201D;
  --tutlo-white:  #FFFFFF;
  --tutlo-pink:   #FF7AC1;
  --tutlo-purple: #A285FF;
  --tutlo-lime:   #B7F454;

  /* Skale */
  --yellow-900:#3D2705; --yellow-700:#AD6D00; --yellow-500:#FCBB00;
  --yellow-400:#FDD100; --yellow-200:#FEEFA6; --yellow-100:#FFFBE9;
  --purple-900:#15093D; --purple-700:#2700B2; --purple-500:#6B41FF;
  --purple-400:#A285FF; --purple-200:#DCD1FF; --purple-100:#F3F0FF;
  --pink-900:#430928;  --pink-700:#B20057;  --pink-500:#FF41A4;
  --pink-400:#FF7AC1;  --pink-200:#FFD1E9;  --pink-100:#FFEFF7;
  --lime-900:#213207;  --lime-700:#338C00;  --lime-500:#72DC00;
  --lime-400:#B7F454;  --lime-200:#E2FFB5;  --lime-100:#F6FDEA;
  --neutral-900:#20201D; --neutral-700:#5B5A57; --neutral-500:#90908C;
  --neutral-400:#BBBAB6; --neutral-200:#E6E5E0; --neutral-100:#FBFAF5;

  /* Semantyka */
  --fg-1: var(--tutlo-black);
  --fg-2: #252523;
  --fg-3: #5B5A57;
  --bg-1: var(--tutlo-ivory);
  --bg-2: var(--tutlo-white);
  --bg-3: var(--neutral-200);
  --bg-inverse: var(--tutlo-black);
  --border-subtle: var(--neutral-200);
  --border-strong: var(--tutlo-black);
  --shadow-card: 0 2px 2px rgba(0,0,0,0.10);
  --shadow-pop:  0 12px 32px rgba(32,32,29,0.12);

  /* Typografia */
  --font-headline: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lexend Deca", "Inter", system-ui, sans-serif;
  --font-accent: "Inter", sans-serif; /* Marjorie — plik licencjonowany, fallback Inter 800 (patrz README) */
  --font-hand: "Reenie Beanie", cursive;

  /* Kształt */
  --r-sm: 8px; --r-md: 15px; --r-lg: 25px; --r-pill: 200px;
  --space-1:4px; --space-2:8px; --space-3:16px; --space-4:24px;
  --space-5:32px; --space-6:48px; --space-7:64px; --space-8:96px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

body.tutlo {
  font: 400 18px/1.5 var(--font-body);
  color: var(--fg-1);
  background: var(--bg-1);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* ---------- Pasek górny ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  max-width: 640px; margin: 0 auto;
  padding: 18px 20px 10px;
  background: linear-gradient(to bottom, var(--bg-1) 75%, transparent);
}
.back-btn {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--fg-1); cursor: pointer;
  transition: background-color 120ms ease;
}
.back-btn:hover { background: var(--neutral-200); }
.back-btn[data-hidden="1"] { visibility: hidden; }
.progress {
  flex: 1; height: 6px; border-radius: var(--r-pill);
  background: var(--neutral-200); overflow: hidden;
}
.progress__fill {
  height: 100%; width: 0%;
  background: var(--tutlo-yellow);
  border-radius: var(--r-pill);
  transition: width 220ms ease;
}

/* ---------- Scena ---------- */
.stage {
  max-width: 640px; margin: 0 auto;
  padding: 12px 20px 140px;
  animation: step-in 220ms ease;
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Dymek lektora ---------- */
.tutor-q { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0 26px; }
.tutor-q__avatar {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  background: var(--tutlo-yellow);
  display: flex; align-items: center; justify-content: center;
}
.tutor-q__avatar svg { width: 38px; height: auto; }
.tutor-q__bubble {
  background: var(--bg-2); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg);
  padding: 18px 22px; box-shadow: var(--shadow-card);
}
.tutor-q__bubble h1 { font: 700 22px/1.3 var(--font-headline); margin: 0; letter-spacing: -0.01em; }
.tutor-q__bubble p  { font: 300 15px/1.4 var(--font-body); color: var(--fg-3); margin: 6px 0 0; }

/* Nagłówek bez dymka (późniejsze kroki) */
.plain-q { text-align: center; margin: 18px 0 8px; }
.plain-q h1 { font: 700 26px/1.25 var(--font-headline); margin: 0 0 8px; letter-spacing: -0.01em; }
.plain-q p  { font: 300 16px/1.45 var(--font-body); color: var(--fg-3); margin: 0 0 14px; }

/* ---------- Karty opcji ---------- */
.opts { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: var(--bg-2); color: var(--fg-1);
  border: 2px solid transparent; border-radius: var(--r-md);
  padding: 16px 18px; min-height: 60px;
  font: 500 17px/1.3 var(--font-body); letter-spacing: -0.01em;
  cursor: pointer; box-shadow: var(--shadow-card);
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.opt:hover  { border-color: var(--neutral-400); }
.opt:active { transform: translateY(1px) scale(0.995); }
.opt.is-selected { border-color: var(--tutlo-black); background: var(--yellow-100); }
.opt__icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  background: var(--yellow-200); color: var(--tutlo-black);
  display: inline-flex; align-items: center; justify-content: center;
}
.opt__icon svg { width: 20px; height: 20px; }
.opt__label { flex: 1; }
.opt__label small { display: block; font: 300 14px/1.35 var(--font-body); color: var(--fg-3); margin-top: 3px; }
.opt__meta { font: 700 15px/1 var(--font-headline); color: var(--fg-3); }
.opt__check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid var(--neutral-400); color: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 120ms ease;
}
.opt.is-selected .opt__check {
  background: var(--tutlo-black); border-color: var(--tutlo-black); color: var(--tutlo-yellow);
}
.opt__check svg { width: 14px; height: 14px; }

/* Siatki opcji */
.opts--grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts--grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opts--grid2 .opt, .opts--grid3 .opt { flex-direction: column; text-align: center; padding: 18px 12px; gap: 8px; }
.opts--grid3 .opt { min-height: 92px; justify-content: center; font: 700 20px/1 var(--font-headline); }
.opts--grid2 .opt .opt__icon, .opts--grid3 .opt .opt__icon { width: 44px; height: 44px; }

/* Kafle zainteresowań (24) */
.opts--tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts--tiles .opt { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-height: 86px; font-size: 15px; }
.opts--tiles .opt .opt__check { position: absolute; }
.opts--tiles .opt { position: relative; }
.opts--tiles .opt .opt__check { top: 10px; right: 10px; }

/* Statement (Nie/Może/Tak) */
.statement-quote {
  margin: 0 0 22px 70px;
  background: var(--yellow-100); border: 2px solid var(--yellow-200);
  border-radius: var(--r-lg) 4px var(--r-lg) var(--r-lg);
  padding: 18px 22px; font: 600 18px/1.4 var(--font-headline);
}
.agree-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agree-row .opt { flex-direction: column; gap: 10px; padding: 22px 10px; text-align: center; }

/* Input imienia */
.name-field {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 2px solid var(--border-strong);
  border-radius: var(--r-md); padding: 16px 18px; margin-top: 18px;
}
.name-field svg { width: 20px; height: 20px; color: var(--fg-3); flex: 0 0 auto; }
.name-field input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: 500 18px/1.3 var(--font-body); color: var(--fg-1); letter-spacing: -0.01em;
}
.name-field input::placeholder { color: var(--neutral-400); }

/* ---------- Interstitiale ---------- */
.inter { text-align: center; padding-top: 26px; }
.inter h1 { font: 700 30px/1.25 var(--font-headline); margin: 0 0 10px; letter-spacing: -0.01em; }
.inter h1 .hl-yellow { background: var(--tutlo-yellow); border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.inter h1 .hl-purple { background: var(--purple-200); border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.inter h1 .hl-lime   { background: var(--lime-200); border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.inter .inter__sub { font: 300 17px/1.5 var(--font-body); color: var(--fg-3); max-width: 460px; margin: 0 auto 18px; }
.inter .hand-note { font: 400 34px/1 var(--font-hand); color: var(--fg-2); letter-spacing: 0; margin: 10px 0; }

.big-number { font: 800 92px/1 var(--font-accent); letter-spacing: -0.03em; margin: 8px 0; }

.stat-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg-2); border-radius: var(--r-pill);
  box-shadow: var(--shadow-card); padding: 12px 24px; margin: 14px 0;
  font: 700 18px/1.2 var(--font-headline);
}
.stat-badge span.pct { font: 800 34px/1 var(--font-accent); }

.review-card {
  background: var(--bg-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 22px 24px;
  text-align: left; margin: 14px 0;
}
.review-card h3 { font: 700 17px/1.35 var(--font-headline); margin: 0 0 8px; }
.review-card p { font: 300 15px/1.55 var(--font-body); color: var(--fg-2); margin: 0 0 12px; }
.review-card .review-meta { display: flex; align-items: center; justify-content: space-between; font: 300 13px/1 var(--font-body); color: var(--fg-3); }
.stars { color: var(--yellow-500); letter-spacing: 2px; font-size: 15px; }

.source-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2); border-radius: var(--r-md);
  padding: 12px 18px; margin-top: 16px;
  font: 300 13px/1.4 var(--font-body); color: var(--fg-3);
  box-shadow: var(--shadow-card);
}
.uni-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.uni-chip {
  font: 700 13px/1 var(--font-headline); letter-spacing: 0.08em;
  border: 2px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 10px 18px;
}

/* Wykres słupkowy (active recall) */
.recall-card {
  background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 24px; margin: 20px 0; text-align: left;
}
.recall-card .label { font: 300 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-3); }
.recall-bars { display: flex; align-items: flex-end; gap: 40px; justify-content: center; height: 170px; margin: 22px 0 10px; }
.recall-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.recall-bar .bar { width: 72px; border-radius: 12px 12px 4px 4px; }
.recall-bar--passive .bar { height: 60px; background: var(--neutral-200); }
.recall-bar--tutlo .bar { height: 150px; background: var(--tutlo-yellow); }
.recall-bar figcaption { font: 500 14px/1.2 var(--font-body); }
.recall-note { font: 300 14px/1.5 var(--font-body); color: var(--fg-3); border-top: 1px solid var(--border-subtle); padding-top: 14px; margin: 6px 0 0; }

/* Pętla metody (Słuchasz→Mówisz→Feedback) */
.loop-card {
  background: var(--bg-inverse); color: var(--tutlo-ivory);
  border-radius: var(--r-lg); padding: 46px 24px; margin: 20px 0;
}
.loop-card .loop-logo { width: 64px; height: 64px; border-radius: 18px; background: var(--tutlo-yellow); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.loop-card .loop-logo svg { width: 40px; height: auto; }
.loop-card h3 { font: 700 22px/1.3 var(--font-headline); margin: 0 0 18px; }
.loop-steps { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.loop-step {
  font: 500 15px/1 var(--font-body);
  background: rgba(251,250,245,0.12); border-radius: var(--r-pill);
  padding: 12px 20px;
}
.loop-step.is-active { background: var(--tutlo-yellow); color: var(--tutlo-black); }

/* Twarze 7/10 */
.faces { display: grid; grid-template-columns: repeat(5, 56px); gap: 14px; justify-content: center; margin: 26px 0; }
.face { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.face--sad { background: var(--neutral-200); color: var(--neutral-700); }
.face--ok  { background: var(--tutlo-yellow); color: var(--tutlo-black); }
.face svg { width: 28px; height: 28px; }

/* Karta „Ocena poziomu" (anchoring) */
.assess-card {
  background: var(--tutlo-yellow); border-radius: var(--r-lg);
  padding: 30px 28px; text-align: left; margin: 8px 0 24px;
  position: relative; overflow: hidden;
}
.assess-card h3 { font: 800 30px/1.1 var(--font-accent); margin: 0 0 14px; letter-spacing: -0.02em; }
.assess-card .price-row { display: flex; align-items: center; gap: 12px; }
.assess-card .price-old { font: 700 22px/1 var(--font-headline); text-decoration: line-through; opacity: 0.55; }
.assess-card .price-free { background: var(--tutlo-black); color: var(--tutlo-yellow); font: 700 14px/1 var(--font-headline); letter-spacing: 0.06em; border-radius: var(--r-pill); padding: 9px 16px; }
.assess-card .limited { position: absolute; right: 24px; bottom: 20px; font: 700 13px/1 var(--font-headline); letter-spacing: 0.08em; text-transform: uppercase; }
.assess-card .assess-arrow { position: absolute; right: 24px; top: 24px; }

/* ---------- Brama testu / ekrany pełne ---------- */
.gate { text-align: center; padding-top: 40px; }
.gate .skip-link {
  position: absolute; top: 20px; right: 24px;
  background: none; border: 0; color: var(--purple-500);
  font: 500 16px/1 var(--font-body); cursor: pointer;
}
.gate h1 { font: 700 32px/1.2 var(--font-headline); margin: 0 0 12px; }
.gate p  { font: 300 17px/1.5 var(--font-body); color: var(--fg-3); max-width: 420px; margin: 0 auto; }
.gate .proof-line { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font-body); color: var(--fg-2); margin-top: 26px; }
.gate .proof-line svg { color: var(--lime-700); width: 18px; height: 18px; }

.tutor-hero {
  width: 180px; height: 180px; margin: 40px auto 8px; border-radius: 50%;
  background: var(--tutlo-yellow);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.tutor-hero svg { width: 110px; height: auto; }
.tutor-hero .hero-bubble {
  position: absolute; bottom: -14px; right: -70px;
  background: var(--tutlo-black); color: var(--tutlo-ivory);
  font: 400 26px/1.05 var(--font-hand); letter-spacing: 0;
  border-radius: var(--r-md) var(--r-md) var(--r-md) 4px;
  padding: 10px 16px; transform: rotate(3deg);
}

/* ---------- Loadery ---------- */
.loader-screen { text-align: center; padding-top: 60px; }
.loader-screen h1 { font: 700 28px/1.25 var(--font-headline); margin: 0 0 40px; }
.loader-rows { max-width: 420px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 26px; }
.loader-row .loader-label { font: 500 16px/1.3 var(--font-body); color: var(--fg-3); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.loader-row .loader-label .done-ic { color: var(--lime-700); width: 18px; height: 18px; opacity: 0; transition: opacity 200ms ease; }
.loader-row.is-done .loader-label { color: var(--fg-1); }
.loader-row.is-done .done-ic { opacity: 1; }
.loader-track { height: 8px; border-radius: var(--r-pill); background: var(--neutral-200); overflow: hidden; }
.loader-fill { height: 100%; width: 0%; background: var(--tutlo-yellow); border-radius: var(--r-pill); transition: width 300ms linear; }
.loader-screen .review-card { max-width: 460px; margin: 40px auto 0; }
.trust-line { margin-top: 30px; font: 300 14px/1 var(--font-body); color: var(--fg-3); }

/* ---------- Reveal lektora ---------- */
.match-card {
  background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: 0; overflow: hidden; text-align: left; margin-top: 22px;
}
.match-card__band { background: var(--tutlo-yellow); text-align: center; font: 700 13px/1 var(--font-headline); letter-spacing: 0.12em; padding: 12px; }
.match-card__body { padding: 26px; }
.match-card__head { display: flex; gap: 18px; align-items: flex-start; }
.match-avatar { flex: 0 0 auto; width: 96px; height: 96px; border-radius: var(--r-lg); background: var(--tutlo-yellow); display: flex; align-items: center; justify-content: center; }
.match-avatar svg { width: 64px; height: auto; }
.match-card h2 { font: 700 24px/1.2 var(--font-headline); margin: 0 0 8px; }
.match-card .match-desc { font: 300 15px/1.5 var(--font-body); color: var(--fg-3); margin: 0; }
.match-card h4 { font: 700 16px/1.3 var(--font-headline); margin: 22px 0 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--yellow-100); border: 1px solid var(--yellow-200); border-radius: var(--r-pill); padding: 8px 14px; font: 500 14px/1 var(--font-body); }
.match-trust { display: flex; align-items: center; gap: 8px; margin-top: 20px; font: 300 14px/1 var(--font-body); color: var(--fg-3); }
.match-trust svg { width: 17px; height: 17px; }

/* ---------- Dashboard wyniku ---------- */
.dash-head { display: flex; gap: 14px; align-items: center; margin: 10px 0 24px; }
.dash-head .tutor-q__avatar { width: 52px; height: 52px; }
.dash-head h1 { font: 700 26px/1.25 var(--font-headline); margin: 0; }
.chart-card { background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 26px 20px 20px; }
.chart-svg { width: 100%; height: auto; display: block; }
.dash-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dash-card { background: var(--bg-2); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 16px 18px; }
.dash-card .dc-title { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--font-headline); margin-bottom: 6px; }
.dash-card .dc-title svg { width: 17px; height: 17px; color: var(--yellow-700); }
.dash-card p { margin: 0; font: 300 14px/1.4 var(--font-body); color: var(--fg-3); }

/* ---------- Kotwica cenowa ---------- */
.vs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 10px; }
.vs-card { border-radius: var(--r-lg); padding: 24px 18px; text-align: center; }
.vs-card--tutlo { background: var(--tutlo-yellow); transform: rotate(-3deg); box-shadow: var(--shadow-pop); }
.vs-card--other { background: var(--bg-2); transform: rotate(2deg); box-shadow: var(--shadow-card); color: var(--fg-3); }
.vs-card .vs-price { font: 800 34px/1 var(--font-accent); display: block; margin-bottom: 12px; }
.vs-card--other .vs-price { color: var(--pink-700); }
.vs-card .vs-who { font: 500 15px/1.3 var(--font-body); }
.vs-avatar { width: 64px; height: 64px; margin: 14px auto; border-radius: 50%; background: var(--tutlo-ivory); display: flex; align-items: center; justify-content: center; }
.vs-avatar svg { width: 42px; height: auto; }

/* ---------- Koło rabatowe ---------- */
.wheel-screen { text-align: center; padding-top: 30px; }
.wheel-wrap { position: relative; width: min(420px, 88vw); margin: 30px auto 10px; }
.wheel-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  z-index: 5; width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 26px solid var(--pink-500);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}
.wheel {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 10px solid var(--tutlo-black);
  position: relative; overflow: hidden;
  transition: transform 3.2s cubic-bezier(0.15, 0.9, 0.25, 1);
  background: conic-gradient(
    var(--neutral-200)   0deg  60deg,
    var(--tutlo-pink)   60deg 120deg,
    var(--purple-200)  120deg 180deg,
    var(--tutlo-yellow)180deg 240deg,
    var(--lime-200)    240deg 300deg,
    var(--yellow-200)  300deg 360deg
  );
}
.wheel-label {
  position: absolute; top: 50%; left: 50%;
  font: 700 20px/1 var(--font-headline);
  transform-origin: 0 0;
}
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--tutlo-black); z-index: 4;
  display: flex; align-items: center; justify-content: center;
}
.wheel-hub svg { width: 44px; height: auto; }

/* ---------- Paywall ---------- */
.paywall { padding-top: 8px; }
.pw-hero { padding: 26px 0 8px; }
.pw-hero h1 { font: 700 30px/1.3 var(--font-headline); margin: 0; }
.pw-hero .pw-off { font: 800 84px/1 var(--font-accent); letter-spacing: -0.03em; display: block; margin-top: 12px; }
.pw-section { margin-top: 44px; }
.pw-section > h2 { font: 700 24px/1.25 var(--font-headline); margin: 0 0 18px; }

.unlock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unlock-card { background: var(--bg-2); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 18px; }
.unlock-card .u-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.unlock-card:nth-child(1) .u-ic { background: var(--yellow-200); }
.unlock-card:nth-child(2) .u-ic { background: var(--purple-200); }
.unlock-card:nth-child(3) .u-ic { background: var(--pink-200); }
.unlock-card:nth-child(4) .u-ic { background: var(--lime-200); }
.unlock-card .u-ic svg { width: 20px; height: 20px; }
.unlock-card h3 { font: 700 17px/1.2 var(--font-headline); margin: 0 0 4px; }
.unlock-card p { font: 300 14px/1.4 var(--font-body); color: var(--fg-3); margin: 0; }

.discount-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--lime-100); border: 2px solid var(--lime-400);
  border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 16px;
}
.discount-bar .d-label { font: 500 15px/1.3 var(--font-body); }
.discount-bar .d-code { display: inline-flex; align-items: center; gap: 6px; color: var(--lime-700); font-weight: 600; }
.discount-bar .d-timer { display: inline-flex; align-items: center; gap: 7px; font: 700 20px/1 var(--font-headline); font-variant-numeric: tabular-nums; }

.plan {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 2px solid var(--border-subtle);
  border-radius: var(--r-md); padding: 18px; margin-bottom: 12px;
  cursor: pointer; transition: border-color 120ms ease, background-color 120ms ease;
}
.plan:hover { border-color: var(--neutral-400); }
.plan.is-selected { border-color: var(--tutlo-black); background: var(--yellow-100); }
.plan .plan-radio {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--neutral-400); transition: all 120ms ease;
}
.plan.is-selected .plan-radio { border: 7px solid var(--tutlo-black); }
.plan .plan-main { flex: 1; }
.plan h3 { font: 700 18px/1.2 var(--font-headline); margin: 0 0 4px; }
.plan .plan-sub { font: 300 14px/1.35 var(--font-body); color: var(--fg-3); }
.plan .plan-sub s { opacity: 0.7; }
.plan .plan-week {
  flex: 0 0 auto; text-align: center; background: var(--tutlo-black); color: var(--tutlo-ivory);
  border-radius: 12px; padding: 10px 14px;
}
.plan .plan-week strong { font: 700 18px/1.1 var(--font-headline); display: block; }
.plan .plan-week span { font: 300 11px/1 var(--font-body); opacity: 0.75; }
.plan .plan-badge {
  position: absolute; top: -12px; left: 18px;
  background: var(--tutlo-pink); color: var(--tutlo-black);
  font: 700 12px/1 var(--font-headline); letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--r-pill); padding: 7px 14px;
}
.plan--popular { border-color: var(--tutlo-black); }

.guarantee-line { display: flex; align-items: center; justify-content: center; gap: 8px; font: 300 14px/1 var(--font-body); color: var(--fg-3); margin: 16px 0; }
.guarantee-line svg { width: 17px; height: 17px; color: var(--lime-700); }
.renew-note { font: 300 12px/1.5 var(--font-body); color: var(--fg-3); margin-top: 14px; }

.pw-cta { width: 100%; }

.guarantee-card { background: var(--lime-100); border-radius: var(--r-lg); padding: 26px; }
.guarantee-card h2 { font: 700 22px/1.25 var(--font-headline); margin: 0 0 8px; }
.guarantee-card p { font: 300 15px/1.5 var(--font-body); margin: 0 0 14px; }
.guarantee-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guarantee-card li { display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--font-body); }
.guarantee-card li svg { width: 18px; height: 18px; color: var(--lime-700); flex: 0 0 auto; }

.vs-table { background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.vs-table__head { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--tutlo-black); color: var(--tutlo-ivory); font: 700 14px/1.2 var(--font-headline); }
.vs-table__head > div { padding: 14px 12px; text-align: center; }
.vs-table__head .th-tutlo { background: var(--tutlo-yellow); color: var(--tutlo-black); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--border-subtle); }
.vs-row > div { padding: 13px 12px; font: 300 13.5px/1.35 var(--font-body); text-align: center; }
.vs-row .vs-dim { font: 500 12px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-3); display: flex; align-items: center; justify-content: center; }
.vs-row .vs-tutlo { background: var(--yellow-100); font-weight: 500; }

.ratings-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.rating-box { background: var(--bg-2); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 18px 10px; }
.rating-box .r-score { font: 800 30px/1 var(--font-accent); display: block; }
.rating-box .r-stars { margin: 6px 0; }
.rating-box .r-src { font: 300 13px/1.3 var(--font-body); color: var(--fg-3); }
.ratings-head { text-align: center; margin-bottom: 16px; }
.ratings-head .big { font: 800 56px/1 var(--font-accent); display: block; }
.ratings-head .sub { font: 300 15px/1.4 var(--font-body); color: var(--fg-3); }

.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 16px 18px; font: 300 15px/1.45 var(--font-body); }
.benefits li svg { width: 20px; height: 20px; color: var(--yellow-700); flex: 0 0 auto; margin-top: 1px; }
.benefits li strong { font-weight: 600; }

.moment-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.pw-footer { margin-top: 56px; padding: 26px 0 10px; border-top: 1px solid var(--border-subtle); text-align: center; font: 300 13px/1.6 var(--font-body); color: var(--fg-3); }
.pw-footer a { color: var(--fg-3); }
.pw-footer .f-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.pw-footer .f-logo svg { width: 54px; height: auto; }

/* ---------- Lead form ---------- */
.lead-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; text-align: left; }
.lead-form label { font: 500 14px/1.2 var(--font-body); }
.lead-form .name-field { margin-top: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font: 300 13px/1.5 var(--font-body); color: var(--fg-3); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tutlo-black); }
.form-error { color: var(--pink-700); font: 400 13px/1.3 var(--font-body); min-height: 17px; margin: 0; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; min-height: 58px;
  border-radius: var(--r-pill);
  background: var(--tutlo-yellow); color: var(--tutlo-black);
  font: 500 18px/1 var(--font-body); letter-spacing: -0.01em;
  border: 0; cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover  { background: #FFD928; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 3px solid var(--tutlo-black); outline-offset: 2px; }
.btn--dark  { background: var(--tutlo-black); color: var(--tutlo-ivory); }
.btn--dark:hover { background: #2C2C28; }
.btn--ghost { background: transparent; color: var(--tutlo-black); box-shadow: inset 0 0 0 2px var(--tutlo-black); }
.btn--ghost:hover { background: var(--tutlo-black); color: var(--tutlo-ivory); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 19px; height: 19px; }

/* Pasek CTA na dole */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg-1) 70%, transparent);
}
.cta-bar__note { max-width: 640px; margin: 0 auto 8px; text-align: center; font: 300 14px/1.3 var(--font-body); color: var(--fg-3); }
.cta-bar__note:empty { display: none; }
.btn--continue { display: flex; width: 100%; max-width: 640px; margin: 0 auto; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(32,32,29,0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--bg-1); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  max-width: 440px; width: 100%; padding: 32px 26px; text-align: center;
  animation: step-in 200ms ease;
}
.modal h2 { font: 700 24px/1.25 var(--font-headline); margin: 0 0 10px; }
.modal p { font: 300 16px/1.5 var(--font-body); color: var(--fg-3); margin: 0 0 6px; }
.modal .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.modal .tutor-hero { width: 130px; height: 130px; margin: 22px auto 14px; }
.modal .tutor-hero svg { width: 80px; }
.modal .tutor-hero .hero-bubble { right: -58px; font-size: 22px; }

/* ---------- Intro ---------- */
.intro { text-align: center; padding-top: 34px; }
.intro .intro-logo { display: flex; justify-content: center; margin-bottom: 26px; }
.intro .intro-logo svg { width: 74px; height: auto; }
.intro h1 { font: 700 34px/1.22 var(--font-headline); margin: 0 auto 18px; max-width: 480px; }
.intro h1 .hl-yellow { background: var(--tutlo-yellow); border-radius: 10px; padding: 0 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.rating-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2); border-radius: var(--r-pill); box-shadow: var(--shadow-card);
  padding: 9px 16px; font: 300 13px/1.2 var(--font-body); color: var(--fg-3);
}
.rating-badge strong { font: 700 14px/1 var(--font-headline); color: var(--fg-1); }
.rating-badge .star { color: var(--yellow-500); }

/* Responsywność */
@media (max-width: 560px) {
  .opts--tiles { grid-template-columns: repeat(2, 1fr); }
  .opts--grid3 { grid-template-columns: repeat(2, 1fr); }
  .unlock-grid { grid-template-columns: 1fr; }
  .dash-cards { grid-template-columns: 1fr; }
  .vs-wrap { grid-template-columns: 1fr; }
  .vs-card--tutlo, .vs-card--other { transform: none; }
  .pw-hero .pw-off { font-size: 64px; }
  .big-number { font-size: 64px; }
  .tutor-hero .hero-bubble { right: -30px; }
  .statement-quote { margin-left: 0; }
}
