/* /mac: Lumio AI for Mac (docs/mac-app.md). Built on styles.css: the hero, the window mock-up (.mk), the cards, the FAQ
   and /extension's "Coming soon" pill and closing band; these are only what the Mac page adds. */
.hero-mac { padding-bottom: 50px; }
.hero-mac h1 { max-width: 11ch; }
/* mac.js shows the one that's true: Download for Mac, or "Coming soon" */
[data-mac-download][hidden], [data-mac-soon][hidden], [data-mac-version][hidden] { display: none; }
.btn-mac { display: inline-flex; align-items: center; gap: 9px; }
.btn-mac svg { flex: none; }

/* The window: a Mac title bar (the name in the middle, no address), then the chat */
.mac-bar { background: var(--mk-sidebar); }
.mac-title { color: var(--dim); font: 600 13px var(--sans); letter-spacing: -.005em; }
.mac-key { margin-left: auto; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: none; color: var(--mk-label); font: 500 11px var(--mono); white-space: nowrap; }
.mk-row.mac-on { background: var(--mk-overlay); color: var(--text); }
.mac-shot .mk-head b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mac-thread { padding-bottom: 130px; }
.mac-file {
  align-self: flex-end; margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 11px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--mk-card); color: var(--dim);
}
.mac-file svg { color: #f59a8b; }
.mac-file b { display: block; color: var(--text); font: 500 13.5px var(--sans); }
.mac-file small { display: block; color: var(--mk-label); font-size: 11.5px; }

/* Install: three numbered cards; the middle one draws the download's window (the app, an arrow, Applications) */
.mac-install, .mac-what { padding: 90px 0 30px; }
.mac-steps {
  list-style: none; width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.mac-steps .card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; }
.mac-steps h3 { font-size: 17px; margin-top: 14px; }
.mac-steps .card p { font-size: 15px; line-height: 1.55; }
.mac-steps b { color: var(--text); font-weight: 600; }
.mac-step-n {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent); font: 600 14px var(--mono);
}
.mac-dmg { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.mac-dmg > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; border: 1px solid var(--line); background: var(--mk-card2, #0e0e11); }
.mac-dmg > .mac-dmg-app { color: var(--text); background: linear-gradient(160deg, #1b1d24, #0d0e12); }
.mac-dmg-folder { color: var(--accent); }
.mac-dmg-arrow { color: var(--label); }
.motion .mac-dmg-arrow { animation: mac-nudge 2.4s var(--ease) infinite; }
@keyframes mac-nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }

/* What you get: four cards, two a row */
.mac-feats { width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mac-feats kbd { white-space: nowrap; color: var(--text); }
.mac-faq { padding-top: 90px; }
.mac-faq details a { color: var(--accent); }

@media (max-width: 900px) {
  .mac-steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .mac-dmg { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .mac-feats { grid-template-columns: minmax(0, 1fr); }
  .mac-file { padding: 7px 12px 7px 9px; }
}
