/* ==========================================================================
   The hero is a screen, not a card.

   A Mac desktop bleeding off the right and bottom edges of the hero: wallpaper,
   menu bar with the Undid status item, a Finder window on ~/Documents, the
   panel hanging from its menu bar item, and a Dock. The app is shown where it
   actually lives.
   ========================================================================== */

.hero-band .wrap{max-width:1480px}
.product-grid{grid-template-columns:.9fr 1.1fr;gap:40px}

.screen{
  position:relative;
  width:100%;
  margin:0;
  aspect-ratio:1 / .7;
  border-radius:16px;
  overflow:hidden;
  background:#120E22;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),
             0 26px 50px -30px rgba(8,4,16,.85);
}

/* ---------- wallpaper ---------- */
.wall{position:absolute;inset:0;background:
  radial-gradient(120% 90% at 12% 6%, #C8573E 0%, rgba(200,87,62,0) 55%),
  radial-gradient(110% 80% at 92% 4%, #7A2E63 0%, rgba(122,46,99,0) 58%),
  radial-gradient(120% 90% at 78% 100%, #3F2A6B 0%, rgba(63,42,107,0) 62%),
  linear-gradient(155deg,#2A1533 0%,#4A1E3F 46%,#6E2A47 76%,#A34A3C 100%);
}
.wall i{position:absolute;border-radius:50%;filter:blur(26px);display:block}
.wall .w1{width:56%;aspect-ratio:1;left:-12%;top:-18%;background:rgba(255,166,120,.55)}
.wall .w2{width:48%;aspect-ratio:1;right:-14%;top:-6%;background:rgba(196,86,140,.50)}
.wall .w3{width:62%;aspect-ratio:1;right:-10%;bottom:-26%;background:rgba(96,70,168,.55)}
.wall .w4{width:38%;aspect-ratio:1;left:22%;bottom:-14%;background:rgba(255,120,96,.30)}
.wall::after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.14), transparent 60%);
}

/* ---------- menu bar ---------- */
.sb{
  position:absolute;top:0;left:0;right:0;height:26px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 9px;
  font-size:9px;line-height:1;color:rgba(252,249,243,.92);
  background:rgba(16,10,26,.55);
  backdrop-filter:blur(10px) saturate(150%);
  z-index:4;
}
.sb-left,.sb-right{display:flex;align-items:center;gap:7px}
.sb-apple{width:8.5px;height:8.5px;display:block;opacity:.92}
.sb-left b{font-weight:700}
.sb-left span{opacity:.72}
.sb-ico{width:9px;height:9px;display:block;opacity:.6}
.sb-clock{font-variant-numeric:tabular-nums;opacity:.82}
.sb-undo{
  display:inline-flex;align-items:center;justify-content:center;
  width:14px;height:14px;margin-left:1px;border-radius:3px;
  background:rgba(252,249,243,.16);
}
.sb-undo svg{width:9px;height:9px;stroke-width:2.2;opacity:.95}

/* ---------- Finder ---------- */
.finder{
  position:absolute;left:20px;top:40px;
  width:45%;
  border-radius:9px;overflow:hidden;
  background:rgba(252,249,243,.97);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 22px 44px -22px rgba(8,4,16,.9);
  color:#1C1832;z-index:2;
  transform:rotate(.8deg);
}
.f-top{
  display:flex;align-items:center;gap:4px;
  height:24px;padding:0 8px;
  background:rgba(28,24,50,.07);
  border-bottom:1px solid rgba(28,24,50,.10);
}
.f-dot{width:5.5px;height:5.5px;border-radius:50%;display:block}
.f-dot.r{background:#E0644F}.f-dot.y{background:#E3B341}.f-dot.g{background:#4FB477}
.f-arrows{font-size:8px;color:rgba(28,24,50,.45);margin-left:5px;letter-spacing:1px}
.f-title{font-size:8px;font-weight:700;color:rgba(28,24,50,.72);margin-left:4px}
.f-search{
  margin-left:auto;font-size:6.5px;color:rgba(28,24,50,.42);
  background:rgba(28,24,50,.06);border-radius:3px;padding:2px 10px 2px 6px;
}
.f-body{display:flex;height:210px;overflow:hidden}
.f-side{
  width:34%;height:210px;padding:8px 6px;line-height:1;
  background:rgba(28,24,50,.05);
  border-right:1px solid rgba(28,24,50,.08);
  display:flex;flex-direction:column;gap:1px;
}
.f-head{
  font-size:6px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(28,24,50,.40);padding:3px 4px 2px;line-height:1.3;
}
.f-item{
  font-size:8.5px;line-height:1.5;color:rgba(28,24,50,.66);
  padding:2px 5px;border-radius:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.f-item.on{background:rgba(247,146,87,.24);color:#8F3D12;font-weight:700}
.f-main{flex:1;padding:6px;overflow:hidden;line-height:1}
.f-row{
  display:flex;align-items:center;gap:5px;
  height:24px;padding:0 6px;border-radius:4px;
  font-size:8.5px;line-height:1;color:rgba(28,24,50,.80);
  white-space:nowrap;overflow:hidden;
}
.f-row.just{background:rgba(127,227,192,.30);box-shadow:inset 0 0 0 1px rgba(46,143,115,.45)}
.f-badge{
  margin-left:auto;font-size:5.5px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:#1F6E58;
}
.fic{width:8px;height:10px;border-radius:1.5px;display:block;flex:0 0 8px;background:rgba(247,146,87,.55)}
.fic.fold{height:7px;background:rgba(91,74,138,.42);border-radius:2px}

/* ---------- the panel, hanging from its menu bar item ---------- */
.pop{
  position:absolute;right:26px;top:36px;
  width:36%;z-index:5;
  filter:drop-shadow(0 26px 40px rgba(6,2,12,.75));
}
.pop img{display:block;width:100%;height:auto;border-radius:11px}
.pop::after{
  content:"";position:absolute;top:-5px;right:61px;   /* centred under the status item */
  width:10px;height:10px;border-radius:2px;
  background:#FCF9F3;transform:rotate(45deg);
}

/* ---------- dock ---------- */
.dock{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%);
  display:flex;align-items:center;flex-wrap:nowrap;gap:6px;
  padding:9px 12px;border-radius:15px;gap:11px;
  background:rgba(252,249,243,.20);
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(12px) saturate(140%);
  box-shadow:0 12px 26px -14px rgba(6,2,12,.8);
  z-index:3;
}
.di{width:46px;height:46px;border-radius:11px;display:block;flex:0 0 46px;position:relative;box-sizing:border-box}
.di.icon img{width:100%;height:100%;display:block;border-radius:11px}
.di.finder-tile{background:linear-gradient(180deg,#8FD0F7 0%,#4AA3E0 52%,#2E7BD6 100%);overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.15)}
/* a face, not Apple's artwork */
.di.finder-tile::before{
  content:"";position:absolute;left:0;right:0;top:15px;height:16px;
  background:
    radial-gradient(circle at 32% 0, rgba(255,255,255,.92) 0 8%, transparent 9%),
    radial-gradient(circle at 68% 0, rgba(255,255,255,.92) 0 8%, transparent 9%);
}
.di.finder-tile::after{
  content:"";position:absolute;left:50%;top:26px;width:20px;height:10px;
  margin-left:-10px;border-bottom:2px solid rgba(255,255,255,.85);
  border-radius:0 0 50% 50%;
}
.di.sep{width:1px;height:38px;flex:0 0 1px;background:rgba(255,255,255,.30);margin:0 4px}
.di.trash{
  background:linear-gradient(180deg,#E8EDF4 0%,#C7D0DC 55%,#A9B4C2 100%);overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 4px rgba(0,0,0,.12);
}
.di.trash::before{
  content:"";position:absolute;left:50%;top:14px;bottom:8px;width:18px;margin-left:-9px;
  border:1.5px solid rgba(64,74,92,.60);border-top:0;border-radius:0 0 4px 4px;
  background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0));
}
.di.trash::after{
  content:"";position:absolute;left:50%;top:9px;width:24px;height:2.5px;margin-left:-12px;
  background:rgba(64,74,92,.60);border-radius:2px;
}

@media (max-width:900px){
  .screen{aspect-ratio:1 / .96}
  .pop{width:58%;right:8px;top:26px}
  .pop::after{right:40px}
  .finder{width:62%;left:10px;top:34px}
  .f-body{height:128px}
  .f-side{height:128px}
}
