/*
 * Homepage experience: lightweight, CSS-only hero motion + native RTL carousel.
 * Kept separate from site.css so inner pages do not download homepage styles.
 */
.hi-home-hero{
  isolation:isolate;
  min-height:clamp(410px,45vw,580px);
  background:#111827;
}
.hi-home-hero__content{
  min-height:clamp(410px,45vw,580px);
  padding-block:56px;
  position:relative;
}
.hi-home-hero__content > *{max-width:790px}
.hi-home-hero__title{max-width:13ch;text-wrap:balance;line-height:1.4}
.hi-home-hero__description{
  max-width:640px;
  margin:0 0 26px;
  font-size:clamp(.86rem,1.3vw,1.06rem);
  line-height:2.05;
  color:#e2e8f0;
  text-wrap:pretty;
  text-shadow:0 2px 16px rgba(0,0,0,.3);
}
.hi-home-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px}
.hi-home-hero__primary{position:relative;overflow:hidden;text-decoration:none}
.hi-home-hero__primary::after{
  content:"";position:absolute;inset:-65% auto -65% -45%;width:26%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  transform:skewX(-26deg) translateX(-340%);pointer-events:none;
}
.hi-home-hero__secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
  min-height:50px;padding:11px 20px;border-radius:17px;
  color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.38);
  background:rgba(15,23,42,.35);backdrop-filter:blur(12px);
  font-size:.88rem;font-weight:900;
  transition:background-color .25s ease,border-color .25s ease,transform .25s ease;
}
.hi-home-hero__secondary:hover,.hi-home-hero__secondary:focus-visible{
  background:rgba(255,255,255,.16);border-color:#fff;color:#fff;transform:translateY(-2px);
}
.hi-home-hero a:focus-visible{
  outline:3px solid #fed7aa;outline-offset:4px;
}
.hi-home-hero__eyebrow{box-shadow:0 0 0 1px rgba(251,146,60,.15),0 18px 42px rgba(0,0,0,.25)}
.hi-home-hero__effects{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.hi-home-hero__glow{
  position:absolute;width:360px;aspect-ratio:1;border-radius:50%;opacity:.55;
  background:radial-gradient(circle,rgba(249,115,22,.46) 0%,rgba(234,88,12,.1) 48%,transparent 73%);
  filter:blur(24px);
}
.hi-home-hero__glow--one{top:-140px;left:9%}
.hi-home-hero__glow--two{bottom:-220px;right:-100px;width:460px;opacity:.35}
.hi-home-hero__orbit{
  position:absolute;left:11%;top:50%;aspect-ratio:1;border-radius:50%;
  border:1px solid rgba(251,191,36,.22);transform:translateY(-50%) rotate(-18deg);
  box-shadow:0 0 65px rgba(249,115,22,.07),inset 0 0 65px rgba(249,115,22,.05);
}
.hi-home-hero__orbit--outer{width:400px}
.hi-home-hero__orbit--inner{width:268px;left:calc(11% + 66px);border-style:dashed;border-color:rgba(255,255,255,.19)}
.hi-home-hero__spark{
  position:absolute;width:9px;height:9px;border-radius:50%;background:#fed7aa;
  box-shadow:0 0 0 6px rgba(249,115,22,.13),0 0 35px 12px rgba(251,146,60,.6)
}
.hi-home-hero__spark--one{top:21%;left:25%}
.hi-home-hero__spark--two{bottom:24%;left:12%;width:6px;height:6px}

/* Daily picks: a true native, finger-swipeable carousel on phones. */
.hi-daily-section{position:relative;min-width:0}
.hi-daily-heading-row{
  display:flex;align-items:end;justify-content:space-between;gap:20px;
  padding-inline:8px;margin-bottom:22px
}
.hi-daily-heading-copy{min-width:0}
.hi-daily-eyebrow{
  display:inline-flex;align-items:center;gap:8px;color:#ea580c;
  font-size:.76rem;font-weight:900;margin-bottom:12px;letter-spacing:.01em
}
.dark .hi-daily-eyebrow{color:#fdba74}
.hi-daily-title{
  margin:0;color:#1f2937;font-size:clamp(1.3rem,2.4vw,2.1rem);
  font-weight:950;line-height:1.6;text-wrap:balance
}
.dark .hi-daily-title{color:#fff}
.hi-daily-title span{color:#ea580c;text-decoration:underline;text-underline-offset:7px;text-decoration-color:rgba(249,115,22,.25)}
.hi-daily-intro{margin:7px 0 0;color:#64748b;font-size:.84rem;font-weight:700;line-height:1.9}
.dark .hi-daily-intro{color:#94a3b8}
.hi-daily-controls{display:none;align-items:center;gap:8px;flex:0 0 auto}
.hi-daily-arrow{
  display:grid;place-items:center;cursor:pointer;width:40px;height:40px;border-radius:13px;
  border:1px solid rgba(249,115,22,.2);background:#fff7ed;color:#ea580c;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease
}
.hi-daily-arrow:not(:disabled):hover{transform:translateY(-2px);background:#ffedd5;box-shadow:0 7px 18px rgba(234,88,12,.16)}
.hi-daily-arrow:disabled{opacity:.4;cursor:not-allowed}
.hi-daily-arrow:focus-visible,.hi-daily-dot:focus-visible,.hi-daily-track:focus-visible{outline:3px solid #f97316;outline-offset:3px}
.dark .hi-daily-arrow{background:#292524;color:#fdba74;border-color:#9a3412}
.hi-daily-counter{min-width:55px;text-align:center;white-space:nowrap;font-size:.74rem;font-weight:900;color:#64748b}
.hi-daily-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;min-width:0}
#hi-daily-picks .hi-daily-slide{min-width:0}
.hi-daily-slide > [data-suggestion-card]{height:100%;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.hi-daily-dots{display:none}
@media(max-width:767px){
  .hi-home-hero,.hi-home-hero__content{min-height:480px}
  .hi-home-hero__content{padding:45px 22px 54px}
  .hi-home-hero__title{max-width:17ch;font-size:clamp(1.45rem,6.4vw,2.2rem)!important}
  .hi-home-hero__description{font-size:.82rem;line-height:1.9;margin-bottom:19px}
  .hi-home-hero__actions{width:100%;gap:9px}
  .hi-home-hero__actions a{min-height:46px;padding:11px 13px;font-size:.78rem!important}
  .hi-home-hero__glow--one{left:-160px;top:-110px;width:270px;filter:blur(12px)}
  .hi-home-hero__glow--two{right:-180px;bottom:-180px;width:290px;filter:blur(12px)}
  .hi-home-hero__orbit{left:-165px;opacity:.5}
  .hi-home-hero__orbit--inner{left:-90px}
  .hi-home-hero__spark--one{left:9%;top:13%}
  .hi-home-hero__spark--two{left:14%;bottom:13%}
  #hi-daily-picks{margin-inline:0}
  .hi-daily-heading-row{padding-inline:4px;margin-bottom:16px;align-items:flex-end;gap:9px}
  .hi-daily-eyebrow{font-size:.68rem;margin-bottom:5px}
  .hi-daily-title{font-size:clamp(1.06rem,4.5vw,1.4rem);line-height:1.6}
  .hi-daily-intro{font-size:.73rem;line-height:1.8}
  .hi-daily-controls{display:flex}
  .hi-daily-arrow{width:35px;height:35px;border-radius:11px}
  .hi-daily-counter{font-size:.69rem;min-width:45px}
  #hi-daily-picks .hi-daily-track{
    display:flex;align-items:stretch;gap:13px;
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:14px;
    -webkit-overflow-scrolling:touch;
    padding:7px 14px 20px;margin-inline:-14px;
    scrollbar-width:none;touch-action:pan-x pan-y
  }
  .hi-daily-track::-webkit-scrollbar{display:none}
  #hi-daily-picks .hi-daily-slide{
    flex:0 0 min(84vw,410px);width:min(84vw,410px);
    min-width:0;max-width:none;scroll-snap-align:start;
  }
  #hi-daily-picks .hi-daily-slide > [data-suggestion-card]{
    border-radius:21px;box-shadow:0 12px 25px rgba(15,23,42,.12);
    border:1px solid rgba(148,163,184,.13)
  }
  #hi-daily-picks .hi-daily-slide.is-active > [data-suggestion-card]{
    border-color:rgba(249,115,22,.4);
    box-shadow:0 18px 35px rgba(249,115,22,.16)
  }
  #hi-daily-picks .hi-daily-slide [data-suggestion-panel]{padding:18px}
  #hi-daily-picks .hi-daily-slide [data-suggestion-panel] .grid{gap:9px}
  .hi-daily-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:-3px}
  .hi-daily-dot{
    width:9px;height:9px;padding:0;border:0;border-radius:99px;
    background:#cbd5e1;cursor:pointer;transition:width .27s ease,background-color .27s ease
  }
  .hi-daily-dot.is-active{width:28px;background:linear-gradient(90deg,#fb923c,#ea580c)}
  .dark .hi-daily-dot{background:#475569}
  .dark .hi-daily-dot.is-active{background:#fb923c}
}
@media(max-width:430px){
  .hi-daily-heading-row{flex-wrap:wrap}
  .hi-daily-controls{margin-inline-start:auto}
  .hi-home-hero__actions a{width:100%}
  .hi-home-hero,.hi-home-hero__content{min-height:540px}
}
@media(prefers-reduced-motion:no-preference){
  @keyframes hi-hero-rise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
  @keyframes hi-hero-float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(10px,-14px,0)}}
  @keyframes hi-hero-breathe{0%,100%{opacity:.43;transform:scale(1)}50%{opacity:.68;transform:scale(1.1)}}
  @keyframes hi-hero-orbit{from{transform:translateY(-50%) rotate(-18deg)}to{transform:translateY(-50%) rotate(342deg)}}
  @keyframes hi-hero-shine{0%,60%{transform:skewX(-26deg) translateX(-340%)}85%,100%{transform:skewX(-26deg) translateX(1000%)}}
  .hi-home-hero .hero-fade{animation:hi-hero-rise .75s cubic-bezier(.2,.8,.2,1) both}
  .hi-home-hero .hero-delay-1{animation-delay:.12s}
  .hi-home-hero .hero-delay-2{animation-delay:.24s}
  .hi-home-hero .hero-delay-3{animation-delay:.36s}
  .hi-home-hero__glow--one{animation:hi-hero-breathe 9s ease-in-out infinite}
  .hi-home-hero__glow--two{animation:hi-hero-breathe 11s ease-in-out -4s infinite}
  .hi-home-hero__orbit--outer{animation:hi-hero-orbit 42s linear infinite}
  .hi-home-hero__orbit--inner{animation:hi-hero-orbit 34s linear reverse infinite}
  .hi-home-hero__spark{animation:hi-hero-float 6s ease-in-out infinite}
  .hi-home-hero__spark--two{animation-delay:-3s}
  .hi-home-hero__primary::after{animation:hi-hero-shine 7s ease-in-out 1.5s infinite}
}
@media(prefers-reduced-motion:reduce){
  .hi-home-hero *, .hi-daily-section *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
