#splash.has-feature-promo > .splash-fish-button,
#splash.has-feature-promo > h1:not(.splash-math-wordmark),
#splash.has-feature-promo > .splash-math-brand,
#splash.has-feature-promo > .splash-prompt {
  display: none !important;
}

#splashFeaturePromo[hidden] { display: none !important; }
#splashFeaturePromo {
  --promo-accent: #8b5cf6;
  display: flex;
  position: relative;
  width: min(560px, calc(100vw - 34px));
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 22px 24px 20px;
  text-align: center;
  isolation: isolate;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .26s ease, transform .32s cubic-bezier(.2,.75,.25,1);
}
#splashFeaturePromo::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(340px, 75vw);
  height: min(220px, 48vw);
  top: 12px;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--promo-accent) 13%, transparent), transparent 72%);
  filter: blur(24px);
  transform: translateX(-50%);
  pointer-events: none;
}
#splashFeaturePromo.is-entering,
#splashFeaturePromo.is-leaving {
  opacity: 0;
  transform: translateY(9px) scale(.985);
}
.splash-promo-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(100,110,130,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.56);
  color: #667085;
  font: 400 19px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.splash-promo-close:hover { background: rgba(255,255,255,.88); transform: rotate(6deg); }
.splash-promo-eyebrow {
  margin: 8px 0 5px;
  color: var(--promo-accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.splash-promo-title {
  max-width: 100%;
  margin: 0;
  color: #171923;
  font-size: clamp(1.65rem, 3.7vw, 2.5rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.splash-promo-description {
  max-width: 430px;
  margin: 12px 0 18px;
  color: #707789;
  font-size: clamp(.9rem, 1.45vw, 1rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.splash-promo-action {
  min-width: 148px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid color-mix(in srgb, var(--promo-accent) 30%, white);
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--promo-accent) 92%, white), var(--promo-accent));
  box-shadow: 0 9px 24px color-mix(in srgb, var(--promo-accent) 24%, transparent), inset 0 1px rgba(255,255,255,.5);
  color: #fff;
  font: 680 13px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.splash-promo-action:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--promo-accent) 30%, transparent), inset 0 1px rgba(255,255,255,.55); }
.splash-promo-action:active { transform: translateY(0) scale(.98); }
.splash-feature-promo :focus-visible { outline: 2px solid var(--promo-accent); outline-offset: 4px; }

.promo-voice { --promo-accent: #965cf0 !important; }
.splash-promo-voice-orb {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  margin-bottom: 1px;
  border: 1px solid rgba(156,118,241,.25);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(217,204,255,.68) 43%, rgba(186,162,255,.18) 76%, transparent 78%);
  box-shadow: 0 0 38px rgba(146,101,232,.14), inset 0 1px 8px rgba(255,255,255,.8);
  animation: splashPromoFloat 4.2s ease-in-out infinite;
}
.splash-promo-voice-core { color: #625b70; font-size: 25px; font-weight: 720; letter-spacing: -.07em; }
.splash-promo-voice-core::before,
.splash-promo-voice-core::after { content: ""; display: inline-block; width: 3px; height: 15px; margin: 0 5px; border-radius: 8px; background: #9b72e7; vertical-align: -2px; opacity: .72; }
.splash-promo-voice-core::after { height: 23px; margin-left: 7px; vertical-align: -6px; }
.splash-promo-wave { position: absolute; right: -19px; bottom: 19px; display: flex; align-items: center; gap: 3px; height: 25px; }
.splash-promo-wave i { width: 3px; height: 8px; border-radius: 9px; background: #9c6df1; animation: splashPromoWave .9s ease-in-out infinite alternate; }
.splash-promo-wave i:nth-child(2), .splash-promo-wave i:nth-child(4) { height: 17px; animation-delay: .18s; }
.splash-promo-wave i:nth-child(3) { height: 23px; animation-delay: .34s; }
.splash-promo-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #c29aff; box-shadow: 0 0 12px #b892ff; }
.splash-promo-spark.spark-a { top: 3px; right: 17px; }
.splash-promo-spark.spark-b { top: 30px; left: -8px; width: 4px; height: 4px; }
.splash-promo-spark.spark-c { bottom: 5px; left: 22px; width: 5px; height: 5px; }

.promo-math { --promo-accent: #2185b8 !important; }
.splash-promo-math-word { color: #1682b6; text-shadow: 0 2px 18px rgba(39,154,205,.2); }
.splash-promo-math-art {
  position: relative;
  display: grid;
  width: 132px;
  height: 112px;
  place-items: center;
  margin-bottom: 4px;
  color: #2185b8;
}
.splash-promo-math-halo { position: absolute; inset: 10px 18px; border: 1px solid rgba(40,157,208,.22); border-radius: 50%; box-shadow: 0 0 30px rgba(47,165,216,.16), inset 0 0 20px rgba(47,165,216,.06); }
.splash-promo-math-sigma { z-index: 1; font: 500 72px/.9 Georgia, serif; color: #2389bc; text-shadow: 0 0 20px rgba(39,154,205,.24); }
.splash-promo-math-art > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #49a9d1; box-shadow: 0 0 9px rgba(37,144,189,.45); animation: splashPromoDot 2.6s ease-in-out infinite; }
.splash-promo-math-art > i:nth-of-type(1) { top: 13px; left: 28px; }
.splash-promo-math-art > i:nth-of-type(2) { top: 25px; right: 16px; animation-delay: .4s; }
.splash-promo-math-art > i:nth-of-type(3) { right: 11px; bottom: 23px; width: 4px; height: 4px; animation-delay: .8s; }
.splash-promo-math-art > i:nth-of-type(4) { bottom: 12px; left: 27px; animation-delay: 1.1s; }
.splash-promo-math-art > i:nth-of-type(5) { top: 50%; left: 4px; width: 3px; height: 3px; animation-delay: .6s; }

.promo-memory { --promo-accent: #8d67db !important; }
.splash-promo-memory-art { position: relative; display: grid; width: 112px; height: 112px; place-items: center; margin-bottom: 5px; }
.splash-promo-memory-art img { z-index: 1; width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 5px 13px rgba(124,88,230,.2)); }
.splash-promo-memory-art .memory-orbit { position: absolute; border: 1px solid rgba(145,117,218,.24); border-radius: 50%; }
.splash-promo-memory-art .orbit-one { inset: 12px 3px; transform: rotate(-28deg); }
.splash-promo-memory-art .orbit-two { inset: 5px 17px; transform: rotate(31deg); }
.splash-promo-memory-art > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #a887ec; box-shadow: 0 0 10px rgba(150,113,230,.56); }
.splash-promo-memory-art > i:nth-of-type(1) { top: 12px; right: 17px; }
.splash-promo-memory-art > i:nth-of-type(2) { right: 3px; bottom: 31px; width: 4px; height: 4px; }
.splash-promo-memory-art > i:nth-of-type(3) { bottom: 11px; left: 25px; }
.splash-promo-memory-art > i:nth-of-type(4) { top: 34px; left: 4px; width: 3px; height: 3px; }

.promo-studio { --promo-accent: #278cbd !important; }
.splash-promo-studio-art { position: relative; width: 156px; height: 116px; margin-bottom: 6px; perspective: 460px; }
.studio-page { position: absolute; inset: 2px 24px 0; overflow: hidden; border: 1px solid rgba(60,157,197,.25); border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,249,253,.84)); box-shadow: 0 14px 34px rgba(46,136,170,.13), inset 0 1px white; transform: rotateX(7deg) rotateZ(-3deg); }
.studio-page::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 18px, rgba(111,183,212,.18) 18px 19px); }
.studio-page > span:not(.studio-note-pin):not(.studio-shape) { position: relative; display: block; width: 72%; height: 5px; margin: 16px 0 0 15px; border-radius: 4px; background: rgba(73,107,128,.24); }
.studio-page > .studio-page-title { width: 45% !important; height: 6px !important; margin-top: 15px !important; background: rgba(50,110,140,.4) !important; }
.studio-page > .studio-selected { width: 55% !important; margin-top: 13px !important; background: rgba(63,164,207,.52) !important; box-shadow: 0 0 10px rgba(55,163,207,.2); }
.studio-note-pin { position: absolute; z-index: 1; top: 49px; right: 20px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(43,154,196,.25); border-radius: 50%; background: rgba(255,255,255,.92); color: #278cbd; font-size: 13px; box-shadow: 0 3px 10px rgba(43,154,196,.15); }
.studio-shape { position: absolute; right: 14px; bottom: 13px; width: 22px; height: 22px; border: 1.5px solid rgba(43,154,196,.65); border-radius: 4px; transform: rotate(45deg); }
.splash-promo-studio-art > i { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #72c8e5; box-shadow: 0 0 10px rgba(49,168,211,.55); animation: splashPromoDot 2.4s ease-in-out infinite; }
.splash-promo-studio-art > i:nth-of-type(1) { top: 18px; right: 14px; }
.splash-promo-studio-art > i:nth-of-type(2) { top: 57px; left: 8px; animation-delay: .4s; }
.splash-promo-studio-art > i:nth-of-type(3) { bottom: 9px; left: 34px; width: 4px; height: 4px; animation-delay: .8s; }
.splash-promo-title .splash-promo-math-word { white-space: nowrap; }

@keyframes splashPromoWave { from { transform: scaleY(.45); opacity: .62; } to { transform: scaleY(1.12); opacity: 1; } }
@keyframes splashPromoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes splashPromoDot { 0%, 100% { opacity: .48; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.24); } }

body.ui-dark-mode #splashFeaturePromo .splash-promo-title { color: #f5f6fa; }
body.ui-dark-mode #splashFeaturePromo .splash-promo-description { color: #b6bdcc; }
body.ui-dark-mode #splashFeaturePromo .splash-promo-close { border-color: rgba(210,218,232,.18); background: rgba(30,34,44,.56); color: #c0c6d2; }
body.ui-dark-mode #splashFeaturePromo .splash-promo-close:hover { background: rgba(54,60,73,.86); color: white; }
body.ui-dark-mode .splash-promo-math-word { color: #64bde2; }
body.ui-dark-mode .splash-promo-voice-orb { background: radial-gradient(circle at 35% 25%, rgba(218,210,238,.9), rgba(126,104,163,.58) 48%, rgba(68,57,86,.18) 78%, transparent 80%); }
body.ui-dark-mode .splash-promo-voice-core { color: #ece4fb; }
body.ui-dark-mode .studio-page { border-color: rgba(115,190,219,.25); background: linear-gradient(145deg, rgba(39,51,65,.95), rgba(30,42,56,.9)); }
body.ui-dark-mode .studio-page::before { background: repeating-linear-gradient(to bottom, transparent 0 18px, rgba(110,171,197,.16) 18px 19px); }
body.ui-dark-mode .studio-page > span:not(.studio-note-pin):not(.studio-shape) { background: rgba(205,222,232,.25); }
body.ui-dark-mode .studio-page > .studio-page-title { background: rgba(155,207,225,.45) !important; }

@media (max-width: 700px) {
  #splashFeaturePromo { width: min(440px, calc(100vw - 28px)); min-height: 300px; padding: 20px 16px 16px; }
  .splash-promo-close { top: 0; right: 0; }
  .splash-promo-description { max-width: 360px; font-size: .88rem; line-height: 1.55; margin-top: 10px; }
  .splash-promo-voice-orb { width: 98px; height: 98px; }
  .splash-promo-voice-orb > svg { width: 73px; }
  .splash-promo-math-art { transform: scale(.9); margin-top: -5px; margin-bottom: -1px; }
  .splash-promo-memory-art { transform: scale(.9); margin-top: -5px; margin-bottom: -1px; }
  .splash-promo-studio-art { transform: scale(.9); margin-top: -5px; margin-bottom: -1px; }
}

@media (prefers-reduced-motion: reduce) {
  #splashFeaturePromo, #splashFeaturePromo * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
