/* A white studio links the original companion portraits into one opening scene. */
header {
  background:rgba(252,251,253,.93); color:#211e26;
  border-bottom:1px solid rgba(38,27,55,.11);
}
.topnav a,.menubox summary {color:#4d4654}
.topnav a:hover,.menubox summary:hover {color:#18121d}
.navget {background:#242027;color:white}.navget:hover {background:#4a414e}
.menubox nav {background:#fff;color:#2b2630;border:1px solid #e4dfe8;box-shadow:0 18px 38px #30223d27}
.menubox nav a:hover,.motion-preference:hover {background:#f2eff5}
.motion-preference {min-height:38px;border-top:1px solid #e5e0e9;padding:9px 12px;margin-top:4px;color:#5c5261;text-align:left;font-size:13px}
.cast-hero {
  color:#221d25; text-align:center; overflow:hidden; isolation:isolate;position:relative;
  background:linear-gradient(180deg,#fbfafc 0%,#fff 39%,#faf8fc 100%);
  padding:clamp(47px,5.7vw,92px) 0 clamp(42px,4.7vw,75px);
}
.cast-hero:before {
  content:""; pointer-events:none; z-index:-1; position:absolute; inset:27% -8% 0;
  background:radial-gradient(ellipse at 40% 63%,#cebff233 0,transparent 45%),radial-gradient(ellipse at 63% 59%,#ffd3bb47 0,transparent 43%);
}
.cast-intro h1 {font-size:clamp(75px,7.8vw,124px);line-height:1.06;letter-spacing:-.078em;font-weight:600;margin:0}
.cast-intro p {max-width:590px;margin:14px auto 0;font-size:clamp(18px,1.65vw,25px);letter-spacing:-.033em;line-height:1.36;color:#53505a;text-wrap:balance}
.custom-assistant-line {font-weight:600;color:#302733}
.custom-assistant-detail {display:block;margin-top:5px;font-size:.8em;line-height:1.35;letter-spacing:-.015em}
.cast-actions {margin-top:22px;display:flex;justify-content:center;align-items:center;gap:22px}
.cast-download {background:#241f28;color:white;padding-inline:24px}.cast-download:hover {background:#453747}
.cast-watch {display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:550;min-height:42px}
.cast-watch:hover {text-decoration:underline;text-underline-offset:4px}
.cast-watch .icon {height:21px;width:21px;padding:3px;border:1.4px solid currentColor;border-radius:50%}
.cast-gallery {
  margin:clamp(33px,3.8vw,60px) auto 0;padding:0 2%;
  width:min(100%,1420px);display:grid; align-items:center;
  grid-template-columns:.87fr .99fr 1.09fr 1.09fr .99fr .87fr;gap:clamp(8px,1.1vw,18px);
}
.cast-member {min-width:0;position:relative;transform:translateY(var(--rise,0)) rotate(var(--tilt,0deg));transform-origin:50% 80%}
.member-sasha {--rise:3px;--tilt:-5deg}.member-laura {--rise:-5px;--tilt:-3deg}.member-mia {--rise:-8px;--tilt:-1deg}
.member-onegin {--rise:-8px;--tilt:1deg}.member-pushkin {--rise:-5px;--tilt:3deg}.member-lumo {--rise:3px;--tilt:5deg}
.portrait {position:relative;overflow:hidden;aspect-ratio:.98;background:#ded8de;
  border-radius:clamp(14px,1.8vw,29px);box-shadow:0 16px 25px -18px #402a4c6e,0 1px 2px #34263c17}
.portrait:after {content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #29212c14}
.portrait img,.portrait video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.portrait video {opacity:0;transition:opacity .3s}.portrait video.show {opacity:1}
.cast-member figcaption {font-size:clamp(15px,1.32vw,21px);line-height:1.2;letter-spacing:-.035em;font-weight:550;margin-top:12px;transform:rotate(calc(-1 * var(--tilt,0deg)))}
.chapter-nav {color:#514b57;background:#f8f6fa;border-block:1px solid #e6e2ea}.chapter-nav a:hover {color:#6a3590}
.feature,.outro,.cast-intro {--text-ramp:linear-gradient(105deg,#403999 4%,#8445a0 35%,#b33575 64%,#9e4925 99%)}
.work-feature,.road-feature {--text-ramp:linear-gradient(102deg,#b6bdff 0%,#dbb1ff 34%,#ffacce 66%,#ffd09f 98%)}
.answer-highlight {font-weight:600;color:#78417d}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  .cast-intro h1 span,.feature-copy h2 em,.answer-highlight,.outro h2 {
    background-image:var(--text-ramp);background-clip:text;-webkit-background-clip:text;
    color:transparent;-webkit-text-fill-color:transparent;box-decoration-break:clone;-webkit-box-decoration-break:clone;
  }
  .outro h2 {width:fit-content;margin-inline:auto}
}
@media(forced-colors:active) {
  .cast-intro h1 span,.feature-copy h2 em,.answer-highlight,.outro h2 {background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
}
.inspect-scene {position:absolute;right:12px;top:12px;z-index:3;display:grid;place-items:center;
  width:34px;height:34px;border-radius:50%;background:#28242ac9;backdrop-filter:blur(7px);color:white}
.inspect-scene .icon{width:15px;height:15px}
.showcase {position:relative}
@media(hover:hover) {.inspect-scene{opacity:0;transition:opacity .16s}.showcase:hover .inspect-scene,.showcase:focus-within .inspect-scene{opacity:1}}
.drive-talk small {display:block;color:#d0d4d0;margin-top:8px;font-size:14px;line-height:1.35}
.drive-talk mark {background:transparent;color:#aee4b2;text-decoration:underline;text-underline-offset:3px}
.drive-talk .learner-phrase {text-decoration:underline dotted #e2ac90;text-underline-offset:4px}
.road-feature .drive-talk {min-height:124px}
html[data-motion-paused] .showcase *,html[data-motion-paused] .cast-hero * {animation-play-state:paused!important}
@media(max-width:700px) {
  .cast-hero {padding:38px 0 36px}.cast-intro h1 {font-size:clamp(45px,9.6vw,71px);line-height:1.1}
  .cast-intro p {font-size:17px;line-height:1.36;margin-top:12px;max-width:38ch}
  .cast-actions {margin-top:17px;gap:17px}.cast-actions .pill{min-height:39px;padding:0 19px;font-size:14px}.cast-watch{min-height:39px;font-size:14px}
  .cast-gallery {width:min(89%,475px);padding:0;margin-top:27px;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:11px;row-gap:12px}
  .cast-member {transform:none}.cast-member figcaption{transform:none;margin-top:5px;font-size:14px}.portrait{aspect-ratio:1.09;border-radius:15px}
  .member-mia {order:0}.member-onegin{order:1}.member-sasha{order:2}.member-laura{order:3}.member-pushkin{order:4}.member-lumo{order:5}
  .inspect-scene {right:8px;top:8px;width:28px;height:28px}
}
@media(max-width:360px){.cast-hero{padding:28px 0}.cast-intro p{font-size:16px}.cast-gallery{margin-top:20px}.cast-member figcaption{font-size:13px}}
@media(prefers-reduced-motion:reduce){.portrait video{display:none}.elapsed{display:none}}
.tour-motion {margin-top:12px;font-size:13px;color:#5c5261;text-decoration:underline;text-underline-offset:3px}

/* The hero index reads as a single line on large displays and wraps without scrolling. */
.chapter-nav nav {width:min(96%,1450px);display:flex;justify-content:center;flex-wrap:wrap;column-gap:0;row-gap:0;padding:8px 0}
.chapter-nav a {position:relative;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:39px;padding:6px clamp(9px,1vw,18px);font-size:clamp(13px,1.02vw,16px);font-weight:550;color:#46394e}
.chapter-nav a+a:before {content:"";position:absolute;left:0;width:1px;height:13px;background:#d8cfdf}
.lesson-question-label {display:flex;align-items:center;gap:5px;color:#655273}.lesson-question-label .icon {width:15px;height:15px}
.live-question span {display:inline-block}
.wing-stage {background-color:#f7f7f2}
.focus-demo .task-screen>.mind-note {display:flex;align-items:center;gap:7px;margin:5px 0;padding:7px 9px;font-size:14px;font-weight:500;line-height:1.1;letter-spacing:-.025em;border-bottom:1px solid #d4dcd4}
.mind-note span {display:block;width:12px;height:12px;border:1px solid #829387;border-radius:3px}
.focus-demo .task-screen>p:first-of-type {margin:4px 0 10px}
.mail-demo .reply-sheet,.mail-demo .budget-add,.mail-demo .mail-voice-icon {display:none}
.mail-demo[data-at="1"] .reply-sheet,.mail-demo[data-at="2"] .reply-sheet,.mail-demo[data-at="3"] .reply-sheet {display:block}
.mail-demo[data-at="2"] .budget-add,.mail-demo[data-at="3"] .budget-add {display:inline;background:#dceee0}
.mail-demo[data-at]:not([data-at="0"]) .mail-in-icon {display:none}
.mail-demo[data-at]:not([data-at="0"]) .mail-voice-icon {display:block}
.language-glass .phase {min-height:103px}
@media(max-width:850px) {
 .chapter-nav nav {width:min(96%,740px);padding:6px 0}
 .chapter-nav a {font-size:14px;padding:5px 11px}
 .chapter-nav a+a:before {display:none}
}
@media(max-width:560px) {
 .chapter-nav nav {width:min(92%,460px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0;gap:1px 8px}
 .chapter-nav a {min-height:36px;font-size:14px;line-height:1.2;white-space:normal;text-align:center;text-wrap:balance;padding:4px 3px}
 .chapter-nav a:last-child {grid-column:1 / -1}
 .cast-hero {padding-bottom:23px}
 .focus-demo .task-screen {padding-top:42px}
}

/* Keep the tutor beside the spoken question and the full drawing surface below. */
.lesson-intro {display:grid;grid-template-columns:minmax(0,1fr) clamp(71px,17cqw,102px);gap:12px;align-items:center}
.teacher-window {position:relative;overflow:hidden;aspect-ratio:1.13;border-radius:13px;background:#303c50}
.teacher-window video,.language-portrait video,.call-portrait video {width:100%;height:100%;object-fit:cover}
.teacher-window video {position:absolute;inset:0}
.teacher-window figcaption {position:absolute;inset:auto 0 0;padding:9px 3px 4px;text-align:center;color:white;background:linear-gradient(transparent,#141925b8);font-size:clamp(11px,2.1cqw,13px);font-weight:550}
.language-demo .visual {padding:0;display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1fr);align-items:stretch;min-height:clamp(318px,28vw,408px);background:linear-gradient(145deg,#332c38,#251e29 78%);color:white}
.language-demo .visual:before {display:none}
.language-portrait {position:relative;min-width:0;width:100%;align-self:stretch;overflow:hidden;background:#d7b796}
.language-portrait video {position:absolute;inset:0;object-position:center 39%}
.language-portrait figcaption {position:absolute;inset:auto 0 0;padding:38px 19px 17px;background:linear-gradient(transparent,#211422ce);color:white;display:flex;flex-direction:column;line-height:1.24}
.language-portrait strong {font-size:clamp(21px,4.3cqw,29px);font-weight:600;letter-spacing:-.03em}
.language-portrait figcaption span {font-size:14px}
.language-glass {width:100%;display:flex;flex-direction:column;justify-content:center;align-self:stretch;padding:clamp(18px,4.1cqw,32px);border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.language-glass .phase {min-height:148px}
.voice-session {display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #ffffff2f;color:#e9dfe9;font-size:14px}
.language-glass .speech {line-height:1.16;margin-top:7px}
.call-wave {display:inline-flex;align-items:center;justify-content:center;gap:2px;width:23px;height:19px;color:#edb380}
.call-wave i {width:2px;height:var(--level);background:currentColor;border-radius:2px}
@media(prefers-reduced-motion:no-preference) {
 .showcase[data-running="true"] .call-wave i {animation:call-pulse .83s ease-in-out infinite alternate}
 .call-wave i:nth-child(2n) {animation-delay:-.34s!important}
 .call-wave i:nth-child(3n) {animation-delay:-.58s!important}
 @keyframes call-pulse {from{transform:scaleY(.42)}to{transform:scaleY(1)}}
}
.companion-feature {background:#f6f4fa;--sub:#625b69}
.companion-call .visual {width:100%;min-height:0;display:grid;justify-items:center;grid-template-rows:auto 1fr auto;gap:18px;padding:23px 27px 28px;color:white;background:radial-gradient(ellipse at 50% 29%,#41315a 0%,#272032 47%,#1e1b25 83%);border:1px solid #46354c}
.call-top {width:100%;display:flex;justify-content:space-between;align-items:center;color:#e9e3ed;font-size:14px}
.call-name {display:flex;align-items:center;gap:7px}.call-name .icon {width:16px;height:16px}
.call-top .call-wave {color:#d6b6e9}
.call-portrait {position:relative;width:clamp(124px,30cqw,202px);aspect-ratio:1;border-radius:50%;background:#332942;box-shadow:0 0 0 1px #c09bd28c,0 0 0 8px #ac8dd111,0 0 30px 9px #b588ce13;overflow:hidden}
.call-portrait video {position:absolute;inset:0}
.call-caption {width:min(100%,480px);text-align:center;min-height:88px}
.call-caption span {display:block;margin-bottom:7px;font-size:14px;font-weight:550;color:#d0b9de}
.call-caption p {font-size:clamp(20px,4.3cqw,29px);line-height:1.13;letter-spacing:-.035em;text-wrap:balance}
.companion-call .elapsed {--progress:#c5a0d8}
@media(max-width:1150px) and (min-width:851px){.chapter-nav a {padding-inline:8px;font-size:13px}}
@media(max-width:560px){.chapter-nav a:last-child{grid-column:auto}}
@container (max-width:470px) {
 .language-demo .visual {grid-template-columns:1fr;grid-template-rows:clamp(168px,54cqw,235px) auto;min-height:0!important}
 .language-portrait video {object-position:50% 30%}
 .language-portrait figcaption {padding:19px 15px 11px}
 .language-glass {padding:12px 16px 16px}
 .voice-session {margin-bottom:8px;padding-bottom:8px}
 .language-glass .phase {min-height:94px}
 .companion-call .visual {padding:17px 15px 20px;gap:17px}
 .call-caption {min-height:77px}
}

@media(min-width:1001px) {
 .chapter-nav nav {width:min(99%,1530px)}
 .chapter-nav a {padding-inline:clamp(7px,.72vw,13px)}
}
@media(max-width:560px){.chapter-nav a:last-child:nth-child(odd){grid-column:1/-1}}
.delegate-feature {background:#fffcfa}
.booking-demo .visual {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:21px;min-height:clamp(330px,32vw,445px);padding:clamp(18px,5.8cqw,40px);background:radial-gradient(ellipse at 19% 12%,#fcf1eb 0,transparent 60%),linear-gradient(140deg,#dec4bb,#f0e0dc 62%,#d4b9b4);color:#462b38}
.booking-request {align-self:flex-end;display:flex;align-items:center;gap:10px;max-width:92%;color:white;background:#453340;padding:12px 17px;border-radius:20px 20px 5px 20px;box-shadow:0 4px 10px #48303b12}
.booking-request p {font-size:clamp(14px,2.8cqw,18px);line-height:1.25;letter-spacing:-.02em}
.booking-mic {display:grid;place-items:center}.booking-mic .icon{width:18px;height:18px}
.appointment {width:min(100%,430px);background:#fffdfa;border-radius:16px;box-shadow:0 17px 32px -17px #69465267;border:1px solid #e4d3ce;transform:rotate(-1.3deg)}
.ticket-top,.ticket-bottom {display:flex;align-items:center;padding:13px 20px}
.ticket-top {justify-content:space-between;border-bottom:1px solid #ece2dc;font-weight:600;font-size:16px;letter-spacing:-.025em}
.ticket-top small {font-size:12px;color:#75676d;font-weight:500}
.ticket-body {min-height:107px;display:grid;grid-template-columns:minmax(60px,25%) 1fr;align-items:stretch;padding:13px 19px}
.ticket-day {border-right:1px dashed #dacbc7;display:grid;align-content:center;justify-items:start;gap:4px;color:#89546a}
.ticket-day span {font-weight:600;font-size:14px}.scissors {width:38px;height:34px}
.booking-state {padding-left:18px;align-content:center}
.booking-state .phase {display:grid;gap:4px}
.booking-state [hidden] {display:none!important}
.booking-state span,.booking-state small {font-size:14px;line-height:1.22;color:#726368}
.booking-state strong {font-size:clamp(23px,4.7cqw,33px);line-height:1.04;letter-spacing:-.048em;font-weight:550}
.ticket-bottom {border-top:1px dashed #dccbc9;color:#65545d;font-size:14px;min-height:43px}
.ticket-bottom .icon {width:17px;height:17px;vertical-align:middle}
.booking-demo[data-at="2"] .ticket-bottom {color:#326443}
.booking-demo .elapsed {--progress:#ab7a85}
@container(max-width:385px) {
 .booking-demo .visual {padding:18px 12px;gap:16px}
 .booking-request {max-width:98%;padding:11px 13px}
 .ticket-top,.ticket-bottom {padding:10px 13px}
 .ticket-body {padding:12px 13px}
 .booking-state {padding-left:12px}
}

.download-footer {display:block;padding:0;background:#faf9fb;color:#242027;border-top:1px solid #e7e3ea;scroll-margin-top:64px}
.download-panel {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:42px}
.download-brand {display:flex;align-items:center;gap:16px}
.download-brand img {width:54px;height:54px;border-radius:13px}
.download-brand h2 {margin:0;font-size:clamp(25px,2.3vw,35px);letter-spacing:-.05em;line-height:1.1}
.download-brand p {margin:4px 0 0;color:#625b66;font-size:16px;line-height:1.35}
.download-footer .pill {font-size:15px;padding-inline:22px;white-space:nowrap}
.download-footer .pill:hover {text-decoration:none}
@media(max-width:600px){
  .download-panel {display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding-block:26px max(26px,env(safe-area-inset-bottom))}
  .download-brand {gap:12px}.download-brand img{width:45px;height:45px}
  .download-brand p {font-size:15px}
  .download-footer .pill {width:100%;min-height:46px;justify-content:center}
}

.footer-directory {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 7vw, 96px);
  padding-block: 26px max(30px, env(safe-area-inset-bottom));
  border-top: 1px solid #dfdce2;
}
.footer-directory h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #29242d;
}
.footer-directory ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-directory .company-links {grid-template-columns: 1fr}
.footer-directory a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline-end: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #56505b;
  text-align: start;
}
#updates {scroll-margin-top:88px}
.footer-updates {margin-top:24px}
.footer-updates p {margin:0;max-width:31ch;font-size:15px;line-height:1.5;color:#56505b}
.footer-updates a:first-of-type {margin-inline-end:12px;text-decoration:underline;text-underline-offset:3px}
.footer-directory a:hover {color: #28212e; text-underline-offset: 3px}
.footer-directory a:focus-visible {outline: 2px solid #663a83; outline-offset: 2px; border-radius: 2px}
@media (max-width: 660px) {
  .footer-directory {grid-template-columns: 1fr; gap: 20px; padding-top: 23px}
  .footer-directory ul {column-gap: 14px}
  .footer-directory .company-links {grid-template-columns: repeat(2,minmax(0,1fr))}
  .footer-directory a {min-height: 44px; padding-inline-end: 0}
}

/* Keep both versions of the learner’s phrase in view while the avatar takes turns. */
.language-demo .visual {grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); background:#f7f5f9; border:1px solid #e3dfe6}
.language-transcript {width:100%; color:#302b34; padding:clamp(17px,3.8cqw,28px); align-self:center}
.dialogue-context {font-weight:600; font-size:15px; line-height:1.35; margin:0 0 14px}
.dialogue-context span {display:block; font-weight:400; color:#675e6d; font-size:14px}
.conversation-lines {list-style:none; margin:0; padding:0; display:grid; gap:8px}
.conversation-lines li {border-inline-start:2px solid #d7cfdc; padding:2px 0 2px 10px; line-height:1.25}
.conversation-lines .turn-speaker {display:block; font-size:13px; font-weight:600; color:#665b70}
.conversation-lines p {margin:3px 0; font-size:clamp(17px,3.3cqw,23px); letter-spacing:-.026em; font-weight:520}
.conversation-lines small {display:block; font-size:14px; color:#645d69; line-height:1.32}
.conversation-lines .word-slip {text-decoration:underline dotted #a84b4f; text-underline-offset:3px}
.conversation-lines .coach-tip {background:#eae4f3; border-color:#805c9b; border-radius:0 9px 9px 0; padding-block:7px; padding-inline-end:7px}
.coach-tip .turn-speaker,.coach-tip strong {color:#5d3677}
.language-demo[data-at="0"] li:nth-child(1),.language-demo[data-at="1"] li:nth-child(2),
.language-demo[data-at="2"] li:nth-child(3),.language-demo[data-at="3"] li:nth-child(4) {border-inline-start-color:#825397}
@media (prefers-reduced-motion:no-preference) {
  .conversation-lines li {transition:border-color .35s}
}
@container (max-width:470px) {
  .lang-feature .language-demo .visual {grid-template-columns:1fr;grid-template-rows:clamp(126px,39cqw,165px) auto}
  .language-transcript {padding:15px 16px 17px}
  .dialogue-context {margin-bottom:10px}
  .dialogue-context span {display:inline; padding-left:7px}
  .conversation-lines {gap:7px}
  .language-portrait video {object-position:50% 30%}
}
.delegate-examples .visual {display:grid;align-items:center;justify-items:stretch;padding:clamp(18px,4.5cqw,34px);min-height:330px}
.task-example {grid-area:1 / 1;display:grid;gap:17px;align-content:center;width:100%}
.task-example[hidden] {display:grid!important;visibility:hidden}
.task-example .booking-request {justify-self:end;max-width:94%;align-items:flex-start}
.task-example .booking-request .icon {flex:0 0 17px;width:17px;height:20px}
.task-receipt {width:min(100%,405px);margin-inline:auto;overflow:hidden;border-radius:17px;color:#372f37;background:#fffdfb;box-shadow:0 8px 24px #4c35421b;text-align:left}
.receipt-type,.receipt-status {display:flex;align-items:center;gap:7px;padding:11px 17px;font-size:14px}
.receipt-type {justify-content:space-between;color:#5e505b;border-bottom:1px solid #ece3e7}
.receipt-type small {font-size:13px}
.receipt-result {padding:17px}
.receipt-result strong {display:block;line-height:1.12;font-size:clamp(23px,4.7cqw,33px);font-weight:550;letter-spacing:-.04em}
.receipt-result p {font-size:15px;line-height:1.4;margin:7px 0 0;color:#675c64}
.receipt-status {border-top:1px dashed #d9cdd3;color:#445a46;font-weight:550}
.receipt-status .icon {width:17px;height:17px}
@media (prefers-reduced-motion:no-preference) {
  .delegate-examples[data-running="true"] .task-example:not([hidden]) .task-receipt {animation:surface-in .45s ease-out both}
}
