/* Sales pages (src/shop/sales-page.njk) – loaded only there, on top of main.css. Classes start with sp-.
   No site header on these pages: the offer starts at the very top. */

/* Long page with a button closing most sections: tighter space between sections than the rest of the site */
:root { --section-y: clamp(36px, 4.5vw, 60px); }

/* two plain sections in a row: the site removes the top space; here keep half of it, so headings never touch the content above */
main .section:not(.section--cream, .section--ink, [hidden]) + .section:not(.section--cream, .section--ink) { padding-top: calc(var(--section-y) * .5); }

/* Shared bits */
.eyebrow::before { display: none; } /* no decorative dots before the small labels on sales pages */
.sp-mbr { display: none; } /* a line break only on phones */
@media (max-width: 640px) { .sp-mbr { display: inline; } }
.sp-big { color: var(--ink); font: 700 clamp(1.2rem, 2.1vw, 1.5rem)/1.4 var(--font-display); letter-spacing: -.01em; }
.sp-yellow { color: var(--yellow); }
.section--ink .sp-big { color: var(--white); }
.sp-list { gap: 16px; }
.sp-plain { margin: 0 0 1em; padding: 0; list-style: none; }
.sp-shot { width: 100%; max-width: 460px; border-radius: 16px; box-shadow: var(--shadow); }
.sp-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sp-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(24px, 3vw, 36px); text-align: center; }
.sp-cta__big { min-height: 60px; padding-inline: 1.6em; font-size: 1.08rem; }
.sp-cta__note { margin: 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.section--ink .sp-cta__note, .cta-band .sp-cta__note { color: var(--on-ink-muted); }

/* Hero */
.sp-hero { padding: clamp(16px, 2vw, 28px) 0 clamp(60px, 7vw, 96px); background: radial-gradient(ellipse at 85% 0%, var(--blush), transparent 55%), var(--cream); }
/* a slim Polish flag across the very top (white over red) – decoration only, not a link */
.sp-hero { position: relative; }
.sp-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: linear-gradient(#fff 0 50%, #dc143c 50% 100%); box-shadow: 0 1px 0 rgba(28, 21, 40, .06); pointer-events: none; }
.sp-hero > .container { padding-top: 10px; }
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.sp-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.sp-hero__media { position: sticky; top: 24px; }
.sp-hero__media .video { border-radius: var(--radius); box-shadow: var(--shadow); }
.sp-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; font-size: .95rem; }
.sp-hero__intro { margin-bottom: 16px; color: var(--ink); font: 700 clamp(1.1rem, 1.6vw, 1.25rem)/1.35 var(--font-display); }
.sp-foryou { counter-reset: fy; display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.sp-foryou li { counter-increment: fy; position: relative; padding-left: 44px; }
.sp-foryou li::before { content: counter(fy); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red-strong); color: var(--white); font: 800 .9rem/1 var(--font-display); }
.sp-hero__buy { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.sp-hero__btn { display: flex; flex-direction: column; align-items: center; }
.sp-hero__pay { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--ink-soft); font-size: .88rem; font-weight: 600; } /* quiet line right under the button */
.sp-hero__pay .icon { width: 16px; height: 16px; color: var(--red-strong); }
.sp-hero__btn .sp-cta__big { position: relative; z-index: 1; }
.sp-hero__buy .sp-currency summary { min-height: 60px; padding: 0 22px; font-size: 1.05rem; } /* same height as the buy button */
.sp-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; font-weight: 500; }
.sp-badges li { display: inline-flex; align-items: center; gap: 7px; }
.sp-badges .icon { width: 16px; height: 16px; }

/* Numbers – a dark band moving sideways, tilted over the bottom of the hero */
.sp-ribbon { margin-bottom: clamp(8px, 2vw, 20px); background: var(--ink); color: var(--yellow); box-shadow: 0 16px 30px -18px rgba(28, 21, 40, .8); }
.sp-ribbon .ribbon__item::after { color: var(--red); }

/* Currency menu */
.sp-currency { position: relative; display: inline-block; }
.sp-currency summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.sp-currency summary::-webkit-details-marker { display: none; }
.sp-currency summary .icon { width: 13px; height: 13px; transition: transform .2s ease; }
.sp-currency[open] summary .icon { transform: rotate(180deg); }
.sp-currency ul { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); min-width: 100%; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sp-currency a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sp-currency a:hover { background: var(--cream); }
.sp-currency a[aria-current] { background: var(--ink); color: var(--white); }

.sp-how { padding-top: clamp(28px, 3.5vw, 44px); }
/* How it works – a route going down: numbered map pins on a dotted line, the text next to each pin */
.sp-route { display: grid; gap: clamp(26px, 3.5vw, 40px); max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.sp-route__step { position: relative; min-height: 72px; padding: 6px 0 0 104px; }
.sp-route__step:not(:last-child)::after { content: ""; position: absolute; left: 35px; top: 86px; bottom: calc(-1 * clamp(26px, 3.5vw, 40px) + 6px); border-left: 3px dotted var(--ink); }
.sp-route__pin { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 72px; height: 72px; border: 3px solid var(--ink); border-radius: 50% 50% 50% 0; background: var(--white); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-45deg); }
.sp-route__pin > span { transform: rotate(45deg); color: var(--red-strong); font: 800 1.45rem/1 var(--font-display); }
.sp-route__step--goal .sp-route__pin { background: var(--red-strong); }
.sp-route__step--goal .sp-route__pin > span { color: var(--white); }
.sp-route h3 { margin-bottom: 8px; }
.sp-route p { margin: 0; }
.sp-route__goal { max-width: 720px; margin: clamp(32px, 4vw, 44px) auto 0; padding: clamp(22px, 3vw, 30px) clamp(22px, 3.5vw, 34px); border: 2px solid var(--ink); border-radius: 24px; background: var(--yellow-soft); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.sp-route__goal h3 { margin-bottom: 10px; color: var(--red-strong); }
.sp-route__goal ul { gap: 10px; margin: 0; }

/* The problem – a mood board of what you tried: pinned cards, each crossed out with a red pen */
.sp-tried { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); max-width: 980px; margin: 14px auto clamp(40px, 5vw, 56px); padding: 0; list-style: none; }
.sp-tried__card { position: relative; padding: 16px 16px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 18px 30px -18px rgba(28, 21, 40, .45); transform: rotate(-1.2deg); }
.sp-tried__card:nth-child(even) { transform: rotate(1.4deg); }
.sp-tried__card p { margin: 0 6px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.sp-tried__what { margin: 18px 6px 6px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.sp-tried__board { position: relative; display: grid; place-items: center; height: 190px; overflow: hidden; border-radius: 12px; background: var(--cream); }
/* apps: a home screen of blurred icons */
.sp-tried__board--apps { grid-template-columns: repeat(3, 64px); place-content: center; gap: 14px 18px; }
.sp-tried__board--apps img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 6px 12px -6px rgba(28, 21, 40, .4); }
.sp-tried__board--apps img:nth-child(odd) { transform: rotate(-4deg); }
.sp-tried__board--apps img:nth-child(3n) { transform: rotate(5deg) translateY(4px); }
/* videos: a fanned stack of blurred thumbnails, the top one with a progress bar */
.sp-tried__video { position: absolute; width: 62%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; box-shadow: 0 10px 18px -10px rgba(28, 21, 40, .5); }
.sp-tried__video img { width: 100%; height: 100%; object-fit: cover; }
.sp-tried__video:nth-child(1) { transform: translate(-28%, -14%) rotate(-7deg); }
.sp-tried__video:nth-child(2) { transform: translate(26%, -6%) rotate(5deg); }
.sp-tried__video:nth-child(3) { transform: translate(0, 18%) rotate(-1deg); }
.sp-tried__video:nth-child(3)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #e3342f 35%, rgba(255, 255, 255, .6) 35%); }
.sp-tried__video:nth-child(3)::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(28, 21, 40, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center / 22px no-repeat; }
/* books: a few coursebooks, fanned */
.sp-tried__board--books { grid-template-columns: repeat(3, auto); place-content: center; gap: 0; }
.sp-tried__board--books img { width: 92px; height: auto; border-radius: 3px 6px 6px 3px; box-shadow: 0 10px 18px -10px rgba(28, 21, 40, .5); }
.sp-tried__board--books img:nth-child(1) { transform: rotate(-9deg) translateX(14px); }
.sp-tried__board--books img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-6px); }
.sp-tried__board--books img:nth-child(3) { transform: rotate(8deg) translateX(-14px); }
/* another course: two blurred tutor-platform listings, overlapping like open browser windows */
.sp-tried__screen { width: 66%; aspect-ratio: 16 / 10; }
.sp-tried__board--tutors .sp-tried__screen:nth-child(1) { transform: translate(-16%, -10%) rotate(-5deg); }
.sp-tried__board--tutors .sp-tried__screen:nth-child(2) { transform: translate(16%, 10%) rotate(3deg); }

/* the red pen stroke follows the text, also when a name wraps onto two lines; it draws from left to right on scroll */
.sp-tried__what span { padding: 0 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C40 4 70 11 110 6 S170 3 198 7' fill='none' stroke='%23d62b28' stroke-width='4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat left 68% / 100% 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s ease .25s; }
.reveal.is-waiting .sp-tried__what span { background-size: 0% 12px; }

/* "…and technically" line, then the normal sentence right under it */
.sp-after { margin-bottom: 6px; }
.sp-after em { color: var(--red-strong); font-style: normal; }

/* …words you know – loose, tilted tiles like a word game */
.sp-words__title { margin: 6px 0 0; color: var(--ink); font-weight: 700; }
.sp-words { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 14px; max-width: 640px; margin: 24px auto 36px; padding: 0; list-style: none; }
.sp-words li { --r: -4deg; --y: 0px; padding: 11px 18px 10px; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 14px; background: var(--white); color: var(--ink); font: 700 1.12rem/1 var(--font-display); transform: translateY(var(--y)) rotate(var(--r)); transition: transform .2s ease; }
.sp-words li:hover { transform: translateY(-3px) rotate(0) scale(1.06); }
.sp-words li:nth-child(1) { --r: -7deg; --y: 6px; background: var(--yellow); border-color: #e0ad2c; }
.sp-words li:nth-child(2) { --r: 5deg; --y: -8px; }
.sp-words li:nth-child(3) { --r: -3deg; --y: 4px; background: var(--blush); border-color: #f2bcb2; }
.sp-words li:nth-child(4) { --r: 8deg; --y: -4px; background: var(--ink); border-color: #000; color: var(--yellow); }
.sp-words li:nth-child(5) { --r: -5deg; --y: 8px; }
.sp-words li:nth-child(6) { --r: 3deg; --y: -6px; background: var(--yellow-soft); border-color: #ecd697; }
.sp-words li:nth-child(7) { --r: -9deg; --y: 2px; background: var(--red-strong); border-color: var(--red-deep); color: var(--white); }

/* Does this sound like you – editorial rows: what you think right then (quote) next to the full text */
.sp-voice { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
.sp-voice__item { border-bottom: 1px solid var(--line); }
.sp-voice__item summary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 3.5vw, 36px) 0; cursor: pointer; list-style: none; }
.sp-voice__item summary::-webkit-details-marker { display: none; }
.sp-voice__photo { position: relative; display: block; }
.sp-voice__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.sp-voice__thought { position: relative; display: block; padding-top: 40px; color: var(--ink); font: italic 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--font-display); letter-spacing: -.01em; }
.sp-voice__thought::before { content: "\201C"; position: absolute; top: -14px; left: -4px; color: var(--red-strong); font: 800 4.5rem/1 var(--font-display); }
.sp-voice__thought small { display: block; margin-top: 6px; color: var(--ink-soft); font: italic 500 clamp(1rem, 1.6vw, 1.15rem)/1.4 var(--font-display); }
/* rows invite a tap: soft highlight on hover, a yellow arrow button */
.sp-voice__item summary { margin: 0 -18px; padding-inline: 18px; border-radius: 18px; transition: background .2s ease; }
.sp-voice__item summary:hover, .sp-voice__item[open] summary { background: var(--cream); }
.sp-voice__item .sp-plan__more-arrow { width: 40px; height: 40px; background: var(--yellow); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.sp-voice__head { display: flex; align-items: center; gap: 16px; }
.sp-voice__title { flex: 1; color: var(--ink); font: 700 1.2rem/1.3 var(--font-display); }
.sp-voice__item summary:hover .sp-plan__more-arrow { transform: translateY(2px); }
.sp-voice__item[open] .sp-plan__more-arrow, .sp-voice__item[open] summary:hover .sp-plan__more-arrow { transform: rotate(180deg); }
/* the full text opens under the headline (right column) */
.sp-voice__more { margin: -8px 0 0; padding: 0 0 clamp(24px, 3.5vw, 36px) calc((100% - clamp(24px, 5vw, 64px)) * 5 / 11 + clamp(24px, 5vw, 64px)); color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
@media (max-width: 760px) {
  .sp-voice__item summary { grid-template-columns: 1fr; gap: 12px; margin: 0 -12px; padding: 22px 12px 18px; }
  .sp-voice__thought { padding-top: 34px; font-size: 1.2rem; }
  .sp-voice__thought::before { font-size: 3.8rem; }
  .sp-voice__title { font-size: 1.05rem; }
  .sp-voice__more { margin: 0; padding: 0 0 22px; }
}

/* what you don't need (crossed out) → what you need */
.sp-need { max-width: 760px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; }
.sp-need__not { margin: 0;  color: var(--muted); font: 600 clamp(1.05rem, 1.8vw, 1.2rem)/1.4 var(--font-body); }
.sp-need__not s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.sp-need__yes::before { content: ""; display: block; width: 48px; height: 3px; margin: 22px auto; border-radius: 3px; background: var(--red-strong); }
.sp-need__yes { margin: 0; color: var(--ink); font: 700 clamp(1.35rem, 2.6vw, 1.9rem)/1.35 var(--font-display); letter-spacing: -.01em; }



/* Method – the thought we leave behind → the thought we want; then how it works */
.sp-method__intro { margin-bottom: 18px; color: var(--muted); font-weight: 600; }
.sp-thoughts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 22px; margin: 0 auto clamp(36px, 5vw, 52px); }
.sp-thought { position: relative; display: flex; align-items: center; gap: 12px; max-width: 400px; margin: 0; padding: 18px 26px; border-radius: 30px; font: 700 clamp(1.05rem, 1.8vw, 1.25rem)/1.3 var(--font-display); }
.sp-thought::before, .sp-thought::after { content: ""; position: absolute; border-radius: 50%; background: inherit; border: inherit; }
.sp-thought::before { width: 16px; height: 16px; left: 26px; bottom: -14px; }
.sp-thought::after { width: 9px; height: 9px; left: 16px; bottom: -26px; }
.sp-thought__face { font-size: 1.8rem; line-height: 1; }
.sp-thought--no { background: var(--white); border: 2px dashed #d9cbb8; color: var(--muted); }
.sp-thought--no s { text-decoration-color: var(--red); text-decoration-thickness: 2.5px; }
.sp-thought--yes { background: var(--yellow); border: 2px solid var(--ink); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-1.5deg); }
.sp-thought--yes::before, .sp-thought--yes::after { box-shadow: 3px 3px 0 var(--ink); }
.sp-thoughts__arrow { color: var(--red-strong); }
.sp-thoughts__arrow .icon { width: 30px; height: 30px; }
.sp-method__lead { max-width: 720px; margin: 0 auto 28px; color: var(--ink); }
.sp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); max-width: 1080px; margin: 0 auto 30px; }
.sp-pillar { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sp-pillar__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 16px; background: var(--blush); color: var(--red-strong); }
.sp-pillar__icon .icon { width: 22px; height: 22px; }
.sp-pillar:nth-child(2) .sp-pillar__icon { background: var(--yellow); color: var(--ink); }
.sp-pillar:nth-child(3) .sp-pillar__icon { background: var(--ink); color: var(--yellow); }
.sp-pillar p { margin: 0; }
.sp-pillar strong { display: block; margin-bottom: 4px; font: 700 1.15rem/1.3 var(--font-display); }
.sp-practice { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; margin: 0 auto 26px; padding: 0; list-style: none; }
.sp-practice li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 1.1rem/1 var(--font-display); }
.sp-practice li:not(:last-child)::after { content: "→"; color: var(--red-strong); }
.sp-practice li:last-child { padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--yellow); }
.sp-method__proof { margin-top: 26px; max-width: 340px; transform: rotate(2deg); }

/* Real reason */
.sp-skill { margin: 28px 0 12px; padding-left: 16px; border-left: 4px solid var(--yellow); color: var(--yellow); font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--font-display); letter-spacing: -.01em; }
.sp-stack { display: grid; gap: 20px; }
.sp-stack .sp-photo { max-width: 420px; justify-self: center; }

/* The goal – moments: the photo is the scene, the words are the feeling */
.sp-goal-section { background: var(--ink); color: var(--on-ink-muted); }
.sp-goal-section h2 { color: var(--white); }
.sp-goal-section h2 em { color: #ff6461; font-style: normal; }
.sp-goal-section .eyebrow { color: var(--yellow); }
.sp-goal-section .sp-big { color: var(--white); }
.sp-goal-section .sp-cta__note { color: var(--on-ink-muted); }
.sp-goal__lead { margin: 0; font: 600 1.1rem/1.6 var(--font-body); }
.sp-goal__lead s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.sp-goal__lead strong { color: var(--white); font: 800 clamp(1.4rem, 2.4vw, 1.8rem)/1.5 var(--font-display); }
.sp-moments { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6vw, 18px); }
.sp-moment { position: relative; flex: 0 0 calc((100% - 3 * clamp(12px, 1.6vw, 18px)) / 4); overflow: hidden; aspect-ratio: 3 / 4; border-radius: 22px; background: var(--ink-2); }
.sp-moment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.sp-moment:hover img { transform: scale(1.08); }
.sp-moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(28, 21, 40, .55) 58%, rgba(28, 21, 40, .95)); }
.sp-moment figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 18px; }
.sp-moment strong { color: var(--white); font: 800 1.15rem/1.25 var(--font-display); }
.sp-moment span { color: rgba(255, 255, 255, .82); font-size: .88rem; line-height: 1.45; }

/* Student videos – three portraits side by side, also on phones */
.sp-videos { max-width: 820px; margin-inline: auto; gap: clamp(10px, 2vw, 22px); }
.sp-tvideo { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 760px) {
  .sp-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Everything is ready */
.sp-routine { counter-reset: r; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sp-routine li { counter-increment: r; display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 700; font-size: 1.08rem; }
.sp-routine li::before { content: counter(r); display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--yellow); font: 800 1rem/1 var(--font-display); }
.sp-routine--small li { font-size: .95rem; font-weight: 600; }
.sp-routine--small li::before { width: 28px; height: 28px; border-radius: 9px; font-size: .85rem; }
/* Weronika (cut out) next to the routine; her line in a speech bubble pointing at her */
.sp-ready { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 64px); max-width: 980px; margin: 0 auto; }
.sp-ready__me { width: 100%; max-width: 380px; margin: 0 auto; }
.sp-ready__bubble { position: relative; max-width: 380px; margin: 0 0 28px; padding: 16px 20px; border: 2px solid var(--ink); border-radius: 22px 22px 22px 6px; background: var(--white); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); font: 700 1.1rem/1.4 var(--font-display); }
.sp-ready__bubble::after { content: ""; position: absolute; left: -12px; bottom: 16px; width: 20px; height: 20px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white); transform: rotate(45deg); }
/* the routine: numbered circles on a dashed line, ending in "repeat tomorrow" */
.sp-loop { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 8px; list-style: none; }
.sp-loop::before { content: ""; position: absolute; top: 26px; bottom: 34px; left: 25px; border-left: 2px dashed #d9cbb8; }
.sp-loop li { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.sp-loop li span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); color: var(--red-strong); font: 800 1.2rem/1 var(--font-display); box-shadow: 3px 3px 0 var(--ink); }
.sp-loop .sp-loop__repeat { color: var(--red-strong); }
.sp-loop .sp-loop__repeat span { background: var(--red-strong); border-color: var(--red-strong); color: var(--white); font-size: 1.5rem; box-shadow: none; }
@media (max-width: 760px) {
  .sp-ready { grid-template-columns: 1fr; gap: 36px; }
  .sp-ready__me { max-width: 280px; }
  .sp-ready__bubble { margin-bottom: 20px; padding: 12px 14px; font-size: .95rem; }
  .sp-ready__bubble { border-radius: 6px 22px 22px 22px; }
  .sp-ready__bubble::after { top: -12px; bottom: auto; left: 40px; border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); border-bottom: 0; } /* points up at the photo */
  .sp-loop li { grid-template-columns: 44px 1fr; gap: 14px; font-size: .98rem; }
  .sp-loop li span { width: 44px; height: 44px; font-size: 1.05rem; }
  .sp-loop::before { left: 21px; top: 22px; bottom: 30px; }
}
.sp-inside h3 { margin-bottom: 18px; }
.sp-vipnote { flex-direction: column; margin-top: 24px; }
.sp-shots { display: flex; flex-wrap: wrap; gap: 14px; }
.sp-shots .sp-shot { flex: 1 1 220px; max-width: 360px; }

/* Pricing */
.sp-pricing { background: linear-gradient(var(--paper), var(--cream)); }
/* the course cover with a green "starts from zero" stamp over its corner */
.sp-plans-intro { position: relative; max-width: 620px; margin: 0 auto clamp(40px, 5vw, 56px); }
.sp-plans-intro img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.sp-stamp { position: absolute; right: -24px; bottom: -26px; display: grid; gap: 2px; margin: 0; padding: 12px 18px; border: 2px dashed rgba(255, 255, 255, .7); outline: 4px solid var(--green); border-radius: 10px; background: var(--green); color: var(--white); font-size: .82rem; font-weight: 700; transform: rotate(-5deg); box-shadow: 0 10px 20px -10px rgba(28, 21, 40, .6); }
.sp-stamp strong { color: var(--white); font: 800 1.05rem/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.sp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); max-width: 920px; margin: 0 auto; align-items: start; }
.sp-plan { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sp-plan--best { border: 2px solid var(--ink); box-shadow: var(--shadow-pop); }
.sp-plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); color: var(--ink); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.sp-plan h3 { margin-bottom: 2px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.sp-plan__tag { margin-bottom: 14px; color: var(--red-strong); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.sp-plan__price { margin-bottom: 4px; }
.sp-plan__price small { color: var(--muted); font-size: .9rem; font-weight: 600; }
.sp-price__now { color: var(--ink); font: 800 clamp(2.4rem, 4vw, 3rem)/1 var(--font-display); letter-spacing: -.03em; }
.sp-price__old { margin-right: 4px; color: var(--muted); font: 700 1.4rem/1 var(--font-display); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.sp-plan__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.sp-plan__split { margin: 0; color: var(--ink); font-weight: 700; }
.sp-plan__row .sp-currency { margin-left: auto; }
.sp-plan__row .sp-currency summary { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.sp-plan__row .sp-currency ul { left: auto; right: 0; }
/* "What's included": a clear tappable box that invites a tap */
.sp-plan__more { margin: 6px 0 20px; border-radius: 16px; background: var(--yellow-soft); border: 2px solid var(--yellow); transition: background .2s ease; }
.sp-plan__more summary { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; cursor: pointer; list-style: none; }
.sp-plan__more summary::-webkit-details-marker { display: none; }
.sp-plan__more-text { display: grid; flex: 1; line-height: 1.25; }
.sp-plan__more-text strong { color: var(--ink); font-size: 1rem; }
.sp-plan__more-arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); color: var(--ink); transition: transform .25s ease; }
.sp-plan__more-arrow .icon { width: 14px; height: 14px; }
.sp-plan__more summary:hover .sp-plan__more-arrow { transform: translateY(2px); }
.sp-plan__more[open] .sp-plan__more-arrow, .sp-plan__more[open] summary:hover .sp-plan__more-arrow { transform: rotate(180deg); } /* points up when open */
.sp-plan__more ul { margin: 0; padding: 4px 16px 16px; font-size: .95rem; }
/* a side note inside the plan card (e.g. how the VIP feedback works) */
.sp-plan__aside { margin: 6px 0 22px; padding: 16px 18px; border-radius: 16px; background: var(--cream); border: 1px dashed #e4d4bd; }
.sp-plan__how { margin: 0 0 12px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp-plan .sp-routine { margin: 0; }
.sp-plan .btn { margin-top: auto; min-height: 56px; }
.sp-plan__note { margin: 12px 0 0; color: var(--muted); font-size: .84rem; text-align: center; }

/* Bonuses – a slider (reuses the reviews carousel) */
/* dark section so it stands out right after the (light) plans */
.sp-bonuses-slider { position: relative; overflow: hidden; }
.sp-bonuses-slider::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .28), rgba(255, 200, 61, 0) 70%); pointer-events: none; }
.sp-bonuses-slider h2 { color: var(--white); }
.sp-bonuses-slider h2 em { color: var(--red); font-style: normal; }
.sp-bonuses-slider__closing { color: var(--white); }

/* the cards are white: dark text inside (the dark section would make it white) */
.sp-bonuses-slider .sp-bonus h3 { color: var(--ink); }
.sp-bonuses-slider .sp-bonus p:last-child { color: var(--ink-soft); }
.sp-bonuses-slider__lead { max-width: 640px; margin: 0; color: var(--on-ink-muted); }
.sp-bonus { position: relative; border-color: transparent; }
/* a carousel without arrows: about 3½ cards show, so the next one peeks in; swipe, or drag the thin bar below */
.sp-bonuses-slider .reviews__track { grid-auto-columns: calc((100% - 3 * 24px) / 3.4); padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--yellow) rgba(255, 255, 255, .15); }
.sp-bonuses-slider .reviews__track::-webkit-scrollbar { display: block; height: 6px; }
.sp-bonuses-slider .reviews__track::-webkit-scrollbar-track { border-radius: 6px; background: rgba(255, 255, 255, .15); }
.sp-bonuses-slider .reviews__track::-webkit-scrollbar-thumb { border-radius: 6px; background: var(--yellow); }
@media (max-width: 960px) { .sp-bonuses-slider .reviews__track { grid-auto-columns: calc((100% - 24px) / 2.2); } }
@media (max-width: 640px) { .sp-bonuses-slider .reviews__track { grid-auto-columns: 82%; } }
.sp-bonus__free { position: absolute; top: 14px; right: 14px; padding: 5px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(4deg); }
.sp-bonus { gap: 8px; }
.sp-bonus img { width: 100%; height: 150px; object-fit: contain; margin-bottom: 8px; }
.sp-bonus__label { margin: 0 0 -4px; color: var(--red-strong); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp-bonus h3 { margin: 0; font-size: 1.2rem; }
.sp-bonus p:last-child { margin: 0; font-size: .93rem; line-height: 1.55; }

/* Level test banner */
.sp-test { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); max-width: 1000px; margin: 0 auto; padding: clamp(22px, 3.5vw, 36px); border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--red-strong); box-shadow: 6px 6px 0 var(--ink); color: #ffe9e6; }
.sp-test__img { position: relative; display: block; height: 290px; }
.sp-test__img img { position: absolute; left: 50%; top: 50%; width: 62%; border-radius: 12px; background: var(--white); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); transition: transform .3s ease; }
.sp-test__img img:nth-child(1) { transform: translate(-82%, -58%) rotate(-6deg); }
.sp-test__img img:nth-child(2) { transform: translate(-18%, -46%) rotate(5deg); }
.sp-test__img img:nth-child(3) { transform: translate(-50%, -40%) rotate(-1deg); }
.sp-test__img:hover img:nth-child(1) { transform: translate(-86%, -60%) rotate(-8deg); }
.sp-test__img:hover img:nth-child(2) { transform: translate(-14%, -48%) rotate(7deg); }
@media (max-width: 760px) { .sp-test__img { height: 230px; } .sp-test__img img { width: 60%; } }
.sp-test h2 { margin-bottom: 8px; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sp-test p { margin: 0 0 18px; font-size: 1.05rem; }
.sp-test .sp-test__more { margin: 16px 0 0; font-size: .95rem; }
.sp-test__more a { color: var(--white); font-weight: 800; }
@media (max-width: 760px) { .sp-test { grid-template-columns: 1fr; text-align: center; } }

/* Roadmap */
/* the roadmap reuses the B1 exam page route (.journey in main.css) */
.sp-route-map .journey__marker { font-size: 1.15rem; }
.sp-route-map .journey__marker .icon.flag { width: 30px; height: 19px; }
@media (min-width: 761px) {
  .sp-route-map .journey__card { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .sp-route-map .journey__card--text { grid-template-columns: minmax(0, 1fr); }
}
.sp-route-map__imgs { display: grid; gap: 12px; }
.sp-route-map__imgs img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-sm); }
.sp-route-map .journey__step--finish h3 { margin-bottom: 6px; }
.sp-level__label { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sp-level__sub { margin-top: -6px; color: var(--muted); font-weight: 600; }
.sp-level__imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.sp-level__imgs img { width: 100%; border-radius: 12px; }
/* the level description hides behind "Read more" (the curriculum box stays visible) */
.sp-level__read { margin: 0 0 14px; }
.sp-level__read summary { display: inline-flex; align-items: center; gap: 6px; color: var(--red-strong); font-weight: 700; cursor: pointer; list-style: none; }
.sp-level__read summary::-webkit-details-marker { display: none; }
.sp-level__read summary .icon { width: 13px; height: 13px; transition: transform .2s ease; }
.sp-level__read[open] summary { margin-bottom: 12px; }
.sp-level__read[open] summary .icon { transform: rotate(180deg); }
.sp-level__note { color: var(--muted); font-size: .88rem; }
.sp-level__curriculum { margin: 6px 0 0; }
.sp-level__curriculum[open] { padding: 0 16px 14px; }
.sp-level__curriculum[open] summary { margin: 0 -16px; }
.sp-level__part { margin: 14px 0 6px; color: var(--ink); font-weight: 800; }
.sp-level__curriculum ol { margin: 0; padding-left: 1.4em; font-size: .9rem; line-height: 1.5; }
.sp-level__curriculum li { margin: 6px 0; }

/* Polish is impossible */
.sp-admit { color: #ff6461; font-weight: 700; font-size: 1.1rem; } /* the problem in red… */
.section--ink .sp-but { color: #3ddc84; }
.sp-myjob { display: inline-block; margin: 0; padding: 10px 22px; border-radius: 14px; background: var(--yellow); color: var(--ink); font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--font-display); transform: rotate(-2deg); } /* …the answer in green (bright enough for the dark background) */
.sp-letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 26px; }
.sp-letters span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--white); color: var(--ink); font: 800 1.6rem/1 var(--font-display); transform: rotate(-4deg); }
.sp-letters span:nth-child(even) { background: var(--yellow); transform: rotate(5deg); }
.sp-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 600px; margin: 0 auto 28px; padding: 0; list-style: none; text-align: left; }
.sp-rules li { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--ink-2); color: var(--white); font-weight: 700; }
.sp-rules span { color: var(--yellow); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* Student messages */
.sp-wall { columns: 3 260px; column-gap: 18px; }
.sp-wall img { width: 100%; margin-bottom: 18px; break-inside: avoid; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* Guarantee */
.sp-guarantee { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: #e9f6ee; border: 2px solid var(--green); }
.sp-guarantee__seal { font-size: 2.6rem; line-height: 1; }
.sp-guarantee h2 { margin-bottom: 8px; }

/* Objections */
.sp-objection + .sp-objection { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.sp-objection h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* Still thinking */
.sp-question__kicker { margin: 0 0 34px; color: var(--red-strong); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp-question { position: relative; margin: 0 auto 32px; padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 44px); border: 3px solid var(--ink); border-radius: var(--radius-lg); background: var(--white); box-shadow: 8px 8px 0 var(--red-strong); font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.12; }
.sp-question em { color: var(--red-strong); font-style: normal; }
.sp-question::before { content: "?"; position: absolute; top: -30px; right: -18px; display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 2.2rem/1 var(--font-display); transform: rotate(10deg); }
.sp-loops li { margin: 6px 0; color: var(--ink); font-weight: 600; }

/* Layout on smaller screens */
@media (max-width: 1080px) {
  .sp-moment { flex-basis: calc((100% - 2 * clamp(12px, 1.6vw, 18px)) / 3); }
}
@media (max-width: 960px) {
  .sp-hero__grid { grid-template-columns: 1fr; }
  /* phones/tablets: headline first, then the video, then the rest of the text */
  .sp-hero__text { display: contents; }
  .sp-hero__grid { gap: 0; }
  .sp-hero__media { position: static; order: 3; margin: 6px 0 26px; }
  .sp-hero h1 { order: 1; }
  .sp-proof { order: 2; }
  .sp-hero__intro { order: 4; }
  .sp-foryou { order: 5; }
  .sp-hero__buy { order: 6; }
  .sp-badges { order: 7; }
  .sp-pillars { grid-template-columns: 1fr; }
  .sp-plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .sp-hero__buy { flex-direction: column; align-items: stretch; gap: 10px; }
  /* phones: still two cards per row, everything smaller, so the board stays short */
  .sp-tried { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sp-tried__card { padding: 8px 8px 12px; border-radius: 14px; }
  .sp-tried__board { height: 104px; border-radius: 9px; }
  .sp-tried__board--apps { grid-template-columns: repeat(3, 30px); gap: 7px 8px; }
  .sp-tried__board--apps img { width: 30px; height: 30px; border-radius: 8px; }
  .sp-tried__board--books img { width: 46px; }
  .sp-tried__board--books img:nth-child(1) { transform: rotate(-9deg) translateX(8px); }
  .sp-tried__board--books img:nth-child(3) { transform: rotate(8deg) translateX(-8px); }
  .sp-tried__video, .sp-tried__screen { border-radius: 6px; }
  .sp-tried__video:nth-child(3)::before { width: 24px; height: 24px; margin: -12px 0 0 -12px; background-size: 14px; }
  .sp-tried__what { margin: 10px 2px 4px; font-size: 1.05rem; }
  .sp-tried__card p { margin: 0 2px; font-size: .78rem; line-height: 1.45; }
  .sp-hero__buy .sp-currency { align-self: center; }
  .sp-hero__btn { align-items: stretch; }
  .sp-hero__pay { align-self: center; }
  .sp-hero__buy .sp-currency summary { min-height: 40px; padding: 0 14px; font-size: .9rem; border-width: 1.5px; }
  .sp-hero__buy .sp-currency ul { left: 50%; transform: translateX(-50%); }
  .sp-hero__buy .btn { width: 100%; min-height: 56px; padding-inline: .9em; font-size: 1rem; white-space: nowrap; }
  .sp-badges { justify-content: center; }
  .sp-route__step { min-height: 58px; padding: 2px 0 0 78px; }
  .sp-route__pin { width: 58px; height: 58px; }
  .sp-route__pin > span { font-size: 1.2rem; }
  .sp-route__step:not(:last-child)::after { left: 28px; top: 72px; }
  .sp-words li { font-size: 1rem; padding: 10px 15px 9px; }
  .sp-thoughts__arrow { transform: rotate(90deg); }
  /* moments: all visible at once, two per row (the last one centred) */
  .sp-moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sp-moment { aspect-ratio: 3 / 4; border-radius: 16px; }
  .sp-moment:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .sp-moment figcaption { gap: 3px; padding: 10px; }
  .sp-moment strong { font-size: .86rem; }
  .sp-moment span { font-size: .72rem; line-height: 1.35; }
  .sp-plans-intro { margin-bottom: 64px; } /* room for the stamp hanging below the picture */
  .sp-stamp { right: -6px; bottom: -22px; padding: 9px 13px; font-size: .74rem; }
  .sp-stamp strong { font-size: .9rem; }
  .sp-rules { grid-template-columns: 1fr; }
  .sp-guarantee { flex-direction: column; }
}
@media (max-width: 640px) { .sp-question::before { top: -24px; right: -6px; width: 50px; height: 50px; font-size: 1.7rem; } }
/* phones: every big buy button on one line, full width, like the one at the top */
@media (max-width: 640px) {
  .sp-cta__big { width: 100%; min-height: 56px; padding-inline: .8em; font-size: 1rem; white-space: nowrap; }
  .cta-band { padding-inline: 16px; }
}
@media (max-width: 380px) {
  .sp-hero__buy .btn, .sp-cta__big { font-size: .86rem; }
  .cta-band { padding-inline: 12px; }
}
