/* Homepage: the four-person learning ecosystem. Shared page styles stay in styles.css. */
.home-page{--paper:#f7f5ee;--paper-2:#efeee7;--ink:#14161a;--text:#24262b;--text-2:#64676e;--rule:#dfded7;background:var(--paper);color:var(--text)}
.home-wrap{max-width:1240px;margin:auto;padding:0 36px}
.home-page main{overflow:clip}
.home-page section{scroll-margin-top:90px}
.home-page h2{font-size:clamp(36px,4.2vw,57px);line-height:1.08;letter-spacing:-.045em}
.home-page h2 span{color:#2f6bff}
.home-eyebrow{font:500 10px/1.5 var(--m);letter-spacing:.16em;color:var(--text-2);margin:0 0 25px}
.home-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:15px 22px;background:#2f6bff;color:#fff;border-radius:9px;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s;white-space:nowrap}
.home-button:hover{background:#2058df;transform:translateY(-2px)}
.home-text-link{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;border-bottom:1px solid var(--rule);padding:8px 0;transition:gap .2s}
.home-text-link:hover{gap:15px}
.home-page a:focus-visible,.home-page button:focus-visible,.home-page [tabindex]:focus-visible{outline:3px solid #2f6bff;outline-offset:5px}
.home-page button{font:inherit;cursor:pointer}
.home-page button:disabled{opacity:.45;cursor:default}
.home-page figure{margin:0}
.home-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* The headline, connection story and next step form one opening composition. */
.ecosystem-hero{padding:56px 0 66px}
.hero-layout{display:grid;grid-template-columns:.9fr 1.1fr;grid-template-areas:'copy story' 'actions story';column-gap:40px;align-items:start}
.hero-copy{grid-area:copy;padding-top:47px}
.hero-copy h1{font-size:clamp(56px,5.8vw,79px);line-height:1.01;letter-spacing:-.058em;text-wrap:initial}
.hero-copy h1>span{color:#2f6bff}
.hero-lede{font-size:clamp(21px,2vw,27px);line-height:1.4;letter-spacing:-.025em;margin:26px 0 0;color:var(--ink)}
.hero-explain{font-size:16px;line-height:1.6;color:var(--text-2);max-width:390px;margin:20px 0 0}
.curriculum-scope{font-size:11px;color:var(--text-2);margin:19px 0 0}
.curriculum-scope strong{font-weight:600;color:var(--text)}
.hero-actions{grid-area:actions;align-self:start;margin-top:27px}
.hero-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px}
.hero-content-promise{display:block;color:var(--text-2);text-decoration:none;margin-top:29px}
.hero-content-promise>span{font-size:14px;font-weight:600;color:var(--ink)}
.hero-content-promise strong{color:#16844b}
.hero-content-promise small{display:block;font-size:11px;margin-top:3px}
.ecosystem-visual{grid-area:story;min-width:0}
.ecosystem-story{position:relative;height:560px;background:#14161a;border-radius:28px;overflow:hidden;color:#f7f5ee;isolation:isolate}
.ecosystem-story:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#253148 0%,transparent 54%);z-index:-1}
.story-kicker{position:absolute;top:17px;left:15px;right:15px;text-align:center;font:500 8px/1.4 var(--m);letter-spacing:.13em;color:#a5a9b2;margin:0}
.home-portrait{display:block;width:100px;height:100px;border-radius:50%;background-image:url('assets/presentation/persona-portraits.webp');background-size:200% 200%;background-repeat:no-repeat;flex-shrink:0}
.home-portrait.student{background-position:0 0}
.home-portrait.teacher{background-position:100% 0}
.home-portrait.parent{background-position:0 100%}
.home-portrait.school{background-position:100% 100%}
.story-person{position:absolute;width:170px;text-align:center;z-index:2;--person-color:#edc06a}
.story-person.teacher{--person-color:#9cd7ae}
.story-person.parent{--person-color:#c8b4ed}
.story-person.school{--person-color:#9ac9ed}
.story-person.student{left:4%;top:49px}
.story-person.teacher{right:4%;top:49px}
.story-person.parent{left:4%;bottom:29px}
.story-person.school{right:4%;bottom:29px}
.story-person .home-portrait{width:90px;height:90px;margin:0 auto;box-shadow:0 0 0 5px #ffffff06,0 10px 30px #0003}
.home-page .story-person h2{font:600 14px/1.3 var(--b);letter-spacing:0;color:var(--person-color);margin:12px 0 7px}
.story-copy{position:relative;min-height:41px}
.story-question,.story-answer{font-size:14px;line-height:1.45;margin:0;color:#eeeef2;text-wrap:balance}
.story-question{display:none}
.story-answer{font-weight:500}
.story-connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.story-connections path{fill:none;stroke:#ffffff38;stroke-width:1.7;stroke-linecap:round;stroke-dasharray:400;stroke-dashoffset:0}
.story-connections path.student{stroke:#edc06a80}
.story-connections path.teacher{stroke:#9cd7ae80}
.story-connections path.parent{stroke:#c8b4ed80}
.story-connections path.school{stroke:#9ac9ed80}
.ecosystem-hub{position:absolute;left:50%;top:46%;width:150px;height:150px;transform:translate(-50%,-50%);z-index:3;text-align:center}
.ecosystem-hub-circle{width:150px;height:150px;background:#232932;border:1px solid #ffffff24;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 0 50px #6f9aea16}
.ecosystem-hub img{display:block;width:135px;height:180px;object-fit:contain;transform:translateY(-7px);filter:drop-shadow(0 6px 9px #0004)}
.ecosystem-hub>strong{display:block;font-size:26px;font-weight:700;letter-spacing:-.05em;margin-top:9px;line-height:1}
.ecosystem-hub>p{font-size:11px;line-height:1.4;color:#b9c0ce;margin:7px -10px 0}
.story-resolution{position:absolute;bottom:15px;left:12px;right:12px;text-align:center;font-size:10px;font-weight:500;color:#aeb9cd;margin:0}
.story-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:var(--text-2);font-size:9px;line-height:1.5}
.story-actions{display:flex;align-items:center;gap:13px;flex-shrink:0}
.story-actions[hidden]{display:none}
.story-actions button{border:0;border-bottom:1px solid var(--rule);background:none;padding:4px 0;font-size:10px;color:var(--text-2)}

/* One finite sequence: four questions, the hub, connections, then useful next steps. */
@keyframes home-person-enter{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@keyframes home-hub-enter{from{opacity:0;transform:translate(-50%,-50%) scale(.7)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes home-connect{from{stroke-dashoffset:400;opacity:0}to{stroke-dashoffset:0;opacity:1}}
@keyframes home-question-out{to{opacity:0;transform:translateY(-5px)}}
@keyframes home-answer-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ecosystem-story.is-playing .story-person{opacity:0;animation:home-person-enter .65s var(--ease) var(--enter-at) forwards!important}
.ecosystem-story.is-playing .story-question{display:block;animation:home-question-out .35s ease 5.8s forwards!important}
.ecosystem-story.is-playing .story-answer{position:absolute;inset:0;opacity:0;animation:home-answer-in .6s var(--ease) 6s forwards!important}
.ecosystem-story.is-playing .ecosystem-hub{opacity:0;animation:home-hub-enter 1s var(--ease) 4.1s forwards!important}
.ecosystem-story.is-playing .story-connections path{stroke-dashoffset:400;animation:home-connect 1.1s var(--ease) 4.75s forwards!important}
.ecosystem-story.is-playing .story-resolution{opacity:0;animation:home-answer-in .65s var(--ease) 6.55s forwards!important}

/* Four role illustrations remain recognizable as the story moves into benefits. */
.people-section{padding:85px 0 97px;border-top:1px solid var(--rule)}
.section-intro{max-width:710px}
.section-intro h2>span{color:var(--text-2)}
.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:50px}
.person-benefits{min-width:0}
.person-benefits+.person-benefits{border-left:1px solid var(--rule);padding-left:28px}
.person-benefits .home-portrait{width:126px;height:126px;margin-bottom:22px}
.person-benefits h3{font-size:26px;margin:0 0 8px}
.person-outcome{font-size:15px;font-weight:500;margin:0;color:var(--text-2)}
.person-benefits ul{padding:0;list-style:none;margin:23px 0 25px}
.person-benefits li{font-size:14px;line-height:1.5;color:var(--text-2);margin:9px 0;display:flex;gap:8px}
.person-benefits li:before{content:'·';color:#2f6bff;font-weight:700;flex-shrink:0}
.person-benefits a{font-size:11px;color:var(--ink);font-weight:600;text-decoration:none}
.person-benefits a:hover{text-decoration:underline;text-underline-offset:4px}

/* Real screens, with readable captions and finite click-through examples. */
.experience-section{padding:92px 0}
.experience-layout{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}
.experience-reverse .experience-copy{grid-column:2;grid-row:1}
.experience-reverse .product-example{grid-column:1;grid-row:1}
.experience-lede{font-size:18px;line-height:1.55;color:var(--text-2);margin:24px 0 0;max-width:480px}
.experience-steps{list-style:none;padding:0;margin:33px 0 27px}
.experience-steps li{display:flex;gap:19px;margin:24px 0}
.experience-steps li>span{font:500 11px/1.4 var(--m);color:#2f6bff;padding-top:4px}
.experience-steps h3{font-size:17px;letter-spacing:-.015em;margin:0 0 7px}
.experience-steps p{font-size:14px;line-height:1.6;color:var(--text-2);margin:0;max-width:370px}
.experience-points{list-style:none;padding:0;margin:33px 0 27px}
.experience-points li{padding:15px 0;border-top:1px solid var(--rule)}
.experience-points strong{display:block;font-size:16px;letter-spacing:-.015em;color:var(--ink)}
.experience-points li>span{display:block;color:var(--text-2);font-size:14px;line-height:1.6;margin-top:5px}
.product-example{min-width:0;text-align:center}
.product-switcher{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 23px}
.product-switcher button{border:1px solid var(--rule);background:transparent;color:var(--text-2);border-radius:99px;padding:8px 15px;font-size:12px;font-weight:500;transition:background .2s,color .2s,border-color .2s}
.product-switcher button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.student-phone{max-width:252px;margin:0 auto;padding:7px;background:#14161a;border-radius:38px;box-shadow:0 20px 50px -25px #14161a55}
.student-phone img{display:block;width:100%;height:auto;border-radius:31px}
.product-example figcaption{font-size:12px;color:var(--text-2);margin-top:20px;line-height:1.5}
.product-example figcaption small{display:block;font:400 9px/1.7 var(--m);color:var(--text-3);margin-top:6px}
.teacher-experience{background:#15181e;color:#f3f5f8}
.teacher-experience h2,.teacher-experience .experience-points strong{color:#f3f5f8}
.teacher-experience h2>span{color:#9cd7ae}
.teacher-experience .home-eyebrow,.teacher-experience .experience-lede,.teacher-experience .experience-points li>span,.teacher-experience .grading-note,.teacher-experience .product-example figcaption{color:#adb4c1}
.teacher-experience .experience-points li{border-top-color:#ffffff21}
.teacher-experience .product-switcher button{color:#b8bec9;border-color:#ffffff24}
.teacher-experience .product-switcher button[aria-pressed=true]{color:#14161a;background:#c4e9d1;border-color:#c4e9d1}
.teacher-experience .product-example figcaption small{color:#939caa}
.grading-note{font-size:11px;color:var(--text-2);margin:0}
.browser-example{background:#fff;border:1px solid #dde0e5;border-radius:14px;overflow:hidden;box-shadow:0 15px 50px -30px #14161a55;text-align:left}
.example-bar{display:flex;align-items:center;gap:9px;height:36px;padding:0 14px;background:#f1f3f7;border-bottom:1px solid #e2e6ec;color:#656b76;font:400 9px/1 var(--m)}
.example-dot{width:7px;height:7px;border-radius:50%;background:#c2c9d4}
.example-scroll{max-height:475px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdc5d1 #f5f6f8}
.example-scroll img{display:block;width:100%;height:auto}
.parent-experience{border-bottom:1px solid var(--rule)}
.parent-experience h2>span{color:#8163b0}
.parent-window{max-width:295px;margin:0 auto;border:1px solid #dde0e5;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 20px 50px -30px #14161a55}
.parent-window .example-scroll{max-height:530px}
.school-experience h2>span{color:#2a7898}

/* Teacher approval is a visible gate before the student gets learning content. */
.content-trust-section{background:var(--paper-2);padding:90px 0}
.trust-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.trust-intro h2>span{color:#16844b}
.trust-intro>p{font-size:25px;font-weight:500;letter-spacing:-.02em;line-height:1.3;color:var(--ink);margin:0 0 4px}
.content-review-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;list-style:none;padding:0;margin:48px 0 38px}
.content-review-flow li{position:relative;border-top:2px solid #c9d6cb;padding-top:20px}
.content-review-flow li:not(:last-child):after{content:'→';position:absolute;right:-31px;top:31px;color:#16844b;font-size:22px}
.content-review-flow li>span{font:400 9px/1.5 var(--m);letter-spacing:.09em;color:var(--text-2)}
.content-review-flow h3{font-size:21px;line-height:1.3;margin:16px 0 9px;max-width:260px}
.content-review-flow p{font-size:14px;line-height:1.6;color:var(--text-2);max-width:280px;margin:0}
.privacy-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;border-top:1px solid var(--rule);padding-top:27px;margin-bottom:23px}
.privacy-principles p{margin:0}
.privacy-principles strong{display:block;font-size:13px;font-weight:600;color:var(--ink)}
.privacy-principles span{display:block;font-size:12px;line-height:1.6;margin-top:8px;color:var(--text-2)}

/* The pilot returns to the warm artwork from the presentation. */
.pilot-section{padding:90px 0}
.pilot-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.pilot-copy>p:not(.home-eyebrow):not(.experience-lede){font-size:14px;color:var(--text-2);line-height:1.6;margin:20px 0 0;max-width:440px}
.pilot-buttons{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap;margin-top:28px}
.pilot-terms{border-top:1px solid var(--rule);padding-top:21px;margin-top:27px}
.pilot-terms strong{display:block;font-size:13px;font-weight:600;color:var(--ink)}
.pilot-terms span{display:block;font-size:11px;color:var(--text-2);line-height:1.6;margin-top:7px}
.pilot-art{position:relative;min-width:0;height:535px;border-radius:24px;overflow:hidden;background:#eee9db}
.pilot-art img{width:100%;height:100%;object-fit:cover;object-position:65% center;display:block}
.pilot-art:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#14161a90)}
.pilot-art figcaption{position:absolute;bottom:25px;left:26px;right:26px;font-size:20px;line-height:1.2;letter-spacing:-.02em;font-weight:600;color:#fff;z-index:1}
.home-page footer{background:var(--paper-2)}

@media(min-width:761px) and (max-width:1100px){
  .hero-layout{column-gap:25px;grid-template-columns:.88fr 1.12fr}
  .hero-copy{padding-top:32px}.hero-copy h1{font-size:61px}
  .hero-lede{font-size:22px}.hero-explain{font-size:14px}
  .ecosystem-story{height:535px}.story-person{width:135px}.story-person .home-portrait{width:68px;height:68px}.story-person h2{font-size:13px}.story-question,.story-answer{font-size:12px}
  .ecosystem-hub,.ecosystem-hub-circle{width:120px;height:120px}.ecosystem-hub img{width:107px;height:143px}
  .story-toolbar{align-items:flex-start;flex-direction:column;gap:5px}
  .people-grid{gap:20px}.person-benefits+.person-benefits{padding-left:18px}
  .experience-layout{gap:50px}.experience-section{padding:75px 0}
  .pilot-layout{gap:40px}.pilot-art{height:510px}
}
@media(max-width:760px){
  .home-wrap{padding:0 24px}.home-page section{scroll-margin-top:88px}
  .home-page h2{font-size:37px;letter-spacing:-.04em}
  .home-eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:19px}
  .ecosystem-hero{padding:36px 0 45px}
  .hero-layout{display:grid;grid-template-columns:1fr;grid-template-areas:'copy' 'story' 'actions';gap:28px}
  .hero-copy{padding-top:0}.hero-copy h1{font-size:clamp(47px,10vw,67px);max-width:500px}
  .hero-lede{font-size:22px;margin-top:21px}.hero-explain{display:none}
  .curriculum-scope{font-size:10px;margin-top:16px}
  .hero-actions{margin-top:0}.hero-buttons{gap:14px 20px}
  .hero-content-promise{margin-top:20px}.hero-content-promise>span{font-size:13px}
  .ecosystem-visual{max-width:560px;width:100%;margin:auto!important}
  .ecosystem-story{height:500px;border-radius:20px}
  .story-person{width:145px}.story-person .home-portrait{width:70px;height:70px}
  .story-person.student,.story-person.teacher{top:44px}.story-person.parent,.story-person.school{bottom:43px}
  .story-person.student,.story-person.parent{left:3%}.story-person.teacher,.story-person.school{right:3%}
  .home-page .story-person h2{font-size:13px;margin:9px 0 5px}.story-question,.story-answer{font-size:12px;line-height:1.4}
  .ecosystem-hub,.ecosystem-hub-circle{width:114px;height:114px}.ecosystem-hub img{width:98px;height:130px}
  .ecosystem-hub>strong{font-size:23px;margin-top:7px}.ecosystem-hub>p{font-size:10px;margin-top:5px}
  .story-resolution{font-size:9px}.story-kicker{font-size:7px;letter-spacing:.08em}
  .story-toolbar{flex-wrap:wrap;font-size:9px;gap:6px 13px}
  .people-section{padding:55px 0}.people-grid{grid-template-columns:1fr 1fr;gap:38px 25px;margin-top:35px}
  .person-benefits+.person-benefits{padding-left:0;border-left:0}.person-benefits .home-portrait{width:88px;height:88px;margin-bottom:17px}
  .person-benefits h3{font-size:25px}.person-outcome{font-size:13px}.person-benefits ul{margin:18px 0}.person-benefits li{font-size:13px}.person-benefits a{font-size:10px}
  .experience-section{padding:60px 0}.experience-layout{grid-template-columns:1fr;gap:38px}
  .experience-reverse .experience-copy,.experience-reverse .product-example{grid-column:auto;grid-row:auto}
  .experience-lede{font-size:17px;margin-top:20px}.experience-steps h3{font-size:18px}.experience-steps p{font-size:14px}
  .experience-points{margin:28px 0 23px}.product-example{width:100%;max-width:550px;margin:0 auto!important}
  .student-phone{max-width:254px}.product-switcher{margin-bottom:20px}
  .example-scroll{max-height:420px}.parent-window .example-scroll{max-height:510px}
  .product-example figcaption{font-size:11px}.product-example figcaption small{font-size:9px}
  .content-trust-section{padding:60px 0}.trust-intro{display:block}.trust-intro>p{font-size:23px;margin:24px 0 0}
  .content-review-flow{grid-template-columns:1fr;gap:28px;margin:32px 0}.content-review-flow li{padding-top:15px}
  .content-review-flow li:not(:last-child):after{content:none}.content-review-flow h3{font-size:23px;max-width:none;margin-top:12px}
  .content-review-flow p{max-width:none}.privacy-principles{grid-template-columns:1fr;gap:23px;padding-top:24px}
  .privacy-principles strong{font-size:14px}.privacy-principles span{font-size:13px;margin-top:5px}
  .pilot-section{padding:60px 0}.pilot-layout{grid-template-columns:1fr;gap:35px}.pilot-art{height:430px;max-width:550px;width:100%;margin:auto!important}
}
@media(max-width:390px){
  .home-wrap{padding:0 20px}.hero-copy h1{font-size:47px}.hero-lede{font-size:20px}
  .ecosystem-story{height:460px}.story-person{width:115px}.story-person .home-portrait{width:58px;height:58px}
  .home-page .story-person h2{font-size:12px;margin:8px 0 5px}.story-copy{min-height:35px}.story-question,.story-answer{font-size:11px}
  .story-person.student,.story-person.parent{left:2%}.story-person.teacher,.story-person.school{right:2%}
  .story-person.student,.story-person.teacher{top:42px}.story-person.parent,.story-person.school{bottom:40px}
  .ecosystem-hub,.ecosystem-hub-circle{width:96px;height:96px}.ecosystem-hub img{width:82px;height:110px;transform:translateY(-5px)}
  .ecosystem-hub>strong{font-size:20px;margin-top:6px}.ecosystem-hub>p{font-size:9px;line-height:1.3;margin-top:4px}
  .story-kicker{font-size:6px;letter-spacing:.05em}.story-resolution{font-size:8px}
  .story-toolbar>span{font-size:8px}.story-actions button{font-size:10px}
  .people-grid{grid-template-columns:1fr;gap:28px}
  .person-benefits{display:grid;grid-template-columns:75px 1fr;gap:20px;align-items:start;border-top:1px solid var(--rule);padding-top:25px}
  .person-benefits .home-portrait{width:75px;height:75px;margin:0}.person-benefits h3{font-size:23px}
  .person-benefits ul{margin:16px 0}.person-benefits a{font-size:10px}
  .home-page h2{font-size:34px}.home-button{font-size:13px;padding:14px 18px;gap:25px}
  .hero-buttons .home-text-link{font-size:13px}.product-switcher{gap:6px}.product-switcher button{font-size:11px;padding:8px 13px}
  .pilot-art{height:360px}
}
@media(prefers-color-scheme:dark){
  .home-page{--paper:#101215;--paper-2:#171a1f;--ink:#f3f5f8;--text:#f3f5f8;--text-2:#a7afbc;--rule:#30343c}
  .home-page .home-portrait{box-shadow:0 0 0 1px #ffffff15}
  .hero-content-promise strong,.trust-intro h2>span{color:#8ed2a5}
  .parent-experience h2>span{color:#bea4e8}.school-experience h2>span{color:#8cbdd1}
}
.home-motion-off [data-reveal],.home-motion-off [data-scale]{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
.home-motion-off .home-button,.home-motion-off .home-text-link{transition:none;transform:none}
