/* Homepage palette and pointer-interaction refinement layered over product-ui-v1. */
:root {
  --jnm-home-ink: #081c34;
  --jnm-home-muted: #40566f;
  --jnm-home-cyan: #087a91;
  --jnm-home-blue: #2457a6;
  --jnm-home-indigo: #3154a8;
  --jnm-home-violet: #6f4a8e;
  --jnm-home-orange: #b84b0f;
  --jnm-home-gold: #9a6500;
  --jnm-home-line: #d4e0ee;
  --jnm-home-soft: #f5f8ff;
  --jnm-home-shadow: 0 26px 68px -30px rgba(20, 70, 126, .34), 0 16px 34px -24px rgba(44, 61, 105, .28);
  --jnm-home-shadow-small: 0 16px 36px -24px rgba(18, 67, 120, .30), 0 8px 20px -16px rgba(44, 61, 105, .22);
  --jnm-home-shadow-hover: 0 34px 80px -28px rgba(37, 99, 235, .36), 0 22px 48px -30px rgba(124, 58, 237, .34);
  --jnm-home-ease-out: cubic-bezier(.16, 1, .3, 1);
}

html[data-jnm-home-product-ui="20260830-v1"] {
  scrollbar-color: #4f73d8 #eaf1fb;
}

main[data-component-file="Home.tsx"] {
  color: var(--jnm-home-ink);
  background: #fbfdff;
}

main[data-component-file="Home.tsx"] ::selection {
  color: #fff;
  background: #3159c9;
}

main[data-component-file="Home.tsx"] a:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px #0e7490 !important;
}

/* A richer product-spectrum hero with a pointer-positioned light field. */
main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child {
  --jnm-hero-x: 68%;
  --jnm-hero-y: 30%;
  --jnm-hero-rx: 0deg;
  --jnm-hero-ry: 0deg;
  background:
    radial-gradient(circle at var(--jnm-hero-x) var(--jnm-hero-y), rgba(0, 183, 214, .25) 0, rgba(0, 183, 214, 0) 27%),
    radial-gradient(circle at 86% 7%, rgba(124, 58, 237, .19) 0, rgba(124, 58, 237, 0) 34%),
    radial-gradient(circle at 8% 94%, rgba(255, 122, 38, .13) 0, rgba(255, 122, 38, 0) 28%),
    linear-gradient(118deg, #e5fbff 0%, #edf4ff 42%, #f5efff 72%, #fff3e8 100%) !important;
  transition: background-position .45s var(--jnm-home-ease-out) !important;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::before {
  inset: auto auto -210px -130px;
  width: 500px;
  background: radial-gradient(circle, rgba(0, 159, 191, .24), rgba(79, 70, 217, .08) 40%, rgba(0, 159, 191, 0) 72%);
  filter: blur(3px);
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::after {
  outline: 1px solid rgba(255, 255, 255, .82);
  outline-offset: -1px;
  filter: saturate(1.1) contrast(1.035);
  box-shadow: 0 34px 80px -28px rgba(21, 70, 128, .42), 0 18px 44px -30px rgba(84, 44, 176, .38), 0 0 0 10px rgba(255, 255, 255, .28);
  transform: perspective(1200px) rotateX(var(--jnm-hero-rx)) rotateY(var(--jnm-hero-ry)) translateZ(0);
  transform-origin: center;
  transition: transform .7s var(--jnm-home-ease-out), box-shadow .7s var(--jnm-home-ease-out), filter .7s var(--jnm-home-ease-out);
  will-change: transform;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h1,
main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2,
main[data-component-file="Home.tsx"] .jn-loop-heading,
main[data-component-file="Home.tsx"] .jn-actions h2 {
  color: var(--jnm-home-ink) !important;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2 {
  position: relative;
  padding-bottom: 18px;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 112px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #087a91 0 38%, #2457a6 38% 70%, #6f4a8e 70% 84%, #b84b0f 84% 100%);
  box-shadow: 0 7px 18px rgba(37, 99, 235, .22);
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a,
main[data-component-file="Home.tsx"] .jn-action-links a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .45s var(--jnm-home-ease-out), box-shadow .45s var(--jnm-home-ease-out), filter .45s var(--jnm-home-ease-out) !important;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a::after,
main[data-component-file="Home.tsx"] .jn-action-links a::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  left: -45%;
  width: 34%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  transform: translateX(-220%) rotate(18deg);
  transition: transform .85s var(--jnm-home-ease-out);
  pointer-events: none;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a:first-child,
main[data-component-file="Home.tsx"] .jn-action-links a:first-child {
  background: linear-gradient(105deg, #087a91 0%, #2457a6 66%, #6f4a8e 100%) !important;
  box-shadow: 0 15px 32px -16px rgba(37, 99, 235, .64) !important;
}

main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a:last-child {
  color: #92390a !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: inset 0 0 0 1px #7893a8, 0 13px 30px -22px rgba(146, 57, 10, .42) !important;
  backdrop-filter: blur(10px);
}

/* Alternating product surfaces keep the C1520 family but add chromatic depth. */
main[data-component-file="Home.tsx"] .jn-loop-intro {
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 173, 204, .17), transparent 29%),
    radial-gradient(circle at 92% 80%, rgba(124, 58, 237, .12), transparent 33%),
    linear-gradient(110deg, #e7fbff 0%, #edf4ff 48%, #f7f1ff 76%, #fff7ee 100%);
}

main[data-component-file="Home.tsx"] .jn-selector {
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 70, 217, .15), transparent 31%),
    radial-gradient(circle at 12% 90%, rgba(0, 169, 199, .13), transparent 32%),
    linear-gradient(112deg, #eefbff 0%, #edf3ff 44%, #f6efff 76%, #fff6ec 100%);
}

main[data-component-file="Home.tsx"] .jn-cases {
  background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
}

main[data-component-file="Home.tsx"] .jn-actions {
  --jnm-hero-x: 76%;
  --jnm-hero-y: 34%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #eaf4ff;
  background:
    radial-gradient(circle at var(--jnm-hero-x) var(--jnm-hero-y), rgba(0, 203, 232, .32), transparent 25%),
    radial-gradient(circle at 89% 12%, rgba(159, 91, 255, .38), transparent 32%),
    linear-gradient(118deg, #071c33 0%, #0b3b67 46%, #312e81 75%, #6d28d9 100%);
}

main[data-component-file="Home.tsx"] .jn-actions h2 {
  color: #fff !important;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

main[data-component-file="Home.tsx"] .jn-action-links a:nth-child(2) {
  color: #fff;
  background: linear-gradient(105deg, #b84b0f, #9a6500) !important;
  box-shadow: 0 15px 34px -18px rgba(242, 106, 33, .72) !important;
}

main[data-component-file="Home.tsx"] .jn-action-links a:nth-child(3) {
  color: #2457a6;
  background: #fff !important;
  box-shadow: 0 14px 32px -20px rgba(255, 255, 255, .52), inset 0 0 0 1px #7893a8 !important;
}

/* Pointer spotlight + responsive 3D tilt on meaningful interactive surfaces. */
main[data-component-file="Home.tsx"] .jn-audience-link,
main[data-component-file="Home.tsx"] .jn-scenario,
main[data-component-file="Home.tsx"] .jn-case,
main[data-component-file="Home.tsx"] .jn-report-meta {
  --jnm-pointer-x: 50%;
  --jnm-pointer-y: 50%;
  --jnm-tilt-x: 0deg;
  --jnm-tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--jnm-tilt-x)) rotateY(var(--jnm-tilt-y)) translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform .55s var(--jnm-home-ease-out), box-shadow .55s var(--jnm-home-ease-out), filter .55s var(--jnm-home-ease-out);
}

main[data-component-file="Home.tsx"] .jn-audience-link::before,
main[data-component-file="Home.tsx"] .jn-scenario::before,
main[data-component-file="Home.tsx"] .jn-case::before,
main[data-component-file="Home.tsx"] .jn-report-meta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), rgba(77, 177, 255, .23), rgba(124, 58, 237, .07) 34%, transparent 67%);
  transition: opacity .45s var(--jnm-home-ease-out);
  pointer-events: none;
}

main[data-component-file="Home.tsx"] .jn-audience-link {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .94));
}

main[data-component-file="Home.tsx"] .jn-scenario {
  background: linear-gradient(145deg, #f8fbff, #fff 58%, #f6f4ff);
}

main[data-component-file="Home.tsx"] .jn-case,
main[data-component-file="Home.tsx"] .jn-case:nth-child(2),
main[data-component-file="Home.tsx"] .jn-case:nth-child(3) {
  background: linear-gradient(145deg, #fff, #f6faff 58%, #f6f2ff);
}

main[data-component-file="Home.tsx"] .jn-case:nth-child(2),
main[data-component-file="Home.tsx"] .jn-case:nth-child(4) {
  background: linear-gradient(145deg, #f0fbff, #fff 58%, #fff6ec);
}

main[data-component-file="Home.tsx"] .jn-audience-icon,
main[data-component-file="Home.tsx"] .jn-scenario svg,
main[data-component-file="Home.tsx"] .jn-model-code,
main[data-component-file="Home.tsx"] .jn-metric-value {
  transition: transform .55s var(--jnm-home-ease-out), color .45s var(--jnm-home-ease-out), filter .45s var(--jnm-home-ease-out);
}

main[data-component-file="Home.tsx"] .jn-audience-icon {
  color: #087a91;
  background: linear-gradient(145deg, #c9f6ff, #ddebff);
  box-shadow: 0 12px 24px -18px rgba(0, 127, 155, .7);
}

main[data-component-file="Home.tsx"] .jn-audience-link + .jn-audience-link .jn-audience-icon {
  color: #b84b0f;
  background: linear-gradient(145deg, #fff0dc, #ffe1cb);
  box-shadow: 0 12px 24px -18px rgba(184, 65, 8, .65);
}

main[data-component-file="Home.tsx"] .jn-model-grid,
main[data-component-file="Home.tsx"] .jn-metric-list {
  box-shadow: var(--jnm-home-shadow-hover);
}

main[data-component-file="Home.tsx"] .jn-model,
main[data-component-file="Home.tsx"] .jn-metric {
  --jnm-pointer-x: 50%;
  --jnm-pointer-y: 50%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), rgba(73, 171, 255, 0), transparent 34%),
    #fff;
  transition: transform .48s var(--jnm-home-ease-out), background .48s var(--jnm-home-ease-out), box-shadow .48s var(--jnm-home-ease-out);
}

main[data-component-file="Home.tsx"] .jn-model:nth-child(even),
main[data-component-file="Home.tsx"] .jn-metric:nth-child(even) {
  background:
    radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), rgba(73, 171, 255, 0), transparent 34%),
    #f5f8fd;
}

main[data-component-file="Home.tsx"] .jn-report-meta {
  background: linear-gradient(135deg, #fff2df, #fff9e8 55%, #f4f0ff);
  box-shadow: 0 20px 44px -28px rgba(212, 87, 15, .4), 0 12px 28px -24px rgba(79, 70, 217, .3);
}

main[data-component-file="Home.tsx"] .jn-metric-value,
main[data-component-file="Home.tsx"] .jn-model .jn-model-action,
main[data-component-file="Home.tsx"] .jn-case span {
  color: #087a91 !important;
}

main[data-component-file="Home.tsx"] .jn-scenario:nth-child(1) { --accent: #b84b0f !important; }
main[data-component-file="Home.tsx"] .jn-scenario:nth-child(2) { --accent: #087a91 !important; }
main[data-component-file="Home.tsx"] .jn-scenario:nth-child(3) { --accent: #2457a6 !important; }
main[data-component-file="Home.tsx"] .jn-scenario:nth-child(4) { --accent: #6f4a8e !important; }
main[data-component-file="Home.tsx"] .jn-model:nth-child(1) { --model: #b84b0f !important; }
main[data-component-file="Home.tsx"] .jn-model:nth-child(2) { --model: #2457a6 !important; }
main[data-component-file="Home.tsx"] .jn-model:nth-child(3) { --model: #087a91 !important; }
main[data-component-file="Home.tsx"] .jn-model:nth-child(4) { --model: #6f4a8e !important; }

@media (min-width: 961px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child:hover::after {
    box-shadow: 0 46px 96px -30px rgba(25, 91, 170, .50), 0 24px 54px -30px rgba(124, 58, 237, .43), 0 0 0 10px rgba(255, 255, 255, .36);
    filter: saturate(1.16) contrast(1.04);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-audience-link,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-scenario,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-case,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-report-meta {
    transform: perspective(1100px) rotateX(var(--jnm-tilt-x)) rotateY(var(--jnm-tilt-y)) translate3d(0, -9px, 0) scale(1.018);
    box-shadow: var(--jnm-home-shadow-hover);
    will-change: transform;
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-audience-link::before,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-scenario::before,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-case::before,
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-report-meta::before {
    opacity: 1;
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active .jn-audience-icon {
    transform: translateZ(24px) scale(1.1) rotate(-4deg);
    filter: drop-shadow(0 10px 16px rgba(37, 99, 235, .18));
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-scenario svg {
    transform: translateZ(28px) translateY(-4px) scale(1.09);
    filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--accent) 28%, transparent));
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-model {
    z-index: 2;
    background:
      radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), color-mix(in srgb, var(--model) 24%, transparent) 0, transparent 38%),
      #fff;
    transform: translate3d(10px, 0, 0) scale(1.008);
    box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--model) 62%, #2563eb);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-model .jn-model-code {
    transform: translateX(4px) scale(1.06);
    filter: drop-shadow(0 8px 13px color-mix(in srgb, var(--model) 24%, transparent));
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-metric {
    z-index: 2;
    background:
      radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), rgba(0, 174, 212, .20), transparent 38%),
      #fff;
    transform: translate3d(-8px, 0, 0) scale(1.008);
    box-shadow: 0 18px 42px -30px rgba(0, 126, 155, .5);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jn-metric .jn-metric-value {
    transform: translateX(-4px) scale(1.06);
    filter: drop-shadow(0 8px 14px rgba(0, 126, 155, .2));
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .jn-action-links a:first-child.is-jnm-pointer-active {
    transform: translate3d(var(--jnm-magnet-x, 0), var(--jnm-magnet-y, 0), 0) translateY(-4px) scale(1.045) !important;
    box-shadow: 0 24px 48px -20px rgba(37, 99, 235, .64) !important;
    filter: saturate(1.14);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .jn-action-links a:first-child.is-jnm-pointer-active::after {
    transform: translateX(520%) rotate(18deg);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pressed {
    transform: perspective(1100px) rotateX(0) rotateY(0) translate3d(0, -2px, 0) scale(.985) !important;
    transition-duration: .12s !important;
  }
}

@media (max-width: 960px) {
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::after {
    transform: none;
    box-shadow: 0 28px 64px -32px rgba(21, 70, 128, .40), 0 0 0 7px rgba(255, 255, 255, .27);
  }
}

@media (max-width: 640px) {
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child {
    background:
      radial-gradient(circle at 82% 7%, rgba(124, 58, 237, .17), transparent 30%),
      radial-gradient(circle at 5% 70%, rgba(0, 183, 214, .18), transparent 30%),
      linear-gradient(155deg, #e7fbff 0%, #eef4ff 47%, #f7f0ff 75%, #fff3e8 100%) !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2 {
    padding-bottom: 14px;
    max-width: 100% !important;
    text-wrap: balance;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2::after {
    width: 86px;
    height: 3px;
  }

  main[data-component-file="Home.tsx"] .jn-actions {
    background:
      radial-gradient(circle at 85% 10%, rgba(159, 91, 255, .34), transparent 31%),
      linear-gradient(148deg, #071c33, #0b3b67 48%, #3f248f 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  main[data-component-file="Home.tsx"] {
    --jnm-hero-rx: 0deg !important;
    --jnm-hero-ry: 0deg !important;
    --jnm-tilt-x: 0deg !important;
    --jnm-tilt-y: 0deg !important;
    --jnm-magnet-x: 0 !important;
    --jnm-magnet-y: 0 !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::after,
  main[data-component-file="Home.tsx"] .jn-audience-link,
  main[data-component-file="Home.tsx"] .jn-scenario,
  main[data-component-file="Home.tsx"] .jn-case,
  main[data-component-file="Home.tsx"] .jn-report-meta,
  main[data-component-file="Home.tsx"] .jn-model,
  main[data-component-file="Home.tsx"] .jn-metric,
  main[data-component-file="Home.tsx"] .jn-action-links a,
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a {
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  main[data-component-file="Home.tsx"] .jn-audience-link::before,
  main[data-component-file="Home.tsx"] .jn-scenario::before,
  main[data-component-file="Home.tsx"] .jn-case::before,
  main[data-component-file="Home.tsx"] .jn-report-meta::before {
    opacity: 0 !important;
  }
}

@media (forced-colors: active) {
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child,
  main[data-component-file="Home.tsx"] .jn-loop-intro,
  main[data-component-file="Home.tsx"] .jn-selector,
  main[data-component-file="Home.tsx"] .jn-actions,
  main[data-component-file="Home.tsx"] .jn-audience-link,
  main[data-component-file="Home.tsx"] .jn-scenario,
  main[data-component-file="Home.tsx"] .jn-model,
  main[data-component-file="Home.tsx"] .jn-report-meta,
  main[data-component-file="Home.tsx"] .jn-metric,
  main[data-component-file="Home.tsx"] .jn-case {
    color: CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    forced-color-adjust: auto;
  }
}

/* Direction 3: diagonal factory hero and the four-part deployable material system. */
main[data-component-file="Home.tsx"] .jnm-system-strip-v2 {
  position: relative;
  z-index: 5;
  padding: 0 28px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-top: 1px solid rgba(75, 119, 190, .20);
  border-bottom: 1px solid rgba(75, 119, 190, .24);
  box-shadow: 0 18px 50px -42px rgba(22, 75, 147, .70);
}

main[data-component-file="Home.tsx"] .jnm-layer-strip-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2 {
  --jnm-pointer-x: 50%;
  --jnm-pointer-y: 50%;
  --jnm-tilt-x: 0deg;
  --jnm-tilt-y: 0deg;
  position: relative;
  min-width: 0;
  min-height: 120px;
  display: grid;
  grid-template-columns: 42px 116px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 18px;
  color: #0b2340;
  text-decoration: none;
  background:
    radial-gradient(circle at var(--jnm-pointer-x) var(--jnm-pointer-y), rgba(51, 112, 231, .14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,249,255,.96));
  border: 1px solid rgba(85, 121, 176, .28);
  clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
  box-shadow: 0 15px 38px -32px rgba(22, 62, 119, .62);
  transform: perspective(1100px) rotateX(var(--jnm-tilt-x)) rotateY(var(--jnm-tilt-y)) translate3d(0, 0, 0);
  transition: transform .46s var(--jnm-home-ease-out), border-color .3s ease, box-shadow .46s var(--jnm-home-ease-out), background .3s ease;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2:focus-visible {
  z-index: 4;
  outline: 0 !important;
  box-shadow:
    inset 0 0 0 3px #fff,
    inset 0 0 0 6px #0b62cc,
    0 18px 44px -28px rgba(20, 74, 162, .72) !important;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2::after {
  content: "";
  position: absolute;
  inset: 0 8% auto;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6d5dfc);
  opacity: .88;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2.is-primary::after {
  background: linear-gradient(90deg, #ff7a00, #ffb000);
}

main[data-component-file="Home.tsx"] .jnm-layer-number-v2 {
  align-self: start;
  padding-top: 17px;
  color: #3269d7;
  font-size: .88rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2.is-primary .jnm-layer-number-v2 {
  color: #ad4800;
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2 img {
  width: 116px;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translateZ(18px) scale(1);
  transition: transform .46s var(--jnm-home-ease-out), filter .46s var(--jnm-home-ease-out);
}

main[data-component-file="Home.tsx"] .jnm-layer-card-v2 strong {
  min-width: 0;
  color: #0b2340;
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

main[data-component-file="Home.tsx"] .jn-loop-intro {
  padding: 54px 0 72px;
  text-align: center;
  background:
    radial-gradient(circle at 14% 20%, rgba(58, 137, 246, .10), transparent 30%),
    radial-gradient(circle at 86% 75%, rgba(114, 83, 235, .09), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-loop-heading {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 18px;
  font-size: clamp(2rem, 3vw, 2.85rem);
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-loop-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00, #3b82f6);
  transform: translateX(-50%);
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-loop-lead {
  display: none;
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-switch {
  max-width: 1160px;
  margin: 34px auto 0;
  gap: 20px;
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-link,
main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-link + .jn-audience-link {
  min-height: 112px;
  padding: 20px 28px;
  text-align: left;
  border: 1px solid rgba(78, 126, 202, .20) !important;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5faff, #fff) !important;
  box-shadow: 0 18px 46px -34px rgba(26, 84, 166, .50);
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-link + .jn-audience-link {
  background: linear-gradient(135deg, #faf7ff, #fff) !important;
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-icon {
  width: 62px;
  height: 62px;
  padding: 15px;
  border-radius: 50%;
  color: #2869df;
  background: linear-gradient(145deg, #dcecff, #eef5ff);
  box-shadow: inset 0 0 0 1px rgba(59,130,246,.16);
}

main[data-component-file="Home.tsx"] .jn-loop-intro .jn-audience-link + .jn-audience-link .jn-audience-icon {
  color: #6f4be8;
  background: linear-gradient(145deg, #ece5ff, #f8f4ff);
  box-shadow: inset 0 0 0 1px rgba(111,75,232,.14);
}

@media (min-width: 1121px) {
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child {
    min-height: 560px !important;
    height: 560px;
    padding: 0 !important;
    background:
      radial-gradient(circle at 17% 20%, rgba(91, 176, 255, .15), transparent 26%),
      linear-gradient(115deg, #f0fbff 0%, #eef6ff 42%, #e9f1ff 64%, #fff 100%) !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::before {
    inset: 0 auto 0 0;
    width: 65%;
    height: auto;
    aspect-ratio: auto;
    border-radius: 0;
    background:
      radial-gradient(circle at var(--jnm-hero-x) var(--jnm-hero-y), rgba(77, 153, 255, .16), transparent 30%),
      linear-gradient(90deg, rgba(240,251,255,.96), rgba(235,244,255,.86));
    filter: none;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::after {
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    border-radius: 0;
    outline: 0;
    background-position: center 48%;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 26% 100%, 10% 70%, 31% 28%);
    box-shadow: -26px 0 54px -44px rgba(21, 75, 157, .76);
    transform: perspective(1500px) rotateX(var(--jnm-hero-rx)) rotateY(var(--jnm-hero-ry)) scale(1.018) translateZ(0);
    transform-origin: 78% 50%;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child > div {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(1380px, calc(100% - 64px)) !important;
    padding: 0 52% 0 32px !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h1 {
    margin-bottom: 10px !important;
    font-size: clamp(3rem, 4.2vw, 4.1rem) !important;
    line-height: 1.05 !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2 {
    margin-bottom: 22px !important;
    padding-bottom: 18px;
    font-size: clamp(2rem, 2.75vw, 2.75rem) !important;
    line-height: 1.15 !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child p {
    max-width: 34em !important;
    margin-bottom: 30px !important;
    font-size: clamp(1rem, 1.22vw, 1.14rem) !important;
    line-height: 1.75 !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a:first-child {
    color: #fff !important;
    background: linear-gradient(105deg, var(--jnm-home-orange), var(--jnm-home-gold)) !important;
    box-shadow: 0 18px 34px -18px rgba(154, 78, 0, .72) !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child a:last-child {
    color: #245dcc !important;
    background: rgba(255,255,255,.76) !important;
    box-shadow: inset 0 0 0 2px #3776e8, 0 14px 30px -24px rgba(37, 93, 204, .62) !important;
  }
}

@media (min-width: 1121px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jnm-layer-card-v2 {
    z-index: 3;
    border-color: rgba(54, 112, 221, .58);
    box-shadow: 0 28px 62px -34px rgba(34, 88, 180, .68);
    transform: perspective(1100px) rotateX(var(--jnm-tilt-x)) rotateY(var(--jnm-tilt-y)) translate3d(0, -9px, 0) scale(1.025);
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] .is-jnm-pointer-active.jnm-layer-card-v2 img {
    transform: translateZ(34px) translateY(-6px) scale(1.09);
    filter: drop-shadow(0 14px 14px rgba(29, 82, 164, .20));
  }

  html[data-jnm-home-motion="20260830-v2"] main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child:hover::after {
    transform: perspective(1500px) rotateX(var(--jnm-hero-rx)) rotateY(var(--jnm-hero-ry)) scale(1.035) translateZ(0);
    box-shadow: -34px 0 70px -44px rgba(21, 86, 180, .88);
  }
}

@media (max-width: 1120px) {
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child {
    min-height: 760px !important;
    height: auto;
    align-items: flex-start !important;
    padding: 52px 0 356px !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child::after {
    top: auto;
    right: 32px;
    bottom: 32px;
    left: 32px;
    width: auto;
    height: 320px;
    border-radius: 16px;
    clip-path: none;
    transform: none;
    transform-origin: center;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child > div {
    width: min(1380px, calc(100% - 64px)) !important;
    padding: 0 10px !important;
  }

  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h1,
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child h2,
  main[data-component-file="Home.tsx"] > section[data-component-file="Home.tsx"]:first-child p {
    max-width: 760px !important;
  }

  main[data-component-file="Home.tsx"] .jnm-system-strip-v2 {
    padding: 14px 22px;
  }

  main[data-component-file="Home.tsx"] .jnm-layer-strip-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  main[data-component-file="Home.tsx"] .jnm-layer-card-v2 {
    min-height: 104px;
    grid-template-columns: 34px 92px minmax(0, 1fr);
    padding: 8px 18px;
    clip-path: none;
    border-radius: 14px;
  }

  main[data-component-file="Home.tsx"] .jnm-layer-card-v2 img {
    width: 92px;
    height: 68px;
  }
}

@media (max-width: 620px) {
  main[data-component-file="Home.tsx"] .jnm-system-strip-v2 {
    padding: 14px;
    overflow: hidden;
  }

  main[data-component-file="Home.tsx"] .jnm-layer-strip-shell {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    padding: 2px 0 8px;
  }

  main[data-component-file="Home.tsx"] .jnm-layer-card-v2 {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: center;
    grid-template-columns: 32px 88px minmax(0, 1fr);
  }

  main[data-component-file="Home.tsx"] .jn-loop-intro {
    padding: 48px 0 60px;
  }
}

/* Footer: match the supplied four-column information architecture without copying its purple palette. */
footer[data-component-file="Footer.tsx"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 4%, rgba(87, 110, 255, .30), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(0, 176, 220, .18), transparent 28%),
    linear-gradient(118deg, #071c33 0%, #0a3159 48%, #293b91 100%) !important;
}

footer[data-component-file="Footer.tsx"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff7900 0 15%, #2d7be8 40% 72%, #7658ee 100%);
}

footer[data-component-file="Footer.tsx"] > div {
  max-width: 1380px !important;
  padding: 80px 24px 22px !important;
}

footer[data-component-file="Footer.tsx"] > div > .grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1.1fr .95fr .78fr !important;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(36px, 5vw, 82px) !important;
  row-gap: 28px !important;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(4) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(3) {
  grid-column: 4;
  grid-row: 1 / span 2;
}

footer[data-component-file="Footer.tsx"] h4 {
  margin-bottom: 20px !important;
  color: #fff;
  font-size: 1rem !important;
  line-height: 1.35;
  font-weight: 800 !important;
  letter-spacing: .02em;
}

footer[data-component-file="Footer.tsx"] [data-junaimei-footer-logo-wrap] {
  display: block !important;
  margin-bottom: 26px;
}

footer[data-component-file="Footer.tsx"] [data-junaimei-footer-logo-wrap] img {
  width: 218px !important;
  height: auto !important;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1) !important;
}

footer[data-component-file="Footer.tsx"] [data-junaimei-footer-logo-wrap] > div {
  display: none !important;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(1) > :nth-child(2) {
  color: rgba(255,255,255,.82) !important;
  line-height: 1.7;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(1) > :nth-child(2) > :first-child {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(1) > :nth-child(2) > :nth-child(n+4) {
  display: none !important;
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(4) ul > :first-child {
  display: none !important;
}

footer[data-component-file="Footer.tsx"] ul {
  color: rgba(255,255,255,.82) !important;
}

footer[data-component-file="Footer.tsx"] li,
footer[data-component-file="Footer.tsx"] p {
  line-height: 1.7;
}

footer[data-component-file="Footer.tsx"] a {
  color: rgba(255,255,255,.84) !important;
  text-underline-offset: 5px;
  transition: color .22s ease, transform .22s ease, opacity .22s ease !important;
}

footer[data-component-file="Footer.tsx"] a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

footer[data-component-file="Footer.tsx"] [data-official-store] {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer[data-component-file="Footer.tsx"] [data-official-store] img {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px;
  border-radius: 2px;
  object-fit: contain;
}

footer[data-component-file="Footer.tsx"] [data-official-store="tmall"] img {
  content: url("/home-store-tmall-v2.png?v=20260830-home-polish-v2");
}

footer[data-component-file="Footer.tsx"] [data-official-store="jd"] img {
  content: url("/home-store-jd-v2.png?v=20260830-home-polish-v2");
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(5) a {
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.07) !important;
  box-shadow: 0 10px 22px -16px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(5) a:hover {
  background: rgba(255,255,255,.17) !important;
  transform: translateY(-3px);
}

footer[data-component-file="Footer.tsx"] > div > :last-child {
  margin-top: 75px !important;
  padding-top: 22px !important;
  color: rgba(255,255,255,.68) !important;
  border-color: rgba(255,255,255,.18) !important;
}

.jnm-back-top-v2 {
  position: fixed;
  z-index: 10001;
  right: 22px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, rgba(34, 93, 196, .94), rgba(75, 62, 179, .94));
  box-shadow: 0 18px 40px -18px rgba(13, 39, 87, .72);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .32s var(--jnm-home-ease-out), box-shadow .25s ease;
  backdrop-filter: blur(10px);
}

.jnm-back-top-v2 span {
  font-size: 1.45rem;
  line-height: 1;
}

.jnm-back-top-v2.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jnm-back-top-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px -18px rgba(13, 39, 87, .80);
}

.jnm-back-top-v2:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  footer[data-component-file="Footer.tsx"] > div > .grid {
    grid-template-columns: 1.15fr 1fr !important;
  }

  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(1) { grid-column: 1; grid-row: 1; }
  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(4) { grid-column: 2; grid-row: 1; }
  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(2) { grid-column: 1; grid-row: 2; }
  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(5) { grid-column: 1; grid-row: 3; }
  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(3) { grid-column: 2; grid-row: 2 / span 2; }
}

@media (max-width: 680px) {
  footer[data-component-file="Footer.tsx"] > div {
    padding: 52px 20px 20px !important;
  }

  footer[data-component-file="Footer.tsx"] > div > .grid {
    grid-template-columns: 1fr !important;
    row-gap: 36px !important;
  }

  footer[data-component-file="Footer.tsx"] > div > .grid > :nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  footer[data-component-file="Footer.tsx"] [data-junaimei-footer-logo-wrap] img {
    width: 190px !important;
  }

  footer[data-component-file="Footer.tsx"] > div > :last-child {
    margin-top: 38px !important;
    text-align: left !important;
    line-height: 1.7;
  }

  .jnm-back-top-v2 {
    right: 14px;
    bottom: 78px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main[data-component-file="Home.tsx"] .jnm-layer-card-v2,
  main[data-component-file="Home.tsx"] .jnm-layer-card-v2 img,
  .jnm-back-top-v2 {
    transform: none !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  main[data-component-file="Home.tsx"] .jnm-system-strip-v2,
  main[data-component-file="Home.tsx"] .jnm-layer-card-v2,
  footer[data-component-file="Footer.tsx"],
  .jnm-back-top-v2 {
    color: CanvasText !important;
    background: Canvas !important;
    border-color: CanvasText !important;
    box-shadow: none !important;
    forced-color-adjust: auto;
  }
}
