/* Lost Island Ink: page styles on top of lip.css (the Lost Island Press shell: header, menus, footer, fonts, buttons) */
img{height:auto}
h1{font-size:clamp(34px,4.4vw,52px);line-height:1.12}h2{font-size:clamp(28px,3.4vw,38px);line-height:1.2;margin-bottom:14px}h3{font-size:22px;line-height:1.25;margin-bottom:8px}
p{margin:0 0 1em}
:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:3px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.narrow{max-width:800px}.tc{text-align:center}
main{min-height:62vh;padding-bottom:70px}
header.top .wrap{display:flex;justify-content:space-between;height:64px}
header.top .logo img{height:38px;width:auto;aspect-ratio:auto;top:0}
header.top nav{display:flex;gap:30px;align-items:center}
header.top nav>a.buy{color:#fff;letter-spacing:.02em;font:700 15px var(--display);padding:9px 16px}
header.top nav>a[aria-current]{color:var(--text)}
header.top nav a#acctbtn.acctbtn{margin-left:2px}
.btn{font-size:19px;height:auto;padding:13px 26px;margin:0 10px 10px 0;cursor:pointer}
.btn.small{font-size:15px;padding:9px 16px;margin:0}
.btn.wide{display:flex;width:100%;margin-right:0}
.btn.ghost{color:var(--text)}
.btn:hover{background:#436ba2;color:#fff;transform:none}.btn:active{background:#3a5d90}
.btn.ghost:hover{background:rgba(198,208,220,.07)}
.eye{display:block;margin-bottom:12px;font:600 13px var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-hi)}
.lead{font-size:21px;line-height:1.6;color:var(--text-2)}
.flash{background:rgba(86,134,206,.12);border:1px solid rgba(86,134,206,.4);padding:12px 16px;border-radius:8px;color:var(--text)}.flash.error{background:rgba(255,120,120,.1);border-color:rgba(255,120,120,.45);color:#ffb4b4}

/* bands: full-width sections split by the Press fading rule */
.band{position:relative;padding:92px 0}
.band::after{content:"";position:absolute;left:50%;top:0;width:min(720px,72%);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(154,164,178,.34),transparent)}
.band.first::after{display:none}
.hcenter{text-align:center;margin:0 auto 52px;max-width:760px}.hcenter p{font-size:20px;color:var(--text-2);margin:0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.wide-left{grid-template-columns:1.15fr 1fr}.split.photo{grid-template-columns:.8fr 1.2fr}
.split>*{min-width:0}

/* hero (the Press quiz hero: compass ring behind, big headline) */
.hero{position:relative;padding-top:84px;padding-bottom:96px}
.hero::before{content:"";position:absolute;z-index:0;right:-120px;top:50%;width:700px;height:700px;margin-top:-350px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500' fill='none' stroke='%235686ce' stroke-width='1.5' stroke-linejoin='round'%3E%3Ccircle cx='250' cy='250' r='230'/%3E%3Ccircle cx='250' cy='250' r='176'/%3E%3Ccircle cx='250' cy='250' r='128' stroke-dasharray='2 6'/%3E%3Cpath d='M250 14 L262 238 L486 250 L262 262 L250 486 L238 262 L14 250 L238 238 Z'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.13;pointer-events:none}
.hero::after{content:"";position:absolute;z-index:0;left:-300px;bottom:-240px;width:620px;height:480px;border-radius:50%;background:radial-gradient(closest-side,rgba(46,55,71,.55),rgba(46,55,71,.28) 70%,transparent);pointer-events:none}
.hero>*{position:relative;z-index:1}
.hero h1{margin:0 0 22px}.hero .lead{max-width:24em;margin-bottom:28px}
.hero .trust{display:flex;align-items:center;gap:12px;color:var(--text-3);font-size:17px;margin-top:6px}.hero .trust b{color:var(--text);font-weight:500}
.shot{border-radius:12px;border:1px solid rgba(232,234,237,.09);box-shadow:0 24px 44px -24px rgba(0,0,0,.8)}
.frame{border-radius:12px;box-shadow:0 24px 44px -28px rgba(0,0,0,.8)}

/* cards (the Press .hf-card) */
.card,.box{position:relative;background:var(--base-2);border:1px solid rgba(232,234,237,.09);border-radius:12px;box-shadow:0 24px 44px -28px rgba(0,0,0,.7)}
.card{padding:32px 36px}.box{padding:22px 24px;margin:0 0 20px}.box h2{font-size:22px;margin-bottom:12px}.box small{font-weight:400;color:var(--text-3);font-size:.8em}
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feats .card{text-align:center;padding:30px 26px}.feats .card h3{margin-bottom:14px}.feats .card p{margin:0 0 .45em;font-size:18px}
.feats img{margin:0 auto}
.icon-ring{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;margin:0 auto 14px;background:rgba(86,134,206,.14);border:1px solid rgba(86,134,206,.35);color:var(--accent-hi);font:600 20px var(--display)}
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.quotes figure{margin:0}.quotes .card{height:100%;padding:28px}.quotes blockquote{margin:0 0 16px;font-size:19px;line-height:1.6;color:var(--text)}
.quotes figcaption{font-size:16px;color:var(--text-3)}.quotes figcaption strong{color:var(--text-2);font-weight:500}.stars{color:#e0b43f;letter-spacing:2px;font-size:15px}
.curr{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.curr li{background:var(--base-2);border:1px solid rgba(232,234,237,.09);border-radius:12px;padding:24px 26px;transition:border-color .2s,transform .2s}
.curr li:hover{border-color:rgba(86,134,206,.55)}
.curr .n{display:block;font:600 12.5px var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-hi);margin-bottom:8px}
.curr h3{margin-bottom:6px}.curr .sub{color:var(--text-3);font-size:16px;margin-bottom:10px}.curr p{margin:0;font-size:17.5px}
.steps{list-style:none;margin:0;padding:0;counter-reset:s}.steps li{counter-increment:s;display:flex;gap:16px;align-items:flex-start;margin-bottom:18px;font-size:20px}
.steps li::before{content:counter(s);flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font:700 17px var(--display);color:#fff;background:var(--accent)}
.video{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#0d0f14;box-shadow:0 24px 44px -28px rgba(0,0,0,.8);border:1px solid rgba(232,234,237,.09)}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.guar{display:grid;grid-template-columns:170px 1fr;gap:40px;align-items:center;max-width:820px;margin:0 auto}
.buyband{text-align:center}.buyband .price{font:500 clamp(40px,5vw,56px)/1 var(--display);color:#fff;margin:6px 0 4px}.buyband s{font-size:.5em;color:var(--text-3);margin-right:8px}
.buyband .card{max-width:640px;margin:0 auto;padding:44px 40px}
s{opacity:.7}

/* forms, tables, prose */
.form{max-width:460px;margin:20px 0}.form label{display:block;margin-bottom:16px;font-weight:500;color:var(--text)}
.form input{display:block;width:100%;margin-top:6px;padding:12px 14px;font:inherit;color:var(--text);background:rgba(255,255,255,.05);border:1px solid var(--line-strong);border-radius:8px}
.form input:focus{outline:2px solid var(--accent-hi);outline-offset:1px;border-color:transparent}
.small{font-size:15.5px;color:var(--text-3)}.hp{position:absolute;left:-9999px}
.prose h2{margin-top:1.6em}.prose li{margin-bottom:.4em}.prose h1{margin-bottom:.6em}
.tbl{border-collapse:collapse;width:100%;margin:10px 0 30px}.tbl th,.tbl td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--base-3)}.tbl th{font:600 12.5px var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--text-3)}
.ticks{list-style:none;padding:0;margin:0 0 14px}.ticks li{padding-left:1.6em;position:relative;margin-bottom:.35em}.ticks li:before{content:"✓";position:absolute;left:0;color:var(--accent-hi)}
.price{font-size:1.6rem;margin:0}.price s{font-size:1.1rem}
.checkout{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;padding-top:56px}
.pagehead{padding:56px 0 8px}

/* course portal + lessons */
.lcards{list-style:none;padding:0;margin:0 0 34px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.lcards a{display:block;height:100%;background:var(--base-2);border:1px solid rgba(232,234,237,.09);border-radius:12px;padding:20px 22px;color:var(--text-2);transition:border-color .2s}.lcards a:hover{border-color:rgba(86,134,206,.6);text-decoration:none}
.lcards strong{display:block;font:500 21px var(--display);color:var(--text)}.badge{display:block;font:600 12.5px var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-hi);margin-bottom:6px}
.lesson{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:40px;align-items:start;padding-top:36px}
.lside h1{font-size:32px;margin-bottom:14px}.mod{color:var(--text-3);font-size:16px;margin-bottom:.4em}
.bar-wrap{margin-bottom:16px}.bar-wrap .bar{background:var(--base-3);border-radius:20px;height:12px;overflow:hidden}.bar i{display:block;height:100%;background:var(--accent);border-radius:20px}.bar-wrap small{color:var(--text-3)}
.pager{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.pager .btn{margin:0;font-size:17px;padding:10px 16px}
.overview{margin-top:36px}[style*="a07f48" i]{color:var(--accent-hi)!important}
.beats{list-style:none;margin:0;padding:0}.beats li{margin-bottom:.8em}.beats small{display:block;color:var(--text-3);font-size:15px;line-height:1.4}
.check{display:block;margin-bottom:.5em;cursor:pointer}.check input{width:18px;height:18px;margin-right:8px;accent-color:var(--accent);vertical-align:-3px}
.gbeat{background:var(--base-2);border:1px solid rgba(232,234,237,.09);border-radius:12px;padding:18px 24px;margin-bottom:14px}.gbeat h2{font-size:24px;margin-bottom:.2em}.gbeat p{margin:0;color:var(--text-3)}

@media (max-width:1000px){
  .split,.split.wide-left,.split.photo,.checkout,.lesson,.guar{grid-template-columns:1fr;gap:30px}
  .feats,.quotes,.curr{grid-template-columns:1fr 1fr}.band{padding:64px 0}.hero{padding-top:56px;padding-bottom:64px}
  footer .cols{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .feats,.quotes,.curr{grid-template-columns:1fr}.split.photo img{max-width:340px}
  header.top .wrap{height:auto;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;gap:8px}
  header.top nav{gap:14px;flex-wrap:wrap}header.top nav>a:not(.btn):not(.acctbtn),header.top nav .gl>a{font-size:14px}
  .guar{text-align:center}.guar img{margin:0 auto}
  footer .cols{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
main>section.wrap.narrow,main>article.wrap,main>section.wrap:not([class*=" "]):not(.narrow){padding-top:56px}

footer .cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 72px}footer .cols .fbrand{grid-column:span 2}
footer .cols h2{margin-bottom:14px}
footer .flogo{display:block;margin:0 0 14px}footer .flogo img{height:auto;width:44px}
footer .fapp-link{display:flex;align-items:center;gap:14px}footer .fapp-link img{width:44px;height:auto;max-height:44px;object-fit:contain;flex:none}
@media (max-width:1000px){footer .cols .fbrand{grid-column:span 2}}
@media (max-width:700px){footer .cols .fbrand{grid-column:auto}}
footer .fapp .fapp-link img,footer .cols .fapp .fapp-link img{width:52px;height:auto;max-height:none;object-fit:contain}
footer .fapp-link img,footer .cols .fbrand .flogo.fapp-link img,footer .fapp .fapp-link img{width:48px!important;height:auto!important;margin:0!important}footer .fapp .fapp-link{margin-left:0}

/* ---- home page polish (2026-11-20) ---- */
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 0;padding:0}
.chips li{padding:7px 15px;border:1px solid var(--line-strong);border-radius:999px;font:500 15px var(--display);letter-spacing:.02em;color:var(--text-2);background:rgba(255,255,255,.03)}
.hero h1{font-size:clamp(40px,5.2vw,64px);letter-spacing:-.01em}
.hero h1 .gotisch{font-size:1.12em;color:var(--accent-hi)}
.hero .shot{border-radius:16px;box-shadow:0 30px 60px -28px rgba(0,0,0,.9),0 0 0 1px rgba(122,162,224,.18),0 0 90px -20px rgba(86,134,206,.35)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:-18px;padding:0;border:1px solid rgba(232,234,237,.09);border-radius:14px;background:var(--base-2);overflow:hidden;position:relative;z-index:2}
.stats>div{padding:26px 20px;text-align:center;border-left:1px solid rgba(232,234,237,.08)}.stats>div:first-child{border-left:0}
.stats b{display:block;font:600 clamp(30px,3.4vw,42px)/1 var(--display);color:#fff;margin-bottom:6px}.stats span{font-size:16.5px;color:var(--text-3)}
.feats .card.left{text-align:left}.feats .card.left h3{text-align:left}
.feats .card h3{font-size:24px}.feats .icon-ring{margin:0 auto 16px}.feats .card.left .icon-ring{margin-left:0}
.small2{font-size:17px;color:var(--text-3);margin:0 0 .6em}
.feats .ticks{margin:0}.feats .ticks li{font-size:18px;margin-bottom:.55em;line-height:1.45}.feats .ticks li:before{font-weight:700}
.seal{display:block;margin:6px auto 0;filter:drop-shadow(0 10px 24px rgba(86,134,206,.22))}
.guar.card{max-width:860px;padding:38px 44px;border-color:rgba(86,134,206,.35);background:linear-gradient(135deg,rgba(86,134,206,.10),var(--base-2) 55%)}
.guar .seal{margin:0}
.curr li{position:relative;overflow:hidden}.curr li .bign{position:absolute;right:16px;top:-6px;font:600 84px/1 var(--gotisch);color:rgba(122,162,224,.13);font-style:normal;pointer-events:none}
.curr li:hover{transform:translateY(-3px)}
.buyband .card{background:linear-gradient(180deg,rgba(86,134,206,.10),var(--base-2) 40%);border-color:rgba(86,134,206,.3)}
/* FAQ: one open at a time, a + that turns into an x */
/* the two brand names (footer) are written like the headers: Grenze, a Gotisch L, italic last word */
footer .bname{font:500 23px/1.1 var(--display);letter-spacing:0}footer .bname .gotisch{font:600 1.3em/1 var(--gotisch);margin-right:1px}footer .bname em{font-style:italic;font-weight:500}
@media (max-width:700px){.stats{grid-template-columns:1fr 1fr}.stats>div:nth-child(3){border-left:0}.stats>div:nth-child(n+3){border-top:1px solid rgba(232,234,237,.08)}.guar.card{padding:28px 22px}}
footer .bname{color:var(--text)!important}

.hero::before{display:none!important}
header.top nav{gap:14px}
header.top nav>a.buy,header.top nav a#acctbtn.acctbtn{height:38px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 16px;margin:0;font:700 15px/1 var(--display)}
footer .bname .gotisch{font-size:1.02em!important;margin-right:0}
header.top nav>a.buy,header.top nav a#acctbtn.acctbtn{height:34px!important;padding:0 14px!important;font-size:14px!important;border-radius:8px!important;line-height:1!important;border:1px solid transparent}header.top nav a#acctbtn.acctbtn{border-color:var(--line-strong)}header.top nav>a.buy{border-color:var(--accent)}

/* ---- course pages (2026-11-20) ---- */
.lesson{padding-top:72px;padding-bottom:30px}
.lside .markform{margin:0 0 10px}
.lside .btn.small{font-size:16px;padding:0 16px;height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;margin:0;border-radius:10px}
.lside .btn.wide{display:flex;width:100%}
.lside .pager{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 22px}.lside .pager .btn{width:100%}.lside .pager span{display:none}.lside .pager .btn:only-child{grid-column:1/-1}
.lside .bar-wrap{margin-bottom:20px}
.box.dl h2,.box h2{font-size:21px}
.dlrow{display:flex;align-items:center;gap:14px;padding:12px 14px;margin:0 -6px 8px;border:1px solid rgba(232,234,237,.09);border-radius:10px;background:rgba(255,255,255,.025);color:var(--text);text-decoration:none;transition:border-color .2s,background .2s}
.dlrow:hover{border-color:rgba(86,134,206,.6);background:rgba(86,134,206,.08);text-decoration:none}
.dlrow i{flex:none;width:42px;height:42px;border-radius:9px;display:grid;place-items:center;font-size:18px;color:var(--accent-hi);background:rgba(86,134,206,.14);border:1px solid rgba(86,134,206,.35)}
.dlrow b{display:block;font:500 18px var(--display)}.dlrow small{display:block;color:var(--text-3);font-size:15px;margin-top:2px}
.beats li{display:flex;gap:12px;align-items:flex-start}.beats .bi{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:14px;color:var(--accent-hi);background:rgba(86,134,206,.14);margin-top:1px}
.beats li b{font-weight:500;color:var(--text)}
.gbeat h2 .bi{display:inline-grid;width:36px;height:36px;border-radius:9px;place-items:center;font-size:16px;color:var(--accent-hi);background:rgba(86,134,206,.14);margin-right:8px;vertical-align:2px}
.overview.prose{max-width:none}.overview p{margin:0 0 1.1em}.overview ul{margin:0 0 1.2em;padding-left:1.3em}.overview h2{margin-top:0}
.lside .btn.small:not(.ghost){color:#fff;background:var(--accent)}.lside .btn.small:not(.ghost):hover{background:#436ba2}.lside .btn.small:not(.ghost) i{color:#fff}
footer .fapp .bname em{font-style:normal!important}
.grp{font-family:Grenze,Georgia,serif;margin:36px 0 12px;color:#9db9ea;letter-spacing:.04em}
.center{text-align:center}
/* ---- home, Lost Island Press style ---- */
.hero .free{margin-top:-14px;font-size:18px;color:var(--text-3)}
.hero .btn+.btn{margin-left:12px}
.hfound{padding:110px 0 120px}
.hf-in{display:grid;grid-template-columns:300px minmax(0,660px);gap:44px;justify-content:center;align-items:center}
.hf-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:8px;box-shadow:0 30px 50px -26px rgba(0,0,0,.85)}
.hf-card{position:relative;padding:38px 42px 34px;background:var(--base-2);border:1px solid rgba(232,234,237,.09);border-radius:12px;box-shadow:0 24px 44px -28px rgba(0,0,0,.7)}
.hf-card::before{content:"";position:absolute;left:-10px;top:50%;width:18px;height:18px;margin-top:-9px;transform:rotate(45deg);background:var(--base-2);border-left:1px solid rgba(232,234,237,.09);border-bottom:1px solid rgba(232,234,237,.09)}
.hf-card p{margin:0 0 16px;font-size:19px;line-height:1.65;color:var(--text-2)}
.hf-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:8px}
.hf-by{font:400 15px var(--body);color:var(--text-3)}
.hl-more{font-size:16px;color:var(--text-2);border-bottom:1px solid rgba(198,208,220,.35)}.hl-more:hover{color:var(--accent-hi);border-color:var(--accent-hi)}
.hf-sign{margin-left:auto;height:64px;width:auto;opacity:.92;transform:rotate(-2deg)}
.hman{position:relative;text-align:center;min-height:0;padding:100px 0 calc(67vw + 30px);background:linear-gradient(180deg,#14181c 0,rgba(20,24,28,0) 28%),linear-gradient(180deg,rgba(14,20,36,.55),rgba(14,20,36,.36) 45%,rgba(14,20,36,.55)),url(/img/amanda-wide.jpg) 30% 100%/100% auto no-repeat #14181c;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 120px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 120px),transparent)}
.hman .wrap{max-width:760px;position:relative;z-index:1}.hman::before{content:"";position:absolute;left:0;right:0;bottom:0;height:67vw;background:linear-gradient(180deg,#14181c,rgba(20,24,28,0) 38%);pointer-events:none}
.hman-icon{display:block;width:104px;height:104px;margin:0 auto 12px;background:#fff;opacity:.92;-webkit-mask:url(/img/lip-icon.png) center/contain no-repeat;mask:url(/img/lip-icon.png) center/contain no-repeat}
.hman h2{margin:0 0 28px;color:#fff}.hman p{margin:0 0 18px;font-size:20px;color:#eef0f3}
.hrow h2{margin-top:0}.hrow .by{color:var(--text-3)}.hrow .from{color:var(--text-3);font-style:italic}
.split.flip>:first-child{order:0}
.hcount{text-align:center;margin:0 auto 48px}
.hc-num{font:500 clamp(64px,9vw,104px)/1 var(--display);color:var(--accent-hi)}.hc-label{color:var(--text-3);font-size:18px}
.hnot{position:relative;padding:150px 0 170px;background:linear-gradient(180deg,var(--base-2) 0,rgba(32,37,43,0) 26%,rgba(32,37,43,0) 74%,var(--base-2) 100%),linear-gradient(90deg,rgba(14,20,36,.9) 0,rgba(14,20,36,.62) 34%,rgba(14,20,36,.2) 64%,rgba(14,20,36,.12)),url(/img/desert.jpg) 72% 100%/cover no-repeat}
.hnot-in{max-width:520px}.hnot h2{margin:0 0 18px}.hnot p{font-size:20px;line-height:1.65;color:var(--text-2)}
.hnot .price{margin:18px 0}
.hnot-g{display:flex;gap:16px;align-items:center;margin-top:28px}.hnot-g p{font-size:16px;margin:0}
@media(max-width:860px){.hf-in{grid-template-columns:minmax(0,1fr);justify-items:center;gap:30px}.hf-photo{width:min(260px,70%)}.hf-card{padding:30px 24px}.hf-card::before{left:50%;top:-10px;margin:0 0 0 -9px;transform:rotate(135deg);border:0;border-left:1px solid rgba(232,234,237,.09);border-bottom:1px solid rgba(232,234,237,.09)}.hf-sign{margin-left:0}.hman{padding:72px 0 calc(67vw + 20px)}.hnot{padding:90px 0 110px}.hero .btn+.btn{margin:10px 0 0}}
/* ---- immersive hero ---- */
.imm{position:relative;min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;text-align:center;padding:56px 24px 90px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at center,rgba(20,24,28,.35) 0,rgba(20,24,28,.82) 62%,#14181c 100%),url(/img/Still-2025-04-11-175308_1.10.1-1-1024x576.webp) center/cover no-repeat #14181c}
.imm::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:1100px;height:1100px;margin:-550px 0 0 -550px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500' fill='none' stroke='%235686ce' stroke-width='1.2' stroke-linejoin='round'%3E%3Ccircle cx='250' cy='250' r='230'/%3E%3Ccircle cx='250' cy='250' r='176'/%3E%3Ccircle cx='250' cy='250' r='128' stroke-dasharray='2 6'/%3E%3Cpath d='M250 14 L268 232 L486 250 L268 268 L250 486 L232 268 L14 250 L232 232 Z'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.12;animation:immspin 240s linear infinite}
@keyframes immspin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.imm::before{animation:none}}
.imm-in{width:100%;max-width:1120px;margin:0 auto}
.imm h1{font-size:clamp(34px,4.6vw,60px);line-height:1.1;margin:0 auto 28px;max-width:16em;letter-spacing:-.01em}
.imm h1 .gotisch{font-size:1.12em;color:var(--accent-hi)}
.imm-video{width:min(100%,1040px,calc((100vh - 400px)*16/9));min-width:min(100%,560px);margin:0 auto 28px;border-radius:16px;box-shadow:0 40px 90px -30px rgba(0,0,0,.95),0 0 0 1px rgba(122,162,224,.22),0 0 140px -10px rgba(86,134,206,.45);overflow:hidden}
.imm-video .video{margin:0;border-radius:0}
.imm .lead{margin:0 auto 22px;max-width:30em}
.imm-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:6px}
.imm .chips{justify-content:center}
.imm-down{position:absolute;left:50%;bottom:22px;width:26px;height:42px;margin-left:-13px;border:1.5px solid rgba(198,208,220,.5);border-radius:14px}
.imm-down span{position:absolute;left:50%;top:8px;width:4px;height:8px;margin-left:-2px;border-radius:2px;background:#c6d0dc;animation:immdot 1.8s ease-in-out infinite}
@keyframes immdot{50%{transform:translateY(14px);opacity:.2}}
@media(max-width:860px){.imm{min-height:0;padding:40px 16px 80px}.imm-video{width:100%;min-width:0}}
.imm-sub{margin:16px auto 0;max-width:46em;font-size:16px;color:var(--text-3)}
/* ---- course player ---- */
body:has(main.cpage) footer{display:none}
main.cpage{padding:0}
.cp{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:100vh;align-items:start}
.cp-aside{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line,rgba(232,234,237,.09));background:rgba(20,24,28,.72)}
.cp-side{flex:1;overflow-y:auto;padding:6px 16px 20px 22px}
.cp-side summary{list-style:none;display:flex;justify-content:space-between;align-items:baseline;cursor:default;font:500 20px var(--display);margin-bottom:10px}
.cp-side summary::-webkit-details-marker{display:none}.cp-side summary b{font:400 14px var(--body);color:var(--text-3)}
.cp-prog{height:6px;border-radius:99px;background:rgba(154,164,178,.2);margin:0 0 18px;overflow:hidden}.cp-prog i{display:block;height:100%;background:var(--accent);border-radius:99px}
.cp-home{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:var(--text-2);font:500 16px var(--display)}
.cp-home:hover,.cp-list a:hover{background:rgba(255,255,255,.05)}
.cp-home[aria-current=page],.cp-list a[aria-current=page]{background:rgba(86,134,206,.18);color:#fff}
.cp-mod{font:600 12px var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-hi);margin:22px 12px 8px}
.cp-list{list-style:none;margin:0;padding:0}
.cp-list a{display:flex;gap:12px;align-items:flex-start;padding:9px 12px;border-radius:10px;color:var(--text-2);line-height:1.3}
.cp-ck{flex:none;display:inline-flex;margin-top:2px;color:var(--text-3)}
.cp-t{display:block;font-size:17px}.cp-t small{display:block;font:500 12px var(--display);letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);margin-bottom:1px}
.cp-main{min-width:0;padding:34px 48px 90px}
.cpl{max-width:1040px;margin:0 auto}
.cpl-crumb{margin:0 0 12px;font:600 13px var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-hi)}
.cpl-video{border-radius:16px;overflow:hidden;background:#000;box-shadow:0 40px 90px -34px rgba(0,0,0,.95),0 0 0 1px rgba(122,162,224,.2),0 0 120px -30px rgba(86,134,206,.4)}.cpl-video .video{margin:0;border-radius:0}
.cpl-head{display:flex;gap:20px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:26px 0 8px}
.cpl-head h1{margin:0;font-size:clamp(28px,3vw,38px)}
.cpl-act{display:flex;gap:10px;flex-wrap:wrap;margin:0}.cpl-act .btn{height:46px;padding:0 20px;display:inline-flex;align-items:center;gap:8px;border-radius:10px;font-size:16px;margin:0}
.cpl-tabs{display:flex;gap:4px;margin:26px 0 0;border-bottom:1px solid rgba(232,234,237,.12);overflow-x:auto}
.cpl-tabs button{flex:none;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:12px 18px;color:var(--text-3);font:500 17px var(--display);cursor:pointer}
.cpl-tabs button:hover{color:var(--text)}.cpl-tabs button[aria-selected=true]{color:#fff;border-color:var(--accent)}
.cpl-panels{padding:26px 0 8px}.cpl-panels [role=tabpanel]{max-width:780px}
.cp-note{color:var(--text-3);margin:0 0 16px}
.cpl-pager{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:40px}
.cpl-pager a{display:block;padding:16px 20px;border:1px solid rgba(232,234,237,.12);border-radius:12px;background:var(--base-2);color:var(--text);font:500 18px var(--display)}.cpl-pager a:hover{border-color:var(--accent)}
.cpl-pager a.r{text-align:right;grid-column:2}.cpl-pager small{display:block;font:500 13px var(--body);color:var(--text-3);margin-bottom:2px}
.cpl h1.cp-gh{margin:0 0 6px}
.cph{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:36px 40px;margin:0 auto 10px;max-width:1040px;border-radius:18px;border:1px solid rgba(232,234,237,.09);background:radial-gradient(circle at 85% 20%,rgba(86,134,206,.22),transparent 55%),var(--base-2)}
.cph h1{margin:0 0 10px;font-size:clamp(30px,3.4vw,44px)}.cph .lead{margin:0 0 20px}
.cph-ring{position:relative;flex:none;width:150px;height:150px;text-align:center}.cph-ring b{position:absolute;left:0;right:0;top:46px;font:500 34px var(--display)}.cph-ring small{position:absolute;left:0;right:0;top:88px;color:var(--text-3);font-size:13px}
.cp-h{max-width:1040px;margin:38px auto 14px;font-size:24px}
.cp-cards{list-style:none;margin:0 auto;padding:0;max-width:1040px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cp-cards.cp-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.cp-cards a{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px 20px;border-radius:14px;border:1px solid rgba(232,234,237,.09);background:var(--base-2);color:var(--text);transition:border-color .3s,transform .2s}.cp-cards a:hover{border-color:var(--accent);transform:translateY(-2px)}
.cp-cards strong{font:500 20px/1.25 var(--display)}.cp-cards small{color:var(--text-3);font-size:15px}
.cp-badge{font:600 12px var(--display);letter-spacing:.12em;text-transform:uppercase;color:var(--text-3)}.cp-badge.on{color:var(--accent-hi)}
@media(max-width:900px){.cp{grid-template-columns:1fr}.cp-aside{position:static;height:auto;border-right:0;border-bottom:1px solid rgba(232,234,237,.09)}.cp-brand{padding:16px 16px 6px}.cp-foot{padding:10px 16px}.cp-side{overflow:visible;padding:6px 16px 12px}.cp-side summary{cursor:pointer;margin:0}.cp-side[open] summary{margin-bottom:10px}.cp-main{padding:20px 16px 70px}.cph{flex-direction:column;align-items:flex-start;padding:26px 22px}.cp-cards,.cp-cards.cp-two{grid-template-columns:1fr}.cpl-pager{grid-template-columns:1fr}.cpl-pager a.r{grid-column:1}}
.cp-brand{display:flex;align-items:center;gap:10px;padding:22px 22px 14px;color:#fff;font:500 22px var(--display)}.cp-brand img{width:34px;height:auto}.cp-brand .gotisch{font-size:1.15em}.cp-brand em{font-style:normal;color:var(--accent-hi)}
.cp-foot{display:flex;flex-wrap:wrap;gap:4px 16px;padding:14px 22px;border-top:1px solid rgba(232,234,237,.09);font-size:15px}.cp-foot a,.cp-foot button{color:var(--text-3);background:none;border:0;padding:0;font:inherit;cursor:pointer}.cp-foot a:hover,.cp-foot button:hover{color:#fff}.cp-foot form{margin:0}
.cp-foot{justify-content:space-between}.cp-foot a,.cp-foot button{display:inline-flex;align-items:center;gap:8px}.cp-foot a[aria-current=page]{color:#fff}
.cp-acct{max-width:640px}.cp-acct h1{margin:0 0 14px}.cp-acct h2{font-size:22px;margin:32px 0 10px}.cp-acct .form{max-width:420px}
.cp-acct form[action="/logout"]{display:none}
@media(min-width:901px){.cp-side summary{pointer-events:none}}

/* cinema stage: the video sits on a dark, softly lit backdrop that fades into the page */
.cpl-stage{position:relative;margin:-34px -48px 0;padding:34px 48px 70px;background:radial-gradient(ellipse 70% 62% at 50% 46%,rgba(86,134,206,.30),rgba(86,134,206,.08) 55%,transparent 78%),linear-gradient(180deg,#07090d 0,#0b0f15 55%,rgba(20,24,28,0) 100%)}
.cpl-stagein{max-width:1180px;margin:0 auto}
.cpl-stage .cpl-crumb{margin:0 0 14px;text-align:center}
.cpl-stage .cpl-video{border-radius:6px;box-shadow:0 50px 120px -30px rgba(0,0,0,.95),0 0 160px -20px rgba(86,134,206,.45);background:#000;width:min(100%,calc((100vh - 170px)*16/9));margin:0 auto}
.cpl-stage+.cpl{padding-top:6px}
@media(max-width:900px){.cpl-stage{margin:-20px -16px 0;padding:20px 0 34px}.cpl-stage .cpl-crumb{padding:0 16px}.cpl-stage .cpl-video{border-radius:0;width:100%}}

/* ---- round 3: border back, reference popup, mobile slider ---- */
.cpl-stage .cpl-video{border:1px solid rgba(122,162,224,.3);border-radius:10px}
.cp-top{display:contents}.cp-brand{order:0}.cp-side{order:1}.cp-foot{order:2}
.cp-side{display:block}
.cp-sh{display:flex;justify-content:space-between;align-items:baseline;font:500 20px var(--display);margin-bottom:10px}.cp-sh b{font:400 14px var(--body);color:var(--text-3)}
.m-only{display:none!important}
.cp-gl{display:flex;width:100%;gap:12px;align-items:flex-start;padding:9px 12px;border:0;border-radius:10px;background:none;color:var(--text-2);text-align:left;font:inherit;line-height:1.3;cursor:pointer}.cp-gl:hover{background:rgba(255,255,255,.05)}
.cp-dlg{width:min(720px,92vw);max-height:86vh;padding:0;border:1px solid rgba(122,162,224,.28);border-radius:16px;background:#171b21;color:var(--text);box-shadow:0 40px 120px -20px rgba(0,0,0,.9);overflow:hidden}
.cp-dlg[open]{display:flex;flex-direction:column}
.cp-dlg::backdrop{background:rgba(8,10,14,.72);backdrop-filter:blur(4px)}
.cp-dlg-h{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 0}.cp-dlg-h h2{margin:0;font-size:28px}
.cp-x{width:40px;height:40px;border:0;border-radius:10px;background:rgba(255,255,255,.06);color:var(--text);font-size:26px;line-height:1;cursor:pointer}.cp-x:hover{background:rgba(255,255,255,.12)}
.cp-dlg .cp-note{padding:6px 26px 0;margin:0}
.cp-dlg-b{overflow-y:auto;padding:14px 26px 26px}
.cp-dlg .gbeat{padding:14px 0;border-top:1px solid rgba(232,234,237,.09)}.cp-dlg .gbeat:first-child{border-top:0}.cp-dlg .gbeat h3{margin:0 0 4px;font-size:20px}.cp-dlg .gbeat p{margin:0;color:var(--text-2)}
@media(max-width:900px){
  .cp-aside{position:sticky;top:0;z-index:30;height:auto;display:block;border:0;border-bottom:1px solid rgba(232,234,237,.1);background:rgba(16,19,24,.96);backdrop-filter:blur(10px)}
  .cp-top{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 0 16px}
  .cp-brand{padding:6px 0;font-size:20px}.cp-brand img{width:28px}
  .cp-foot{border:0;padding:0;gap:2px}.cp-foot .lbl{display:none}.cp-foot a,.cp-foot button{width:44px;height:44px;justify-content:center;border-radius:10px;color:var(--text-2)}.cp-foot svg{width:22px;height:22px}
  .cp-side{padding:0;overflow:visible}
  .cp-sh{display:none}.cp-prog{margin:4px 16px 0;height:3px}
  .cp-nav{display:flex;align-items:stretch;gap:8px;overflow-x:auto;padding:10px 16px 12px;scroll-snap-type:x proximity;scrollbar-width:none}.cp-nav::-webkit-scrollbar{display:none}
  .cp-mod{display:none}.cp-list{display:flex;gap:8px;flex:none;padding:0}.cp-list li{flex:none}
  .cp-nav a,.cp-nav .cp-gl{width:auto;flex:none;scroll-snap-align:start;white-space:nowrap;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(232,234,237,.14);border-radius:12px;background:rgba(255,255,255,.03)}
  .cp-nav [aria-current=page]{background:rgba(86,134,206,.28);border-color:rgba(122,162,224,.6);color:#fff}
  .cp-nav .cp-t{font-size:16px}.cp-nav .cp-t small{font-size:11px}
  .cp-nav .cp-ck{margin:0}.cp-nav .cp-ck svg{width:18px;height:18px}
  .m-only{display:block!important}
  .cpl-stage .cpl-video{border:0;border-radius:0}
  .cp-main{padding:0 16px 70px}.cpl-stage{margin:0 -16px;padding:14px 0 26px}.cp-acct,.cph{margin-top:20px}
  .cpl-head{margin-top:20px}.cpl-act{width:100%}.cpl-act .btn{flex:1;justify-content:center}
  .cp-dlg{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:18px 18px 0 0}
}
/* full-width video */
.cpl-stage{padding:22px 28px 56px}
.cpl-stagein{max-width:none}
.cpl-stage .cpl-video{width:min(100%,calc((100vh - 110px)*16/9))}
@media(max-width:900px){.cpl-stage{padding:14px 0 26px}}
@media(max-width:900px){.cp{grid-template-columns:minmax(0,1fr)}.cp>*{min-width:0}.cp-aside,.cp-side,.cp-nav{max-width:100vw;min-width:0}}
@media(max-width:900px){.cp{overflow-x:clip}.cp-aside{overflow-x:clip}}
/* video + bar, popups instead of tabs */
.cpl-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin:18px auto 0;width:min(100%,calc((100vh - 110px)*16/9))}
.cpl-mid{text-align:center;min-width:0}
.cpl-mid h1{margin:0;font-size:clamp(22px,2.2vw,30px)}
.cpl-pills{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:8px}.cpl-pills:empty{display:none}.cpl-undo{margin:0}
.cpl-pill{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border:1px solid rgba(232,234,237,.18);border-radius:99px;background:rgba(255,255,255,.04);color:var(--text-2);font:500 15px var(--display);cursor:pointer}.cpl-pill:hover{border-color:var(--accent);color:#fff}.cpl-pill.on{color:var(--accent-hi);border-color:rgba(122,162,224,.45)}
.cpl-bar .btn{height:46px;padding:0 22px;display:inline-flex;align-items:center;gap:8px;border-radius:10px;font-size:16px;margin:0;white-space:nowrap}
.cpl-nextf{margin:0}.cpl-prev:not(a){display:block;width:1px}
.cpl-stage{padding-bottom:40px}
.cp-dlg .beats{margin:0}
@media(max-width:900px){.cpl-bar{grid-template-columns:1fr 1fr;gap:10px;padding:0 16px;width:100%}.cpl-mid{grid-column:1/-1;grid-row:1;text-align:left}.cpl-pills{justify-content:flex-start}.cpl-prev{grid-row:2}.cpl-next,.cpl-nextf{grid-row:2}.cpl-bar .btn{justify-content:center;width:100%}.cpl-nextf{width:100%}}

/* ---- one bottom bar across the whole window ---- */
:root{--bar-h:76px}
.cp-top .cp-foot{display:none}
.cp-bar{position:fixed;left:0;right:0;bottom:0;height:var(--bar-h);z-index:25;display:grid;grid-template-columns:320px minmax(0,1fr);border-top:1px solid rgba(232,234,237,.1);background:rgba(14,17,22,.94);backdrop-filter:blur(12px)}
.cp-bar-l{display:flex;align-items:center;border-right:1px solid rgba(232,234,237,.09)}
.cp-bar-l .cp-foot{display:flex;width:100%;border:0;padding:0 22px;justify-content:space-between}
.cp-bar-r{min-width:0;display:flex;align-items:center;padding:0 28px}
.cpb{display:flex;align-items:center;gap:16px;width:100%;min-width:0}
.cpb-t{margin:0;font-size:clamp(18px,1.7vw,24px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
.cpb-pills{display:flex;gap:8px;flex:none}.cpb-pills:empty{display:none}.cpb-sp{flex:1}
.cpb .cpl-pill{height:36px}.cpb .btn{height:46px;padding:0 20px;display:inline-flex;align-items:center;gap:8px;border-radius:10px;font-size:16px;margin:0;white-space:nowrap;flex:none}
.cpb .cpl-nextf,.cpb .cpl-undo{margin:0;flex:none}
.cpb .cpl-prev:not(a){display:none}
.cp-aside{height:calc(100vh - var(--bar-h))}
.cp-main{padding-bottom:calc(var(--bar-h) + 10px)}
.cpl-stage .cpl-video{width:min(100%,calc((100vh - var(--bar-h) - 80px)*16/9))}
.cpl-stage{padding-bottom:30px}
@media(max-width:1180px){.cpb .cpl-pill{font-size:0;gap:0;width:36px;padding:0;justify-content:center}.cpb .cpl-pill i,.cpb .cpl-pill span{font-size:15px}.cpb .cpl-pill.on{width:auto;font-size:15px;gap:6px;padding:0 12px}}
@media(max-width:900px){
  .cp-top .cp-foot{display:flex}.cp-bar-l{display:none}
  .cp-bar{position:static;display:block;height:auto;border:0;background:none;backdrop-filter:none}
  .cp-bar-r{padding:0 16px}
  .cp-main{padding-bottom:0}.cp-aside{height:auto}
  .cpb{flex-wrap:wrap;gap:10px;padding:16px 0 0}
  .cpb-t{order:1;width:100%;white-space:normal;font-size:22px}
  .cpb-pills{order:2;width:100%;flex-wrap:wrap}.cpb .cpl-pill{width:auto;font-size:15px;gap:8px;padding:0 14px}
  .cpb .cpl-prev,.cpb .cpl-nextf{order:3}.cpb-sp{display:none}
  .cpb .cpl-prev{flex:1}.cpb .cpl-nextf{flex:1}.cpb .cpl-next,.cpb .cpl-nextf .btn{flex:1;width:100%;justify-content:center;order:3}.cpb a.cpl-prev{justify-content:center}
  .cpl-stage .cpl-video{width:100%}
  .cp{padding-bottom:40px}
}
@media(max-width:900px){.cp{align-content:start;min-height:0}.cpl-stage{padding-bottom:16px}}

/* ---- lesson page: one static screen, no page scroll ---- */
@media(min-width:901px){
  html:has(main.cplesson),body:has(main.cplesson){height:100vh;overflow:hidden}
  main.cplesson .cp{min-height:0;height:100vh}
  main.cplesson .cp-main{height:calc(100vh - var(--bar-h));padding:0;display:flex;overflow:hidden}
  main.cplesson .cpl-stage{margin:0;flex:1;display:flex;align-items:center;justify-content:center;padding:18px 28px}
  main.cplesson .cpl-stagein{width:100%}
  main.cplesson .cpl-stage .cpl-video{width:min(100%,calc((100vh - var(--bar-h) - 90px)*16/9))}
}
@media(max-width:900px){
  html:has(main.cplesson),body:has(main.cplesson){height:100dvh;overflow:hidden}
  main.cplesson .cp{display:flex;flex-direction:column;height:100dvh;min-height:0;padding:0;overflow:hidden}
  main.cplesson .cp-aside{position:static;flex:none}
  main.cplesson .cp-main{flex:1;min-height:0;display:flex;overflow:hidden;padding:0}
  main.cplesson .cpl-stage{margin:0;flex:1;display:flex;align-items:center;padding:8px 0}
  main.cplesson .cpl-stagein{width:100%}
  main.cplesson .cp-bar{flex:none;padding-bottom:max(14px,env(safe-area-inset-bottom))}
  main.cplesson .cpb{padding-top:6px}
}
@media(max-width:900px){main.cplesson .cp{align-items:stretch}}

/* ---- calmer bottom bar ---- */
.cpb{gap:14px}
.cpb-id{min-width:0}.cpb-id small{display:block;font:600 12px var(--display);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-hi);margin-bottom:2px}
.cpb-id .cpb-t{font-size:clamp(20px,1.8vw,26px);line-height:1.1}
.cpl-ic{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:46px;height:46px;flex:none;border:1px solid rgba(232,234,237,.16);border-radius:50%;background:rgba(255,255,255,.04);color:var(--text-2);cursor:pointer;font:500 15px var(--display)}
.cpl-ic:hover{border-color:var(--accent);color:#fff;background:rgba(86,134,206,.16)}.cpl-ic.on{color:#fff;background:var(--accent);border-color:var(--accent)}
.cpl-ic .t{display:none}
.cpl-ic[data-tip]:hover::after,.cpl-ic[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:6px 10px;border-radius:8px;background:#0b0e13;border:1px solid rgba(232,234,237,.18);color:#fff;font:500 14px var(--body);pointer-events:none}
.cpb .cpl-prev:not(a){display:none}.cpb a.cpl-prev{width:46px;padding:0}
.cpb-pills{gap:10px}
.cpb .btn{height:46px;border-radius:99px;padding:0 24px}
@media(max-width:900px){
  .cpb{flex-wrap:wrap;gap:10px;padding:12px 0 0}
  .cpb-id{order:1;width:100%}.cpb-id .cpb-t{font-size:24px}
  .cpb .cpl-prev{order:2}.cpb-pills{order:3;width:auto;flex-wrap:nowrap}.cpb .cpl-nextf{order:4;flex:1}.cpb .cpl-next{order:4;flex:1;width:auto}.cpb-sp{display:none}
  .cpb .cpl-ic[data-tip]:hover::after{display:none}
  .cpb-pills .cpl-ic{width:auto;border-radius:99px;padding:0 14px}.cpb-pills .cpl-ic .t{display:inline}
  .cpb-pills{flex-wrap:wrap}.cpb-pills{order:2;width:100%}.cpb .cpl-prev{order:3}.cpb .cpl-nextf,.cpb .cpl-next{order:4}
  .cpb .btn{width:100%;justify-content:center}
}
@media(max-width:900px){.cpb a.cpl-prev{flex:none;width:46px}.cpb .cpl-prev{order:3}}
@media(min-width:901px){.cp-aside{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(154,164,178,.3) transparent}.cp-side{flex:none;overflow:visible}}

/* ---- void backdrop behind the video ---- */
main.cplesson .cp-main{background:#04060a}
main.cplesson .cpl-stage{background:radial-gradient(ellipse 60% 55% at 50% 48%,rgba(86,134,206,.13),rgba(86,134,206,.04) 55%,transparent 80%),radial-gradient(circle at 50% 50%,transparent 40%,rgba(0,0,0,.55) 100%),transparent}
main.cplesson .cpl-stage .cpl-video{box-shadow:0 60px 140px -20px #000,0 0 120px -30px rgba(86,134,206,.35)}
/* no border around the video */
main.cplesson .cpl-stage .cpl-video{border:0}

/* ---- film view: edge to edge, no border ---- */
@media(min-width:901px){
  main.cplesson .cpl-stage{padding:0;background:#04060a}
  main.cplesson .cpl-stagein{max-width:none}
  main.cplesson .cpl-stage .cpl-video{width:min(100%,calc((100vh - var(--bar-h))*16/9));border:0;border-radius:0;box-shadow:none}
}
.cpl-video .video{border:0;box-shadow:none}
.cpl-video .video iframe{inset:0;width:100%;height:100%}
/* lesson label + title on one row */
.cpb-id{display:flex;align-items:baseline;gap:12px;min-width:0}
.cpb-id small{display:inline;margin:0;white-space:nowrap;flex:none}
.cpb-id .cpb-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.cpb-id{width:100%}.cpb-id .cpb-t{white-space:normal;font-size:22px}}

/* ---- round 4: aligned label/title, calmer mobile + tablet ---- */
.cpb-id{align-items:center}
.cpb-id small{line-height:1}
.cpb-id .cpb-t{line-height:1.15}
@media(min-width:901px) and (max-width:1180px){
  .cp{grid-template-columns:272px minmax(0,1fr)}
  .cp-bar{grid-template-columns:272px minmax(0,1fr)}
  .cp-bar-r{padding:0 18px}.cp-bar-l .cp-foot{padding:0 16px}
  .cp-aside .cp-side{padding-left:14px;padding-right:10px}.cp-brand{padding-left:16px;font-size:20px}
}
@media(max-width:900px){
  /* top: slim header + lesson chips */
  main.cplesson .cp-top{padding:6px 6px 0 14px}
  main.cplesson .cp-brand{font-size:19px;padding:4px 0}
  main.cplesson .cp-foot a,main.cplesson .cp-foot button{width:42px;height:42px}
  main.cplesson .cp-prog{margin:2px 14px 0}
  main.cplesson .cp-nav{padding:8px 14px 10px;gap:8px}
  main.cplesson .cp-nav a,main.cplesson .cp-nav .cp-gl{padding:6px 12px;border-radius:10px}
  main.cplesson .cp-nav .cp-t{font-size:15px;line-height:1.15}
  main.cplesson .cp-nav .cp-ck svg{width:16px;height:16px}
  /* bottom: one docked tile like the desktop bar */
  main.cplesson .cp-bar{border-top:1px solid rgba(232,234,237,.12);background:rgba(14,17,22,.96);padding-bottom:max(10px,env(safe-area-inset-bottom))}
  main.cplesson .cp-bar-r{padding:0 14px}
  main.cplesson .cpb{display:grid;grid-template-columns:auto auto auto 1fr;gap:8px 8px;padding:10px 0 0;align-items:center}
  main.cplesson .cpb-id{grid-column:1/-1;grid-row:1;order:0;width:auto}
  main.cplesson .cpb-id .cpb-t{font-size:20px;white-space:nowrap}
  main.cplesson .cpb .cpl-prev{grid-row:2;grid-column:1;order:0}
  main.cplesson .cpb-pills{display:contents}
  main.cplesson .cpb-pills .cpl-ic{grid-row:2;width:46px;padding:0;border-radius:50%;order:0}
  main.cplesson .cpb-pills .cpl-ic .t{display:none}
  main.cplesson .cpb .cpl-nextf,main.cplesson .cpb .cpl-next{grid-row:2;grid-column:4;width:100%;order:0;margin:0}
  main.cplesson .cpb .btn{width:100%;height:46px;padding:0 18px;justify-content:center}
  main.cplesson .cpb .cpl-nextf{display:block}
  main.cplesson .cpl-stage{padding:0;background:radial-gradient(ellipse 80% 60% at 50% 50%,rgba(86,134,206,.12),transparent 75%),#04060a}
  main.cplesson .cp-main{background:#04060a}
}
@media(max-width:900px) and (max-height:520px){main.cplesson .cpb-id{display:none}}
@media(max-width:420px){.cpb .lw{display:none}}
@media(max-width:900px){
  main.cplesson .cpb{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  main.cplesson .cpb-id{flex:0 0 100%;grid-column:auto;grid-row:auto}
  main.cplesson .cpb .cpl-prev,main.cplesson .cpb-pills .cpl-ic,main.cplesson .cpb-pills .cpl-undo{grid-row:auto;grid-column:auto;flex:none}
  main.cplesson .cpb .cpl-nextf,main.cplesson .cpb a.cpl-next{grid-row:auto;grid-column:auto;flex:1 1 0;min-width:0;width:auto}
  main.cplesson .cpb .cpl-nextf .btn{width:100%}
}
@media(max-width:900px){main.cplesson .cpb-id{order:-1}main.cplesson .cpb-sp{display:none}}

/* label · title in one matching style */
.cpb-id{gap:10px}
.cpb-id small,.cpb-id .cpb-t{font:600 14px/1 var(--display);letter-spacing:.14em;text-transform:uppercase}
.cpb-id small{color:var(--accent-hi)}
.cpb-id small::after{content:"·";margin-left:10px;color:var(--text-3)}
.cpb-id .cpb-t{color:#fff;font-size:14px}
@media(max-width:900px){main.cplesson .cpb-id .cpb-t{font-size:14px;white-space:nowrap}}
/* smaller, lighter label · title */
.cpb-id small,.cpb-id .cpb-t{font:500 12px/1 var(--display);letter-spacing:.16em}
.cpb-id .cpb-t{font-size:12px;color:#e8ebf0}
.cpb-id small::after{margin-left:9px}
@media(max-width:900px){main.cplesson .cpb-id .cpb-t{font-size:12px}}
/* header logo: Lost Island Press wordmark + Ink */
header.top .logo{display:inline-flex;align-items:baseline;gap:8px}
header.top .logo img{height:24px;width:auto;aspect-ratio:1000/161}
.logo-ink{font-family:Grenze,Georgia,serif;font-style:italic;font-weight:500;font-size:36px;line-height:1;color:var(--accent-hi)}

/* header: same height and logo position as Lost Island Press */
header.top .wrap{height:60px}
header.top .logo{height:24px;align-items:baseline}
header.top .logo img{height:24px;width:auto;aspect-ratio:1000/161;position:relative;top:-2px}
.logo-ink{line-height:24px;height:24px;position:relative;top:-2px}
@media(max-width:700px){header.top .wrap{height:auto}}
header.top .logo img{top:-3px}.logo-ink{top:-3px}

/* course sidebar logo: the header wordmark, smaller */
.cp-brand{align-items:center;gap:7px;padding:24px 22px 14px}
.cp-brand .cp-logo{height:18px;width:auto;aspect-ratio:1000/161}
.cp-brand .cp-ink{display:block;font-family:Grenze,Georgia,serif;font-style:italic;font-weight:500;font-size:27px;line-height:18px;height:18px;color:var(--accent-hi);position:relative;top:-1px}
.cp-brand{align-items:baseline}
@media(max-width:900px){.cp-brand,main.cplesson .cp-brand{padding:8px 0 6px}.cp-brand .cp-logo{height:16px}.cp-brand .cp-ink{font-size:24px;line-height:16px;height:16px}}
/* thematic arc */
.arc{list-style:none;margin:0;padding:0;counter-reset:arc;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.arc li{counter-increment:arc;position:relative;padding:22px 22px 22px 22px;border:1px solid rgba(232,234,237,.09);border-radius:14px;background:var(--base-2)}
.arc li::before{content:counter(arc);display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin-bottom:12px;border-radius:50%;border:1px solid rgba(122,162,224,.5);background:rgba(86,134,206,.14);color:var(--accent-hi);font:600 16px var(--display)}
.arc b{display:block;margin-bottom:6px;font:500 22px/1.2 var(--display)}
.arc span{color:var(--text-2);font-size:17px;line-height:1.5}
.arc li:nth-child(4),.arc li:nth-child(5){border-color:rgba(122,162,224,.28)}
.arc-note{text-align:center;margin:26px 0 0;color:var(--text-3)}
@media(max-width:860px){.arc{grid-template-columns:1fr}}
/* trimmed home + bottom bar only */
.band .feats{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:860px){.band .feats{grid-template-columns:1fr}}
.buyg{display:flex;gap:16px;align-items:center;justify-content:center;margin:26px auto 0;max-width:560px;text-align:left}.buyg p{margin:0;font-size:16px;color:var(--text-3)}
body>footer{padding:0;margin-top:0}
body>footer .flegal{border-top:0;margin:0;padding:22px 0}

/* FAQ: same as Lost Island Press (dashed rules, plus icon that turns to a cross, answers slide open, one at a time) */
.ipfaq{max-width:820px;margin:26px auto 0;border-top:1px dashed var(--line-strong)}.ipfaq .faq{border-bottom:1px dashed var(--line-strong)}
.ipfaq .faqq{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 2px 17px;background:none;border:0;color:var(--text);text-align:left;cursor:pointer;font:500 21px/1.25 var(--display);transition:color .3s ease}
.ipfaq .faqq i{position:relative;width:22px;height:22px;display:block;flex:none;border:0;font-size:0;color:var(--accent-hi);transition:transform .2s}
.ipfaq .faqq i::before,.ipfaq .faqq i::after{content:"";position:absolute;left:50%;top:50%;background:currentColor;border-radius:1px;transform:translate(-50%,-50%)}.ipfaq .faqq i::before{width:16px;height:2px}.ipfaq .faqq i::after{width:2px;height:16px}
.ipfaq .faqq[aria-expanded="true"] i{transform:rotate(45deg)}.ipfaq .faqq:hover{color:var(--accent-hi)}
.ipfaq .faqa{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}.ipfaq .faqa>div{overflow:hidden}.ipfaq .faq.open .faqa{grid-template-rows:1fr}.ipfaq .faqa p{margin:0 0 14px;color:var(--text-3);font-size:17px;line-height:1.6;max-width:38em}

/* full-width hero, tied to Mel */
.mhero{position:relative;display:flex;align-items:center;min-height:min(80vh,780px);padding:70px 0 90px;background:linear-gradient(90deg,rgba(14,17,22,.94) 0,rgba(14,17,22,.82) 38%,rgba(14,17,22,.35) 72%,rgba(14,17,22,.2) 100%),linear-gradient(180deg,rgba(20,24,28,.0) 62%,#14181c 100%),url(/img/Still-2025-04-11-175308_1.10.1-1-1024x576.webp) 70% center/cover no-repeat #0e1116}
.mhero-in{width:100%}
.mhero-by{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.mhero-by img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:50% 12%;border:1px solid rgba(122,162,224,.5);box-shadow:0 0 0 4px rgba(86,134,206,.15)}
.mhero-by span{font:500 18px var(--display);color:var(--text)}.mhero-by em{display:block;font:600 12px var(--display);letter-spacing:.14em;text-transform:uppercase;font-style:normal;color:var(--accent-hi);margin-top:2px}
.mhero h1{max-width:13em;margin:0 0 22px;font-size:clamp(38px,5.4vw,70px);line-height:1.06;letter-spacing:-.01em}
.mhero .lead{max-width:26em;margin:0 0 30px}
.mhero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.mhero-cta .btn{margin:0}
@media(max-width:860px){.mhero{min-height:0;padding:44px 0 56px;background:linear-gradient(180deg,rgba(14,17,22,.82),rgba(14,17,22,.9)),url(/img/Still-2025-04-11-175308_1.10.1-1-1024x576.webp) 70% center/cover no-repeat #0e1116}}
.mhero-by .av{display:block;flex:none;width:54px;height:54px;border-radius:50%;overflow:hidden;border:1px solid rgba(122,162,224,.5);box-shadow:0 0 0 4px rgba(86,134,206,.15)}
.mhero-by .av img{width:100%;height:100%;border:0;box-shadow:none;border-radius:0;object-fit:cover;object-position:50% 25%;transform:scale(2.3);transform-origin:50% 22%}
.mhero-by span.av{font:inherit}
.mhero-by .av img{object-position:50% 8%;transform:scale(2);transform-origin:50% 6%}

/* hero v3: photo fades out toward the bottom, quieter facts line, Mel's Lost Island Press photo */
.mhero{background:none;isolation:isolate;padding:64px 0 120px}
.mhero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,17,22,.94) 0,rgba(14,17,22,.82) 38%,rgba(14,17,22,.3) 72%,rgba(14,17,22,.15) 100%),url(/img/Still-2025-04-11-175308_1.10.1-1-1024x576.webp) 70% center/cover no-repeat #0e1116;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 38%,rgba(0,0,0,.55) 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 38%,rgba(0,0,0,.55) 70%,transparent 100%)}
.mhero-by .av img{object-position:50% 20%;transform:none}
.mhero h1{max-width:12.5em}
.mhero .lead{max-width:36em}
.mhero-facts{display:flex;flex-wrap:wrap;gap:6px 0;margin:6px 0 0;padding:0;font:500 12px/1 var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--text-2)}
.mhero-facts span+span::before{content:"·";margin:0 12px;color:var(--accent-hi)}
@media(max-width:860px){.mhero{padding:40px 0 70px}.mhero::before{background:linear-gradient(180deg,rgba(14,17,22,.84),rgba(14,17,22,.92)),url(/img/Still-2025-04-11-175308_1.10.1-1-1024x576.webp) 70% center/cover no-repeat #0e1116}}
@media(max-width:860px){.mhero-facts{gap:8px 20px}.mhero-facts span+span::before{display:none}}
/* hero image sits higher so the lower edge of the photo stays out of view */
.mhero::before{background-position:0 0,70% 12%;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 30%,rgba(0,0,0,.45) 62%,transparent 88%);mask-image:linear-gradient(180deg,#000 0,#000 30%,rgba(0,0,0,.45) 62%,transparent 88%)}

/* full-screen hero, trimmed page */
.mhero{min-height:calc(100vh - 61px);min-height:calc(100svh - 61px);padding:70px 0 110px}
.mhero-in{margin-top:-10px}
.buyfacts{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0;margin:0 0 22px;padding:0;font:500 12px/1 var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--text-2)}
.buyfacts span+span::before{content:"·";margin:0 12px;color:var(--accent-hi)}
@media(max-width:860px){.mhero{min-height:calc(100svh - 100px);padding:40px 0 70px}.buyfacts{gap:8px 20px}.buyfacts span+span::before{display:none}}

/* sale section, styled like the Lost Writer price card */
.buyband{padding:96px 0 110px}
.buyband .hcenter{margin-bottom:46px}.buyband .hcenter h2{max-width:20em;margin-left:auto;margin-right:auto}
.price-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;max-width:1040px;margin:0 auto}
.price-card{position:relative;padding:54px 34px 32px;text-align:center;border-radius:6px 6px 16px 16px;background:repeating-linear-gradient(180deg,transparent 0 33px,rgba(198,208,220,.075) 33px 34px),var(--base-2);border:1px solid var(--line-strong);box-shadow:10px 10px 0 -1px #1c2024,10px 10px 0 0 var(--line-strong),0 40px 70px -30px rgba(0,0,0,.9)}
.price-card::before{content:"";position:absolute;left:0;right:0;top:0;height:34px;border-bottom:1px dashed var(--line-strong);border-radius:6px 6px 0 0;background:radial-gradient(circle at 50% 50%,var(--base) 0 6px,var(--line-strong) 6px 7px,transparent 7.5px) 0 0/34px 34px space no-repeat,var(--base-3)}
.price-card .eye{font-size:15px;margin:0 0 14px}
.price-num{font:500 clamp(90px,9vw,130px)/.9 var(--display);color:var(--text);margin:6px 0 0}
.price-num span{font-size:.42em;vertical-align:.9em;color:var(--text-3);margin-right:4px}
.price-once{font:19px var(--display);color:var(--text-3);margin:6px 0 18px}
.price-try{margin:14px 0 10px;font-size:17px;color:var(--text-3)}
.price-card .btn{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;height:auto;padding:16px 28px 15px;font-size:21px;margin:0}
.price-card .btn.ghost{font-size:17px;padding:13px 8px 12px}
.checks{list-style:none;margin:0;padding:0}
.checks li{position:relative;padding:15px 0 15px 34px;border-top:1px dashed var(--line-strong);font-size:22px;color:var(--text)}
.checks li:first-child{border-top:0}
.checks li::before{content:"";position:absolute;left:3px;top:24px;width:14px;height:8px;border-left:2px solid var(--accent-hi);border-bottom:2px solid var(--accent-hi);transform:rotate(-45deg)}
@media(max-width:860px){.price-wrap{grid-template-columns:1fr;gap:40px}.price-card{padding:50px 20px 24px;box-shadow:6px 6px 0 -1px #1c2024,6px 6px 0 0 var(--line-strong)}.checks li{font-size:19px}}
.checks,.checks li{text-align:left}
.price-once s{font-size:inherit;color:var(--text-3);opacity:.75}
.buyband .hcenter h2{max-width:26em}
.buyband .hcenter h2{text-wrap:balance}

/* transparent header, sits over the hero on the home page */
header.top{background:transparent!important;border-bottom-color:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;position:relative!important}
body:has(main.home) header.top{position:absolute!important;left:0;right:0;top:0;z-index:30}
.mhero{min-height:100vh;min-height:100svh;padding:100px 0 120px}
@media(max-width:860px){.mhero{min-height:100svh;padding:130px 0 70px}}
/* free first lesson: the showpiece */
.freelesson{background:radial-gradient(ellipse 70% 60% at 50% 38%,rgba(86,134,206,.16),transparent 70%)}
.freelesson .hcenter{margin-bottom:34px}.freelesson .hcenter h2{font-size:clamp(34px,4.4vw,52px)}.freelesson .hcenter p{font-size:21px}
.fl-video{max-width:940px;margin:0 auto;border-radius:16px;box-shadow:0 0 0 1px rgba(122,162,224,.32),0 50px 110px -40px rgba(0,0,0,.95),0 0 140px -20px rgba(86,134,206,.45)}
.fl-video .video{margin:0;border:0;border-radius:16px;box-shadow:none}
.fl-text{max-width:720px;margin:40px auto 0;text-align:center}.fl-text p{margin:0 0 18px;color:var(--text-2)}
.fl-quote{max-width:760px;margin:36px auto 0}.fl-quote img{width:100%;height:auto}

/* footer glued to the bottom on short pages */
body:not(:has(main.cpage)){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body:not(:has(main.cpage))>main{flex:1 0 auto}
body:not(:has(main.cpage))>footer{margin-top:auto}
/* refund form */
.form textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;background:var(--base-2);color:var(--text);font:inherit;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* the logo never moves while fonts load: reserve its width and hold the text until the italic font is ready */
.logo-ink{display:inline-block;width:44px;white-space:nowrap}
@font-face{font-family:'Grenze';font-style:italic;font-weight:500;font-display:block;src:url(/fonts/grenze-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.prose h2+p,.prose h2+.flash{margin-top:14px}
.prose .form{margin-top:22px}
.form textarea{display:block;margin-top:10px}.form input{margin-top:10px}
.mbg{color:inherit;text-decoration:underline;text-decoration-color:var(--accent-hi);text-underline-offset:3px;text-decoration-thickness:1px}.mbg:hover{color:var(--accent-hi)}
.faqgrid{display:grid;grid-template-columns:minmax(0,820px) 190px;justify-content:center;gap:56px;align-items:start;margin-top:26px}
.faqgrid .ipfaq{margin:0;max-width:none}
.faqgrid .stamp{position:sticky;top:90px;display:block;transition:transform .25s}.faqgrid .stamp:hover{transform:rotate(-4deg) scale(1.03)}.faqgrid .stamp .seal{display:block;width:190px;height:auto}
@media(max-width:1100px){.faqgrid{grid-template-columns:minmax(0,1fr)}.faqgrid .stamp{position:static;order:-1;margin:0 auto 18px}.faqgrid .stamp .seal{width:130px}}
.pstamp{position:absolute;top:-56px;left:-72px;z-index:3;display:block;transform:rotate(-12deg);filter:drop-shadow(0 6px 14px rgba(0,0,0,.45));transition:transform .25s}
.pstamp:hover{transform:rotate(-6deg) scale(1.04)}
.pstamp .seal{display:block;width:165px;height:auto;background:var(--base-2);border-radius:50%}
@media(max-width:860px){.pstamp{top:-46px;left:-12px}.pstamp .seal{width:112px}.price-card{padding-top:78px}}
html{scroll-behavior:smooth}#curriculum,#free-lesson,#buy,#faq{scroll-margin-top:24px}
header.top .secnav{display:flex;gap:6px;align-items:center;margin-right:10px}
header.top .secnav a{color:var(--text-2,#c6ced9);font:600 16px var(--display);padding:8px 14px;border-radius:8px;text-decoration:none;transition:color .15s,background .15s}
header.top .secnav a:hover,header.top .secnav a:focus-visible{color:#fff;background:rgba(255,255,255,.08)}
@media(max-width:760px){header.top nav{width:100%;flex-wrap:wrap;justify-content:space-between}header.top .secnav{order:3;width:100%;margin:2px 0 0;justify-content:flex-start;gap:2px}header.top .secnav a{font-size:15px;padding:6px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* ---- own version of the student comment (replaces the YouTube screenshot) ---- */
.ytq{max-width:720px;margin:40px auto 0;padding:22px 26px 20px;border:1px solid var(--line-strong);border-left:3px solid var(--accent);border-radius:12px;background:rgba(255,255,255,.03)}
.ytq-top{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.ytq-av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6b5b95,#3a4a7a);color:#fff;font:700 18px var(--display)}
.ytq-top b{display:block;font:600 17px/1.2 var(--display);color:var(--text)}.ytq-top small{display:block;margin-top:2px;font-size:14px;color:var(--text-3)}
.ytq blockquote{margin:0}.ytq blockquote p{margin:0;font-size:19px;line-height:1.55;color:var(--text-2,#c6ced9)}
.ytq figcaption{margin-top:14px;display:flex;gap:7px;align-items:center;font-size:15px;color:var(--text-3)}.ytq figcaption svg{color:#e2566b}

/* ---- phones: a roomier, tidier home page ---- */
@media(max-width:700px){
  /* header: logo + Sign in on one row, the section links as a swipeable row underneath */
  header.top .wrap{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;height:auto!important;padding-top:12px!important;padding-bottom:6px!important;row-gap:6px}
  header.top nav{display:contents!important}
  header.top nav>a.buy{display:none!important}
  header.top nav a#acctbtn.acctbtn{order:2;height:36px!important}
  header.top .secnav{display:none!important}
  header.top .secnav::-webkit-scrollbar{display:none}
  header.top .secnav a{flex:none;font-size:15px;padding:8px 12px}

  body:has(main.home) .mhero{min-height:auto;padding:104px 0 64px}
  .mhero-by{margin-bottom:20px}
  .mhero h1{font-size:clamp(32px,9.4vw,40px);line-height:1.1;margin-bottom:16px;max-width:none}
  .mhero .lead{font-size:18px!important;line-height:1.55!important;max-width:none;margin-bottom:24px}
  .mhero-cta{display:grid!important;gap:12px}.mhero-cta .btn{width:100%;text-align:center;justify-content:center}
  .mhero-facts{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:30px;font-size:13px;letter-spacing:.14em}
  .mhero-facts span{display:flex;align-items:center;gap:14px}
  .mhero-facts span::before,.mhero-facts span+span::before{content:"✓"!important;display:grid!important;place-items:center;flex:none;width:24px;height:24px;margin:0!important;padding:0!important;border:1.5px solid var(--accent-hi);border-radius:6px;background:rgba(86,134,206,.14);color:var(--accent-hi);font:700 15px/1 var(--display);letter-spacing:0}

  main.home .band{padding-top:56px;padding-bottom:56px}
  main.home .hcenter h2{font-size:clamp(28px,8vw,34px);line-height:1.15}
  main.home .hcenter p{font-size:18px;line-height:1.5}

  /* the nine lessons: tighter cards */
  ul.curr{gap:12px}ul.curr li{padding:16px 18px!important}ul.curr li h3{font-size:20px}ul.curr li p{font-size:16.5px;line-height:1.45}ul.curr .bign{font-size:48px}

  .ytq{padding:18px 18px 16px;margin-top:28px}.ytq blockquote p{font-size:17px}

  /* pricing: room between the title and the badge */
  #buy .hcenter,#buy h2{margin-bottom:0}
  #buy .price-wrap{margin-top:84px;gap:40px}
  .pstamp{top:-52px!important;left:-14px!important}.pstamp .seal{width:104px!important}
  .price-card{padding:70px 20px 24px}
  .checks li{font-size:18px;line-height:1.4}

  .ipfaq .faqq{font-size:19px}.ipfaq .faqa p{font-size:17px}
}
@media(max-width:360px){.mhero h1{font-size:30px}header.top .logo img{height:22px}}

/* ---- sign-in pages: centred card like the Lost Island Press sign-in ---- */
.authcard{max-width:540px;margin:0 auto;padding:clamp(48px,10vh,110px) 20px 80px;text-align:center}
.authcard .auth-icon{display:block;width:84px;height:auto;margin:0 auto 22px;opacity:.95}
.authcard h1{margin:0 0 12px;font-size:clamp(30px,5vw,38px);line-height:1.15}
.authcard .auth-lead{margin:0 auto 26px;max-width:30em;font-size:19px;line-height:1.55;color:var(--text-2,#c6ced9)}
.authcard .auth-note{margin:22px 0 0;font-size:16px;color:var(--text-3)}
.authcard .flash{margin:0 auto 18px;text-align:left}
.authform{display:flex;gap:12px;justify-content:center;align-items:stretch}
.authform input[type=email]{flex:1 1 auto;min-width:0;max-width:300px;padding:0 16px;height:52px;font:inherit;font-size:17px;color:var(--text);background:rgba(255,255,255,.05);border:1px solid var(--line-strong);border-radius:10px}
.authform input[type=email]::placeholder{color:var(--text-3)}
.authform input[type=email]:focus{outline:2px solid var(--accent-hi);outline-offset:1px;border-color:transparent}
.authform .btn{flex:none;height:52px;padding:0 26px;display:inline-flex;align-items:center;justify-content:center}
.authform.one{justify-content:center}
@media(max-width:560px){.authform{flex-direction:column}.authform input[type=email]{max-width:none;width:100%}.authform .btn{width:100%}}
@media(max-width:700px){
  header.top .wrap{column-gap:16px}
  header.top .logo{height:20px;gap:6px}
  header.top .logo img{height:20px!important}
  header.top .logo .logo-ink{font-size:30px;line-height:20px;height:20px;width:37px;top:-2px}
  header.top nav a#acctbtn.acctbtn{flex:none}
}

/* ================= course player: phone layout (rebuilt) =================
   Header (logo, help, log out) / video straight under it / lesson title + What this covers + Homework / bottom bar: Back, Lessons, Next.
   Picking a lesson happens on the /lessons page, so the swipeable strip is gone. */
.cpl-mob,.cpb-all,.cpb .mlbl{display:none}
.cpl-index{max-width:660px;margin:0 auto;padding:36px 22px 70px}
.cpl-index h1{margin:0 0 6px;font-size:clamp(30px,6vw,38px)}
.cpl-ixp{margin:0 0 10px;color:var(--text-3);font-size:17px}.cpl-ixp b{color:var(--text);font-weight:600}
.cpl-index .cp-prog{margin:0 0 22px}
.cpl-ixgo{margin:0 0 26px}.cpl-ixgo .btn{display:inline-flex;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpl-ix{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cpl-ix a{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--line-strong);border-radius:14px;background:rgba(255,255,255,.03);color:var(--text);text-decoration:none;transition:background .15s,border-color .15s}
.cpl-ix a:hover,.cpl-ix a:focus-visible{background:rgba(86,134,206,.1);border-color:rgba(86,134,206,.5)}
.cpl-ix a.now{border-color:var(--accent);background:rgba(86,134,206,.12)}
.cpl-ix .ck{flex:none;display:grid;place-items:center}
.cpl-ix .t{flex:1;min-width:0;font:500 20px/1.25 var(--display)}.cpl-ix .t small{display:block;margin-bottom:3px;font:600 12.5px/1 var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-hi)}
.cpl-ix .chev{flex:none;font-size:26px;line-height:1;color:var(--text-3)}
.cpl-ixref{list-style:none;margin:26px 0 0;padding:0;display:flex;gap:10px;flex-wrap:wrap}
.cpl-ixref a,.cpl-ixref button{display:inline-flex;align-items:center;padding:12px 18px;border:1px solid var(--line-strong);border-radius:12px;background:none;color:var(--text-2);font:500 17px var(--display);text-decoration:none;cursor:pointer}
.cpl-ixref a:hover,.cpl-ixref button:hover{color:var(--text);border-color:rgba(86,134,206,.5)}

@media(max-width:900px){
  html:has(main.cpage),body:has(main.cpage){height:auto!important;overflow:visible!important}
  html body main.cpage .cp{display:flex;flex-direction:column;height:auto;min-height:100dvh;padding:0;overflow:visible}
  html body main.cpage .cp-aside{position:sticky;top:0;z-index:30;display:block;height:auto;background:#0e1116;border:0;border-bottom:1px solid rgba(232,234,237,.08);overflow:visible}
  html body main.cpage .cp-top{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 10px 20px}
  html body main.cpage .cp-side{display:none!important}
  html body main.cpage .cp-brand{padding:0;font-size:20px}
  html body main.cpage .cp-brand .cp-logo{height:20px}
  html body main.cpage .cp-brand .cp-ink{font-size:28px}
  html body main.cpage .cp-top .cp-foot{display:flex;gap:2px;border:0;padding:0}
  html body main.cpage .cp-top .cp-foot a,html body main.cpage .cp-top .cp-foot button{width:44px;height:44px}
  html body main.cpage .cp-top .cp-foot .lbl{display:none}

  html body main.cpage .cp-main{flex:1;display:block;height:auto;min-height:0;padding:0;overflow:visible;background:#0b0e13}
  html body main.cpage .cpl-stage{margin:0;padding:0;display:block;background:#000;flex:none}
  html body main.cpage .cpl-stagein{width:100%;max-width:none}
  html body main.cpage .cpl-stage .cpl-video{width:100%;border:0;border-radius:0;box-shadow:none}

  .cpl-mob{display:block;padding:24px 20px 28px}
  .cpl-mlabel{margin:0 0 8px;font:600 13px/1 var(--display);letter-spacing:.18em;text-transform:uppercase;color:var(--accent-hi)}
  .cpl-mlabel span{color:var(--text-3)}
  .cpl-mtitle{margin:0 0 22px;font:500 clamp(28px,8vw,34px)/1.15 var(--display);color:var(--text)}
  .cpl-mbtns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .cpl-mbtns .cpl-ic{width:100%;height:54px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 10px;border:1px solid var(--line-strong);background:rgba(255,255,255,.03);color:var(--text);font:500 17px var(--display)}
  .cpl-mbtns .cpl-ic .t{display:inline!important;font-size:16px;white-space:nowrap}
  .cpl-mbtns .cpl-ic i{font-size:16px;color:var(--accent-hi)}
  .cpl-mbtns:has(.cpl-ic:only-child){grid-template-columns:1fr}
  .cpl-mdone{margin:18px 0 0;display:flex;gap:8px;align-items:center;color:var(--accent-hi);font:500 16px var(--display)}

  html body main.cpage .cp-bar{position:sticky;bottom:0;z-index:30;display:block;height:auto;border-top:1px solid rgba(232,234,237,.1);background:rgba(14,17,22,.97);padding:10px 16px max(12px,env(safe-area-inset-bottom))}
  html body main.cpage .cp-bar-l{display:none}
  html body main.cpage .cp-bar-r{display:block;padding:0}
  html body main.cpage .cp-bar-r:empty{display:none}
  .cp-bar:has(.cp-bar-r:empty){display:none!important}
  html body main.cpage .cpb{display:flex;align-items:center;gap:10px;padding:0}
  html body main.cpage .cpb-id,html body main.cpage .cpb-sp,html body main.cpage .cpb-pills{display:none}
  html body main.cpage .cpb a.cpl-prev,html body main.cpage .cpb .cpb-all{flex:none;order:0;width:auto;height:54px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line-strong);border-radius:12px;background:rgba(255,255,255,.03);color:var(--text);font:500 16px var(--display);text-decoration:none}
  html body main.cpage .cpb span.cpl-prev{display:none}
  html body main.cpage .cpb .cpb-all{display:inline-flex;order:1}
  html body main.cpage .cpb .cpl-prev .mlbl{display:inline}
  html body main.cpage .cpb .cpl-nextf,html body main.cpage .cpb>a.cpl-next{order:2;flex:1;min-width:0;display:block}
  html body main.cpage .cpb .cpl-next{width:100%;height:54px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:18px}
  html body main.cpage .cpb .cpl-next .lw{display:inline}
}
@media(max-width:340px){html body main.cpage .cpb .cpb-all span{display:none}html body main.cpage .cpb a.cpl-prev .mlbl,html body main.cpage .cpb .cpl-prev.off .mlbl{display:none}}
@media(max-width:900px){
  html body main.cpage .cp{align-items:stretch}
  html body main.cpage .cp>*{width:100%;max-width:none}
}
.cpl-up{display:none}
@media(max-width:900px){
  .cpl-up{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:26px;padding:16px 18px;border:1px solid var(--line-strong);border-radius:14px;background:rgba(255,255,255,.03);color:var(--text);text-decoration:none;font:500 20px/1.25 var(--display)}
  .cpl-up small{display:block;margin-bottom:4px;font:600 12px/1 var(--display);letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
  .cpl-up i{font-style:normal;font-size:26px;color:var(--text-3)}
}
.cpb .cpl-prev.off{display:none}
.cpl-sec,.cpl-det{display:none}
@media(max-width:900px){
  html body main.cpage .cpb>a.cpl-next{display:inline-flex}
  html body main.cpage .cpb .cpl-nextf{display:block}
  html body main.cpage .cpb .cpl-nextf .cpl-next{width:100%}
  html body main.cpage .cpb a.cpl-prev,html body main.cpage .cpb .cpb-all,html body main.cpage .cpb .cpl-prev.off{padding:0 14px}
  html body main.cpage .cpb .cpl-prev.off{flex:none;order:0;height:54px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:12px;color:var(--text);font:500 16px var(--display);opacity:.35}
  .cpl-mtitle{margin-bottom:20px}
  .cpl-sec{display:block;margin:0 0 20px}
  .cpl-sec h2{margin:0 0 4px;font:600 13px/1 var(--display);letter-spacing:.18em;text-transform:uppercase;color:var(--accent-hi)}
  .cpl-secn{margin:0 0 12px;color:var(--text-3);font-size:16px}
  .cpl-sec .check{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:0 0 8px;border:1px solid var(--line-strong);border-radius:12px;background:rgba(255,255,255,.03);font-size:18px;line-height:1.35;color:var(--text)}
  .cpl-sec .check input{flex:none;width:22px;height:22px;margin-top:2px;accent-color:#5686ce}
  .cpl-det{display:block;border-top:1px solid var(--line-strong);margin-top:6px}
  .cpl-det summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 2px;font:500 19px var(--display);color:var(--text)}
  .cpl-det summary::-webkit-details-marker{display:none}
  .cpl-det summary::after{content:"+";font-size:26px;line-height:1;color:var(--accent-hi);transition:transform .2s}
  .cpl-det[open] summary::after{transform:rotate(45deg)}
  .cpl-det .beats{margin:0 0 8px}
}
@media(max-width:900px){html body main.cpage .cpb .cpl-prev.off{width:auto!important;min-width:0;box-sizing:border-box;white-space:nowrap;padding:0 14px!important}}

/* glossary pop-up: a plain list, not cards */
.cp-dlg .gbeat{background:none!important;border:0!important;border-top:1px solid rgba(232,234,237,.1)!important;border-radius:0!important;padding:18px 0!important;margin:0!important}
.cp-dlg .gbeat:first-child{border-top:0!important;padding-top:6px!important}
.cp-dlg .gbeat h3{display:flex;align-items:center;gap:12px;margin:0 0 6px;font-size:21px}
.cp-dlg .gbeat h3 .bi{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:14px;color:var(--accent-hi);background:rgba(86,134,206,.14)}
.cp-dlg .gbeat p{line-height:1.5;padding-left:42px}

/* phone bottom bar: Back and Next the same size, Lessons in the middle; outline page buttons full width */
@media(max-width:900px){
  html body main.cpage .cpb{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px;align-items:stretch}
  html body main.cpage .cpb>*{min-width:0;width:100%!important}
  html body main.cpage .cpb a.cpl-prev,html body main.cpage .cpb .cpl-prev.off,html body main.cpage .cpb .cpb-all{padding:0 8px!important;justify-content:center}
  html body main.cpage .cpb .cpl-next .lw{display:none}
  html body main.cpage .cpb .cpl-nextf,html body main.cpage .cpb>a.cpl-next{width:100%}
  .cpl-ixref{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .cpl-ixref li{min-width:0}.cpl-ixref a,.cpl-ixref button{width:100%;justify-content:center;box-sizing:border-box}
}
.cp-list{display:grid;gap:4px}
