:root {
  --rectangle-black: #252525;
  --purple-unified: #8983e3;
  --purple-unified-rgb: 137, 131, 227;
  color-scheme: light;
  --paper: #fbfbf8;
  --ink: #111a20;
  --muted: #68757a;
  --line: rgba(26, 43, 50, .18);
  --blue: #286cbb;
  --signal: #f4d91b;
  --signal-ink: #1b2730;
  --topbar-h: 72px;
  --sans: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  --condensed: 'Arial Narrow', 'Bahnschrift Condensed', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
html { scroll-behavior: smooth; }
body.launch-page {
  position: relative;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
body.launch-page * { box-sizing: border-box; }
body.launch-page a { color: inherit; text-decoration: none; }
body.launch-page button { font: inherit; }
body.launch-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.cursor-aura {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--purple-unified-rgb), .08) 0%, rgba(var(--purple-unified-rgb), .032) 26%, rgba(var(--purple-unified-rgb), .01) 50%, rgba(var(--purple-unified-rgb), .003) 64%, transparent 78%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -1000px), var(--cursor-y, -1000px), 0) translate(-50%, -50%);
  transition: opacity .22s ease;
  will-change: transform;
}
body.has-pointer .cursor-aura { animation: cursor-aura-breathe 2.8s ease-in-out infinite; }

.entry-wipe {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.entry-wipe i {
  position: relative;
  display: block;
  width: 140px;
  height: 2px;
  overflow: hidden;
  background: rgba(23, 46, 58, .12);
}
.entry-wipe i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  content: '';
  background: var(--signal);
  animation: boot-load .75s cubic-bezier(.25,.7,.3,1) forwards;
}
body.is-ready .entry-wipe { animation: entry-close .84s .18s cubic-bezier(.76,0,.22,1) forwards; }
body.is-ready .entry-wipe span { animation: label-out .24s .05s ease forwards; }

.live-status i { width: 6px; height: 6px; border-radius: 50%; background: #55a783; box-shadow: 0 0 0 3px rgba(85,167,131,.12); }

.screen-frame {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100svh;
  min-height: 560px;
  flex-direction: column;
  padding: 0 clamp(26px, 4.2vw, 72px) 0 clamp(30px, 5.1vw, 86px);
}
.topbar {
  position: relative;
  z-index: 8;
  display: flex;
  height: var(--topbar-h);
  flex: 0 0 var(--topbar-h);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23,46,58,.12);
  opacity: 0;
}
body.is-ready .topbar { animation: rise-in .72s .58s cubic-bezier(.2,.7,.2,1) forwards; }
.wordmark { display: flex; align-items: center; gap: 15px; }
.wordmark img { display: block; width: auto; height: 27px; object-fit: contain; }
.wordmark-meta { color: #758186; font: 600 9px/1 var(--condensed); letter-spacing: .16em; white-space: nowrap; }
.wordmark-meta b { color: #c29b21; font-weight: 600; }
.topbar-right { display: flex; height: 100%; align-items: center; gap: clamp(14px, 2vw, 31px); }
.live-status { display: inline-flex; align-items: center; gap: 8px; color: #66757a; font-size: 11px; white-space: nowrap; }
.live-status i { width: 5px; height: 5px; }
.top-link { display: inline-flex; align-items: center; gap: 7px; color: #293940; font-size: 12px; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.top-link span { color: #839196; font-size: 14px; transition: transform .25s ease, color .25s ease; }
.top-link:hover { color: var(--blue); }
.top-link:hover span { color: var(--blue); transform: translate(2px,-2px); }
.auth-slot { display: inline-flex; align-items: center; }
.auth-slot .xa-login-btn, .auth-slot .xa-account-btn { min-height: 33px !important; border-radius: 2px !important; padding: 0 16px !important; background: var(--signal) !important; color: var(--signal-ink) !important; box-shadow: none !important; font-size: 11px !important; font-weight: 750 !important; }

.launch-main { display: flex; min-height: 0; flex: 1; }
.hero-stage { position: relative; display: flex; min-height: 0; flex: 1; align-items: center; justify-content: center; overflow: hidden; }
.hero-gridwash {
  position: absolute;
  z-index: 0;
  inset: 8% 15% 5% 36%;
  background-image: linear-gradient(rgba(40,108,187,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(40,108,187,.1) 1px, transparent 1px);
  background-size: 41px 41px;
  opacity: .68;
  -webkit-mask-image: radial-gradient(ellipse at 63% 44%,#000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 63% 44%,#000 0%, transparent 72%);
}
.hero-field-details { position: absolute; z-index: 2; inset: 0; overflow: hidden; opacity: .58; pointer-events: none; }
.hero-field-details svg { display: block; width: 100%; height: 100%; }
.field-trace { fill: none; stroke: rgba(var(--purple-unified-rgb), .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.field-trace-accent { stroke: rgba(173,143,50,.42); }
.field-ticks { fill: var(--paper); stroke: rgba(var(--purple-unified-rgb), .42); stroke-width: 1; vector-effect: non-scaling-stroke; }
.field-ticks path { fill: none; }
.field-ticks .field-node-accent { fill: #d4b84e; stroke: rgba(145,113,28,.7); }
.field-readout { position: absolute; color: rgba(59,78,86,.64); font: 600 8px/1 var(--condensed); letter-spacing: .16em; white-space: nowrap; }
.field-readout i { margin: 0 5px; color: #b59b46; font-style: normal; }
.field-readout-left { top: 18%; left: 10%; }
.field-readout-right { right: 7%; bottom: 21%; }
.point-cloud-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; opacity: .42; pointer-events: none; }
.hero-copy { position: relative; z-index: 3; display: flex; width: min(88%, 930px); flex-direction: column; align-items: center; padding: 2px 0 14px; opacity: 0; text-align: center; }
body.is-ready .hero-copy { animation: rise-in .82s .68s cubic-bezier(.2,.7,.2,1) forwards; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 22px; color: #47565c; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.eyebrow-mark { color: #c2a11f; font-size: 15px; }
.hero-title-wrap { position: relative; width: max-content; max-width: 100%; margin: 0 auto; }
.hero-copy h1 { width: auto; max-width: 100%; margin: 0; font-size: clamp(47px, 5.2vw, 78px); font-weight: 750; line-height: 1.075; letter-spacing: -.075em; }
.hero-title-long { white-space: nowrap; }
.free-access-tag { position: absolute; z-index: 4; top: -20px; left: -56px; display: flex; width: 117px; height: 117px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(35,61,72,.24); border-radius: 50%; color: #758287; font-family: var(--condensed); opacity: 0; transform: rotate(-12deg) scale(.76); }
.free-access-tag strong { font-size: 31px; font-weight: 700; line-height: 1; }
.free-access-tag i { margin-top: 6px; font-size: 13px; font-style: normal; letter-spacing: .1em; }
body.is-ready .free-access-tag { animation: free-stamp .55s 1.18s ease forwards; }
.hero-copy h1 em { position: relative; color: #111a20; font-style: normal; }
.hero-copy h1 em::after { position: absolute; z-index: -1; right: -.025em; bottom: .04em; left: -.03em; height: .2em; content: ''; background: rgba(244,217,27,.76); transform: skewX(-12deg); transform-origin: left; }
.title-stop { color: #d39d28; font: 600 .78em/1 var(--condensed); letter-spacing: -.02em; }
.hero-description { max-width: 620px; min-height: 46px; margin: 22px 0 0; color: #5e6c71; font-size: 14px; font-weight: 500; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 25px; }
.launch-cta { position: relative; isolation: isolate; display: flex; min-width: 221px; height: 61px; align-items: center; gap: 13px; overflow: hidden; padding: 0 16px 0 14px; background: var(--signal); color: var(--signal-ink); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); cursor: pointer; transition: background .2s ease, box-shadow .25s ease, transform .2s ease; }
.launch-cta::before { position: absolute; z-index: 0; inset: 0; content: ''; background: linear-gradient(104deg, transparent 31%, rgba(255,255,255,.72) 47%, transparent 62%); transform: translateX(-120%); transition: transform .7s ease; pointer-events: none; }
.launch-cta:hover { background: #ffe747; box-shadow: 0 9px 24px rgba(151,123,0,.2); transform: translateY(-3px) scale(1.015); }
.launch-cta:hover::before { transform: translateX(120%); }
.launch-cta > * { position: relative; z-index: 1; }
.cta-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid rgba(27,39,48,.23); font-size: 11px; }
.cta-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.cta-copy strong { font-size: 14px; font-weight: 800; }
.cta-copy small { color: rgba(27,39,48,.66); font-size: 9px; font-weight: 650; letter-spacing: .04em; }
.cta-arrow { margin-left: auto; font-size: 17px; transition: transform .2s ease; }
.launch-cta:hover .cta-arrow { transform: translate(3px,-3px); }
.preview-link { position: relative; isolation: isolate; display: inline-flex; min-width: 221px; height: 61px; align-items: center; gap: 13px; overflow: hidden; padding: 0 16px 0 14px; border: 1px solid rgba(34,57,67,.25); color: var(--signal-ink); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); cursor: pointer; transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease; }
.preview-link::before { position: absolute; z-index: 0; inset: 0; content: ''; background: rgba(244,217,27,.36); transform: scaleX(0); transform-origin: left center; transition: transform .48s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.preview-link:hover { border-color: rgba(34,57,67,.52); color: var(--signal-ink); box-shadow: 0 9px 24px rgba(27,39,48,.12); transform: translateY(-3px) scale(1.015); }
.preview-link:hover::before { transform: scaleX(1); }
.preview-link > * { position: relative; z-index: 1; }
.preview-link .cta-arrow { margin-left: auto; }
.preview-link:hover .cta-arrow { transform: translate(3px,-3px); }
.access-line { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: #859094; font-size: 10px; font-weight: 550; }
.access-line > i { width: 3px; height: 3px; margin: 0 3px; border-radius: 50%; background: #b8a25b; }
.access-dot { width: 5px; height: 5px; border-radius: 50%; background: #58a784; }

.screen-footer { display: flex; min-height: 28px; align-items: flex-start; justify-content: space-between; color: #8a9497; font-size: 9px; font-weight: 500; letter-spacing: .02em; }
.screen-footer > span:first-child i { color: #c6a938; font-style: normal; }
.footer-coordinates { font: 600 8px/1.2 var(--condensed); letter-spacing: .16em; }
.footer-coordinates i { margin: 0 6px; color: #bd9c22; font-style: normal; }

/* The second screen shifts the landing page into Teacher Xiaoshan's learning archive. */
.alice-learning {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100svh;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(52px, 6.4vh, 92px) clamp(26px, 4.2vw, 72px) clamp(38px, 5vh, 66px) clamp(30px, 5.1vw, 86px);
  border-top: 1px solid rgba(23,46,58,.13);
  background: linear-gradient(180deg, #fafbf9 0%, #f4f6f3 100%);
}
.alice-learning::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image: linear-gradient(rgba(27,39,44,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(27,39,44,.035) 1px, transparent 1px), repeating-linear-gradient(135deg, transparent 0 8px, rgba(27,39,44,.018) 8px 9px);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: .68;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  pointer-events: none;
}
.alice-wave-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; opacity: .78; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 88% 92% at 73% 52%, #000 0%, rgba(0,0,0,.82) 58%, transparent 100%); mask-image: radial-gradient(ellipse 88% 92% at 73% 52%, #000 0%, rgba(0,0,0,.82) 58%, transparent 100%); }
.alice-learning::after {
  position: absolute;
  top: 13%;
  right: -1px;
  width: 31%;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(185,153,39,.55));
  box-shadow: none;
  pointer-events: none;
}
.alice-section-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1680px);
  min-height: calc(100svh - clamp(90px, 11.4vh, 158px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 72px);
  margin: 0 auto;
}
.alice-dialogue { position: relative; z-index: 3; width: min(100%, 650px); align-self: center; padding: 18px 0 clamp(12px, 2vh, 26px); }
.alice-section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #65747a; font: 650 10px/1 var(--condensed); letter-spacing: .18em; }
.alice-section-kicker span { width: 7px; height: 7px; background: #d0b438; box-shadow: 3px 3px 0 rgba(27,39,44,.12); }
.alice-section-kicker::after { width: 54px; height: 1px; content: ''; background: rgba(185,153,39,.5); }
.alice-dialogue h2 { margin: 0; color: #141e23; font-size: clamp(37px, 4vw, 59px); font-weight: 760; line-height: 1.19; letter-spacing: -.07em; }
.alice-section-intro { max-width: 490px; margin: 17px 0 25px; color: #69777c; font-size: 13px; font-weight: 500; line-height: 1.9; }
.alice-chat-window {
  --alice-panel-ink: #111;
  --alice-panel-line: rgba(17,17,17,.28);
  --alice-panel-yellow: #fff000;
  position: relative;
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid var(--alice-panel-ink);
  border-top: 4px solid var(--alice-panel-yellow);
  background: rgba(255,255,253,.97);
  box-shadow: 5px 6px 0 rgba(17,17,17,.16);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.alice-chat-window:hover { border-color: var(--alice-panel-ink); box-shadow: 6px 7px 0 rgba(17,17,17,.2); }
.alice-chat-header { display: flex; min-height: 61px; align-items: center; justify-content: space-between; padding: 10px 17px; border-bottom: 1px solid var(--alice-panel-line); background: #fff; }
.alice-chat-identity { display: flex; align-items: center; gap: 10px; }
.alice-chat-identity img { display: block; width: 36px; height: 36px; border: 1px solid rgba(27,39,44,.22); border-radius: 0; object-fit: cover; filter: saturate(.82); }
.alice-chat-identity > span { display: flex; flex-direction: column; gap: 4px; }
.alice-chat-identity strong { color: #1d2c32; font-size: 12px; font-weight: 750; }
.alice-chat-identity small { color: #778287; font: 600 9px/1 var(--condensed); letter-spacing: .1em; text-transform: uppercase; }
.alice-chat-live { display: inline-flex; align-items: center; gap: 7px; color: #677379; font: 650 9px/1 var(--condensed); letter-spacing: .12em; text-transform: uppercase; }
.alice-chat-live i { width: 6px; height: 6px; border-radius: 0; background: #d0b438; box-shadow: 0 0 0 3px rgba(208,180,56,.15); animation: assistant-live 2.1s ease-in-out infinite; }
.alice-feature-tabs { display: flex; min-height: 43px; align-items: stretch; gap: 0; padding: 0 12px; border-bottom: 1px solid var(--alice-panel-ink); background: #f1f1ee; }
.alice-feature-tab { position: relative; display: inline-flex; min-width: 0; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-right: 1px solid rgba(17,17,17,.17); background: transparent; color: #777; cursor: pointer; font-size: 10px; font-weight: 700; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.alice-feature-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; content: ''; background: var(--alice-panel-ink); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.alice-feature-tab > span { color: #8b8b88; font: 700 8px/1 var(--condensed); letter-spacing: .06em; transition: color .2s ease; }
.alice-feature-tab:hover { color: var(--alice-panel-ink); background: rgba(255,255,255,.84); }
.alice-feature-tab.is-active { color: var(--alice-panel-ink); background: var(--alice-panel-yellow); }
.alice-feature-tab.is-active::after { transform: scaleX(1); }
.alice-feature-tab.is-active > span { color: var(--alice-panel-ink); }
.alice-feature-stage { position: relative; min-height: 246px; padding: 16px 18px 13px; background: #fff; }
.alice-feature-panel { display: block; min-height: 216px; }
.alice-feature-panel[hidden] { position: absolute; inset: 16px 18px 13px; display: block !important; min-height: 0; visibility: hidden; pointer-events: none; }
.alice-reading-shell { --reading-ink: #2b383d; --reading-muted: #879294; position: relative; min-height: 216px; color: var(--reading-ink); }
.alice-reading-topline { display: flex; min-height: 31px; align-items: center; justify-content: space-between; gap: 10px; }
.alice-reading-tools { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.alice-reading-meta { display: flex; min-width: 0; align-items: center; gap: 7px; color: var(--reading-muted); font: 650 7px/1 var(--condensed); letter-spacing: .09em; white-space: nowrap; }
.alice-reading-meta > span { color: #a1872f; }
.alice-reading-meta > i { width: 14px; height: 1px; flex: 0 0 auto; background: #d0b438; }
.alice-reading-meta > b { overflow: hidden; color: #435057; font-size: 8px; text-overflow: ellipsis; }
.alice-reading-meta > small { overflow: hidden; margin-left: 5px; text-overflow: ellipsis; }
.alice-notebook-count { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: #69777c; font-size: 8px; font-weight: 650; }
.alice-notebook-count > span:first-child { font-size: 12px; }
.alice-notebook-count b { display: grid; min-width: 20px; height: 18px; place-items: center; border: 1px solid rgba(39,54,60,.16); color: #a1872f; font: 700 8px/1 var(--condensed); }
.alice-reading-workspace { position: relative; display: block; min-height: 175px; overflow: hidden; border: 1px solid rgba(17,17,17,.32); background: #fff; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
.alice-lesson-content { position: relative; z-index: 1; width: 100%; min-width: 0; min-height: 175px; box-sizing: border-box; padding: 12px 18px 10px 8px; transition: width .78s cubic-bezier(.2,.7,.2,1), min-height .56s ease; }
.alice-lesson-section { display: flex; align-items: center; gap: 6px; color: #a1872f; font: 650 7px/1 var(--condensed); letter-spacing: .1em; }
.alice-lesson-section i { width: 19px; height: 2px; background: #111; }
.alice-lesson-section small { color: #899396; font-size: 7px; }
.alice-lesson-content h3 { margin: 13px 0 44px; color: #26343a; font-size: 15px; font-weight: 740; letter-spacing: -.04em; }
.alice-reading-line { position: relative; display: block; max-width: 360px; margin: 0; color: #667479; font-size: 11px; line-height: 1.8; }
.alice-reading-sentence { padding: 1px 2px; background: linear-gradient(90deg, rgba(255,240,0,.58), rgba(255,240,0,.3)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 100%; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.alice-reading-shell:is([data-demo-phase="text-selecting"],[data-demo-phase="quote-action"],[data-demo-phase="cursor-to-action"],[data-demo-phase="quote-hover"],[data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-reading-sentence { background-size: 100% 100%; }
.alice-reading-shell[data-demo-phase="text-selecting"] .alice-reading-sentence { animation: alice-reading-highlight 1.18s both cubic-bezier(.2,.7,.2,1); }
.alice-lesson-footer { position: absolute; right: 18px; bottom: 10px; left: 8px; display: flex; align-items: center; gap: 7px; color: #9ba3a5; font: 600 6px/1 var(--condensed); letter-spacing: .08em; }
.alice-lesson-footer > i { height: 2px; flex: 1; background: rgba(39,54,60,.12); }
.alice-lesson-footer > i b { display: block; width: 38%; height: 100%; background: #d0b438; }
.alice-quote-action { position: absolute; z-index: 3; bottom: calc(100% + 7px); left: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #111; border-left: 3px solid #111; background: var(--alice-panel-yellow); box-shadow: 3px 3px 0 #111; color: #111; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); font-size: 9px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(6px) scale(.96); white-space: nowrap; }
.alice-quote-action i { color: #111; font-style: normal; }
.alice-quote-action b { color: #111; font-size: 10px; font-weight: 800; }
.alice-quote-action-done, .alice-quote-action-check { display: none; }
.alice-reading-shell[data-demo-phase="quote-action"] .alice-quote-action { animation: alice-quote-action-in .4s both cubic-bezier(.2,.7,.2,1); }
.alice-reading-shell:is([data-demo-phase="cursor-to-action"],[data-demo-phase="quote-hover"],[data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-quote-action { opacity: 1; transform: none; }
.alice-reading-shell[data-demo-phase="quote-hover"] .alice-quote-action { border-color: #111; box-shadow: 4px 4px 0 #111; }
.alice-reading-shell[data-demo-phase="quote-click"] .alice-quote-action { animation: alice-quote-action-click .34s both cubic-bezier(.2,.7,.2,1); }
.alice-reading-shell:is([data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-quote-action-label,
.alice-reading-shell:is([data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-quote-action-arrow { display: none; }
.alice-reading-shell:is([data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-quote-action-done { display: inline; }
.alice-reading-shell:is([data-demo-phase="quote-click"],[data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-quote-action-check { display: inline; }
.alice-demo-cursor { position: absolute; z-index: 6; top: var(--cursor-start-y, 58px); left: var(--cursor-start-x, 8px); width: 23px; height: 29px; opacity: 0; pointer-events: none; filter: drop-shadow(1px 2px 1px rgba(16,25,29,.32)); transform-origin: 2px 2px; }
.alice-demo-cursor svg { display: block; width: 100%; height: 100%; }
.alice-reading-shell[data-demo-phase="cursor-approach"] .alice-demo-cursor { animation: alice-cursor-approach .76s both cubic-bezier(.2,.7,.2,1); }
.alice-reading-shell[data-demo-phase="text-selecting"] .alice-demo-cursor { animation: alice-cursor-select 1.18s both cubic-bezier(.25,.75,.25,1); }
.alice-reading-shell[data-demo-phase="quote-action"] .alice-demo-cursor { top: var(--cursor-end-y, 58px); left: var(--cursor-end-x, 250px); opacity: 1; }
.alice-reading-shell[data-demo-phase="cursor-to-action"] .alice-demo-cursor { animation: alice-cursor-to-action .82s both cubic-bezier(.2,.7,.2,1); }
.alice-reading-shell:is([data-demo-phase="quote-hover"],[data-demo-phase="quote-click"]) .alice-demo-cursor { top: var(--cursor-action-y, 30px); left: var(--cursor-action-x, 12px); opacity: 1; }
.alice-reading-shell[data-demo-phase="quote-click"] .alice-demo-cursor { animation: alice-cursor-click .34s both ease-out; }
.alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-demo-cursor { top: var(--cursor-action-y, 30px); left: var(--cursor-action-x, 12px); opacity: 0; transition: opacity .28s ease; }
.alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-reading-workspace { min-height: 205px; }
.alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-lesson-content { width: 60%; min-height: 205px; }
.alice-reading-shell.is-demo-paused * { animation-play-state: paused !important; }
.alice-notebook-view { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; display: flex; width: 0; min-width: 0; overflow: hidden; box-sizing: border-box; flex-direction: column; padding: 14px 0; border-left: 0 solid #111; background: #f2f2ef; opacity: 0; transform: translateX(18px); transition: width .78s cubic-bezier(.2,.7,.2,1), opacity .46s ease, transform .68s cubic-bezier(.2,.7,.2,1), padding .5s ease, border-width .5s ease; }
.alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-notebook-view { width: 40%; padding: 12px 12px 10px; border-left-width: 1px; opacity: 1; transform: translateX(0); }
.alice-reading-shell[data-demo-phase="notebook-open"] .alice-notebook-count b { animation: alice-count-pop .5s both cubic-bezier(.2,.7,.2,1); }
.alice-notebook-heading { display: flex; align-items: baseline; gap: 7px; padding: 7px 8px; border-bottom: 1px solid #111; background: var(--alice-panel-yellow); }
.alice-notebook-heading > span { color: #3d3d38; font: 700 7px/1 var(--condensed); letter-spacing: .1em; }
.alice-notebook-heading > b { color: #111; font-size: 11px; }
.alice-notebook-heading > small { margin-left: auto; color: #4d4d48; font-size: 7px; }
.alice-notebook-items { display: grid; min-height: 0; flex: 1; grid-template-columns: minmax(0,1fr); align-items: start; gap: 10px; padding-top: 11px; }
.alice-notebook-item { min-width: 0; min-height: 72px; padding: 9px 10px; border: 1px solid #171717; border-top: 2px solid #171717; background: #fff; box-shadow: 2px 2px 0 rgba(17,17,17,.15); opacity: 0; transform: translateY(8px); }
.alice-reading-shell[data-demo-phase="notebook-open"] .alice-notebook-item { animation: alice-note-card-in .52s both cubic-bezier(.2,.7,.2,1); }
.alice-reading-shell[data-demo-phase="notebook-complete"] .alice-notebook-item { opacity: 1; transform: none; }
.alice-notebook-item > span { display: flex; align-items: center; gap: 5px; color: #7a878a; font: 650 6px/1 var(--condensed); letter-spacing: .06em; }
.alice-notebook-item > span b { color: #a1872f; font-size: 8px; }
.alice-notebook-item > span i { margin-left: auto; color: #aab2b1; font-style: normal; }
.alice-notebook-item p { margin: 8px 0 0; color: #455258; font-size: 9px; line-height: 1.65; }
.alice-notebook-footer { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(39,54,60,.12); color: #879294; font: 600 7px/1 var(--condensed); letter-spacing: .04em; }
.alice-notebook-footer i { width: 5px; height: 5px; background: #67a98b; box-shadow: 0 0 0 3px rgba(103,169,139,.12); }
.alice-reading-feedback { display: flex; min-height: 18px; align-items: flex-end; gap: 6px; margin: 6px 0 0; color: #8d9899; font: 550 7px/1.2 var(--condensed); letter-spacing: .08em; }
.alice-reading-feedback::before { width: 13px; height: 1px; content: ''; background: rgba(185,153,39,.7); }
.alice-chat-thread { display: flex; min-height: 216px; flex-direction: column; justify-content: center; gap: 10px; }
.alice-thread-stamp { display: flex; align-items: center; gap: 8px; color: #6f7c80; font: 650 8px/1 var(--condensed); letter-spacing: .12em; }
.alice-thread-stamp > span:first-child { color: #a1872f; }
.alice-thread-stamp > i { width: 18px; height: 1px; background: #d0b438; }
.alice-thread-stamp > b { color: #344249; font-size: 9px; letter-spacing: .04em; }
.alice-thread-time { margin-left: auto; color: #9aa2a3; font-size: 7px; letter-spacing: .06em; }
.alice-message { display: flex; min-width: 0; }
.alice-message-user { max-width: 79%; flex-direction: column; align-self: flex-end; gap: 4px; }
.alice-message-user > span { padding: 8px 11px; border-right: 3px solid #d0b438; background: #eef0ed; color: #435057; font-size: 9px; line-height: 1.6; }
.alice-message-user > small { color: #9ba4a5; font: 600 7px/1 var(--condensed); letter-spacing: .07em; text-align: right; }
.alice-message-user-followup { max-width: 67%; }
.alice-message-user-followup > span { padding-top: 6px; padding-bottom: 6px; }
.alice-message-agent { align-items: flex-start; gap: 9px; }
.alice-message-avatar { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border: 1px solid #27363c; background: #27363c; color: #e2c54a; font: 700 10px/1 var(--condensed); }
.alice-message-body { min-width: 0; flex: 1; padding: 1px 0 0 10px; border-left: 2px solid #d0b438; }
.alice-message-body > small { display: block; margin: 0 0 5px; color: #708084; font: 650 7px/1.2 var(--condensed); letter-spacing: .06em; }
.alice-message-body > small i { color: #c2a636; font-style: normal; }
.alice-message-body > p { margin: 0; color: #435057; font-size: 9px; line-height: 1.65; }
.alice-message-body > p strong { color: #9c8125; font-weight: 750; }
.alice-answer-source { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: #8c9799; font: 600 7px/1 var(--condensed); letter-spacing: .04em; }
.alice-answer-source i { width: 5px; height: 5px; background: #d0b438; }
.alice-feature-controls { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 0 13px; border-top: 1px solid rgba(17,17,17,.22); background: #f7f7f4; }
.alice-feature-next { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1.5px solid #111; border-radius: 50%; background: #fff; box-shadow: 2px 3px 0 #111; color: #111; cursor: pointer; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.alice-feature-next:hover { background: var(--signal); box-shadow: 3px 4px 0 #111; transform: translateY(-1px); }
.alice-feature-next:active { box-shadow: 0 0 0 #111; transform: translate(2px,2px); }
.alice-feature-next:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.alice-feature-next svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 2.25; }
.alice-feature-next-main { margin-left: 2px; }
.alice-feature-panel.is-entering.is-forward { animation: feature-panel-forward .62s both cubic-bezier(.2,.7,.2,1); }
.alice-feature-panel.is-entering.is-backward { animation: feature-panel-backward .62s both cubic-bezier(.2,.7,.2,1); }
.alice-feature-panel.is-entering .alice-thread-stamp { animation: feature-rise-in .43s both cubic-bezier(.2,.7,.2,1); }
.alice-feature-panel.is-entering .alice-message-user { animation: feature-rise-in .5s .06s both cubic-bezier(.2,.7,.2,1); }
.alice-feature-panel.is-entering .alice-message-agent { animation: feature-rise-in .55s .13s both cubic-bezier(.2,.7,.2,1); }
.alice-feature-panel.is-entering .alice-message-user:nth-of-type(4) { animation-delay: .2s; }
.alice-feature-panel.is-entering .alice-message-agent:nth-of-type(5) { animation-delay: .29s; }
.alice-feature-panel.is-entering .alice-answer-source { animation: feature-rise-in .45s .23s both cubic-bezier(.2,.7,.2,1); }
.alice-demo-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: #98a1a3; font: 550 8px/1 var(--condensed); letter-spacing: .11em; }
.alice-demo-note::before { width: 17px; height: 1px; content: ''; background: rgba(185,153,39,.64); }
.alice-art-panel { position: relative; z-index: 1; min-width: 0; min-height: min(78svh, 860px); align-self: stretch; overflow: visible; perspective: 1400px; }
.alice-art-composition { --alice-tilt-x: 0deg; --alice-tilt-y: 0deg; position: absolute; z-index: 3; inset: 0; transform: rotateX(var(--alice-tilt-x)) rotateY(var(--alice-tilt-y)); transform-origin: 50% 68%; transform-style: preserve-3d; transition: transform .58s cubic-bezier(.2,.7,.2,1); }
.alice-art-composition.is-pointer-tilting { will-change: transform; transition-duration: .14s; }
.alice-art-panel::before { position: absolute; z-index: 0; top: 14%; right: 1%; width: 77%; aspect-ratio: 1; border: 1px solid rgba(27,39,44,.12); border-radius: 50%; content: ''; box-shadow: 0 0 0 22px rgba(27,39,44,.022), 0 0 0 58px rgba(27,39,44,.014); }
.alice-art-coordinate { position: absolute; z-index: 3; top: 8%; right: 4%; color: rgba(49,62,67,.62); font: 650 8px/1 var(--condensed); letter-spacing: .18em; white-space: nowrap; }
.alice-course-backdrop { position: absolute; z-index: 0; right: -13%; bottom: 11%; width: 126%; height: 28%; overflow: hidden; background: rgba(255,255,255,.72); }
.alice-course-backdrop::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, var(--paper) 0%, rgba(251,251,248,.72) 24%, rgba(251,251,248,.35) 60%, rgba(251,251,248,.72) 100%), linear-gradient(0deg, rgba(251,251,248,.14), rgba(251,251,248,.4)); }
.alice-course-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 52%; filter: saturate(.62); opacity: .3; }
.alice-art-orbit { position: absolute; z-index: 2; border: 1px solid rgba(27,39,44,.16); border-radius: 50%; pointer-events: none; }
.alice-art-orbit-one { top: 19%; right: 12%; width: 57%; aspect-ratio: 1; transform: rotate(-17deg) scaleY(.43); }
.alice-art-orbit-two { top: 24%; right: 4%; width: 72%; aspect-ratio: 1; border-color: rgba(190,159,64,.35); transform: rotate(24deg) scaleY(.39); }
.alice-art-orbit::before, .alice-art-orbit::after { position: absolute; width: 5px; height: 5px; border: 1px solid rgba(27,39,44,.5); border-radius: 50%; content: ''; background: #f9fbfa; }
.alice-art-orbit::before { top: 21%; left: 8%; }
.alice-art-orbit::after { right: 10%; bottom: 20%; border-color: #b69a31; background: #e2c64c; }
.alice-figure { position: absolute; z-index: 3; right: 4%; bottom: 11%; display: block; width: auto; height: min(72svh, 780px); max-width: none; object-fit: contain; object-position: bottom center; }
.alice-wordmark { position: absolute; z-index: 1; top: 28%; left: 65%; bottom: auto; color: rgba(27,39,44,.075); font: 800 clamp(110px, 18vw, 290px)/.76 var(--condensed); letter-spacing: .02em; pointer-events: none; user-select: none; white-space: nowrap; }
.alice-art-caption { position: absolute; z-index: 4; right: 2%; bottom: 3%; display: flex; align-items: center; gap: 8px; color: rgba(65,83,93,.64); font: 600 7px/1 var(--condensed); letter-spacing: .16em; white-space: nowrap; }
.alice-art-caption i { width: 5px; height: 5px; border-radius: 50%; background: #c0a441; }
body.assistant-reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
body.assistant-reveal-ready [data-reveal="portrait"] { transform: translate3d(24px, 0, 0); }
body.assistant-reveal-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.alice-learning .alice-wordmark[data-reveal] { opacity: 0; transform: translate(-50%, calc(-50% + 22px)); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.alice-learning .alice-wordmark[data-reveal].is-visible { opacity: 1; transform: translate(-50%, -50%); }
.alice-dialogue.is-visible .alice-chat-window { animation: assistant-panel-in .75s .16s both cubic-bezier(.2,.7,.2,1); }
.alice-art-panel.is-visible .alice-figure { animation: alice-arrive .9s .12s both cubic-bezier(.18,.72,.28,1); }

@keyframes boot-load { to { width: 100%; } }
@keyframes entry-close { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes label-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes free-stamp { to { opacity: .82; transform: rotate(-12deg) scale(1); } }
@keyframes cursor-aura-breathe {
  0%, 100% { opacity: .22; }
  50% { opacity: .5; }
}
@keyframes assistant-live {
  0%, 100% { opacity: .65; box-shadow: 0 0 0 3px rgba(86,167,132,.1); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(86,167,132,.16); }
}
@keyframes assistant-panel-in {
  from { opacity: .35; transform: translateY(13px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes alice-arrive {
  from { opacity: .45; transform: translate3d(0, 20px, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes wordmark-arrive {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes feature-rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes feature-panel-forward {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes feature-panel-backward {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes feature-row-in {
  from { opacity: 0; transform: translateX(9px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes alice-reading-highlight {
  from { background-size: 0 100%; }
  to { background-size: 100% 100%; }
}
@keyframes alice-quote-action-in {
  from { opacity: 0; transform: translateY(6px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes alice-quote-action-click {
  0%,100% { opacity: 1; transform: translateY(0) scale(1); }
  45% { opacity: 1; transform: translateY(1px) scale(.94); }
}
@keyframes alice-cursor-approach {
  from { top: 88%; left: 76%; opacity: 0; transform: translate(12px,8px) scale(.88); }
  to { top: var(--cursor-start-y); left: var(--cursor-start-x); opacity: 1; transform: translate(0) scale(1); }
}
@keyframes alice-cursor-select {
  from { top: var(--cursor-start-y); left: var(--cursor-start-x); opacity: 1; }
  to { top: var(--cursor-end-y); left: var(--cursor-end-x); opacity: 1; }
}
@keyframes alice-cursor-to-action {
  from { top: var(--cursor-end-y); left: var(--cursor-end-x); opacity: 1; }
  to { top: var(--cursor-action-y); left: var(--cursor-action-x); opacity: 1; }
}
@keyframes alice-cursor-click {
  0%,100% { opacity: 1; transform: scale(1); }
  42% { opacity: 1; transform: scale(.78); }
}
@keyframes alice-count-pop {
  0% { transform: scale(.78); background: rgba(208,180,56,.32); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); background: transparent; }
}
@keyframes alice-note-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes alice-note-view-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 760px) and (min-width: 861px) {
  :root { --topbar-h: 60px; }
  .hero-copy h1 { font-size: clamp(43px,4.65vw,70px); }
  .eyebrow { margin-bottom: 20px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 18px; }
  .access-line { margin-top: 13px; }
}
@media (max-width: 1050px) {
  :root { --topbar-h: 64px; }
  .screen-frame { padding-right: 28px; padding-left: 35px; }
  .wordmark-meta { display: none; }
  .hero-copy { width: min(90%, 820px); }
}
@media (max-width: 860px) {
  :root { --topbar-h: 58px; }
  .screen-frame { padding: 0 25px 0 29px; }
  .hero-copy { width: min(92%, 820px); }
  .hero-copy h1 { font-size: clamp(44px,6.3vw,66px); }
  .live-status { display: none; }
}
@media (max-width: 600px) {
  body.launch-page { min-height: 560px; }
  .screen-frame { padding: 0 max(17px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
  .topbar { height: 56px; flex-basis: 56px; }
  .wordmark { gap: 0; }
  .wordmark img { height: 22px; }
  .topbar-right { gap: 12px; }
  .top-link { font-size: 10px; }
  .auth-slot .xa-login-btn, .auth-slot .xa-account-btn { min-height: 30px !important; padding: 0 10px !important; font-size: 10px !important; }
  .hero-stage { align-items: center; padding: 14px 0; }
  .hero-gridwash { inset: 16% 0 4% 18%; }
  .hero-field-details { opacity: .3; }
  .field-readout { display: none; }
  .hero-copy { width: 100%; padding-bottom: 0; }
  .eyebrow { gap: 8px; margin-bottom: 19px; font-size: 10px; }
  .eyebrow-mark { font-size: 13px; }
  .hero-title-wrap { margin-top: 84px; }
  .free-access-tag { top: -104px; left: 20px; width: 84px; height: 84px; }
  .free-access-tag strong { font-size: 22px; }
  .free-access-tag i { margin-top: 4px; font-size: 10px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(38px,10vw,50px); line-height: 1.1; letter-spacing: -.08em; }
  .hero-title-long { font-size: clamp(27px,8.2vw,40px); }
  .hero-description { max-width: 94%; min-height: 47px; margin-top: 13px; font-size: 11px; line-height: 1.65; }
  .hero-actions { flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
  .launch-cta { min-width: 183px; height: 50px; gap: 9px; padding: 0 10px; }
  .cta-icon { width: 27px; height: 27px; flex-basis: 27px; font-size: 9px; }
  .cta-copy strong { font-size: 12px; }
  .cta-copy small { font-size: 8px; }
  .preview-link { min-width: 0; height: 50px; gap: 9px; padding: 0 10px; }
  .access-line { justify-content: center; gap: 6px; margin-top: 12px; font-size: 8px; }
  .screen-footer { min-height: 21px; font-size: 8px; }
  .footer-coordinates { display: none; }
}
@media (max-height: 700px) and (max-width: 600px) {
  .hero-stage { padding-top: 10px; }
  .hero-copy h1 { font-size: clamp(34px,8vw,43px); }
  .hero-description { margin-top: 9px; }
  .hero-actions { margin-top: 11px; }
  .access-line { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .entry-wipe { display: none; }
  .topbar, .hero-copy { opacity: 1; transform: none; }
  .free-access-tag { opacity: .82; transform: rotate(-12deg); }
}

@media (max-width: 1050px) {
  .alice-section-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 23px; }
  .alice-dialogue h2 { font-size: clamp(35px, 4.3vw, 48px); }
  .alice-figure { right: 0; bottom: 10%; height: min(76svh, 760px); }
  .alice-course-backdrop { bottom: 10%; }
  .alice-wordmark { font-size: clamp(108px, 19vw, 210px); }
}
@media (max-width: 860px) {
  .alice-learning { min-height: 100svh; margin-left: 0; padding: 68px 25px 48px; }
  .alice-section-grid { width: min(100%, 680px); min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .alice-dialogue { width: 100%; max-width: none; padding: 14px 0 4px; }
  .alice-dialogue h2 { font-size: clamp(38px, 6.2vw, 54px); }
  .alice-section-intro { max-width: 570px; }
  .alice-chat-window { width: 100%; }
  .alice-art-panel { width: 100%; min-height: min(78svh, 760px); }
  .alice-figure { right: 0; bottom: 0; height: min(78svh, 760px); }
  .alice-art-coordinate { top: 7%; right: 5%; }
  .alice-course-backdrop { right: -9%; bottom: 0; width: 115%; }
  .alice-wordmark { font-size: clamp(145px, 25vw, 250px); }
}
@media (max-width: 600px) {
  body.launch-page { min-height: 0; }
  .alice-learning { padding: 62px max(19px, env(safe-area-inset-right)) 30px max(20px, env(safe-area-inset-left)); }
  .alice-section-grid { gap: 0; }
  .alice-section-kicker { margin-bottom: 15px; font-size: 9px; }
  .alice-dialogue h2 { font-size: clamp(35px, 9.8vw, 45px); }
  .alice-section-intro { margin: 13px 0 19px; font-size: 11px; line-height: 1.8; }
  .alice-chat-header { min-height: 58px; padding: 9px 12px; }
  .alice-chat-identity img { width: 33px; height: 33px; }
  .alice-feature-tabs { min-height: 40px; gap: 0; padding: 0 7px; }
  .alice-feature-tab { flex: 1; justify-content: center; gap: 4px; padding: 0 5px; font-size: 9px; }
  .alice-feature-tab::after { right: 6px; left: 6px; }
  .alice-feature-tab > span { font-size: 7px; }
  .alice-feature-stage { min-height: 0; padding: 13px 11px; }
  .alice-feature-panel[hidden] { inset: 13px 11px; }
  .alice-feature-panel { min-height: 0; }
  .alice-chat-thread { min-height: 238px; gap: 9px; }
  .alice-message-user { max-width: 92%; }
  .alice-message-user > span { font-size: 8px; }
  .alice-message-body > p { font-size: 8px; }
  .alice-reading-shell { min-height: 0; }
  .alice-reading-meta { gap: 5px; font-size: 6px; }
  .alice-reading-meta > b { font-size: 7px; }
  .alice-reading-meta > small { display: none; }
  .alice-notebook-count { gap: 3px; font-size: 7px; }
  .alice-reading-workspace { display: block; min-height: 0; }
  .alice-lesson-content { width: 100%; min-height: 172px; padding: 11px 9px 10px 5px; border-right: 0; }
  .alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-reading-workspace { min-height: 0; }
  .alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-lesson-content { width: 100%; min-height: 172px; }
  .alice-lesson-content h3 { margin: 11px 0 40px; font-size: 13px; }
  .alice-reading-line { max-width: 100%; font-size: 9px; }
  .alice-lesson-footer { right: 9px; left: 5px; }
  .alice-reading-tools { gap: 5px; }
  .alice-notebook-view { position: relative; inset: auto; width: 100%; max-height: 0; min-height: 0; padding: 0 9px; border: 0; opacity: 0; transform: translateY(8px); transition: max-height .52s cubic-bezier(.2,.7,.2,1), opacity .35s ease, transform .4s ease, padding .35s ease, border-width .35s ease; }
  .alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-notebook-view { width: 100%; max-height: 175px; padding: 10px; border-top: 1px solid rgba(39,54,60,.15); opacity: 1; transform: translateY(0); }
  .alice-notebook-heading { flex-wrap: wrap; gap: 5px; }
  .alice-notebook-items { grid-template-columns: 1fr; gap: 5px; padding-top: 7px; }
  .alice-notebook-item { min-height: 0; padding: 6px 8px; }
  .alice-notebook-item p { margin-top: 4px; font-size: 8px; }
  .alice-feature-controls { min-height: 40px; gap: 6px; padding: 0 9px; }
  .alice-feature-next { width: 32px; height: 32px; }
  .alice-feature-next-main { width: 32px; height: 32px; min-width: 32px; gap: 0; padding: 0; font-size: 0; }
  .alice-demo-note { font-size: 7px; }
  .alice-art-panel { min-height: 560px; margin-top: 9px; }
  .alice-art-panel::before { top: 9%; right: -1%; width: 91%; }
  .alice-art-coordinate { top: 7%; right: 2%; font-size: 7px; }
  .alice-art-orbit-one { top: 15%; right: 9%; width: 72%; }
  .alice-art-orbit-two { top: 20%; right: 0; width: 88%; }
  .alice-course-backdrop { right: -11%; bottom: 0; width: 125%; height: 24%; }
  .alice-figure { right: 0; bottom: 0; width: 100%; height: auto; max-height: 100%; max-width: 100%; }
  .alice-wordmark { font-size: clamp(102px, 26vw, 150px); }
  .alice-art-caption { right: 0; bottom: 1%; font-size: 6px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .alice-chat-live i { animation: none; }
  .alice-feature-panel.is-entering, .alice-feature-panel.is-entering * { animation: none !important; }
  .alice-learning .alice-wordmark[data-reveal] { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .alice-reading-shell[data-demo-phase] *, .alice-reading-shell[data-demo-phase] *::before, .alice-reading-shell[data-demo-phase] *::after { animation: none !important; transition: none !important; }
  .alice-reading-shell[data-demo-phase] .alice-reading-sentence { background-size: 100% 100%; }
  .alice-reading-shell[data-demo-phase] .alice-demo-cursor { display: none; }
  .alice-reading-shell[data-demo-phase="notebook-complete"] .alice-quote-action { display: inline-flex; opacity: 1; transform: none; }
  .alice-reading-shell[data-demo-phase="notebook-complete"] .alice-notebook-view, .alice-reading-shell[data-demo-phase="notebook-complete"] .alice-notebook-item { opacity: 1; transform: none; }
  .alice-reading-shell[data-demo-phase="notebook-complete"] .alice-notebook-item { display: block; }
  body.assistant-reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .alice-dialogue.is-visible .alice-chat-window, .alice-art-panel.is-visible .alice-figure { animation: none; }
}

/* Homepage Teacher Xiaoshan console: use the flat study from the style comparison page. */
.alice-chat-window.alice-feature-console {
  display: grid;
  grid-template-columns: 52.8px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 610px);
  border: 0;
  border-top: 0;
  background: #fff;
  box-shadow: none;
  clip-path: none;
  transition: none;
}
.alice-chat-window.alice-feature-console:hover { border-color: transparent; box-shadow: none; }
.alice-feature-console .alice-chat-header { grid-column: 1 / -1; grid-row: 1; min-height: 54px; padding: 9px 14px; border-bottom: 1px solid #eeeeea; background: #fff; }
.alice-feature-console .alice-chat-identity { gap: 0; }
.alice-feature-console .alice-chat-identity strong { color: #202624; font-size: 13px; }
.alice-feature-console .alice-chat-identity small { color: #858b87; font-family: inherit; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.alice-feature-console .alice-chat-live { color: #7a827e; font-size: 8px; letter-spacing: .06em; }
.alice-feature-console .alice-chat-live i { background: #6ca58a; box-shadow: 0 0 0 3px rgba(108,165,138,.1); }
.alice-feature-console .alice-feature-tabs { grid-column: 1; grid-row: 2 / 4; display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 0; border: 0; border-right: 1px solid #eeeeea; background: #f7f7f4; }
.alice-feature-console .alice-feature-tab { display: flex; min-height: 0; flex: 1 1 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 10px 12px; border: 0; background: transparent; color: #737a76; font-size: 9px; font-weight: 650; white-space: normal; text-align: left; }
.alice-feature-console .alice-feature-tab::after { top: 12px; right: auto; bottom: 12px; left: 0; width: 2px; height: auto; background: #d6c600; transform: scaleY(0); transform-origin: center top; }
.alice-feature-console .alice-feature-tab > span { color: #969c98; font-size: 7px; }
.alice-feature-console .alice-feature-tab:hover { background: #fff; color: #171b19; }
.alice-feature-console .alice-feature-tab.is-active { background: #fffce0; color: #171b19; }
.alice-feature-console .alice-feature-tab.is-active > span { color: #8c8100; }
.alice-feature-console .alice-feature-tab.is-active::after { transform: scaleY(1); }
.alice-feature-console .alice-feature-stage { grid-column: 2; grid-row: 2; min-width: 0; min-height: 246px; padding: 16px 16px 12px; background: #fff; }
.alice-feature-console .alice-feature-panel[hidden] { inset: 16px 16px 12px; }
.alice-feature-console .alice-feature-controls { grid-column: 2; grid-row: 3; min-height: 46px; gap: 9px; padding: 0 12px; border: 0; background: #fff; }
.alice-feature-console .alice-chat-window, .alice-feature-console .alice-feature-stage { color: #252b28; }
.alice-feature-console .alice-reading-workspace { border: 0; background: #fff; clip-path: none; }
.alice-feature-console .alice-lesson-content { display: flex; align-items: center; border-right: 0; }
.alice-feature-console .alice-reading-line { margin: 0; }
.alice-feature-console .alice-notebook-view { border-left: 0; background: #f5f5f1; }
.alice-feature-console .alice-notebook-heading { align-items: baseline; gap: 7px; padding: 2px 0 9px; border: 0; background: transparent; }
.alice-feature-console .alice-notebook-heading > span { color: #909692; }
.alice-feature-console .alice-notebook-heading > b { color: #262b29; }
.alice-feature-console .alice-notebook-heading > small { color: #929893; }
.alice-feature-console .alice-notebook-item { min-height: 72px; padding: 8px 0 8px 9px; border: 0; border-left: 2px solid #ded000; background: transparent; box-shadow: none; }
.alice-feature-console .alice-quote-action { gap: 6px; padding: 5px 9px 5px 6px; border: 0; border-radius: 999px; background: var(--rectangle-black); box-shadow: none; clip-path: none; color: #fff; font: 700 8px/1 var(--sans); }
.alice-feature-console .alice-quote-action img { display: block; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; object-fit: cover; object-position: 40% 26%; }
.alice-feature-console .alice-quote-action b { color: #fff000; }
.alice-feature-console .alice-reading-shell[data-demo-phase="quote-hover"] .alice-quote-action { background: var(--rectangle-black); box-shadow: none; }
.alice-feature-console .alice-notebook-count b { border: 0; background: #f3f3ef; color: #343936; }
.alice-feature-console .alice-feature-next { border: 0; background: #f2f2ee; box-shadow: none; }
.alice-feature-console .alice-feature-next:hover { background: #fff000; box-shadow: none; transform: none; }
.alice-feature-console .alice-feature-next:active { transform: scale(.96); }
.alice-feature-console .alice-feature-controls:focus-visible { outline: none; }

@media (max-width: 860px) {
  .alice-chat-window.alice-feature-console { width: 100%; grid-template-columns: 45.6px minmax(0, 1fr); }
  .alice-feature-console .alice-feature-tab { padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 600px) {
  .alice-chat-window.alice-feature-console { grid-template-columns: 40.8px minmax(0, 1fr); }
  .alice-feature-console .alice-chat-header { min-height: 56px; padding: 9px 11px; }
  .alice-feature-console .alice-feature-tabs { gap: 2px; padding: 7px 0; }
  .alice-feature-console .alice-feature-tab { gap: 4px; padding: 8px 7px; font-size: 8px; }
  .alice-feature-console .alice-feature-stage { min-height: 0; padding: 13px 8px; }
  .alice-feature-console .alice-feature-panel[hidden] { inset: 13px 8px; }
  .alice-feature-console .alice-feature-controls { min-height: 40px; gap: 5px; padding: 0 6px; }
}

/* Keep Teacher Xiaoshan's feature console fixed while the excerpt notebook opens. */
.alice-chat-window.alice-feature-console {
  box-sizing: border-box;
  height: 365px;
  grid-template-rows: 54px minmax(0, 1fr) 46px;
}
.alice-feature-console .alice-chat-header,
.alice-feature-console .alice-feature-tabs,
.alice-feature-console .alice-feature-stage,
.alice-feature-console .alice-feature-controls { box-sizing: border-box; }
.alice-feature-console .alice-chat-header { height: 100%; min-height: 0; }
.alice-feature-console .alice-feature-tabs {
  border-right: 0;
  background: #fff;
}
.alice-feature-console .alice-feature-tab {
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  color: #7b817d;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .12em;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.alice-feature-console .alice-feature-tab::after { display: none; }
.alice-feature-console .alice-feature-tab:hover { background: #fff8a6; }
.alice-feature-console .alice-feature-tab.is-active,
.alice-feature-console .alice-feature-tab.is-active:hover { background: #fff000; color: #111; }
.alice-feature-console .alice-feature-stage {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 16px;
}
.alice-feature-console .alice-feature-stage::before,
.alice-feature-console .alice-feature-stage::after {
  position: absolute;
  z-index: 20;
  inset: 0;
  content: '';
  pointer-events: none;
  transform: translateX(105%);
}
.alice-feature-console .alice-feature-stage::before { background: #111; }
.alice-feature-console .alice-feature-stage::after { z-index: 21; background: #fff000; }
.alice-feature-console .alice-feature-stage.is-wiping::before {
  animation: alice-feature-black-wipe 1.08s both cubic-bezier(.72,0,.28,1);
}
.alice-feature-console .alice-feature-stage.is-wiping::after {
  animation: alice-feature-yellow-wipe .76s .55s both cubic-bezier(.72,0,.28,1);
}
.alice-feature-console .alice-feature-panel { height: 100%; min-height: 0; }
.alice-feature-console .alice-feature-panel[hidden] { inset: 16px; height: auto; }
.alice-feature-console .alice-reading-shell {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 7px;
}
.alice-feature-console .alice-reading-stamp { min-height: 11px; flex: 0 0 auto; }
.alice-feature-console .alice-reading-stamp-space { width: 100%; min-height: 9px; flex: 0 0 9px; visibility: hidden; }
.alice-feature-console .alice-reading-workspace {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
}
.alice-feature-console .alice-reading-shell:is([data-demo-phase="notebook-open"], [data-demo-phase="notebook-complete"]) .alice-reading-workspace { min-height: 0; }
.alice-feature-console .alice-lesson-content { height: 100%; min-height: 0; }
.alice-feature-console .alice-reading-shell:is([data-demo-phase="notebook-open"], [data-demo-phase="notebook-complete"]) .alice-lesson-content { min-height: 0; }
.alice-feature-console .alice-reading-feedback { min-height: 18px; flex: 0 0 18px; }
.alice-feature-console .alice-feature-controls { height: 100%; min-height: 0; }
.alice-feature-console .alice-chat-thread { height: 100%; min-height: 0; }
.alice-feature-console .alice-notebook-items { padding-top: 0; }
.alice-feature-console .alice-notebook-item > span i,
.alice-feature-console .alice-notebook-heading,
.alice-feature-console .alice-notebook-footer { display: none; }

@keyframes alice-feature-black-wipe {
  0% { transform: translateX(105%); }
  46.6% { transform: translateX(0); }
  88.6% { transform: translateX(0); }
  100% { transform: translateX(-105%); }
}
@keyframes alice-feature-yellow-wipe {
  0% { transform: translateX(105%); }
  50% { transform: translateX(0); }
  70% { transform: translateX(0); }
  100% { transform: translateX(-105%); }
}

@media (max-width: 600px) {
  .alice-chat-window.alice-feature-console { height: 365px; grid-template-rows: 56px minmax(0, 1fr) 40px; }
  .alice-feature-console .alice-chat-header { height: 100%; min-height: 0; }
  .alice-feature-console .alice-feature-tabs { padding: 7px 0; }
  .alice-feature-console .alice-feature-tab { padding: 8px 5px; font-size: 9px; }
  .alice-feature-console .alice-feature-stage { padding: 13px 8px; }
  .alice-feature-console .alice-feature-panel[hidden] { inset: 13px 8px; }
  .alice-feature-console .alice-feature-controls { height: 100%; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .alice-feature-console .alice-feature-stage.is-wiping::before,
  .alice-feature-console .alice-feature-stage.is-wiping::after { animation-duration: .01ms; animation-delay: 0ms; }
}

/* Gameplay title and flat learning-note treatment. */
.alice-feature-intro { margin: 0 0 14px; color: #111a20; }
.alice-feature-intro > p { margin: 0 0 9px; color: #788388; font: 650 8px/1 var(--condensed); letter-spacing: .16em; }
.alice-feature-intro > div { display: flex; align-items: center; gap: 9px; }
.alice-feature-intro > div > span { display: grid; width: 27px; height: 25px; place-items: center; background: #dededb; color: #111; font-size: 22px; line-height: 1; }
.alice-feature-intro > div > b { color: #171b1d; font: 500 clamp(18px, 2vw, 25px)/1 var(--sans); letter-spacing: -.055em; }
.alice-feature-intro h3 { margin: 4px 0 0; color: #111; font-size: clamp(29px, 3.1vw, 39px); font-weight: 780; line-height: 1.1; letter-spacing: -.07em; }

.alice-chat-window.alice-feature-console { grid-template-rows: minmax(0, 1fr) 48px; }
.alice-feature-console { position: relative; overflow: visible; }
.alice-feature-console .alice-feature-rail { grid-column: 1; grid-row: 1 / 3; min-height: 0; background: var(--alice-accent); }
.alice-chat-window.alice-feature-console::before,
.alice-chat-window.alice-feature-console::after {
  position: absolute;
  z-index: 31;
  width: 36px;
  height: 36px;
  content: '';
  pointer-events: none;
}
.alice-chat-window.alice-feature-console::before { top: -5px; right: -5px; border-top: 5px solid #303332; border-right: 5px solid #303332; }
.alice-chat-window.alice-feature-console::after { bottom: -5px; left: -5px; border-bottom: 5px solid #303332; border-left: 5px solid #303332; }
.alice-feature-console .alice-feature-tabs { gap: 0; padding: 0; }
.alice-feature-console .alice-chat-header { display: none; }
.alice-feature-console .alice-feature-tabs { grid-row: 1; }
.alice-feature-console .alice-feature-stage { grid-row: 1; }
.alice-feature-console .alice-feature-controls {
  position: relative;
  z-index: 30;
  grid-column: 2;
  grid-row: 2;
  display: flex;
  width: min(58%, 230px);
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  justify-self: end;
  align-self: center;
  margin: 0 12px 0 0;
  padding: 3px;
  transform: translateY(50%);
  border: 2px solid #303134;
  border-radius: 999px;
  background-color: var(--rectangle-black);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.065) 0 5px, transparent 5px 10px);
  pointer-events: auto;
}
.alice-feature-console .alice-lesson-content { align-items: flex-start; justify-content: center; flex-direction: column; gap: 38px; }
.alice-feature-console .alice-reading-stamp { width: 100%; }
.alice-feature-console .alice-reading-line { width: 100%; max-width: 360px; }
.alice-feature-console .alice-notebook-view { border-left: 0 solid #e5e5ea; background: #f5f5f7; }
.alice-feature-console .alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-notebook-view { border-left-width: 1px; }
.alice-feature-console .alice-notebook-items { padding-top: 0; }
.alice-feature-console .alice-notebook-item { min-height: 0; padding: 12px; border: 1px solid #e5e5ea; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(28,28,30,.045); }
.alice-feature-console .alice-note-meta { display: flex; align-items: center; gap: 8px; }
.alice-feature-console .alice-note-meta > b { padding: 5px 8px; border-radius: 999px; background: #f7f3df; color: #75631a; font-size: 8px; font-weight: 650; line-height: 1; }
.alice-feature-console .alice-note-meta > time { color: #8e8e93; font: 500 7px/1 var(--sans); letter-spacing: 0; }
.alice-feature-console .alice-notebook-item p { margin: 10px 0 0; color: #1d1d1f; font: 500 10px/1.65 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', sans-serif; }
.alice-feature-console .alice-feature-next {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 2px solid #f7f7f9;
  outline: 1px solid #4a4b4e;
  outline-offset: 1px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  pointer-events: auto;
  transform: none;
}
.alice-feature-console .alice-feature-next svg { width: 15px; height: 15px; stroke: #303532; stroke-width: 2.2; }
.alice-feature-console .alice-feature-next:hover { background: var(--alice-accent-soft); box-shadow: none; transform: scale(1.04); }
.alice-feature-console .alice-feature-next:active { transform: scale(.96); }
.alice-feature-console [data-feature-prev]:active,
.alice-feature-console [data-feature-next]:active { box-shadow: none; transform: scale(.96); }
.alice-feature-status { display: flex; min-width: 0; flex: 1; align-items: baseline; justify-content: center; gap: 7px; padding: 0 4px; white-space: nowrap; }
.alice-feature-count { color: var(--purple-unified); font: 700 9px/1 var(--condensed); letter-spacing: .06em; }
.alice-feature-label { overflow: hidden; color: #fff; font-size: 13px; font-weight: 750; line-height: 1; text-overflow: ellipsis; }
.alice-feature-console + .alice-demo-note { margin-top: 32px; }

@media (max-width: 600px) {
  .alice-feature-intro { margin-bottom: 11px; }
  .alice-feature-intro > p { margin-bottom: 7px; font-size: 7px; }
  .alice-feature-intro > div > span { width: 24px; height: 23px; font-size: 20px; }
  .alice-feature-intro > div > b { font-size: 19px; }
  .alice-feature-intro h3 { margin-top: 3px; font-size: 31px; }
  .alice-chat-window.alice-feature-console { height: 365px; grid-template-rows: minmax(0, 1fr) 44px; }
  .alice-feature-console + .alice-demo-note { margin-top: 28px; }
  .alice-feature-console .alice-feature-controls { width: min(70%, 220px); height: 38px; min-height: 38px; margin-right: 9px; }
  .alice-feature-console .alice-feature-next { width: 29px; height: 29px; flex-basis: 29px; }
  .alice-feature-console .alice-feature-next svg { width: 13px; height: 13px; }
  .alice-feature-count { font-size: 8px; }
  .alice-feature-label { font-size: 12px; }
  .alice-feature-console .alice-reading-shell:is([data-demo-phase="notebook-open"],[data-demo-phase="notebook-complete"]) .alice-notebook-view { width: 100%; max-height: 175px; padding: 10px; border-left: 0; border-top: 1px solid #e5e5ea; }
  .alice-feature-console .alice-notebook-item { padding: 10px; }
  .alice-feature-console .alice-notebook-item p { margin-top: 6px; font-size: 9px; }
}

/* Guided practice is staged as a compact Teacher Xiaoshan conversation. */
.alice-practice-demo { --alice-practice-copy-size: 11px; --alice-practice-copy-leading: 1.8; position: relative; display: flex; width: 100%; height: 100%; min-height: 0; flex-direction: column; gap: 7px; overflow: hidden; color: #2d3031; }
.alice-practice-stamp { min-height: 11px; flex: 0 0 auto; }
.alice-practice-play-area { position: relative; display: flex; min-height: 0; flex: 1 1 auto; overflow: hidden; flex-direction: column; padding-top: 10px; scrollbar-width: none; scroll-behavior: auto; overscroll-behavior: contain; }
.alice-practice-play-area::-webkit-scrollbar { display: none; }
.alice-practice-flow { position: absolute; inset: 0; display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 15px; padding-bottom: 12px; transition: transform .92s cubic-bezier(.2,.75,.25,1), gap .42s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.alice-practice-flow[hidden] { display: none !important; }
.alice-practice-demo[data-practice-phase="handoff"] .alice-practice-flow,
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-flow { position: relative; inset: auto; min-height: 0; flex: 0 0 auto; justify-content: flex-start; transform: translateY(var(--practice-flow-offset,0)); }
.alice-practice-demo.is-resetting .alice-practice-flow,
.alice-practice-demo.is-resetting .alice-practice-answer { animation: none !important; transition: none !important; }
.alice-practice-prompt { display: flex; min-width: 0; align-items: flex-start; gap: 7px; }
.alice-practice-avatar { display: block; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid rgba(31,36,36,.08); border-radius: 50%; background: #f4f3ee; object-fit: cover; object-position: 40% 26%; }
.alice-practice-bubble { min-width: 0; border-radius: 11px; background: #f3f3f3; }
.alice-practice-question { flex: 1; padding: 0; border-radius: 0; background: transparent; }
.alice-practice-question > p { margin: 0; color: #292d2f; font-size: var(--alice-practice-copy-size); font-weight: 560; line-height: var(--alice-practice-copy-leading); }
.alice-practice-options { display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; gap: 9px; margin-left: 36px; }
.alice-practice-option { display: flex; min-height: 42px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: #f3f3f3; color: #34383a; cursor: default; font-size: var(--alice-practice-copy-size); font-weight: 620; line-height: var(--alice-practice-copy-leading); text-align: left; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.alice-feature-console .alice-practice-option { font: 620 var(--alice-practice-copy-size)/var(--alice-practice-copy-leading) var(--sans); }
.alice-practice-option > span { flex: 0 0 auto; color: #a4a7a7; font-size: 10px; }
.alice-practice-option.is-selected { border-color: rgba(203,185,0,.62); background: #fff8c7; color: #242323; }
.alice-practice-option:focus-visible { outline: 2px solid #c1ad00; outline-offset: 2px; }
.alice-practice-demo[data-practice-phase="intro"] .alice-practice-options { visibility: hidden; pointer-events: none; }
.alice-practice-options[hidden], .alice-practice-answer[hidden], .alice-practice-typing[hidden], .alice-practice-response[hidden], .alice-practice-insight[hidden] { display: none !important; }
.alice-practice-demo[data-practice-phase="options"] .alice-practice-option { animation: alice-practice-option-in .54s both cubic-bezier(.2,.7,.2,1); }
.alice-practice-demo[data-practice-phase="options"] .alice-practice-option:nth-child(2) { animation-delay: .2s; }
.alice-practice-demo[data-practice-phase="options"] .alice-practice-option:nth-child(3) { animation-delay: .4s; }
.alice-practice-answer { position: relative; display: flex; width: 100%; min-height: 0; flex: 0 0 auto; flex-direction: column; gap: 9px; overflow: visible; padding: 2px 4px 12px 0; opacity: 0; transform: translateY(14px); }
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-answer { animation: alice-practice-thread-in .48s both cubic-bezier(.2,.7,.2,1); }
.alice-practice-selected { max-width: 89%; align-self: flex-end; padding: 8px 12px; border-radius: 11px 11px 2px 11px; background: var(--rectangle-black); color: #fff; font-size: var(--alice-practice-copy-size); line-height: var(--alice-practice-copy-leading); }
.alice-practice-typing { display: flex; min-width: 0; align-items: flex-start; gap: 7px; }
.alice-practice-typing .alice-practice-avatar,
.alice-practice-response .alice-practice-avatar { width: 32px; height: 32px; flex-basis: 32px; }
.alice-practice-typing-bubble { display: inline-flex; min-height: 32px; align-items: center; gap: 5px; padding: 0 12px; border-radius: 10px; background: #f3f3f3; }
.alice-practice-typing-bubble i { width: 4px; height: 4px; border-radius: 50%; background: #8f9698; animation: alice-practice-thinking .9s infinite ease-in-out; }
.alice-practice-typing-bubble i:nth-child(2) { animation-delay: .14s; }
.alice-practice-typing-bubble i:nth-child(3) { animation-delay: .28s; }
.alice-practice-response { display: flex; min-width: 0; align-items: flex-start; gap: 7px; }
.alice-practice-answer-bubble { flex: 1; padding: 8px 12px; }
.alice-practice-answer-bubble > p { margin: 0; color: #343839; font-size: var(--alice-practice-copy-size); line-height: var(--alice-practice-copy-leading); }
.alice-practice-answer-bubble > p strong { font-weight: 760; }
.alice-practice-insight { padding: 8px 12px; border-radius: 10px; font-size: var(--alice-practice-copy-size); line-height: var(--alice-practice-copy-leading); }
.alice-practice-warning { background: #fff4f4; color: #363234; }
.alice-practice-warning > strong { color: #c42c25; }
.alice-practice-review { background: #f3f3f3; color: #373b3d; }
.alice-practice-review > strong { display: block; margin-bottom: 0; color: #262b2d; font-size: var(--alice-practice-copy-size); line-height: var(--alice-practice-copy-leading); }
.alice-practice-cursor { position: absolute; z-index: 8; top: 0; left: 0; display: block; width: 23px; height: 29px; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 7px rgba(32,107,201,.42)); transform: translate3d(var(--practice-cursor-x,0),var(--practice-cursor-y,0),0); transform-origin: 2px 2px; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.alice-practice-cursor svg { display: block; width: 100%; height: 100%; }
.alice-practice-cursor.is-visible { opacity: 1; }
.alice-practice-cursor.is-clicking { transform: translate3d(var(--practice-cursor-x,0),var(--practice-cursor-y,0),0) scale(.82); }
.alice-practice-demo[data-practice-phase="intro"] .alice-practice-prompt { animation: alice-practice-message-in .52s both cubic-bezier(.2,.7,.2,1); }
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-selected { animation: alice-practice-message-in .46s .06s both cubic-bezier(.2,.7,.2,1); }
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-typing,
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-response,
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-warning,
.alice-practice-demo[data-practice-phase="answer"] .alice-practice-review { animation: alice-practice-message-in .44s .03s both cubic-bezier(.2,.7,.2,1); }

@keyframes alice-practice-message-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes alice-practice-thread-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes alice-practice-thinking {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}
@keyframes alice-practice-option-in {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .alice-practice-demo { --alice-practice-copy-size: 9px; gap: 6px; }
  .alice-practice-avatar { width: 28px; height: 28px; flex-basis: 28px; }
  .alice-practice-question { padding: 0; }
  .alice-practice-flow { gap: 12px; }
  .alice-practice-options { margin-left: 33px; gap: 7px; }
  .alice-practice-option { min-height: 36px; padding: 6px 10px; }
}

/* Follow-up question demo: select a passage, open Teacher Xiaoshan, then type and answer. */
.alice-ask-demo { --alice-ask-font-size: 9px; position: relative; display: flex; width: 100%; height: 100%; min-height: 0; flex-direction: column; gap: 7px; overflow: hidden; color: #2d3031; }
.alice-ask-stamp { min-height: 11px; flex: 0 0 auto; }
.alice-ask-workspace { position: relative; display: flex; min-width: 0; min-height: 0; flex: 1 1 auto; align-items: stretch; gap: 8px; overflow: hidden; }
.alice-ask-lesson { position: relative; display: flex; min-width: 0; flex: 1 1 100%; flex-direction: column; justify-content: center; gap: 12px; overflow: visible; transition: flex-basis .82s cubic-bezier(.2,.72,.25,1); }
.alice-ask-kicker { color: #929b9a; font: 650 7px/1 var(--condensed); letter-spacing: .12em; text-transform: uppercase; }
.alice-ask-source { max-width: 100%; margin: 0; color: #657176; font-size: var(--alice-ask-font-size); line-height: 1.85; }
.alice-ask-highlight { padding: 1px 2px; background: linear-gradient(90deg,rgba(255,240,0,.56),rgba(255,240,0,.3)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 100%; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.alice-ask-demo[data-ask-phase="selecting"] .alice-ask-highlight,
.alice-ask-demo:is([data-ask-phase="action"],[data-ask-phase="opening"],[data-ask-phase="quoting"],[data-ask-phase="typing"],[data-ask-phase="sending"],[data-ask-phase="thinking"],[data-ask-phase="replying"],[data-ask-phase="complete"]) .alice-ask-highlight { background-size: 100% 100%; transition: background-size .82s cubic-bezier(.2,.7,.2,1); }
.alice-ask-action { position: absolute; z-index: 4; top: 0; left: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border: 0; border-radius: 999px; background: var(--rectangle-black); color: #fff; cursor: default; font: 700 8px/1 var(--sans); opacity: 0; pointer-events: none; transform: translateY(7px) scale(.96); transition: opacity .24s ease, transform .3s cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
.alice-ask-action img { display: block; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; object-fit: cover; object-position: 40% 26%; }
.alice-ask-action b { margin-left: 2px; color: #fff000; font-size: 10px; }
.alice-ask-demo[data-ask-phase="action"] .alice-ask-action[aria-hidden="false"] { opacity: 1; pointer-events: auto; transform: none; }
.alice-ask-sidebar { display: flex; min-width: 0; width: 0; flex: 0 0 0; overflow: hidden; box-sizing: border-box; flex-direction: column; gap: 6px; padding: 0; border-left: 0 solid #e4e5e1; background: #fff; opacity: 0; transform: translateX(12px); transition: flex-basis .82s cubic-bezier(.2,.72,.25,1), width .82s cubic-bezier(.2,.72,.25,1), padding .45s ease, border-width .45s ease, opacity .45s ease, transform .68s cubic-bezier(.2,.7,.2,1); }
.alice-ask-demo:is([data-ask-phase="opening"],[data-ask-phase="quoting"],[data-ask-phase="typing"],[data-ask-phase="sending"],[data-ask-phase="thinking"],[data-ask-phase="replying"],[data-ask-phase="complete"]) .alice-ask-lesson { flex: 0 0 calc(35% - 8px); }
.alice-ask-demo:is([data-ask-phase="opening"],[data-ask-phase="quoting"],[data-ask-phase="typing"],[data-ask-phase="sending"],[data-ask-phase="thinking"],[data-ask-phase="replying"],[data-ask-phase="complete"]) .alice-ask-sidebar { width: 65%; flex-basis: 65%; padding: 0 0 0 8px; border-left-width: 1px; opacity: 1; transform: translateX(0); }
.alice-ask-sidebar-header { display: flex; min-width: 0; min-height: 29px; flex: 0 0 auto; align-items: center; gap: 6px; }
.alice-ask-avatar { display: block; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid rgba(31,36,36,.08); border-radius: 50%; background: #f4f3ee; object-fit: cover; object-position: 40% 26%; }
.alice-ask-sidebar-header > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.alice-ask-sidebar-header > div strong { color: #292d2e; font: 750 9px/1 var(--sans); }
.alice-ask-sidebar-header > div small { overflow: hidden; color: #92999a; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.alice-ask-sidebar-header > span { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 3px; color: #818989; font-size: 6px; }
.alice-ask-sidebar-header > span i { width: 5px; height: 5px; border-radius: 50%; background: #20bd66; }
.alice-ask-messages { display: flex; min-width: 0; min-height: 0; flex: 1 1 auto; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; }
.alice-ask-context { flex: 0 0 auto; padding: 6px 8px; border-radius: 8px; background: #f2f3f2; animation: alice-ask-message-in .38s both cubic-bezier(.2,.7,.2,1); }
.alice-ask-context > small { display: block; margin-bottom: 3px; color: #a0872e; font: 650 6px/1 var(--condensed); letter-spacing: .1em; }
.alice-ask-context > p { display: -webkit-box; overflow: hidden; margin: 0; color: #72797a; font-size: 7px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.alice-ask-user { max-width: 90%; align-self: flex-end; padding: 6px 8px; border-radius: 9px 9px 2px 9px; background: var(--rectangle-black); color: #fff; animation: alice-ask-message-in .38s both cubic-bezier(.2,.7,.2,1); }
.alice-ask-user > p { margin: 0; font-size: var(--alice-ask-font-size); line-height: 1.55; }
.alice-ask-typing,.alice-ask-reply { display: flex; min-width: 0; align-items: flex-start; gap: 6px; animation: alice-ask-message-in .38s both cubic-bezier(.2,.7,.2,1); }
.alice-ask-typing .alice-ask-avatar,.alice-ask-reply .alice-ask-avatar { width: 22px; height: 22px; flex-basis: 22px; }
.alice-ask-typing > span { display: inline-flex; min-height: 22px; align-items: center; gap: 4px; padding: 0 8px; border-radius: 8px; background: #f2f3f2; }
.alice-ask-typing > span i { width: 4px; height: 4px; border-radius: 50%; background: #90999a; animation: alice-practice-thinking .9s infinite ease-in-out; }
.alice-ask-typing > span i:nth-child(2) { animation-delay: .14s; }
.alice-ask-typing > span i:nth-child(3) { animation-delay: .28s; }
.alice-ask-reply > div { min-width: 0; flex: 1; padding: 5px 7px; border-radius: 8px; background: #f2f3f2; }
.alice-ask-reply > div > small { display: block; margin-bottom: 3px; color: #969d9d; font-size: 6px; }
.alice-ask-reply > div > p { margin: 0; color: #414748; font-size: var(--alice-ask-font-size); line-height: 1.55; }
.alice-ask-reply > div > p strong { color: #2c3031; font-weight: 760; }
.alice-ask-composer { display: flex; flex: 0 0 auto; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid #d9dcda; border-radius: 10px; background: #fff; }
.alice-ask-reference { display: flex; min-width: 0; align-items: center; gap: 4px; overflow: hidden; padding: 4px 6px; border-radius: 6px; background: #f2f3f2; color: #8c9292; white-space: nowrap; }
.alice-ask-reference > span { flex: 0 0 auto; color: #747d7e; font-size: 9px; }
.alice-ask-reference > b { flex: 0 0 auto; color: #737a7a; font-size: 6px; font-weight: 700; }
.alice-ask-reference > small { overflow: hidden; color: #a4aaaa; font-size: 6px; text-overflow: ellipsis; }
.alice-ask-input-row { display: flex; min-width: 0; min-height: 27px; align-items: center; gap: 5px; }
.alice-ask-input { display: flex; min-width: 0; flex: 1; align-items: center; color: #34393a; font-size: var(--alice-ask-font-size); line-height: 1.5; }
.alice-ask-input-caret { display: inline-block; width: 1px; height: 12px; flex: 0 0 1px; margin-left: 1px; background: #262a2b; animation: alice-ask-caret .82s steps(2,end) infinite; }
.alice-ask-demo:not([data-ask-phase="typing"]) .alice-ask-input-caret { opacity: 0; }
.alice-ask-send { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #242526; color: #fff; cursor: default; font-size: 13px; line-height: 1; }
.alice-ask-disclaimer { color: #aeb3b3; font-size: 5px; line-height: 1.2; text-align: center; }
.alice-ask-cursor { position: absolute; z-index: 8; top: 0; left: 0; display: block; width: 23px; height: 29px; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 7px rgba(32,107,201,.42)); transform: translate3d(var(--ask-cursor-x,0),var(--ask-cursor-y,0),0); transform-origin: 2px 2px; transition: transform .74s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
.alice-ask-cursor svg { display: block; width: 100%; height: 100%; }
.alice-ask-cursor.is-visible { opacity: 1; }
.alice-ask-cursor.is-clicking { transform: translate3d(var(--ask-cursor-x,0),var(--ask-cursor-y,0),0) scale(.82); }
.alice-ask-sidebar { visibility: hidden; }
.alice-feature-panel.is-active:not([hidden]) .alice-ask-sidebar[aria-hidden="false"] { visibility: visible; }
.alice-ask-context[hidden],.alice-ask-user[hidden],.alice-ask-typing[hidden],.alice-ask-reply[hidden] { display: none !important; }
@keyframes alice-ask-message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes alice-ask-caret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

@media (max-width: 600px) {
  .alice-ask-demo { --alice-ask-font-size: 8px; gap: 6px; }
  .alice-ask-workspace { gap: 6px; }
  .alice-ask-demo:is([data-ask-phase="opening"],[data-ask-phase="quoting"],[data-ask-phase="typing"],[data-ask-phase="sending"],[data-ask-phase="thinking"],[data-ask-phase="replying"],[data-ask-phase="complete"]) .alice-ask-lesson { flex-basis: calc(30% - 6px); }
  .alice-ask-demo:is([data-ask-phase="opening"],[data-ask-phase="quoting"],[data-ask-phase="typing"],[data-ask-phase="sending"],[data-ask-phase="thinking"],[data-ask-phase="replying"],[data-ask-phase="complete"]) .alice-ask-sidebar { width: 70%; flex-basis: 70%; padding-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .alice-practice-flow { transition: none; }
  .alice-practice-demo[data-practice-phase="intro"] .alice-practice-prompt,
  .alice-practice-demo[data-practice-phase="options"] .alice-practice-option,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-selected,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-answer,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-typing,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-response,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-warning,
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-review { animation: none; }
  .alice-practice-demo[data-practice-phase="handoff"] .alice-practice-flow { transition: none; }
  .alice-practice-demo[data-practice-phase="answer"] .alice-practice-answer { opacity: 1; transform: none; }
  .alice-practice-cursor { display: none; }
  .alice-ask-demo *,
  .alice-ask-demo *::before,
  .alice-ask-demo *::after { animation: none !important; transition: none !important; }
  .alice-ask-cursor { display: none; }
  .alice-ask-highlight { background-size: 100% 100%; }
}

/* Second-screen accent palette: violet replaces the original yellow. */
.alice-learning {
  --signal: var(--purple-unified);
  --alice-accent: var(--purple-unified);
  --alice-accent-strong: var(--purple-unified);
  --alice-accent-soft: rgba(var(--purple-unified-rgb), .12);
  --alice-accent-active: var(--purple-unified);
  --alice-action-copy-size: 8px;
}
.alice-learning .alice-chat-window.alice-feature-console { --alice-panel-yellow: var(--alice-accent-active); }
.alice-learning .alice-section-kicker span { background: var(--alice-accent); }
.alice-learning .alice-reading-meta > span,
.alice-learning .alice-notebook-count b,
.alice-learning .alice-lesson-section,
.alice-learning .alice-notebook-item > span b,
.alice-learning .alice-thread-stamp > span:first-child,
.alice-learning .alice-message-body > small i,
.alice-learning .alice-message-body > p strong,
.alice-learning .alice-ask-context > small { color: var(--alice-accent); }
.alice-learning .alice-reading-meta > i,
.alice-learning .alice-lesson-footer > i b,
.alice-learning .alice-thread-stamp > i,
.alice-learning .alice-answer-source i,
.alice-learning .alice-demo-note::before { background-color: var(--alice-accent); }
.alice-learning .alice-message-user > span { border-right-color: var(--alice-accent); }
.alice-learning .alice-message-body { border-left-color: var(--alice-accent); }
.alice-learning .alice-section-kicker::after,
.alice-learning .alice-reading-feedback::before { background: rgba(var(--purple-unified-rgb), .58); }
.alice-learning .alice-reading-sentence,
.alice-learning .alice-ask-highlight {
  background-image: linear-gradient(90deg, rgba(var(--purple-unified-rgb), .25), rgba(var(--purple-unified-rgb), .12));
}
.alice-learning .alice-message-avatar { color: var(--purple-unified); }
.alice-learning .alice-art-orbit-two { border-color: rgba(var(--purple-unified-rgb), .35); }
.alice-learning .alice-art-orbit::after { border-color: var(--purple-unified); background: var(--purple-unified); }
.alice-learning .alice-art-caption i { background: var(--alice-accent); }
.alice-learning .alice-feature-console .alice-feature-tab::after { background: var(--alice-accent); }
.alice-learning .alice-feature-console .alice-feature-tab:hover { background: rgba(var(--purple-unified-rgb), .10); }
.alice-learning .alice-feature-console .alice-feature-tab.is-active,
.alice-learning .alice-feature-console .alice-feature-tab.is-active:hover { background: var(--alice-panel-yellow); color: #17131f; }
.alice-learning .alice-feature-console .alice-feature-tab.is-active > span { color: var(--purple-unified); }
.alice-learning .alice-feature-console .alice-feature-stage::after { background: var(--alice-accent-strong); }
.alice-learning .alice-feature-console .alice-feature-next:hover,
.alice-learning .alice-feature-console [data-feature-prev]:hover,
.alice-learning .alice-feature-console [data-feature-next]:hover { background: var(--alice-accent-soft); }
.alice-learning .alice-feature-console .alice-note-meta > b { background: var(--alice-accent-soft); color: var(--purple-unified); }
.alice-learning .alice-feature-console .alice-quote-action b,
.alice-learning .alice-ask-action b { color: var(--purple-unified); }
.alice-learning .alice-practice-option.is-selected { border-color: rgba(var(--purple-unified-rgb), .4); background: var(--alice-accent-soft); }
.alice-learning .alice-practice-option:focus-visible { outline-color: var(--alice-accent); }
.alice-learning .alice-quote-action,
.alice-learning .alice-ask-action { font-size: var(--alice-action-copy-size); }
.alice-learning .alice-feature-intro h3 { font-size: clamp(25px, 2.5vw, 34px); }
