:root {
  color-scheme: light;
  --paper: #fcf8ff;
  --ink: #20183d;
  --muted: #564d70;
  --magenta: #951565;
  --gold: #ffcf52;
  --mint: #d3f0e9;
  --line: #e7dcec;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--font); }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .22em; }
a:hover { color: var(--magenta); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2, h3 { line-height: 1.17; letter-spacing: -.038em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
:focus-visible { outline: 3px solid #6638ca; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; top: .7rem; left: .7rem; z-index: 3; background: #fff; padding: .6rem 1rem; }
.masthead { border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 78px; }
.brand, .header-actions, .navigation, .hero-actions { display: flex; align-items: center; }
.brand { gap: .7rem; text-decoration: none; font-size: 1.19rem; font-weight: 750; white-space: nowrap; }
.brand b { font-weight: 550; }
.brand img { border-radius: 12px; }
.navigation { gap: 2rem; }
.navigation a { font-weight: 650; color: var(--muted); text-decoration: none; }
.navigation a:hover { color: var(--magenta); }
.header-actions { gap: .75rem; }
select {
  appearance: none; min-height: 43px; padding: .55rem 2rem .55rem .75rem; border-radius: .65rem;
  border: 1px solid var(--line); background: white; color: var(--ink); font: 650 .95rem var(--font);
  width: 100%; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #5b4975 50%), linear-gradient(135deg, #5b4975 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.locale { flex-shrink: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; border-radius: .85rem; padding: .75rem 1.25rem;
  background: var(--magenta); color: #fff; font-weight: 720; text-decoration: none;
  border: 1px solid transparent; transition: background-color .18s ease, box-shadow .18s ease;
}
.button:hover { background: #741050; color: #fff; box-shadow: 0 5px 18px #56124620; }
.button-small { min-height: 43px; padding: .5rem .85rem; font-size: .92rem; }
.button-subtle { color: var(--ink); background: #fff9; border-color: var(--line); }
.button-subtle:hover { color: var(--magenta); background: #fff; }
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(2rem, 5vw, 5.2rem); align-items: center; padding-block: 4.65rem; }
.product-name { margin-bottom: .95rem; font-weight: 750; color: var(--magenta); }
h1 { font-size: clamp(3rem, 5.65vw, 5.2rem); line-height: 1.01; letter-spacing: -.058em; font-weight: 800; }
h1 em { font-style: normal; color: var(--magenta); }
.hero-lead { max-width: 32rem; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-actions { flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.availability { display: flex; gap: .5rem; align-items: baseline; margin-top: .9rem; color: var(--muted); font-size: .89rem; }
.availability i { background: #24786a; border-radius: 50%; min-width: .5rem; height: .5rem; align-self: center; }
.hero-art {
  position: relative; display: grid; place-items: center; min-height: 350px; isolation: isolate; overflow: hidden;
  border-radius: 2rem; border: 1px solid #e8cfe9;
  background: radial-gradient(ellipse at 87% 1%, #ffdf97 0%, transparent 48%),
    radial-gradient(ellipse at 0% 97%, #d2f3e8 0%, transparent 48%),
    linear-gradient(145deg, #f8d5ee, #e1d8fc);
}
.hero-art::before {
  content: ""; position: absolute; inset: 9% 12%; z-index: -1;
  background-color: #ffffff40; border-radius: 50%; border: 1px solid #fff9;
  transform: rotate(-17deg);
}
.mascot {
  width: clamp(165px, 23vw, 266px); height: auto; aspect-ratio: 1; border-radius: 2.1rem;
  transform: rotate(-7deg); box-shadow: 8px 18px 34px #4c20405b;
}
.audiences { padding-block: .9rem 3.75rem; }
.audiences h2 { margin-bottom: 1.2rem; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card { border-radius: 1.2rem; border: 1px solid; padding: clamp(1.25rem, 3vw, 2.1rem); scroll-margin-top: 1rem; }
.card-personal { background: #fff0d6; border-color: #f3dfa8; }
.card-business { background: #e3f5ef; border-color: #c8e6db; }
.card-label { display: inline-flex; padding: .12rem .58rem; background: #fff9; border-radius: .3rem; font-weight: 700; }
.card h3 { font-size: clamp(1.3rem, 2.35vw, 1.8rem); margin-block: .72rem .5rem; }
.card p { max-width: 34rem; color: #493e5f; }
.card .feature-list { margin-top: 1rem; font-weight: 700; }
.facts-wrap { padding-bottom: 3rem; }
.professor-wrap { padding-bottom: 3rem; }
.professor-panel {
  position: relative; width: min(100%, clamp(24rem, 53vw, 37rem)); aspect-ratio: 1;
  margin-inline: auto; overflow: hidden; border: 1px solid #dfcfeb; border-radius: 2rem;
  background: radial-gradient(ellipse at 74% 78%, #fff8f1 0%, transparent 58%),
    linear-gradient(115deg, #f8e9f4, #ede6f9 58%, #dceee7);
}
.professor-panel { cursor: pointer; }
.professor-stage { position: absolute; inset: 0; }
.professor-portrait {
  position: absolute; inset-block-end: 0; left: 50%; translate: -50% 0;
  width: 96%; transform-origin: 50% 100%;
}
.professor-portrait img { width: 100%; height: auto; }
.professor-portrait canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.professor-portrait[data-rendered] img { visibility: hidden; }
.professor-greet {
  position: absolute; z-index: 1; inset: 0; width: 100%; padding: 0;
  border: 0; border-radius: inherit; background: transparent; cursor: pointer;
}
.professor-greet:focus-visible { outline-offset: -.35rem; }
.professor-greeting-bubble {
  position: absolute; z-index: 2; inset-block-start: .9rem; right: 4.15rem;
  min-inline-size: min(10.2rem, calc(100% - 5.1rem));
  max-inline-size: calc(100% - 5.1rem); padding: .29rem 1rem .35rem;
  border-radius: 50%; background: var(--magenta); color: #fff;
  font: italic 700 clamp(1.05rem, 5vw, 1.25rem)/1.35 "Comic Sans MS", "Segoe Print", var(--font);
  text-align: center; white-space: nowrap; pointer-events: none;
}
.professor-greeting-bubble::after {
  content: ""; position: absolute; top: calc(100% - .42rem); left: 22%;
  width: 24px; height: 16px;
  background: inherit;
  clip-path: path("M 24 0 C 21 9 13 15 0 16 C 7 12 10 5 9 0 Z");
}
@media (max-width: 420px) {
  .professor-greeting-bubble {
    min-inline-size: min(10.2rem, calc(100% - 10.1rem));
    max-inline-size: calc(100% - 10.1rem); padding-inline: .65rem;
  }
}
.professor-panel[data-moving] .professor-portrait { animation: professor-breathe 5.2s ease-in-out infinite; }
.professor-toggle {
  position: absolute; z-index: 2; inset-block-start: .85rem; inset-inline-end: .85rem;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid #dab8d5; border-radius: 50%; background: #fff; color: var(--magenta); cursor: pointer;
}
.professor-toggle[hidden] { display: none; }
@keyframes professor-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.008, 1.014); }
}
@media (prefers-reduced-motion: reduce) {
  .professor-panel[data-moving] .professor-portrait { animation: none; }
}
.facts-panel {
  --country-width: clamp(6.6rem, 26%, 13rem);
  border: 1px solid #e8cfe9; border-radius: 1.4rem; overflow: hidden;
  background: linear-gradient(145deg, #f5eafa, #fff6f1 78%);
}
.facts-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem clamp(1rem, 4vw, 2rem) .6rem; }
.facts-toggle, .facts-more {
  display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px;
  border: 1px solid #debedb; border-radius: 50%; background: #fff;
  color: var(--magenta); padding: 0; cursor: pointer;
}
.facts-toggle:hover { background: #f7e6f4; }
.facts-panel [hidden] { display: none; }
.facts-more { display: inline-flex; width: auto; height: auto; border-radius: 2rem; padding: .3rem .8rem; font: inherit; margin-top: .5rem; }
.facts-icon { width: .8rem; height: .9rem; border-inline: .19rem solid currentColor; }
[data-paused] .facts-icon { width: 0; height: 0; border: .46rem solid transparent; border-right: 0; border-left: .72rem solid currentColor; margin-left: .12rem; }
.facts-window { position: relative; height: 14rem; }
.facts-window::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  inset: .65rem auto .65rem var(--country-width); width: 1px;
  background: linear-gradient(transparent, #ad478c86 18%, #ad478c86 82%, transparent);
}
.facts-list { margin: 0; padding: 0; list-style: none; }
.facts-list li {
  display: grid; grid-template-columns: var(--country-width) minmax(0, 1fr);
  align-items: center; min-height: 7rem; overflow-wrap: anywhere;
}
.facts-country { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; padding: .75rem clamp(.8rem, 2.6vw, 1.7rem); }
.facts-list p { max-width: 46rem; padding: .65rem clamp(.85rem, 3vw, 2rem); font-size: 1.2em; line-height: 1.42; }
.facts-status { padding: 1rem 2rem; }
.fact-flag { display: inline-block; flex: 0 0 auto; width: 2.35rem; height: 1.58rem; border-radius: .2rem; border: 1px solid #2416392e; object-fit: fill; background: #fff; }
.facts-sources { padding: .75rem clamp(1rem, 4vw, 2rem) 1rem; color: var(--muted); font-size: .9rem; }
.facts-sources summary { width: fit-content; cursor: pointer; }
.facts-library { max-height: 22rem; overflow: auto; margin-block: .55rem 0; padding: .25rem .4rem .25rem 1.35rem; }
.facts-library li + li { margin-top: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .facts-window {
    overflow: hidden;
    mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  }
  .facts-list { will-change: transform; }
}
@media (prefers-reduced-motion: reduce) {
  .facts-toggle { display: none; }
  .facts-window { overflow: auto; }
  .facts-list { transform: none !important; }
}
.download-wrap { padding-bottom: 3rem; }
.download-panel {
  display: grid; grid-template-columns: 1fr minmax(240px, .75fr); align-items: center; gap: 2rem;
  border-radius: 1.4rem; padding: clamp(1.45rem, 4vw, 2.8rem); background: #28204e; color: #fff;
}
.download-panel h2 { margin-bottom: .45rem; }
.download-panel p { color: #e5dcfa; }
.platform label { display: block; margin-bottom: .28rem; font-weight: 650; }
.platform p { margin-top: .5rem; font-size: .93rem; }
.footer { display: flex; justify-content: space-between; gap: 1.2rem; padding-block: 1.3rem 2.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .89rem; }
.footer nav { display: flex; gap: 1.1rem; flex-wrap: wrap; align-content: start; }
.footer nav a { white-space: nowrap; }
.subpage { min-height: 63vh; padding-block: 4.4rem; }
.subpage h1 { margin-bottom: 1.6rem; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.subpage p:not(.product-name) { max-width: 45rem; margin: .8rem 0 1.1rem; color: var(--muted); }
.subpage section { margin-block: 2rem; }
.subpage-hero { display: grid; grid-template-columns: 1fr minmax(220px, .55fr); gap: 2.6rem; align-items: center; }
.subpage-hero .hero-art { min-height: 280px; }

@media (max-width: 850px) {
  .hero { gap: 2rem; padding-block: 3rem; }
  .hero-art { min-height: 290px; }
  .navigation { gap: 1rem; }
  h1 { font-size: clamp(2.8rem, 6.7vw, 4.5rem); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .topbar { gap: .65rem; min-height: auto; flex-wrap: wrap; padding-block: .65rem; }
  .navigation { order: 3; width: 100%; padding: .25rem 0 .1rem; }
  .navigation a { padding-block: .22rem; }
  .header-actions { gap: .35rem; margin-left: auto; }
  .hero, .card-grid, .download-panel, .subpage-hero { grid-template-columns: 1fr; }
  .hero { padding-block: 2.5rem 1.8rem; gap: 1.65rem; }
  .hero-art { min-height: 250px; }
  .availability { font-size: .92rem; }
  .audiences { padding-bottom: 2rem; }
  .download-panel { gap: 1.15rem; }
  .footer { flex-direction: column; }
  .subpage { padding-block: 2.7rem; }
}
@media (max-width: 420px) {
  .topbar .button { display: none; }
}
@media (max-width: 365px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-actions .button { padding-inline: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Keep the approved physical column order, including for right-to-left text. */
[dir="rtl"] .facts-list { direction: ltr; }
[dir="rtl"] .facts-country,
[dir="rtl"] .facts-list p { direction: rtl; }
[dir="rtl"] select {
  padding: .55rem .75rem .55rem 2rem;
  background-position: 10px 50%, 15px 50%;
}
[dir="rtl"] .facts-library { padding: .25rem 1.35rem .25rem .4rem; }

/* Independent layer. Existing panels retain their original backgrounds. */
.panorama-home {
  position: relative; isolation: isolate;
  --panorama-opacity: .60;
  --panorama-tones: contrast(.28) brightness(1.4);
}
.panorama-home::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url("assets/panorama-llc.webp") center / cover no-repeat;
  filter: var(--panorama-tones);
  opacity: var(--panorama-opacity);
}
.panorama-home[data-panorama="10"] { --panorama-opacity: .10; }
.panorama-home[data-panorama="15"] { --panorama-opacity: .15; }
.panorama-home[data-panorama="25"] { --panorama-opacity: .25; }
.panorama-home[data-panorama] { --panorama-tones: contrast(.55) brightness(1.12); }
.panorama-picker {
  position: fixed; top: auto; right: auto; bottom: auto; left: auto;
  inset-inline-end: max(.6rem, env(safe-area-inset-right));
  inset-block-end: max(.6rem, env(safe-area-inset-bottom));
  z-index: 4; display: flex; padding: .2rem; gap: .15rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: .75rem;
  box-shadow: 0 2px 14px #20183d22;
}
.panorama-picker[hidden] { display: none; }
.panorama-picker button {
  min-width: 44px; min-height: 44px; padding: .2rem; border: 1px solid transparent;
  border-radius: .55rem; background: transparent; color: inherit; font: 700 .88rem var(--font); cursor: pointer;
}
.panorama-picker button[aria-pressed="true"] { color: #fff; background: var(--magenta); }
@media (max-width: 680px) {
  .panorama-home::before {
    position: fixed;
    background-image: url("assets/panorama-llc-mobil.webp");
  }
}
@media (forced-colors: active) {
  .panorama-home::before { content: none; }
  .panorama-picker button[aria-pressed="true"] { border-color: Highlight; }
}

.panorama-home #main { position: relative; }
.greeting-films {
  --film-gap: clamp(.6rem, 3vw, 2rem);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: space-between; gap: var(--film-gap);
  width: min(100% - .5rem, calc(35.65rem - var(--film-gap) * .15)); margin: 0 auto 2rem;
  pointer-events: none;
}
.greeting-film {
  list-style: none; margin: 0; padding: .45rem .68rem; min-width: 0;
  display: grid; grid-template-rows: repeat(20, minmax(2.7rem, 1fr)); gap: .45rem;
  border: 1px solid #675b754a; border-radius: .55rem;
  background:
    repeating-linear-gradient(to bottom, transparent 0 5px, #51476155 5px 10px, transparent 10px 15px) left .23rem top / 3px 100% no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 5px, #51476155 5px 10px, transparent 10px 15px) right .23rem top / 3px 100% no-repeat,
    #fcf8ff70;
}
.greeting-film li {
  display: flex; align-items: center; justify-content: center; min-width: 0;
  border-block-end: 1px solid #675b7528;
  background: var(--film-scene) center / cover no-repeat;
}
.greeting-film:first-child li:nth-child(8n + 1),
.greeting-film:last-child li:nth-child(8n + 5) { --film-scene: url("assets/film-work.jpg"); }
.greeting-film:first-child li:nth-child(8n + 2),
.greeting-film:last-child li:nth-child(8n + 6) { --film-scene: url("assets/film-shopping.jpg"); }
.greeting-film:first-child li:nth-child(8n + 3),
.greeting-film:last-child li:nth-child(8n + 7) { --film-scene: url("assets/film-transit.jpg"); }
.greeting-film:first-child li:nth-child(8n + 4),
.greeting-film:last-child li:nth-child(8n + 8) { --film-scene: url("assets/film-restaurant.jpg"); }
.greeting-film:first-child li:nth-child(8n + 5),
.greeting-film:last-child li:nth-child(8n + 1) { --film-scene: url("assets/film-clinic.jpg"); }
.greeting-film:first-child li:nth-child(8n + 6),
.greeting-film:last-child li:nth-child(8n + 2) { --film-scene: url("assets/film-school.jpg"); }
.greeting-film:first-child li:nth-child(8n + 7),
.greeting-film:last-child li:nth-child(8n + 3) { --film-scene: url("assets/film-interview.jpg"); }
.greeting-film:first-child li:nth-child(8n + 8),
.greeting-film:last-child li:nth-child(8n + 4) { --film-scene: url("assets/film-community.jpg"); }
.greeting-film li:last-child { border-block-end: 0; }
.greeting-film bdi {
  width: max-content; min-width: 0; max-width: 100%; min-height: 2rem;
  padding: .26rem .65rem; border-radius: .6rem;
  color: #241639; background: var(--film-color); font-size: .9rem; font-weight: 700;
  align-content: center; line-height: 1.15; text-align: center; overflow-wrap: anywhere; unicode-bidi: isolate;
}
.film-mint { --film-color: #e3f5ef; }
.film-warm { --film-color: #fff0c9; }
.film-violet { --film-color: #f0e2fd; }
.film-yellow { --film-color: #ffedb9; }
.film-pink { --film-color: #ffe0ee; }
.film-blue { --film-color: #dceaff; }
.film-peach { --film-color: #ffdfc8; }
.film-turquoise { --film-color: #ceeeef; }
.film-green { --film-color: #e5efd4; }
.film-lilac { --film-color: #eadbfa; }
@media (min-width: 1400px) {
  .greeting-films {
    --rail-original: min(11.5rem, calc((100% - 1120px) / 2 - .55rem));
    --rail: min(calc(var(--rail-original) * 1.15), calc((100% - 1120px) / 2 - .3rem));
    position: absolute; inset: 3.75rem .25rem 2.75rem;
    grid-template-columns: repeat(2, var(--rail));
    width: auto; margin: 0;
  }
  .greeting-film { padding-inline: .5rem; }
}

.navigation .live-link, .navigation .live-link:hover {
  display: inline-flex; gap: .45rem; flex: 0 0 auto; padding: .5rem .85rem;
  color: #fff; white-space: nowrap;
}
.navigation .live-link svg { flex: 0 0 auto; }
.live-wrap { padding-bottom: 3rem; scroll-margin-block-start: 1.25rem; }
.live-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start; gap: clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid #e8cfe9; border-radius: 1.4rem; padding: clamp(1.3rem, 4vw, 2.5rem);
  background: #f9eff8;
}
.live-panel h2 { color: var(--magenta); }
.live-panel p { margin-top: .55rem; color: var(--muted); }
.live-panel .live-lead { color: var(--ink); font-weight: 650; }
.live-availability {
  border-inline-start: 1px solid #dcb4d3; padding-inline-start: clamp(1rem, 3vw, 2.5rem);
}
.live-availability h3 { font-size: 1.2rem; }
@media (max-width: 680px) {
  .navigation { flex-wrap: wrap; }
  .live-panel { grid-template-columns: 1fr; }
  .live-availability { border-inline-start: 0; border-top: 1px solid #dcb4d3; padding: 1rem 0 0; }
}

.live-demo-open { margin-block-start: .9rem; }
.live-demo:not([hidden]) {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 1.15rem; align-items: center; padding-block-start: 1rem; border-top: 1px solid #dcb4d3;
}
.live-phones { display: flex; justify-content: center; align-items: center; direction: ltr; gap: .3rem; }
.live-phone {
  position: relative; display: grid; place-items: center;
  width: 4.1rem; aspect-ratio: 1 / 1.72; border: 2px solid #57365d; border-radius: .7rem;
  background: #fff9fd;
}
.live-phone::before {
  content: ""; position: absolute; top: .42rem; width: 36%; height: 2px; border-radius: 2px; background: #57365d;
}
.live-qr, .live-scan { width: 1.72rem; aspect-ratio: 1; position: relative; }
.live-qr {
  background: repeating-conic-gradient(#341b43 0 25%, #fff 0 50%) center / 8px 8px;
  border: 2px solid #fff; outline: 1px solid #341b43;
}
.live-qr i { position: absolute; width: 8px; height: 8px; border: 2px solid #341b43; background: #fff; }
.live-qr i:nth-child(2) { right: 0; }
.live-qr i:nth-child(3) { bottom: 0; }
.live-scan { opacity: 0; border: 1px dashed #951565; }
.live-demo[data-step="1"] .live-scan { opacity: 1; }
.live-demo[data-step="1"] .live-scan::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: #951565;
  animation: live-scan 1.2s ease-in-out infinite alternate;
}
@keyframes live-scan { to { transform: translateY(1.55rem); } }
.live-wire {
  width: min(9vw, 3.8rem); height: 2px; background: #36816b;
  transform: scaleX(0); transition: transform .42s ease;
}
.live-check { display: none; position: absolute; color: #176f56; font-weight: 750; font-size: 1.55rem; }
.live-demo:is([data-step="2"], [data-step="3"], [data-step="4"]) .live-check { display: block; }
.live-demo:is([data-step="2"], [data-step="3"], [data-step="4"]) .live-qr { visibility: hidden; }
.live-demo[data-step="4"] .live-wire { transform: scaleX(1); }
.live-steps { margin: 0; padding-inline-start: 1.55rem; color: var(--muted); }
.live-steps li { padding: .2rem .35rem; border-radius: .35rem; }
.live-steps [aria-current] { color: var(--ink); background: #f0d7e9; font-weight: 700; }
@media (max-width: 680px) {
  .live-demo:not([hidden]) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-demo[data-step="1"] .live-scan::after { animation: none; }
}

.language-picker { position: relative; flex: 0 0 auto; z-index: 3; }
.language-picker > button {
  min-height: 43px; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: .65rem;
  background: #fff; color: var(--ink); font: 650 .95rem var(--font); cursor: pointer;
}
.language-picker > button::after {
  content: ""; display: inline-block; margin-inline-start: .55rem;
  width: .43rem; height: .43rem; border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor; transform: translateY(-.1rem) rotate(45deg);
}
.language-search-panel {
  position: absolute; inset-block-start: calc(100% + .4rem); inset-inline-end: 0;
  width: min(17rem, 80vw); background: #fff; padding: .55rem;
  border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 8px 26px #20183d22;
}
.language-search-panel input, .language-search-results button {
  width: 100%; min-height: 42px; padding: .4rem .55rem; border-radius: .45rem;
  color: var(--ink); font: inherit;
}
.language-search-panel input { border: 1px solid var(--line); background: #fff; }
.language-search-results { max-height: 13rem; overflow: auto; margin-block-start: .35rem; }
.language-search-results button { display: block; text-align: start; border: 0; background: #fff; cursor: pointer; }
.language-search-results button:is(:hover, [aria-pressed="true"]) { background: #f7e5f3; }

.professor-wrap {
  --profile-square: min(100%, clamp(24rem, 53vw, 37rem));
  position: relative;
}
.professor-panel { width: var(--profile-square); }
.professor-profiles {
  position: absolute; z-index: 4; top: calc((100% - 3rem) / 2); right: calc(50% + var(--profile-square) / 2 + 1rem);
  transform: translateY(-50%); display: grid; gap: .5rem;
}
.professor-profiles button {
  min-height: 44px; min-width: 5.2rem; padding: .35rem .65rem;
  color: var(--ink); background: #fcf8ff; border: 1px solid #dcb4d3; border-radius: .65rem;
  font: 700 .9rem var(--font); cursor: pointer;
}
.professor-profiles button[aria-pressed="true"] { color: #86105a; background: #f3d9ec; border-color: #b9709c; }
.professor-stage, .junior-stage { transition: opacity .32s ease; }
.junior-stage {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none;
}
.junior-portrait { position: relative; width: 80%; transform-origin: 50% 87%; }
.junior-portrait img { width: 100%; height: auto; }
.junior-portrait canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.junior-portrait[data-rendered] img { visibility: hidden; }
.professor-panel[data-profile="junior"] .professor-stage { opacity: 0; }
.professor-panel[data-profile="junior"] .junior-stage { opacity: 1; }
.professor-panel[data-profile="junior"][data-moving][data-speaking] .junior-portrait {
  animation: junior-greeting .45s ease-in-out alternate 2;
}
@keyframes junior-greeting {
  50% { transform: translateY(-.32rem) rotate(-2deg); }
}
@media (max-width: 780px) {
  .professor-profiles {
    top: .7rem; left: calc((100% - var(--profile-square)) / 2 + .7rem);
    right: auto; transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .professor-panel[data-profile="junior"][data-speaking] .junior-portrait { animation: none; }
}

.partners-wrap { padding-bottom: 3rem; }
.partners-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.partners-viewport { overflow-x: auto; padding: .3rem; }
.partners-list { display: flex; gap: .75rem; width: max-content; min-width: 100%; justify-content: center; margin: 0; padding: 0; list-style: none; }
.partners-list a {
  display: grid; place-items: center; width: 10.25rem; height: 5.35rem; padding: .85rem;
  background: #fff; border: 1px solid var(--line); border-radius: .75rem;
}
.partners-list img { width: 100%; height: 3.35rem; object-fit: contain; }

.partners-wrap:has(> .partners-card) { padding-block: .85rem 0; }
.partners-card {
  inline-size: 70%;
  margin-inline: auto;
  min-block-size: clamp(9rem, 16vw, 11rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 2px dashed var(--magenta);
  border-radius: 22px;
  background: #fcf8ff;
}
.partners-card h2 { margin: 0; }
.partners-card .partners-list a { max-inline-size: min(9rem, 40vw); }
.partners-card .partners-pause[hidden] { display: none; }
@media (max-width: 600px) {
  .partners-card { inline-size: 100%; }
}

.audiobook-wrap { margin-block: 0 2rem; }
.audiobook-card {
  background: linear-gradient(110deg, #f8e9f4, #f2ecff);
  border: 1px solid #ead8e9;
  border-radius: 22px;
}
.audiobook-card > summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem clamp(.85rem, 3vw, 1.4rem);
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  font-weight: 800;
}
.audiobook-card > summary::-webkit-details-marker { display: none; }
.audiobook-card > summary svg { width: 2rem; height: 2rem; color: var(--magenta); }
.audiobook-card > summary::after { content: "+"; margin-inline-start: auto; }
.audiobook-card[open] > summary::after { content: "\2212"; }
.audiobook-content { padding: .35rem clamp(.65rem, 2vw, 1rem) .9rem; }
.audiobook-content iframe { display: block; width: 100%; height: 40rem; border: 0; }

.public-status { padding-block-start: 1.15rem; text-align: center; }
.public-status p { margin: 0; font-size: clamp(1.45rem, 5vw, 3.75rem); font-weight: 850;
  line-height: 1.08; letter-spacing: .075em; color: var(--magenta); }
a[aria-disabled="true"], button:disabled, .audiobook-card[inert] > summary,
.professor-panel, select:disabled { cursor: default; }
