/* Mentora public pages: the homepage and the full-screen sign-in. Same fonts, greens and buttons as the app;
   the dark areas carry the tubes background, the reading sections stay light. The signed-in app does not load this. */
/* Colours come from the app: night = the dark theme's page (#121816) a step deeper, sage = its main button (#8fc7ae),
   text and muted text = its text colours, pine and green = the brand; the logo's pale green stays a small accent. */
:root{--pub-night:#0c1311;--pub-deep:#121816;--pub-forest:#214e43;--pub-emerald:#327263;--pub-accent:#dcebb4;--pub-accent-hi:#e8f3c8;--pub-sage:#8fc7ae;--pub-sage-hi:#a6d4bf;--pub-text:#e3ebe6;--pub-dim:rgba(227,235,230,.68);--pub-line:rgba(143,199,174,.2);--pub-paper:#fafbf7;--pub-ink:#233b36;--pub-muted:#5f7068;--pub-border:#e2e7e0;--pub-ease:cubic-bezier(.16,1,.3,1)}

/* The tubes: one fixed canvas behind the page, never clickable. The still picture shows until (or instead of) WebGL. */
.pub-sky{position:fixed;inset:0;z-index:0;background:radial-gradient(1200px 700px at 78% 30%,rgba(33,78,67,.42) 0%,transparent 60%),radial-gradient(900px 600px at 10% 90%,rgba(43,46,34,.55) 0%,transparent 55%),var(--pub-night);pointer-events:none}
.pub-sky::before{content:'';position:absolute;inset:0;background:var(--pub-still) center/cover no-repeat;opacity:.9;transition:opacity 1.2s ease}
.pub-sky canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.4s ease}
.pub-sky canvas.is-live{opacity:1}
.pub-sky:has(canvas.is-live)::before{opacity:0}

/* Buttons on dark: the logo's pale green as the main action, glass outline as the second. */
.pub-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 22px;border-radius:10px;font:600 14px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:transform .2s var(--pub-ease),background-color .2s ease,box-shadow .35s ease,border-color .2s ease,color .2s ease}
.pub-btn:hover{text-decoration:none;transform:translateY(-2px)}
.pub-btn:active{transform:scale(.97);transition-duration:.09s}
.pub-btn:focus-visible{outline:2px solid var(--pub-sage);outline-offset:3px}
.pub-btn svg{transition:transform .25s var(--pub-ease)}
.pub-btn:hover svg{transform:translateX(3px)}
.pub-btn.is-main{background:var(--pub-sage);color:#121816}
.pub-btn.is-main:hover{background:var(--pub-sage-hi);box-shadow:0 12px 30px -12px rgba(143,199,174,.5)}
.pub-btn.is-ghost{background:rgba(255,255,255,.04);color:var(--pub-text);border-color:var(--pub-line);backdrop-filter:blur(8px)}
.pub-btn.is-ghost:hover{border-color:rgba(143,199,174,.5);background:rgba(255,255,255,.08)}
.pub-btn.is-dark{background:var(--pub-forest);color:#fff}
.pub-btn.is-dark:hover{background:#356655;box-shadow:0 12px 26px -14px rgba(33,78,67,.7)}

/* ───────────── Sign-in ───────────── */
body.pub-login{background:var(--pub-night);color:var(--pub-text);min-height:100vh}
.pub-login .auth-shell main{max-width:none;padding:0;margin:0}
.pub-login .auth-shell>footer{display:none}
html body.pub-login main>.lx.lx{animation:none}  /* the card has its own entrance; the fixed canvas must not move */
.lx{position:relative;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 16px 72px;isolation:isolate}
/* A soft dark pool behind the card keeps the tubes visible around it but quiet behind the text. */
.lx-veil{position:fixed;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 520px 460px at 50% 50%,rgba(12,19,17,.72) 0%,rgba(12,19,17,.35) 55%,transparent 80%),linear-gradient(180deg,rgba(12,19,17,.35),transparent 30%,transparent 70%,rgba(12,19,17,.5))}
.lx-card{position:relative;z-index:2;width:min(420px,100%);padding:38px 36px 30px;border-radius:22px;background:linear-gradient(160deg,rgba(26,34,31,.66),rgba(12,19,17,.8));border:1px solid var(--pub-line);box-shadow:0 40px 90px -40px rgba(0,0,0,.85),0 0 0 1px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.07);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);animation:lx-in .8s var(--pub-ease) .1s both}
/* A faint green light along the top edge ties the card to the tubes. */
.lx-card::before{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:linear-gradient(180deg,rgba(143,199,174,.38),rgba(143,199,174,0) 40%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
@keyframes lx-in{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:none}}
@keyframes lx-up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.lx-card>*{animation:lx-up .7s var(--pub-ease) both}
.lx-card>:nth-child(1){animation-delay:.25s}.lx-card>:nth-child(2){animation-delay:.32s}.lx-card>:nth-child(3){animation-delay:.38s}.lx-card>:nth-child(4){animation-delay:.44s}.lx-card>:nth-child(n+5){animation-delay:.5s}
.lx-brand{display:inline-flex;align-items:center;gap:11px;color:var(--pub-text);font:800 21px Manrope,sans-serif;letter-spacing:-.4px;text-decoration:none;margin-bottom:26px}
.lx-brand:hover{text-decoration:none}
.lx-brand img{width:40px;height:40px;border-radius:12px;box-shadow:0 0 0 1px rgba(143,199,174,.22)}
.lx-name i{font-style:normal;color:var(--pub-accent)}
.lx h1{font:800 31px/1.15 Manrope,sans-serif;letter-spacing:-1px;margin:0 0 6px;color:#eef4f0}
.lx-lead{margin:0 0 24px;color:var(--pub-dim);font-size:14px}
.lx form p{margin:0 0 16px}
.lx label{display:block;margin:0 0 7px;font-size:12px;font-weight:600;letter-spacing:.2px;color:#cbd8d0}
.lx-card input:not([type=checkbox]):not([type=hidden]){width:100%;height:48px;padding:0 14px;border-radius:10px;border:1px solid rgba(143,199,174,.2);background:rgba(21,28,25,.75);color:#e3ebe6;font:15px 'DM Sans',sans-serif;box-shadow:none;transition:border-color .2s ease,box-shadow .3s ease,background-color .2s ease}
.lx-card input:not([type=checkbox]):not([type=hidden]):hover{border-color:rgba(143,199,174,.38)}
.lx-card input:not([type=checkbox]):not([type=hidden]):focus{outline:none;border-color:var(--pub-sage);background:rgba(21,28,25,.9);box-shadow:0 0 0 4px rgba(143,199,174,.18)}
/* Saved-password autofill: browsers paint their own light background on filled fields. A dark inset shadow covers it,
   with the same specificity as the field rules above so they cannot remove it, and the focus ring is kept on top. */
.lx-card input:not([type=checkbox]):not([type=hidden]):-webkit-autofill,.hp-access input:not([type=hidden]):-webkit-autofill{-webkit-text-fill-color:#e3ebe6;caret-color:#e3ebe6;box-shadow:0 0 0 60px #151c19 inset;transition:background-color 100000s 0s,color 100000s 0s}
.lx-card input:not([type=checkbox]):not([type=hidden]):-webkit-autofill:focus,.hp-access input:not([type=hidden]):-webkit-autofill:focus{box-shadow:0 0 0 60px #151c19 inset,0 0 0 4px rgba(143,199,174,.18)}
.lx-card input:not([type=checkbox]):not([type=hidden]):autofill,.hp-access input:not([type=hidden]):autofill{filter:none;background-color:#151c19;color:#e3ebe6}
.lx .password-toggle{color:#93a199}
.lx .password-toggle:hover{background:rgba(255,255,255,.07);color:#e3ebe6}
.lx .password-toggle:focus-visible{outline:2px solid var(--pub-sage)}
.lx .pub-btn{width:100%;margin-top:6px}
.lx .notice{background:rgba(196,74,60,.14);border:1px solid rgba(235,128,112,.35);color:#ffdcd6;border-radius:10px;padding:10px 13px;margin:0 0 16px;font-size:13px}
.lx-links{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 0;font-size:13px}
.lx-links a{color:var(--pub-sage)}
.lx-note{margin:18px 0 0;padding-top:16px;border-top:1px solid rgba(143,199,174,.14);font-size:12px;color:#93a199;line-height:1.55}
.lx-foot{position:fixed;left:0;right:0;bottom:18px;z-index:2;text-align:center;margin:0;font:700 11px Manrope,sans-serif;letter-spacing:2.5px;color:rgba(147,161,153,.75);pointer-events:none}
.lx-foot span{font:400 12px 'DM Sans',sans-serif;letter-spacing:0;margin-left:8px}
@media(max-width:520px){.lx{place-items:start center;padding-top:9vh}.lx-card{padding:30px 22px 24px;border-radius:18px}.lx h1{font-size:27px}.lx-foot{position:static;margin-top:24px}}

/* ───────────── Homepage ───────────── */
body.pub-home{margin:0;background:var(--pub-paper);color:var(--pub-ink);font:16px/1.6 'DM Sans',sans-serif}
.pub-home main{max-width:none;padding:0;margin:0;position:relative}  /* the app's page width does not apply here */
.hp-wrap{width:min(1180px,100% - 48px);margin:0 auto}
.hp-section{position:relative}
/* The journey line (one SVG over the whole page) sits above the section backgrounds and below their content. */
.hp-path{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
.hp-section>.hp-wrap,.hp-end>.hp-wrap,.hp-foot{position:relative;z-index:2}
.hp-light{background:var(--pub-paper)}
.hp-eyebrow{display:inline-block;font:700 11px Manrope,sans-serif;letter-spacing:2.2px;color:var(--pub-emerald);margin-bottom:14px}
.hp-h2{font:800 clamp(30px,4vw,48px)/1.08 Manrope,sans-serif;letter-spacing:-1.6px;margin:0 0 14px;color:var(--pub-forest)}
.hp-sub{font-size:17px;color:var(--pub-muted);max-width:620px;margin:0}
.hp-features .hp-h2,.hp-features .hp-sub,.hp-people .hp-h2{max-width:min(560px,44%)}

/* Navigation: clear over the hero, paper-coloured once the reading starts. */
.hp-nav{position:fixed;top:0;left:0;right:0;z-index:20;transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease;border-bottom:1px solid transparent}
.hp-nav .hp-wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:74px;gap:20px}
.hp-brand{justify-self:start}
.hp-signin{justify-self:end;height:40px;padding:0 16px}
.hp-brand{display:inline-flex;align-items:center;gap:10px;font:800 20px Manrope,sans-serif;letter-spacing:-.4px;color:#f4f9f5;text-decoration:none;transition:color .35s ease}
.hp-brand:hover{text-decoration:none}
.hp-brand img{width:36px;height:36px;border-radius:11px}
.hp-brand .lx-name i{font-style:normal;color:var(--pub-accent);transition:color .35s ease}
.hp-links{display:flex;align-items:center;gap:6px}
.hp-links a{margin:0}
.hp-links a:not(.pub-btn){display:inline-block;padding:8px 12px;border-radius:8px;font-size:14px;font-weight:500;color:rgba(238,245,240,.78);text-decoration:none;transition:color .2s ease,background-color .2s ease}
.hp-links a:not(.pub-btn):hover{color:#fff;background:rgba(255,255,255,.07)}
.hp-nav.is-solid{background:rgba(250,251,247,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-color:var(--pub-border)}
.hp-nav.is-solid .hp-brand{color:var(--pub-forest)}.hp-nav.is-solid .hp-brand .lx-name i{color:var(--pub-emerald)}
.hp-nav.is-solid .hp-links a:not(.pub-btn){color:var(--pub-muted)}
.hp-nav.is-solid .hp-links a:not(.pub-btn):hover{color:var(--pub-forest);background:#edf3e8}
.hp-nav.is-solid .hp-signin{color:var(--pub-forest);border-color:var(--pub-border);background:#fff}
@media(max-width:900px){.hp-links{display:none}.hp-nav .hp-wrap{grid-template-columns:1fr auto}}

/* Hero: dark, the tubes behind; a soft shade on the text side keeps it readable. */
.hp-hero{position:relative;z-index:2;min-height:100vh;min-height:100svh;display:flex;align-items:center;color:var(--pub-text);overflow:hidden}
.hp-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,19,17,.86) 0%,rgba(12,19,17,.55) 42%,rgba(12,19,17,0) 72%),linear-gradient(0deg,rgba(12,19,17,.75),transparent 25%);pointer-events:none}
.hp-hero .hp-wrap{position:relative;padding:120px 0 110px}
.hp-hero h1{font:800 clamp(42px,6.2vw,88px)/1 Manrope,sans-serif;letter-spacing:-.045em;margin:0 0 26px;color:#f4f9f5}
.hp-hero h1 span,.hp-hero h1 em{display:block}
.hp-hero h1 em{font-style:normal;color:var(--pub-accent)}
.hp-hero p{font-size:clamp(16px,1.6vw,19px);color:var(--pub-dim);max-width:520px;margin:0 0 36px}
.hp-hero .hp-eyebrow{color:var(--pub-accent);opacity:.85}
.hp-actions{display:flex;flex-wrap:wrap;gap:12px}
.hp-hero>.hp-wrap>*{animation:lx-up .9s var(--pub-ease) both}
.hp-hero>.hp-wrap>:nth-child(2){animation-delay:.08s}.hp-hero>.hp-wrap>:nth-child(3){animation-delay:.16s}.hp-hero>.hp-wrap>:nth-child(4){animation-delay:.24s}
.hp-cue{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:grid;justify-items:center;gap:8px;font:600 10px Manrope,sans-serif;letter-spacing:2.4px;color:rgba(222,236,228,.5);text-decoration:none}
.hp-cue i{width:1px;height:34px;background:linear-gradient(rgba(220,235,180,.7),transparent);animation:hp-cue 2.2s ease-in-out infinite}
@keyframes hp-cue{0%{transform:scaleY(0);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
@media(max-width:760px){.hp-hero::before{background:linear-gradient(0deg,rgba(12,19,17,.9) 10%,rgba(12,19,17,.55) 60%,rgba(12,19,17,.35))}.hp-hero{align-items:flex-end}.hp-cue{display:none}.hp-hero .hp-wrap{padding:110px 0 90px}}

/* For every subject: four subject cards and the SAT Math extras. */
.hp-subjects{padding:120px 0 40px}
.hp-subjects-head{max-width:720px}
.hp-subject-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:46px}
.hp-subject{padding:26px 22px;border:1px solid var(--pub-border);border-radius:16px;background:#fff;transition:transform .35s var(--pub-ease),box-shadow .35s ease,border-color .35s ease}
.hp-subject:hover{transform:translateY(-4px);border-color:#c9d8c4;box-shadow:0 22px 40px -28px rgba(33,78,67,.45)}
.hp-subject svg{width:40px;height:40px;padding:9px;border-radius:11px;background:#edf3e8;color:var(--pub-forest);margin-bottom:16px}
.hp-subject h3{font:800 18px/1.25 Manrope,sans-serif;letter-spacing:-.3px;margin:0 0 6px;color:var(--pub-forest)}
.hp-subject p{margin:0;font-size:14.5px;color:var(--pub-muted)}
.hp-sat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:28px 50px;align-items:center;margin-top:22px;padding:32px 36px;border-radius:20px;background:var(--pub-forest);color:var(--pub-text)}
.hp-sat .hp-eyebrow{color:var(--pub-accent);margin-bottom:8px}
.hp-sat h3{font:800 26px/1.2 Manrope,sans-serif;letter-spacing:-.6px;margin:0 0 6px;color:#fff}
.hp-sat p{margin:0;color:var(--pub-dim)}
.hp-sat ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;font-size:14.5px}
.hp-sat li{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;color:var(--pub-dim)}
.hp-sat li strong{color:#fff;font-weight:600}
.hp-sat svg{width:20px;height:20px;margin-top:1px;color:var(--pub-accent)}
@media(max-width:1000px){.hp-subject-grid{grid-template-columns:repeat(2,1fr)}.hp-sat{grid-template-columns:1fr}}
@media(max-width:600px){.hp-subject-grid{grid-template-columns:1fr}.hp-sat ul{grid-template-columns:1fr}.hp-sat{padding:26px 22px}.hp-subjects{padding:90px 0 20px}}

/* Journey: the connector line draws with the scroll; each stage lights up as the line reaches it. */
.hp-journey{padding:130px 0 90px}
.hp-journey-head{text-align:center;margin:0 auto 70px;max-width:720px}
.hp-journey-head .hp-sub{margin:0 auto}
.hp-track{position:relative}
.hp-line-base{fill:none;stroke:rgba(110,135,122,.38);stroke-width:2;stroke-dasharray:2 8;stroke-linecap:round}
.hp-line{fill:none;stroke:url(#hp-line-paint);stroke-width:3;stroke-linecap:round}
.hp-tip{fill:#327263;filter:drop-shadow(0 0 6px rgba(50,114,99,.5))}
.hp-stage{position:relative;display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;min-height:440px;padding:40px 0}
.hp-stage+.hp-stage{margin-top:30px}
.hp-node{grid-column:2;justify-self:center;position:relative;width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #cfd8cc;transition:border-color .4s ease,background-color .4s ease,transform .5s var(--pub-ease),box-shadow .5s ease;z-index:1}
.hp-node::after{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--pub-accent);transform:scale(0);transition:transform .45s var(--pub-ease)}
.hp-stage.is-reached .hp-node{border-color:#214e43;background:#214e43;transform:scale(1.15);box-shadow:0 0 0 7px rgba(50,114,99,.12)}
.hp-stage.is-reached .hp-node::after{transform:scale(1)}
.hp-copy{grid-column:1;grid-row:1;justify-self:end;max-width:430px;text-align:left}
.hp-shot{grid-column:3;grid-row:1}
.hp-stage:nth-child(even) .hp-copy{grid-column:3;justify-self:start}
.hp-stage:nth-child(even) .hp-shot{grid-column:1}
.hp-step{display:inline-flex;align-items:center;gap:10px;font:700 12px Manrope,sans-serif;letter-spacing:1.8px;color:var(--pub-emerald);margin-bottom:12px}
.hp-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#edf3e8;color:#214e43;font-size:13px;letter-spacing:0}
.hp-copy h3{font:800 clamp(24px,2.6vw,32px)/1.15 Manrope,sans-serif;letter-spacing:-.8px;margin:0 0 12px;color:var(--pub-forest)}
.hp-copy p{margin:0 0 16px;color:var(--pub-muted)}
.hp-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px}
.hp-copy li{display:flex;gap:10px;align-items:flex-start}
.hp-copy li::before{content:'';flex:none;width:16px;height:16px;margin-top:4px;border-radius:5px;background:#edf3e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23214e43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.hp-shot{margin:0;border-radius:16px;background:#fff;border:1px solid var(--pub-border);box-shadow:0 30px 60px -36px rgba(33,78,67,.45);overflow:hidden;max-width:520px;width:100%}
.hp-shot img{display:block;width:100%;height:auto}
.hp-stage:not(:nth-child(even)) .hp-shot{justify-self:start}
.hp-stage:nth-child(even) .hp-shot{justify-self:end}
/* Content rises in the first time its stage is reached and then stays. */
.hp-js .hp-copy,.hp-js .hp-shot{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .9s var(--pub-ease)}
.hp-js .hp-shot{transition-delay:.12s}
.hp-js .hp-stage.is-seen .hp-copy,.hp-js .hp-stage.is-seen .hp-shot{opacity:1;transform:none}
@media(max-width:860px){
  .hp-journey{padding:100px 0 60px}
  .hp-stage{grid-template-columns:1fr;min-height:0;padding:26px 0;align-items:start}
  .hp-node{grid-area:auto;position:absolute;left:-19px;top:33px;width:14px;height:14px;border-width:2px}
  .hp-stage:nth-child(even) .hp-node{left:auto;right:-19px}
  .hp-line{stroke-width:2.5}
  .hp-node::after{inset:2px}
  .hp-copy,.hp-stage:nth-child(even) .hp-copy{grid-column:1;grid-row:1;justify-self:start;max-width:none}
  .hp-shot,.hp-stage:nth-child(even) .hp-shot{grid-column:1;grid-row:2;justify-self:start;margin-top:20px}
  .hp-features .hp-h2,.hp-features .hp-sub,.hp-people .hp-h2{max-width:none}
}

/* Features */
.hp-features{padding:110px 0;background:#fff;border-top:1px solid var(--pub-border);border-bottom:1px solid var(--pub-border)}
.hp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:50px}
.hp-card{padding:26px 24px;border:1px solid var(--pub-border);border-radius:16px;background:var(--pub-paper);transition:transform .35s var(--pub-ease),box-shadow .35s ease,border-color .35s ease}
.hp-card:hover{transform:translateY(-4px);border-color:#c9d8c4;box-shadow:0 22px 40px -28px rgba(33,78,67,.45)}
.hp-card svg{width:40px;height:40px;padding:9px;border-radius:11px;background:#214e43;color:var(--pub-accent);margin-bottom:16px;transition:transform .4s var(--pub-ease)}
.hp-card:hover svg{transform:rotate(-8deg) scale(1.06)}
.hp-card h3{font:800 18px/1.25 Manrope,sans-serif;letter-spacing:-.3px;margin:0 0 6px;color:var(--pub-forest)}
.hp-card p{margin:0;font-size:14.5px;color:var(--pub-muted)}
@media(max-width:960px){.hp-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hp-grid{grid-template-columns:1fr}}

/* For teachers and students */
.hp-people{padding:110px 0}
.hp-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:46px}
.hp-panel{position:relative;padding:36px 34px;border-radius:20px;overflow:hidden}
.hp-panel h3{font:800 26px/1.2 Manrope,sans-serif;letter-spacing:-.7px;margin:0 0 6px}
.hp-panel>p{margin:0 0 22px}
.hp-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.hp-panel li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start}
.hp-panel li strong{display:block;font-weight:600}
.hp-panel li span{font-size:14.5px}
.hp-panel li svg{width:22px;height:22px;margin-top:2px}
.hp-panel.is-teachers{background:var(--pub-forest);color:var(--pub-text)}
.hp-panel.is-teachers h3{color:#fff}.hp-panel.is-teachers>p,.hp-panel.is-teachers li span{color:var(--pub-dim)}
.hp-panel.is-teachers li svg{color:var(--pub-accent)}
.hp-panel.is-students{background:#e8eeda;color:var(--pub-forest)}
.hp-panel.is-students>p,.hp-panel.is-students li span{color:#4d6158}
.hp-panel.is-students li svg{color:var(--pub-emerald)}
@media(max-width:860px){.hp-pair{grid-template-columns:1fr}}

/* Closing call to action: dark again, the tubes return. */
.hp-end{position:relative;color:var(--pub-text);padding:150px 0 0;overflow:hidden}
.hp-end::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 760px 420px at 50% 45%,rgba(12,19,17,.75),rgba(12,19,17,.2) 70%,transparent),linear-gradient(180deg,rgba(0,0,0,.35),transparent 120px);pointer-events:none}
.hp-end .hp-wrap{position:relative}
.hp-end h2{font:800 clamp(36px,5.4vw,68px)/1.02 Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 18px;color:#f4f9f5}
.hp-end h2 em{font-style:normal;color:var(--pub-accent)}
.hp-end p{color:var(--pub-dim);max-width:520px;font-size:17px}
.hp-end .hp-actions{justify-content:center}
.hp-foot{position:relative;margin-top:140px;border-top:1px solid rgba(170,214,190,.12);padding:26px 0 30px}
.hp-foot .hp-wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:rgba(222,236,228,.5)}
.hp-foot b{font:800 12px Manrope,sans-serif;letter-spacing:2.5px;color:rgba(222,236,228,.75);margin-right:8px}

/* Try a question: the same choice cards, check-and-retry and right/wrong feedback as practice inside Mentora. */
.hp-try{padding:110px 0;border-top:1px solid var(--pub-border)}
.hp-try-grid,.hp-parents-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:60px;align-items:center}
.hp-try-list{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px;font-size:15px;color:var(--pub-ink)}
.hp-try-list li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
.hp-try-list svg{width:20px;height:20px;margin-top:2px;color:var(--pub-emerald)}
.hp-quiz{background:#fff;border:1px solid var(--pub-border);border-radius:20px;padding:28px;box-shadow:0 30px 60px -40px rgba(33,78,67,.5)}
.hp-quiz-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--pub-muted);margin-bottom:16px}
.hp-quiz-topic{font:700 11px Manrope,sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:var(--pub-emerald);background:#edf3e8;padding:5px 9px;border-radius:6px}
.hp-quiz fieldset{border:0;margin:0;padding:0;min-width:0}
.hp-quiz-question{display:block;font:600 18px/1.45 'DM Sans',sans-serif;color:var(--pub-ink);margin:0 0 18px;padding:0}
.hp-quiz-choices{display:grid;gap:10px}
.hp-choice{position:relative;display:flex;align-items:center;gap:14px;min-height:56px;margin:0;padding:10px 16px;border:1.5px solid #cfd8cc;border-radius:10px;background:#fff;cursor:pointer;font-size:16px;color:var(--pub-ink);transition:border-color .2s ease,background-color .2s ease,box-shadow .3s ease,transform .2s ease}
.hp-choice input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.hp-choice b{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;border:1.5px solid #b9c6b5;font:700 13px Manrope,sans-serif;color:var(--pub-forest);transition:background-color .2s ease,color .2s ease,border-color .2s ease}
@media(hover:hover){.hp-choice:hover{border-color:var(--pub-emerald);transform:translateY(-1px);box-shadow:0 8px 18px -14px rgba(33,78,67,.5)}}
.hp-choice:has(input:focus-visible){outline:2px solid var(--pub-forest);outline-offset:2px}
.hp-choice:has(input:checked){border-color:var(--pub-forest);background:#f6f8f2}
.hp-choice:has(input:checked) b{background:var(--pub-forest);border-color:var(--pub-forest);color:#fff}
.hp-choice.is-correct{border-color:#2f7d57;background:#eef6ef;animation:hp-ring .9s ease 2}
.hp-choice.is-correct b{background:#2f7d57;border-color:#2f7d57;color:#fff}
.hp-choice.is-wrong{border-color:#b5483c;background:#fbf0ee;animation:hp-shake .48s ease}
.hp-choice.is-wrong b{background:#b5483c;border-color:#b5483c;color:#fff}
.hp-choice.is-locked{cursor:default}
@keyframes hp-ring{0%{box-shadow:0 0 0 0 rgba(47,125,87,.45)}70%,100%{box-shadow:0 0 0 12px rgba(47,125,87,0)}}
@keyframes hp-shake{0%,100%{transform:none}20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
.hp-quiz-feedback{min-height:24px;margin:16px 0 0;font-size:14.5px;color:var(--pub-muted)}
.hp-quiz-feedback.is-correct{color:#1f5c3f}.hp-quiz-feedback.is-wrong{color:#93261d}
.hp-quiz-feedback:not(:empty){animation:lx-up .5s var(--pub-ease) both}
.hp-quiz-actions{display:flex;gap:10px;margin-top:16px}
.pub-btn[hidden]{display:none}
.pub-btn.is-soft{background:#edf3e8;color:var(--pub-forest)}
.pub-btn.is-soft:hover{background:#e2ecdc}
.pub-btn.is-dark:focus-visible,.pub-btn.is-soft:focus-visible{outline-color:var(--pub-forest)}

/* For parents: a sample letter in the app's report style. */
.hp-parents{padding:110px 0;border-top:1px solid var(--pub-border)}
.hp-letter{margin:0;position:relative;background:#fff;border:1px solid var(--pub-border);border-radius:18px;padding:34px 36px 30px;font:15.5px/1.75 Georgia,serif;color:#2f3d38;box-shadow:0 30px 60px -40px rgba(33,78,67,.5)}
.hp-letter::before{content:'';position:absolute;left:0;top:28px;bottom:28px;width:3px;border-radius:0 3px 3px 0;background:var(--pub-forest)}
.hp-letter figcaption{font:700 10.5px Manrope,sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:var(--pub-muted);margin-bottom:16px}
.hp-letter p{margin:0 0 12px}
.hp-letter-to{font-weight:700}
.hp-letter-sign{margin:18px 0 0!important;color:var(--pub-muted)}

/* Closing section with the request-access card */
.hp-end-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:60px;align-items:center;text-align:left}
.hp-end-copy p{margin:0 0 28px}
.hp-end-node{fill:#121816;stroke:rgba(143,199,174,.55);stroke-width:2;transition:fill .5s ease,stroke .5s ease,filter .5s ease}
.hp-end-node.is-reached{fill:var(--pub-sage);stroke:var(--pub-sage);filter:drop-shadow(0 0 8px rgba(143,199,174,.6))}
.hp-access{transition:border-color .6s ease,box-shadow .6s ease}
.hp-access.is-reached{border-color:rgba(143,199,174,.45);box-shadow:0 40px 90px -40px rgba(0,0,0,.85),0 0 0 4px rgba(143,199,174,.08),inset 0 1px 0 rgba(255,255,255,.06)}
.hp-access{position:relative;padding:30px 30px 26px;border-radius:20px;background:linear-gradient(160deg,rgba(26,34,31,.7),rgba(12,19,17,.82));border:1px solid var(--pub-line);box-shadow:0 40px 90px -40px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);text-align:left}
.hp-access h3{font:800 22px Manrope,sans-serif;letter-spacing:-.4px;margin:0 0 16px;color:#eef4f0}
.hp-access form p{margin:0 0 14px}
.hp-access label{display:block;margin:0 0 6px;font-size:12px;font-weight:600;color:#cbd8d0}
.hp-access label span{font-weight:400;color:#93a199}
.hp-access input:not([type=hidden]),.hp-access select,.hp-access textarea{width:100%;padding:11px 13px;border-radius:10px;border:1px solid rgba(143,199,174,.2);background:rgba(21,28,25,.8);color:#e3ebe6;font:15px 'DM Sans',sans-serif;box-shadow:none;transition:border-color .2s ease,box-shadow .3s ease}
.hp-access textarea{resize:vertical;min-height:84px}
.hp-access select option{background:#151c19;color:#e3ebe6}
.hp-access input:focus,.hp-access select:focus,.hp-access textarea:focus{outline:none;border-color:var(--pub-sage);box-shadow:0 0 0 4px rgba(143,199,174,.18)}
.hp-access .pub-btn{width:100%;margin-top:4px}
.hp-access .notice{background:rgba(196,74,60,.14);border:1px solid rgba(235,128,112,.35);color:#ffdcd6;border-radius:10px;padding:10px 13px;margin:0 0 14px;font-size:13px}
.hp-error{display:block;margin-top:5px;font-size:12.5px;color:#ffb4a8}
.hp-trap{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.hp-access-done{text-align:center;padding:18px 4px}
.hp-access-done svg{width:44px;height:44px;padding:10px;border-radius:50%;background:var(--pub-sage);color:#121816;margin-bottom:12px}
.hp-access-done p{color:var(--pub-dim);margin:0}
@media(max-width:900px){.hp-try-grid,.hp-parents-grid,.hp-end-grid{grid-template-columns:1fr;gap:36px}.hp-end{text-align:left}}
@media(max-width:520px){.hp-quiz,.hp-access{padding:22px 18px}.hp-letter{padding:26px 22px}}

@media(prefers-reduced-motion:reduce){
  .lx-card,.lx-card>*,.hp-hero>.hp-wrap>*{animation:none}
  .hp-cue i,.hp-choice,.hp-quiz-feedback{animation:none!important}
  .hp-js .hp-copy,.hp-js .hp-shot{opacity:1;transform:none;transition:none}
  .pub-btn,.hp-card,.hp-card svg{transition:none}
}
.hp-section[tabindex="-1"]:focus,.hp-hero[tabindex="-1"]:focus{outline:none}
