/* The Jyotish Project Study Space v1.90: public landing page.
   Built on the Study Space's own colour tokens (--bg, --paper, --ink, --wine, --gold …), so the page follows the
   colour mood chosen in the picker exactly as the app does. Each theme only adjusts the night-sky panels and the
   few colours that must read on them. Selectors start with `html #authGate .lpx` to outrank the older landing
   rules (release172.css), which set colours on every heading, paragraph and button inside #authGate. */

html #authGate .lpx.lpx{
  --x-bg:var(--bg);--x-paper:var(--paper);--x-paper2:var(--paper2);--x-ink:var(--ink);--x-muted:var(--muted);--x-line:var(--line);
  --x-accent:var(--wine);--x-accent-ink:#fff;--x-gold:var(--gold);--x-on-bg:var(--ink);--x-on-bg-muted:var(--muted);
  --x-sky:var(--earth-panel);--x-sky-glass:var(--earth-glass);
  --x-sky-ink:#f5eddf;--x-sky-muted:#e0cfb6;--x-sky-gold:#e6b86a;--x-sky-btn:#e6b86a;--x-sky-btn-ink:#2a1c10;
  --x-shadow:0 1px 0 rgba(60,40,20,.03),0 16px 36px rgba(60,40,20,.08);--x-radius:22px;--x-veil:80%;
  /* pigments for the smoke field (read by pigment190.js) */
  --pg-bg:#ece4d6;--pg-1:#c9954a;--pg-2:#b5643c;--pg-3:#8e9470;--pg-4:#6e4a31;--pg-a:.62;
  --g-sun:#a55828;--g-moon:#657a84;--g-mars:#a6443d;--g-mercury:#36785b;--g-jupiter:#8a6b20;--g-venus:#8f5770;--g-saturn:#535779;--g-rahu:#436e76;--g-ketu:#8a6246;
  max-width:none;margin:0;padding:0;min-height:100vh;position:relative;isolation:isolate;background:var(--pg-bg)!important;background-image:none!important;color:var(--x-ink)!important;font-family:inherit;
}
html[data-appearance=rainbow] #authGate .lpx.lpx{
  --x-sky-gold:#ffd27a;--x-sky-btn:#ffd27a;--x-sky-btn-ink:#3a1406;--x-shadow:0 14px 34px rgba(160,60,20,.12);
  --pg-bg:#fff4ec;--pg-1:#ffb35c;--pg-2:#ec6a8c;--pg-3:#6fcbb4;--pg-4:#9a7df0;--pg-a:.5;
  --g-sun:#e0622a;--g-moon:#2f86b8;--g-mars:#d8323c;--g-mercury:#12966a;--g-jupiter:#d59a07;--g-venus:#d23c8c;--g-saturn:#4a4fc4;--g-rahu:#0f8a9a;--g-ketu:#b0602a;
}
html[data-appearance=celestial] #authGate .lpx.lpx{
  --x-on-bg:#f4e9d0;--x-on-bg-muted:#c3c8da;--x-sky-gold:#e4cea4;--x-sky-btn:#e4cea4;--x-sky-btn-ink:#132038;--x-shadow:0 18px 40px rgba(0,0,0,.35);
  --pg-bg:#0b1229;--pg-1:#2b4677;--pg-2:#a8823f;--pg-3:#1d3a5a;--pg-4:#3a2f52;--pg-a:.7;
}
html[data-appearance=bubblegum] #authGate .lpx.lpx{
  --x-sky-gold:#ffd9a0;--x-sky-btn:#ffd9a0;--x-sky-btn-ink:#3c2620;--x-radius:28px;--x-shadow:0 8px 0 rgba(210,170,160,.22),0 18px 40px rgba(110,60,50,.08);
  --pg-bg:#f7ebf3;--pg-1:#f3b3c4;--pg-2:#ffd6a3;--pg-3:#b8e2cf;--pg-4:#cdb8ee;--pg-a:.55;
}
html[data-appearance=dark] #authGate .lpx.lpx{
  --x-paper:#100d0a;--x-paper2:#18130f;--x-line:#34291f;--x-ink:#efe6d8;--x-muted:#bfb09c;--x-on-bg:#efe6d8;--x-on-bg-muted:#bfb09c;
  --x-accent:#d9b27c;--x-accent-ink:#1c140c;--x-sky-gold:#d9b27c;--x-sky-btn:#d9b27c;--x-sky-btn-ink:#1c140c;--x-shadow:0 0 0 1px #221a13;
  --pg-bg:#070504;--pg-1:#6a4424;--pg-2:#7a3a22;--pg-3:#3e4530;--pg-4:#2c1e14;--pg-a:.75;
  --g-sun:#d2915c;--g-moon:#9fb3bd;--g-mars:#d77c72;--g-mercury:#76b594;--g-jupiter:#d1b060;--g-venus:#c58ea6;--g-saturn:#9a9ecb;--g-rahu:#7fb0b8;--g-ketu:#c29a7c;
}
/* the pigment field sits behind everything; panels are slightly translucent so it breathes through */
html #authGate .lpx .lpx-pigment{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none;display:block}
html #authGate .lpx .lpx-motion{position:fixed;right:14px;bottom:14px;opacity:.72;z-index:30;display:flex;align-items:center;gap:6px;border-radius:999px;padding:7px 12px;font:600 11px system-ui,sans-serif;letter-spacing:.06em;background:color-mix(in srgb,var(--x-paper) 80%,transparent)!important;color:var(--x-muted)!important;border:1px solid var(--x-line)!important;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html #authGate .lpx .lpx-motion:hover{color:var(--x-ink)!important;opacity:1}
html #authGate .lpx :is(.lpx-sec,.lpx-numbers){background:color-mix(in srgb,var(--x-paper) var(--x-veil),transparent)!important}

/* reset the older landing rules inside the new page */
html #authGate .lpx *{box-sizing:border-box}
html #authGate .lpx :is(h1,h2,h3,h4,p,li,small,span,b,summary,figcaption){color:inherit!important;opacity:1}
html #authGate .lpx :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif;font-weight:normal;letter-spacing:-.005em;margin:0}
html #authGate .lpx p{margin:0}
html #authGate .lpx .btn{font-family:inherit;border-radius:999px!important;padding:10px 18px;font-size:15px;background:var(--x-paper)!important;color:var(--x-ink)!important;border:1px solid var(--x-line)!important;box-shadow:none!important;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
html #authGate .lpx .btn:hover{transform:translateY(-1px)}
html #authGate .lpx .btn.primary{background:var(--x-accent)!important;color:var(--x-accent-ink)!important;border-color:var(--x-accent)!important}
html #authGate .lpx .btn.lpx-ghost{background:transparent!important}
html #authGate .lpx .lpx-big{padding:14px 24px;font-size:16px}
html #authGate .lpx .text-btn{background:none!important;border:0!important;color:var(--x-accent)!important;text-decoration:underline;cursor:pointer;font:inherit;padding:0}
html #authGate .lpx :is(a,button,summary):focus-visible{outline:2px solid var(--x-accent)!important;outline-offset:3px}
html #authGate .lpx .lpx-eye,html #authGate .lpx .lpx-kicker{font:600 11px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:.2em;text-transform:uppercase}
html #authGate .lpx .lpx-eye{color:var(--x-accent)!important}
html #authGate .lpx .lpx-muted{color:var(--x-muted)!important}

/* nav */
html #authGate .lpx .lpx-nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(16px,4vw,48px);background:color-mix(in srgb,var(--x-paper) 86%,transparent)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
html #authGate .lpx .lpx-nav.scrolled{border-bottom-color:var(--x-line);box-shadow:0 6px 24px rgba(0,0,0,.06)}
html #authGate .lpx .lpx-brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--x-ink)!important}
html #authGate .lpx .lpx-brand b{display:block;font-size:13.5px;letter-spacing:.16em;font-weight:600}
html #authGate .lpx .lpx-brand small{display:block;font-size:12px;color:var(--x-muted)!important}
html #authGate .lpx .lpx-mark{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--x-sky);color:var(--x-sky-gold)!important;font-size:16px;flex:none}
html #authGate .lpx .lpx-links{display:flex;gap:clamp(12px,2vw,24px)}
html #authGate .lpx .lpx-links a{color:var(--x-muted)!important;text-decoration:none;font-size:14.5px;padding:6px 0;border-bottom:1px solid transparent}
html #authGate .lpx .lpx-links a:hover{color:var(--x-ink)!important;border-bottom-color:var(--x-accent)}
html #authGate .lpx .lpx-nav-actions{display:flex;gap:8px;align-items:center}
html #authGate .lpx .theme-picker153{display:flex;align-items:center;margin:0}
html #authGate .lpx .theme-picker153>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html #authGate .lpx .theme-picker153 select{border-radius:999px!important;padding:9px 30px 9px 14px;font:inherit;font-size:14px;background-color:var(--x-paper)!important;color:var(--x-ink)!important;border:1px solid var(--x-line)!important;width:auto;margin:0}

/* hero: the same night-sky panel as the dashboard greeting */
html #authGate .lpx .lpx-main{max-width:1360px!important;margin:0 auto!important;padding:0 clamp(12px,3.2vw,56px) 36px!important;background:transparent!important;display:flex;flex-direction:column;gap:clamp(14px,2vw,22px)}
html #authGate .lpx .lpx-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:clamp(24px,4vw,60px);align-items:center;margin-top:clamp(10px,1.6vw,18px);padding:clamp(34px,6vw,84px) clamp(20px,5vw,72px);border-radius:calc(var(--x-radius) + 6px);background:var(--x-sky-glass)!important;color:var(--x-sky-ink)!important;box-shadow:0 26px 60px rgba(40,24,12,.28)}
html #authGate .lpx .lpx-hero::before{content:none}
html #authGate .lpx .lpx-wheel{display:none;position:absolute;right:-12%;top:50%;width:min(92vh,780px);height:min(92vh,780px);transform:translateY(-50%);opacity:.14;pointer-events:none;animation:lpx-turn 360s linear infinite}
html #authGate .lpx .lpx-wheel circle{fill:none;stroke:var(--x-sky-gold);stroke-width:.35}
html #authGate .lpx .lpx-wheel line{stroke:var(--x-sky-gold);stroke-width:.35}
html #authGate .lpx .lpx-wheel text{fill:var(--x-sky-gold);font:5px Georgia,serif;text-anchor:middle;dominant-baseline:middle}
@keyframes lpx-turn{to{transform:translateY(-50%) rotate(-360deg)}}
html #authGate .lpx .lpx-hero-copy{position:relative;z-index:1}
html #authGate .lpx .lpx-hero .lpx-kicker{color:var(--x-sky-gold)!important}
html #authGate .lpx .lpx-hero h1{font-size:clamp(34px,4.6vw,60px);line-height:1.08;margin:16px 0 18px;color:#fff!important;text-wrap:balance}
html #authGate .lpx .lpx-lede{font-size:clamp(16px,1.35vw,18.5px);line-height:1.68;color:var(--x-sky-muted)!important;max-width:620px}
html #authGate .lpx .lpx-cta{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 14px}
html #authGate .lpx .lpx-hero .btn.primary{background:var(--x-sky-btn)!important;border-color:var(--x-sky-btn)!important;color:var(--x-sky-btn-ink)!important;box-shadow:0 10px 26px rgba(0,0,0,.25)!important}
html #authGate .lpx .lpx-hero .btn.lpx-ghost{color:var(--x-sky-ink)!important;border-color:rgba(255,255,255,.34)!important}
html #authGate .lpx .lpx-hero .btn.lpx-ghost:hover{background:rgba(255,255,255,.08)!important}
html #authGate .lpx .lpx-fine{font-size:13.5px;color:var(--x-muted)!important;line-height:1.55}
html #authGate .lpx .lpx-hero .lpx-fine{color:var(--x-sky-muted)!important;display:flex;gap:10px;align-items:baseline;max-width:560px}
html #authGate .lpx .lpx-pulse{flex:none;width:8px;height:8px;border-radius:50%;background:var(--x-sky-gold);box-shadow:0 0 0 0 var(--x-sky-gold);animation:lpx-pulse 2.4s ease-out infinite;transform:translateY(-1px)}
@keyframes lpx-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--x-sky-gold) 60%,transparent)}70%{box-shadow:0 0 0 9px transparent}100%{box-shadow:0 0 0 0 transparent}}
html #authGate .lpx .lpx-center{text-align:center}

/* live chart card */
html #authGate .lpx .lpx-sky{position:relative;z-index:1;margin:0;background:var(--x-paper)!important;color:var(--x-ink)!important;border-radius:var(--x-radius);padding:16px 16px 14px;box-shadow:0 30px 70px rgba(0,0,0,.35);border:1px solid color-mix(in srgb,var(--x-sky-gold) 35%,transparent)}
html #authGate .lpx .lpx-sky-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px}
html #authGate .lpx .lpx-sky-head span{font:600 10.5px system-ui,sans-serif!important;letter-spacing:.16em;color:var(--x-accent)!important;display:flex;gap:7px;align-items:center}
html #authGate .lpx .lpx-sky-head span::before{content:"";width:7px;height:7px;border-radius:50%;background:#3aa35b;box-shadow:0 0 0 3px #3aa35b33}
html #authGate .lpx .lpx-sky-head b{font-size:13px;font-weight:normal;color:var(--x-muted)!important}
html #authGate .lpx .lpx-sky-chart svg{width:100%;height:auto;display:block}
html #authGate .lpx .lpx-sky figcaption{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html #authGate .lpx .lpx-sky figcaption span{background:var(--x-paper2);border:1px solid var(--x-line);border-radius:999px;padding:4px 11px;font-size:13px}
html #authGate .lpx .lpx-sky-load{min-height:340px;display:grid;place-items:center;color:var(--x-muted)!important}

/* numbers */
html #authGate .lpx .lpx-numbers{display:grid;grid-template-columns:repeat(4,1fr);background:var(--x-paper)!important;border:1px solid var(--x-line);border-radius:var(--x-radius);box-shadow:var(--x-shadow);overflow:hidden}
html #authGate .lpx .lpx-num{padding:clamp(18px,2.2vw,28px) clamp(14px,2vw,26px);border-right:1px solid var(--x-line);border-bottom:1px solid var(--x-line);display:flex;flex-direction:column;gap:6px}
html #authGate .lpx .lpx-num:nth-child(4n){border-right:0}
html #authGate .lpx .lpx-num:nth-last-child(-n+4){border-bottom:0}
html #authGate .lpx .lpx-num b{font-family:Georgia,serif;font-weight:normal;font-size:clamp(30px,3.4vw,46px);line-height:1;color:var(--x-accent)!important;font-variant-numeric:tabular-nums lining-nums}
html #authGate .lpx .lpx-num span{font-size:14px;line-height:1.45;color:var(--x-muted)!important}
html #authGate .lpx .lpx-num-week{background:var(--x-sky)!important;border-color:transparent}
html #authGate .lpx .lpx-num-week b{color:var(--x-sky-gold)!important}
html #authGate .lpx .lpx-num-week span{color:var(--x-sky-ink)!important}

/* sections are paper panels, like cards in the Study Space */
html #authGate .lpx .lpx-sec{background:var(--x-paper)!important;color:var(--x-ink)!important;border:1px solid var(--x-line);border-radius:var(--x-radius);box-shadow:var(--x-shadow);padding:clamp(34px,5vw,72px) clamp(18px,4.5vw,64px)}
html #authGate .lpx .lpx-head{max-width:760px;margin:0 auto clamp(24px,3vw,38px);text-align:center}
html #authGate .lpx .lpx-head.lpx-left{text-align:left;margin:0}
html #authGate .lpx .lpx-head h2{font-size:clamp(28px,3.2vw,44px);line-height:1.15;margin:12px 0 14px;text-wrap:balance}
html #authGate .lpx .lpx-head p{font-size:17px;line-height:1.7;color:var(--x-muted)!important}

/* bento of rooms */
html #authGate .lpx .lpx-bento{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;max-width:1240px;margin:0 auto}
html #authGate .lpx .lpx-tile{--gg:color-mix(in srgb,var(--g) 11%,var(--x-paper));position:relative;display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:calc(var(--x-radius) - 4px);background:linear-gradient(180deg,var(--gg),var(--x-paper) 70%)!important;border:1px solid color-mix(in srgb,var(--g) 26%,var(--x-line));transition:transform .2s,box-shadow .2s}
html #authGate .lpx .lpx-tile:hover{transform:translateY(-3px);box-shadow:0 18px 40px color-mix(in srgb,var(--g) 18%,transparent)}
html #authGate .lpx .lpx-w2{grid-column:span 2}html #authGate .lpx .lpx-w3{grid-column:span 3}html #authGate .lpx .lpx-w6{grid-column:span 6}
html #authGate .lpx .lpx-tile-top{display:flex;align-items:center;gap:10px}
html #authGate .lpx .lpx-glyph{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--g);color:#fff!important;font-size:21px;line-height:1;font-family:'Segoe UI Symbol','Noto Sans Symbols',Georgia,serif}
html[data-appearance=dark] #authGate .lpx .lpx-glyph{color:#111!important}
html #authGate .lpx .lpx-tile-top small{font:600 10.5px system-ui,sans-serif!important;letter-spacing:.14em;color:var(--g)!important}
html #authGate .lpx .lpx-tile h3{font-size:21px;line-height:1.25;margin-top:4px}
html #authGate .lpx .lpx-tile p{font-size:15px;line-height:1.62;color:var(--x-muted)!important}
html #authGate .lpx .lpx-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
html #authGate .lpx .lpx-chips span{font-size:12.5px;border-radius:999px;padding:4px 11px;background:var(--x-paper)!important;border:1px solid color-mix(in srgb,var(--g,var(--x-accent)) 30%,var(--x-line))}
html #authGate .lpx .lpx-chips span.on{background:var(--g)!important;border-color:var(--g);color:#fff!important}
html[data-appearance=dark] #authGate .lpx .lpx-chips span.on{color:#111!important}
html #authGate .lpx .lpx-demo{margin-top:auto;background:var(--x-paper)!important;border:1px solid var(--x-line);border-radius:14px;padding:14px}
html #authGate .lpx .lpx-lesson-row{display:flex;gap:12px;align-items:center}
html #authGate .lpx .lpx-lesson-row b{display:block;font-size:15px}
html #authGate .lpx .lpx-lesson-row small{font-size:12.5px;color:var(--x-muted)!important}
html #authGate .lpx .lpx-play{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--g);color:#fff!important;font-size:13px}
html #authGate .lpx .lpx-bar{height:6px;border-radius:999px;background:var(--x-paper2);margin:12px 0 4px;overflow:hidden}
html #authGate .lpx .lpx-bar i{display:block;height:100%;border-radius:inherit;background:var(--g)}
html #authGate .lpx .lpx-lesson .lpx-chips{padding-top:8px}
html #authGate .lpx .lpx-sutra{min-height:168px;display:flex;flex-direction:column;gap:8px}
html #authGate .lpx .lpx-sutra .dev{font-size:18px;line-height:1.6;font-family:'Noto Serif Devanagari','Tiro Devanagari Sanskrit','Nirmala UI',Georgia,serif}
html #authGate .lpx .lpx-sutra .iast{font-style:italic;font-size:14px;line-height:1.55;color:var(--x-muted)!important}
html #authGate .lpx .lpx-sutra .tr{font-size:14.5px;line-height:1.55}
html #authGate .lpx .lpx-sutra .ref{display:flex;justify-content:space-between;align-items:center;gap:8px;font:600 10.5px system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:var(--g)!important}
html #authGate .lpx .lpx-dots{display:flex;gap:5px}
html #authGate .lpx .lpx-dots button{width:22px;height:22px;border-radius:50%;border:0!important;background:transparent!important;padding:0;cursor:pointer;display:grid;place-items:center}
html #authGate .lpx .lpx-dots button::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--x-line)}
html #authGate .lpx .lpx-dots button[aria-pressed=true]::after{background:var(--g)}
html #authGate .lpx .lpx-games{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px 28px;align-items:center}
html #authGate .lpx .lpx-gamechips{margin:0;padding:0}
html #authGate .lpx .lpx-gamechips span{font-size:14px;padding:7px 14px}

/* live calculations */
html #authGate .lpx .lpx-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1.05fr);gap:clamp(24px,4vw,56px);align-items:start}
html #authGate .lpx .lpx-born{margin-top:22px;padding:16px 18px;border-radius:16px;background:var(--x-sky)!important;color:var(--x-sky-ink)!important;font-size:15.5px;line-height:1.6}
html #authGate .lpx .lpx-born:empty{display:none}
html #authGate .lpx .lpx-born small{display:block;font:600 10.5px system-ui,sans-serif!important;letter-spacing:.16em;color:var(--x-sky-gold)!important;margin-bottom:4px}
html #authGate .lpx .lpx-born b{color:var(--x-sky-gold)!important;font-weight:normal}
html #authGate .lpx .lpx-table{border:1px solid var(--x-line);border-radius:16px;overflow:hidden;background:var(--x-paper)!important}
html #authGate .lpx .lpx-row{display:grid;grid-template-columns:34px minmax(0,.8fr) minmax(0,1.1fr) minmax(0,1.1fr);gap:10px;align-items:center;padding:10px 14px;border-top:1px solid var(--x-line);font-size:14.5px}
html #authGate .lpx .lpx-row:first-child{border-top:0}
html #authGate .lpx .lpx-row.head{background:var(--x-paper2)!important;font:600 10.5px system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:var(--x-muted)!important;padding:9px 14px}
html #authGate .lpx .lpx-row i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--g) 14%,var(--x-paper));color:var(--g)!important;font-size:15px}
html #authGate .lpx .lpx-row small{color:var(--x-muted)!important;font-size:12.5px}
html #authGate .lpx .lpx-row em{font-style:normal;font-size:12px;color:var(--x-accent)!important}

/* path of study */
html #authGate .lpx .lpx-path{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:1240px;margin:0 auto;position:relative}
html #authGate .lpx .lp9-tier{position:relative;background:var(--x-paper2)!important;border:1px solid var(--x-line);border-radius:18px;padding:18px}
html #authGate .lpx .lp9-tier:not(:last-child)::after{content:"";position:absolute;right:-12px;top:34px;width:10px;height:10px;border-top:2px solid var(--x-line);border-right:2px solid var(--x-line);transform:rotate(45deg);z-index:1}
html #authGate .lpx .lp9-tt{display:grid;grid-template-columns:auto 1fr;gap:0 12px;align-items:center;margin-bottom:14px}
html #authGate .lpx .lp9-tt b{grid-row:span 2;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--x-sky)!important;color:var(--x-sky-gold)!important;font-family:Georgia,serif;font-size:15px}
html #authGate .lpx .lp9-tt span{font-size:18px;font-family:Georgia,serif}
html #authGate .lpx .lp9-tt small{font-size:12.5px;color:var(--x-muted)!important;line-height:1.35}
html #authGate .lpx .lp9-tier ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
html #authGate .lpx .lp9-tier li{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:8px 10px;border-radius:10px;background:var(--x-paper)!important;border:1px solid var(--x-line)}
html #authGate .lpx .lp9-tier li b{font-weight:normal;font-size:14.5px;line-height:1.3}
html #authGate .lpx .lp9-tier li small{flex:none;font:600 9.5px system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted)!important}
html #authGate .lpx .lp9-tier li.open{border-color:var(--x-accent);box-shadow:inset 3px 0 0 var(--x-accent)}
html #authGate .lpx .lp9-tier li.open small{color:var(--x-accent)!important}
html #authGate .lpx .lp9-tier li.prep small{color:var(--x-gold)!important}

/* weekly rhythm */
html #authGate .lpx .lpx-week{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:14px;max-width:1240px;margin:0 auto}
html #authGate .lpx .lpx-week article{border:1px solid var(--x-line);border-radius:18px;padding:22px;background:var(--x-paper2)!important;display:flex;flex-direction:column;gap:8px}
html #authGate .lpx .lpx-week small{font:600 10.5px system-ui,sans-serif!important;letter-spacing:.16em;color:var(--x-accent)!important}
html #authGate .lpx .lpx-week b{font-family:Georgia,serif;font-weight:normal;font-size:21px;line-height:1.25}
html #authGate .lpx .lpx-week p{font-size:14.5px;line-height:1.6;color:var(--x-muted)!important}
html #authGate .lpx .lpx-week .lpx-week-main{background:var(--x-sky)!important;border-color:transparent;color:var(--x-sky-ink)!important}
html #authGate .lpx .lpx-week .lpx-week-main small{color:var(--x-sky-gold)!important}
html #authGate .lpx .lpx-week .lpx-week-main b{font-size:28px;color:#fff!important}
html #authGate .lpx .lpx-week .lpx-week-main p{color:var(--x-sky-muted)!important}

/* colour moods */
html #authGate .lpx .lpx-mood-row{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;max-width:1240px;margin:0 auto}
html #authGate .lpx .lpx-mood{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:12px 12px 14px;border-radius:18px;background:var(--x-paper2)!important;border:1px solid var(--x-line)!important;color:var(--x-ink)!important;cursor:pointer;font:inherit;transition:transform .15s,border-color .15s}
html #authGate .lpx .lpx-mood:hover{transform:translateY(-2px)}
html #authGate .lpx .lpx-mood[aria-pressed=true]{border:2px solid var(--x-accent)!important;padding:11px 11px 13px}
html #authGate .lpx .lpx-mood b{font-family:Georgia,serif;font-weight:normal;font-size:17px;margin-top:6px}
html #authGate .lpx .lpx-mood small{font-size:12.5px;line-height:1.4;color:var(--x-muted)!important}
html #authGate .lpx .lpx-sw{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:linear-gradient(135deg,var(--d) 0 34%,transparent 34%),var(--a);position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.08)}
html #authGate .lpx .lpx-sw::before{content:"";position:absolute;left:44%;top:20%;width:46%;height:26%;border-radius:6px;background:var(--b)}
html #authGate .lpx .lpx-sw::after{content:"";position:absolute;left:44%;top:56%;width:28%;height:18%;border-radius:999px;background:var(--c)}

/* teacher, trial, plans, questions */
html #authGate .lpx .lpx-teacher{display:grid;grid-template-columns:auto 1fr;gap:clamp(20px,4vw,52px);align-items:center}
html #authGate .lpx .lpx-teacher h2{font-size:clamp(30px,3vw,40px);margin:10px 0 12px}
html #authGate .lpx .lpx-teacher p{font-size:17.5px;line-height:1.75;color:var(--x-muted)!important;max-width:780px}
html #authGate .lpx .lpx-portrait{width:clamp(130px,16vw,190px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:var(--x-sky)!important;color:var(--x-sky-gold)!important;font:clamp(34px,4vw,48px) Georgia,serif;letter-spacing:.06em;box-shadow:0 0 0 8px var(--x-paper2),0 0 0 9px var(--x-line)}
html #authGate .lpx .lpx-steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1040px;margin:0 auto;padding:0}
html #authGate .lpx .lpx-steps li{counter-increment:s;background:var(--x-paper2)!important;border:1px solid var(--x-line);border-radius:18px;padding:22px 20px;position:relative}
html #authGate .lpx .lpx-steps li::before{content:counter(s);position:absolute;top:18px;right:18px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--x-accent);color:var(--x-accent-ink);font:600 13px system-ui,sans-serif}
html #authGate .lpx .lpx-steps b{display:block;font-family:Georgia,serif;font-weight:normal;font-size:22px;margin-bottom:8px}
html #authGate .lpx .lpx-steps span{font-size:15px;line-height:1.6;color:var(--x-muted)!important}
html #authGate .lpx .lpx-plans{display:grid;grid-template-columns:repeat(2,minmax(0,400px));gap:18px;justify-content:center;margin-bottom:18px}
html #authGate .lpx .lpx-plan{position:relative;background:var(--x-paper2)!important;border:1px solid var(--x-line);border-radius:var(--x-radius);padding:28px;display:flex;flex-direction:column;gap:14px}
html #authGate .lpx .lpx-plan.featured{background:var(--x-paper)!important;border:2px solid var(--x-accent);box-shadow:0 24px 60px color-mix(in srgb,var(--x-accent) 22%,transparent)}
html #authGate .lpx .lpx-badge{position:absolute;top:-13px;left:24px;background:var(--x-gold)!important;color:#1d1826!important;font:600 11.5px system-ui,sans-serif!important;border-radius:999px;padding:5px 12px}
html #authGate .lpx .lpx-plan h3{font-size:22px}
html #authGate .lpx .lpx-price b{font-family:Georgia,serif;font-size:50px;font-weight:normal;line-height:1}
html #authGate .lpx .lpx-price span{display:block;color:var(--x-muted)!important;font-size:14px;margin-top:6px}
html #authGate .lpx .lpx-plan ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;flex:1}
html #authGate .lpx .lpx-plan li{padding-left:24px;position:relative;font-size:15px;line-height:1.5}
html #authGate .lpx .lpx-plan li::before{content:"✦";position:absolute;left:0;top:0;color:var(--x-gold);font-size:13px}
html #authGate .lpx .lpx-plan .btn.full{width:100%;padding:13px}
html #authGate .lpx .lpx-faq{max-width:840px;margin:0 auto;display:flex;flex-direction:column;gap:8px}
html #authGate .lpx .lpx-faq details{background:var(--x-paper2)!important;border:1px solid var(--x-line);border-radius:14px;padding:0}
html #authGate .lpx .lpx-faq summary{cursor:pointer;font-size:17px;padding:16px 50px 16px 20px;list-style:none;position:relative}
html #authGate .lpx .lpx-faq summary::-webkit-details-marker{display:none}
html #authGate .lpx .lpx-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:22px;color:var(--x-accent);transition:transform .2s}
html #authGate .lpx .lpx-faq details[open] summary::after{transform:translateY(-50%) rotate(45deg)}
html #authGate .lpx .lpx-faq details p{padding:0 20px 18px;font-size:15.5px;line-height:1.7;color:var(--x-muted)!important}

/* closing call and footer */
html #authGate .lpx .lpx-final{position:relative;overflow:hidden;text-align:center;padding:clamp(48px,7vw,96px) 18px;border-radius:calc(var(--x-radius) + 6px);background:var(--x-sky-glass)!important;color:var(--x-sky-ink)!important;display:flex;flex-direction:column;align-items:center;gap:12px}
html #authGate .lpx .lpx-final .lpx-kicker{color:var(--x-sky-gold)!important}
html #authGate .lpx .lpx-final h2{font-size:clamp(32px,4vw,52px);color:#fff!important}
html #authGate .lpx .lpx-final p{color:var(--x-sky-muted)!important;font-size:17px;margin-bottom:10px}
html #authGate .lpx .lpx-final .btn.primary{background:var(--x-sky-btn)!important;border-color:var(--x-sky-btn)!important;color:var(--x-sky-btn-ink)!important}
html #authGate .lpx .lpx-foot{display:flex!important;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:24px clamp(18px,4vw,48px) 36px!important;background:transparent!important;border:0!important;color:var(--x-on-bg)!important}
html #authGate .lpx .lpx-foot b{display:block;letter-spacing:.16em;font-size:13px}
html #authGate .lpx .lpx-foot small{color:var(--x-on-bg-muted)!important}
html #authGate .lpx .lpx-foot-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
html #authGate .lpx .lpx-foot-links a{color:var(--x-on-bg-muted)!important;text-decoration:none;font-size:14px}
html #authGate .lpx .lpx-foot-links .text-btn{color:var(--x-on-bg)!important}
html #authGate .lpx :is(.invite-banner,.checkout-banner){margin-top:16px;color:var(--x-ink)!important}
html #authGate .lpx .bl9-gate{background:var(--x-paper)!important;border-color:var(--x-line);color:var(--x-ink)!important}
html #authGate .lpx .bl9-gate p{color:var(--x-muted)!important}

/* reveal on scroll (only when script has marked the page as ready) */
html #authGate .lpx.lpx-js [data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
html #authGate .lpx.lpx-js [data-reveal].in{opacity:1;transform:none}

@media (max-width:1100px){
  html #authGate .lpx .lpx-links{display:none}
  html #authGate .lpx .lpx-bento{grid-template-columns:repeat(2,1fr)}
  html #authGate .lpx :is(.lpx-w2,.lpx-w3){grid-column:span 1}html #authGate .lpx .lpx-w6{grid-column:span 2}
  html #authGate .lpx .lpx-path{grid-template-columns:1fr 1fr}html #authGate .lpx .lp9-tier::after{display:none}
  html #authGate .lpx .lpx-week{grid-template-columns:1fr 1fr}
  html #authGate .lpx .lpx-mood-row{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  html #authGate .lpx :is(.lpx-hero,.lpx-calc){grid-template-columns:1fr}
  html #authGate .lpx .lpx-wheel{right:-40%;top:22%;width:120vw;height:120vw}
  html #authGate .lpx .lpx-numbers{grid-template-columns:1fr 1fr}
  html #authGate .lpx .lpx-num:nth-child(4n){border-right:1px solid var(--x-line)}html #authGate .lpx .lpx-num:nth-child(2n){border-right:0}
  html #authGate .lpx .lpx-num:nth-last-child(-n+4){border-bottom:1px solid var(--x-line)}html #authGate .lpx .lpx-num:nth-last-child(-n+2){border-bottom:0}
  html #authGate .lpx .lpx-games{grid-template-columns:1fr}
}
@media (max-width:640px){
  html #authGate .lpx .lpx-motion .t{display:none}html #authGate .lpx .lpx-motion{padding:8px 10px;right:10px;bottom:10px}
  html #authGate .lpx .lpx-nav{padding:10px 14px}
  html #authGate .lpx .lpx-nav-actions>:not(.primary){display:none!important}
  html #authGate .lpx .lpx-nav-actions .btn.primary{padding:9px 14px;font-size:14px}
  html #authGate .lpx .lpx-brand small{display:none}html #authGate .lpx .lpx-brand b{font-size:11.5px;letter-spacing:.1em}
  html #authGate .lpx .lpx-main{padding:0 8px 20px!important}
  html #authGate .lpx .lpx-hero{padding:32px 18px 20px;border-radius:22px}
  html #authGate .lpx .lpx-cta .btn{flex:1 1 100%}
  html #authGate .lpx :is(.lpx-bento,.lpx-path,.lpx-week,.lpx-steps,.lpx-plans){grid-template-columns:1fr}
  html #authGate .lpx :is(.lpx-w2,.lpx-w3,.lpx-w6){grid-column:auto}
  html #authGate .lpx .lpx-mood-row{grid-template-columns:1fr 1fr}
  html #authGate .lpx .lpx-teacher{grid-template-columns:1fr;text-align:center;justify-items:center}
  html #authGate .lpx .lpx-row{grid-template-columns:26px minmax(0,.9fr) minmax(0,1.1fr) minmax(0,1.1fr);gap:8px;padding:9px 10px;font-size:13px}
  html #authGate .lpx .lpx-row small{display:block}
  html #authGate .lpx .lpx-sec{padding:30px 16px;border-radius:20px}
}
@media (prefers-reduced-motion:reduce){
  html #authGate .lpx .lpx-wheel,html #authGate .lpx .lpx-pulse{animation:none}
  html #authGate .lpx :is(.lpx-tile,.btn,.lpx-mood){transition:none}
  html #authGate .lpx.lpx-js [data-reveal]{opacity:1;transform:none;transition:none}
}
