/* Spanish website mock (30 Nov 2026), TestPermiso: copied from the Polish site (website/pl); main colour = the Spanish app's placeholder orange (brands/es.json).
   Website mock W1 (24 Nov 2026): Prawkolog homepage, first screen.
   Same tokens as the app (platform/src/app/globals.css) and the J2 flow (journey-pl/css): Lexend, blue #2E9BFF with a
   darker bottom edge, ink #1F2A3A headings, logo navy #0A1838 and coral #FE512B used sparingly. Light only, like J2. */
:root {
  --blue: #2E9BFF; --blue-d: #1B7FE3; --blue-soft: #E7F2FC; --ink: #1F2A3A; --text: #5B6573; --muted: #8A9099;
  --line: #E6EAF0; --bg: #FFFFFF; --soft: #F4F7FB; --navy: #0A1838; --coral: #FE512B; --coral-soft: #FFEDE7;
  --good: #1FA35A; --good-soft: #E3F6EA; --amber: #F2B01E;
  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px; --gut: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
section[id], form[id] { scroll-margin-top: 84px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, p, ul { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: 500; font-style: normal; font-size: 22px; line-height: 1; display: inline-block;
  white-space: nowrap; font-feature-settings: 'liga'; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  width: 1em; height: 1em; overflow: hidden; flex: none; user-select: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }

/* ---------- buttons (the app's style: solid blue with a darker bottom edge) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 16px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 4px 0 var(--blue-d); transition: transform .08s, box-shadow .08s; white-space: nowrap; }
.btn:hover { background: #2592F8; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-d); }
.btn.big { height: 58px; padding: 0 28px; font-size: 18px; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 14px; box-shadow: 0 3px 0 var(--blue-d); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 4px 0 #E1E6EE; }
.btn.ghost:hover { background: var(--soft); }
.btn .ms { font-size: 20px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.hdr-in { height: 76px; display: flex; align-items: center; gap: 28px; }
.logo img { height: 30px; display: block; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .dd > button { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav > a:hover, .dd > button:hover, .dd.open > button { background: var(--soft); }
.dd { position: relative; }
.dd > button .ms { font-size: 20px; color: var(--muted); transition: transform .15s; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -8px; width: 330px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(20, 40, 80, .12); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 12px; }
.dd-menu a:hover { background: var(--soft); }
.dd-menu b { display: block; font-weight: 600; font-size: 15px; }
.dd-menu small { display: block; font-size: 13px; color: var(--text); margin-top: 1px; }
.dd:hover .dd-menu, .dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover > button .ms, .dd.open > button .ms { transform: rotate(180deg); }
.nav-mobile-extra { display: none; }
.hdr-right { display: flex; align-items: center; gap: 14px; }
/* language picker (29 Nov 2026): the flag of the language in use; click it for the list */
.lang { position: relative; display: inline-flex; }
.lang-cur { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 6px 0 8px; border-radius: 10px; background: var(--soft); color: var(--muted); }
.lang-cur:hover, .lang.open .lang-cur { background: #E9EEF5; }
.lang-cur .ms { font-size: 18px; transition: transform .15s; }
.lang.open .lang-cur .ms { transform: rotate(180deg); }
.flag { display: inline-block; width: 22px; height: 15px; flex: none; border-radius: 3px; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(20, 40, 80, .14); }
.flag[data-flag="es"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Crect width='16' height='10' fill='%23AA151B'/%3E%3Crect y='2.5' width='16' height='5' fill='%23F1BF00'/%3E%3C/svg%3E"); }
.flag[data-flag="pl"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Crect width='16' height='5' fill='%23fff'/%3E%3Crect y='5' width='16' height='5' fill='%23DC143C'/%3E%3C/svg%3E"); }
.flag[data-flag="en"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 70; min-width: 160px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line, #E3E8EE); box-shadow: 0 12px 32px rgba(20, 40, 80, .14); display: none; }
.lang.open .lang-menu { display: block; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-align: left; }
.lang-menu button:hover { background: var(--soft); }
.lang-menu button.on { font-weight: 600; }
.lang-menu button.on::after { content: 'check'; font-family: 'Material Symbols Rounded'; margin-left: auto; color: var(--blue, #2E6BFF); font-size: 18px; }
.login { font-size: 15px; font-weight: 500; padding: 0 6px; white-space: nowrap; }
.login:hover { color: var(--blue-d); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; place-items: center; background: var(--soft); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.copy { display: flex; flex-direction: column; gap: 22px; max-width: 600px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--good-soft);
  color: #137A40; font-size: 14px; font-weight: 500; }
.pill .ms { font-size: 18px; color: var(--good); }
h1 { font-size: clamp(40px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 em { font-style: normal; color: var(--blue); }
.lead .flag, h1 .flag { display: inline-block; width: .62em; height: auto; vertical-align: .08em; border-radius: .09em; box-shadow: 0 0 0 1px #D9DFE7, 0 2px 6px rgba(20, 40, 80, .12); }
.facts .flag { width: 1.15em; height: auto; margin-left: -1px; border-radius: 2px; box-shadow: 0 0 0 1px #D9DFE7; flex: none; }
.lead .flag { width: 1.15em; vertical-align: -.05em; border-radius: 2px; box-shadow: 0 0 0 1px #D9DFE7; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 520px; text-wrap: pretty; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.note { font-size: 14px; color: var(--muted); margin-top: -6px; }
.facts { list-style: none; padding: 18px 0 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.facts .ms { font-size: 19px; color: var(--good); }
.rating { display: flex; align-items: center; gap: 8px; margin: -8px 0 0; font-size: 15px; color: var(--ink); }
.rating .stars { width: 100px; height: 20px; flex: none; }
.rating b { font-weight: 700; }
.facts .pill.guar { margin-top: 20px; font-size: 14px; color: #137A40; }

/* right side: learners with their new licences, the app, and two live cards */
.visual { position: relative; height: 560px; }
.tile { position: absolute; inset: 0 0 46px 0; border-radius: 36px; background: var(--blue-soft); overflow: hidden; }
.crew { position: absolute; left: 50%; bottom: -6px; width: 116%; max-width: none; transform: translateX(-50%); mix-blend-mode: multiply; }
.phone { position: absolute; left: 0; bottom: 0; width: 210px; height: 440px; border-radius: 34px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 7px #11151C, 0 30px 50px rgba(10, 20, 40, .28); }
.screen { position: absolute; inset: 0; overflow: hidden; }
/* the app's learning path drifts slowly up and back so visitors see more of it */
.scroller { width: 100%; display: block; animation: browse 22s ease-in-out 1.5s infinite alternate; }
@keyframes browse { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 440px)); } }
@media (prefers-reduced-motion: reduce) { .scroller { animation: none; } }
.card { position: absolute; background: #fff; border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 16px 36px rgba(20, 40, 80, .14); }
.card small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ready { top: 30px; right: -14px; width: 236px; padding: 16px 18px; }
.ready-row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.ready-row b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.ready .ok { font-size: 13px; font-weight: 600; color: #B97F00; background: #FFF4D6; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.meter { position: relative; height: 8px; border-radius: 4px; background: #EEF1F5; margin: 10px 0 10px; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.meter s { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); border-radius: 1px; }
.ready p { font-size: 13px; color: var(--text); line-height: 1.4; }
.tutor { right: -12px; bottom: 0; width: 272px; padding: 14px 16px; z-index: 2; display: flex; gap: 12px; align-items: flex-start; }
.tutor img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.tutor p { font-size: 14px; line-height: 1.42; color: var(--ink); margin-top: 2px; }

/* search: straight to a sign, a rule or an exam centre */
.sep { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sep i { width: min(160px, 30%); height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line)); }
.sep i:last-child { background: linear-gradient(90deg, var(--line), var(--line) 70%, transparent); }
.sep svg { flex: none; opacity: .9; }
.nav-home { font-size: 19px; margin-right: 6px; }
.find { margin-top: 44px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 10px 10px 18px; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; box-shadow: 0 6px 20px rgba(20, 40, 80, .05); }
.find > .ms { color: var(--muted); }
.find input { flex: 1 1 320px; min-width: 0; height: 44px; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--ink); background: none; }
.find input::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; }
.chips a:hover { background: var(--blue-soft); color: var(--blue-d); }

/* ---------- sections below the hero ---------- */
.sec { padding-block: 88px; }
.sec.tint { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 500px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--blue-d); }
h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.body { font-size: 17px; color: var(--text); line-height: 1.6; text-wrap: pretty; }
.body.small { font-size: 15px; }
.card-flat { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 34px rgba(20, 40, 80, .07); }

/* sample question */
.q { padding: 14px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.q-media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.q-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-pts { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 8px; background: rgba(10, 24, 56, .72); color: #fff; font-size: 12.5px; font-weight: 600; }
.q-text { font-size: 17px; font-weight: 600; line-height: 1.4; padding: 0 4px; text-wrap: pretty; }
.q-opts { display: flex; flex-direction: column; gap: 8px; }
.q-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; text-align: left; font-size: 15.5px; background: #fff; transition: border-color .15s, background .15s; }
.q-opt i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--text); flex: none; }
.q:not(.done) .q-opt:hover { border-color: var(--blue); background: #F7FBFF; }
.q-opt.right { border-color: var(--good); background: var(--good-soft); }
.q-opt.right i { background: var(--good); color: #fff; }
.q-opt.wrong { border-color: #E5484D; background: #FDECEC; }
.q-opt.wrong i { background: #E5484D; color: #fff; }
.q-why { display: none; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--blue-soft); }
.q.done .q-why { display: flex; }
.q-why img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.q-why p { font-size: 14.5px; line-height: 1.5; }
.q-verdict { font-weight: 600; margin-bottom: 2px; }
.q-verdict span { display: none; }
.q.got-it .q-verdict .yes { display: inline; color: #137A40; }
.q.missed .q-verdict .no { display: inline; color: #C2353A; }
.q-again { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue-d); }
.q-again .ms { font-size: 17px; }
.tutors { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 6px; }
.tutors img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-right: -10px; box-shadow: 0 2px 6px rgba(20, 40, 80, .12); }
.tutors span { margin-left: 22px; font-size: 14.5px; color: var(--text); }

/* readiness */
.split.rev .side { order: 0; }
.score { padding: 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.score-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.score-top small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.score-top b { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.score-top .of { font-size: 18px; color: var(--muted); margin-left: 4px; }
.score .ok { font-size: 13px; font-weight: 600; color: #B97F00; background: #FFF4D6; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.meter.big { height: 12px; border-radius: 6px; margin: 0 0 6px; }
.meter.big s { top: -5px; height: 22px; }
.meter.big em { position: absolute; top: 18px; left: 90%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); }
.factors { list-style: none; padding: 10px 0 0; display: flex; flex-direction: column; gap: 14px; }
.factors li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14.5px; }
.factors b { font-weight: 600; font-variant-numeric: tabular-nums; }
.factors i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--v) 100% no-repeat, #EEF1F5; }
.factors i.low { background: linear-gradient(var(--amber), var(--amber)) 0 0 / var(--v) 100% no-repeat, #EEF1F5; }
.score-tip { font-size: 14px; color: var(--ink); background: var(--soft); border-radius: 12px; padding: 12px 14px; }

/* guarantee */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; padding: 36px; border-radius: 28px; background: var(--good-soft); color: #0F5A31; }
.g-icon { grid-row: span 3; font-size: 40px; width: 64px; height: 64px; border-radius: 18px; background: var(--good); color: #fff; display: grid; place-items: center; }
.g-main h2 { color: #0F5A31; }
.g-main p { margin-top: 8px; font-size: 16px; }
.g-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: g; }
.g-steps li { counter-increment: g; background: #fff; border-radius: 16px; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.g-steps li::before { content: counter(g); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--good-soft); color: #137A40; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.g-link { justify-self: start; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #137A40; text-decoration: underline; text-underline-offset: 3px; }

/* prices */
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.plan.best { border: 2px solid var(--blue); box-shadow: 0 16px 36px rgba(46, 155, 255, .14); }
.p-tag { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; }
.p-name { font-size: 16px; font-weight: 600; }
.p-price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.p-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.p-note { font-size: 14.5px; color: var(--text); flex: 1; }
.plan .btn { width: 100%; margin-top: 6px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--text); line-height: 1.6; }

/* last call */
.final { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 28px; background: var(--navy); }
.final h2 { color: #fff; max-width: 560px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 32px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand img { height: 26px; display: block; }
.foot-brand p { margin-top: 12px; font-size: 14px; color: var(--text); max-width: 220px; }
.foot h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.foot-cols a { display: block; font-size: 14.5px; padding: 4px 0; color: var(--ink); }
.foot-cols a:hover, .foot-legal a:hover { color: var(--blue-d); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- How it works page ---------- */
.nav > a.here { position: relative; color: var(--ink); background: none; }
.nav > a.here:hover { background: var(--soft); }
.nav > a.here::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--blue); }
.page-hero { padding-block: 56px 72px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 54px 20px 20px; border-radius: 20px; background: var(--soft); }
.steps li::before { content: counter(st); position: absolute; top: 18px; left: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.steps li:last-child { background: var(--good-soft); }
.steps li:last-child::before { background: var(--good); }
.steps b { font-size: 17px; font-weight: 600; }
.steps span { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.chat { padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.msg { max-width: 86%; font-size: 15px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 18px 18px 4px 18px; }
.tutor-msg { display: flex; gap: 10px; align-items: flex-end; }
.tutor-msg img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.tutor-msg p { background: var(--soft); padding: 10px 14px; border-radius: 18px 18px 18px 4px; }
.week { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.week div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--soft); min-width: 0; }
.week div:first-child { background: var(--blue-soft); }
.week small { font-size: 12px; color: var(--muted); font-weight: 500; }
.week b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.week span { font-size: 12.5px; color: var(--text); }
.basics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.basics div { display: flex; flex-direction: column; gap: 6px; }
.basics .ms { font-size: 24px; color: var(--blue); margin-bottom: 4px; }
.basics b { font-size: 16.5px; font-weight: 600; }
.basics p { font-size: 15px; color: var(--text); line-height: 1.55; }

/* ---------- prices: passes (agreed 24 Nov 2026, same as the J2 paywall) ---------- */
.p-tag.good { background: var(--good); }
.p-feat { font-size: 13.5px; white-space: nowrap; font-weight: 600; color: var(--ink); }
.p-foot { margin-top: 22px; text-align: center; font-size: 15px; color: var(--text); }
.g-fine { justify-self: start; margin-top: 8px; font-size: 14.5px; color: #137A40; }
.g-fine .g-link { margin: 0; }

/* ---------- How it works: personal path ---------- */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.ticks .ms { font-size: 20px; color: var(--good); margin-top: 1px; }
.path { padding: 22px; min-width: 0; }
.path-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.path-top small { display: block; font-size: 13px; color: var(--muted); }
.path-top b { font-size: 18px; font-weight: 700; }
.path-count { font-size: 13px; font-weight: 600; color: var(--blue-d); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.path-list { list-style: none; padding: 0; margin: 0; position: relative; }
.path-list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.path-list li { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.path-list li > i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 15px; font-weight: 700; background: #fff; border: 2px solid var(--line); color: var(--muted); }
.path-list li > i.ms { font-size: 20px; }
.path-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.path-list b { font-size: 15px; font-weight: 600; }
.path-list span { font-size: 13px; color: var(--muted); }
.path-list .why { color: #B26A00; font-weight: 500; }
.path-list .done > i { background: var(--good); border-color: var(--good); color: #fff; }
.path-list .done b { color: var(--text); }
.path-list .now { margin: 4px -10px; padding: 10px; border-radius: 16px; background: var(--blue-soft); }
.path-list .now > i { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(46, 155, 255, .2); }
.path-list .now .why { color: var(--blue-d); }
.path-list .go { font-style: normal; font-size: 14px; font-weight: 600; color: #fff; background: var(--blue); box-shadow: 0 3px 0 var(--blue-d); padding: 7px 14px; border-radius: 12px; }
.path-list .skip { opacity: .55; }
.path-list .skip > i { border-style: dashed; color: var(--good); }

/* ---------- How it works: video lesson (a 10-second mock clip, no sound) ---------- */
.vid { min-width: 0; border-radius: 24px; overflow: hidden; background: #0E1624; box-shadow: 0 18px 40px rgba(10, 24, 56, .18); }
.vid-stage { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; }
.vid-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 55% 70%; transform: scale(1.02); }
.vid-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 40, .45) 0%, rgba(10, 20, 40, 0) 30%); pointer-events: none; }
.vid-title { position: absolute; z-index: 2; top: 16px; left: 18px; color: #fff; display: flex; flex-direction: column; }
.vid-title b { font-size: 17px; font-weight: 600; }
.vid-title span { font-size: 13px; opacity: .8; }
.vid-tutor { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vid-tutor img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.vid-tutor span { font-size: 12px; font-weight: 600; color: #fff; background: rgba(10, 20, 40, .55); padding: 1px 8px; border-radius: 999px; }
.vid.talking .vid-tutor img { animation: talk 1.2s ease-in-out infinite; }
@keyframes talk { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 155, 255, .0), 0 6px 18px rgba(0, 0, 0, .3); } 50% { box-shadow: 0 0 0 6px rgba(46, 155, 255, .55), 0 6px 18px rgba(0, 0, 0, .3); } }
.vid-spot { position: absolute; z-index: 1; left: 22%; right: 18%; bottom: 6%; height: 34%; border-radius: 50%; border: 3px solid var(--amber);
  box-shadow: 0 0 0 999px rgba(10, 20, 40, .35); opacity: 0; transform: scale(.9); transition: opacity .5s, transform .5s; }
.vid[data-scene="2"] .vid-spot { opacity: 1; transform: scale(1); }
.vid-bars { position: absolute; z-index: 2; left: 18px; right: 120px; bottom: 64px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.vid[data-scene="3"] .vid-bars { opacity: 1; transform: none; }
.vid-bars div { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 10px; }
.vid-bars small { font-size: 12.5px; font-weight: 600; color: #fff; }
.vid-bars span { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.vid-bars i { display: block; height: 100%; width: 0; border-radius: 6px; background: #fff; transition: width 1.4s ease-out; }
.vid-bars div + div i { background: var(--amber); }
.vid[data-scene="3"] .vid-bars i { width: var(--w); }
.vid-cap { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100% - 40px); width: max-content;
  text-align: center; font-size: 15px; font-weight: 500; line-height: 1.35; color: #fff; background: rgba(8, 14, 26, .62); padding: 5px 12px; border-radius: 8px;
  opacity: 0; transition: opacity .3s; }
.vid-cap.on { opacity: 1; }
.vid-play { position: absolute; z-index: 4; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .95);
  color: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .15s; }
.vid-play:hover { transform: scale(1.06); }
.vid-play .ms { font-size: 44px; margin-left: 4px; }
.vid.playing .vid-play, .vid.ended .vid-play { opacity: 0; pointer-events: none; }
.vid-end { position: absolute; z-index: 4; inset: 0; display: none; place-items: center; background: rgba(10, 20, 40, .45); }
.vid.ended .vid-end { display: grid; }
.vid-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: #fff; }
.vid-toggle .ms { font-size: 26px; color: #fff; }
.vid-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.vid-track i { display: block; height: 100%; width: 0; background: var(--blue); }
.vid-time { font-size: 13px; font-variant-numeric: tabular-nums; opacity: .85; }
.vid-cc { font-size: 20px; opacity: .85; }

/* ---------- hero: one lesson plan on laptop, tablet and phone (static, small, keeps faces clear) ---------- */
.devices { position: absolute; left: -18px; bottom: 0; width: 430px; height: 240px; z-index: 2; }
.dev { position: absolute; bottom: 0; background: #11151C; box-shadow: 0 18px 38px rgba(10, 20, 40, .24); }
.dev-scr { position: absolute; overflow: hidden; background: #fff; }
.lsn { position: relative; height: 100%; background: #fff; overflow: hidden; }
.lsn img { display: block; width: 100%; }
.lsn .lf { position: absolute; left: 0; bottom: 0; }
.laptop { left: 0; bottom: 12px; width: 312px; height: 198px; border-radius: 12px 12px 0 0; }
.laptop .dev-scr { inset: 7px 7px 0; border-radius: 5px 5px 0 0; display: flex; background: #F4F7FB; }
.dev-base { position: absolute; left: -20px; right: -20px; bottom: -12px; height: 12px; border-radius: 0 0 12px 12px; background: #C9D0DA; }
.tablet .shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop .desk { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tablet { left: 254px; width: 132px; height: 182px; border-radius: 14px; }
.tablet .dev-scr { inset: 6px; border-radius: 8px; }
.mphone { left: 362px; width: 72px; height: 144px; border-radius: 14px; }
.mphone .dev-scr { inset: 4px; border-radius: 10px; }

/* ---------- personal plan: the app path scrolling slowly inside a phone ---------- */
.path-demo { position: relative; height: 540px; display: grid; place-items: center; min-width: 0; }
.path-bg { position: absolute; inset: 40px 6% 40px; border-radius: 36px; background: var(--blue-soft); }
.demo-phone { --ph: 500px; position: relative; width: 240px; height: var(--ph); border-radius: 38px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 7px #11151C, 0 28px 50px rgba(10, 20, 40, .25); }
.pscroll { width: 100%; display: block; animation: pathscroll 26s ease-in-out 1s infinite alternate; }
/* Held at the top (tutor visible) until the phone is on screen; js/site.js adds .go when it scrolls into view */
.pscroll { animation-play-state: paused; }
.pscroll.go { animation-play-state: running; }
@keyframes pathscroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + var(--ph))); } }

/* ---------- readiness forecast: red to green, grows, holds, fades, repeats (from the J2 plan page) ---------- */
.fc { padding: 22px 22px 18px; min-width: 0; }
.fc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.fc-top small { display: block; font-size: 13px; color: var(--muted); }
.fc-top b { font-size: 18px; font-weight: 700; }
.fc .ok { font-size: 13px; font-weight: 600; color: #137A40; background: var(--good-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.fcsvg { display: block; overflow: visible; }
.fcsvg .fcrect { transform-origin: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .fcsvg .fcrect { animation: fcgrow 8s cubic-bezier(.45, .05, .25, 1) infinite; }
  .fcsvg .fcline { animation: fcfade 8s linear infinite; }
  .fcsvg .fcend { animation: fcend 8s ease-out infinite; }
  @keyframes fcgrow { 0%, 4% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
  @keyframes fcfade { 0%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
  @keyframes fcend { 0%, 34% { opacity: 0; } 40%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
}
.fc-today { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.fc-today small { font-size: 13px; color: var(--muted); margin-right: 4px; }
.fc-today span { font-size: 13.5px; font-weight: 600; background: var(--soft); padding: 5px 10px; border-radius: 10px; }

/* ---------- review panel (mock only, like the J2 journey mock) ---------- */
.review-tab { position: fixed; z-index: 210; right: env(safe-area-inset-right, 0px); top: 46%; background: #11151C; color: #fff; font-size: 10px; font-weight: 600;
  letter-spacing: .08em; padding: 10px 4px; border-radius: 6px 0 0 6px; writing-mode: vertical-rl; opacity: .75; }
.review-tab:hover { opacity: 1; }
.review { position: fixed; z-index: 220; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(16px + env(safe-area-inset-top, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 290px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: 13px; color: var(--ink);
  box-shadow: 0 16px 48px rgba(10, 20, 40, .28); }
.review[data-open="0"] { display: none; }
.review h2 { font-size: 15px; font-weight: 600; margin: 16px 0 0; }
.review h3 { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.review h3:first-of-type { margin-top: 0; }
.review .hint { color: var(--text); margin-top: 2px; line-height: 1.45; }
.review .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.review .seg button { padding: 6px 11px; border-radius: 10px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; }
.review .seg button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.review-page { width: 100%; font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.review .flags { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; }
.review .flags li::marker { color: var(--muted); }
.review-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.review-x .ms { font-size: 20px; }
.phone-view { position: fixed; z-index: 150; inset: 0; background: #E9EDF3; display: grid; place-items: center; padding: 20px; }
.phone-view iframe { width: min(390px, calc(100vw - 48px)); height: min(844px, calc(100vh - 44px)); border: 0; border-radius: 44px; background: #fff;
  box-shadow: 0 0 0 10px #11151C, 0 30px 60px rgba(10, 20, 40, .3); }
body.phone-mode { overflow: hidden; }
@media (max-width: 600px) {
  .review { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 80%; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 40px; }
  .hdr-in { gap: 18px; }
  .nav > a, .dd > button { padding: 0 9px; font-size: 14.5px; }
  .login { display: none; }
  .hero-in { gap: 32px; }
  .tutor { width: 250px; }
  .devices { transform: scale(.8); transform-origin: left bottom; }
}

/* ---------- phone ---------- */
@media (max-width: 860px) {
  :root { --gut: 16px; }
  .hdr-in { height: 64px; justify-content: space-between; }
  .logo img { height: 26px; }
  .lang { display: none; }
  .burger { display: grid; }
  .nav { display: none; position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 24px; overflow-y: auto; }
  body.menu-open .nav { display: flex; }
  body.menu-open { overflow: hidden; }
  .nav > a.here::after { right: auto; width: 28px; bottom: 8px; }
  .nav > a, .dd > button { height: 52px; width: 100%; justify-content: space-between; font-size: 17px; padding: 0 12px; }
  .dd-menu { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 6px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .dd-menu { display: block; }
  .dd:hover .dd-menu { display: none; }
  .dd.open:hover .dd-menu { display: block; }
  .nav-mobile-extra { display: block; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-mobile-extra a { display: flex; align-items: center; height: 52px; padding: 0 12px; font-size: 17px; font-weight: 500; }

  .hero { padding: 18px 0 36px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .copy { gap: 18px; }
  .pill { font-size: 13px; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .ctas { flex-direction: column; }
  .ctas .btn { width: 100%; }
  .facts { flex-direction: column; gap: 8px; }
  .visual { height: 380px; }
  .tile { inset: 0 0 40px 40px; border-radius: 28px; }
  .phone { width: 150px; height: 314px; border-radius: 26px; box-shadow: 0 0 0 5px #11151C, 0 20px 36px rgba(10, 20, 40, .25); }
  @keyframes browse { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 314px)); } }
  .ready { top: 16px; right: 8px; width: 196px; padding: 12px 14px; }
  .ready-row b { font-size: 28px; }
  .ready p { display: none; }
  .tutor { display: none; }
  .tutor p { font-size: 13px; }
  .sep { margin-top: 36px; }
  .find { margin-top: 28px; padding: 8px 8px 8px 14px; }
  .find input { flex: 1 1 160px; }
  .phone { left: 6px; }
  .chips { width: 100%; padding-bottom: 4px; }

  .sec { padding-block: 56px; }
  .split, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .side { order: 0; }
  .split .side { order: -1; }
  .score { padding: 20px; }
  .score-top b { font-size: 44px; }
  .guarantee { grid-template-columns: 1fr; padding: 24px; }
  .g-icon { grid-row: auto; width: 52px; height: 52px; font-size: 32px; }
  .g-steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 22px; }
  .final { padding: 28px 22px; }
  .final .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .page-hero { padding-block: 28px 48px; }
  .steps { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basics { grid-template-columns: 1fr; gap: 24px; }
  .vid { margin-inline: calc(-1 * var(--gut)); border-radius: 0; }
  .tile { inset: 0 0 34px 0; border-radius: 28px; }
  .devices { left: -6px; transform: scale(.8); transform-origin: left bottom; }
  .path-demo { height: 470px; }
  .path-bg { inset: 30px 0; }
  .demo-phone { --ph: 430px; width: 210px; }
  .fc { padding: 18px 16px 14px; }
  .vid-tutor img { width: 56px; height: 56px; }
  .vid-title b { font-size: 15px; }
  .vid-cap { font-size: 13.5px; bottom: 10px; }
  .vid-bars { right: 18px; bottom: 50px; }
  .vid-bars div { grid-template-columns: 86px 1fr; }
  .vid-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .path { padding: 18px 16px; }
  .path-list .go { display: none; }
}

/* ---------- soft fade at the bottom of the hero photo, the path phone and the video (24 Nov) ---------- */
.tile { -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
.path-demo { -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, #000 76%, transparent 100%); }
.vid { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.vid-stage { border-radius: 24px 24px 0 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.vid-cap { bottom: 27%; }
.vid-bars { bottom: calc(27% + 44px); }
.vid-bar { color: var(--ink); padding: 4px 4px 0; }
.vid-toggle .ms { color: var(--ink); }
.vid-track { background: var(--line); }
.vid-time { color: var(--text); opacity: 1; }
.vid-cc { color: var(--muted); }
@media (max-width: 860px) {
  .vid-stage { border-radius: 0; }
  .vid-bar { padding-inline: var(--gut); }
  .vid-cap { bottom: 25%; }
  .vid-bars { bottom: calc(25% + 34px); }
}

/* ---------- locked video lesson (Traffic rules page, 26 Nov): play shows the unlock message ---------- */
.vid-lock { position: absolute; z-index: 5; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; color: #fff; background: rgba(10, 20, 40, .72); backdrop-filter: blur(3px); }
.vid.locked .vid-lock { display: flex; }
.vid.locked .vid-play { opacity: 0; pointer-events: none; }
.vl-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 28px; margin-bottom: 4px; }
.vid-lock b { font-size: 21px; font-weight: 700; line-height: 1.25; max-width: 360px; }
.vid-lock p { font-size: 14.5px; color: #D5DDEA; }
.vid-lock .btn { margin-top: 8px; }
.vl-close { margin-top: 2px; font-size: 14px; font-weight: 500; color: #D5DDEA; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .vid-lock b { font-size: 18px; } .vl-icon { width: 44px; height: 44px; font-size: 24px; } }

/* ---------- hero carousel (27 Nov): slide 1 learners + devices, slide 2 the sample video lesson; dots underneath (js/pages-home.js) ---------- */
.hc-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(56px); pointer-events: none;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hc-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.hc-slide.out { transform: translateX(-56px); }
/* the waiting slide sits 56px to the right: it must never widen the page (phones could scroll sideways, 29 Nov 2026) */
html, body { overflow-x: clip; }
.hc-pic { position: absolute; inset: 0; }
.hc-vid { display: flex; align-items: center; padding-bottom: 24px; }
.hcar .vid { width: 100%; margin-inline: 0; }
.hcar .vid-stage { border-radius: 24px 24px 0 0; }
.hcar .vid-bar { padding-inline: 4px; }
.hc-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: -30px; display: flex; justify-content: center; gap: 8px; }
.hc-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; background: #C9D3E0; transition: width .3s, background .3s; }
.hc-dots button.on { width: 24px; background: var(--blue); }
.hc-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 860px) {
  .hcar .vid-cap { bottom: 27%; }
  .hcar .vid-bars { bottom: calc(27% + 34px); }
  .hc-vid { padding-bottom: 12px; justify-content: center; }
  .hcar .vid { max-width: 528px; }
}
@media (max-width: 600px) {
  .hcar .vid-stage { aspect-ratio: 6 / 5; }
  .hcar .vid { max-width: 396px; }
}
@media (prefers-reduced-motion: reduce) { .hc-slide { transition: opacity .3s; transform: none !important; } }

/* ---------- hero on phones (28 Nov): headline, the three bullets, rating, button (no lead line; guarantee removed 29 Nov).
   Desktop keeps headline, rating, lead line, button, bullets with the guarantee at the end. ---------- */
@media (max-width: 860px) {
  .hero h1 { order: 1; }
  .hero .facts { order: 2; padding-top: 0; border-top: 0; gap: 12px; }
  .hero .facts li { font-size: 16px; }
  .hero .facts .ms { font-size: 22px; }
  .hero .facts .pill.guar { display: none; }
  .hero .rating { order: 3; margin: 0; }
  .hero .ctas { order: 4; margin-top: 0; }
  .hero .lead { display: none; }
}

/* ---------- phone menu (29 Nov): full-height panel under the header, short list; Learn and Schools & WORD fold open on tap.
   The header's blur makes it the frame for fixed children, so the panel hangs off the header itself. ---------- */
@media (max-width: 860px) {
  .nav { position: absolute; inset: 100% 0 auto; height: calc(100vh - 64px - env(safe-area-inset-top, 0px)); height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
    gap: 0; padding: 8px max(var(--gut), env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; overscroll-behavior: contain; }
  .nav > * { flex-shrink: 0; }
  body.menu-open .hdr { background: #fff; }
  .nav > a { height: 54px; padding: 0 4px; border-radius: 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); justify-content: flex-start; gap: 10px; }
  .nav > a:hover { background: none; }
  .nav > a.here { color: var(--blue); }
  .nav > a.here::after { display: none; }
  .nav-home { font-size: 22px; }
  /* Learn and Schools & WORD fold open on tap (closed when the menu opens; js/site.js toggles .open) */
  .dd { border-bottom: 1px solid var(--line); }
  .dd > button { height: 54px; padding: 0 4px; border-radius: 0; font-size: 18px; font-weight: 600; color: var(--ink); background: none !important; justify-content: space-between; }
  .dd > button .ms { display: inline-block; font-size: 24px; color: var(--muted); }
  .dd:hover > button .ms { transform: none; }
  .dd.open > button .ms, .dd.open:hover > button .ms { transform: rotate(180deg); }
  .dd-menu, .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: none; position: static; width: auto; padding: 0 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .dd-menu, .dd.open:hover .dd-menu { display: block; }
  .dd-menu a { padding: 9px 4px 9px 14px; border-radius: 10px; }
  .dd-menu b { font-size: 16px; }
  .dd-menu small { font-size: 13px; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; padding-top: 0; border-top: 0; }
  .nav-mobile-extra .nav-cta { display: flex; justify-content: center; gap: 8px; width: 100%; height: 54px; padding: 0; font-size: 17px; color: #fff; }
  .nav-mobile-extra .nav-login { display: flex; justify-content: center; align-items: center; gap: 8px; height: 50px; padding: 0; border-radius: 14px; background: var(--soft); font-size: 16px; font-weight: 600; color: var(--ink); }
  .nav-mobile-extra .lang { display: inline-flex; align-self: center; margin-top: 4px; }
  .nav-mobile-extra .lang-menu { top: auto; bottom: calc(100% + 6px); right: 50%; transform: translateX(50%); }
}

/* TestPermiso logo (30 Nov 2026): icon tile + wordmark set in the page font (an <img> SVG could not use Lexend) */
.logo, .foot-brand .wm-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img, .foot-brand .wm-logo img { height: 30px; width: 30px; }
.wm { font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.wm b { color: var(--blue); font-weight: 700; }
.foot-brand .wm-logo img { height: 26px; width: 26px; }
.foot-brand .wm { font-size: 19px; }
@media (max-width: 760px) { .logo img { height: 26px; width: 26px; } .wm { font-size: 19px; } }
/* small phones (3 Dec 2026): the wordmark is wider than Prawkolog's logo, so it shrinks a little to keep the menu button on screen */
@media (max-width: 400px) { .logo { gap: 6px; } .logo img { height: 24px; width: 24px; } .wm { font-size: 17px; } }
.foot-indep { margin-top: 22px; font-size: 13px; color: var(--muted); }
