/* Intake mock J2 (21 Nov 2026): myDMV-style intake on a white background with our blue buttons.
   Loaded after flow.css (phone frame, review panel, fields, loading ring, sign-in buttons). */
.iview { background: #fff; }
.iscroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.iscroll::-webkit-scrollbar { display: none; }
.itop { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px var(--gr) 6px var(--gl); }
.iback { width: 42px; height: 42px; border-radius: 50%; background: #F4F6F9; display: grid; place-items: center; color: var(--ink); flex: none; }
.iback .ms { font-size: 18px; }
.ibar { flex: 1; height: 8px; border-radius: 4px; background: #EEF1F5; overflow: hidden; margin-right: 40px; }
.ibar i { display: block; height: 100%; border-radius: 4px; background: var(--blue); transition: width .3s; }
.ibar.none { background: none; }
.ibody { padding: 12px var(--gr) 18px var(--gl); display: flex; flex-direction: column; gap: 12px; }
.ittl { font-size: 25px; line-height: 1.22; font-weight: 700; color: #1F2A3A; text-wrap: balance; }
.ittl.left, .isub.left { text-align: left; }
.ittl.big { font-size: 28px; }
.isub { font-size: 14.5px; color: #5B6573; text-wrap: balance; }
.isub.small { font-size: 13px; color: var(--muted); }
.ifoot { flex: none; padding: 10px var(--gr) 18px var(--gl); display: flex; flex-direction: column; gap: 10px; background: #fff; }
.ibtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; font-weight: 600; font-size: 17px; }
.ibtn:active { transform: translateY(1px); }
.ibtn[disabled] { background: #B9DCFD; cursor: default; }
.ibtn.ghost { background: #fff; color: #1F2A3A; border: 1px solid #E6EAF0; box-shadow: 0 4px 14px rgba(20, 40, 80, .06); }
.ibtn.green { background: var(--pay); }
.ibtn.big { height: 60px; font-size: 18px; }
.ilegal { font-size: 11px; color: var(--muted); text-align: center; }
.ilegal u { color: var(--ink); }

/* landing: two rows of photos drifting left */
.carousel { display: grid; gap: 12px; padding-top: 18px; overflow: hidden; }
.crow { overflow: hidden; }
.ctrack { display: flex; gap: 12px; width: max-content; animation: drift 38s linear infinite; }
.crow.r2 .ctrack { animation-duration: 46s; animation-delay: -12s; }
.ctrack img { width: 132px; height: 170px; object-fit: cover; border-radius: 16px; flex: none; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ctrack { animation: none; } }
.ihero { padding: 18px var(--gr) 6px var(--gl); display: flex; flex-direction: column; gap: 10px; }
.proofs { display: flex; justify-content: space-between; gap: 6px; }
.iproof { display: flex; align-items: center; gap: 4px; text-align: center; color: #1F2A3A; }
.iproof b { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 23px; font-weight: 700; line-height: 1.1; }
.iproof small { display: block; font-size: 12.5px; color: #5B6573; }
.vchk { color: #22C55E; }
.vchk .ms { font-size: 22px; }
.ih1 { font-size: 26px; line-height: 1.2; font-weight: 700; color: #1F2A3A; margin-top: 4px; }
.ih1sub { font-size: 14px; color: #5B6573; }
.gearrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* date wheel */
.wheel { position: relative; display: grid; grid-template-columns: 1.7fr .8fr 1fr; height: 220px; margin-top: 18px; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wsel { position: absolute; left: 0; right: 0; top: 88px; height: 44px; border-radius: 12px; background: #F1F3F7; pointer-events: none; }
.wcol { position: relative; height: 220px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.wcol::-webkit-scrollbar { display: none; }
.wpad { height: 88px; }
.witem { height: 44px; display: grid; place-items: center; scroll-snap-align: center; font-size: 19px; color: #A3ACB8; cursor: pointer; text-transform: capitalize; }
.witem.on { color: #1F2A3A; font-size: 22px; font-weight: 500; }
.pacecard { border-radius: 18px; background: #F4F6F9; padding: 14px 16px; font-size: 14px; color: #3A4452; display: grid; gap: 6px; }
.pch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; color: #1F2A3A; }
.ptag { padding: 2px 8px; border-radius: 6px; background: #CFF5DC; color: #15803D; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.ptag.act { background: #FDECB5; color: #B45309; }
.pacecard p b { color: #1F2A3A; }
.perr { color: var(--red); }
.pest { font-size: 12.5px; color: var(--muted); }
.pline { height: 1px; background: #E3E8EE; margin: 4px 0; }
.ptip { color: #15803D; font-weight: 500; }
.ptip b { font-weight: 700; }

/* options */
.iopts { display: grid; gap: 12px; margin-top: 8px; }
.iopt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px; border: 1.5px solid #E6EAF0; border-radius: 16px; text-align: left; font-size: 16.5px; color: #1F2A3A; background: #fff; }
.iopt.on { border-color: var(--blue); background: #F3F8FF; font-weight: 600; }
.iopt .emo { font-size: 28px; line-height: 1; }
.iopt .rad { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #D5DBE3; display: grid; place-items: center; color: transparent; flex: none; }
.iopt.on .rad { background: #2DD4BF; border-color: #2DD4BF; color: #fff; }
.iopt .rad .ms { font-size: 16px; }
.iopt.row { justify-content: space-between; }
.iopt.row b { font-weight: 500; }
.iopt.row small { color: var(--muted); font-size: 15px; }

/* celebration screens */
.icenter { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 20px var(--gr) 30px var(--gl); overflow: hidden; }
.icenter.top0 { justify-content: flex-start; padding-top: 10px; }
.ibig { font-size: 27px; line-height: 1.2; font-weight: 700; color: #1F2A3A; text-wrap: balance; }
.shield { width: 92px; height: 104px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #6EE29A, #22C55E); clip-path: polygon(50% 0, 100% 16%, 100% 58%, 50% 100%, 0 58%, 0 16%); }
.shield .ms { font-size: 52px; }
.popper { font-size: 86px; line-height: 1; }
.iconf { position: absolute; inset: 0; pointer-events: none; }
.iconf i { position: absolute; top: 18%; left: calc(6% + var(--i) * 5.6%); width: 9px; height: 13px; border-radius: 2px; background: hsl(calc(var(--i) * 53), 80%, 58%); animation: pop 2.4s ease-out calc(var(--i) * .05s) both; }
@keyframes pop { 0% { transform: translateY(80px) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(calc(var(--i) * 9px - 40px)) rotate(400deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .iconf { display: none; } }
.group { width: 100%; max-width: 360px; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); margin-bottom: -8px; }

/* tutor grid (founder's screenshot) */
.ttop { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px var(--gr) 12px var(--gl); background: #fff; }
.ttop h1 { flex: 1; text-align: center; margin-right: 54px; font-size: 22px; font-weight: 700; color: var(--navy); }
.tutorbg { background: #F1F4F8; }
.tgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px var(--gr) 8px var(--gl); }
.tcard2 { border-radius: 18px; background: #fff; overflow: hidden; border: 3px solid transparent; cursor: pointer; text-align: left; }
.tcard2.on { border-color: var(--blue); }
.tph { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #2E7BFF, #0B2C8F); }
.tph img { width: 100%; height: 100%; object-fit: cover; }
.tchk { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.tchk .ms { font-size: 20px; }
.tinfo { padding: 10px 12px 12px; display: grid; gap: 2px; }
.tinfo b { font-size: 18px; color: #1F2A3A; }
.tinfo small { font-size: 13px; color: var(--muted); min-height: 34px; }
.hear { justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--blue); margin-top: 4px; }
.hear .ms { font-size: 20px; }
.tnote { padding: 6px var(--gr) 20px var(--gl); font-size: 12.5px; color: var(--muted); }

/* plan ready */
.planbg { background: linear-gradient(180deg, #E4F0FF 0, #F7FAFF 280px, #fff 520px); }
.pcard { background: #fff; border: 1px solid #E8ECF2; border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.pcard h3 { font-size: 17px; font-weight: 600; color: #1F2A3A; }
.incl div { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #1F2A3A; font-weight: 500; }
.gk { color: #22C55E; }
.info { color: var(--muted); display: grid; }
.info .ms { font-size: 20px; }
.ph2 { font-size: 21px; font-weight: 700; color: #1F2A3A; text-align: center; margin-top: 6px; }
.ptxt { font-size: 14.5px; color: #3A4452; text-align: center; text-wrap: balance; }
.drow { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.dic { width: 36px; height: 36px; border-radius: 50%; background: #EAF3FF; color: var(--blue); display: grid; place-items: center; }
.dic .ms { font-size: 19px; }
.drow small { display: block; font-size: 12px; color: var(--muted); }
.drow b { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; font-weight: 600; color: #1F2A3A; }
.drow .more { color: var(--blue); }
.tmini2 { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* paywall (dark) */
.iview.dark, .pwdark { background: #1B2330; color: #fff; }
.slides { position: relative; height: 330px; overflow: hidden; }
.pslide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateX(40px); transition: opacity .45s, transform .45s; }
.pslide.on { opacity: 1; transform: none; }
.collage { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 16px 0; width: 100%; }
.collage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; transform: rotate(var(--r)); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pbadge { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 12px; background: #2A3445; font-size: 13.5px; font-weight: 600; }
.mockphone { width: 230px; border-radius: 22px; background: #fff; color: #1F2A3A; padding: 10px; display: grid; gap: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); font-size: 12px; }
.mockphone > img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.mockphone p { font-weight: 600; font-size: 12.5px; }
.ma { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ma span { display: flex; align-items: center; justify-content: center; gap: 3px; height: 30px; border-radius: 8px; font-weight: 600; }
.ma .bad { background: #FDECEC; color: var(--red); }
.ma .good { background: #E3F6EA; color: #15803D; }
.ma .ms { font-size: 15px; }
.mtut { display: grid; grid-template-columns: 26px 1fr; gap: 6px; background: #F2EEFF; border-radius: 10px; padding: 6px; }
.mtut img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.mpath { display: grid; gap: 4px; justify-items: center; padding-top: 10px; }
.mpath .pn { display: grid; justify-items: center; gap: 2px; transform: translateX(var(--x)); }
.mpath .pn span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #2A3445; color: #9AA7B5; font-weight: 700; font-size: 18px; border: 3px solid #3A4659; }
.mpath .pn.done span { background: #22C55E; border-color: #22C55E; color: #fff; }
.mpath .pn.cur span { background: var(--blue); border-color: #9CCBFF; color: #fff; }
.mpath small { font-size: 11px; color: #C4CCD8; }
.mgauge { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.mgauge svg { position: absolute; inset: 0; }
.mgauge div { text-align: center; }
.mgauge b { display: block; font-size: 54px; font-weight: 700; line-height: 1; }
.mgauge small { color: #C4CCD8; }
.gnote { position: absolute; bottom: -34px; display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12.5px; color: #86EFAC; }
.gnote .ms { font-size: 16px; }
.mrevs { display: grid; gap: 8px; width: calc(100% - 32px); }
.mrevs div { background: #2A3445; border-radius: 14px; padding: 10px 12px; }
.mrevs b { font-size: 13px; }
.mrevs .st { margin-left: 6px; color: #F59E0B; font-size: 12px; letter-spacing: 1px; }
.mrevs p { font-size: 12.5px; color: #C4CCD8; margin-top: 2px; }
.pwtxt { text-align: center; padding: 26px var(--gr) 0 var(--gl); display: grid; gap: 6px; }
.pwtxt h1 { font-size: 24px; font-weight: 700; }
.pwtxt p { color: #2DD4BF; font-size: 15px; font-weight: 500; }
.dots { display: flex; justify-content: center; gap: 8px; margin: 10px 0 6px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; background: #4A5568; }
.dots button.on { background: #fff; }
.limited { color: #6B7686; font-size: 13.5px; justify-self: center; }
.trialline { color: #8A95A5; font-size: 13.5px; min-height: 18px; }
.pwbox { padding: 10px var(--gr) 22px var(--gl); display: grid; gap: 10px; }
.pwplan { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #3A4CC8; background: #1E2840; color: #fff; text-align: left; }
.pwplan.on { border-color: #7DB2FF; background: #233559; box-shadow: 0 0 0 2px #7DB2FF inset; }
.pwplan b { display: block; font-size: 16px; }
.pwplan small { display: block; font-size: 12.5px; color: #AAB4C3; }
.pwplan em { font-style: normal; font-weight: 700; font-size: 16px; white-space: nowrap; }
.backtrial { color: #9CCBFF; font-size: 13px; }
.bliklink { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #C4CCD8; }
.bliklink img { width: 34px; border-radius: 4px; }
.pwg { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #86EFAC; }
.pwg .ms { font-size: 17px; }
.pwg button { color: #86EFAC; text-decoration: underline; }
.jtoast2 { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; background: rgba(42, 52, 69, .96); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); animation: jt2 3.4s ease both; }
.jtoast2 .ms { color: #22C55E; font-size: 22px; }
@keyframes jt2 { 0% { transform: translateY(-16px); opacity: 0; } 10%, 88% { transform: none; opacity: 1; } 100% { transform: translateY(-16px); opacity: 0; } }

/* sheets */
.sheet-bg { position: absolute; inset: 0; z-index: 40; background: rgba(15, 22, 32, .5); display: flex; align-items: flex-end; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-height: 88%; overflow-y: auto; background: #fff; color: var(--ink); border-radius: 22px 22px 0 0; padding: 22px var(--gr) 22px var(--gl); display: flex; flex-direction: column; gap: 12px; animation: rise .25s ease-out; }
@keyframes rise { from { transform: translateY(40px); } }
.sheet h2 { font-size: 19px; font-weight: 700; color: #1F2A3A; padding-right: 36px; }
.sheet-x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: #F1F3F7; display: grid; place-items: center; color: var(--muted); }
.terms { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.sumrow { padding: 12px; border-radius: 12px; background: #F4F6F9; font-size: 14px; }
.tl2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tl2 li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; }
.tl2 .d { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); }
.tl2 .d .ms { font-size: 17px; }
.tl2 .d1 { background: var(--amber); }
.tl2 .d2 { background: var(--navy); }
.tl2 b { font-size: 14px; }
.tl2 p { font-size: 13px; color: var(--muted); }
.wallet { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; border-radius: 14px; border: 1px solid #E3E8EE; font-weight: 600; font-size: 16px; background: #fff; }
.wallet.dark { background: #000; color: #fff; border-color: #000; }
.sheet .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* 21 Nov night: founder's review fixes */
[data-screen="start"] .ifoot { padding-bottom: 40px; }
.rproofs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.rproofs .iproof small { max-width: 130px; }
.ittl.oneline { font-size: clamp(18px, 5.6vw, 23px); white-space: nowrap; }
/* topics: an even two-column grid and a clear selected state */
[data-screen="topics"] .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 56px; gap: 10px; }
[data-screen="topics"] .tgrid .chip { height: 100%; min-height: 0; display: grid; grid-template-columns: 24px 1fr; align-items: center; column-gap: 8px; padding: 0 12px; border: 1.5px solid #E6EAF0; border-radius: 14px; background: #fff; color: #1F2A3A; font-size: 13.5px; text-align: left; transition: background .15s, border-color .15s; }
[data-screen="topics"] .tgrid .chip .ms { color: #8A97A8; font-size: 22px; }
[data-screen="topics"] .tgrid .chip.on { background: #EAF3FF; border-color: var(--blue); color: var(--navy); font-weight: 600; }
[data-screen="topics"] .tgrid .chip.on .ms { color: var(--blue); }
[data-screen="topics"] .tgrid .chip.full { grid-column: 1 / -1; grid-template-columns: 24px auto; justify-content: center; }
.drow .one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
/* loading graphs under the checklist */
.lgraph { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 14px; min-height: 230px; animation: enter .3s ease-out; }
.dots.light { display: flex; justify-content: center; gap: 6px; margin: 4px 0 0; }
.dots.light i { width: 7px; height: 7px; border-radius: 50%; background: #D5DEE8; }
.dots.light i.on { background: var(--blue); }

/* light paywall (second version) */
.iview.pwl, .pwlight { background: #fff; color: #1F2A3A; }
.pwlight .slides { background: linear-gradient(180deg, #EAF3FF, #fff); }
.pwlight .collage img { box-shadow: 0 8px 18px rgba(20, 40, 80, .18); }
.pwlight .pbadge { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(20, 40, 80, .12); }
.pwlight .mockphone { box-shadow: 0 14px 30px rgba(20, 40, 80, .18); border: 1px solid #E8ECF2; }
.pwlight .mpath .pn span { background: #F1F4F8; color: #8A97A8; border-color: #DCE3EC; }
.pwlight .mpath .pn.done span { background: #22C55E; border-color: #22C55E; color: #fff; }
.pwlight .mpath .pn.cur span { background: var(--blue); border-color: #9CCBFF; color: #fff; }
.pwlight .mpath small { color: #5B6573; }
.pwlight .mgauge circle:first-child { stroke: #E6ECF2; }
.pwlight .mgauge small { color: #5B6573; }
.pwlight .gnote { color: #15803D; }
.pwlight .mrevs div { background: #F6F8FB; border: 1px solid #E8ECF2; }
.pwlight .mrevs p { color: #5B6573; }
.pwlight .pwtxt h1 { color: #1F2A3A; }
.pwlight .pwtxt p { color: #0F9F8F; }
.pwlight .dots button { background: #D5DEE8; }
.pwlight .dots button.on { background: var(--blue); }
.pwlight .limited { color: #9AA7B5; }
.pwlight .trialline { color: #5B6573; }
.pwlight .pwplan { background: #fff; border-color: #DCE3EC; color: #1F2A3A; }
.pwlight .pwplan.on { background: #F3F8FF; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.pwlight .pwplan small { color: #6B7686; }
.pwlight .backtrial { color: var(--blue); }
.pwlight .bliklink { color: #5B6573; }
.pwlight .pwg, .pwlight .pwg button { color: #15803D; }
.jtoast2.lt { background: rgba(255, 255, 255, .97); color: #1F2A3A; border: 1px solid #E8ECF2; box-shadow: 0 8px 24px rgba(20, 40, 80, .15); }
.rproofs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.rproofs .iproof { justify-content: center; gap: 2px; }
.rproofs .iproof b { font-size: 21px; }
.rproofs .iproof small { font-size: 11.5px; max-width: 108px; }
[data-screen="start"] .gearrow { margin-top: 10px; }
[data-screen="start"] .ihero { padding-bottom: 24px; }

/* 21 Nov night, round 2: start screen on an 8 px grid with equal gaps; centred date wheel; slower loading */
[data-screen="start"] .ihero { gap: 24px; padding: 24px var(--gr) 24px var(--gl); align-items: stretch; }
[data-screen="start"] .htext { display: grid; gap: 8px; text-align: center; }
[data-screen="start"] .ih1 { margin: 0; text-align: center; text-wrap: balance; }
[data-screen="start"] .ih1sub { margin: 0; text-align: center; }
[data-screen="start"] .gearrow { margin: 0; }
[data-screen="start"] .ilegal { margin-top: -16px; }
[data-screen="start"] .proofs { justify-content: space-evenly; }
.wheel { width: 100%; max-width: 320px; margin: 24px auto 0; grid-template-columns: 1.5fr .8fr 1fr; }
.witem { text-align: center; }
[data-screen="topics"] .ittl.oneline { font-size: clamp(16px, 4.9vw, 21px); }
.ittl.oneline, [data-screen="topics"] .ittl.oneline { font-size: 23px; white-space: nowrap; overflow: hidden; }

/* ===== Desktop view (body.desk): same screens, laid out for a laptop. Switch in the review panel or ?view=desktop ===== */
.dlogo { display: none; }
body.desk #app { padding: 0; display: block; }
body.desk .phone { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; box-shadow: none; }
body.desk .view { display: block; overflow-y: auto; background: #fff; }
body.desk .iscroll { overflow: visible; min-height: 0; }
body.desk .review { position: fixed; right: 16px; top: 16px; bottom: 16px; width: 280px; z-index: 60; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); max-height: none; }
body.desk .review[data-open="0"] { display: none; }
body.desk .review-tab { display: block; position: fixed; right: 0; top: 46%; z-index: 55; background: #11151C; color: #fff; font-size: 10px; letter-spacing: .08em; padding: 10px 4px; border-radius: 6px 0 0 6px; writing-mode: vertical-rl; opacity: .7; }
/* top bar: logo left, progress centred */
body.desk .dlogo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 17px; }
body.desk .dlogo i { width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; }
body.desk .dlogo i .ms { font-size: 19px; }
/* Prawkolog wordmark (image) wherever the brand shows */
.blogo { display: block; flex: none; width: auto; height: 28px; max-width: 100%; object-fit: contain; }
.gate .logo .blogo { height: 34px; }
body.desk .dlogo .blogo { height: 26px; }
body.desk .itop { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-bottom: 1px solid #EEF1F5; padding: 14px 32px; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; gap: 16px; }
body.desk .itop .iback { grid-column: 1; grid-row: 1; justify-self: end; margin-right: 8px; }
body.desk .itop .dlogo { grid-column: 1; grid-row: 1; justify-self: start; }
body.desk .itop .ibar { grid-column: 2; margin: 0; max-width: 560px; width: 100%; justify-self: center; }
body.desk .ibody, body.desk .ifoot { max-width: 600px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
body.desk .ibody { padding-top: 40px; gap: 16px; }
body.desk .ifoot { padding-top: 16px; padding-bottom: 56px; background: none; }
body.desk .ittl { font-size: 32px; }
body.desk .isub { font-size: 16px; }
body.desk .icenter { min-height: calc(100vh - 220px); max-width: 640px; margin: 0 auto; }
body.desk .ibig { font-size: 34px; }
body.desk .iopt { min-height: 68px; }
body.desk .iopt:hover, body.desk .tcard2:hover, body.desk [data-screen="topics"] .tgrid .chip:hover { border-color: #9CCBFF; }
body.desk .ibtn:hover { filter: brightness(1.05); }
/* start: two columns, photo tiles that fade */
body.desk .dhead { padding: 22px 48px; }
body.desk .dstart { max-width: 1180px; margin: 0 auto; padding: 24px 48px 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; min-height: calc(100vh - 100px); }
body.desk .dhero { display: flex; flex-direction: column; gap: 32px; }
body.desk .dhero .proofs { justify-content: flex-start; gap: 32px; }
body.desk .dhero .htext { display: grid; gap: 12px; text-align: left; }
body.desk .dhero .ih1 { font-size: 46px; line-height: 1.1; margin: 0; text-align: left; }
body.desk .dhero .ih1sub { font-size: 18px; text-align: left; margin: 0; }
body.desk .dhero .gearrow { max-width: 460px; }
body.desk .dhero .ilegal { text-align: left; margin-top: -20px; }
body.desk .dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.desk .dtile { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #EEF1F5; box-shadow: 0 10px 30px rgba(20, 40, 80, .12); }
body.desk .dtile:nth-child(3n+2) { transform: translateY(28px); }
body.desk .dtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
body.desk .dtile img.on { opacity: 1; }
/* date wheel and pace card stay centred */
body.desk [data-screen="date"] .ibody, body.desk [data-screen="date"] .ifoot { max-width: 520px; }
/* topics and tutor: more columns */
body.desk [data-screen="topics"] .ibody, body.desk [data-screen="topics"] .ifoot { max-width: 820px; }
body.desk [data-screen="topics"] .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 60px; gap: 12px; }
body.desk [data-screen="topics"] .tgrid .chip { font-size: 14.5px; }
body.desk .ttop { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #EEF1F5; padding: 14px 32px; }
body.desk .ttop h1 { font-size: 28px; margin-right: 0; }
body.desk .tutorbg { min-height: calc(100vh - 160px); }
body.desk .tgrid2 { grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; padding-top: 32px; }
body.desk .tnote { max-width: 1040px; margin: 0 auto; text-align: center; font-size: 14px; }
body.desk [data-screen="tutor"] .ifoot { max-width: 420px; }
/* right place, loading, email */
body.desk .group { max-width: 520px; }
body.desk .load { max-width: 560px; margin: 0 auto; padding-top: 48px; }
body.desk .gate { max-width: 440px; margin: 0 auto; padding-top: 64px; }
/* plan: two columns */
body.desk [data-screen="plan"] .ibody { max-width: 1040px; }
body.desk .pcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
body.desk .pcol { display: flex; flex-direction: column; gap: 16px; }
body.desk [data-screen="plan"] .ifoot { max-width: 420px; }
body.desk .ittl.oneline { white-space: normal; }
/* paywall: slides left, offer right; slides fade */
body.desk .pwdark, body.desk .pwlight { max-width: 1120px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto; column-gap: 56px; align-content: center; padding: 40px 48px; }
body.desk .iview.dark { background: #1B2330; }
body.desk .slides { grid-column: 1; grid-row: 1 / span 2; height: 560px; border-radius: 28px; }
body.desk .pslide { transform: none; transition: opacity .9s ease; }
body.desk .collage { padding: 32px; gap: 18px; }
body.desk .pwtxt { grid-column: 2; grid-row: 1; text-align: left; padding: 0; align-self: end; }
body.desk .pwtxt h1 { font-size: 34px; }
body.desk .pwtxt p { font-size: 17px; }
body.desk .dots, body.desk .limited { justify-content: flex-start; justify-self: start; }
body.desk .pwbox { grid-column: 2; grid-row: 2; padding: 12px 0 0; align-self: start; }
body.desk .mockphone { transform: scale(1.25); }
body.desk .mgauge { transform: scale(1.3); }
body.desk .mpath { transform: scale(1.2); }
body.desk .mrevs { max-width: 440px; }
/* sheets become centred dialogs; pop-ups top right */
body.desk .sheet-bg { position: fixed; align-items: center; justify-content: center; }
body.desk .sheet { max-width: 480px; border-radius: 22px; }
body.desk .jtoast2, body.desk .toast { left: auto; right: 24px; top: 24px; width: 360px; position: fixed; }
body.desk .tutorbg { min-height: 0; padding-bottom: 8px; }
body.desk .pcard svg { max-height: 230px; }

/* ===== 21 Nov late: iPhone feedback ===== */
.phone { container-type: size; }
/* start: photos take about half the screen, buttons stay visible */
[data-screen="start"] .carousel { padding-top: 12px; gap: 8px; }
[data-screen="start"] .ctrack img { height: calc(25cqh - 16px); width: calc((25cqh - 16px) * .78); border-radius: 14px; }
[data-screen="start"] .ihero { gap: clamp(12px, 2.6cqh, 24px); padding-top: clamp(12px, 2.4cqh, 24px); }
[data-screen="start"] .ih1 { font-size: clamp(21px, 3.2cqh, 26px); }
body.desk [data-screen="start"] .ih1 { font-size: 46px; }
/* tailored cards slide up a moment after the answer */
.reveal { display: grid; gap: 10px; animation: rev .5s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes rev { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* confetti burst around the icon, then gentle floating */
.burst { position: relative; display: grid; place-items: center; }
.burst .iconf { position: absolute; inset: 50% auto auto 50%; width: 0; height: 0; }
.burst .iconf i { position: absolute; left: -5px; top: -7px; width: 10px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0;
  animation: cburst 1s cubic-bezier(.15, .85, .25, 1) var(--d) forwards, cfloat 2.6s ease-in-out calc(1s + var(--d)) infinite alternate; }
@keyframes cburst { 0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.3); } 20% { opacity: 1; } 100% { opacity: .95; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1); } }
@keyframes cfloat { from { opacity: .95; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); } to { opacity: .7; transform: translate(var(--tx), calc(var(--ty) + 10px)) rotate(calc(var(--rot) + 40deg)); } }
@media (prefers-reduced-motion: reduce) { .burst .iconf i { animation: none; opacity: .9; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); } }
.icenter .iconf:not(.burst .iconf) { display: none; }
/* tutor background gradients (switch in the review panel) */
.tbg { display: block; width: 100%; height: 100%; position: relative; overflow: hidden; }
.tbg img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; }
.g-ocean { background: linear-gradient(160deg, #38BDF8 0%, #2563EB 55%, #1E3A8A 100%); }
.g-sunset { background: linear-gradient(160deg, #FDBA74 0%, #F97316 45%, #DB2777 100%); }
.g-mint { background: linear-gradient(160deg, #A7F3D0 0%, #34D399 45%, #0D9488 100%); }
.g-violet { background: linear-gradient(160deg, #C4B5FD 0%, #8B5CF6 50%, #4338CA 100%); }
.tph .tbg img { height: 108%; }
/* loading: smaller tutor, one-line texts, graphs above the fold */
.ring.sm { width: 84px; height: 84px; }
.ring .rface { position: absolute; inset: 9px; border-radius: 50%; overflow: hidden; width: auto; height: auto; }
.ring .rface img { height: 120%; }
.tfaces .tf { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: inline-block; margin-left: -8px; border: 2px solid #fff; }
.tfaces .tf img { height: 115%; }
[data-screen="loading"] .load { gap: 8px; padding-top: 14px; }
[data-screen="loading"] .pct { font-size: 15px; }
[data-screen="loading"] .check { white-space: nowrap; font-size: 13.5px; }
[data-screen="loading"] .check em { flex: none; }
[data-screen="loading"] .lgraph { margin-top: 6px; min-height: 0; }
/* plan: compact so "Szczegóły" shows above the fold; grid on desktop */
.pgrid { display: flex; flex-direction: column; gap: 12px; }
.pcard.incl { gap: 6px; padding: 12px 14px; }
.pcard.incl div { font-size: 14.5px; }
.pspeed { display: grid; gap: 2px; }
.pspeed .ph2 { margin: 0; font-size: 19px; }
.pfc svg { max-height: 150px; }
body.desk .pgrid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "incl speed" "det fc"; gap: 20px 24px; align-items: start; }
body.desk .pgrid .incl { grid-area: incl; } body.desk .pgrid .pspeed { grid-area: speed; align-self: end; text-align: left; }
body.desk .pgrid .pspeed .ph2, body.desk .pgrid .pspeed .ptxt { text-align: left; }
body.desk .pgrid .pdet { grid-area: det; } body.desk .pgrid .pfc { grid-area: fc; }
body.desk .pfc svg { max-height: 220px; }
/* paywall: iPhone frames for lesson, path and readiness; fits one screen on a phone */
.iph { height: 100%; aspect-ratio: 9 / 19; max-height: 96%; border-radius: 34px; background: #0B0F16; padding: 7px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1.5px #3A4352; position: relative; }
.iph::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 15px; border-radius: 10px; background: #0B0F16; z-index: 2; }
.iscr { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #fff; display: grid; place-items: center; padding: 30px 8px 10px; }
.iscr .mockphone { width: 100%; box-shadow: none; padding: 0; transform: none; font-size: 10.5px; gap: 6px; }
.iscr .mockphone p { font-size: 11px; }
.iscr .ma span { height: 24px; }
.iscr .mpath { transform: scale(.82); }
.iscr.light .mpath .pn span { background: #F1F4F8; color: #8A97A8; border-color: #DCE3EC; }
.iscr.light .mpath .pn.done span { background: #22C55E; border-color: #22C55E; color: #fff; }
.iscr.light .mpath .pn.cur span { background: var(--blue); border-color: #9CCBFF; color: #fff; }
.iscr.light .mpath small { color: #5B6573; }
.iscr .mgauge { transform: scale(.62); color: #1F2A3A; }
.iscr.light .mgauge circle:first-child { stroke: #E6ECF2; }
.iscr.light .mgauge small { color: #5B6573; }
.iscr.light .gnote { color: #15803D; }
body.desk .iscr .mockphone, body.desk .iscr .mgauge, body.desk .iscr .mpath { transform: none; }
body.desk .iscr .mgauge { transform: scale(.8); }
.iview.dark .slides, .iview.pwl .slides { height: clamp(220px, calc(100cqh - 520px), 330px); }
.iview.dark .pwtxt, .iview.pwl .pwtxt { padding-top: 14px; gap: 4px; }
.iview.dark .pwtxt h1, .iview.pwl .pwtxt h1 { font-size: 22px; }
.iview.dark .dots, .iview.pwl .dots { margin: 6px 0 2px; }
.iview.dark .pwbox, .iview.pwl .pwbox { gap: 8px; padding-top: 6px; padding-bottom: 14px; }
.iview.dark .pwplan, .iview.pwl .pwplan { padding: 11px 14px; }
body.desk .iview.dark .slides, body.desk .iview.pwl .slides { height: 560px; }
/* payment sheet */
.sumrow.hi { display: grid; gap: 6px; background: #EEF6FF; border: 1.5px solid var(--blue); font-size: 16px; color: #1F2A3A; }
.sumrow .free { justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--pay); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.mback { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #E8F8EE; color: #11753E; }
.mback .ms { font-size: 32px; }
.mback b { display: block; font-size: 16px; }
.mback small { display: block; font-size: 12.5px; color: #3F6F52; }
.iproof b { white-space: nowrap; }
.ttop h1.oneline { white-space: nowrap; overflow: hidden; font-size: 22px; } .hear { white-space: nowrap; }
.burst { margin: 30px 0 34px; }
.pslide { display: flex; align-items: center; justify-content: center; }
.iph { height: 94%; width: auto; max-height: none; aspect-ratio: 9 / 19; flex: none; }
.iscr { padding: 26px 7px 8px; align-content: center; }
.iscr .mockphone > img { aspect-ratio: 4 / 3; }
.iph { overflow: hidden; }
.iscr .mpath { transform: none; gap: 3px; padding: 0; }
.iscr .mpath .pn { transform: translateX(calc(var(--x) * .45)); }
.iscr .mpath .pn span { width: 36px; height: 36px; font-size: 14px; border-width: 2px; }
.iscr .mpath small { font-size: 9.5px; }
.iscr .mgauge { transform: none; width: 120px; height: 120px; }
.iscr .mgauge b { font-size: 36px; }
.iscr .mgauge small { font-size: 10px; }
.iscr .gnote { bottom: -28px; font-size: 10px; }
body.desk .iscr .mgauge { transform: none; width: 170px; height: 170px; }
body.desk .iscr .mgauge b { font-size: 50px; }
body.desk .iscr .mpath .pn span { width: 48px; height: 48px; font-size: 17px; }
body.desk .iscr .mpath small { font-size: 11px; }
.iscr .mpath .pn span { width: 30px; height: 30px; font-size: 12px; } .iscr .mpath { gap: 1px; } .iscr .mpath small { font-size: 9px; }
.sheet .wallet { color: #1F2A3A; font-size: 16px; gap: 6px; } .sheet .wallet b { font-size: 16px; } .sheet .wallet.dark { color: #fff; } .sheet .wallet svg { width: 20px; height: 20px; }

/* ===== 22 Nov: spacing, confetti fall, taller paywall photos, real app screenshots ===== */
[data-screen="start"] .ctrack img { height: calc(24cqh - 14px); width: calc((24cqh - 14px) * .78); }
[data-screen="start"] .ihero { padding-top: clamp(24px, 4.8cqh, 48px); }
/* confetti: shoots up from the icon, falls all the way down, repeats */
.burst .iconf i { animation: cfall var(--t) cubic-bezier(.3, .1, .5, 1) var(--d) infinite; }
@keyframes cfall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  8% { opacity: 1; }
  35% { transform: translate(calc(var(--tx) * .6), var(--up)) rotate(calc(var(--rot) * .5)) scale(1); }
  100% { opacity: .9; transform: translate(var(--tx), 105cqh) rotate(calc(var(--rot) + 360deg)) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .burst .iconf i { animation: none; opacity: .9; transform: translate(var(--tx), calc(var(--up) * .3)) rotate(var(--rot)); } }
.icenter { overflow: visible; }
.iscroll:has(.burst) { overflow: hidden; }
/* right place: more white space */
[data-screen="right"] .icenter { gap: 24px; }
[data-screen="right"] .ibig { margin-top: 8px; }
/* paywall: about 18% taller photo area that shows the badge, still one screen */
.iview.dark .slides, .iview.pwl .slides { height: clamp(250px, calc(100cqh - 462px), 392px); }
.collage { height: 100%; grid-template-rows: 1fr 1fr; padding: 12px 16px 40px; }
.collage img { height: 100%; aspect-ratio: auto; }
.pbadge { bottom: 8px; }
.iview.dark .pwtxt h1, .iview.pwl .pwtxt h1 { font-size: 21px; }
.iview.dark .pwtxt p, .iview.pwl .pwtxt p { font-size: 14px; }
.iview.dark .pwplan, .iview.pwl .pwplan { padding: 9px 14px; }
.iview.dark .pwplan small, .iview.pwl .pwplan small { font-size: 12px; }
.iview.dark .pwbox .ibtn.big, .iview.pwl .pwbox .ibtn.big { height: 54px; }
/* real screenshots inside the iPhone frames */
.iscr.shot { padding: 0; display: block; background: #fff; }
.iscr.shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
body.desk .collage { padding: 28px 28px 52px; }
/* payment sheet money-back on one line */
.mback small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iopt.row { gap: 10px; } .iopt.row b { white-space: nowrap; } .iopt.row small { font-size: 13.5px; text-align: right; }

/* 22 Nov: Prof. Zenon's quote, start-at-today hint, bigger tutor face, details grid */
.tinfo .tq { font-size: 12px; font-style: italic; color: #7C5A12; line-height: 1.3; }
.dhint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 6px 0 2px; }
.dhint .ms { font-size: 18px; }
.ring .rface img { height: 230%; bottom: auto; top: -12%; }
.ring .rface > img:only-child { position: absolute; left: 50%; transform: translateX(-50%); }
.tph .tbg img[src*="zenon"] { height: 86%; } .ring .rface img[src*="zenon"] { height: 180%; top: -2%; } .tfaces .tf img[src*="zenon"] { height: 95%; }
.ring .rface img { top: -68%; } .ring .rface img[src*="zenon"] { height: 185%; top: -26%; }

/* 22 Nov (later): no notch over the screenshots, gauge centred in its phone, finite confetti */
.iph::before { display: none; }
.iph .iscr.readyscr { padding: 0; display: block; position: relative; container-type: size; }
.iph .iscr.readyscr .mgauge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78cqw, 56cqh); height: min(78cqw, 56cqh); margin: 0; }
.iph .iscr.readyscr .mgauge b { font-size: min(23cqw, 16cqh); }
.iph .iscr.readyscr .mgauge small { font-size: min(7cqw, 5cqh); }
.iph .iscr.readyscr .gnote { top: calc(100% + 4cqh); bottom: auto; left: 50%; transform: translateX(-50%); font-size: min(6.4cqw, 4.4cqh); }
.iph .iscr.readyscr .gnote .ms { font-size: 1.3em; }
/* the paywall text under the slides is the headline only now, so the photos get the freed space */
.iview.dark .slides, .iview.pwl .slides { height: clamp(250px, calc(100cqh - 440px), 410px); }
/* confetti: one burst up, falls off screen and fades; plays once (length set per screen in intake.js) */
.burst .iconf i { animation: cfall var(--t) cubic-bezier(.3, .1, .5, 1) var(--d) 1 both; }
@keyframes cfall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  8% { opacity: 1; }
  35% { transform: translate(calc(var(--tx) * .6), var(--up)) rotate(calc(var(--rot) * .5)) scale(1); }
  85% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--tx), 105cqh) rotate(calc(var(--rot) + 360deg)) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .burst .iconf i { animation: none; opacity: 0; } }
/* Pani Halina: her head is a bit larger in the photo than Marta's and Kuba's */
.tph .tbg img[src*="halina"] { height: 92%; } .tfaces .tf img[src*="halina"] { height: 105%; }
.ring .rface img[src*="halina"] { height: 200%; top: -40%; }

/* ===== 22 Nov (v32): founder's round ===== */
/* start: small gold ribbon before "Pass Guarantee" */
.iproof .gold { display: inline-grid; color: #E0A526; filter: drop-shadow(0 1px 1px rgba(150, 100, 0, .25)); }
.iproof .gold .ms { font-size: 22px; font-variation-settings: 'FILL' 1; }
/* right place: rating proof */
.iproof .stars { display: block; color: #F5A623; font-size: 12px; letter-spacing: 1px; line-height: 1.2; }
/* pace card: one line per sentence, shorter card */
[data-screen="pace"] .pacecard { gap: 4px; padding: 12px 14px; }
[data-screen="pace"] .pacecard .oneline { white-space: nowrap; overflow: hidden; font-size: 13.5px; }
[data-screen="pace"] .pacecard .pline { margin: 2px 0; }
/* city: in-page choice chips like the topics screen, instead of the phone's own picker */
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.cgrid .chip { height: 46px; padding: 0 12px; border: 1.5px solid #E6EAF0; border-radius: 14px; background: #fff; color: #1F2A3A; font-size: 14.5px; font-weight: 500; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, border-color .15s; }
.cgrid .chip.soft { color: #5B6573; }
.cgrid .chip.on { background: #EAF3FF; border-color: var(--blue); color: var(--navy); font-weight: 600; }
body.desk .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* cities read top to bottom, then the next column (founder 3 Dec 2026): A, B, C… down the first column, then on */
.cgrid.ccol { grid-auto-flow: column; grid-template-rows: repeat(var(--r2, 9), auto); }
body.desk .cgrid.ccol { grid-template-rows: repeat(var(--r3, 6), auto); }
.cwrap .cgrid + .cgrid { margin-top: 8px; }
body.desk .cwrap .cgrid + .cgrid { margin-top: 10px; }
body.desk .cgrid .chip:hover { border-color: #9CCBFF; }
/* plan: "Pass Guarantee included" in the forecast's finish-line green */
.pcard.incl div:nth-child(4) span { color: #22C55E; font-weight: 600; }
/* plan on desktop: headline centred in its own (invisible) box top right; details and forecast equal and aligned */
body.desk .pgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
body.desk .pgrid .pspeed { align-self: stretch; display: grid; place-content: center; text-align: center; padding: 0 12px; }
body.desk .pgrid .pspeed .ph2, body.desk .pgrid .pspeed .ptxt { text-align: center; }
body.desk .pgrid .pdet, body.desk .pgrid .pfc { align-self: stretch; height: 100%; align-content: start; }
body.desk .pgrid .pfc { grid-template-rows: auto 1fr; }
body.desk .pgrid .pfc svg { align-self: center; max-height: 240px; }
/* paywall guarantee: two short lines */
.pwg2 { display: grid; grid-template-columns: 22px auto; gap: 6px; align-items: center; justify-content: center; color: #86EFAC; text-align: left; }
.pwg2 > .ms { font-size: 20px; }
.pwg2 b { display: block; font-size: 13.5px; font-weight: 600; }
.pwg2 small { display: block; font-size: 11.5px; color: #A7B3C2; }
.pwg2 button { color: inherit; text-decoration: underline; font-size: inherit; }
.pwlight .pwg2 { color: #15803D; } .pwlight .pwg2 small { color: #5B6573; }
body.desk .pwg2 { justify-content: start; }
/* paywall: the app's header redrawn with the chosen tutor (positions are in screen widths) */
.iscr.shot { position: relative; container-type: size; }
.ahead { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; color: #fff; font-family: Lexend, sans-serif;
  background: radial-gradient(ellipse 60% 85% at 50% 45%, #2F6BFF 0%, #0E3BC4 45%, #031A6E 80%, #021554 100%); }
.ahead.q { height: 30.5cqw; } .ahead.p { height: 50.3cqw; }
.ahface { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; transform: translateX(-50%); }
.ahead.p .ahface { height: 92%; }
.ahead .ms { font-size: 1em; }
.ahx { position: absolute; left: 3.5cqw; top: 8cqw; font-size: 6cqw; display: grid; }
.ahtime { position: absolute; left: 12.5cqw; top: 5.2cqw; height: 10cqw; padding: 0 3.6cqw; border-radius: 5cqw; background: rgba(0, 10, 50, .55); display: grid; place-items: center; font-size: 4cqw; font-weight: 600; }
.ahexp { position: absolute; right: 6cqw; top: 19cqw; font-size: 6cqw; display: grid; }
.ahpill { position: absolute; top: 3.9cqw; height: 7.9cqw; padding: 0 3cqw; border-radius: 4cqw; background: rgba(0, 10, 50, .5); display: flex; align-items: center; gap: 1.4cqw; font-size: 3.2cqw; font-weight: 600; }
.ahpill.pl { left: 5.4cqw; } .ahpill.fire { right: 5.4cqw; }
.ahpill .flag { width: 3.6cqw; height: 2.6cqw; background: linear-gradient(#fff 50%, #DC143C 50%); border-radius: .4cqw; }
.ahpill.grp { top: 38cqw; left: 5.4cqw; font-size: 4cqw; gap: 0; }
.ahname { position: absolute; left: 5.4cqw; top: 30.5cqw; font-size: 3.3cqw; font-weight: 500; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.ahask { position: absolute; right: 5.6cqw; top: 37.3cqw; height: 9.7cqw; padding: 0 3.4cqw; border-radius: 2.6cqw; background: #3D8BFF; box-shadow: 0 .8cqw 0 #2B6FD6; display: flex; align-items: center; gap: 1.6cqw; font-size: 3.5cqw; font-weight: 600; white-space: nowrap; }
.ahask .ms { font-size: 4.6cqw; }
/* path: looks as if the learner scrolls down the path */
.scrollpath { position: absolute; inset: 0 0 auto 0; }
.scrollpath > img.base { width: 100%; height: auto; display: block; }
.pslide.on .scrollpath { animation: pathscroll 3.4s cubic-bezier(.45, 0, .3, 1) .9s both; }
@keyframes pathscroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 100cqh - 21cqw)); } }
@media (prefers-reduced-motion: reduce) { .pslide.on .scrollpath { animation: none; } }
.appnav { position: absolute; left: 0; right: 0; bottom: 0; height: 23cqw; background: url(../media/app/path.jpg) center bottom / 100% auto no-repeat; }
[data-screen="pace"] .pch { flex-wrap: nowrap; white-space: nowrap; font-size: 15px; }
[data-screen="pace"] .pch .ptag { margin-left: auto; }

/* ===== 22 Nov (v33) ===== */
/* start: photo rows 20% smaller; the three text sections share the freed space equally */
[data-screen="start"] .ctrack img { height: calc((24cqh - 14px) * .8); width: calc((24cqh - 14px) * .8 * .78); }
[data-screen="start"] .iscroll { display: flex; flex-direction: column; }
[data-screen="start"] .ihero { flex: 1; justify-content: space-evenly; gap: 16px; padding-top: 16px; padding-bottom: 24px; }
[data-screen="start"] .gearwrap { display: grid; gap: 10px; }
[data-screen="start"] .gearwrap .ilegal { margin-top: 0; }
body.desk [data-screen="start"] .iscroll { display: block; }
/* email: quiet skip link */
.gate .skip { justify-self: center; margin-top: 4px; padding: 8px 12px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
/* plan: small Polish flag for the local feel */
.plflag { display: inline-block; width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#fff 50%, #DC143C 50%); box-shadow: 0 0 0 1px #E3E8EE; flex: none; }
.pspeed .plflag.top { display: none; }
.pdet { position: relative; }
.pdet .plflag.side { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 15px; }
body.desk .pspeed .plflag.top { display: block; justify-self: center; margin: 0 auto 10px; }
body.desk .pdet .plflag.side { display: none; }

/* ===== 22 Nov (v34) ===== */
/* start: headline is two lines that always fit, subline one line with a small flag */
.ih1.oneline { white-space: nowrap; overflow: hidden; }
.ih1sub.oneline { white-space: nowrap; overflow: hidden; }
.plflag.inl { width: 18px; height: 12px; vertical-align: -1px; margin-left: 4px; border-radius: 2px; }
/* desktop: hover is a soft tint, never the blue outline of a chosen answer */
body.desk .iopt:hover, body.desk .tcard2:hover, body.desk [data-screen="topics"] .tgrid .chip:hover, body.desk .cgrid .chip:hover { border-color: #E6EAF0; background: #F8FAFC; }
body.desk .iopt.on:hover, body.desk .tcard2.on:hover, body.desk [data-screen="topics"] .tgrid .chip.on:hover, body.desk .cgrid .chip.on:hover { border-color: var(--blue); background: #EAF3FF; }
body.desk .phone.fresh .iopt:not(.on):hover, body.desk .phone.fresh .cgrid .chip:not(.on):hover { background: #fff; }
/* desktop topics: "Not sure yet" takes the free spot under "Alcohol and penalties" */
body.desk [data-screen="topics"] .tgrid .chip.full { grid-column: auto; grid-template-columns: 24px 1fr; justify-content: stretch; }
/* city: typed city in the same box */
.cgrid input.cityin { width: 100%; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy); outline: none; text-align: left; }
.cgrid input.cityin::placeholder { color: #8A97A8; font-weight: 500; }
/* desktop exam date: month calendar */
.cal { width: 100%; max-width: 400px; margin: 18px auto 0; border: 1.5px solid #E6EAF0; border-radius: 18px; padding: 14px 16px 16px; background: #fff; }
.calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calhead b { font-size: 17px; font-weight: 600; color: #1F2A3A; text-transform: capitalize; }
.calnav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #F1F5FA; }
.calnav:disabled { opacity: .3; cursor: default; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calgrid small { font-size: 12px; color: var(--muted); padding: 4px 0; text-transform: capitalize; }
.cday { height: 44px; border-radius: 12px; font-size: 15px; color: #1F2A3A; }
.cday:hover:not(:disabled):not(.on) { background: #F1F5FA; }
.cday.today { box-shadow: inset 0 0 0 1.5px #CFDDEF; }
.cday.on { background: var(--blue); color: #fff; font-weight: 600; }
.cday:disabled { color: #C8D0DA; cursor: default; }
/* plan flags: desktop 2x above the headline; phone on the right of the City row, centred on it */
body.desk .pspeed .plflag.top { width: 44px; height: 30px; border-radius: 5px; margin-bottom: 12px; }
.pdet .drow { grid-template-columns: 36px 1fr auto; }
.pdet .plflag.side { position: static; transform: none; width: 30px; height: 20px; border-radius: 4px; align-self: center; margin-right: 4px; }
body.desk .pdet .plflag.side { display: none; }

/* ===== 22 Nov (v35) ===== */
/* start (phone): photo rows back up 20%; headline sized from JS to the badge row */
[data-screen="start"] .ctrack img { height: calc((24cqh - 14px) * .96); width: calc((24cqh - 14px) * .96 * .78); }
[data-screen="start"] .ihero { gap: 12px; padding-top: 12px; padding-bottom: 16px; }
[data-screen="start"] .ih1[data-fitw] { text-align: center; line-height: 1.18; }
[data-screen="start"] .ih1sub[data-fitw] { text-align: center; }
/* pace tiers */
.ptag.steady { background: #DCEBFF; color: #1D4ED8; }
.ptag.target { background: #CFF5DC; color: #15803D; }
.ptag.active { background: #FDECB5; color: #B45309; }
.ptag.fast { background: #FFE1D6; color: #C2410C; }
/* loading: every step on one line so the "Ready" ticks line up */
[data-screen="loading"] .check .ctext { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
/* plan flags: desktop inline after the headline; phone right after the city name, same height as the text */
.plflag.hd { display: none; }
body.desk .plflag.hd { display: inline-block; width: 24px; height: 16px; margin-left: 10px; vertical-align: 1px; border-radius: 3px; }
body.desk .pspeed .plflag.top { display: none; }
.plflag.ct { width: 21px; height: 14px; border-radius: 2.5px; margin-left: 2px; }
body.desk .plflag.ct { display: none; }
.pdet .drow { grid-template-columns: 36px 1fr; }
/* paywall readiness phone: title on top, one-line guarantee under the gauge */
.iph .iscr.readyscr .rtitle { position: absolute; left: 0; right: 0; top: 13cqh; text-align: center; font-size: min(8.6cqw, 6cqh); font-weight: 700; color: #1F2A3A; }
.iph .iscr.readyscr .gnote { font-size: min(5.3cqw, 3.8cqh); white-space: nowrap; }
.pwlight .iph .iscr.readyscr .rtitle { color: #1F2A3A; }
/* payment sheet: about 10% taller, plain plan line, card logos */
.sheet { gap: 13px; padding-top: 26px; padding-bottom: 28px; }
.sheet .wallet.blikw { font-weight: 500; }
.sheet .wallet.blikw img { height: 22px; width: auto; border-radius: 4px; }
.sumplain { height: 52px; border: 1px solid #E3E8EE; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 0 12px; font-size: 15px; font-weight: 400; color: #1F2A3A; white-space: nowrap; overflow: hidden; }
.cards { display: flex; justify-content: center; gap: 8px; padding-top: 2px; }
.cards .cl { width: 44px; height: 28px; }
[data-screen="start"] .ihero .proofs { justify-content: space-between; padding: 0 6px; }
.iview.dark .slides, .iview.pwl .slides { height: clamp(250px, calc(100cqh - 380px), 470px); }
/* payment sheet: trust line under the card marks */
.secure { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.secure .ms { font-size: 15px; }
.secure b { font-family: Arial, sans-serif; font-weight: 800; font-size: 14px; color: #635BFF; letter-spacing: -.3px; }
.sheet p.secure { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }

/* ===== 22 Nov (v37) ===== */
/* start (phone): equal space left of 1M+, between the two badges and right of Pass Guarantee (measured across the full screen) */
[data-screen="start"] .ihero .proofs { justify-content: space-evenly; gap: 0; padding: 0; margin-left: calc(-1 * var(--gl)); margin-right: calc(-1 * var(--gr)); }
/* loading: bold "official" stays inline; small flag after the question count */
.laurel small b { display: inline; font-size: inherit; line-height: inherit; font-weight: 700; color: #1F2A3A; }
.plflag.qb { width: 24px; height: 16px; margin-left: 8px; vertical-align: 3px; border-radius: 3px; }

/* ===== 22 Nov (v38) ===== */
/* tutor (phone): photos shrink with the screen height so the note sits just above the fold */
.tph { aspect-ratio: auto; height: clamp(96px, min(calc((100cqh - 392px) / 2), calc((100cqw - var(--gl) - var(--gr) - 12px) / 2 - 6px)), 400px); }
.tgrid2 { padding-top: 10px; padding-bottom: 4px; }
.tinfo { padding: 8px 12px 10px; }
.hear { margin-top: 2px; }
.tnote { padding: 6px var(--gr) 10px var(--gl); line-height: 1.35; }
body.desk .tph { height: auto; aspect-ratio: 1 / 1; }
/* payment sheet: "Pay by card" is a soft blue, not a heavy block */
.sheet .ibtn[data-act="paymode"] { background: #EEF5FF; color: #1D5FD1; border: 1px solid #CFE0F7; box-shadow: none; font-weight: 600; }
.sheet .ibtn[data-act="paymode"] .ms { color: #3D82F0; }

/* ===== 22 Nov (v40) ===== */
/* start (phone): bottom photo row fades out over its lower quarter */
[data-screen="start"] .crow.r2 { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
/* paywall: small "(zero payment)" under Start Free Trial */
.pwbox .zeropay { display: block; text-align: center; font-size: 12px; color: #8A95A5; margin-top: -4px; }
.pwlight .pwbox .zeropay { color: #6B7686; }
/* payment sheet: card icon after the words, like the other methods */
.sheet .ibtn[data-act="paymode"] { gap: 8px; }
/* paywall: "No payment needed" beside Start Free Trial, smaller */
.pwbox .ibtn.big .nopay { font-size: 13px; font-weight: 500; opacity: .9; margin-left: 10px; white-space: nowrap; }
.pwbox .ibtn.big { justify-content: center; gap: 10px; }
.pwbox .ibtn.big .nopay { margin-left: 0; }
/* paywall v42: "Start Free Trial" with "Try for 0.00 zł" underneath; double space above the button and below it, "or choose another plan" centred in that space */
.iview.dark .pwbox .ibtn.big, .iview.pwl .pwbox .ibtn.big { flex-direction: column; gap: 1px; height: 58px; line-height: 1.15; }
.pwbox .ibtn.big .nopay { font-size: 12.5px; font-weight: 500; opacity: .92; }
.iview.dark .pwbox, .iview.pwl .pwbox { padding-top: 14px; }
.pwbox .zeropay { margin: 12.5px 0; line-height: 17px; font-size: 12.5px; }
.iview.dark .slides, .iview.pwl .slides { height: clamp(220px, calc(100cqh - 420px), 470px); }

/* ===== 22 Nov (v43): paywall without slide titles; the phone visuals take all spare height ===== */
body:not(.desk) .iview.dark #pwscroll, body:not(.desk) .iview.pwl #pwscroll { display: flex; flex-direction: column; }
body:not(.desk) .iview.dark .slides, body:not(.desk) .iview.pwl .slides { flex: 1 1 auto; height: auto; min-height: 220px; }
body:not(.desk) .iview.dark .pwtxt, body:not(.desk) .iview.pwl .pwtxt { padding-top: 10px; }
.iview.dark .pwbox, .iview.pwl .pwbox { padding-bottom: 10px; }
/* photo collage: bottom row fades out over its lower quarter, like the start page */
.collage img:nth-child(n+4) { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }

/* ===== 22 Nov (v44): paywall photos fade from halfway; badge sits on the bottom photos in a see-through box; button lifted ===== */
.collage img:nth-child(n+4) { -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.collage { padding-bottom: 12px; }
.pbadge { bottom: 14%; background: rgba(20, 26, 38, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 2; }
.pwlight .pbadge { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .7); }
body.desk .collage { padding-bottom: 28px; }
/* the room won from the badge row goes to the lower block, so dots and button sit a little higher */
body:not(.desk) .iview.dark .pwbox, body:not(.desk) .iview.pwl .pwbox { gap: 12px; }
body:not(.desk) .iview.dark .pwbox .pwg, body:not(.desk) .iview.pwl .pwbox .pwg { margin-top: 6px; }

/* ===== 22 Nov (v45): phone paywall badge lower, so button-to-badge gap matches button-to-plan-card gap (about 66 px) ===== */
body:not(.desk) .pbadge { bottom: 25px; }

/* ===== 22 Nov (v46): desktop start keeps 1M+ where it is; Pass Guarantee sits centred over the Automatic button ===== */
body.desk .dhero .proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
body.desk .dhero .proofs .iproof:first-child { justify-self: start; }
body.desk .dhero .proofs .iproof:last-child { justify-self: center; }

/* ===== 22 Nov (v46): paywall headline per slide on desktop only (no room on phones); desktop dots centred over "Free" ===== */
body:not(.desk) .pwtxt .pwhead { display: none; }
body.desk .pwtxt { text-align: center; }
body.desk .pwtxt .pwhead { font-size: 26px; line-height: 1.2; text-wrap: balance; margin-bottom: 4px; }
body.desk .pwtxt .dots { justify-content: center; justify-self: stretch; }

/* pricing B preview */
.pwanchor { text-align: center; font-size: 12.5px; color: #AAB4C3; margin-top: -4px; }
.pwlight .pwanchor { color: #5B6B80; }
.bliknote { text-align: center; font-size: 12.5px; color: #5B6B80; margin: 2px 0 4px; }
.pwbox .trialsub { display: block; text-align: center; font-size: 12.5px; line-height: 17px; color: #AAB4C3; margin: 10px 0 -6px; }
.sheet .sumplain.trialsum { display: block; height: auto; padding: 9px 10px; font-size: 14px; line-height: 20px; text-align: center; white-space: normal; }
.sheet .sumplain.trialsum b { font-weight: 600; }
.sheet .cardlink { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; font-size: 15px; font-weight: 600; color: #3A4CC8; }
.sheet .cardlink .ms { font-size: 20px; }
/* 22 Nov: summary without a box; card as a bordered button like BLIK */
.sheet .sumplain { border: 0; background: transparent; height: auto; padding: 0 4px; }
.sheet .cardlink { height: 52px; border-radius: 14px; border: 1px solid #E3E8EE; background: #fff; color: #1F2A3A; font-size: 16px; font-weight: 500; }
.sheet .cardlink .ms { color: #3A4CC8; }
.sheet h2 { text-align: center; padding: 0 36px; }
.sheet .mback { display: flex; justify-content: center; align-items: center; gap: 10px; text-align: center; }
body:not(.desk) .iview.dark .pwbox, body:not(.desk) .iview.pwl .pwbox { padding-bottom: 21px; } /* 3 Dec 2026 (founder): half the space under the last line (34 → 17 px seen); the picture above gets the room */

/* ===== 22 Nov (v51): legal footer on every screen, trial line on the paywall, terms tick box on the payment sheet (drafts in ../legal/) ===== */
.lfoot { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1px 12px; padding: 4px var(--gr) 6px var(--gl); font-size: 10.5px; line-height: 1.45; }
.lfoot a, .lfoot button { color: #8A94A6; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.lfoot a:hover, .lfoot button:hover { text-decoration: underline; }
body.desk .lfoot { padding: 28px 24px 36px; font-size: 13px; gap: 6px 20px; }
.pwbox .trlegal { display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.4; color: #9AA7B5; text-align: center; }
.pwlight .pwbox .trlegal { color: #5B6676; }
.pwbox .trlegal + .zeropay { margin-top: 6px; }
.sheet .agree { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #F4F7FB; font-size: 13px; line-height: 1.4; color: #1F2A3A; text-align: left; cursor: pointer; }
.sheet .agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #2F80ED; cursor: pointer; }
.sheet .agree a { color: #2F80ED; }
.sheet .agree.err { box-shadow: 0 0 0 2px #E5484D inset; animation: agshake .3s; }
@keyframes agshake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
/* the trial line and footer need room on small phones (375×667): the photo area may shrink further */
body:not(.desk) .iview.dark .slides, body:not(.desk) .iview.pwl .slides { min-height: 150px; }

/* ===== 22 Nov (v53): terms as one plain line under the money-back box, no tick box ===== */
.sheet p.agree { display: block; padding: 0; background: none; border-radius: 0; margin-top: -4px; font-size: 12px; line-height: 1.4; color: #5B6676; text-align: center; cursor: default; }

/* ===== 23 Nov (v56) ===== */
/* start (phone): bottom photo row fades from about half its height, eased so there is no visible edge */
[data-screen="start"] .crow.r2 { -webkit-mask-image: linear-gradient(#000 50%, rgba(0,0,0,.86) 60%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.32) 84%, rgba(0,0,0,.1) 94%, transparent); mask-image: linear-gradient(#000 50%, rgba(0,0,0,.86) 60%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.32) 84%, rgba(0,0,0,.1) 94%, transparent); }
/* "first try" screen: the fail-rate sentence stands out */
.isub .hl { color: #1F2A3A; font-weight: 700; }
/* "right place" (no subline since v56): title stays put; badges and the line share the space down to Continue in equal gaps */
[data-screen="right"] .icenter { gap: 0; padding-bottom: 0; }
[data-screen="right"] .icenter .ibig { margin-top: 32px; }
[data-screen="right"] .icenter .rproofs, [data-screen="right"] .icenter .isub.small { margin-top: auto; }
[data-screen="right"] .icenter .isub.small { margin-bottom: auto; }
[data-screen="right"] .icenter .rproofs, [data-screen="right"] .icenter .isub.small { padding-top: 10px; } /* matches the 10 px the button bar adds below the line */
body.desk [data-screen="right"] .icenter { gap: 24px; padding-bottom: 30px; }
body.desk [data-screen="right"] .icenter .ibig { margin-top: 8px; }
body.desk [data-screen="right"] .icenter .rproofs, body.desk [data-screen="right"] .icenter .isub.small { margin: 0; padding-top: 0; }

/* ===== 23 Nov (v56): loading page version 2 (?load=2 or the review panel) ===== */
/* 1) official questions: headline with the flag, subline */
.laurel.off2 b { font-size: 23px; line-height: 1.2; text-wrap: balance; }
.laurel.off2 small { margin-top: 5px; font-size: 13px; }
/* 2) the app's Lessons tab, drawn like platform/src/ui/Home.tsx and its globals.css, at 412 px wide and scaled to fit */
.lgraph.v2 { gap: 10px; }
.apbox { position: relative; width: min(300px, 100%); height: clamp(280px, calc(100cqh - 450px), 420px); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #E3E8EE, 0 14px 32px rgba(20, 40, 80, .13); flex: none; }
.ap-in { position: absolute; top: 0; left: 0; width: 412px; transform-origin: 0 0; font-family: 'Lexend', sans-serif; }
.ap-in.anim { transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.ap-hero { --pw: 326px; --edge: #011658; position: relative; height: 185px; color: #fff; background-color: var(--edge); background-repeat: no-repeat; background-size: var(--pw) auto; background-position: center calc(32px - .1947 * var(--pw)); }
.ap-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 22, 80, .35) 0, rgba(6, 22, 80, 0) 34%, rgba(6, 22, 80, 0) 70%, rgba(6, 22, 80, .3) 100%),
    linear-gradient(90deg, var(--edge) calc(50% - var(--pw) / 2), rgba(1, 22, 88, 0) calc(50% - var(--pw) / 2 + 48px), rgba(1, 22, 88, 0) calc(50% + var(--pw) / 2 - 48px), var(--edge) calc(50% + var(--pw) / 2)); }
.ap-hero > * { position: absolute; z-index: 1; }
.ap-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 15px; background: rgba(20, 44, 120, .62); color: #fff; font-weight: 600; font-size: 13px; }
.ap-chip .ms { font-size: 16px; }
.ap-chip .flame { color: #F2B01E; }
.ap-chip .plflag { width: 18px; height: 12px; border-radius: 2px; box-shadow: none; }
.ap-chip.tl { top: 14px; left: 20px; } .ap-chip.tr { top: 14px; right: 20px; } .ap-chip.bl { bottom: 14px; left: 20px; }
.ap-tname { bottom: 52px; left: 20px; font-size: 13px; font-weight: 500; opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 40, .5); }
.ap-ask { bottom: 14px; right: 20px; display: inline-flex; align-items: center; gap: 6px; height: 33px; padding: 0 13px; border-radius: 12px; background: #2E9BFF; color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 3px 0 #1B7FE3; }
.ap-ask .ms { font-size: 17px; }
.ap-body { padding: 0 20px 60px; }
.ap-plan { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: 13px; font-weight: 500; color: #5B6B7F; }
.ap-plan .ms { font-size: 17px; color: #2E9BFF; }
.ap-st { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.ap-st.on { opacity: 1; transform: none; }
.ap-k { margin: 30px 0 0; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #A9C4E0; }
.ap-h { display: flex; align-items: center; gap: 14px; margin: 2px 0 26px; color: #8FB5DB; font-size: 22px; font-weight: 500; }
.ap-h::before, .ap-h::after { content: ""; flex: 1; height: 2px; background: #CFE0F2; border-radius: 2px; }
.ap-path { position: relative; }
.ap-path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ap-path path { fill: none; stroke: #EEF0F3; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset .28s linear; }
.ap-path path.on { stroke-dashoffset: 0; }
.ap-node { position: absolute; width: 106px; margin-left: -53px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ap-node.locked { --c: #ABABAB; --cd: #8F8F8F; --ring: #F3F3F3; }
.ap-node.active { --c: #F4603A; --cd: #D5461F; --ring: #FBB7A5; }
.ap-disc { position: relative; width: 61px; height: 61px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 5px 0 var(--cd), 0 0 0 5px var(--ring), 0 5px 0 5px var(--ring); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
.ap-disc > .ms { font-size: 29px; }
.ap-badge { position: absolute; right: -5px; bottom: -6px; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; background: #A3A3A3; color: #fff; }
.ap-badge .ms { font-size: 12px; }
.ap-lbl { margin-top: 15px; font-size: 12px; font-weight: 500; line-height: 1.25; color: #9AA0A6; max-width: 96px; text-wrap: balance; transition: opacity .3s .12s; }
.ap-node.active .ap-lbl { color: #1D4E89; font-weight: 600; }
.ap-focus { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; padding: 2px 7px 2px 5px; border-radius: 9px; background: #FDE7E0; color: #D5461F; font-size: 10.5px; font-weight: 600; white-space: nowrap; transition: opacity .3s .2s; }
.ap-focus .ms { font-size: 12px; }
.ap-node.pre .ap-disc { transform: scale(.2); opacity: 0; }
.ap-node.pre .ap-lbl, .ap-node.pre .ap-focus { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ap-node.active:not(.pre) .ap-disc { animation: appulse 2.2s ease-in-out .5s infinite; }
  @keyframes appulse { 50% { box-shadow: 0 5px 0 var(--cd), 0 0 0 8px var(--ring), 0 5px 0 8px var(--ring); } }
}

/* ===== 23 Nov (v57) ===== */
/* start: review star before "1M+" */
.iproof .rstar { display: inline-grid; color: #F5A623; margin-right: 2px; }
.iproof .rstar .ms { font-size: 22px; font-variation-settings: 'FILL' 1; }
/* paywall lesson phone: real lesson cards (390 px wide app frame mapped to cqw) scroll up one by one; counter and bar move with them */
.lessonshot { overflow: hidden; }
.lessonshot .lwin { position: absolute; left: 0; right: 0; top: 41.54cqw; bottom: 19.74cqw; overflow: hidden; background: #fff; }
.lessonshot .lstrip { --n: 0; transform: translateY(calc(-2.6cqw - var(--n) * 155.13cqw)); transition: transform .75s cubic-bezier(.45, 0, .3, 1); }
.lessonshot .lstrip img { display: block; width: 100%; height: 155.13cqw; }
.lessonshot[data-step="1"] .lstrip { --n: 1; } .lessonshot[data-step="2"] .lstrip { --n: 2; } .lessonshot[data-step="3"] .lstrip { --n: 3; }
.iscr.lessonshot > img.lhead { position: absolute; left: 0; top: 0; width: 100%; height: 41.54cqw; }
.iscr.lessonshot > img.lfoot { position: absolute; left: 0; bottom: 0; width: 100%; height: 19.74cqw; }
.lessonshot .lcount { position: absolute; right: 7.9cqw; top: 28.95cqw; line-height: 4.64cqw; font: 500 3.2cqw/4.64cqw Lexend, sans-serif; color: #8A9099; }
.lessonshot .lbar { position: absolute; left: 5.13cqw; top: 38.46cqw; height: 1.54cqw; width: 5.61cqw; border-radius: .77cqw; background: #2E9BFF; transition: width .75s cubic-bezier(.45, 0, .3, 1); }
.lessonshot[data-step="1"] .lbar { width: 11.22cqw; } .lessonshot[data-step="2"] .lbar { width: 16.83cqw; } .lessonshot[data-step="3"] .lbar { width: 22.44cqw; }
.lessonshot.noanim .lstrip, .lessonshot.noanim .lbar { transition: none; }
.ahead.l { height: 24.62cqw; }
.ahead.l .ahx { left: 5.13cqw; top: 8.2cqw; width: 8.2cqw; height: 8.2cqw; border-radius: 50%; background: rgba(0, 10, 50, .45); place-items: center; font-size: 5cqw; }
.ahead.l .ahask { right: 5.13cqw; top: 8.7cqw; height: 7.2cqw; padding: 0 3.6cqw; border-radius: 3.6cqw; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .45); font-size: 3.3cqw; }
@media (prefers-reduced-motion: reduce) { .lessonshot .lstrip, .lessonshot .lbar { transition: none; } }

/* ===== 23 Nov (v58): loading v2 tidy-up, plan forecast grows ===== */
/* official questions: headline and subline each on one line between the laurels, tutors 25% bigger, block lower on the page */
.offwrap { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; padding-top: clamp(12px, calc(100cqh - 760px), 56px); }
.laurel.off2 { width: 100%; justify-content: center; }
.laurel.off2 > span { min-width: 0; flex: 0 1 auto; }
.laurel.off2 b, .laurel.off2 small { white-space: nowrap; overflow: hidden; }
.lgraph.v2 .tfaces .tf { width: 58px; height: 58px; margin-left: -10px; }
.ap-path path { transition-duration: .42s; }
.ap-in.anim { transition-duration: .9s; }
.ap-disc { transition-duration: .5s, .25s; }
/* plan page: the forecast line and its area grow from today to the exam date, then the 90+ end point appears */
@media (prefers-reduced-motion: no-preference) {
  .fcsvg.grow .fcrect { transform: scaleX(0); animation: fcgrow 2s cubic-bezier(.45, .05, .25, 1) .35s forwards; }
  .fcsvg.grow .fcend { opacity: 0; animation: fcend .45s ease-out 2.2s forwards; }
  @keyframes fcgrow { to { transform: scaleX(1); } }
  @keyframes fcend { to { opacity: 1; } }
}

/* ===== 23 Nov (v59): loading v2 path runs to "After theory" (its stage label carries the app's FREE tag) ===== */
.ap-free { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 9px; background: #E3F6EA; color: #1FA35A; font-size: 11px; font-weight: 600; vertical-align: middle; letter-spacing: .04em; }
/* tall enough that the last view holds the "Exam readiness" heading, its four steps and "After theory" */
.apbox { height: clamp(405px, calc(100cqh - 450px), 430px); }

/* ===== 23 Nov (v60): loading steps as three bars that fill left to right (founder's IQ-test recording) ===== */
.lsteps { width: 100%; display: flex; flex-direction: column; gap: 14px; margin: 4px 0 2px; }
.lstep .lrow { display: flex; align-items: center; gap: 10px; }
.lstep .ctext { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; font-size: 14.5px; font-weight: 500; color: #9AA4B0; transition: color .3s; }
.lstep.on .ctext, .lstep.ok .ctext { color: #1F2A3A; }
.lstep em { flex: none; font-style: normal; font-size: 12.5px; color: #8A9099; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; }
.lstep em .ms { font-size: 19px; color: var(--blue); }
.lstep .lbar { margin-top: 7px; height: 4px; border-radius: 2px; background: #E9EDF2; overflow: hidden; }
.lstep .lbar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--blue); transition: width .1s linear; }

/* ===== 23 Nov (v61): loading without the ring, bigger path box; plan page support and money-back lines ===== */
[data-screen="loading"] .load { padding-top: 22px; }
[data-screen="loading"] .ittl { margin-bottom: 4px; }
.apbox { width: min(340px, 100%); height: clamp(405px, calc(100cqh - 300px), 480px); }
.offwrap { padding-top: clamp(16px, calc(100cqh - 640px), 90px); }
.drow .dsub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #1FA35A; }

/* ===== 23 Nov (v62): email tick box on one line; paywall phones with a thin bezel; path phone scrolls slowly, step by step ===== */
.consent { align-items: center; }
.consent .oneline { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.iph { padding: 3px; border-radius: 30px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px #4A5568; }
.iph .iscr { border-radius: 27px; }
.pslide.on .scrollpath { animation: pathsteps 7.2s linear .6s both; }
@keyframes pathsteps {
  0%, 8% { transform: translateY(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  20%, 28% { transform: translateY(calc((-100% + 100cqh - 21cqw) * .2)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  40%, 48% { transform: translateY(calc((-100% + 100cqh - 21cqw) * .4)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  60%, 68% { transform: translateY(calc((-100% + 100cqh - 21cqw) * .6)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  80%, 88% { transform: translateY(calc((-100% + 100cqh - 21cqw) * .8)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  100% { transform: translateY(calc(-100% + 100cqh - 21cqw)); }
}

/* ===== 23 Nov (v63): loading path ~15% slower and softer; paywall lesson phone scrolls through the first lesson ===== */
.ap-path path { transition: stroke-dashoffset .5s cubic-bezier(.4, 0, .3, 1); }
.ap-in.anim { transition: transform 1.25s cubic-bezier(.33, 0, .2, 1); }
.ap-disc { transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), opacity .3s; }
.ap-st { transition: opacity .5s, transform .5s; }
.lesscroll { overflow: hidden; }
.lesscroll .lswin { position: absolute; left: 0; right: 0; top: 41.54cqw; bottom: 19.74cqw; overflow: hidden; background: #fff; }
.lesscroll .lsstrip { transform: translateY(-2.6cqw); }
.lesscroll .lsstrip img { display: block; width: 100%; height: 155.13cqw; }
.lesscroll > img.lshead { position: absolute; left: 0; top: 0; width: 100%; height: 41.54cqw; }
.lesscroll > img.lsfoot { position: absolute; left: 0; bottom: 0; width: 100%; height: 19.74cqw; }
.ahead.les { height: 24.62cqw; }
.ahead.les .ahx { left: 5.13cqw; top: 8.2cqw; width: 8.2cqw; height: 8.2cqw; border-radius: 50%; background: rgba(0, 10, 50, .45); place-items: center; font-size: 5cqw; }
.ahead.les .ahask { right: 5.13cqw; top: 8.7cqw; height: 7.2cqw; padding: 0 3.6cqw; border-radius: 3.6cqw; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .45); font-size: 3.3cqw; }
.pslide.on .lesscroll .lsstrip { animation: lessonsteps 7s linear .6s both; }
@keyframes lessonsteps {
  0%, 12% { transform: translateY(-2.6cqw); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  30%, 42% { transform: translateY(calc(-2.6cqw - 155.13cqw)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  60%, 72% { transform: translateY(calc(-2.6cqw - 310.26cqw)); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
  90%, 100% { transform: translateY(calc(-2.6cqw - 465.39cqw)); }
}
@media (prefers-reduced-motion: reduce) { .pslide.on .lesscroll .lsstrip { animation: none; } }

/* ---------- v64: motive screen shows a real exam photo for the top worry topic (option M4) ---------- */
.mphoto { position: relative; width: min(300px, 86%); aspect-ratio: 16 / 10; margin: 18px auto 30px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .08); animation: mpin .6s cubic-bezier(.2, .8, .2, 1) both; }
.mphoto img { width: 100%; height: 100%; object-fit: cover; display: block; animation: mpzoom 6s ease-out both; }
.mpill { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 7px; border-radius: 15px; background: #fff; color: #0F172A; font-weight: 700; font-size: 13.5px; line-height: 1.2;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .18); animation: mpill .45s ease-out .45s both; }
.mpill > span { text-align: left; }
.mpill b { font-weight: inherit; white-space: nowrap; }
.mpill .ms { font-size: 20px; color: #22C55E; font-variation-settings: 'FILL' 1; flex: none; }
@keyframes mpin { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mpzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes mpill { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mphoto, .mphoto img, .mpill { animation: none; } }

/* ---------- v65: motive photos become three slides with dots (top three worry topics) ---------- */
.mphoto { margin-bottom: 12px; }
.mslide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.mslide.on { opacity: 1; }
.mphoto .mslide img { animation: none; transform: scale(1.07); transition: transform 3.2s ease-out; }
.mphoto .mslide.on img { transform: scale(1); }
.mslide .mpill { animation: none; opacity: 0; transform: translateY(8px); transition: opacity .4s ease .35s, transform .4s ease .35s; }
.mslide.on .mpill { opacity: 1; transform: none; }
.mdots { display: flex; justify-content: center; gap: 8px; margin: 0 0 26px; }
.mdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #D5DEE8; transition: background .3s, width .3s; }
.mdots button.on { width: 20px; border-radius: 4px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .mslide, .mslide img, .mslide .mpill { transition: none; } }

/* MOCK 24 Nov 2026: pass cards (one colour family: the paywall blue; no green tags) */
.pwlight .pwpass { gap: 12px; }
.pwlight .pcard { display: block; position: relative; padding: 12px 14px; }
.pwlight .pcard .ptop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pwlight .pcard em { text-align: right; }
.pwlight .pcard em small { font-weight: 400; }
.pwlight .pcard .pincl { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid #E7ECF2; font-size: 12.5px; color: #4A5565; }
.pwlight .pcard.mini { padding: 10px 14px; }
.pwlight .pcard.mini b { font-size: 15px; }
.pbadge2 { position: absolute; top: -9px; left: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; padding: 2px 8px; border-radius: 8px; background: var(--blue); color: #fff; }
.pwup { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #DCE3EC; background: #fff; }
.pwup p { flex: 1; font-size: 12px; font-weight: 400; line-height: 17.4px; color: #6B7686; } /* v70: same style as 'Practice questions and exams only' */
.pwup p b { font-weight: 400; }
.pwup button { border: 0; border-radius: 8px; padding: 6px 10px; background: var(--blue); color: #fff; font-weight: 700; font-size: 10.5px; letter-spacing: .3px; line-height: 1.3; } /* v71: slimmer, text the size of the MOST POPULAR badge */
.pwfree { display: block; width: 100%; text-align: center; font-size: 13px; font-weight: 400; line-height: 1.45; color: #A0A8B4; padding: 4px 0 2px; } /* v69: quiet light grey, same font and size as the guarantee line */

/* v2 (24 Nov): green Best value badge, features highlighted on one line */
.pbadge2.green { background: #15803D; }
.pwlight .pcard .pincl { font-weight: 600; color: #1F2A3A; white-space: nowrap; font-size: 12.5px; letter-spacing: -.1px; }

/* ===== 24 Nov (v76, founder): paywall features line in plain weight; on the phone the app screens are shown big, only
   their top part, fading out at the bottom (like the myDMV paywall); slower slides and scrolling ===== */
.pwlight .pcard .pincl, .pcard .pincl { font-weight: 400; }
.pslide { transition: opacity .9s ease, transform .9s ease; }
body:not(.desk) .pslide:has(.iph) { align-items: flex-start; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
body:not(.desk) .pslide .iph { height: auto; width: 76%; aspect-ratio: 9 / 19; margin-top: 16px; }
body:not(.desk) .iph .iscr.readyscr .rtitle { top: 7cqh; }
body:not(.desk) .iph .iscr.readyscr .mgauge { top: 30cqh; width: min(64cqw, 40cqh); height: min(64cqw, 40cqh); }
body:not(.desk) .iph .iscr.readyscr .mgauge b { font-size: min(19cqw, 12cqh); }
body:not(.desk) .iph .iscr.readyscr .gnote { top: calc(100% + 2cqh); }
.pslide.on .scrollpath { animation-duration: 10.5s; }
.pslide.on .lesscroll .lsstrip { animation-duration: 9.8s; }
body:not(.desk) .lesscroll .lswin { top: 17.5cqw; } /* the card's empty top hides under the lesson header, so the photo and title show in the cropped phone */

/* ===== 24 Nov (v77, founder): phone paywall, readiness slide: the phone is sized from the slide's height (not its width),
   so the smaller circle, the 95 and the guarantee line always sit above the fade, whatever the phone's screen height ===== */
body:not(.desk) .pslide .iph:has(.readyscr) { aspect-ratio: auto; height: 125%; }
body:not(.desk) .iph .iscr.readyscr .rtitle { top: 5cqh; font-size: min(7.6cqw, 5.4cqh); }
body:not(.desk) .iph .iscr.readyscr .mgauge { top: 31cqh; width: min(52cqw, 31cqh); height: min(52cqw, 31cqh); }
body:not(.desk) .iph .iscr.readyscr .mgauge b { font-size: min(15cqw, 9.5cqh); }
body:not(.desk) .iph .iscr.readyscr .mgauge small { font-size: min(5.4cqw, 3.4cqh); }
body:not(.desk) .iph .iscr.readyscr .gnote { top: calc(100% + 1.5cqh); font-size: min(5.2cqw, 3.4cqh); }
/* v78: the longer features line may wrap to a second line on narrow phones or in Polish, never wider than the card */
.pwlight .pcard .pincl, .pcard .pincl { white-space: normal; font-size: 12px; line-height: 1.35; letter-spacing: 0; }
.pwpass .pwplan { min-width: 0; max-width: 100%; }
.pwlight .pcard .pincl, .pcard .pincl { letter-spacing: -.15px; } /* v79: the shorter line fits on one line from 375px wide */

/* v80: Przelewy24 button and bank step */
.sheet .wallet.p24w { font-weight: 500; }
.sheet .wallet.p24w .p24logo { width: 46px; height: 21px; }
.sheet select.field { appearance: auto; background: #fff; }
.p24note { font-size: 12.5px; color: #5B6B80; text-align: center; margin: -2px 0 2px; }

/* 29 Nov 2026 (founder): "Save your plan" overlay on the plan screen, from the pace heading down; two taps to confirm the email */
.view.esopen { overflow: hidden; } /* the view is already positioned (absolute) */
.view.esopen .iscroll { overflow: hidden; }
.view.esopen .ifoot { visibility: hidden; }
.esheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-radius: 26px 26px 0 0; box-sizing: border-box;
  box-shadow: 0 -12px 34px rgba(16, 33, 64, .16); padding: 10px 22px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto; animation: esUp .45s .05s cubic-bezier(.2, .9, .3, 1) both; }
.esheet * { box-sizing: border-box; }
.esheet::before { content: ''; position: absolute; left: 0; right: 0; top: -46px; height: 46px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85)); }
@keyframes esUp { from { transform: translateY(100%); } to { transform: none; } }
.esheet .grab { flex: none; width: 40px; height: 5px; border-radius: 3px; background: #E3E8EE; margin: 0 auto 14px; }
.esheet .eic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: #EAF2FF; color: var(--blue, #3B82F6); display: grid; place-items: center; margin-bottom: 10px; }
.esheet .eic .ms { font-size: 26px; }
.esheet h2 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; color: #1F2A3A; }
.esheet .esub { font-size: 14.5px; line-height: 1.45; color: #5B6370; margin: 0 0 16px; }
.esheet label.elab { display: block; font-size: 13px; font-weight: 600; color: #1F2A3A; margin-bottom: 6px; }
.esheet input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 14px; border: 1.5px solid #D5DCE5; border-radius: 14px; outline: none; background: #fff; color: #1F2A3A; }
.esheet input[type=email]:focus { border-color: var(--blue, #3B82F6); box-shadow: 0 0 0 4px rgba(59, 130, 246, .14); }
.esheet .eerr { color: #D64545; font-size: 13px; margin: 6px 0 0; }
.esheet .consent { margin: 14px 0 18px; }
.esheet .ibtn { margin-top: auto; width: 100%; text-align: center; text-decoration: none; }
.esheet .ibtn:disabled { opacity: .6; }
.esheet .ibtn.ghost { margin-top: 10px; background: none; color: var(--blue, #3B82F6); box-shadow: none; border: 0; }
.esheet .efine { font-size: 12px; line-height: 1.4; color: #7C8591; margin: 10px 0 0; text-align: center; }
.esheet .efine a { color: inherit; text-decoration: underline; }
.econf { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #F2F7FF; border: 1.5px solid #CFE0FF;
  display: flex; flex-direction: column; gap: 3px; animation: ecIn .3s ease-out both; }
.econf[hidden] { display: none; }
@keyframes ecIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.econf small { font-size: 13px; color: #5B6370; }
.econf > b { font-size: 17px; color: #1F2A3A; word-break: break-all; }
.econf .esug { margin: 6px 0 2px; padding: 8px 10px; border-radius: 10px; background: #FFF6DB; font-size: 13.5px; color: #4A3B00; }
.econf .esug[hidden] { display: none; }
.econf .esug button { border: 0; background: none; color: var(--blue, #3B82F6); font: inherit; font-weight: 600; padding: 0 0 0 4px; cursor: pointer; }

/* ===== 3 Dec 2026 (founder): loading path 15% faster; then a short look at the Exams and Profile tabs ===== */
.ap-path path { transition: stroke-dashoffset .43s cubic-bezier(.4, 0, .3, 1); }
.ap-in.anim { transition: transform 1.06s cubic-bezier(.33, 0, .2, 1); }
.ap-disc { transition: transform .47s cubic-bezier(.34, 1.4, .64, 1), opacity .26s; }
.ap-st { transition: opacity .43s, transform .43s; }
/* the tour layer: same 412 px phone width as the path, scaled to the box */
.at-in { position: absolute; top: 0; left: 0; width: 412px; transform-origin: 0 0; font-family: 'Lexend', sans-serif; color: var(--ink); pointer-events: none; overflow: hidden; }
.at-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; display: flex; background: #fff; border-top: 1px solid #E8ECF1; transform: translateY(100%); transition: transform .45s cubic-bezier(.3, .7, .2, 1); z-index: 3; }
.at-in.nav .at-nav { transform: none; }
.at-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #A3ABB5; transition: color .25s; }
.at-tab .ms { font-size: 26px; }
.at-tab small { font-size: 12px; font-weight: 500; }
.at-tab.on { color: var(--blue); }
.at-tap { position: absolute; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(46, 155, 255, .25); opacity: 0; transform: scale(.4); }
.at-tap.go { animation: attap .55s ease-out; }
@keyframes attap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.at-scr { position: absolute; inset: 0 0 72px; background: #F3F5F8; padding: 22px 18px 0; transform: translateX(100%); transition: transform .5s cubic-bezier(.3, .7, .2, 1); overflow: hidden; }
.at-scr.on { transform: none; }
.at-h { font-size: 26px; font-weight: 600; margin: 2px 4px 16px; }
.at-h2 { font-size: 19px; font-weight: 600; margin: 18px 4px 10px; }
.at-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.at-lvl { background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 1px 0 #E6EAF0; }
.at-lvl b { font-size: 16px; font-weight: 600; margin-top: 8px; }
.at-lvl small, .at-row small, .at-r small { font-size: 13px; color: var(--muted); }
.at-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.at-ico .ms { font-size: 22px; }
.at-row { margin-top: 10px; background: #fff; border-radius: 18px; padding: 13px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 0 #E6EAF0; }
.at-row b { flex: 1; font-size: 15.5px; font-weight: 600; display: flex; flex-direction: column; gap: 1px; }
.at-row > .ms { color: #B4BCC6; }
.at-stack { display: flex; }
.at-stack i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 2px solid #fff; margin-left: -8px; }
.at-stack i:first-child { margin-left: 0; }
.at-stack .ms { font-size: 16px; }
.at-card { margin-top: 12px; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 0 #E6EAF0; }
.at-r { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.at-r + .at-r { border-top: 1px solid #EEF1F5; }
.at-r > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.at-r b { font-size: 15px; font-weight: 600; }
.at-ric { width: 34px; height: 34px; border-radius: 10px; background: #EEF5FD; color: var(--blue); display: grid; place-items: center; }
.at-r em { font-style: normal; font-size: 13px; font-weight: 600; color: #1FA35A; background: #E3F6EA; padding: 3px 10px; border-radius: 10px; }
.at-who { display: flex; align-items: center; gap: 12px; margin: 0 4px 4px; }
.at-av { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft, #DCEBFA); color: var(--blue); display: grid; place-items: center; }
.at-av .ms { font-size: 30px; }
.at-wtx { flex: 1; font-size: 22px; font-weight: 600; }
.at-gear { color: #A3ABB5; }
.at-guar { display: flex; align-items: center; gap: 14px; }
.at-guar b { font-size: 16px; font-weight: 600; }
.at-ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; flex: none; background: conic-gradient(#22C55E calc(var(--p) * 1%), #E4EEE8 0); display: grid; place-items: center; }
.at-ring span { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.at-parts { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.at-part { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.at-part b { color: var(--ink); font-weight: 600; }
.at-meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #EEF1F5; overflow: hidden; }
.at-meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: #22C55E; transition: width .8s cubic-bezier(.3, .7, .2, 1) .25s; }
.at-scr.on .at-meter i { width: var(--w); }
.at-ch { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.at-week { display: flex; justify-content: space-between; }
.at-week span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.at-week i { width: 34px; height: 34px; border-radius: 50%; background: #F1F3F6; display: grid; place-items: center; color: #fff; }
.at-week i .ms { font-size: 19px; }
.at-week i.f { background: #F2F4F7; transform: scale(.6); transition: transform .35s cubic-bezier(.34, 1.4, .64, 1) var(--d), background .2s var(--d); }
.at-scr.on .at-week i.f { background: #F4603A; transform: none; }
.at-week small { font-size: 11.5px; color: var(--muted); }
.at-tutor { margin-top: 12px; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 0 #E6EAF0; }
.at-tutor img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; object-position: top; }
.at-tutor span { flex: 1; display: flex; flex-direction: column; }
.at-tutor small { font-size: 12.5px; color: var(--muted); }
.at-tutor b { font-size: 16px; font-weight: 600; }
.at-tutor > .ms { color: #B4BCC6; }
/* the Exams tab's parts come in one after another */
.at-scr > * { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.at-scr.on > * { opacity: 1; transform: none; }
.at-scr.on > :nth-child(2) { transition-delay: .12s; } .at-scr.on > :nth-child(3) { transition-delay: .22s; } .at-scr.on > :nth-child(4) { transition-delay: .32s; }
.at-scr.on > :nth-child(5) { transition-delay: .42s; } .at-scr.on > :nth-child(6) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .at-scr, .at-nav, .at-scr > *, .at-meter i, .at-week i.f { transition: none; } .at-tap.go { animation: none; } }

/* ===== 3 Dec 2026 (founder): paywall path phone: the path runs 20% faster again (8.4 → 6.7 s), then three exam questions
   are answered and the readiness score fills to 95. On desktop the whole phone is seen, so the tab bar stays and Exams is tapped;
   on a phone only the top of it is seen, so there is no tab bar. The exam screen is scaled to fit what can be seen. ===== */
.pslide.on .scrollpath { animation-duration: 6.7s; }
.pt-in { position: absolute; top: 0; left: 0; transform-origin: 0 0; font-family: 'Lexend', sans-serif; color: var(--ink); pointer-events: none; overflow: hidden; z-index: 3; }
.iscr.pt-on .appnav { opacity: 0; }
.pt-in .at-nav.pt-nav { transform: none; z-index: 5; }
.pt-nav .at-tab { position: relative; }
.pt-scr { position: absolute; inset: 0; overflow: hidden; background: #fff; transform: translateX(100%); transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.pt-scr.on { transform: none; }
.pt-exw { position: absolute; left: 0; top: 0; width: 412px; transform-origin: 0 0; overflow: hidden; }
.pt-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid #E9ECF0; }
.pt-top > b { font-size: 16px; font-weight: 600; color: #1D4E89; }
.pt-x { width: 40px; height: 40px; border-radius: 50%; background: #F0F1F3; display: grid; place-items: center; color: #6B7280; flex: none; }
.pt-t { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; background: #F5F6F8; font-weight: 600; font-variant-numeric: tabular-nums; }
.pt-t .ms { font-size: 18px; color: var(--blue); }
.pt-prog { height: 6px; background: #F1F2F4; }
.pt-prog i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s; }
.pt-qs { display: flex; transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.pt-q { flex: none; width: 412px; padding: 14px 16px 18px; }
.pt-ph { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: #1D4E89; }
.pt-bar { flex: 1; height: 8px; border-radius: 4px; background: #F1F2F4; overflow: hidden; }
.pt-bar i { display: block; height: 100%; width: 100%; background: #F9A726; border-radius: 4px; }
.pt-q.run .pt-bar i { width: 45%; transition: width 2.6s linear; }
body:not(.desk) .pt-ph { display: none; }   /* on a phone the clock in the top bar is enough; the room goes to the photo */
body:not(.desk) .pt-top { padding-top: 12px; padding-bottom: 10px; }
.pt-card { border: 1.5px solid #E9ECF0; border-radius: 20px; overflow: hidden; background: #fff; }
.pt-card > img { display: block; width: 100%; aspect-ratio: 16 / 9; height: var(--ih, auto); object-fit: cover; background: #10151D; }
.pt-cin { padding: 14px 16px 16px; }
.pt-meta { font-size: 12.5px; color: #8A9099; margin-bottom: 8px; }
.pt-qt { font-size: 16.5px; font-weight: 500; line-height: 1.45; }
.pt-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pt-opt { position: relative; display: grid; place-items: center; min-height: 50px; border-radius: 14px; border: 1.5px solid #E9ECF0; background: #fff; box-shadow: 0 3px 0 #E3E6EB; font-size: 16.5px; font-weight: 600; transition: background .2s, border-color .2s; }
.pt-opt.sel { border-color: var(--blue); background: #F1F8FF; box-shadow: 0 3px 0 #B9DAF8; color: #1D4E89; }
.pt-opt .at-tap, .pt-next .at-tap, .pt-nav .at-tap { left: 50%; }
.pt-next { position: relative; display: grid; place-items: center; height: 52px; margin-top: 16px; border-radius: 16px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 3px 0 #1B7FE3; }
.pt-rw { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.pt-rt { font-size: 20px; font-weight: 600; }
.pt-gauge { position: relative; width: var(--rs); height: var(--rs); display: grid; place-items: center; }
.pt-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt-gauge div { position: relative; text-align: center; }
.pt-gauge b { display: block; font-size: calc(var(--rs) * .3); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.pt-gauge small { font-size: 14px; color: #5B6573; }
.pt-note { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: #15803D; }
.pt-note .ms { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .pt-scr, .pt-qs, .pt-opt, .pt-prog i, .pt-q.run .pt-bar i { transition: none; } }

/* 3 Dec 2026 (founder): desktop paywall on an invisible grid. The right column starts at the top of the picture and ends
   at its bottom: the headline at the top, "Nie teraz…" at the bottom, and the same space between every block in between
   (headline, the three passes, guarantee, button, link). The passes' badges stick out 9 px, so the space is measured to
   the badge. On a phone nothing changes (.pwright is not a box there). */
.pwright { display: contents; }
body.desk .pwright { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; grid-column: 2; grid-row: 1 / 3; align-self: stretch; }
body.desk .pwright > .pwtxt { padding: 0; margin: 0; }
body.desk .pwright > .pwtxt .pwhead { margin-top: -4px; }   /* the first line's own spacing, so the letters start at the picture's top */
body.desk .pwright > .pwbox { display: contents; }
body.desk .pwright .pwplan:has(.pbadge2) { margin-top: 9px; }
body.desk .pwright .pwfree { margin-bottom: -4px; }

/* 3 Dec 2026 (founder): desktop paywall B. Row 1: the headline and dots over the picture (4 Dec: nothing over the passes).
   Row 2: the picture, and next to it the passes, guarantee, button and link from
   the picture's top to its bottom with the same space between each (as in A). The picture is a little shorter (560 →
   490 px) so that space stays about the same as in A. */
body.desk .pwB { row-gap: 22px; }
body.desk .pwB > .pwtxt { grid-column: 1; grid-row: 1; align-self: start; text-align: center; padding: 0; }
body.desk .pwB > .pwtxt .dots { justify-content: center; justify-self: stretch; margin-top: 6px; }
body.desk .pwB > .slides { grid-row: 2; }
body.desk .iview.pwl .pwB > .slides, body.desk .iview.dark .pwB > .slides { height: 490px; }
body.desk .pwB > .pwright { grid-row: 2; }
