/* ==========================================================================
   USKI.PL - Landing page: Bezpłatna analiza stylu uczenia się
   Układ w rytmie jasnych sekcji: biel -> błękit -> biel, kolorowe kafle,
   duży formularz w hero i powtórzony w CTA końcowym.
   ========================================================================== */

/* ----------------------------- 1. TOKENY ------------------------------ */
:root {
  /* Jasny błękit prowadzi całą stronę, granat tylko do tekstu i akcentów */
  --sky:        #29A3E8;
  --sky-600:    #1B8CD4;
  --sky-100:    #E6F3FD;
  --sky-050:    #F2F9FE;

  --blue:       #1160AB;   /* kolor marki */
  --blue-700:   #0D5495;
  --blue-900:   #0A3A6B;

  --orange:     #F26B2C;   /* akcent i przyciski */
  --orange-600: #E05A1B;
  --orange-100: #FFEDE1;
  --orange-050: #FFF6F0;

  --orange-800: #C94A12;

  --ink:        #16202A;
  --ink-2:      #4A5A6E;
  --ink-3:      #7C8B9C;

  --bg:         #FFFFFF;
  --bg-soft:    #EAF4FD;
  --line:       #E1EAF4;

  --err:        #D92D20;

  --r:          14px;
  --r-lg:       22px;
  --r-xl:       30px;

  --sh-sm: 0 1px 2px rgba(16, 34, 56, .05), 0 4px 14px rgba(16, 34, 56, .06);
  --sh:    0 6px 18px rgba(17, 96, 171, .08), 0 18px 44px rgba(17, 96, 171, .10);
  --sh-lg: 0 24px 60px rgba(10, 58, 107, .20);

  --ff: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
}

/* ----------------------------- 2. RESET ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); font-weight: 800; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ----------------------------- 3. LAYOUT ------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 840px; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.section__cta { margin-top: 38px; text-align: center; }

/* ------------------------- 4. TYPOGRAFIA WSPÓLNA ---------------------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin: 0 0 12px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: #FFDCC4; }

.tagline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px; margin: 0 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  backdrop-filter: blur(4px);
}
.tagline::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 107, 44, .28);
}
.tagline span { opacity: .5; }

.h2 { font-size: clamp(27px, 3.6vw, 38px); max-width: 20ch; margin-bottom: 14px; color: var(--ink); }
.h2--wide { max-width: 28ch; }
.h2--light { color: #fff; }
.lead { font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 64ch; }
.lead--narrow { max-width: 58ch; }
.hl { color: #FF9E63; }

/* ----------------------------- 5. BUTTONY ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border: 0; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-weight: 800; font-size: 16px; line-height: 1.25; text-align: center;
  box-shadow: 0 8px 20px rgba(242, 107, 44, .28);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-decoration: none;
}
.btn:hover { background: var(--orange-600); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 107, 44, .36); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn svg { flex: none; }

/* ----------------------------- 6. HEADER ------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar.is-stuck { box-shadow: 0 6px 20px rgba(16, 34, 56, .08); }
.topbar__inner {
  position: relative;
  display: flex; align-items: center; gap: 22px;
  min-height: 74px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo:hover { text-decoration: none; }
.logo img { height: 50px; width: auto; }

.topnav { display: flex; gap: 26px; margin-left: auto; }
.topnav a { color: var(--ink-2); font-weight: 700; font-size: 15.5px; }
.topnav a:hover { color: var(--blue); text-decoration: none; }

.topbar__cta { display: flex; align-items: center; gap: 16px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--blue); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobilemenu[hidden] { display: none; }
.mobilemenu {
  display: none;
  position: absolute; top: 100%; left: 12px; right: 12px; z-index: 70;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh); padding: 14px; display: grid; gap: 4px;
}
.mobilemenu a { padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 700; }
.mobilemenu a:hover { background: var(--sky-050); text-decoration: none; }
.mobilemenu .btn { margin-top: 8px; color: #fff; }

/* ------------------------------ 7. HERO ------------------------------- */
.hero, .finalcta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 12% 8%, rgba(58, 174, 240, .55) 0%, rgba(58, 174, 240, 0) 58%),
    radial-gradient(70% 90% at 92% 96%, rgba(242, 107, 44, .30) 0%, rgba(242, 107, 44, 0) 60%),
    linear-gradient(140deg, #1A76C6 0%, var(--blue) 46%, #093B6E 100%);
  color: #fff;
  padding: clamp(44px, 6vw, 82px) 0 clamp(76px, 8vw, 100px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg svg { width: 100%; height: 100%; }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; line-height: 1.14;
  color: #fff; margin-bottom: 18px;
}
.hero__title--sm { font-size: clamp(28px, 3.6vw, 38px); }
.hero__lead { font-size: clamp(16.5px, 1.5vw, 18.5px); color: rgba(255,255,255,.94); max-width: 55ch; margin-bottom: 24px; }
.hero__lead strong { color: #fff; }
.hero__risk { font-size: 14.5px; color: rgba(255,255,255,.86); max-width: 50ch; margin: 16px 0 22px; }
.hero__risk a { color: #fff; text-decoration: underline; }

.trustrow { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 28px; }
.trustrow li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .92);
}
.trustrow li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero__skills { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.hero__skills-label {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); font-weight: 500;
}

.pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; }
.split__copy .pills { margin-bottom: 22px; }
.microlink { margin: 16px 0 0; font-size: 14px; }
.microlink a { text-decoration: underline; }
.pills li {
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--sky-100); color: var(--blue-700);
}
.pills--light li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); color: #fff; }

.badges { display: grid; gap: 8px; margin: 22px 0 0; }
.badges li {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: #fff;
}
.badges li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* --------------------------- 8. FORMULARZ ----------------------------- */
.formcard {
  position: relative;
  background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 30px 70px rgba(6, 40, 76, .32); color: var(--ink);
}
.formcard__ribbon {
  position: absolute; top: -16px; right: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(140deg, #FF9257, var(--orange)); color: #fff;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(242, 107, 44, .38);
}
.formcard__head { margin-bottom: 18px; }
.formcard__title { font-size: clamp(21px, 2.2vw, 25px); margin-bottom: 8px; color: var(--ink); }
.formcard__sub { font-size: 15px; color: var(--ink-2); margin: 0; }

.field { margin-bottom: 14px; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }

.input, .select select {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--ink-3); }
.input:focus, .select select:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(41, 163, 232, .16);
}
.input[aria-invalid="true"], .select select[aria-invalid="true"] { border-color: var(--err); }

.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 11px; height: 7px;
  transform: translateY(-50%); pointer-events: none;
  background: var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.field--check { margin: 16px 0 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 22px; height: 22px; margin: 0; cursor: pointer;
  border: 1.5px solid #C7D6E6; border-radius: 7px; background: #fff;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.check input:hover { border-color: var(--sky); }
.check input:checked {
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center/14px no-repeat;
  border-color: var(--sky);
}
.check input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(41, 163, 232, .22); border-color: var(--sky); }
.check input[aria-invalid="true"] { border-color: var(--err); }
.check a { text-decoration: underline; }

.error { display: none; margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--err); }
.error.is-visible { display: block; }

.form__micro {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 14px 0 0; font-size: 12.8px; color: var(--ink-3); text-align: center;
}
.form__micro svg { flex: none; opacity: .7; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done { text-align: center; padding: 8px 0 4px; }
.form__done-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky-100); color: var(--blue);
}
.form__done h3 { font-size: 22px; margin-bottom: 8px; }
.form__done p { font-size: 15px; color: var(--ink-2); }
.form__done-next { background: var(--sky-050); border-radius: var(--r); padding: 14px 16px; margin: 14px 0 0; font-size: 14px; }

/* --------------------------- 10. PROBLEM ------------------------------ */
.problem {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch; margin: 28px 0 36px;
}
.painlist { display: grid; gap: 10px; align-content: start; }
.painlist li {
  display: flex; align-items: center; gap: 13px;
  background: var(--sky-050); border: 1px solid #DCEAF8; border-radius: var(--r);
  padding: 15px 18px; font-weight: 600; font-size: 16px;
}
.painlist li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E05A1B'%3E%3Cpath d='M18.3 7.1 16.9 5.7 12 10.6 7.1 5.7 5.7 7.1l4.9 4.9-4.9 4.9 1.4 1.4 4.9-4.9 4.9 4.9 1.4-1.4-4.9-4.9z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.insight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--sh);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.insight p { font-size: clamp(16.5px, 1.55vw, 18.5px); color: rgba(255,255,255,.9); }
.insight p:last-child { margin-bottom: 0; }
.insight strong { color: #fff; }
.insight__punch { font-weight: 700; color: #fff !important; }
.insight .btn { white-space: nowrap; }

/* ------------------------- 11. KARTY / FEATURE ------------------------ */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 34px; }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px 28px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.feature__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky), var(--blue)); color: #fff; margin-bottom: 16px;
}
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

.strip {
  margin: 30px 0 0; padding: 18px 26px; border-radius: 999px;
  background: var(--orange-050); border: 1.5px dashed #F9C5A5; color: var(--ink);
  font-weight: 700; text-align: center; font-size: 16px;
}


/* ----------------------- 12. PROFILE DZIECI --------------------------- */
.profiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  align-items: stretch; margin: 30px 0 26px;
}
.profile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 28px 28px 30px; box-shadow: var(--sh-sm);
  border-top: 5px solid var(--sky);
}
.profile--alt { border-top-color: var(--orange); }
.profile__tag {
  display: inline-block; margin-bottom: 12px; padding: 5px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--sky-100); color: var(--blue-700);
}
.profile--alt .profile__tag { background: var(--orange-100); color: var(--orange-600); }
.profile h3 { font-size: 20px; margin-bottom: 18px; }

/* --------------------------- 13. CZEGO UCZYMY ------------------------- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 34px; }
.skill {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 28px 26px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.skill__icon {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky), var(--blue)); color: #fff; margin-bottom: 16px;
}
.skill:nth-child(3n+2) .skill__icon { background: linear-gradient(140deg, #FF9257, var(--orange)); }
.skill h3 { font-size: 18.5px; margin-bottom: 9px; }
.skill p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* --------------------------- 13b. PASEK PRZEBIEGU --------------------- */
.section--slim { padding: clamp(34px, 4.5vw, 52px) 0; }
.flow__label {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px; font-weight: 500;
}
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.flow li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.flow li span {
  flex: none; width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center;
  background: #fff; border: 1px solid #BEDCF6; color: var(--blue);
  font-size: 13.5px; font-weight: 800;
}

/* ---------------------------- 14. DLA KOGO ---------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.card__img { margin: 0; }
.card__img img { width: 100%; height: 190px; object-fit: cover; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__tag {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.card__tag--orange { background: var(--orange-100); color: var(--orange-600); }
.card__tag--blue   { background: var(--sky-100); color: var(--blue-700); }
.card__tag--navy   { background: #D8E8F7; color: var(--blue-900); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card__gain { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; margin-bottom: 0; }

/* ---------------------------- 15. EFEKTY ------------------------------ */
.checklist { display: grid; gap: 12px; margin: 22px 0 26px; }
.checklist li {
  position: relative; padding-left: 34px; font-size: 16px; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231160AB'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist--2col { grid-template-columns: 1fr 1fr; gap: 14px 34px; }

.effects { margin-bottom: 30px; }

.gainbox {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch;
}
.gainbox__copy { padding: clamp(28px, 3.5vw, 44px); }
.gainbox__title { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 6px; }
.gainbox .checklist { margin-bottom: 22px; }
.gainbox__img { margin: 0; }
.gainbox__img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

/* -------------------------- 16. SPLIT / MOCKUPY ----------------------- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }
.split__copy .btn { margin-top: 6px; }
.split__visual { display: grid; gap: 20px; }

.photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall img { min-height: 420px; }

.quizfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quizfacts div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; text-align: center;
}
.quizfacts strong { display: block; font-size: clamp(18px, 1.9vw, 24px); color: var(--blue); line-height: 1.15; }
.quizfacts span { font-size: 13px; color: var(--ink-2); }

.freenote {
  position: relative;
  background: var(--orange-050); border: 1.5px solid #FBD3B9; border-radius: var(--r-lg);
  padding: 20px 24px 20px 62px; margin: 4px 0 26px;
}
.freenote::before {
  content: ""; position: absolute; left: 22px; top: 22px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center/15px no-repeat;
}
.freenote__title { font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.freenote p:last-child { font-size: 14.5px; color: var(--ink-2); margin: 0; }

.mock { margin: 0; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh); overflow: hidden; }
.mock--report { padding: 26px 26px 22px; border: 1px solid var(--line); }
.mock__cap {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.mock__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock__logo { font-weight: 800; color: var(--blue); font-size: 17px; }
.mock__logo span { color: var(--orange); }
.mock__badge { font-size: 12px; font-weight: 700; background: var(--sky-100); color: var(--blue-700); padding: 5px 12px; border-radius: 999px; }
.mock__name { font-weight: 800; font-size: 18px; margin-bottom: 14px; }

.bars { display: grid; gap: 11px; margin-bottom: 16px; }
.bar { display: grid; grid-template-columns: 92px 1fr 42px; align-items: center; gap: 10px; font-size: 13.5px; }
.bar__label { font-weight: 700; }
.bar__track { height: 10px; border-radius: 999px; background: var(--sky-100); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sky), var(--blue)); transition: width 1.1s cubic-bezier(.22,.8,.3,1); }
.bar__fill--2 { background: linear-gradient(90deg, #FF9F6B, var(--orange)); }
.bar__fill--3 { background: linear-gradient(90deg, #7FC7F5, #3AAEF0); }
.bar__val { text-align: right; font-weight: 800; color: var(--ink-2); }
.mock--report.is-inview .bar__fill { width: var(--val); }

.mock__reco { background: var(--sky-050); border-radius: var(--r); padding: 15px 16px; margin-bottom: 14px; }
.mock__reco-title { font-size: 12px; font-family: var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.mock__reco p { font-size: 14px; color: var(--ink-2); margin: 0; }
.mock__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 13px; font-size: 14px; color: var(--ink-2); }
.mock__foot strong { color: var(--blue); }

.mock--cert { padding: 10px; background: linear-gradient(140deg, var(--sky), var(--blue)); }
.cert { background: #fff; border-radius: 22px; padding: 26px 24px; text-align: center; position: relative; }
.cert__kicker { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 8px; }
.cert__name { font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 6px; letter-spacing: -.02em; }
.cert__desc { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.cert__seal {
  position: absolute; right: 20px; bottom: 18px;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--orange); color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: .04em;
}

/* --------------------------- 17. GWARANCJA ---------------------------- */
.guarantee {
  background: linear-gradient(135deg, var(--orange-050), #FFE9DA);
  border: 2px solid #FBD3B9; border-radius: var(--r-xl);
  padding: clamp(30px, 4.5vw, 52px); text-align: center;
}
.guarantee .h2 { max-width: 24ch; margin-inline: auto; color: var(--ink); }
.guarantee p { max-width: 74ch; margin: 0 auto 24px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 17.5px); }

/* ----------------------------- 18. OPINIE ----------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; align-items: stretch; }
.quote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px 28px 26px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: #FFB020; margin-bottom: 14px; }
.quote p { font-size: 16px; color: var(--ink); margin-bottom: 18px; }
.quote footer { margin-top: auto; font-size: 14px; color: var(--ink-2); }
.quotes__note { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

/* ------------------------------- 19. FAQ ------------------------------ */
.faq { margin-top: 30px; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq__item[open] { border-color: #BEDCF6; box-shadow: var(--sh-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: var(--blue);
  clip-path: polygon(43% 0, 57% 0, 57% 43%, 100% 43%, 100% 57%, 57% 57%, 57% 100%, 43% 100%, 43% 57%, 0 57%, 0 43%, 43% 43%);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 24px 22px; }
.faq__body p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ----------------------------- 20. STOPKA ----------------------------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding: 46px 0 34px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.logo--footer { height: 54px; width: auto; filter: brightness(0) invert(1); }
.footer__desc { font-size: 14.5px; margin: 12px 0 0; max-width: 46ch; }
.footer__nav { display: grid; gap: 9px; align-content: start; }
.footer__nav a { color: rgba(255,255,255,.82); font-size: 14.5px; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; margin: 12px 0 0; font-size: 13px; }

/* --------------------------- 21. STICKY CTA --------------------------- */
.stickycta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: none; align-items: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 11px 14px;
  box-shadow: 0 12px 34px rgba(10,58,107,.24);
  transform: translateY(140%); transition: transform .26s ease;
}
.stickycta.is-visible { transform: translateY(0); }
.stickycta__txt { display: grid; line-height: 1.25; }
.stickycta__txt strong { font-size: 14px; }
.stickycta__txt span { font-size: 12.5px; color: var(--orange-600); font-weight: 700; }
.stickycta .btn { margin-left: auto; padding: 12px 20px; font-size: 15px; }

/* ---------------------------- 22. ANIMACJE ---------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bar__fill { transition: none; }
  .btn:hover { transform: none; }
}

/* --------------------------- 23. RESPONSIVE --------------------------- */
@media (max-width: 1080px) {
  .topnav { gap: 18px; }
  .topnav a { font-size: 15px; }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
}

@media (max-width: 940px) {
  .topnav, .topbar__cta { display: none; }
  .burger { display: block; }
  .mobilemenu:not([hidden]) { display: grid; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
  .formcard { order: 2; }

  .insight { grid-template-columns: 1fr; }
  .insight .btn { white-space: normal; }
  .problem { grid-template-columns: 1fr; }

  .cards3, .quotes, .profiles { grid-template-columns: 1fr; }
  .split, .split--reverse .split__copy, .split--reverse .split__visual { grid-template-columns: 1fr; order: 0; }
  .split { grid-template-columns: 1fr; }
  .photo--tall img { min-height: 260px; }

  .gainbox { grid-template-columns: 1fr; }
  .gainbox__img { order: -1; }
  .gainbox__img img { min-height: 200px; }
  .footer__inner { grid-template-columns: 1fr; }
  .stickycta { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .checklist--2col { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .quizfacts { grid-template-columns: repeat(3, 1fr); }
  .strip { border-radius: 20px; padding: 16px 20px; font-size: 15px; }
  .btn { width: 100%; }
  .tagline { font-size: 12.5px; padding: 7px 14px 7px 11px; }
  .topbar__inner { min-height: 66px; }
  .logo img { height: 40px; }
}

/* --------------------------- 24. PODSTRONA PRAWNA --------------------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 90px); }
.legal__title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.legal .lead { margin-bottom: 26px; }

.legal__box {
  background: var(--sky-050); border: 1.5px solid #CFE6FA; border-radius: var(--r-lg);
  padding: 22px 26px; margin-bottom: 40px;
}
.legal__box p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.legal__box strong { color: var(--ink); }
.legal__box-last { margin-bottom: 0; }

.legal h2 {
  font-size: clamp(19px, 2.2vw, 23px); margin: 44px 0 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--line);
  color: var(--blue);
}
.legal h2 span { color: var(--ink); }

.legal ol { counter-reset: item; display: grid; gap: 12px; }
.legal ol li { counter-increment: item; position: relative; padding-left: 38px; font-size: 15.5px; color: var(--ink-2); }
.legal ol.lv1 > li::before {
  content: counter(item) "."; position: absolute; left: 0; top: 0;
  min-width: 26px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums;
}
.legal ol.lv2 { margin: 12px 0 4px; padding-left: 0; }
.legal ol.lv2 > li::before {
  content: counter(item) ")"; position: absolute; left: 0; top: 0;
  min-width: 26px; font-weight: 700; color: var(--orange-600); font-variant-numeric: tabular-nums;
}
.legal ol.lv3 { margin: 12px 0 4px; }
.legal ol.lv3 > li::before {
  content: counter(item, lower-alpha) ")"; position: absolute; left: 0; top: 0;
  min-width: 26px; font-weight: 700; color: var(--ink-3);
}

.legal__note {
  margin: 20px 0 0; padding: 16px 20px; border-radius: var(--r);
  background: var(--sky-050); border: 1px solid #CFE6FA;
  font-size: 14.5px; color: var(--ink-2);
}

.legal__back { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .legal ol li { padding-left: 30px; font-size: 15px; }
}

/* --------------------------- 24. ZGODA NA COOKIE ---------------------------
   Pasek na dole, nad sticky CTA. Oba przyciski wyglądają na równorzędne -
   zgoda wymuszona wizualnie nie jest zgodą. */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 10px 18px; box-shadow: 0 12px 34px rgba(10,58,107,.24);
}
.consent__txt { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.45; flex: 1 1 320px; }
.consent .btn { padding: 9px 18px; }

/* Baner jest przyklejony do dołu okna, więc zasłania ostatnie kilkadziesiąt
   pikseli widoku - a w hero wypada dokładnie na przycisk wysyłki formularza.
   Odsunięcie treści sprawia, że da się dojechać do samego końca strony,
   a niższy pasek zabiera mniej miejsca do czasu kliknięcia zgody. */
body.consent-open { padding-bottom: 76px; }
.consent__txt a { color: var(--blue); text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; margin-left: auto; }
.consent__btns .btn { white-space: nowrap; }

/* Odmowa: ta sama waga i rozmiar, inny kolor. Gdyby oba przyciski były
   pomarańczowe, rodzic klikałby na oślep; gdyby odmowa była szarym linkiem,
   zgoda przestałaby być dobrowolna. */
.btn--quiet {
  background: #fff; color: var(--ink-2); border: 1px solid var(--line);
  box-shadow: none;
}
.btn--quiet:hover {
  background: var(--bg-soft); color: var(--ink);
  box-shadow: none; transform: translateY(-2px);
}

/* Dopóki wisi baner, sticky CTA odsuwa się w górę - inaczej siedzą na sobie. */
body.consent-open .stickycta { bottom: 104px; }

@media (max-width: 720px) {
  .consent { padding: 12px 14px; gap: 10px; }
  .consent__txt { font-size: 12.5px; flex-basis: 100%; }
  .consent__btns { margin-left: 0; width: 100%; }
  .consent__btns .btn { flex: 1; }
  body.consent-open .stickycta { bottom: 148px; }
}

/* ------------------- 25. KROKI NA STRONIE POTWIERDZENIA -------------------
   Osobno od `.flow` ze strony głównej: tam cztery kroki stoją w rzędzie na
   pełnej szerokości sekcji, tutaj kontener jest wąski i 190 px na kolumnę
   łamałoby każdy opis na trzy linijki.

   Selektory z `.legal`, bo `.legal ol li` (numerowanie paragrafów w polityce
   i regulaminie) ma wyższą specyficzność niż samo `.nextsteps li` - bez tego
   kroki dostają cudzy padding, numer w ::before i wracają do list-item. */
.nextsteps,
.legal ol.nextsteps { display: grid; gap: 14px; margin-top: 20px; padding-left: 0; }

.nextsteps li,
.legal ol.nextsteps li {
  display: flex; align-items: center; gap: 14px;
  padding-left: 0; list-style: none;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.legal ol.nextsteps li::before { content: none; }

.nextsteps li span,
.legal ol.nextsteps li span {
  flex: none; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--sky-100); color: var(--blue);
  font-size: 14px; font-weight: 800;
}
@media (max-width: 560px) {
  .nextsteps li,
  .legal ol.nextsteps li { align-items: flex-start; font-size: 15px; }
}

/* ------------------------- 26. STRONA POTWIERDZENIA -------------------------
   Własny layout zamiast pożyczonego `.legal`. Tamten jest zbudowany pod
   paragrafy polityki prywatności: nadaje h2 niebieski kolor i kreskę pod
   spodem, a numerowanym listom - własne liczniki. Na stronie potwierdzenia
   wychodziła z tego przypadkowa linia pod "Co dalej" i rozjechane wyrównanie:
   nagłówek wyśrodkowany, reszta do lewej. */
.thx { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.thx__inner { max-width: 620px; }

.thx__head { text-align: center; margin-bottom: 30px; }
.thx__icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky-100); color: var(--blue);
}
.thx__title { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 12px; color: var(--ink); }
/* Węższa miara niż domyślne 64ch - inaczej zdanie łamie się na dwie
   nierówne linie i wygląda jak przypadek. */
.thx__lead { font-size: 16.5px; color: var(--ink-2); max-width: 46ch; margin: 0 auto; }

.thx__box {
  background: var(--sky-050); border: 1.5px solid #CFE6FA; border-radius: var(--r-lg);
  padding: 20px 24px; margin-bottom: 36px;
}
.thx__box-title { font-weight: 800; color: var(--ink); margin: 0 0 8px; font-size: 15.5px; }
.thx__box p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.6; }

.thx__h2 { font-size: 21px; color: var(--ink); margin: 0 0 4px; }
.thx__note { font-size: 14.5px; color: var(--ink-3); margin: 20px 0 0; line-height: 1.6; }
.thx__back { margin: 34px 0 0; text-align: center; }

@media (max-width: 560px) {
  .thx__box { padding: 16px 18px; }
  .thx__lead { font-size: 15.5px; }
}
