/* getbloom.cloud homepage horizon (2026-11-14): the sign-in art's planet,
   lit rim, grain and mascot rising at the foot of the light hero, under the
   headline and the Explore button. Decoration only (aria-hidden). The mascot
   uses the product's own face (bloom-kit.css, copied from the portal). */
.hero .home-horizon {
  --hz-rgb: 44, 94, 234;
  --hz-accent: #2c5eea;
  --hz-y: 102%;
  --hz-crest: 143px;
  position: absolute;
  inset: auto 0 0;
  height: 460px;
  z-index: 1;
  pointer-events: none;
}
.hero .home-horizon-ground,
.hero .home-horizon-rim {
  position: absolute;
  inset: 0;
}
.hero .home-horizon-ground {
  background:
    radial-gradient(135% 72% at 50% var(--hz-y), color-mix(in srgb, var(--hz-accent) 42%, black) 0 46%, transparent 46.3%),
    radial-gradient(135% 72% at 50% var(--hz-y), transparent 41%, rgba(var(--hz-rgb), .22) 44%, rgba(255, 255, 255, .9) 46%, rgb(var(--hz-rgb)) 48.5%, rgba(var(--hz-rgb), .3) 57%, transparent 74%);
}
/* The rim again, brighter, through a random grain: the dithered glow. */
.hero .home-horizon-rim {
  background: radial-gradient(135% 72% at 50% var(--hz-y), transparent 44%, #fff 46.2%, rgba(var(--hz-rgb), .95) 49%, rgba(var(--hz-rgb), .5) 58%, transparent 76%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 -2.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 -2.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 200px 200px;
  mask-size: 200px 200px;
}
/* Film grain on the planet only, so the light sky and the cards stay clean. */
.hero .home-horizon::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(135% 72% at 50% var(--hz-y), #000 0 47%, transparent 52%);
  mask-image: radial-gradient(135% 72% at 50% var(--hz-y), #000 0 47%, transparent 52%);
}
.hero .home-horizon-mascot {
  position: absolute;
  left: 50%;
  bottom: calc(var(--hz-crest) - 8px);
  translate: -50% 0;
  line-height: 0;
  filter: drop-shadow(0 16px 26px rgba(20, 37, 63, .28)) drop-shadow(0 0 34px rgba(var(--hz-rgb), .5));
  animation: home-horizon-float 6s cubic-bezier(.22, 1, .36, 1) infinite alternate;
}
@keyframes home-horizon-float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
/* The hero's footer line sits on the planet now: light text. */
.hero .hero-bottom { z-index: 4; color: #dfe8ff; }
.hero .hero-bottom .mono,
.hero .hero-bottom a,
.hero .hero-bottom button { color: #dfe8ff; border-color: rgba(255, 255, 255, .35); }
/* "Pause motion" stops the mascot too (app.js sets .motion-paused). */
.motion-paused .hero .home-horizon-mascot,
.motion-paused .hero .home-horizon-mascot * { animation-play-state: paused !important; }

/* Room for the mascot under the button at every width. The hero used to be a
   fixed 792px tall, and on wide screens the bigger headline pushed the button
   down into the mascot. It now grows to fit: the copy keeps space below it for
   the crest (143px), the mascot (104px) and a 48px gap. */
@media (min-width: 761px) {
  [data-public-page="home"] .hero { height: auto; min-height: 792px; }
  [data-public-page="home"] .hero .hero-copy { padding-bottom: 288px; }
}

@media (max-width: 760px) {
  .hero .home-horizon { --hz-crest: 106px; height: 340px; }
  .hero .home-horizon-mascot { scale: .78; transform-origin: bottom center; }
  [data-public-page="home"] .hero { padding-bottom: 210px; }
  .hero .hero-bottom .mono { max-width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .home-horizon-mascot { animation: none; }
}
@media (forced-colors: active) {
  .hero .home-horizon { display: none; }
  .hero .hero-bottom, .hero .hero-bottom .mono, .hero .hero-bottom a, .hero .hero-bottom button { color: CanvasText; }
}
