/* Home screen: hero with search, the four quick tiles, Rafiki and "Pay simply" */
.hero{position:relative;min-height:300px;color:#fff;padding:18px 0 56px;overflow:hidden}
.hero .ph{position:absolute;inset:0;z-index:0}
.hero .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .9s ease;pointer-events:none}
.hero .hero-video.is-on{opacity:1}
/* The banner is much wider than the 16:9 clip, so only a band of it shows. Aim that band at the herd
   (about 70-80% down the frame) instead of the sky in the middle. */
.hero .ph img,.hero .hero-video{object-position:50% 80%}
@media (prefers-reduced-motion: reduce){.hero .hero-video{display:none}}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--scrim),rgba(45,28,10,.1) 40%,var(--scrim-strong));z-index:1}
.hero__in{position:relative;z-index:2;min-height:226px;display:flex;flex-direction:column;justify-content:space-between;padding:0 var(--gutter)}
.brandrow{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hero h1{font-size:36px;line-height:1.02;font-weight:800;margin-top:44px}
.hero p{margin:8px 0 0;opacity:.92;max-width:30ch}
.searchbar{display:flex;align-items:center;gap:10px;background:var(--card);color:var(--mut);border-radius:16px;padding:14px 16px;margin-top:18px;width:100%;box-shadow:0 8px 24px -10px rgba(0,0,0,.4)}
.searchbar .i{width:18px;height:18px;color:var(--brand-strong)}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:-40px;position:relative;z-index:3}
.tile{background:var(--card);border-radius:18px;padding:13px 4px 11px;box-shadow:0 8px 22px -12px rgba(31,26,18,.35);display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11.5px;font-weight:800;color:var(--ink)}
.tile span{width:38px;height:38px;border-radius:12px;background:var(--gold-tint);color:var(--gold-ink);display:grid;place-items:center}
.tile .i{width:21px;height:21px}
/* No card: an app-style icon with its label underneath. The plain icon underneath shows if the picture cannot load. */
.tile{background:none;box-shadow:none;padding:0}
.tile .thumb{position:relative;width:60px;height:60px;border-radius:16px;overflow:hidden;background:var(--card);box-shadow:0 8px 20px -10px rgba(31,26,18,.55)}
.tile .thumb img{position:absolute;inset:0;width:100%;height:100%;padding:12%;box-sizing:border-box;object-fit:contain;background:var(--card)}  /* covers the fallback icon */
.home-pair{display:grid;gap:16px}
.season{flex-direction:row;align-items:center;gap:12px}
.season__pic{width:64px;height:64px;border-radius:14px;overflow:hidden;flex:none}
.season__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.home-list-biz{display:block}

@media (min-width:900px){
  .hero{min-height:460px;padding:0 0 90px;display:flex;align-items:flex-end}
  .hero__in{min-height:0;padding:0 32px}
  .hero .brandrow{display:none}            /* the desktop header shows the brand */
  .hero h1{font-size:60px;margin-top:0;max-width:14ch}
  .hero p{font-size:18px;max-width:40ch}
  .searchbar{max-width:620px;padding:18px 20px;font-size:16px}
  .tiles{max-width:820px;gap:16px;margin-top:-56px}
  .tile{padding:0;font-size:14px;gap:8px}
  .tile .thumb{width:84px;height:84px;border-radius:20px;transition:transform .15s ease,box-shadow .15s ease}
  .tile:hover .thumb{transform:translateY(-3px);box-shadow:0 14px 28px -12px rgba(31,26,18,.6)}
  .tile span{width:48px;height:48px;border-radius:14px}
  .tile .i{width:24px;height:24px}
  .home-pair{grid-template-columns:1.2fr 1fr;gap:20px}
  .ai-hero{padding:28px;justify-content:center}
  .ai-hero h2{font-size:30px}
  .season__pic{width:96px;height:72px}
  .home-list-biz{display:none}             /* it's in the desktop header */
}
