/* Landing page. Same fonts, colours, shapes and icons as the app. */
body.landing-mode{background:var(--cream)}
body.landing-mode .app{max-width:none}
#li-landing-preview{--lpgap:72px;overflow-x:clip;color:var(--ink);font-family:var(--sans)}
@media(min-width:900px){#li-landing-preview{--lpgap:104px}}
#li-landing-preview *{box-sizing:border-box}
#li-landing-preview section[id]{scroll-margin-top:72px}
.lp-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
@media(min-width:720px){.lp-wrap{padding:0 32px}}
.ph{vertical-align:-.25em}

/* header */
.lp-head{position:sticky;top:0;z-index:20;background:rgba(255,249,237,.78);backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color .2s,background .2s}
.lp-head.scrolled{border-color:var(--line);background:rgba(255,249,237,.94)}
.lp-head .in{display:flex;align-items:center;gap:16px;min-height:64px}
.lp-brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:700;font-size:20px;letter-spacing:-.02em;color:var(--forest);text-decoration:none}
.lp-brand i,.lp-foot i{width:36px;height:36px;border-radius:50%;background:var(--yellow);display:inline-grid;place-items:center;font-style:normal}
.lp-brand i .ph,.lp-foot i .ph{width:22px;height:22px}
@media(max-width:419px){.lp-brand span{display:none}}
.lp-nav{display:none;gap:2px;margin-left:12px}
.lp-nav a{min-height:44px;padding:0 14px;border-radius:99px;display:inline-flex;align-items:center;font-weight:700;font-size:15px;color:var(--muted);text-decoration:none}
.lp-nav a:hover{background:#fff;color:var(--ink)}
@media(min-width:900px){.lp-nav{display:flex}}
.lp-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.lp-login{min-height:44px;padding:0 14px;display:inline-flex;align-items:center;font-weight:800;font-size:15px;color:var(--forest);text-decoration:none}

/* hero */
.lp-hero{display:grid;gap:44px;padding-top:36px}
@media(min-width:900px){.lp-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:56px;padding-top:56px}}
.lp-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:99px;background:rgba(255,253,248,.88);border:1px solid rgba(24,60,53,.14);font-weight:800;font-size:13.5px;color:var(--forest)}
.lp-hero h1{font-family:var(--serif);font-weight:700;font-size:min(9.2vw,56px);line-height:1.08;letter-spacing:-.035em;margin:20px 0 18px}
.lp-hero h1 span{display:block;white-space:nowrap}
@media(min-width:900px){.lp-hero h1{font-size:clamp(40px,5vw,60px)}}
.lp-sub{font-size:clamp(18px,4.6vw,21px);line-height:1.45;color:rgba(24,60,53,.88);max-width:32em}
.lp-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.lp-cta .btn{text-decoration:none}
.lp-fine{display:flex;align-items:center;gap:8px;margin-top:16px;font-weight:700;font-size:14px;color:var(--forest)}
.lp-chat{position:relative;max-width:500px;width:100%;margin:0 auto}
.lp-chat-card{position:relative;z-index:1;background:#fff;border:1px solid var(--line);border-radius:30px;padding:18px;box-shadow:0 22px 50px rgba(24,60,53,.16)}
.lp-chat-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #eee8da}
.lp-chat-head .tile{width:52px;height:52px;border-radius:17px}.lp-chat-head .tile svg{width:36px;height:36px}
.lp-chat-head b{display:block;font-family:var(--serif);font-size:19px;line-height:1.2}.lp-chat-head small{color:var(--faint);font-weight:600;font-size:13px}
.lp-live{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;background:#fff1ee;color:#a2402f;font-weight:800;font-size:12.5px}
.lp-live .ph{width:16px;height:16px}
.lp-chat .bub,.lp-chat .lp-ai-note{animation-duration:9s;animation-iteration-count:1;animation-fill-mode:both;animation-timing-function:cubic-bezier(.2,.9,.3,1)}
.bub{max-width:86%;margin-top:12px;padding:11px 15px 12px;border-radius:20px}
.bub p{font-size:17px;line-height:1.35;color:var(--ink)}
.bub .who{display:block;min-width:0;min-height:0;padding:0;background:none;justify-content:flex-start;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--forest);margin-bottom:2px}
.bub.p{background:var(--mint-l);border-bottom-left-radius:6px}
.bub.c{margin-left:auto;background:#fff3cf;border-bottom-right-radius:6px}
.bub.c .who{color:#8a6a10}
.lp-ai-note{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0 28px;padding:10px 14px;border-radius:16px;background:var(--ink);color:#fff;font-size:14.5px;line-height:1.35}
.lp-ai-note .ph{flex:none;width:20px;height:20px;color:var(--yellow);margin-top:1px}
.lp-ai-note b{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--yellow)}
.lp-float{position:absolute;z-index:2;width:62px;height:62px;border-radius:50%;background:#fff;border:1.5px solid rgba(24,60,53,.14);display:grid;place-items:center;box-shadow:0 10px 24px rgba(24,60,53,.14);animation:bob 3s ease-in-out 1}
.lp-float svg{width:38px;height:38px}
.lp-float.f1{left:-14px;top:70px}.lp-float.f2{right:-12px;bottom:90px;animation-delay:-1.6s}.lp-float.f3{left:10px;bottom:-26px;animation-delay:-3.2s}
.lp-float{--r:0deg}@keyframes bob{50%{transform:translateY(-9px)}}
@media(max-width:899px){.lp-float{display:none}}
@keyframes lpA{0%,4%{opacity:0;transform:translateY(12px) scale(.96)}9%,100%{opacity:1;transform:none}}
@keyframes lpB{0%,18%{opacity:0;transform:translateY(12px) scale(.96)}23%,100%{opacity:1;transform:none}}
@keyframes lpC{0%,30%{opacity:0;transform:translateY(12px) scale(.96)}35%,100%{opacity:1;transform:none}}
@keyframes lpD{0%,45%{opacity:0;transform:translateY(12px) scale(.96)}50%,100%{opacity:1;transform:none}}
@keyframes lpE{0%,59%{opacity:0;transform:translateY(12px) scale(.96)}64%,100%{opacity:1;transform:none}}
@keyframes lpF{0%,72%{opacity:0;transform:translateY(12px) scale(.96)}77%,100%{opacity:1;transform:none}}

/* sections */
.lp-sec{padding-top:var(--lpgap)}
.lp-rev{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.lp-rev.in{opacity:1;transform:none}
.lp-title{text-align:center;max-width:660px;margin:0 auto}
.lp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--forest)}
.lp-title h2{font-family:var(--serif);font-weight:700;font-size:clamp(32px,7.4vw,50px);line-height:1.06;letter-spacing:-.03em;margin:10px 0 12px;text-wrap:balance}
.lp-title p{font-size:18px;color:var(--muted);line-height:1.5}
.lp-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;text-align:center;font-size:14.5px;color:var(--muted)}
.lp-note .ph{flex:none;color:var(--forest)}

/* how it works */
.lp-strip{margin-top:var(--lpgap);background:var(--mint-l);border-top:1px solid #dbe8d6;border-bottom:1px solid #dbe8d6}
.lp-strip .lp-wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 36px;padding-top:16px;padding-bottom:16px}
.lp-strip span{display:inline-flex;align-items:center;gap:10px;min-height:32px;font-weight:700;font-size:15px;color:var(--ink)}
.lp-strip .ph{width:22px;height:22px;color:var(--forest)}
.lp-howsteps{list-style:none;margin:36px auto 0;padding:0;display:grid;gap:14px;max-width:1040px}
@media(min-width:800px){.lp-howsteps{grid-template-columns:repeat(3,1fr);gap:20px}}
.lp-step{padding:24px 24px 28px;border-radius:30px;background:var(--card);border:1px solid var(--line)}
.lp-step .lp-sh{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.lp-step .tile{width:60px;height:60px;border-radius:20px}.lp-step .tile .ph{width:32px;height:32px;color:var(--forest)}
.lp-step .num{font-family:var(--serif);font-weight:700;font-size:44px;line-height:1;letter-spacing:-.03em;color:rgba(24,60,53,.22)}
.lp-step h3{font-family:var(--serif);font-size:24px;line-height:1.15;letter-spacing:-.02em}
.lp-step p{margin-top:10px;font-size:16.5px;line-height:1.55;color:var(--muted)}

/* shared by the For you / For them cards */
.lp-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:20px 18px;box-shadow:0 14px 34px rgba(24,60,53,.12)}
.lp-call{position:absolute;left:50%;bottom:-28px;z-index:3;display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100% - 16px);padding:10px 16px;border-radius:99px;background:var(--ink);color:#fff;font-weight:700;font-size:14.5px;line-height:1.3;box-shadow:0 12px 26px rgba(24,60,53,.28);transform:translateX(-50%);opacity:0}
.lp-call .ph{flex:none;width:20px;height:20px;color:var(--yellow)}
@keyframes lpCall{from{opacity:0;transform:translate(-50%,12px) scale(.9)}to{opacity:1;transform:translateX(-50%)}}
@keyframes lpPop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
@keyframes lpUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* what the AI does */
.lp-ai{display:grid;gap:14px;margin-top:32px;max-width:980px;margin-left:auto;margin-right:auto}
@media(min-width:900px){.lp-ai{grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:40px;align-items:center}}
.lp-ai-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.lp-ai-tab{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:10px 16px 10px 14px;border-radius:99px;border:1.5px solid rgba(24,60,53,.22);background:rgba(255,253,248,.85);text-align:left;font-weight:800;transition:background .2s,color .2s}
.lp-ai-tab .ph{flex:none;width:24px;height:24px;margin-top:0}
.lp-ai-tab b{display:block;font-size:16px;line-height:1.35}
.lp-ai-tab small{display:none;font-size:14px;font-weight:500;line-height:1.4;color:var(--muted);margin-top:2px}
.lp-ai-tab[aria-selected=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.lp-ai-tab[aria-selected=true] .ph{color:var(--yellow)}.lp-ai-tab[aria-selected=true] small{color:rgba(255,255,255,.82)}
@media(min-width:900px){.lp-ai-tabs{flex-direction:column;flex-wrap:nowrap}.lp-ai-tab{width:100%;border-radius:24px;padding:16px 18px}.lp-ai-tab small{display:block}}
.lp-ai-card{padding:22px 18px;border-radius:28px;box-shadow:0 14px 34px rgba(24,60,53,.12);background:#fff}
.lp-blk{position:relative;margin-top:12px;padding:6px 14px 12px;border-radius:18px;opacity:.38;transition:opacity .35s,background .35s,box-shadow .35s}
.lp-blk.on{opacity:1;background:#fff8e3;box-shadow:0 0 0 2px var(--yellow-d)}
.lp-blk h3{margin-top:10px}
.lp-pop-call{position:absolute;top:-15px;right:14px;display:none;align-items:center;gap:7px;padding:6px 13px;border-radius:99px;background:var(--ink);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.lp-pop-call .ph{width:17px;height:17px;color:var(--yellow)}
.lp-blk.on .lp-pop-call{display:inline-flex;animation:lpPop .4s cubic-bezier(.2,1.4,.4,1) both}

/* for you / for them */
.lp-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:min(100%,380px);margin:26px auto 0;padding:4px;border-radius:99px;background:rgba(255,253,248,.9);border:1px solid var(--line)}
.lp-seg button{min-height:48px;border-radius:99px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:15.5px;color:var(--muted)}
.lp-seg button[aria-selected=true]{background:var(--ink);color:#fff}
.lp-seg button[aria-selected=true] .ph{color:var(--yellow)}
.lp-fam{max-width:560px;margin:30px auto 0}
.lp-fam-view[hidden]{display:none}
.lp-fam-view .lp-card{position:relative;padding:20px 18px 52px;animation:lpUp .5s ease both}
.lp-fam-view .lp-call{animation:lpCall .5s cubic-bezier(.2,1.3,.4,1) .5s both}
.lp-fam-card.cel{text-align:center;padding:24px 18px 44px}
.lp-fam-card .stk{width:min(200px,52vw);margin:20px auto 14px}
.lp-fam-view[data-v=them] .stk.open{animation:land .8s cubic-bezier(.2,1.4,.4,1) .3s both}
.lp-fam-card .stk-name{font-size:26px}

/* Ontario */
.lp-strands{display:grid;gap:12px;margin:32px auto 0;max-width:900px}
@media(min-width:720px){.lp-strands{grid-template-columns:1fr 1fr}}
.lp-strand{display:flex;align-items:center;gap:14px;padding:14px 18px 14px 14px;border-radius:24px;background:var(--card);border:1px solid var(--line)}
.lp-strand b{display:block;font-size:17px;line-height:1.25}.lp-strand small{display:block;color:var(--muted);font-size:14.5px;line-height:1.35;margin-top:2px}
.lp-grades{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:24px auto 0;max-width:760px}
.lp-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:99px;background:var(--ink);color:#fff;font-weight:800;font-size:14px}
.lp-grades small{flex-basis:100%;text-align:center;color:var(--muted);font-weight:600;font-size:14px;margin-top:4px}
.lp-road{display:grid;gap:10px;margin:32px auto 0;max-width:900px}
@media(min-width:720px){.lp-road{grid-template-columns:repeat(3,1fr)}}
.lp-stop{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:20px;border:1.5px dashed rgba(24,60,53,.3);color:var(--muted);background:rgba(255,253,248,.6)}
.lp-stop .ph{flex:none;width:28px;height:28px}
.lp-stop b{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--forest)}
.lp-stop span{font-weight:700;font-size:16px;line-height:1.3;color:var(--ink)}
.lp-stop.now{border:1.5px solid var(--forest);background:var(--mint-l)}
.lp-stop.now .ph{color:var(--forest)}

/* pricing */
.lp-plans{display:grid;gap:16px;margin:32px auto 0;max-width:860px}
@media(min-width:720px){.lp-plans{grid-template-columns:1fr 1fr;align-items:stretch}}
.lp-plan{display:flex;flex-direction:column;gap:12px;padding:24px 22px;border-radius:30px;background:var(--card);border:1px solid var(--line)}
.lp-plan.main{background:#fff;border:2px solid var(--forest);box-shadow:0 18px 40px rgba(24,60,53,.14)}
.lp-plan .tag{align-self:flex-start}
.lp-plan h3{font-family:var(--serif);font-size:25px;line-height:1.15;letter-spacing:-.02em}
.lp-plan .price{font-family:var(--serif);font-weight:700;font-size:40px;line-height:1;letter-spacing:-.03em}
.lp-plan .price small{font-family:var(--sans);font-size:16px;font-weight:700;color:var(--muted);letter-spacing:0}
.lp-plan ul{list-style:none;margin:4px 0 8px;padding:0;display:grid;gap:10px;flex:1}
.lp-plan li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.4}
.lp-plan li .ph{flex:none;width:20px;height:20px;margin-top:1px;color:var(--forest)}
.lp-plan .fine{font-size:13px;color:var(--faint);line-height:1.45}

/* questions */
.lp-faq{max-width:780px;margin:32px auto 0;display:grid;gap:10px}
.lp-q{background:var(--card);border:1px solid var(--line);border-radius:22px;transition:background .2s,border-color .2s}
.lp-q[open]{background:#fff;border-color:rgba(24,60,53,.3)}
.lp-q summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:12px 20px;cursor:pointer;list-style:none;font-weight:800;font-size:17px;line-height:1.35}
.lp-q summary::-webkit-details-marker{display:none}
.lp-q summary .ph{flex:none;width:22px;height:22px;color:var(--forest);transition:transform .25s}
.lp-q[open] summary .ph{transform:rotate(45deg)}
.lp-q summary:hover{color:var(--forest)}
.lp-q p{padding:0 56px 18px 20px;color:var(--muted);font-size:16.5px;line-height:1.55}
.lp-q a{color:var(--forest);font-weight:700}

/* trust and closing */
.lp-trust{display:grid;gap:22px;max-width:960px;margin:0 auto}
@media(min-width:720px){.lp-trust{grid-template-columns:repeat(3,1fr);gap:32px}}
.lp-trust>div{text-align:center}
.lp-trust i{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--mint-l);border:1.5px solid rgba(24,60,53,.16);margin-bottom:10px}
.lp-trust i .ph{width:28px;height:28px;color:var(--forest)}
.lp-trust b{display:block;font-family:var(--serif);font-size:20px;letter-spacing:-.01em}
.lp-trust p{color:var(--muted);font-size:15.5px;line-height:1.5;margin-top:6px}
.lp-last{padding-top:var(--lpgap)}
.lp-last-card{text-align:center;padding:48px 22px;border-radius:36px;background:radial-gradient(420px 300px at 90% 0%,rgba(255,206,50,.7),transparent 70%),radial-gradient(380px 300px at 8% 100%,rgba(255,150,105,.55),transparent 70%),#fdeccd;border:1px solid rgba(24,60,53,.1)}
.lp-last-card h2{font-family:var(--serif);font-weight:700;font-size:clamp(32px,7.5vw,52px);line-height:1.05;letter-spacing:-.03em;max-width:15em;text-wrap:balance;margin:0 auto 12px}
.lp-last-card p{font-size:18px;color:rgba(24,60,53,.85);margin-bottom:22px}
.lp-last-card small{display:block;margin-top:14px;font-weight:700;font-size:13.5px;color:var(--forest)}
.lp-foot{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;padding-top:36px;padding-bottom:48px;font-size:14.5px;color:var(--muted)}
.lp-foot span{display:inline-flex;align-items:center;gap:10px}
.lp-foot a{font-weight:800;color:var(--forest);min-height:44px;display:inline-flex;align-items:center}
.lp-foot-links{display:flex;flex-wrap:wrap;gap:0 22px}

/* checkout pop-up for signed-in parents */
#li-landing-preview dialog{width:min(460px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:0;border-radius:30px;padding:30px 24px 24px;background:var(--cream);color:var(--ink);box-shadow:0 30px 70px rgba(24,60,53,.35)}
#li-landing-preview dialog::backdrop{background:rgba(19,48,42,.55)}
#li-landing-preview dialog h2{font-family:var(--serif);font-size:30px;line-height:1.1;letter-spacing:-.02em;margin:6px 0 10px}
#li-landing-preview dialog p{color:var(--muted);line-height:1.5;margin-bottom:10px}
.li-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--forest)}
.li-note{font-size:13.5px}
.li-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line)}
#li-landing-preview dialog .account-links{display:flex;justify-content:center;margin-top:8px}
#li-landing-preview dialog .account-links button{min-height:44px;font-weight:800;color:var(--forest);text-decoration:underline}

@media (prefers-reduced-motion:reduce){
 .lp-rev{opacity:1;transform:none;transition:none}
 .lp-chat .bub,.lp-chat .lp-ai-note,.lp-float,.lp-fam-view *{animation:none!important}
 .lp-chat .bub,.lp-chat .lp-ai-note,.lp-call{opacity:1!important}
 .lp-call{transform:translateX(-50%)}
}
