/* Live hero layer: a straight phone, a rotating word in the eyebrow and one reminder card that follows it.
   Additive on top of hero-editorial.css; without JS the first word and card stay as a still frame. */
.hero-live{--hlv-blue:#326bfa;--hlv-ink:#1d2939;--hlv-line:#e9eef6}

/* Straight, calm product shot */
.hero-live .hero-phone{transform:translateX(-50%)}
.hero-live .hero-glass-calendar,.hero-live .hero-glass-bell{transform:none}

/* Eyebrow: «یادآور به‌موقع» + one word at a time, sliding up */
.hlv-rotator{position:relative;display:inline-grid;height:1.8em;overflow:hidden;vertical-align:bottom}
.hlv-rotator b{grid-area:1/1;color:var(--hlv-blue);font-weight:600;white-space:nowrap;transform:translateY(100%);opacity:0;transition:transform .55s cubic-bezier(.65,0,.35,1),opacity .4s}
.hlv-rotator b.is-current{transform:none;opacity:1}
.hlv-rotator b.is-leaving{transform:translateY(-100%);opacity:0}

/* Reminder card */
.hlv-notice{position:absolute;z-index:4;left:0;top:148px;display:flex;align-items:center;gap:12px;width:262px;padding:14px 16px;border:1px solid var(--hlv-line);border-radius:20px;background:#fff;box-shadow:0 12px 32px #1d293912;text-align:right;color:var(--hlv-ink);pointer-events:none}
.hlv-notice-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f2f6ff}
.hero-editorial .hlv-notice-icon img{width:30px;height:30px;border-radius:8px}
.hlv-notice-body{flex:1;min-width:0;transition:transform .5s cubic-bezier(.65,0,.35,1),opacity .35s}
.hlv-notice-body.is-leaving{transform:translateY(-10px);opacity:0}
.hlv-notice-body.is-entering{transform:translateY(10px);opacity:0;transition:none}
.hlv-notice-head{display:flex;align-items:center;margin-bottom:2px;font-size:11px;color:#98a2b3}
.hlv-notice-head b{color:#475467;font-weight:600}
.hlv-notice-head span{margin-inline-start:auto}
.hlv-notice strong{display:block;font-size:13.5px;font-weight:600;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hlv-notice p{margin:0;color:var(--hlv-blue);font-size:12px;line-height:1.7}

@media(max-width:1100px){.hlv-notice{top:120px;width:240px}}
@media(max-width:800px){
  /* Mobile: flat, no faded shadows. */
  .hlv-notice{top:150px;left:0;width:224px;padding:12px 14px;border-radius:18px;box-shadow:none}
  .hlv-notice-icon{width:36px;height:36px}
  .hero-editorial .hlv-notice-icon img{width:26px;height:26px}
  .hlv-notice strong{font-size:12.5px}
}
@media(max-width:400px){.hlv-notice{top:130px;width:210px}}
@media(prefers-reduced-motion:reduce){.hero-live *{transition:none!important}}

/* Headline on one line, lighter weight; sized to its own column so it never wraps. */
.hero-live .hero-content{container-type:inline-size}
.hero-live h1{font-size:min(52px,9.2cqi);font-weight:600;letter-spacing:-1px;white-space:nowrap;line-height:1.5}
.hero-live h1>span{display:inline;width:auto;margin:0}
/* Larger eyebrow with the rotating word */
.hero-live .eyebrow{font-size:18px;gap:12px}
.hero-live .eyebrow:before{width:9px;height:9px}
.hero-live .hlv-rotator b{font-weight:600}
/* Keep the reminder card clear of the scene's soft left edge (mask fades 0–7%). */
.hero-live .hlv-notice{left:calc(7% + 12px)}
@media(max-width:800px){
  .hero-live .eyebrow{font-size:16px}
  .hero-live h1{letter-spacing:-.5px}
  .hero-live .hlv-notice{left:calc(5% + 8px)}
}
/* Short words sit right next to «یادآور به‌موقع» instead of centring in the widest word's box. */
.hero-live .hlv-rotator b{justify-self:start;text-align:start}
/* Browsers without container units (Safari < 16, Chrome < 105) would get the 62px editorial size with nowrap and overflow; let them wrap instead. */
@supports not (font-size:1cqi){.hero-live h1{white-space:normal}}
