/* The original compact notifications, with more of Sunday's story. */
.hero-insights { position:absolute; inset:0; z-index:5; pointer-events:none; }
.hero-insights-content { position:absolute; inset:0; }
.hero-insight {
  position:absolute; display:flex; align-items:center; gap:11px; width:218px;
  min-height:76px; padding:14px; border:1px solid #e9e1e4; border-radius:16px;
  background:#fffefcf5; box-shadow:0 14px 35px -19px #6450643d,0 2px 7px #46394a05;
  color:#12203a; opacity:0; visibility:hidden; pointer-events:none;
  transform:translate3d(var(--insight-arrival-x,-8px),5px,0);
  transition:opacity .4s ease,transform .65s cubic-bezier(.22,1,.36,1),visibility 0s .4s;
}
.hero-insight[data-side="left"] { left:var(--insight-left-x,-12px); top:var(--insight-left-y,48%); --insight-arrival-x:-8px; }
.hero-insight[data-side="right"] { left:var(--insight-right-x,auto); right:-12px; top:var(--insight-right-y,68%); --insight-arrival-x:8px; }
.hero-insight.is-current { opacity:1; visibility:visible; pointer-events:auto; transform:none; transition-delay:0s; }
.hero-insight:focus-visible { outline:2px solid #aa7f96; outline-offset:4px; }
.insight-copy { min-width:0; }
.insight-copy h3 { margin:0; font:500 12.5px/1.35 'Instrument Sans',sans-serif; letter-spacing:-.15px; color:#3e3444; }
.insight-copy p { margin:5px 0 0; font-size:10px; line-height:1.5; color:#847080; }
.insight-portrait,.insight-assistant,.insight-mark { width:34px; height:34px; flex:0 0 auto; }
.insight-portrait { object-fit:cover; border-radius:50%; }
.insight-assistant { object-fit:contain; }
.insight-mark { display:grid; place-items:center; border-radius:11px; background:#f5eaf0; color:#98748e; }
.insight-mark .icon { width:20px; height:20px; }
.hero-insight-scan .insight-mark { color:#a77869; background:#fbede6; }
.hero-insight-health .insight-mark { color:#a17c83; background:#f8e9e9; }
.hero-insight-emergency .insight-mark { color:#987481; background:#f6eceb; }
.hero-insight-ask.is-current .insight-assistant { animation:insight-sun-turn 42s linear infinite; }
@keyframes insight-sun-turn { to { transform:rotate(360deg); } }

/* Controls use the original lower breathing room, without extending the hero. */
.hero-insights-controls { position:absolute; top:calc(100% + 3px); left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:9px; width:max-content; pointer-events:auto; }
.insight-example-label { font-size:8px; letter-spacing:.02em; color:#9b8797; }
.insight-selectors { display:flex; align-items:center; }
.insight-selector { display:grid; place-items:center; width:18px; height:26px; border:0; background:transparent; border-radius:5px; cursor:pointer; }
.insight-selector::after { content:''; width:4px; height:4px; border-radius:50%; background:#dcd0d8; transition:background .25s ease; }
.insight-selector[aria-selected="true"]::after { background:#9b738e; }
.insight-selector:hover::after { background:#b18ba2; }
.insight-selector:focus-visible,.insights-play:focus-visible { outline:2px solid #a67d94; outline-offset:2px; }
.insights-play { display:grid; place-items:center; width:25px; height:25px; border:1px solid #e7dce3; border-radius:50%; color:#a17c93; background:#fffdfb; cursor:pointer; }
.insights-play > span { display:block; width:7px; height:8px; border-inline:1.5px solid currentColor; }
.insights-play[aria-pressed="true"] > span { width:0; height:0; border:4px solid transparent; border-left:6px solid currentColor; border-right:0; margin-left:2px; }
.insights-play:disabled { opacity:.45; cursor:default; }

/* Hero and tour share one phone size, including their laptop presets. */
.hero-grid:has(.hero-insights) { --hero-stage-height:calc(var(--sunday-phone-size) * 149 / 71 + 20px); min-height:0; max-height:none; padding-block:20px 36px; }
.hero-stage { height:var(--hero-stage-height); }
.hero-phone-float { width:var(--sunday-phone-size); }
@media (min-width:901px) and (max-height:639px) {
  .hero-grid:has(.hero-insights) { padding-block:12px 32px; }
}
@media (max-width:900px) {
  .hero-grid:has(.hero-insights) { display:flex; flex-direction:column; align-items:stretch; gap:64px; padding-block:30px 40px; }
  .hero-copy { width:100%; max-width:560px; margin-inline:auto; }
  .hero-stage { width:min(100%,520px); margin-inline:auto; }
}
@media (max-width:1100px) {
  .hero-insight { width:196px; min-height:72px; padding:12px; gap:9px; border-radius:14px; }
  .insight-portrait,.insight-assistant,.insight-mark { width:30px; height:30px; }
  .insight-copy h3 { font-size:11.5px; }
  .insight-copy p { font-size:9.5px; }
}
@media (max-width:650px) {
  .hero-insight { width:218px; min-height:76px; padding:14px; }
  .insight-copy h3 { font-size:12px; }
  .insight-copy p { font-size:10px; }
  .insight-selector { width:23px; height:30px; }
  .insights-play { width:28px; height:28px; }
}
.reduce-motion .hero-insight,.reduce-motion .hero-insight * { animation:none!important; transition:none!important; }
.reduce-motion .hero-insight { transform:none!important; }
@media (prefers-reduced-motion:reduce) {
  .hero-insight,.hero-insight * { animation:none!important; transition:none!important; }
  .hero-insight { transform:none!important; }
}


/* Hero notifications: stronger, faster, and more legible. */
.hero-insight {
  width: 252px;
  min-height: 88px;
  padding: 16px 17px;
  gap: 13px;
  border-radius: 18px;
  border-color: #e5dadd;
  background: rgba(255,254,252,.985);
  box-shadow: 0 22px 54px -23px rgba(67,48,64,.30), 0 5px 16px rgba(73,51,69,.08);
  transform: translate3d(var(--insight-arrival-x,-12px),9px,0) scale(.975);
  transition: opacity .48s ease, transform .62s cubic-bezier(.16,1,.3,1), visibility 0s .48s;
}
.hero-insight[data-side="left"] { --insight-arrival-x:-14px; }
.hero-insight[data-side="right"] { --insight-arrival-x:14px; }
.hero-insight.is-current {
  transform: translate3d(0,0,0) scale(1);
}
.insight-portrait,
.insight-assistant,
.insight-mark {
  width: 38px;
  height: 38px;
}
.insight-mark { border-radius: 12px; }
.insight-mark .icon { width: 21px; height: 21px; }
.insight-copy h3 {
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -.2px;
}
.insight-copy p {
  margin-top: 4px;
  font-size: 10.8px;
  line-height: 1.42;
}
.insight-kicker {
  display: block;
  margin-bottom: 3px;
  font-size: 7px;
  line-height: 1;
  letter-spacing: .09em;
  color: #a38396;
}
.hero-insight-document .insight-mark { color:#8f6e80; background:#f1e9ef; }
.hero-insight.is-current::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
@media (max-width:1100px) {
  .hero-insight { width:218px; min-height:80px; padding:13px 14px; gap:10px; }
  .insight-portrait,.insight-assistant,.insight-mark { width:33px; height:33px; }
  .insight-copy h3 { font-size:12.2px; }
  .insight-copy p { font-size:9.8px; }
  .insight-kicker { font-size:6.5px; }
}
@media (max-width:650px) {
  .hero-insight { width:228px; min-height:82px; padding:14px 15px; }
  .insight-copy h3 { font-size:12.5px; }
  .insight-copy p { font-size:10px; }
}


/* Calmer hero story: three presentation zones and visible nesting into Sunday. */
.hero-insight[data-side="top"] {
  left: var(--insight-top-x, auto);
  top: var(--insight-top-y, 24%);
  --insight-arrival-x: 5px;
}

.hero-insight.is-nesting {
  opacity: .08 !important;
  transform: translate3d(var(--nest-x,0), var(--nest-y,0), 0) scale(.18) !important;
  filter: blur(.35px);
  transition:
    opacity .78s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.16,1,.3,1),
    filter .75s ease !important;
  pointer-events: none;
}

.hero-nav-target {
  position: relative;
}
.hero-nav-count {
  position: absolute;
  top: -4px;
  right: 3px;
  display: grid;
  place-items: center;
  min-width: 13px;
  height: 13px;
  padding-inline: 3px;
  border-radius: 999px;
  background: #f0d8dc;
  color: #7d5e70;
  font: 600 7px/1 'Instrument Sans', sans-serif;
  box-shadow: 0 0 0 2px #fff;
  transition: transform .55s cubic-bezier(.16,1,.3,1), background-color .45s ease;
}
.hero-nav-dot {
  position: absolute;
  top: -1px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dba08e;
  opacity: .65;
  box-shadow: 0 0 0 2px #fff;
}
.hero-nav-target.is-receiving .icon,
.hero-nav-target.is-receiving .hero-nav-count,
.hero-nav-target.is-receiving .hero-nav-dot {
  animation: heroReceivePulse .72s cubic-bezier(.16,1,.3,1);
}
.hero-nav-target.is-receiving .hero-nav-count {
  background: #e8c2c8;
}

@keyframes heroReceivePulse {
  0% { transform: scale(1); }
  42% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

@media (max-width:900px) {
  .hero-insight[data-side="top"] {
    left: var(--insight-top-x, 50%);
    top: var(--insight-top-y, 0);
  }
}

.reduce-motion .hero-nav-target .icon,
.reduce-motion .hero-nav-target .hero-nav-count,
.reduce-motion .hero-nav-target .hero-nav-dot { animation:none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-insight.is-nesting { opacity:0 !important; transform:none !important; filter:none !important; }
  .hero-nav-target.is-receiving .icon,
  .hero-nav-target.is-receiving .hero-nav-count,
  .hero-nav-target.is-receiving .hero-nav-dot { animation:none !important; }
}
