/* Pets Sparkle homepage hero + benefits (v3). Loaded on the front page only, after landing.css. */

body.ps-home .ps-hero3 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #2455E8;
}
body.ps-home .ps-hero3-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 540px;
  box-sizing: border-box;
}
body.ps-home .ps-hero3-copy { position: relative; z-index: 2; max-width: 640px; }
body.ps-home .ps-hero3-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 12px; border-radius: 999px; margin: 0 0 20px;
}
body.ps-home .ps-hero3-eyebrow svg { width: 14px; height: 14px; }
body.ps-home .ps-hero3 h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}
body.ps-home .ps-hero3-lead {
  margin: 0 0 30px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  max-width: 470px;
}
body.ps-home .ps-hero3-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
body.ps-home .ps-hero3-ctas a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border-radius: 6px;
  font-size: 16px; font-weight: 700; text-decoration: none; line-height: 1;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
body.ps-home .ps-hero3-ctas a.p { background: #fff; color: #1A45C9; border: 1.5px solid #fff; }
body.ps-home .ps-hero3-ctas a.p:hover { background: #EEF3FF; border-color: #EEF3FF; }
body.ps-home .ps-hero3-ctas a.s { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
body.ps-home .ps-hero3-ctas a.s:hover { background: rgba(255,255,255,.12); border-color: #fff; }
body.ps-home .ps-hero3-ctas a svg { width: 18px; height: 18px; }
body.ps-home .ps-hero3-ctas a:focus-visible { outline: 3px solid #FFC940; outline-offset: 2px; }
body.ps-home .ps-hero3-proof {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
}
body.ps-home .ps-hero3-proof li {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; white-space: nowrap;
  font-size: 14px; font-weight: 500; line-height: 1.2; color: rgba(255,255,255,.92);
}
body.ps-home .ps-hero3-proof svg {
  width: 30px; height: 30px; flex: none; padding: 7px; box-sizing: border-box;
  border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
}

body.ps-home .ps-hero3-art { position: relative; z-index: 1; align-self: center; margin: 0 -24px 0 0; }
body.ps-home .ps-hero3-art img {
  display: block; width: 112%; height: auto; max-width: none; margin-left: -6%;
  -webkit-mask-image: none; mask-image: none;
}

/* Benefits: one flat card overlapping the hero edge */
body.ps-home .ps-bnfbar { position: relative; z-index: 3; margin: -64px 0 8px; padding: 0 24px; }
body.ps-home .ps-bnfbar-in {
  max-width: 1192px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid #E7ECF7; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(21,24,28,.04), 0 18px 40px -22px rgba(21,40,110,.35);
}
body.ps-home .ps-bnf {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 22px; min-width: 0;
}
body.ps-home .ps-bnf + .ps-bnf { border-left: 1px solid #EEF1F7; }
body.ps-home .ps-bnf .ic {
  position: relative; flex: none; width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #5A86FF 0%, #2455E8 52%, #1B40C4 100%);
  box-shadow: 0 10px 20px -8px rgba(36,85,232,.6), inset 0 1px 0 rgba(255,255,255,.38), inset 0 -2px 0 rgba(10,30,120,.18);
}
body.ps-home .ps-bnf .ic::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 30% 0%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 60%);
}
body.ps-home .ps-bnf .ic svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(10,30,120,.35)); }
body.ps-home .ps-bnf .ic .f { fill: rgba(255,255,255,.22); }
body.ps-home .ps-bnf .ic svg { width: 26px; height: 26px; display: block; }
body.ps-home .ps-bnf .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.ps-home .ps-bnf b { font-size: 15px; line-height: 1.25; font-weight: 700; color: #15181C; }
body.ps-home .ps-bnf .tx span { font-size: 13.5px; line-height: 1.35; color: #5B616B; }

/* Tablet */
@media (max-width: 1024px) {
  body.ps-home .ps-hero3-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; padding: 44px 24px 96px; }
  body.ps-home .ps-bnfbar-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ps-home .ps-bnf:nth-child(3) { border-left: 0; }
  body.ps-home .ps-bnf:nth-child(n+3) { border-top: 1px solid #EEF1F7; }
  body.ps-home .ps-hero3-art { margin-right: 0; }
  body.ps-home .ps-hero3-art img { width: 100%; margin-left: 0; }
}

/* Mobile: copy first, art below, compact 2x2 benefits */
@media (max-width: 760px) {
  body.ps-home .ps-hero3-in { grid-template-columns: 1fr; gap: 6px; min-height: 0; padding: 32px 16px 72px; text-align: left; }
  body.ps-home .ps-hero3-eyebrow { font-size: 11.5px; padding: 6px 10px; margin-bottom: 14px; }
  body.ps-home .ps-hero3 h1 { font-size: 34px; margin-bottom: 12px; }
  body.ps-home .ps-hero3-lead { font-size: 16px; margin-bottom: 22px; }
  body.ps-home .ps-hero3-ctas { gap: 10px; margin-bottom: 18px; }
  body.ps-home .ps-hero3-ctas a { flex: 1 1 100%; height: 52px; }
  body.ps-home .ps-hero3-proof { gap: 8px; }
  body.ps-home .ps-hero3-proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.ps-home .ps-hero3-proof li { font-size: 14px; }
  body.ps-home .ps-hero3-proof li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  body.ps-home .ps-hero3-art { margin: 14px -6px -26px; align-self: auto; }
  body.ps-home .ps-hero3-art img { width: 100%; margin-left: 0; }

  body.ps-home .ps-bnfbar { margin-top: -48px; padding: 0 16px; }
  body.ps-home .ps-bnf { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  body.ps-home .ps-bnf .ic { width: 44px; height: 44px; border-radius: 12px; }
  body.ps-home .ps-bnf .ic svg { width: 22px; height: 22px; }
  body.ps-home .ps-bnf b { font-size: 14px; }
  body.ps-home .ps-bnf .tx span { font-size: 12.5px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  body.ps-home .ps-hero3 h1 { font-size: 38px; }
  body.ps-home .ps-hero3-ctas a { padding: 0 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  body.ps-home .ps-hero3-art img { animation: ps-hero3-in .7s ease-out both; }
  @keyframes ps-hero3-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Hero art: halo, sparkles, featured product card */
body.ps-home .ps-hero3-art > img { position: relative; z-index: 1; }
body.ps-home .ps-hero3-halo {
  position: absolute; z-index: 0; left: 50%; top: 50%; width: 82%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,.07) 42%, rgba(255,255,255,0) 68%);
}

body.ps-home .ps-hero3-spark { position: absolute; z-index: 2; color: #fff; pointer-events: none; }
body.ps-home .ps-hero3-spark.s1 { width: 26px; height: 26px; top: 4%; right: 6%; opacity: .95; }
body.ps-home .ps-hero3-spark.s2 { width: 14px; height: 14px; top: 16%; right: 1%; opacity: .7; }
body.ps-home .ps-hero3-spark.s3 { width: 18px; height: 18px; bottom: 30%; left: 2%; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  body.ps-home .ps-hero3-spark { animation: ps-twinkle 3.2s ease-in-out infinite; }
  body.ps-home .ps-hero3-spark.s2 { animation-delay: .8s; }
  body.ps-home .ps-hero3-spark.s3 { animation-delay: 1.6s; }
  @keyframes ps-twinkle { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.7); opacity: .45; } }
}
@media (max-width: 760px) {
  body.ps-home .ps-hero3-halo { width: 78%; }
  body.ps-home .ps-hero3-spark.s1 { width: 20px; height: 20px; }
}
@media (min-width: 1025px) and (max-width: 1340px) {
  body.ps-home .ps-hero3-art { margin-right: 0; }
  body.ps-home .ps-hero3-art > img { width: 100%; margin-left: 0; }
}
@media (max-width: 1024px) {
  body.ps-home .ps-hero3-proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.ps-home .ps-hero3-proof li + li { margin-left: 0; padding-left: 0; border-left: 0; }
}


/* Hero hotspot on the featured bowl */
body.ps-home .ps-hot { position: absolute; z-index: 4; left: 56%; top: 73%; transform: translate(-50%, -50%); display: block; text-decoration: none; }
body.ps-home .ps-hot .dot { position: relative; display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 4px 12px rgba(8,20,80,.35); }
body.ps-home .ps-hot .dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #2455E8; }
body.ps-home .ps-hot .dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  body.ps-home .ps-hot .dot::before { animation: ps-hot-pulse 2s ease-out infinite; }
  @keyframes ps-hot-pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
}
body.ps-home .ps-hot .tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px);
  white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: #fff; color: #15181C;
  font-size: 13px; font-weight: 600; line-height: 1.2; box-shadow: 0 10px 24px -10px rgba(8,20,80,.5);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
body.ps-home .ps-hot .tip b { color: #2455E8; font-weight: 700; margin-left: 6px; }
body.ps-home .ps-hot .tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; }
body.ps-home .ps-hot:hover .tip, body.ps-home .ps-hot:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
body.ps-home .ps-hot:focus-visible { outline: none; }
body.ps-home .ps-hot:focus-visible .dot { box-shadow: 0 0 0 4px #FFC940; }
@media (hover: none) { body.ps-home .ps-hot .tip { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 760px) { body.ps-home .ps-hot .dot { width: 16px; height: 16px; } body.ps-home .ps-hot .tip { font-size: 12px; padding: 6px 10px; } }

/* v8 layout: proof row sits under the dog art; uniform background */
body.ps-home .ps-hero3-halo { display: none !important; }
body.ps-home .ps-hero3-in { grid-template-areas: "copy art" "copy proof"; row-gap: 0; }
body.ps-home .ps-hero3-copy { grid-area: copy; align-self: center; }
body.ps-home .ps-hero3-art { grid-area: art; align-self: end; }
body.ps-home .ps-hero3-proof { grid-area: proof; justify-content: center; margin: 22px 0 0; align-self: start; }
body.ps-home .ps-hot { padding: 12px; }
body.ps-home .ps-hot .tip { bottom: calc(100% - 4px); }
@media (max-width: 1024px) {
  body.ps-home .ps-hero3-proof { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center !important; gap: 10px 18px !important; }
}
@media (max-width: 760px) {
  body.ps-home .ps-hero3-in { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 76px; }
  body.ps-home .ps-hero3-copy { display: contents; }
  body.ps-home .ps-hero3-eyebrow { order: 1; align-self: flex-start; }
  body.ps-home .ps-hero3 h1 { order: 2; }
  body.ps-home .ps-hero3-lead { order: 3; margin-bottom: 4px !important; }
  body.ps-home .ps-hero3-art { order: 4; margin: 6px -6px 10px !important; }
  body.ps-home .ps-hero3-ctas { order: 5; margin-bottom: 18px !important; }
  body.ps-home .ps-hero3-proof { order: 6; justify-content: flex-start; margin: 0; gap: 10px 16px !important; }
  body.ps-home .ps-hero3-proof li { font-size: 13.5px; }
  body.ps-home .ps-hot .tip { display: none; }
  body.ps-home .ps-hot .dot { width: 18px; height: 18px; }
}

@media (min-width: 1025px) {
  body.ps-home .ps-hero3-proof { flex-wrap: nowrap; width: max-content; justify-self: center; gap: 0 18px !important; }
  body.ps-home .ps-hero3-proof li { font-size: 13.5px; }
}
@media (min-width: 1025px) and (max-width: 1340px) {
  body.ps-home .ps-hero3-proof { justify-self: end; gap: 0 12px !important; }
  body.ps-home .ps-hero3-proof li { font-size: 13px; gap: 7px; }
  body.ps-home .ps-hero3-proof svg { width: 26px; height: 26px; padding: 6px; }
}

/* v9: backdrop behind the dog (crisp disc, ring and soft paw prints) */
body.ps-home .ps-hero3-halo {
  display: block !important; position: absolute; z-index: 0; left: 46%; top: 54%;
  width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: #3463EE; box-shadow: none;
}
body.ps-home .ps-hero3-halo::before {
  content: ""; position: absolute; inset: -9%; border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.22);
}
body.ps-home .ps-hero3-art::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .12;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4'/%3E%3Ccircle cx='6' cy='10' r='2.2'/%3E%3Ccircle cx='10' cy='6.3' r='2.2'/%3E%3Ccircle cx='14' cy='6.3' r='2.2'/%3E%3Ccircle cx='18' cy='10' r='2.2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4'/%3E%3Ccircle cx='6' cy='10' r='2.2'/%3E%3Ccircle cx='10' cy='6.3' r='2.2'/%3E%3Ccircle cx='14' cy='6.3' r='2.2'/%3E%3Ccircle cx='18' cy='10' r='2.2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4'/%3E%3Ccircle cx='6' cy='10' r='2.2'/%3E%3Ccircle cx='10' cy='6.3' r='2.2'/%3E%3Ccircle cx='14' cy='6.3' r='2.2'/%3E%3Ccircle cx='18' cy='10' r='2.2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4'/%3E%3Ccircle cx='6' cy='10' r='2.2'/%3E%3Ccircle cx='10' cy='6.3' r='2.2'/%3E%3Ccircle cx='14' cy='6.3' r='2.2'/%3E%3Ccircle cx='18' cy='10' r='2.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 34px, 24px, 28px, 20px;
  background-position: 6% 8%, 92% 74%, 2% 86%, 84% 96%;
}
body.ps-home .ps-hero3-spark { z-index: 2; }
@media (max-width: 760px) {
  body.ps-home .ps-hero3-halo { width: 66%; left: 45%; }
}
body.ps-home .ps-hero3-halo { width: 60%; top: 50%; left: 47%; }
body.ps-home .ps-hero3-halo::before { inset: -7%; border-color: rgba(255,255,255,.18); }
body.ps-home .ps-hero3-art::before { background-position: 4% 12%, 94% 62%, 6% 80%, 88% 90%; }
@media (max-width: 760px) { body.ps-home .ps-hero3-halo { width: 62%; left: 46%; } }
