/* The Mac download page (mac/), on top of /vs/vs.css's tokens, buttons and footer: the home page's
   full-bleed sky hero with the nav inside, the editor-window illustration and three cards. */
.wrap { max-width: 1180px; }

/* The sky hero, as the home page's */
.mac-hero {
  position: relative; overflow: clip; color: #ffffff;
  background: linear-gradient(115deg, var(--sky-a) 0%, var(--sky-a) 26%, var(--sky-b) 62%, var(--sky-c) 100%);
  border-radius: 0 0 44px 44px; padding-block: 0 88px;
}
.mac-hero::before, .mac-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09); pointer-events: none; }
.mac-hero::before { width: 520px; height: 520px; right: -140px; top: -160px; }
.mac-hero::after { width: 300px; height: 300px; left: -120px; bottom: -150px; }
.mac-hero :focus-visible { outline-color: #ffffff; }
.mac-hero .brand .appicon { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.mac-nav { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.mac-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.mac-links .text { text-decoration: none; font: 600 15px var(--body); color: rgba(255, 255, 255, .92); }
.mac-links .text:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.mac-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 28px; }
.mac-hero h1 { margin: 0; font: 700 clamp(46px, 7.6vw, 96px)/.92 var(--display); letter-spacing: -.025em; }
.mac-hero .hl { rotate: -2.5deg; }
.mac-hero .lede { max-width: 34ch; margin-top: 24px; }
.mac-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
.mac-cta .btn { gap: 10px; }
.mac-cta .btn svg { width: 20px; height: 20px; flex: none; }
.mac-cta .fine { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.mac-open { font: 600 15px/1.4 var(--body); color: #ffffff; text-underline-offset: 4px; }

/* The editor window, always dark like the app's editor */
.mac-stage { position: relative; display: grid; place-items: center; padding: 40px 20px 10px; }
.mac-buddy { position: absolute; z-index: 3; top: 0; left: 10px; width: 120px; height: 120px; rotate: -10deg; }
.mac-win {
  position: relative; z-index: 2; width: min(520px, 100%); aspect-ratio: 16 / 10.5; overflow: hidden; rotate: -2deg;
  display: grid; grid-template-rows: 30px 1fr 34%;
  border-radius: 16px; background: #0a0a0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 34px 64px rgba(8, 26, 120, .38);
}
.mac-bar { display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mac-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mac-bar .close { background: #ff5f57; }
.mac-bar .min { background: #febc2e; }
.mac-bar .zoom { background: #28c840; }
.mac-pv { display: grid; place-items: center; min-height: 0; padding: 10px; }
.mac-pv > span { position: relative; height: 100%; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: linear-gradient(170deg, #3b4b78, #2a2747); }
.mac-cap { position: absolute; left: 6px; right: 6px; bottom: 22%; font: 700 11px/1.05 var(--display); text-transform: uppercase; color: #ffffff; text-align: center; text-shadow: 0 2px 0 #121521, 1px 1px 0 #121521, -1px 1px 0 #121521; }
.mac-cap em { font-style: normal; color: #ffe68f; }
.mac-tl { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; background: #141418; border-top: 1px solid rgba(255, 255, 255, .08); }
.mac-tl div { display: flex; gap: 3px; height: 12px; }
.mac-tl i { border-radius: 4px; }
.mac-tl .gap { background: repeating-linear-gradient(135deg, #3a4566 0 3px, transparent 3px 6px); }
.mac-tl .clip { background: #2350ff; }
.mac-tl .caption { background: #547aff; }
.mac-tl .sound { background: #29ad96; }

/* Same account. Bigger screen. */
.mac-sec { padding-top: clamp(64px, 8vw, 104px); }
.mac-head { display: grid; gap: 14px; justify-items: center; max-width: 780px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.mac-head h2 { margin: 0; font: 700 clamp(36px, 5vw, 56px)/1 var(--display); letter-spacing: -.02em; }
.mac-head p { margin: 0; max-width: 48ch; color: var(--muted); font-size: 19px; }
.mac-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mac-fact { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 28px; background: var(--card); border: 2px solid var(--line); border-bottom-width: 7px; }
.mac-node { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 0 var(--accent-depth); }
.mac-node svg { width: 28px; height: 28px; }
.mac-fact h3 { margin: 0; font: 600 24px/1.15 var(--display); }
.mac-fact p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

@media (max-width: 760px) {
  .mac-grid, .mac-facts { grid-template-columns: minmax(0, 1fr); }
  .mac-links .text { display: none; }
}
@media (max-width: 600px) {
  .mac-hero { border-radius: 0 0 32px 32px; }
  .mac-hero .lede, .mac-head p { font-size: 17px; }
  .mac-stage { padding: 64px 4px 12px; }
  .mac-buddy { width: 100px; height: 100px; left: 0; top: 2px; }
}
