/* Homepage hero redesign and embedded editor light theme. */
:root {
  --hero-cream: #f7f3eb;
  --hero-ink: #18191b;
  --hero-purple: #8b3dff;
  --hero-purple-soft: #aa72ff;
  --hero-purple-super-soft: #cbb5ff;
  --body: #f7f3eb;
}

body { background: var(--hero-cream); }

/* Homepage header uses its own full-width shell instead of Bootstrap's capped container. */
#js-site-header.site-header-shell {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(18px, 3.2vw, 64px);
  background: var(--hero-cream);
}

#js-site-header.site-header-shell .site-nav {
  width: 100%;
}

/* Homepage announcement is paused; keep its shared implementation available. */
#js-top-notice { display: none !important; }

/* Reuse the former banner Subscribe pill inside the primary navigation. */
#js-nav-menu a.nav-subscribe-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  margin-left: 0;
  padding: 7px 13px;
  border: 1px solid rgba(139, 61, 255, 0);
  border-radius: 999px;
  background: #fff;
  color: var(--hero-purple) !important;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

#js-nav-menu a.nav-subscribe-link:hover,
#js-nav-menu a.nav-subscribe-link:focus {
  background: rgba(255, 255, 255, .92);
  color: #9e77f3 !important;
}

@media (max-width: 991px) {
  #js-site-header.site-header-shell {
    padding-inline: 16px;
  }

  #js-nav-menu[data-open="true"] a.nav-subscribe-link {
    display: inline-flex;
    width: 100%;
    margin-left: 0;
    padding: 10px 12px;
    border: 1px solid rgba(139, 61, 255, .34);
    border-radius: 999px;
    background: #fff;
    color: var(--hero-purple) !important;
    text-align: center;
  }
}

.hero-showcase-shell {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

#blur-app .editor-ad-layout--no-ads {
  gap: 0;
}

#blur-app .editor-ad-grid--no-ads {
  min-height: 0;
  padding-inline: 0;
}

.hero-showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(760px, calc(100svh - var(--hero-offset-h, 0px)));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(42px, 7vh, 84px) 0 clamp(36px, 6vh, 70px);
  background: var(--hero-cream);
  color: var(--hero-ink);
}

.hero-showcase__glow { display: none; }

.hero-showcase__copy {
  position: relative;
  z-index: 3;
  width: min(900px, calc(100% - 32px));
  margin: 0 auto clamp(28px, 4.5vh, 48px);
  text-align: center;
}

.hero-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--hero-purple-super-soft);
  color: #18191b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1;
  box-shadow: none;
}

.hero-showcase__eyebrow strong { font-weight: 800; }

.hero-showcase h1 {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.hero-showcase h1 span { color: #18191b; }

.hero-showcase__copy > p {
  max-width: 610px;
  margin: 18px auto 0;
  color: #66646a;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

.hero-carousel {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-carousel:active { cursor: grabbing; }
.hero-carousel::before,
.hero-carousel::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: min(7vw, 110px);
  pointer-events: none;
}
.hero-carousel::before { display: none; }
.hero-carousel::after { display: none; }

.hero-carousel__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(14px, 1.4vw, 26px);
  padding: 64px 0 34px;
  will-change: transform;
}

.hero-carousel__item {
  /* Five complete cards plus one clipped card on either edge = seven visible. */
  flex: 0 0 clamp(180px, 17vw, 340px);
  height: clamp(245px, 22vw, 400px);
  transform-origin: center;
}

.hero-carousel__item--one { transform: rotate(-5deg) translateY(5px); }
.hero-carousel__item--two { transform: rotate(4deg) translateY(-10px); }
.hero-carousel__item--three { transform: rotate(-2deg) translateY(12px); }
.hero-carousel__item--four { transform: rotate(5deg) translateY(-4px); }
.hero-carousel__item--five { transform: rotate(-4deg) translateY(8px); }
.hero-carousel__item--six { transform: rotate(3deg) translateY(-12px); }
.hero-carousel__item--seven { transform: rotate(-5deg) translateY(3px); }
.hero-carousel__item--eight { transform: rotate(4deg) translateY(11px); }
.hero-carousel__item--nine { transform: rotate(-3deg) translateY(-9px); }
.hero-carousel__item--ten { transform: rotate(3deg) translateY(7px); }

.hero-art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(18px, 1.6vw, 28px);
  background: #ddd4c7;
  animation: hero-card-float 7s ease-in-out infinite alternate;
}

.hero-carousel__item:nth-child(3n + 2) .hero-art { animation-delay: -2.3s; animation-duration: 8.4s; }
.hero-carousel__item:nth-child(3n) .hero-art { animation-delay: -4.6s; animation-duration: 6.8s; }
.hero-carousel.is-user-controlled .hero-art { animation-play-state: paused; }

@keyframes hero-card-float {
  from { translate: 0 -3px; }
  to { translate: 0 5px; }
}

.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: scale(1.03);
}

.hero-art--gaussian img { filter: blur(10px) saturate(1.15); transform: scale(1.18); }
.hero-art--pixel img { width: 18%; height: 18%; margin: 41%; image-rendering: pixelated; transform: scale(6.3); }
.hero-art--color img { filter: hue-rotate(245deg) saturate(1.5) contrast(1.06); transform: scale(1.08); }
.hero-art--color::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(163, 56, 255, .55), rgba(255, 77, 188, .15)); mix-blend-mode: color; }
.hero-art--motion img { filter: blur(7px) saturate(1.25); transform: scale(1.25) skewX(-4deg); }
.hero-art--motion::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(255,255,255,.12) 17px 19px); mix-blend-mode: overlay; }
.hero-art--radial img { filter: blur(4px) saturate(1.32); transform: scale(1.18); }
.hero-art--radial::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%, transparent 0 16%, rgba(247,243,235,.04) 25%, rgba(247,243,235,.42) 100%); }
.hero-art--glass img { transform: scale(1.12); filter: saturate(1.15); }
.hero-art--glass::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(117deg, transparent 0 38px, rgba(255,255,255,.32) 39px 60px, transparent 61px 92px); mix-blend-mode: soft-light; backdrop-filter: blur(3px); }
.hero-art--bloom img { filter: saturate(1.35) brightness(1.08) blur(1px); transform: scale(1.08); }
.hero-art--bloom::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.64), transparent 32%), radial-gradient(circle at 72% 70%, rgba(255,193,58,.32), transparent 36%); mix-blend-mode: screen; }
.hero-art--halftone img { filter: contrast(1.16) saturate(.88); }
.hero-art--halftone::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,17,23,.28) 1.2px, transparent 1.4px); background-size: 6px 6px; mix-blend-mode: multiply; }

.hero-art--text span,
.hero-art--halftone span {
  position: absolute;
  z-index: 3;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 42px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .82;
  text-shadow: 0 8px 22px rgba(0,0,0,.32);
}
.hero-art--text span { left: 10%; bottom: 9%; transform: rotate(-8deg); }
.hero-art--text::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(34,19,47,.62)); }
.hero-art--halftone span { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(5deg); font-size: clamp(34px, 3.3vw, 56px); }

.hero-upload-prompt {
  position: relative;
  z-index: 5;
  display: block;
  width: min(560px, calc(100% - 24px));
  margin: clamp(18px, 3vh, 32px) auto 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  border-radius: 24px;
  padding: 30px;
  width: fit-content;
}

.hero-upload-prompt__free {
  position: absolute;
  top: 90px;
  right: calc(50% + 170px);
  display: block;
  width: 108px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-upload-prompt__private {
  position: absolute;
  bottom: calc(100% - 60px);
  left: calc(50% + 180px);
  display: block;
  width: 110px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-upload-prompt__main { display: block; color: #242226; font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; }
.hero-upload-prompt__browse { color: var(--hero-purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-upload-prompt__types { display: block; margin-top: 6px; color: #88838c; font-size: 13px; }
.hero-upload-prompt__privacy,
.hero-upload-loading__privacy { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 28px; color: #77727c; font-size: 14px; font-weight: 500; }
.hero-upload-prompt__privacy svg,
.hero-upload-loading__privacy svg { width: 16px; height: 16px; }

.hero-upload-loading {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--hero-cream);
  text-align: center;
}
.hero-upload-loading[hidden] { display: none !important; }
.hero-upload-loading__label { color: #1d1b1f; font-size: 15px; font-weight: 700; }
.hero-upload-loading__percent { margin-top: 5px; color: #6d6871; font-size: 12px; font-weight: 600; }
.hero-upload-loading__bar { width: min(330px, 72vw); height: 7px; margin-top: 12px; overflow: hidden; border: 0; border-radius: 999px; background: #d8d4dc; }
.hero-upload-loading__bar::-webkit-progress-bar { border-radius: 999px; background: #d8d4dc; }
.hero-upload-loading__bar::-webkit-progress-value { border-radius: 999px; background: #8b3dff; }
.hero-upload-loading__bar::-moz-progress-bar { border-radius: 999px; background: #8b3dff; }
.hero-showcase.is-preparing { min-height: min(760px, calc(100svh - var(--hero-offset-h, 0px))); }/* Full-window private upload target. */
.globalDropOverlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: #8b3dff;
  color: #fff;
  backdrop-filter: none;
}
.globalDropOverlay[hidden] { display: none !important; }
.globalDropOverlay__inner { text-align: center; }
.globalDropOverlay__icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.globalDropOverlay__title { font-size: clamp(28px, 4vw, 50px); font-weight: 600; letter-spacing: -.04em; }
.globalDropOverlay__sub { margin-top: 6px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 500; }

/* Embedded editor light mode. */
#blur-app {
  color-scheme: light;
  --bg: #f4f1eb;
  --panel: #ffffff;
  --panel2: #faf9fc;
  --panel3: #f1eef5;
  --text: #1b1920;
  --muted: rgba(27, 25, 32, .62);
  --border: rgba(27, 25, 32, .11);
  --border2: rgba(27, 25, 32, .17);
  --accent: #8b3dff;
  --accent2: #a96dff;
  --btn: rgba(27, 25, 32, .045);
  --btnHover: rgba(27, 25, 32, .08);
  --btnActive: rgba(139, 61, 255, .13);
  --shadow: rgba(44, 34, 54, .15);
  background: #f4f1eb;
}

#blur-app .app-inline-shell { border-color: rgba(27,25,32,.1); background: #f4f1eb; max-height: 800px; }
#blur-app .panel { background: #fff; box-shadow: 10px 0 35px rgba(53,39,68,.045); }
#blur-app .panel__section { background: #fff; box-shadow: 0 7px 22px rgba(53,39,68,.035); }
#blur-app .panel__section__noBorder { background: #f7f5f9; }
#blur-app .main { background: #f4f1eb; }
#blur-app .hintBox { color: #315f9b; }
#blur-app input[type="range"] { --slider-track: rgba(27,25,32,.16); --slider-track2: rgba(27,25,32,.08); }
#blur-app .select,
#blur-app .tab,
#blur-app .file__btn,
#blur-app .shapeMoreBtn,
#blur-app .textInput,
#blur-app .selectLike,
#blur-app .num,
#blur-app .colorSwatchBtn,
#blur-app .cp__svWrap,
#blur-app .cp__hex,
#blur-app .iconBtn,
#blur-app .prettySelectBtn { background: #f8f7fa; color: var(--text); }
#blur-app .select--pretty { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%20fill%3D%27none%27%20stroke%3D%27%231b1920%27%20stroke-width%3D%272.5%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E"); }
#blur-app .tab:hover,
#blur-app .file__btn:hover,
#blur-app .shapeMoreBtn:hover,
#blur-app .iconBtn:hover,
#blur-app .prettySelectBtn:hover { background: #efebf5; }
#blur-app .tab--active { background: rgba(139,61,255,.14); color: #7130c9; }
#blur-app .miniPopover,
#blur-app .colorPopover,
#blur-app .prettySelectMenu,
#blur-app .modal__card,
#blur-app .sidebarModal { background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 24px 70px rgba(44,34,54,.18); }
#blur-app .fontRow { background: #fff; }
#blur-app .fontRow:hover { background: #f6f2fa; }
#blur-app .fontPreview,
#blur-app .prettySelectItem { color: var(--text); }
#blur-app .prettySelectItem:hover { background: #f2edf7; }
#blur-app .prettySelectItem[aria-selected="true"] { background: rgba(139,61,255,.13); color: #6427ba; }
#blur-app .carouselWrap { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1.0)); }
#blur-app #carouselPrev.carouselBtn,
#blur-app #shapeCarouselPrev.carouselBtn { background: linear-gradient(90deg, #fff 10%, rgba(255,255,255,0)); color: #29252d; }
#blur-app #carouselNext.carouselBtn,
#blur-app #shapeCarouselNext.carouselBtn { background: linear-gradient(270deg, #fff 10%, rgba(255,255,255,0)); color: #29252d; }
#blur-app .effectFrame { background: #f0edf3; }
#blur-app .effectThumb { background: #e9e5ec; }
#blur-app .viewport {
  background-color: #eeeae4;
  background-image: repeating-conic-gradient(#f8f6f2 0 25%, #e8e3dc 0 50%);
  border-left: 1px solid rgba(27,25,32,.08);
}
#blur-app.has-image #overlayCanvas { border-color: rgba(27,25,32,.18); }
#blur-app .previewQualityPill { border-color: rgba(27,25,32,.12); background: rgba(255,255,255,.92); color: #2a272d; }
#blur-app .empty { background: radial-gradient(600px 420px at 50% 40%, rgba(139,61,255,.11), transparent 62%); }
#blur-app .emptyCard { border-color: rgba(27,25,32,.11); background: rgba(255,255,255,.82); color: var(--text); box-shadow: 0 20px 60px rgba(44,34,54,.1); }
#blur-app .emptyCard__hint,
#blur-app .downloadHint { color: rgba(27,25,32,.54); }
#blur-app .uploadProgressBar,
#blur-app .uploadProgressBar::-webkit-progress-bar { background: rgba(27,25,32,.12); }
#blur-app .loadingOverlay__content { background: rgba(255,255,255,.94); box-shadow: 0 18px 55px rgba(44,34,54,.16); }
#blur-app .loadingOverlay__spinner { border-color: rgba(139,61,255,.16); border-top-color: #8b3dff; box-shadow: none; }
#blur-app .loadingOverlay__label { color: #252128; }

@media (max-width: 767px) {
  .hero-showcase { min-height: 650px; padding: 38px 0 42px; }
  .hero-showcase__copy { width: min(calc(100% - 24px), 580px); margin-bottom: 24px; }
  .hero-showcase__eyebrow { margin-bottom: 12px; padding: 6px 10px; font-size: 14px; }
  .hero-showcase h1 { font-size: clamp(34px, 14.5vw, 50px); line-height: 1.02; }
  .hero-showcase__copy > p { max-width: 390px; margin-top: 13px; font-size: 18px; }
  .hero-carousel::before,
  .hero-carousel::after { width: 16px; }
  .hero-carousel__track {
    gap: 10px;
    padding: 32px 0 30px;
  }
  .hero-carousel__item {
    flex-basis: clamp(124px, 34vw, 150px);
    height: clamp(210px, 56vw, 250px);
    margin-inline: 0;
  }
  .hero-art {
    border-radius: 16px;
    animation-name: hero-card-float-mobile;
  }
  .hero-carousel__item--one,
  .hero-carousel__item--four,
  .hero-carousel__item--seven,
  .hero-carousel__item--ten { transform: rotate(-3deg) translateY(3px); }
  .hero-carousel__item--two,
  .hero-carousel__item--five,
  .hero-carousel__item--eight { transform: rotate(3deg) translateY(-3px); }
  .hero-carousel__item--three,
  .hero-carousel__item--six,
  .hero-carousel__item--nine { transform: rotate(-1deg) translateY(5px); }
  .hero-upload-prompt { margin-top: 46px; }
  .hero-upload-prompt__main { font-size: 16px; }
  .hero-upload-prompt__free {
    top: 100px;
    right: auto;
    left: -60px;
    width: 80px;
  }
  .hero-upload-prompt__private {
    top: -50px;
    right: 0;
    bottom: auto;
    left: auto;
    width: 78px;
  }
  .hero-upload-prompt__privacy { margin-top: 72px; padding: 0 12px; }
  #blur-app .app-inline-shell { box-shadow: none !important; }
}


@keyframes hero-card-float-mobile {
  from { translate: 0 -1px; }
  to { translate: 0 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
}


/* 3D carousel refinement: individual effect assets on a clean white hero. */
body { background: var(--hero-cream); }

body { background: var(--hero-cream); }
.hero-showcase { background: var(--hero-cream); }
.hero-showcase__glow { display: none; }
.hero-showcase h1 span { background: none; color: #18191b; -webkit-text-fill-color: currentColor; }
.hero-carousel { perspective: 1000px; perspective-origin: 50% 50%; }
@media (max-width: 767px) {
  .hero-carousel {
    perspective: 860px;
    perspective-origin: 50% 50%;
    padding-block: 0;
  }
}
.hero-carousel::before,
.hero-carousel::after { display: none; }
.hero-carousel__track { transform-style: preserve-3d; }
.hero-carousel__item {
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transition: filter 180ms ease;
}

.hero-carousel__item[data-effect-label]::after {
  content: attr(data-effect-label);
  position: absolute;
  z-index: 5;
  top: auto;
  bottom: 10px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(22, 20, 25, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #18191b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
}

@media (max-width: 767px) {
  .hero-carousel__item[data-effect-label]::after {
    top: auto;
    bottom: 7px;
    left: 50%;
    min-height: 20px;
    padding: 4px 7px;
    font-size: 12px;
  }
}
.hero-art {
  transform: translateZ(0);
  border: 1px solid rgba(26, 22, 31, .08);
  background: #f4f2ee;
}
.hero-art img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  filter: none !important;
  transform: none !important;
  image-rendering: auto !important;
}
.hero-art::before,
.hero-art::after { display: none !important; }
.hero-upload-loading { background: var(--hero-cream); }
.hero-upload-loading__bar::-webkit-progress-value { background: #8b3dff; }
.hero-upload-loading__bar::-moz-progress-bar { background: #8b3dff; }
.globalDropOverlay { background: #8b3dff; }


/* Single-stage homepage flow: showcase -> preparation -> editor. */
.hero-showcase > #blur-app[hidden],
.hero-showcase:not(.is-editing) > #blur-app {
  display: none !important;
}

.hero-showcase.is-preparing > .hero-showcase__copy,
.hero-showcase.is-preparing > .hero-carousel,
.hero-showcase.is-preparing > .hero-upload-prompt {
  visibility: hidden;
  pointer-events: none;
}

.hero-showcase.is-editing {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #f4f1eb;
}

.hero-showcase.is-editing > .hero-showcase__copy,
.hero-showcase.is-editing > .hero-carousel,
.hero-showcase.is-editing > .hero-upload-prompt,
.hero-showcase.is-editing > .hero-upload-loading {
  display: none !important;
}

.hero-showcase.is-editing > #blur-app {
  display: block;
  width: 100%;
  padding: 12px 12px 48px;
  background: var(--body);
}@media (max-width: 768px) {
  .hero-showcase.is-editing > #blur-app {
    padding-inline: 0;
  }
}
/* Coordinated homepage state transitions: initial -> loading -> editor. */
.hero-showcase > .hero-showcase__copy,
.hero-showcase > .hero-upload-prompt,
.hero-showcase > .hero-carousel,
.hero-showcase > .hero-upload-loading,
.hero-showcase > #blur-app {
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.hero-showcase.is-state-transitioning > .hero-showcase__copy,
.hero-showcase.is-state-transitioning > .hero-upload-prompt,
.hero-showcase.is-state-transitioning > .hero-carousel,
.hero-showcase.is-state-transitioning > .hero-upload-loading,
.hero-showcase.is-state-transitioning > #blur-app {
  pointer-events: none !important;
  will-change: opacity, transform;
}



@media (prefers-reduced-motion: reduce) {
  .hero-showcase > .hero-showcase__copy,
  .hero-showcase > .hero-upload-prompt,
  .hero-showcase > .hero-carousel,
  .hero-showcase > .hero-upload-loading,
  .hero-showcase > #blur-app {
    scroll-behavior: auto;
  }
}
/* Desktop hero blur cursor. */
.hero-blur-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-blur-cursor {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    display: block;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 5px 22px rgba(24, 25, 27, .12), inset 0 0 0 1px rgba(24, 25, 27, .04);
    opacity: 0;
    pointer-events: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translate3d(-100px, -100px, 0);
    transition: opacity 120ms ease, background-color 220ms ease, box-shadow 220ms ease;
    will-change: transform, opacity;
  }

  .hero-showcase.is-blur-cursor-active,
  .hero-showcase.is-blur-cursor-active * {
    cursor: none !important;
  }

  .hero-showcase.is-blur-cursor-active .hero-blur-cursor {
    opacity: 1;
  }

  .hero-showcase.is-blur-cursor-active :is(#heroUploadPrompt, a, button, input, label, select, textarea, [role="button"]) {
    cursor: pointer !important;
  }

  .hero-showcase.is-blur-cursor-over-control .hero-blur-cursor,
  .hero-showcase.is-preparing .hero-blur-cursor,
  .hero-showcase.is-editing .hero-blur-cursor {
    opacity: 0;
  }
}



@media (prefers-reduced-motion: reduce) {
  .hero-blur-cursor {
    transition: none !important;
  }
}
/* Route all prompt-copy hover events to the full clickable upload button. */
.hero-upload-prompt__main,
.hero-upload-prompt__browse,
.hero-upload-prompt__types {
  pointer-events: none;
}
/* Carousel hover: turn only the cursor white and pulse a clean halo around it. */
@keyframes hero-blur-cursor-white-pulse {
  0%, 100% {
    opacity: .28;
    transform: scale(.86);
  }
  50% {
    opacity: .82;
    transform: scale(1.16);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-showcase.is-blur-cursor-over-carousel .hero-blur-cursor {
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 25, 27, .12), inset 0 0 0 1px rgba(24, 25, 27, .04);
  }

  .hero-blur-cursor::before {
    content: "";
    position: absolute;
    inset: -13px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 24px 7px rgba(255, 255, 255, .72);
    opacity: 0;
    pointer-events: none;
    transform: scale(.86);
    transform-origin: center;
  }

  .hero-showcase.is-blur-cursor-over-carousel .hero-blur-cursor::before {
    animation: hero-blur-cursor-white-pulse 1.65s ease-in-out infinite;
  }
}



@media (prefers-reduced-motion: reduce) {
  .hero-showcase.is-blur-cursor-over-carousel .hero-blur-cursor::before {
    animation: none;
    opacity: .62;
    transform: scale(1);
  }
}
/* Responsive hand-drawn dashed spline around the upload prompt. */
.hero-upload-prompt__spline {
  position: absolute;
  z-index: 0;
  top: -10px;
  left: -16px;
  display: block;
  width: calc(100% + 32px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}

.hero-upload-prompt__spline path {
  fill: none;
  stroke: rgba(24, 25, 27, .72);
  stroke-width: 2;
  /* 100 / (5 + 1.25) = 16 exact dash cycles, so the closed seam joins cleanly. */
  stroke-dasharray: 1 1.25;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-upload-prompt__main,
.hero-upload-prompt__types {
  position: relative;
  z-index: 1;
}

/* Playful prompt hover without changing the hero's layout dimensions. */
.hero-upload-prompt__free,
.hero-upload-prompt__private,
.hero-upload-prompt__spline {
  transform-origin: 50% 50%;
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.hero-upload-prompt:is(:hover, :focus-visible) .hero-upload-prompt__free {
  transform: rotate(-5deg) scale(1.035);
}

.hero-upload-prompt:is(:hover, :focus-visible) .hero-upload-prompt__private {
  transform: rotate(5deg) scale(1.035);
}

.hero-upload-prompt:is(:hover, :focus-visible) .hero-upload-prompt__spline {
  transform: scale(1.035);
}



@media (prefers-reduced-motion: reduce) {
  .hero-upload-prompt__free,
  .hero-upload-prompt__private,
  .hero-upload-prompt__spline {
    transition: none;
  }
}
/* Keep the following section stable while hero states exchange layouts. */
.hero-showcase.is-state-transitioning {
  overflow: hidden !important;
  will-change: height;
}


