/* Product-led direction, based on the supplied floating-workspace reference.
   The example is HTML, non-interactive, and explicitly illustrative. */
.brand-hero {
  background:
    radial-gradient(ellipse at 95% 10%, #fff0e9 0, transparent 42%),
    radial-gradient(ellipse at 8% 85%, #eaf8f1 0, transparent 42%),
    #fff;
}
.brand-hero .hero {
  grid-template-columns: .98fr 1.02fr;
  gap: 48px;
  min-height: 740px;
  padding-block: 48px 56px;
}
.brand-hero .eyebrow { color: #2154ad; }
.brand-hero h1 { max-width: 13ch; font-size: clamp(3rem, 1.7rem + 3vw, 4.4rem); }
.brand-hero .hero-emphasis { color: inherit; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand-hero h1 {
    background-image: linear-gradient(172deg, #294c9b 4%, #515174 48%, #396c63 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .brand-hero h1 {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}
.brand-hero .hero-copy { font-size: 1.0625rem; }
.brand-hero .button {
  background: #101b42;
  border-color: #101b42;
  border-radius: 12px;
  box-shadow: 0 9px 20px -10px #101b4273;
}
.brand-hero .button:hover { background: #2459da; border-color: #2459da; }
.brand-hero .text-link {
  min-height: 52px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce2ed;
  border-radius: 12px;
  background: #ffffffc9;
  text-decoration: none;
}
.brand-hero .text-link:hover { border-color: #8296c1; background: #fff; }
.brand-hero .cta-row { gap: 12px; }
.product-scene { min-width: 0; width: 100%; margin: 0; align-self: center; }
.product-stage { position: relative; height: 580px; isolation: isolate; }
.product-backdrop {
  position: absolute;
  inset: 24px 6px 35px 28px;
  border-radius: 42px;
  background:
    radial-gradient(ellipse at 23% 21%, #1c47a5 0, transparent 47%),
    radial-gradient(ellipse at 98% 8%, #a96838 0, transparent 36%),
    radial-gradient(ellipse at 90% 42%, #854550 0, transparent 48%),
    radial-gradient(ellipse at 78% 100%, #087950 0, transparent 50%),
    #101c41;
  box-shadow: 0 28px 48px -28px #1528548c, inset 0 0 0 1px #ffffff17;
}
.product-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(#ffffff20 .7px, transparent .7px);
  background-size: 23px 23px;
  mask-image: linear-gradient(#0008, transparent 90%);
}
.product-workspace {
  position: absolute;
  left: 3%;
  top: 80px;
  width: 78%;
  min-height: 330px;
  border: 1px solid #fff;
  border-radius: 25px;
  background: #f9fafef7;
  box-shadow: 0 28px 60px -24px #050e3475, 0 2px 5px #ffffff6b inset;
  animation: workspace-drift 9s ease-in-out infinite;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid #e0e5f1;
  font-size: 12px;
  font-weight: 700;
  color: #465474;
}
.workspace-logo { width: 90px; height: 30px; object-fit: contain; mix-blend-mode: multiply; }
.workspace-menu { margin-left: auto; letter-spacing: 2px; color: #7f8a9f; }
.workspace-body { padding: 21px 23px 27px; }
.workspace-body > strong {
  display: block;
  font: 800 clamp(1.25rem, 1.1rem + .4vw, 1.55rem)/1.35 var(--font-display);
  letter-spacing: -.035em;
  color: #14203f;
}
.workspace-track { display: flex; gap: 24px; margin: 18px 0; border-bottom: 1px solid #e1e6f0; }
.workspace-track span { padding: 0 0 9px; font-size: 11px; font-weight: 700; color: #69758b; }
.workspace-track .is-current { color: #285cce; border-bottom: 2px solid #3f6ae9; }
.workspace-observation {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #eef3ff;
  border: 1px solid #dfe7fb;
  border-radius: 13px;
}
.product-stage p { margin: 0; color: #4b5872; font-size: 13px; line-height: 1.55; }
.product-stage .product-label { margin-bottom: 5px; font-size: 11px; font-weight: 700; color: #263858; }
.product-icon { flex: 0 0 33px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; font-size: 20px; font-weight: 700; }
.icon-note { background: #dce7ff; position: relative; }
.icon-note::before { content: ""; width: 13px; height: 16px; border: 1.5px solid #3a6edc; border-radius: 3px; }
.icon-note::after { content: ""; position: absolute; width: 6px; height: 1px; background: #3a6edc; top: 13px; box-shadow: 0 4px #3a6edc; }
.workspace-order { display: flex; gap: 7px; padding-top: 18px; }
.workspace-order span { height: 5px; width: 30px; border-radius: 8px; background: #e1e6ef; }
.workspace-order span:first-child { background: #a5bbed; width: 48px; }
.product-satellite {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #ebedf4;
  border-radius: 18px;
  box-shadow: 0 20px 38px -20px #101b4259, 0 3px 9px #101b420b;
  animation: satellite-drift 8s ease-in-out infinite;
}
.satellite-example { right: 0; top: 8px; padding: 13px 18px 13px 13px; align-items: center; font-size: 12px; font-weight: 700; color: #334260; animation-delay: -2s; }
.icon-example { background: #ffe8d3; position: relative; }
.icon-example::before { content: ""; width: 13px; height: 15px; border: 1.5px solid #b96522; border-radius: 3px; box-shadow: 4px -4px 0 -2px #ffe8d3, 4px -4px 0 -1px #b96522; }
.satellite-question { right: -4px; top: 360px; width: 290px; animation-delay: -4s; }
.icon-question { color: #b75058; background: #fbe6e6; }
.satellite-question { border-color: #f0dcd9; background: #fffafa; }
.satellite-question .product-label { color: #8c434a; }
.satellite-next { left: 0; top: 473px; width: 365px; animation-delay: -1s; }
.icon-next { color: #258568; background: #e0f5ec; }
.satellite-next { border-color: #cfe6da; background: #fafffc; }
.satellite-next .product-label { color: #28704f; }
.product-scene figcaption { margin: 22px 0 0 28px; max-width: 470px; font-size: 11px; line-height: 1.6; color: #687389; }
.product-motion-control { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0 28px; min-height: 28px; font-size: 11px; font-weight: 500; color: #53627d; cursor: pointer; }
.product-motion-control input { appearance: auto; width: 13px; height: 13px; margin: 0; accent-color: #2859dc; cursor: pointer; }
.product-scene:has(.product-motion-control input:checked) .product-workspace,
.product-scene:has(.product-motion-control input:checked) .product-satellite { animation-play-state: paused; }
@keyframes workspace-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes satellite-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* Supporting pages retain their editorial structure and clear boundaries.
   Their real navigation and examples carry the same layered surface language. */
.mosaeli-home .header-actions .button,
.mosaeli-home .closing .button { border-radius: 12px; background: #101b42; border-color: #101b42; }
.mosaeli-home .header-actions .button:hover,
.mosaeli-home .closing .button:hover { background: #2459da; border-color: #2459da; }
.mosaeli-how .page-hero,
.mosaeli-families .page-hero {
  background: radial-gradient(ellipse at 90% 10%, #f1effb, transparent 60%), #fafcfe;
}
.mosaeli-how .anchor-nav { position: relative; padding: 35px 22px; isolation: isolate; }
.mosaeli-how .anchor-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 24px;
  border-radius: 30px;
  background: radial-gradient(ellipse at 80% 0, #393774, transparent 65%), radial-gradient(ellipse at 95% 100%, #115958, transparent 65%), #12234b;
}
.mosaeli-how .anchor-nav a {
  gap: 20px;
  min-height: 75px;
  margin: 0 0 12px;
  padding: 17px 23px;
  border: 1px solid #e8edf6;
  border-radius: 13px;
  background: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px -13px #07132a80;
  transition: background 180ms ease-out, transform 180ms ease-out;
}
.mosaeli-how .anchor-nav a:nth-child(even) { margin-left: 20px; margin-right: -12px; }
.mosaeli-how .anchor-nav a:last-child { margin-bottom: 0; }
.mosaeli-how .anchor-nav a:hover { transform: translateX(3px); background: #f0f5ff; }
.mosaeli-how .anchor-nav a:active { transform: translateX(0); }
.mosaeli-how .example {
  position: relative;
  padding: 24px;
  border: 1px solid #e0e7f4;
  border-left: 3px solid #4679df;
  border-radius: 0 15px 15px 0;
  background: #f8faff;
  box-shadow: 0 14px 28px -22px #253d7252;
}
.mosaeli-how #clarify .example { border-left-color: #9062cf; background: #fbf9ff; }
.mosaeli-how #share .example { border-left-color: #2e9b7d; background: #f8fcfa; }
.mosaeli-families .page-hero h1 span { color: #2859dc; }
.mosaeli-families .moments-grid .feature { background: #fff; padding-inline: 24px; margin-bottom: 12px; border: 1px solid #e5eaf2; border-radius: 13px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .brand-hero .hero { gap: 24px; grid-template-columns: .95fr 1.05fr; }
  .brand-hero h1 { font-size: 3.2rem; }
  .product-stage { height: 590px; }
  .product-workspace { left: 0; width: 92%; top: 80px; }
  .workspace-toolbar { padding-inline: 17px; }
  .workspace-body { padding-inline: 17px; }
  .workspace-observation { padding: 13px; }
  .product-backdrop { inset: 24px 0 20px 12px; border-radius: 30px; }
  .satellite-question { top: 360px; right: 0; width: 270px; }
  .satellite-next { top: 493px; width: 300px; }
  .product-scene figcaption { margin-left: 12px; }
}
@media (max-width: 760px) {
  .brand-hero .hero { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding-block: 38px 40px; }
  .brand-hero h1 { font-size: clamp(2.6rem, 1.7rem + 4vw, 3.4rem); max-width: 14ch; }
  .brand-hero .hero-copy { font-size: 1rem; }
  .brand-hero .cta-row { gap: 12px; }
  .brand-hero .text-link { padding-inline: 15px; }
  .product-scene { width: 100%; max-width: 540px; justify-self: center; }
  .product-stage { height: 570px; }
  .product-backdrop { inset: 22px 0 28px 12px; border-radius: 30px; }
  .product-workspace { left: 0; top: 85px; width: 94%; border-radius: 20px; min-height: 330px; }
  .workspace-toolbar { padding: 16px; font-size: 11px; }
  .workspace-logo { width: 78px; height: 26px; }
  .workspace-body { padding: 18px 16px 22px; }
  .workspace-body > strong { font-size: 1.3rem; }
  .workspace-track { gap: 23px; margin-block: 15px; }
  .workspace-observation { gap: 10px; padding: 12px; }
  .product-stage p { font-size: 12px; }
  .product-stage .product-label { font-size: 10px; }
  .product-satellite { gap: 10px; padding: 15px; border-radius: 15px; }
  .satellite-example { padding: 11px 14px 11px 11px; font-size: 11px; right: 0; }
  .satellite-question { top: 358px; right: 0; width: 260px; }
  .satellite-next { top: 469px; width: min(310px, 94%); }
  .product-scene figcaption { margin: 18px 10px 0; max-width: none; font-size: 11px; }
  .product-motion-control { margin-left: 10px; }
  .mosaeli-how .anchor-nav { padding: 25px 14px 25px 0; }
  .mosaeli-how .anchor-nav a { padding: 15px 19px; min-height: 66px; font-size: 1.05rem; }
  .mosaeli-how .anchor-nav a:nth-child(n+3) { border-top: 1px solid #e8edf6; }
  .mosaeli-how .anchor-nav a:nth-child(even) { margin-right: -4px; }
  .mosaeli-how .example { padding: 20px; }
  .mosaeli-families .moments-grid .feature { padding: 22px; }
}
@media (max-width: 360px) {
  .workspace-toolbar { gap: 7px; padding-inline: 13px; font-size: 10px; }
  .workspace-logo { width: 68px; height: 23px; }
  .workspace-menu { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .product-workspace, .product-satellite { animation: none; transform: none; }
  .product-motion-control { display: none; }
  .mosaeli-how .anchor-nav a { transition: none; }
  .mosaeli-how .anchor-nav a:hover { transform: none; }
}
