/* EvoCat for Mac (/mac/): a short sales page around the animated desktop scene. Shared scene styles live in sketchbook.css. */
.mac-page { padding: 118px 0 40px; overflow: hidden; background: radial-gradient(70% 520px at 50% 640px, #160f26 0, #00000000 75%), var(--bg-base); }
.mac-page p { color: #b0aaa3; }
.mac-page strong { color: var(--text-primary); }
.mac-nowrap { white-space: nowrap; }

/* Hero */
.mac-hero-copy { text-align: center; }
.mac-name { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 17px; font-weight: 650; }
.mac-page .mac-name { color: var(--text-primary); }
.mac-name img { width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 10px 30px #0009; }
.mac-hero h1 { max-width: 860px; margin: 0 auto 20px; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.mac-page .mac-lede { max-width: 620px; margin: 0 auto 32px; font-size: clamp(18px, 1.75vw, 22px); line-height: 1.5; text-wrap: pretty; }
.mac-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.mac-actions .btn { margin: 0; min-height: 52px; white-space: normal; text-align: center; }
.mac-page .btn-outline:hover { border-color: #efb46f; }
.mac-page .mac-price-note { max-width: 560px; margin: 18px auto 0; font-size: 15px; line-height: 1.55; color: #8f8a82; }
.mac-hero-demo { width: min(1140px, calc(100% - 48px)); margin: 52px auto 0; }
.mac-motion { margin-left: 10px; padding: 4px 12px; min-height: 32px; border: 1px solid #ffffff2a; border-radius: 100px; background: transparent; color: #d8d3ca; font: inherit; font-size: 13px; cursor: pointer; }
.mac-motion:hover { border-color: #efb46f; }
@media (prefers-reduced-motion: no-preference) {
  .mac-hero-demo { animation: mac-rise 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  @keyframes mac-rise { from { transform: translateY(48px) scale(.96); } to { transform: none; } }
}

/* Sections */
.mac-body { margin-top: 48px; }
.mac-section { padding-block: 76px; border-top: 1px solid var(--border-strong); }
.mac-section h2 { max-width: 760px; margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.mac-section p { max-width: 680px; margin: 0 0 14px; font-size: 18px; line-height: 1.65; }
.mac-section .mac-quiet { font-size: 16px; color: #8f8a82; }

/* Install strip: download, drag into Applications (drawn like the DMG window), allow the browser. */
.mac-install { padding-top: 24px; border-top: 0; }
.mac-install-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); gap: 16px; }
.mac-install-steps > li { display: flex; flex-direction: column; padding: 22px 22px 26px; border: 1px solid #ffffff14; border-radius: 22px; background: linear-gradient(180deg, #17161b, #0e0e11); }
.mac-install-art { flex: 1; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 14px; margin-bottom: 18px; }
.mac-art-download { width: 104px; height: 104px; filter: drop-shadow(0 12px 24px #ff8a2a40); }
.mac-file { padding: 7px 14px; border: 1px solid #ffffff1a; border-radius: 100px; background: #ffffff10; color: #e6e1d8; font-size: 13px; }
.mac-install-steps h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 21px; }
.mac-install-steps h3 .mac-step-n { margin: 0; flex-shrink: 0; }
.mac-install-steps p { margin: 0; font-size: 16px; line-height: 1.5; }
.mac-dmg { flex: 1; display: flex; flex-direction: column; margin-bottom: 18px; overflow: hidden; border-radius: 14px; background: #f4f3f6; box-shadow: 0 24px 60px -20px #000c, 0 0 0 1px #ffffff26; color: #1d1d1f; }
.mac-dmg-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-bottom: 1px solid #d4d3d9; background: #e6e5ea; }
.mac-dmg-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mac-dmg-bar i:nth-child(2) { background: #febc2e; }
.mac-dmg-bar i:nth-child(3) { background: #28c840; }
.mac-dmg-bar span { position: absolute; inset: 0; display: grid; place-items: center; color: #4a4a4f; font-size: 13px; font-weight: 600; }
.mac-page .mac-dmg-title { max-width: none; margin: 24px 16px 0; text-align: center; color: #1d1d1f; font-size: clamp(18px, 1.9vw, 23px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.mac-dmg-row { --pad: 20px; --item: 112px; --icon: 96px; position: relative; flex: 1; display: flex; align-items: center; gap: 8px; padding: 22px var(--pad) 30px; }
.mac-dmg-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: var(--item); flex-shrink: 0; color: #1d1d1f; font-size: 13px; font-weight: 500; text-align: center; line-height: 1.3; }
.mac-dmg-item img { width: var(--icon); height: var(--icon); border-radius: 22%; box-shadow: 0 8px 18px #0003; }
.mac-folder { width: var(--icon); height: var(--icon); }
.mac-dmg-arrow { flex: 1; min-width: 0; height: calc(var(--icon) * .8); filter: drop-shadow(0 6px 10px #ff8a2a55); }
.mac-dmg-ghost { position: absolute; top: 22px; left: calc(var(--pad) + (var(--item) - var(--icon)) / 2); width: var(--icon); height: var(--icon); border-radius: 22%; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  /* Three short drags (4.5 s in all) once the step scrolls into view, then it rests. */
  .reveal-ready .mac-install-drag.is-revealed .mac-dmg-ghost { animation: mac-drag 1.5s cubic-bezier(.45, 0, .25, 1) .6s 3 both; }
  @keyframes mac-drag {
    0% { left: calc(var(--pad) + (var(--item) - var(--icon)) / 2); opacity: 0; transform: none; }
    14% { opacity: .9; transform: scale(1.06) rotate(-4deg); }
    76% { left: calc(100% - var(--pad) - (var(--item) + var(--icon)) / 2); opacity: .9; transform: scale(1.06) rotate(-4deg); }
    100% { left: calc(100% - var(--pad) - (var(--item) + var(--icon)) / 2); opacity: 0; transform: scale(.9); }
  }
}
.mac-prompt { width: min(240px, 100%); display: grid; justify-items: center; gap: 10px; padding: 18px 16px 16px; border-radius: 18px; background: #ecebf0; box-shadow: 0 20px 50px -20px #000c, 0 0 0 1px #ffffff26; color: #1d1d1f; text-align: center; }
.mac-prompt img { width: 40px; height: 40px; border-radius: 9px; }
.mac-prompt b { font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.mac-prompt-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-top: 4px; }
.mac-prompt-buttons span { padding: 6px 0; border-radius: 100px; background: #d9d8de; font-size: 12px; }
.mac-prompt-buttons .mac-prompt-allow { background: #0062d6; color: #fff; font-weight: 600; box-shadow: 0 0 0 3px #ff8a2a; }

.mac-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mac-steps li { padding: 26px 24px 28px; border: 1px solid #ffffff14; border-radius: 20px; background: linear-gradient(180deg, #17161b, #0e0e11); }
.mac-step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: #efb46f1f; color: #efb46f; font-size: 15px; font-weight: 700; }
.mac-steps h3 { margin: 0 0 6px; font-size: 21px; }
.mac-steps p { margin: 0; font-size: 16px; line-height: 1.55; }

.mac-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.mac-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mac-chips li { padding: 11px 18px; border: 1px solid #ffffff1f; border-radius: 100px; background: #141418; color: #e6e1d8; font-size: 15px; line-height: 1.3; }

.mac-cats { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 24px 14px; }
.mac-cats li { text-align: center; font-size: 13.5px; line-height: 1.35; color: #d8d3ca; }
.mac-cat { display: block; margin-bottom: 9px; padding: 8%; border-radius: 8px 12px 7px 13px; background: #efe7d7; transform: rotate(-1.5deg); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.mac-cats li:nth-child(even) .mac-cat { transform: rotate(1.5deg); }
.mac-cats li:hover .mac-cat { transform: translateY(-4px) rotate(0); }
.mac-cat img { display: block; width: 100%; height: auto; }

.mac-details { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mac-details li { padding: 24px; border: 1px solid #ffffff14; border-radius: 18px; background: #111114; color: #b0aaa3; font-size: 16px; line-height: 1.55; }
.mac-details strong { display: block; margin-bottom: 4px; font-size: 18px; }

.mac-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.mac-pair h2 { font-size: clamp(26px, 2.6vw, 34px); }
.mac-pair p { font-size: 17px; }

.mac-price { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mac-price-card { padding: 36px; border: 1px solid #ffffff1c; border-radius: 26px; background: radial-gradient(120% 90% at 0 0, #2a1f3f 0, #2a1f3f00 60%), #121116; box-shadow: 0 30px 80px -30px #5a3fb066; }
.mac-page .mac-price-amount { margin: 0 0 20px; color: #f2efe8; font-size: clamp(34px, 3.4vw, 46px); font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.mac-page .mac-price-amount span { font-size: 18px; font-weight: 600; letter-spacing: 0; color: #b0aaa3; }
.mac-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.mac-checks li { position: relative; padding-left: 28px; color: #e6e1d8; font-size: 16px; line-height: 1.45; }
.mac-checks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border: solid #efb46f; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.mac-price-card .mac-actions { justify-content: flex-start; }
.mac-page .mac-fine { max-width: none; margin: 22px 0 0; font-size: 14px; line-height: 1.55; color: #8f8a82; }

.mac-iphone .mac-actions { justify-content: flex-start; margin-top: 24px; gap: 24px; }
.mac-iphone .btn { white-space: normal; }
.mac-crumbs { padding-top: 28px; border-top: 1px solid var(--border-strong); }

@media (max-width: 900px) {
  .mac-page { padding-top: 112px; }
  .mac-body { margin-top: 32px; }
  .mac-section { padding-block: 56px; }
  .mac-steps, .mac-details { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mac-install-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mac-install-art { min-height: 0; padding-block: 12px; }
  .mac-split, .mac-pair, .mac-price { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mac-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (max-width: 520px) {
  .mac-hero-demo { width: calc(100% - 24px); margin-top: 44px; }
  .mac-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mac-cats li { font-size: 12.5px; }
  .mac-actions .btn { width: 100%; }
  .mac-price-card { padding: 26px 22px; }
  .mac-checks { grid-template-columns: minmax(0, 1fr); }
  .mac-install-steps > .mac-install-drag { padding-inline: 14px; }
  .mac-dmg-row { --pad: 10px; --item: 76px; --icon: 60px; padding-block: 18px 24px; }
  .mac-dmg-ghost { top: 18px; }
  .mac-dmg-item { font-size: 12px; }
}
@media (max-width: 360px) {
  .mac-dmg-row { --item: 68px; --icon: 52px; }
}
