/* Pollyca website v3: the app's look (cream + orange dots, chunky lipped blocks, Anya's white speech bubble),
   and Anya you can actually talk to. */
/* headlines: Rubik for now (Lyrica Sans cat tails render broken on y/g/j, see library/15 Lyrica font) */
@font-face { font-family: "Lyrica Sans"; src: url("assets/fonts/Rubik-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Lyrica Sans"; src: url("assets/fonts/Rubik-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Lyrica Sans"; src: url("assets/fonts/Rubik-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* the app's tokens (src/theme.ts) */
  --cream: #FFF4E3;
  --cream-deep: #F1DCC0;
  --ink: #2A1D14;
  --ink-70: rgba(42, 29, 20, .74);
  --ink-50: rgba(42, 29, 20, .55);
  --orange: #E8700A;
  --orange-lip: #A94F00;
  --amber: #FFB347;
  --amber-lip: #E89A2E;
  --hotpink: #FF4F7B;
  --hotpink-lip: #C22D55;
  --pink: #FFBBBB;
  --rose: #B5495F;
  --sky: #1F6FD6;
  --sky-lip: #134C99;
  --sky-light: #8CC0FF;
  --purple: #5B2A86;
  --purple-lip: #3B1A58;
  --mint: #7BE3A8;
  --espresso: #241A13;
  --card-dark: #3A281C;

  --anya: #D06C80; --anya-lip: #A64C5E; --anya-bg: #FBE6E8; --anya-ink: #4A3346;
  --liz: #EE8A24; --liz-lip: #B4600F; --liz-bg: #FFE9C7; --liz-ink: #6B3A12;

  --dots: radial-gradient(rgba(240, 122, 18, .14) 1.6px, transparent 1.9px);
  --soft: 0 1px 2px rgba(120, 60, 10, .06), 0 14px 34px -14px rgba(169, 79, 0, .28);

  --display: "Lyrica Sans", "M PLUS Rounded 1c", system-ui, sans-serif;
  --body: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; color: var(--ink); font: 500 17px/1.65 var(--body); overflow-x: clip;
  background: var(--cream) var(--dots); background-size: 22px 22px; -webkit-font-smoothing: antialiased;
}
body::after { /* grain, felt not seen */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); padding-bottom: .06em; }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-70); max-width: 34em; margin-top: 16px; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 12px; }
svg { display: block; }
button { font-family: inherit; }

section { position: relative; padding: 110px max(24px, calc((100vw - var(--wrap)) / 2)); }

/* ---------- chunky lipped buttons (the app's .blk) ---------- */
.btn {
  --bg: var(--orange); --lip: var(--orange-lip);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font: 800 1.06rem/1.2 var(--body); color: #fff; text-decoration: none; cursor: pointer;
  background: var(--bg); border: 0; border-radius: 18px; padding: 17px 26px;
  box-shadow: 0 5px 0 var(--lip); transition: transform .08s, box-shadow .08s, filter .2s;
}
.btn { position: relative; overflow: hidden; transition: transform .25s var(--spring), box-shadow .25s var(--spring), filter .2s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); transition: left .6s var(--out); pointer-events: none; }
.btn:hover { filter: brightness(1.07); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 0 var(--lip); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(4px) scale(.98); box-shadow: 0 1px 0 var(--lip); transition-duration: .06s; }
.btn--small { padding: 10px 18px; font-size: .98rem; border-radius: 14px; box-shadow: 0 4px 0 var(--lip); }
.btn--small:active { transform: translateY(3px); }
.btn--wide { width: 100%; }
.btn--dark { --bg: var(--ink); --lip: #000; margin-top: 26px; }
.btn--tutor { --bg: var(--t); --lip: var(--tlip); margin-top: 22px; }
.hear__icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .25); position: relative; flex: none; }
.hear__icon::before { content: ""; position: absolute; left: 8px; top: 6px; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.is-playing .hear__icon::before { left: 7px; top: 6px; border: 0; width: 3px; height: 10px; background: #fff; box-shadow: 5px 0 0 #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 80; top: 14px; left: 50%; transform: translateX(-50%); width: min(var(--wrap), calc(100% - 24px));
  display: flex; align-items: center; gap: 24px; padding: 9px 10px 9px 22px; border-radius: 22px;
  background: rgba(255, 244, 227, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(169, 79, 0, .1); box-shadow: 0 10px 30px -18px rgba(169, 79, 0, .45);
}
.wordmark { font: 900 1.75rem/1.2 var(--display); letter-spacing: -.01em; text-decoration: none; color: var(--orange); text-shadow: 0 2px 0 var(--orange-lip); }
/* the official logo (library/01 Brand and design/logo OFFICIAL) beside a lowercase "pollyca" (cat ears removed 27 Nov, Joshua) */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark__logo { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 0 rgba(169, 79, 0, .25); flex: none; }
.wordmark__text { text-transform: lowercase; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-70); padding: 8px 12px; border-radius: 12px; transition: background .2s, color .2s; }
.nav__links a:hover { background: rgba(232, 112, 10, .1); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 40px;
  padding-top: 116px; padding-bottom: 60px; overflow: clip;
  background: radial-gradient(circle at 78% 42%, rgba(255, 179, 71, .55) 0, rgba(255, 179, 71, 0) 38%), linear-gradient(165deg, #FFF6E8 0%, #FFE6C4 55%, #FFD7A3 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--dots); background-size: 22px 22px; pointer-events: none; }
.hero > * { position: relative; }
.hero__title { font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.015em; max-width: 10.5em; text-wrap: balance; padding-bottom: .05em; }
/* a smiling Anya popping up out of the end of the line (clipped at the baseline, free above it) */
.nowrap { white-space: nowrap; }
.peek-anya { display: inline-block; position: relative; width: 2.3em; height: 1.25em; margin-left: .25em; vertical-align: -.22em; clip-path: inset(-4em -1em 0 -1em); }
.peek-anya img { position: absolute; left: 50%; bottom: -.9em; width: 2.45em; max-width: none; height: auto; translate: -50% 0; transform-origin: 50% 100%;
  animation: peekRise .9s var(--spring) .7s both, peekBob 3.2s ease-in-out 1.6s infinite; transition: bottom .4s var(--spring); }
.peek-anya:hover img { bottom: -.55em; }
@keyframes peekRise { from { transform: translateY(110%); } }
@keyframes peekBob { 50% { transform: translateY(-4%) rotate(-4deg); } }
.hero__slogan { margin-top: 30px; font: 800 clamp(1.15rem, 1.55vw, 1.38rem)/1.75 var(--display); color: #C45A00; letter-spacing: -.005em; max-width: 24em; }
.hero__lead { font-size: clamp(1.06rem, 1.45vw, 1.22rem); color: var(--ink-70); max-width: 29em; margin-top: 20px; }

.join { margin-top: 34px; max-width: 520px; }
.join__row { display: flex; gap: 10px; padding: 8px; background: #fff; border-radius: 24px; box-shadow: 0 5px 0 var(--cream-deep), var(--soft); }
.join__input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1.05rem var(--body); color: var(--ink); padding: 0 14px; border-radius: 14px; }
.join__input::placeholder { color: rgba(42, 29, 20, .38); }
.join__input:focus { outline: none; }
.join__row:focus-within { box-shadow: 0 5px 0 var(--cream-deep), var(--soft), 0 0 0 3px rgba(232, 112, 10, .45); }
.join__note { margin-top: 16px; font-size: .92rem; color: var(--ink-50); }
.join__note a { color: var(--ink-70); font-weight: 800; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.join.is-done .join__row { display: none; }
.join.is-done .join__note { font-size: 1.05rem; color: var(--ink); font-weight: 800; }

.scene { height: 690px; }
.sun {
  position: absolute; left: 50%; top: 31%; width: 440px; height: 440px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #FFD089 0%, #FFAE4D 48%, #F68B22 100%);
  box-shadow: 0 0 0 22px rgba(255, 179, 71, .22), 0 0 0 48px rgba(255, 179, 71, .12);
}
.sun::before {
  content: ""; position: absolute; inset: -150px; border-radius: 50%; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255, 179, 71, .26) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 62%, transparent 100%); mask: radial-gradient(closest-side, transparent 58%, #000 62%, transparent 100%);
  animation: spin 140s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* a tutor: a stack of same-size expression pictures, swapped by script */
.tutor { position: absolute; display: block; }
.tutor img { width: 100%; max-width: none; transform-origin: 50% 100%; }
.tutor img.react { animation: hop .5s var(--spring); }
@keyframes hop { 30% { transform: translateY(-12px) scale(1.02); } }
.tutor--hero { left: 50%; top: 0; width: 340px; translate: -50% 0; z-index: 2; animation: peekUp .9s var(--out) .1s both; }
/* Anya's mood portal (Rive, library/12 Anya in Rive/hero_react): the artboard is the 440x520 rig box grown by 100 px
   left and right and 40 px on top, so it's placed in units of the hero's own width (cqw). Until it's drawing cleanly
   the picture rig stays; then the portal cross-fades in and the CSS sun disc steps aside (the portal has its own). */
.tutor--hero { container-type: inline-size; }
.hero-moods { position: absolute; left: -22.727cqw; top: -9.091cqw; width: 145.455cqw; height: 118.182cqw; pointer-events: none; }
.hero-moods canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* while the full animation loads, the opening picture already laughs: a shaky bounce from the portal's bottom */
.hero-moods:not(.live) img { transform-origin: 50% 92%; animation: stillLaugh 1.1s ease-in-out infinite; }
@keyframes stillLaugh { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 20% { transform: translateY(-2.5%) rotate(-2.5deg) scale(1.02); } 40% { transform: translateY(0) rotate(1.5deg) scale(.99); } 60% { transform: translateY(-2%) rotate(2.5deg) scale(1.02); } 80% { transform: translateY(0) rotate(-1deg) scale(1); } }
.tutor--hero { cursor: pointer; aspect-ratio: 440 / 520; }
.scene .sun { background: none; box-shadow: none; top: 255px; }   /* centred on the portal: tutor top 70 + 185 */
.scene .tutor--hero { top: 70px; }   /* the portal brings its own disc and ring; the sun keeps only its rays */
/* the word she says with each mood */
.mood-say { left: calc(50% + 112px); top: 54px; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0;
  background: #fff; border-radius: 22px 22px 22px 6px; padding: 12px 18px 11px; box-shadow: 0 5px 0 var(--cream-deep), 0 22px 40px -20px rgba(42, 29, 20, .5);
  transform-origin: 0 100%; animation: none; max-width: 260px; }
.mood-say__ru { font: 900 1.9rem/1.05 var(--display); color: var(--ink); }
.mood-say.long .mood-say__ru { font-size: 1.3rem; line-height: 1.2; }
.mood-say.long { max-width: 290px; }
.mood-say__ru i { display: inline-block; font-style: normal; animation: letterPop .5s var(--spring) both; animation-delay: var(--d, 0ms); }
.mood-say__ru .w-word { white-space: nowrap; }
.mood-say__tr { font-size: .86rem; font-weight: 700; color: var(--ink-50); }
.mood-say.pop { animation: sayPop .5s var(--spring) both; }
.mood-say.out { animation: sayOut .3s ease-in both; }
@keyframes sayPop { from { transform: scale(.3) rotate(-8deg); opacity: 0; } }
@keyframes sayOut { to { transform: scale(.6) translateY(10px); opacity: 0; } }
@keyframes letterPop { from { transform: translateY(.5em) scale(.3); opacity: 0; } 60% { transform: translateY(-.12em) scale(1.15); opacity: 1; } }
@keyframes peekUp { from { transform: translateY(50px); opacity: 0; } }
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fx i { position: absolute; font: 900 2.5rem/1 var(--display); font-style: normal; color: #2B2622; text-shadow: 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff; animation: fxIn 1.5s var(--out) forwards; }
.fx i.c-pink { color: var(--hotpink); } .fx i.c-gold { color: #F6B91E; } .fx i.c-blue { color: var(--sky); }
@keyframes fxIn { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 18% { transform: scale(1.15) rotate(6deg); opacity: 1; } 30% { transform: scale(1) rotate(0); } 80% { opacity: 1; } 100% { transform: translateY(-26px) rotate(8deg); opacity: 0; } }
.hearts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hearts i { position: absolute; width: 34px; height: 32px; background: url("assets/rewards/heart.webp") center/contain no-repeat; animation: float 1.4s var(--out) forwards; }
@keyframes float { 0% { transform: translateY(20px); opacity: 0; } 25% { opacity: 1; transform: translateY(0); } 100% { transform: translateY(-110px) rotate(14deg); opacity: 0; } }

.ui { position: absolute; z-index: 3; animation: uiIn .7s var(--out) both; }
@keyframes uiIn { from { transform: translateY(18px); opacity: 0; } }

/* Anya's white speech bubble, as in the app's Talk screen */
.bubble { display: block; background: #fff; color: var(--ink); text-align: center; border-radius: 24px; padding: 16px 22px 14px; box-shadow: 0 5px 0 var(--cream-deep), 0 22px 40px -20px rgba(42, 29, 20, .5); }
.bubble::before { content: ""; position: absolute; left: 50%; top: -13px; translate: -50% 0; border: 14px solid transparent; border-top: 0; border-bottom-color: #fff; }
.bubble__en { display: block; font: 800 1.2rem/1.25 var(--body); color: var(--ink); }
.bubble__ru { display: block; font: 800 1.1rem/1.3 var(--body); color: var(--rose); margin-top: 5px; }
.bubble__tr { display: block; font-size: .86rem; color: var(--ink-50); margin-top: 3px; }
.bubble .w { opacity: .3; transition: opacity .12s; }
.bubble .w.on { opacity: 1; }
.bubble.typing .bubble__en::after { content: ""; }
.dots { display: inline-flex; gap: 6px; padding: 8px 0; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-50); animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-5px); opacity: 1; } }
.bubble__hear { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--cream); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--cream-deep); }
.bubble__hear svg { width: 18px; height: 18px; fill: var(--orange); }
.bubble__hear:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cream-deep); }
.bubble--hero { left: 50%; top: 340px; width: 430px; translate: -50% 0; padding: 18px 50px 16px; animation-delay: .35s; }

/* "You could say": the app's suggestion card, with three replies to tap */
.say { left: 50%; top: 478px; width: 100%; max-width: 580px; translate: -50% 0; background: var(--card-dark); border: 3px solid var(--amber); border-radius: 24px; box-shadow: 0 6px 0 var(--amber-lip), var(--soft); padding: 14px 14px 16px; animation-delay: .6s; }
.say__label { text-align: center; color: var(--amber); font-weight: 800; font-size: .95rem; }
.say__label span { color: rgba(255, 244, 227, .5); font-weight: 700; font-size: .82rem; }
.say__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.opt { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; border: 1.5px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .06); color: var(--cream); border-radius: 16px; padding: 10px 8px; transition: background .15s, border-color .15s, transform .08s; }
.opt b { font-weight: 800; font-size: 1.02rem; color: #FFCF8A; }
.opt small { font-size: .78rem; color: rgba(255, 244, 227, .62); font-weight: 700; }
.opt:hover { background: rgba(232, 112, 10, .22); border-color: var(--orange); }
.opt:active { transform: translateY(2px); }
.opt.picked { background: var(--orange); border-color: var(--orange); }
.opt.picked b, .opt.picked small { color: #fff; }
.opt:disabled { cursor: default; }
.opt:disabled:not(.picked) { opacity: .45; }

.you { left: -10px; top: 300px; max-width: 200px; background: var(--orange); color: #fff; border-radius: 20px 20px 6px 20px; padding: 11px 15px; box-shadow: 0 4px 0 var(--orange-lip); line-height: 1.25; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .4s var(--spring); animation: none; }
.you b { display: block; font-weight: 800; }
.you small { font-size: .8rem; opacity: .85; }
.you.show { opacity: 1; transform: none; }
.pron { display: inline-flex; align-items: center; gap: 6px; background: #1D3A2A; color: var(--mint); font-weight: 800; font-size: .8rem; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.pron svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pron--hero { left: -4px; top: 374px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .4s var(--spring); animation: none; }
.pron--hero.show { opacity: 1; transform: none; }

.stats { left: -20px; top: -14px; display: flex; gap: 14px; background: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 800; box-shadow: 0 4px 0 var(--cream-deep), var(--soft); animation-delay: .55s; }
.stats > span { display: inline-flex; align-items: center; gap: 5px; }
.stats svg { width: 18px; height: 18px; }
.stats img { width: 24px; height: 24px; object-fit: contain; }
.stats__streak { color: #C45A00; }
.stats__stars { color: var(--sky); }
.stats__bond { color: #D93A5E; } .stats__bond svg { fill: #D93A5E; }
.stats__bond.bump { animation: bumpy .5s var(--spring); }
@keyframes bumpy { 40% { transform: scale(1.25); } }

.word { display: flex; align-items: center; gap: 12px; background: var(--sky); color: #fff; padding: 12px 16px 12px 12px; border-radius: 18px; box-shadow: 0 5px 0 var(--sky-lip); font-size: .92rem; line-height: 1.3; }
.word small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; opacity: .8; }
.word b { font: 800 1.1rem var(--display); }
.word em { font-style: normal; opacity: .85; }
.word__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.word__icon svg { width: 22px; height: 22px; fill: #fff; }
.word--hero { right: -34px; top: 344px; rotate: 3deg; animation-delay: 1s; z-index: 5; font: inherit; color: #fff; text-align: left; border: 0; cursor: pointer;
  transition: scale .35s var(--spring), rotate .35s var(--spring), box-shadow .2s; }
.word--hero:hover, .word--hero:focus-visible { scale: 1.12; rotate: 0deg; box-shadow: 0 7px 0 var(--sky-lip), 0 18px 30px -12px rgba(19, 76, 153, .55); }
.word--hero:active { scale: 1.04; box-shadow: 0 2px 0 var(--sky-lip); translate: 0 4px; }
.word--hero.saying .word__icon { animation: bumpy .5s var(--spring); }


/* where you'll get it: web, App Store, Google Play, and a desktop app if people ask */
.where { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.where li > *, .where li { display: inline-flex; align-items: center; gap: 9px; }
.where li { background: #fff; border-radius: 14px; padding: 8px 13px 8px 10px; box-shadow: 0 3px 0 var(--cream-deep); line-height: 1.15; }
.where svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.where b { display: block; font-size: .88rem; font-weight: 800; }
.where small { display: block; font-size: .74rem; color: var(--ink-50); font-weight: 700; }
.where__ask { background: transparent !important; box-shadow: none !important; border: 2px dashed rgba(169, 79, 0, .3); }
.where__ask a { text-decoration: none; color: inherit; }
.where__ask svg { stroke: var(--ink-50); }
.where__ask:hover { border-color: var(--orange); }

/* ---------- how it works: the real app, recorded, in rows that swap sides (Duolingo-style flow) ---------- */
.big { font: 900 clamp(2.7rem, 6.2vw, 4.9rem)/1.02 var(--display); letter-spacing: -.025em; }
.how { padding-bottom: 140px; background: linear-gradient(180deg, rgba(255, 224, 184, 0) 0%, rgba(255, 224, 184, .6) 60%, rgba(255, 224, 184, 0) 100%); }
.how__head { text-align: center; }
.how__head .big { color: #B85400; text-shadow: 0 4px 0 rgba(169, 79, 0, .16); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1060px; margin: 110px auto 0; }
.row--flip .row__media { order: 2; }
.row__media { position: relative; display: grid; place-items: center; padding: 30px 0; }
.row__copy { max-width: 30em; }
.row--flip .row__copy { justify-self: end; }
.row__title { font: 900 clamp(3rem, 5.6vw, 4.6rem)/1 var(--display); letter-spacing: -.03em; color: var(--c); text-shadow: 0 4px 0 var(--cl); }
.row--learn { --c: var(--orange); --cl: rgba(169, 79, 0, .25); }
.row--talk { --c: var(--hotpink); --cl: rgba(194, 45, 85, .22); }
.row--stories { --c: var(--sky); --cl: rgba(19, 76, 153, .22); }
.row__copy p { margin-top: 20px; font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-70); }
.row__eg { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 10px 16px !important; box-shadow: 0 4px 0 var(--cream-deep); font-weight: 800; }
.row__eg span[lang] { color: var(--rose); text-decoration: line-through 2px; }
.row__eg b { color: #1E7A4C; }

.device { width: min(286px, 100%); margin: 0 auto; aspect-ratio: 640 / 1385; border-radius: 46px; padding: 10px; background: #140E0A; box-shadow: 0 8px 0 #0B0705, 0 44px 70px -32px rgba(80, 40, 5, .6); }
.device img, .device video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #FFF4E3; }
/* the video sits in its own clipped screen: Chrome doesn't round a video's corners reliably once it's rotated, and a
   hair of zoom hides the recording's 1 px light edge */
.screen { display: block; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #140E0A; isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000); }
.screen video { border-radius: 0; background: #140E0A; }
.device--video { --r: -5deg; position: relative; z-index: 1; width: min(318px, 74vw); rotate: var(--r); animation: bobY 6s ease-in-out infinite; transition: rotate .6s var(--spring), scale .6s var(--spring); }
.row--flip .device--video { --r: 5deg; animation-delay: -3s; }
.device--video:hover { rotate: 0deg; scale: 1.03; }

/* reward icons that float around the phones and drift with the scroll (translate is set by app.js) */
.float { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--w); rotate: var(--r); pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(120, 60, 10, .18)); animation: floatBob 5s ease-in-out infinite; transition: scale .7s var(--spring); }
.float:nth-of-type(2n) { animation-duration: 6.5s; animation-delay: -2s; }
.float:nth-of-type(3n) { animation-duration: 7.5s; animation-delay: -4s; }
@keyframes floatBob { 50% { transform: translateY(-14px) rotate(6deg); } }
/* some icons can be picked up and moved: grab, they grow and tilt; let go and they land with a squish */
.float[data-drag] { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none;
  left: calc(var(--x) + var(--dx, 0px)); top: calc(var(--y) + var(--dy, 0px)); }
.float[data-drag]:hover { scale: 1.12 !important; }
.float.held { cursor: grabbing; z-index: 6 !important; scale: 1.28 !important; animation-play-state: paused; filter: drop-shadow(0 26px 22px rgba(120, 60, 10, .3)); transition: scale .25s var(--spring); }
.float.landed { animation: land .5s var(--spring); }
@keyframes land { 30% { transform: scale(1.18, .82); } 60% { transform: scale(.94, 1.06); } }

/* rows arrive once: the phone swings up into place, the icons pop, the title lands */
.js [data-row] .device--video { transform: translateY(90px) rotate(-10deg) scale(.92); opacity: 0; transition: transform 1s var(--spring), opacity .5s, rotate .6s var(--spring), scale .6s var(--spring); }
.js [data-row].row--flip .device--video { transform: translateY(90px) rotate(10deg) scale(.92); }
.js [data-row] .float { scale: 0; }
.js [data-row] .row__title { transform: translateY(30px) scale(.9); opacity: 0; transition: transform .8s var(--spring) .12s, opacity .4s .12s; }
.js [data-row] .row__copy p { opacity: 0; transform: translateY(16px); transition: opacity .5s .25s, transform .7s var(--out) .25s; }
.js [data-row].in .device--video, .js [data-row].in .row__title, .js [data-row].in .row__copy p { transform: none; opacity: 1; }
.js [data-row].in .float { scale: 1; }
.js [data-row].in .float:nth-of-type(1) { transition-delay: .25s; }
.js [data-row].in .float:nth-of-type(2) { transition-delay: .4s; }
.js [data-row].in .float:nth-of-type(3) { transition-delay: .55s; }
.js [data-row].in .float:nth-of-type(4) { transition-delay: .7s; }


/* the story row holds two phones (Stories behind, Conversations in front) and the four ways she can talk */
.row--duo { grid-template-columns: 1.15fr 1fr; }
.row--duo .row__media { display: flex; justify-content: center; align-items: flex-start; padding-bottom: 60px; }
.row--duo .device--video { width: min(272px, 32vw); }
.device--back { --r: -7deg; margin-right: -64px; }
.device--front { --r: 6deg; margin-top: 96px; z-index: 2; animation-delay: -3s; }
.js [data-row].row--duo .device--front { transition-delay: .18s; }
.row__sub { margin: 30px 0 0; font: 900 clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--display); color: var(--ink); }
.row__copy .row__sub + p { margin-top: 10px; }
.levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; width: fit-content; max-width: 100%; background: #241A13; border-radius: 22px; padding: 14px; box-shadow: 0 6px 0 #120C08; }
.levels__q { flex-basis: 100%; margin: 0 0 2px 4px !important; color: var(--amber) !important; font-weight: 800; font-size: .95rem !important; }
.lvl { display: inline-flex; align-items: center; gap: 9px; background: #3A2A1E; color: var(--cream); font-weight: 800; font-size: .9rem; padding: 9px 14px 9px 11px; border-radius: 13px; box-shadow: 0 3px 0 #17100B; }
.lvl:first-of-type { background: var(--amber); color: var(--ink); box-shadow: 0 3px 0 var(--amber-lip); }
.lvl:first-of-type .bars { --on: var(--ink); --off: rgba(42, 29, 20, .25); }
.bars { --on: var(--amber); --off: rgba(255, 244, 227, .2); width: 19px; height: 16px; flex: none;
  background: linear-gradient(var(--b1, var(--off)), var(--b1, var(--off))) 0 100% / 3px 6px no-repeat,
              linear-gradient(var(--b2, var(--off)), var(--b2, var(--off))) 5px 100% / 3px 9px no-repeat,
              linear-gradient(var(--b3, var(--off)), var(--b3, var(--off))) 10px 100% / 3px 12px no-repeat,
              linear-gradient(var(--b4, var(--off)), var(--b4, var(--off))) 15px 100% / 3px 16px no-repeat; }
.bars[style*="--n:1"] { --b1: var(--on); }
.bars[style*="--n:2"] { --b1: var(--on); --b2: var(--on); }
.bars[style*="--n:3"] { --b1: var(--on); --b2: var(--on); --b3: var(--on); }
.bars[style*="--n:4"] { --b1: var(--on); --b2: var(--on); --b3: var(--on); --b4: var(--on); }
.levels__cap { font-size: .98rem !important; margin-top: 12px !important; color: var(--ink-50) !important; }
.js [data-row] .levels { opacity: 0; transform: translateY(16px); transition: opacity .5s .35s, transform .7s var(--out) .35s; }
.js [data-row].in .levels { opacity: 1; transform: none; }
.js [data-row] .row__sub { opacity: 0; transform: translateY(16px); transition: opacity .5s .3s, transform .7s var(--out) .3s; }
.js [data-row].in .row__sub { opacity: 1; transform: none; }


/* ---------- flags in the app's round style ---------- */
.flag { display: inline-block; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 4px 0 3px rgba(120, 60, 10, .16); }
.flag svg { display: block; width: 100%; height: 100%; }

/* ---------- hero: the language strip along the bottom (still, like Duolingo's; click one to hear when) ---------- */
.langbar { grid-column: 1 / -1; min-width: 0; position: relative; display: flex; align-items: center; gap: 6px; margin: 6px calc(-1 * max(24px, (100vw - var(--wrap)) / 2)) -60px;
  padding: 10px max(24px, calc((100vw - var(--wrap)) / 2)); background: rgba(255, 251, 244, .86); border-top: 2px solid var(--cream-deep); border-bottom: 2px solid var(--cream-deep); }
.langbar__list { flex: 1; min-width: 0; display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px 2px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; justify-content: safe center; }
.langbar__list::-webkit-scrollbar { display: none; }
.langbar__arrow { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.langbar__arrow:hover { background: rgba(232, 112, 10, .12); }
.langbar__arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-50); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lang { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; padding: 9px 14px; border-radius: 14px; white-space: nowrap;
  font: 800 .88rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70); transition: background .2s, color .2s, translate .3s var(--spring); }
.lang:hover { background: #fff; color: var(--ink); translate: 0 -2px; box-shadow: 0 3px 0 var(--cream-deep); }
.lang:active { translate: 0 1px; box-shadow: none; }
.lang[data-state="live"] { color: var(--ink); }
.lang[data-state="live"] span:last-child::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: #2FB36B; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(47, 179, 107, .18); }
.lang.pick { animation: bumpy .45s var(--spring); }
.lang__plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font: 900 1.3rem/1 var(--display); flex: none; }
.lang--more { color: #B85400; }

/* ---------- tutors: the next three, as silhouettes in their own colours with their flag ---------- */
.soon { flex-direction: column; gap: 0; }
.future { list-style: none; padding: 0; margin: 26px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: min(780px, 100%); }
.ftile { --bg: #E3ECFF; --sun: #A9C2F7; --sil: #23408E; --lip: #C9D7F5; position: relative; height: 230px; border-radius: 28px; overflow: hidden; background: var(--bg); box-shadow: 0 6px 0 var(--lip); }
.ftile--jp { --bg: #FFE4EA; --sun: #F7A9B9; --sil: #A3203A; --lip: #F5C6D1; }
.ftile--es { --bg: #FFF0C8; --sun: #FFCB55; --sil: #C0640A; --lip: #F3D898; }
.ftile__sun { position: absolute; left: 50%; top: 58%; width: 170px; height: 170px; translate: -50% -50%; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 14px color-mix(in srgb, var(--sun) 40%, transparent); transition: scale .5s var(--spring); }
.ftile__sil { position: absolute; left: 50%; bottom: -22px; width: 196px; aspect-ratio: 1 / 1.1; translate: -50% 0; background: var(--sil);
  -webkit-mask: var(--m) center bottom / contain no-repeat; mask: var(--m) center bottom / contain no-repeat; transition: transform .5s var(--spring); }
.ftile__q { position: absolute; left: 50%; top: 56%; translate: -50% -50%; font: 900 3.6rem/1 var(--display); color: #fff; text-shadow: 0 4px 0 color-mix(in srgb, var(--sil) 70%, #000); animation: qBob 2.6s ease-in-out infinite; }
.ftile:nth-child(2) .ftile__q { animation-delay: -.9s; } .ftile:nth-child(3) .ftile__q { animation-delay: -1.8s; }
@keyframes qBob { 50% { transform: translateY(-8px) rotate(6deg); } }
.ftile .flag { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; }
.ftile:hover .ftile__sil { transform: translateY(-8px) rotate(-3deg); }
.ftile:hover .ftile__sun { scale: 1.08; }

/* ---------- live the story: hover a phone to bring it to the front ---------- */
.row--duo .device--video { cursor: pointer; transition: transform 1s var(--spring), opacity .5s, rotate .6s var(--spring), scale .5s var(--spring), filter .4s; }
.row--duo .row__media:has(.device--back:hover) .device--back { z-index: 3; scale: 1.06; rotate: -2deg; }
.row--duo .row__media:has(.device--back:hover) .device--front { z-index: 1; scale: .92; filter: brightness(.9); }
.row--duo .device--front:hover { scale: 1.04; rotate: 2deg; }
/* ---------- tutors ---------- */
.tutors h2 { text-align: center; }
.tutor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 60px; }
.tpanel { --t: var(--anya); --tlip: var(--anya-lip); --tbg: var(--anya-bg); --tink: var(--anya-ink); border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 8px 0 var(--cream-deep), var(--soft); display: flex; flex-direction: column; }
.tpanel--lizzie { --t: var(--liz); --tlip: var(--liz-lip); --tbg: var(--liz-bg); --tink: var(--liz-ink); }
.tpanel__stage { position: relative; display: block; width: 100%; height: 380px; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; background: var(--tbg); }
.tpanel__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(color-mix(in srgb, var(--t) 26%, transparent) 1.6px, transparent 1.9px); background-size: 22px 22px; }
.tpanel__sun { position: absolute; left: 50%; top: 60%; width: 310px; height: 310px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 40% 36%, color-mix(in srgb, var(--t) 45%, #fff) 0%, var(--t) 100%); box-shadow: 0 0 0 18px color-mix(in srgb, var(--t) 18%, transparent), 0 0 0 40px color-mix(in srgb, var(--t) 9%, transparent); transition: scale .5s var(--spring); }
.tpanel__stage:hover .tpanel__sun { scale: 1.06; }
.tpanel__stage .tutor { left: 50%; top: 30px; width: 370px; translate: -50% 0; }
.tpanel__stage .tutor img { filter: drop-shadow(0 14px 18px rgba(60, 30, 20, .2)); }
.tpanel__say { position: absolute; z-index: 4; left: 16px; top: 16px; max-width: 60%; text-align: left; padding: 12px 16px; border-radius: 20px 20px 20px 6px; opacity: 0; transform: translateY(8px) scale(.95); transform-origin: 0 100%; transition: opacity .25s, transform .4s var(--spring); }
.tpanel__say::before { display: none; }
.tpanel__say.show { opacity: 1; transform: none; }
.tpanel__say .bubble__en { font-size: 1.02rem; }
.tpanel__say .bubble__ru { font-size: 1.05rem; color: var(--t); filter: brightness(.85); }
.tap { position: absolute; z-index: 4; right: 16px; bottom: 16px; background: #fff; color: var(--ink); font-weight: 800; font-size: .85rem; padding: 7px 13px; border-radius: 999px; box-shadow: 0 3px 0 var(--cream-deep); animation: tapPulse 1.8s ease-in-out infinite; transition: opacity .3s; }
.tpanel.tapped .tap { opacity: 0; }
@keyframes tapPulse { 50% { transform: scale(1.08); } }
.tpanel__body { padding: 28px 32px 34px; flex: 1; }
.tpanel__body h3 { font-size: 2.3rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag { font: 800 .92rem var(--body); letter-spacing: 0; color: #fff; background: var(--t); padding: 5px 12px; border-radius: 10px; box-shadow: 0 3px 0 var(--tlip); }
.tpanel__vibe { margin-top: 14px; font-weight: 800; color: var(--tink); }
.tpanel__quote { font-style: italic; color: var(--ink-70); }
.tpanel__body > p:last-of-type { margin-top: 10px; color: var(--ink-70); }

.soon { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 54px; flex-wrap: wrap; }
.soon__faces { display: flex; }
.soon__faces img { width: 70px; height: 70px; object-fit: cover; object-position: 50% 16%; border-radius: 22px; background: #fff; border: 4px solid #fff; box-shadow: 0 4px 0 var(--cream-deep); margin-left: -14px; transition: translate .3s var(--spring); }
.soon__faces img:hover { translate: 0 -8px; }
.soon__faces img:first-child { margin-left: 0; }
.soon p { color: var(--ink-70); }
.soon b { color: var(--ink); }

/* ---------- afrikaans strip ---------- */
.afr { padding-top: 70px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; overflow: hidden;
  background: radial-gradient(circle at 85% 120%, rgba(238, 138, 36, .3), transparent 55%), radial-gradient(circle at 0% 0%, rgba(212, 96, 42, .12), transparent 45%), #FFF0D4; }
.afr__big { font: 900 clamp(2rem, 4.6vw, 3.6rem)/1.08 var(--display); letter-spacing: -.02em; color: var(--liz-ink); max-width: 14em; }
.afr__en { margin-top: 14px; color: rgba(107, 58, 18, .72); font-size: 1.1rem; }
.afr__girl { width: 220px; rotate: 5deg; filter: drop-shadow(0 14px 18px rgba(107, 58, 18, .2)); animation: bobY 5s ease-in-out infinite; }

/* ---------- founders ticket ---------- */
.founders { text-align: center; }
.ticket { position: relative; margin: 60px auto 0; width: min(880px, 100%); display: grid; grid-template-columns: 290px 1fr; text-align: left; background: #FFFDF8; border-radius: 34px; box-shadow: 7px 7px 0 rgba(255, 179, 71, .65), -5px -4px 0 rgba(255, 79, 123, .25), var(--soft); }
.ticket::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ticket__left { position: relative; padding: 34px 24px; border-right: 3px dashed rgba(169, 79, 0, .22); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 34px 0 0 34px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 179, 71, .45), transparent 65%), radial-gradient(circle at 40% 75%, rgba(255, 79, 123, .18), transparent 60%); }
.ticket__mystery { position: relative; width: 180px; animation: bobY 5s ease-in-out infinite; }
.ticket__mystery img { width: 100%; filter: drop-shadow(5px 4px 0 rgba(255, 79, 123, .5)); }
.ticket__q { position: absolute; left: 46%; top: 30%; transform: translate(-50%, -50%); font: 900 5rem/1 var(--display); color: #fff; text-shadow: 3px 3px 0 var(--orange); }
.ticket__cap { margin-top: 14px; font-size: .9rem; color: var(--ink-50); text-align: center; font-weight: 700; }
.ticket__right { position: relative; padding: 38px 40px 34px; }
.ticket__kind { font: 900 2.2rem/1.15 var(--display); color: #B85400; }
.ticket__price { font: 900 3.4rem/1.1 var(--display); margin-top: 8px; letter-spacing: -.03em; }
.ticket__price small { font: 700 1rem var(--body); color: var(--ink-50); letter-spacing: 0; }
.ticket__list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.ticket__list li { position: relative; padding-left: 34px; color: var(--ink-70); }
.ticket__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background: url("assets/rewards/star_clean.webp") center/contain no-repeat; }
.ticket__promise { margin-top: 18px; font-weight: 800; color: var(--ink); background: var(--cream); border: 2px solid var(--cream-deep); padding: 12px 16px; border-radius: 14px; }
.ticket__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--ink-50); }
.ticket__secure svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ticket__stamp { position: absolute; right: 22px; top: 22px; width: 84px; rotate: 14deg; }

.founder-cta { position: relative; }
.founder-cta__anya { position: absolute; z-index: -1; left: calc(100% + 4px); bottom: -34px; width: 200px; pointer-events: none;
  transform-origin: 0% 100%; transform: translateX(-150px) rotate(-14deg); transition: transform .6s var(--spring);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 72%, transparent 96%); }
.founder-cta__anya img { width: 100%; transform-origin: 50% 100%; }
.founder-cta__anya img.react { animation: hop .5s var(--spring); }
.founder-cta__anya .fx i { font-size: 1.8rem; }
.founder-cta.up .founder-cta__anya { transform: translateX(-16px) rotate(6deg); }
.btn--founder { z-index: 1; font-size: 1.15rem; padding: 19px 26px; }
.founder-cta.up .btn--founder { transform: translateY(-3px) scale(1.06); box-shadow: 0 9px 0 var(--lip); filter: brightness(1.08); }
.ticket__list { position: relative; z-index: 1; }

/* ---------- story: cards that float, tilt and react ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.story__clips { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; perspective: 900px; }
.clip { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; display: block; text-decoration: none; color: inherit; animation: drift 5.5s ease-in-out infinite; }
.clip--a { rotate: -3deg; }
.clip--b { rotate: 3deg; translate: 0 34px; animation-delay: -2.7s; }
@keyframes drift { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.clip__inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 9 / 14; border-radius: 28px; overflow: hidden; padding: 16px;
  box-shadow: 0 8px 0 var(--cream-deep), var(--soft); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .12s, box-shadow .3s, scale .35s var(--spring); }
.clip--a .clip__inner { background: radial-gradient(circle at 50% 40%, #fff, var(--anya-bg)); }
.clip--b .clip__inner { background: radial-gradient(circle at 50% 40%, #fff, var(--liz-bg)); }
.clip__inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity .3s; }
.clip:hover { animation-play-state: paused; }
.clip:hover .clip__inner { scale: 1.05; box-shadow: 0 12px 0 var(--cream-deep), 0 30px 50px -20px rgba(169, 79, 0, .45); }
.clip:hover .clip__inner::after { opacity: 1; }
.clip__img { position: absolute; left: 50%; top: 7%; width: 84%; translate: -50% 0; transition: transform .4s var(--spring); }
.clip:hover .clip__img { transform: translateY(-6px) rotate(-3deg); }
.clip__play { position: absolute; left: 50%; top: 42%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; background: var(--orange); box-shadow: 0 4px 0 var(--orange-lip); scale: .6; opacity: 0; transition: scale .35s var(--spring), opacity .2s; }
.clip__play::before { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.clip:hover .clip__play { scale: 1; opacity: 1; }
.clip__cap { position: relative; font-size: .86rem; color: var(--ink-50); font-weight: 700; background: rgba(255, 255, 255, .92); border-radius: 14px; padding: 10px 12px; line-height: 1.35; }
.clip__cap b { display: block; color: var(--ink); font-weight: 800; }

/* ---------- faq: Anya's Talk screen, but you tap questions ---------- */
.faq { background: linear-gradient(180deg, rgba(255, 230, 196, 0) 0%, #FFE6C4 45%, rgba(255, 230, 196, 0) 100%); }
.faq h2 { text-align: center; }
.faqtalk { display: grid; grid-template-columns: auto minmax(0, 470px); gap: 54px; justify-content: center; align-items: center; margin-top: 56px; }
.tphone { width: 350px; height: 720px; border-radius: 52px; padding: 11px; background: #140E0A; box-shadow: 0 8px 0 #0B0705, 0 50px 80px -40px rgba(80, 40, 5, .55); }
.tphone__screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #E9C8BC; isolation: isolate; }
.tphone__room { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.tphone__screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(36, 26, 19, 0) 40%, rgba(36, 26, 19, .55) 70%, rgba(36, 26, 19, .9) 100%); }
.tphone__top { position: absolute; z-index: 4; left: 12px; right: 12px; top: 16px; display: flex; align-items: center; gap: 7px; }
.chip { background: #F6EADD; color: var(--ink); border-radius: 999px; display: grid; place-items: center; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.chip--round { width: 40px; height: 40px; }
.chip--round svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chip--round svg.fill { fill: var(--ink); stroke: none; }
.chip--who { padding: 4px 14px; line-height: 1.1; text-align: center; }
.chip--who b { font-size: .95rem; }
.chip--who small { display: block; color: #D93A5E; font-weight: 800; font-size: .72rem; }
.chip--sing { margin-left: auto; background: var(--orange); color: #fff; font-weight: 800; font-size: .9rem; padding: 9px 14px; box-shadow: 0 3px 0 var(--orange-lip); }
.tutor--faq { z-index: 2; left: 50%; top: 104px; width: 290px; translate: -50% 0; }
.bubble--faq { position: absolute; z-index: 3; left: 14px; right: 14px; top: 384px; padding: 16px 16px 14px; }
.bubble--faq .bubble__en { font-size: 1.04rem; }
.bubble--faq .bubble__ru { font-size: 1rem; }
.tphone__bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 96px; background: #1A120D; border-radius: 26px 26px 0 0; display: flex; align-items: center; justify-content: space-around; }
.sq { width: 48px; height: 48px; border-radius: 14px; background: #2E231B; display: grid; place-items: center; }
.sq svg { width: 22px; height: 22px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; }
.sq svg.fill { fill: var(--cream); stroke: none; }
.tphone__mic { width: 66px; height: 66px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 5px 0 var(--orange-lip); }
.tphone__mic svg { width: 30px; height: 30px; fill: #fff; }

.ask { background: var(--card-dark); border: 3px solid var(--amber); border-radius: 28px; box-shadow: 0 6px 0 var(--amber-lip), var(--soft); padding: 22px 20px; color: var(--cream); }
.ask__label { text-align: center; color: var(--amber); font-weight: 800; font-size: 1.05rem; }
.ask__list { display: grid; gap: 10px; margin-top: 14px; }
.q { position: relative; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .13); color: var(--cream); font: 800 1.02rem/1.3 var(--body); padding: 14px 44px 14px 16px; border-radius: 16px; transition: background .15s, border-color .15s, transform .08s; }
.q:hover { background: rgba(232, 112, 10, .22); border-color: var(--orange); }
.q:active { transform: translateY(2px); }
.q.now { background: var(--orange); border-color: var(--orange); color: #fff; }
.q.asked::after { content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D3A2A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.ask__note { margin-top: 16px; font-size: .85rem; color: rgba(255, 244, 227, .6); text-align: center; }

/* ---------- why pollyca: compared, on the app's dark Talk-screen colours ---------- */
.vs { background: radial-gradient(circle at 50% 0%, rgba(232, 112, 10, .22), transparent 55%), var(--espresso); color: var(--cream); text-align: center; overflow: hidden; padding-bottom: 120px; }
.vs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 179, 71, .09) 1.6px, transparent 1.9px); background-size: 22px 22px; pointer-events: none; }
.vs .big { position: relative; color: var(--cream); max-width: 13em; margin: 0 auto; }
.vs .lead { position: relative; color: rgba(255, 244, 227, .7); }
.float--band { z-index: 0; opacity: .95; }

.vs__table { position: relative; display: grid; grid-template-columns: 1.5fr 1.05fr 1fr 1fr; margin: 270px auto 0; max-width: 980px; text-align: left; }
.vs__row { display: contents; }
.vs__row > span { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 20px 16px; border-top: 1.5px solid rgba(255, 244, 227, .1); }
.vs__row--head > span { border-top: 0; padding-top: 26px; padding-bottom: 18px; font: 900 1.35rem/1.1 var(--display); }
.vs__feat { font-weight: 800; font-size: 1.08rem; color: var(--cream); }
.vs__us { justify-content: center; text-align: center; flex-direction: column; gap: 6px !important; color: #fff; border-top-color: rgba(255, 255, 255, .22) !important; }
.vs__row--head .vs__us { font-size: 1.6rem; color: #fff; }
.vs__us b { font-weight: 800; font-size: .98rem; }
.vs__us .yes { width: 34px; height: 34px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18)); }
.vs__them { justify-content: center; text-align: center; flex-direction: column; gap: 6px !important; color: rgba(255, 244, 227, .62); }
.vs__row--head .vs__them { color: rgba(255, 244, 227, .8); }
.vs__them small { font-size: .9rem; font-weight: 700; line-height: 1.25; }
.vs__them .no { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 244, 227, .08); fill: none; stroke: rgba(255, 244, 227, .45); stroke-width: 3; stroke-linecap: round; }
.vs__them .part { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 179, 71, .14); display: grid; place-items: center; }
.vs__them .part::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--amber); }

/* the Pollyca column: one raised orange block behind every row, with Anya leaning on top */
.vs__col { position: absolute; z-index: 0; top: 0; bottom: 0; left: calc(100% * 1.5 / 4.55 + 6px); width: calc(100% * 1.05 / 4.55 - 12px); border-radius: 30px; background: linear-gradient(180deg, #F27F17 0%, var(--orange) 100%); box-shadow: 0 8px 0 var(--orange-lip), 0 40px 60px -30px rgba(0, 0, 0, .6); }
.vs__peek { position: absolute; left: 50%; bottom: calc(100% - 4px); width: 200px; aspect-ratio: 440 / 520; translate: -50% 0; pointer-events: none; }
.vs__peek img, .vs__peek canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vs__table.in .vs__peek img { animation: peekUp .9s var(--spring) both; }
.vs__peek.rive-wait img { visibility: hidden; }
.vs__note { position: relative; margin: 46px auto 0; max-width: 40em; font-size: .85rem; color: rgba(255, 244, 227, .45); }

/* ---------- final: Anya on a turning sunburst, tap her, play with the icons ---------- */
.final { display: grid; justify-items: center; padding-top: 70px; padding-bottom: 130px; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #FFC37A 0%, rgba(255, 195, 122, 0) 55%), linear-gradient(180deg, #FFE6C4 0%, #FFCB8A 100%); }
.final__sun { position: absolute; left: 50%; top: 330px; width: 1500px; height: 1500px; translate: -50% -50%; pointer-events: none; }
.final__rays { position: absolute; inset: 0; border-radius: 50%; animation: spin 90s linear infinite;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .34) 0deg 7deg, transparent 7deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, #000 18%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, #000 18%, transparent 62%); }
.final__disc { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #FFB866 0%, var(--orange) 100%);
  box-shadow: 0 0 0 22px rgba(232, 112, 10, .16), 0 0 0 48px rgba(232, 112, 10, .08); }
.final__stage { position: relative; z-index: 1; display: grid; justify-items: center; }
.final__anya { position: relative; display: block; border: 0; padding: 0; background: none; cursor: pointer; width: min(350px, 74vw); margin-bottom: -46px; }
.final__art { position: relative; display: block; transform-origin: 50% 100%; filter: drop-shadow(0 18px 22px rgba(120, 60, 10, .2)); transition: scale .4s var(--spring); }
.final__girl { display: block; width: 100%; height: auto; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.final__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.final__art.live .final__girl { animation: none; }
.final__anya:hover .final__art { scale: 1.04; }
.final__art.react { animation: hop .5s var(--spring); }
@keyframes sway { 50% { rotate: 2deg; } }
.final__bubble { position: absolute; z-index: 3; left: calc(100% - 34px); top: 74px; width: max-content; max-width: 250px; text-align: left; padding: 14px 18px; border-radius: 22px 22px 22px 6px; animation: bubbleBob 4s ease-in-out infinite; }
.final__bubble .bubble__en { font-size: 1.1rem; }
.final__bubble::before { display: none; }
@keyframes bubbleBob { 50% { translate: 0 -8px; } }
.final__card { position: relative; z-index: 2; width: min(760px, 100%); background: #fff; border-radius: 34px; box-shadow: 0 8px 0 var(--cream-deep), 0 40px 60px -30px rgba(169, 79, 0, .45); padding: 56px 40px 40px; text-align: center; }
.final__card h2 { max-width: 12em; margin: 0 auto; }
.join--final { margin: 34px auto 0; }

/* ---------- contact: language requests, brand deals, ideas ---------- */
.contact { text-align: center; padding-top: 90px; background: linear-gradient(180deg, #FFCB8A 0%, #FFE6C4 30%, var(--cream) 100%); }
.contact__head { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 28px; text-align: left; }
.contact__text h2 { max-width: 9em; }
/* Anya typing on her phone (Rive): the still shows first; the animation fades in once it's drawing cleanly */
.anya-typing { position: relative; width: clamp(260px, 28vw, 380px); aspect-ratio: 1; }
.anya-typing img, .anya-typing canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* any Rive box: the still shows until the animation is drawing cleanly, then they cross-fade */
.rive-box canvas { opacity: 0; transition: opacity .3s; pointer-events: none; }
.rive-box.live canvas { opacity: 1; }
.rive-box.live img { opacity: 0; transition: opacity .3s .1s; }
.contact .lead a { color: var(--ink); font-weight: 800; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.ask-grid { list-style: none; padding: 0; margin: 48px auto 0; max-width: 1060px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.ask-us { --c: var(--orange); position: relative; background: #fff; border-radius: 28px; padding: 28px 26px 26px; box-shadow: 0 7px 0 var(--cream-deep), var(--soft); display: flex; flex-direction: column; transition: translate .35s var(--spring); }
.ask-us:hover { translate: 0 -6px; }
.ask-us--brand { --c: var(--sky); }
.ask-us--idea { --c: var(--hotpink); }
.ask-us__icon { display: flex; align-items: center; height: 56px; }
.ask-us__icon img { height: 56px; width: auto; transition: rotate .4s var(--spring); }
.ask-us:hover .ask-us__icon img { rotate: -10deg; }
.ask-us__icon .flag { width: 44px; height: 44px; margin-right: -8px; }
.ask-us__icon .lang__plus { width: 44px; height: 44px; font-size: 1.6rem; box-shadow: 0 0 0 3px #fff; }
.ask-us h3 { margin-top: 18px; font-size: 1.45rem; }
.ask-us p { margin-top: 8px; color: var(--ink-70); flex: 1; }
.btn--ask { --bg: var(--c); --lip: color-mix(in srgb, var(--c) 70%, #000); margin-top: 20px; align-self: flex-start; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 40px 24px; text-align: center;
  background: radial-gradient(circle at 50% 38%, rgba(255, 179, 71, .5), transparent 45%), linear-gradient(180deg, #FFF6E8, #FFD7A3); }
.lost__anya { width: min(300px, 70vw); animation: bobY 4s ease-in-out infinite; }
.lost__bubble { margin-top: -40px; position: relative; }

/* ---------- footer ---------- */
.foot { background: #1A120D; color: rgba(255, 244, 227, .7); padding: 60px max(24px, calc((100vw - var(--wrap)) / 2)) 110px; display: grid; grid-template-columns: 1fr auto auto; gap: 48px; font-size: .95rem; }
.wordmark--foot { font-size: 2.1rem; }
.wordmark--foot .wordmark__logo { width: 48px; height: 48px; }
.foot .wordmark__text, .foot .foot p { margin-top: 8px; color: rgba(255, 244, 227, .55); }
.foot__links { display: grid; gap: 8px; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.foot span { color: rgba(255, 244, 227, .45); }

/* ---------- mobile bar + toast ---------- */
.mobilebar { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(460px, calc(100% - 32px)); background: var(--ink); color: var(--cream); font-weight: 700; font-size: .95rem; padding: 14px 18px; border-radius: 16px; box-shadow: 0 5px 0 #000; transform: translate(-50%, 200%); visibility: hidden; transition: transform .45s var(--spring), visibility 0s .45s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--spring); }
/* the Founder card: number + one-time code, back from Stripe */
.fcard { width: min(440px, calc(100% - 32px)); margin: auto; padding: 84px 24px 26px; border: 0; border-radius: 28px; overflow: visible; text-align: center;
  background: var(--cream); color: var(--ink); box-shadow: 0 8px 0 var(--cream-deep), 0 40px 80px -30px rgba(42, 29, 20, .6); }
.fcard[open] { animation: fcardIn .55s var(--spring) both; }
.fcard::backdrop { background: rgba(42, 29, 20, .45); }
@keyframes fcardIn { from { transform: translateY(40px) scale(.85); opacity: 0; } }
.fcard__anya { position: absolute; left: 50%; top: -122px; width: 164px; height: auto; translate: -50% 0; pointer-events: none; animation: fcardPeek .8s var(--spring) .15s both; }
@keyframes fcardPeek { from { transform: translateY(40px) scale(.6); opacity: 0; } }
.fcard__hi { font: 800 1rem/1.2 var(--display); color: var(--orange); margin: 0; }
.fcard__title { font: 900 clamp(1.7rem, 5vw, 2.1rem)/1.1 var(--display); margin: 4px 0 14px; outline: none; }
.fcard__body p { margin: 0 0 12px; color: var(--ink-70); }
.fcard__no { font: 900 1.25rem/1.2 var(--display); color: var(--ink) !important; }
.fcard__no b { color: var(--orange); }
.fcard__code { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 6px 0 14px; padding: 14px 14px; background: #fff; border-radius: 18px;
  box-shadow: 0 4px 0 var(--cream-deep); }
.fcard__code output { font: 900 clamp(1.3rem, 6vw, 1.45rem)/1 var(--display); letter-spacing: .04em; white-space: nowrap; color: var(--orange); font-variant-numeric: tabular-nums; user-select: all; }
.fcard__copy { flex: none; }
.fcard__small { font-size: .88rem; }
.fcard__test { font-weight: 800; color: #B3261E !important; }
.fcard__wait { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; min-height: 60px; }
.fcard__dots { display: inline-flex; gap: 5px; }
.fcard__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: fcardDot 1s ease-in-out infinite; }
.fcard__dots i:nth-child(2) { animation-delay: .15s; } .fcard__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes fcardDot { 50% { transform: translateY(-6px); opacity: .5; } }
.fcard__close { margin-top: 6px; }
@media (max-height: 720px) { .fcard { padding-top: 58px; } .fcard__anya { width: 116px; top: -84px; } .fcard__title { margin-bottom: 8px; } .fcard__small { font-size: .82rem; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 116px; min-height: 0; }
  .scene { max-width: 580px; width: 100%; margin: 0 auto; }
  .row { grid-template-columns: 1fr; gap: 26px; margin-top: 90px; max-width: 560px; }
  .row--flip .row__media { order: 0; }
  .row__copy, .row--flip .row__copy { justify-self: center; text-align: center; }
  .levels { justify-content: center; }
  .tutor-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .story { grid-template-columns: 1fr; }
  .faqtalk { grid-template-columns: 1fr; justify-items: center; }
  .ask { width: 100%; max-width: 520px; }
}
@media (max-width: 720px) {
  section { padding-top: 76px; padding-bottom: 76px; }
  .nav { gap: 10px; padding-left: 18px; }
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .hero { padding-top: 104px; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  .join__row { flex-direction: column; }
  .join__input { padding: 14px; }
  .join__row .btn { width: 100%; }
  .scene { height: 560px; }
  .sun { width: 320px; height: 320px; }
  .scene .sun { top: 182px; }
  .scene .tutor--hero { top: 40px; }
  .mood-say { left: calc(50% + 48px); top: 0; padding: 9px 14px 8px; }
  .mood-say__ru { font-size: 1.45rem; }
  .mood-say__tr { font-size: .78rem; }
  .tutor--hero { width: 260px; }
  .bubble--hero { top: 262px; width: calc(100% - 4px); padding: 16px 46px 14px; }
  .bubble--hero .bubble__en { font-size: 1.08rem; }
  .say { top: 322px; }
  .say__opts { grid-template-columns: 1fr; }
  .opt { flex-direction: row; justify-content: space-between; padding: 11px 14px; }
  .you { left: -6px; top: 236px; max-width: 160px; font-size: .92rem; }
  .pron--hero { left: -4px; top: 290px; }
  .stats, .word--hero { display: none; }
  .tpanel__stage { height: 340px; }
  .tpanel__stage .tutor { width: 330px; }
  .tpanel__body { padding: 24px 22px 28px; }
  .device--video { width: min(270px, 68vw); }
  .float { width: calc(var(--w) * .75); left: clamp(0px, var(--x), calc(100% - var(--w) * .75)); }
  .float[data-drag] { left: calc(clamp(0px, var(--x), calc(100% - var(--w) * .75)) + var(--dx, 0px)); }
  .final__bubble { left: 50%; top: -14px; translate: -50% 0; max-width: 86vw; text-align: center; border-radius: 22px; animation: none; }
  .final__anya { margin-top: 70px; }
  .final__disc { width: 300px; height: 300px; }
  .future { gap: 10px; }
  .ftile { height: 150px; border-radius: 20px; }
  .ftile__sil { width: 112px; bottom: -8px; }
  .ftile__sun { width: 104px; height: 104px; }
  .ftile__q { font-size: 2.4rem; }
  .ftile .flag { width: 30px; height: 30px; right: 8px; top: 8px; }
  .langbar { margin-top: -30px; margin-bottom: -76px; padding-left: 0; padding-right: 0; }
  .langbar__arrow { display: none; }
  .where { display: grid; grid-template-columns: 1fr 1fr; }
  .where li, .where li > * { flex-direction: column; align-items: flex-start; gap: 4px; }
  .where li { flex-direction: row; align-items: center; gap: 8px; }
  .langbar__list { padding-left: 12px; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .langbar__list { justify-content: flex-start; }
  .ask-grid { grid-template-columns: 1fr; }
  .contact__head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; }
  .contact__text h2 { margin: 0 auto; }
  .flag { width: 28px; height: 28px; }
  .founder-cta__anya { display: none; }
  .row--duo .device--video { width: 47vw; }
  .device--back { margin-right: -13vw; }
  .device--front { margin-top: 70px; }
  .vs__table { grid-template-columns: 1.25fr 1fr 1fr 1fr; margin-top: 180px; }
  .vs__col { left: calc(100% * 1.25 / 4.25 + 3px); width: calc(100% * 1 / 4.25 - 6px); border-radius: 22px; }
  .vs__peek { width: 130px; }
  .vs__row > span { padding: 14px 5px; }
  .vs__row--head > span { font-size: 1rem; }
  .vs__row--head .vs__us { font-size: 1.1rem; }
  .vs__feat { font-size: .86rem; line-height: 1.25; }
  .vs__us b, .vs__them small { font-size: .74rem; }
  .vs__us .yes { width: 26px; height: 26px; }
  .vs__them .no, .vs__them .part { width: 24px; height: 24px; }
  .float--band { display: none; }
  .afr { grid-template-columns: 1fr; }
  .afr__girl { width: 160px; justify-self: end; margin-top: -10px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__left { border-right: 0; border-bottom: 3px dashed rgba(169, 79, 0, .22); border-radius: 34px 34px 0 0; padding: 26px 20px 20px; }
  .ticket__mystery { width: 140px; }
  .ticket__right { padding: 28px 22px 26px; }
  .ticket__stamp { width: 62px; right: 14px; top: -24px; }
  .tphone { width: 320px; height: 660px; }
  .tutor--faq { width: 260px; top: 96px; }
  .bubble--faq { top: 340px; }
  .final__card { padding: 44px 20px 28px; }
  .foot { grid-template-columns: 1fr 1fr; padding-bottom: 120px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .mobilebar { display: block; position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 85; transform: translateY(170%); transition: transform .4s var(--spring); }
  .mobilebar.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard[open], .fcard__anya, .fcard__dots i { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
.final__bubble.popin { animation: popIn .45s var(--spring), bubbleBob 4s ease-in-out .45s infinite; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } }

/* ---------- our own scrollbar: an orange candy stick on an espresso track ---------- */
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: #2A1D14; }
::-webkit-scrollbar-corner { background: #2A1D14; }
::-webkit-scrollbar-thumb {
  border-radius: 999px; border: 3px solid #2A1D14; min-height: 60px;
  background: repeating-linear-gradient(-45deg, #E8700A 0 7px, #FFA347 7px 14px);
  box-shadow: inset 0 -4px 0 rgba(169, 79, 0, .9), inset 0 3px 0 rgba(255, 255, 255, .38);
}
::-webkit-scrollbar-thumb:hover { background: repeating-linear-gradient(-45deg, #F27F17 0 7px, #FFB866 7px 14px); }
::-webkit-scrollbar-thumb:active { background: repeating-linear-gradient(-45deg, #C45A00 0 7px, #E8700A 7px 14px); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .25); }
/* browsers without the styled kind (Firefox) still get the colours */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #E8700A #2A1D14; }
}
