.product{border:1px solid #c9c4b2;border-radius:10px;background:#fcfaf4;box-shadow:0 22px 48px #102f3b15;overflow:hidden}.topbar{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;border-bottom:1px solid var(--line);font-size:12px;background:#f0ece0}.topbar b{font-size:14px}.dot{height:25px;width:25px;background:#d9c3a5;border-radius:50%;display:inline-grid;place-items:center;font-size:10px;margin-left:20px}.workspace{display:grid;grid-template-columns:190px 1fr 350px;min-height:430px}.outline{padding:24px 18px;background:#eeede3;border-right:1px solid var(--line);font-size:11px}.outline b{display:block;font-size:12px;margin-bottom:18px}.progress{height:4px;background:#d8dace;margin:12px 0 25px;border-radius:4px}.progress i{display:block;width:43%;height:100%;background:#527d79}.outline ul{padding:0;list-style:none;margin:0}.outline li{padding:12px 8px;line-height:1.5;border-radius:4px}.outline li.active{background:#dce3d6;font-weight:700;border-left:2px solid #567a70}.lesson{padding:38px 34px}.lesson .eyebrow{font-size:9px;margin-bottom:14px}.lesson h2{font-size:27px;margin-bottom:20px}.lesson p{font-size:14px;max-width:430px;margin-bottom:18px}.equation{font:500 27px Inter,sans-serif;background:#efede3;padding:24px;margin:20px 0;letter-spacing:.01em;border-left:2px solid #b78761}.lesson .activity-nav{border-top:1px solid var(--line);margin-top:28px;padding-top:16px;display:flex;justify-content:space-between;font-size:11px}.tutor{border-left:1px solid var(--line);background:#f2f1e9;display:flex;flex-direction:column}.tutor-title{padding:14px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:13px}.tutor-title b{display:block}.tutor-title small{font-size:10px;color:var(--muted)}.chat{padding:18px;flex:1;font-size:12px}.language{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-bottom:18px}.language span:last-child{border:1px solid #cbcdbf;padding:2px 7px;border-radius:3px;color:var(--ink)}.quick{border:1px solid #d6d4c7;background:#fcfaf5;border-radius:6px;padding:13px;margin-bottom:12px}.quick small{font-size:8px;letter-spacing:.12em;font-weight:700;display:block;color:#6c766a;margin-bottom:6px}.question{margin-left:32px;border-radius:6px;background:#dae4de;padding:10px 12px;margin-bottom:12px}.reply{padding:0 5px}.reply strong{display:block;margin-top:7px}.compose{padding:14px 18px 18px}.input{padding:11px;border:1px solid #b4bbb0;border-radius:4px;background:white;display:flex;justify-content:space-between;font-size:11px;color:#5c6d73}.input span:last-child{color:#bc532b}.voice{margin-top:9px;padding:9px;border:1px solid #c3c9bd;border-radius:4px;text-align:center;font-size:10px;color:var(--teal)}.caption{padding:10px 24px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:#f9f6ee}.product .workspace{grid-template-columns:350px 1fr 190px}.product .tutor{grid-column:1;grid-row:1;border-left:0;border-right:1px solid var(--line);background:#e7eee7}.product .lesson{grid-column:2;grid-row:1}.product .outline{grid-column:3;grid-row:1;border-left:1px solid var(--line);border-right:0}
.tutor-hero.lp-hero:before{background-image:linear-gradient(90deg,#f6f2e8 5%,#f6f2e8ed 30%,#f6f2e880 53%,#f6f2e80d 75%),url('/assets/ai-tutor-hero.webp');background-position:center}
.product-landing .tutor-hero{padding:100px 0 105px;min-height:690px;display:flex;align-items:center}.tutor-hero .hero-copy{max-width:680px}.product-landing .tutor-hero h1{font-size:clamp(42px,4.5vw,66px);max-width:680px}.tutor-hero h1 span{display:block;margin-top:18px;font-size:.76em;line-height:1.12;color:#3e6870}.tutor-hero .lp-lead{max-width:550px;margin-top:30px}.demo-section{padding:70px 0;background:#e9e9de}.demo-section h2{font-size:32px;margin-bottom:28px}.product{color:var(--ink)}.product .workspace{grid-template-columns:350px minmax(0,1fr) 185px}.product .tutor{background:#edf0e7}.tutor-title{background:#dfe7db}.tutor-title b{font-size:15px}.reset{font-size:10px;color:#53616a}.suggested{margin-top:14px;border-top:1px solid #c9cec2;padding-top:12px;color:#36615f;font-size:11px}.voice{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--teal);color:white;border-color:var(--teal);font-size:11px}.voice svg{width:15px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.flow{display:flex;gap:12px;background:#edeadf;padding:22px 15px;margin:24px 0;border-left:2px solid #b78761;font-size:12px;line-height:1.4}.flow span{flex:1}.flow span+span{border-left:1px solid #d2cbbc;padding-left:12px}.flow small{display:block;color:#a05c38;font-size:9px;letter-spacing:.09em;margin-bottom:8px}.capabilities{padding:75px 0 85px}.capabilities h2{font-size:36px}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 30px;margin-top:35px}.feature{border-top:1px solid var(--line);padding-top:22px}.feature h3{font-size:21px;line-height:1.25;margin-bottom:12px}.feature p{font-size:16px;line-height:1.65;color:#52666b}.proposal-note{font-size:11px;color:#667579;margin-top:20px}
@media(max-width:1100px){.product .workspace{grid-template-columns:300px minmax(0,1fr) 145px}.lesson{padding:28px 23px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.product-landing .tutor-hero{padding:65px 0;min-height:600px}.tutor-hero.lp-hero:before{opacity:1;background-image:linear-gradient(90deg,#f6f2e8f5 0%,#f6f2e8e8 40%,#f6f2e860 100%),url('/assets/ai-tutor-hero.webp')}.hero-copy{max-width:620px}.product .workspace{grid-template-columns:300px minmax(0,1fr)}.outline{display:none}.demo-section{padding:55px 0}}
@media(max-width:650px){.product .workspace{display:flex;flex-direction:column}.product .lesson{order:1;padding:24px}.product .tutor{order:2;border:0;border-top:1px solid var(--line)}.lesson .activity-nav{display:none}.topbar{padding:14px}.topbar .dot{display:none}.caption{padding:12px 16px}.lesson h2{font-size:25px}.demo-section h2{font-size:29px}}
@media(max-width:540px){.product-landing .tutor-hero{min-height:650px;padding:50px 0 150px;align-items:flex-start}.tutor-hero.lp-hero:before{background-image:linear-gradient(180deg,#f6f2e8fa 0%,#f6f2e8f0 45%,#f6f2e8a0 65%,#f6f2e820 100%),url('/assets/ai-tutor-hero.webp');background-position:65% center}.product-landing .tutor-hero h1{font-size:40px}.tutor-hero h1 span{font-size:32px}.tutor-hero .lp-lead{font-size:18px;margin-top:24px}.capabilities{padding:50px 0}.feature-grid{grid-template-columns:1fr;gap:26px}.capabilities h2{font-size:32px}.feature h3{font-size:22px}}

/* A precise mathematical sketch inside the illustrative tutor response. */
.tutor-sketch{margin:12px 0;background:#fcfaf4;border:1px solid #d3d7c9;border-radius:6px;padding:12px 12px 9px}.tutor-sketch svg{width:100%;max-width:270px;height:auto;margin:auto}.tutor-sketch figcaption{font-size:10px;color:#617269;text-align:center;margin-top:4px}.tutor-calculation{font-size:13px;line-height:1.7;margin-top:10px}.tutor-calculation b{font-weight:600}.math-practice{margin-top:30px;border-top:1px solid var(--line);padding-top:25px}.math-practice>span{font-size:9px;font-weight:700;letter-spacing:.14em;color:#966747}.math-practice h3{font-size:21px;line-height:1.25;margin:10px 0 16px}.math-practice .math-hint{font-size:12px;color:#62736b}.product .lesson h2{font-size:30px}.lesson .equation{font-size:30px;padding:23px}.product .chat{padding-bottom:8px}.product .compose{padding-top:8px}
@media(max-width:650px){.tutor-sketch svg{max-width:285px}.product .lesson h2{font-size:27px}.math-practice{margin-top:20px;padding-top:18px}}

/* Bounded preview with independently scrolling panels and anchored controls. */
.product-page #demo{scroll-margin-top:86px}.demo-section{padding:24px 0}.demo-section>.wrap>h2{font-size:32px;line-height:1.15;margin-bottom:18px}.product .topbar{padding:10px 20px;min-height:46px}.product .caption{padding:8px 20px;line-height:1.4}.product .workspace{grid-template-columns:350px minmax(0,1fr) 230px;height:clamp(300px,calc(100svh - 280px),620px);min-height:0;overflow:hidden}.product .tutor,.product .lesson,.product .outline{min-width:0;min-height:0;height:100%;overflow:hidden}.product .tutor{display:flex;flex-direction:column}.product .tutor-title{padding:10px 18px;flex:none}.product .chat{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:14px 16px;scrollbar-gutter:stable;flex:1}.product .compose{flex:none;padding:10px 16px;border-top:1px solid var(--line);background:#edf0e7}.product .input{padding:9px 10px}.product .voice{padding:7px;margin-top:7px}.product .lesson{display:flex;flex-direction:column;padding:0}.lesson-scroll{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;flex:1;padding:25px 28px}.product .lesson h2{font-size:27px;margin-bottom:18px}.product .lesson p{font-size:13px;margin-bottom:15px}.product .lesson .equation{padding:18px;margin:18px 0}.product .lesson .activity-nav{display:flex;flex:none;margin:0;padding:15px 22px;border-top:1px solid var(--line);background:#fcfaf4;gap:16px;align-items:center}.product .outline{display:block;padding:22px 18px;overflow-y:auto;overscroll-behavior-y:contain;font-size:12px}.product .outline li{padding:12px 10px}.product .outline b{font-size:13px}.product .tutor-sketch{padding:8px;margin:10px 0}.product .tutor-sketch svg{max-width:215px}.product .tutor-sketch figcaption{padding:7px 0 0;margin-top:3px;background:none;border:0}.product .math-practice{margin-top:23px;padding-top:20px}.preview-tabs{display:none}.chat:focus-visible,.lesson-scroll:focus-visible{outline-offset:-3px}.chat,.lesson-scroll,.outline{scrollbar-width:thin;scrollbar-color:#a7b3a7 transparent}
@media(max-width:1100px){.product .workspace{grid-template-columns:300px minmax(0,1fr) 210px}.lesson-scroll{padding:22px}.product .outline{padding:20px 13px}}
@media(max-width:850px){.product-page #demo{scroll-margin-top:76px}.preview-tabs{display:flex;border-bottom:1px solid var(--line);background:#f4f1e8}.preview-tabs button{flex:1;padding:11px 8px;border:0;border-bottom:2px solid transparent;background:none;color:var(--ink);font-size:13px}.preview-tabs button[aria-pressed=true]{border-bottom-color:var(--copper);background:#e1e8dc;font-weight:600}.product .workspace{display:block;height:clamp(320px,calc(100svh - 310px),600px)}.product .workspace>.tutor,.product .workspace>.lesson,.product .workspace>.outline{display:none;border:0}.product .workspace[data-panel=tutor]>.tutor,.product .workspace[data-panel=lesson]>.lesson{display:flex}.product .workspace[data-panel=outline]>.outline{display:block}.product .chat{padding:16px 20px}.product .tutor-sketch svg{max-width:225px}.product .tutor-sketch{max-width:350px}.product .outline{padding:24px}.demo-section>.wrap>h2{font-size:29px}}
@media(max-width:540px){.product-page #demo{scroll-margin-top:72px}.demo-section{padding:20px 0}.demo-section>.wrap>h2{font-size:27px;margin-bottom:16px}.product .topbar{padding:10px 14px}.product .caption{padding:7px 14px;font-size:9px}.product .workspace{height:clamp(300px,calc(100svh - 290px),560px)}.product .lesson .activity-nav{padding:13px 18px}.lesson-scroll{padding:22px}.product .chat{padding:14px}.product .tutor-sketch svg{max-width:200px}}

/* The shared page already reserves space for the sticky header. */
.product-page #demo{scroll-margin-top:0}

/* Keep language selection outside the scrolling conversation. */
.product .tutor-title{min-height:56px;gap:14px}.tutor-language{position:relative;flex:none}.tutor-language select{appearance:none;-webkit-appearance:none;font:500 12px/1.4 var(--body);color:var(--ink);background:#f8f7ef;border:1px solid #bfc7b7;border-radius:4px;padding:7px 30px 7px 10px;cursor:pointer;min-height:34px}.tutor-language svg{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.tutor-language select:hover{border-color:#6e8779}.tutor-language select:focus-visible{outline:2px solid var(--copper);outline-offset:2px}
@media(min-width:851px) and (max-width:1100px){.tutor-hero.lp-hero:before{background-image:linear-gradient(90deg,#f6f2e8fa 0%,#f6f2e8ed 40%,#f6f2e880 65%,#f6f2e820 100%),url('/assets/ai-tutor-hero.webp')}}
