:root {
  color-scheme: dark;
  --bg: #08090c;
  --surface: #121318;
  --surface-2: #1a1b21;
  --line: rgba(255, 255, 255, .12);
  --text: #f5f5f7;
  --muted: #a1a1a8;
  --blue: #78a2ff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 680; }
.brand img { border-radius: 10px; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.nav-download { display: inline-flex; align-items: center; gap: 8px; }
.nav nav .nav-download { min-height: 38px; padding: 0 16px 0 17px; border-radius: 999px; background: var(--text); color: #111216; font-weight: 650; }
.nav nav .nav-download:hover { background: #fff; color: #111216; }
.nav-download svg, .button svg { width: 17px; height: 17px; flex: 0 0 auto; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.hero { min-height: 650px; padding: 110px 0 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 900px; }
.eyebrow { margin: 0 0 18px; color: #9cb7ff; font-size: 12px; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration: underline; text-decoration-color: rgba(156,183,255,.4); text-underline-offset: 3px; }
.eyebrow a:hover { color: #c3d3ff; text-decoration-color: currentColor; }
.os-requirement { position: relative; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.os-info { position: relative; display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: help; }
.os-info::before { position: absolute; inset: -10px; content: ""; }
.os-info:hover { color: #d5e1ff; }
.os-info:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.os-tooltip { position: absolute; z-index: 40; top: calc(100% + 7px); right: 0; width: max-content; max-width: calc(100vw - 32px); padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #1a1b21; color: var(--text); box-shadow: 0 10px 28px rgba(0,0,0,.35); font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: normal; text-transform: none; }
.os-tooltip::before { position: absolute; top: -10px; right: 0; left: 0; height: 10px; content: ""; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 860px; margin-bottom: 28px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(44px, 4.6vw, 66px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.hero-phrase { display: block; }
.hero-phrase span { display: inline-block; padding-bottom: .1em; margin-bottom: -.1em; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordIn 2.7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-phrase span:nth-child(1) { background-image: linear-gradient(90deg, #ffb36b, #ffa073); animation-delay: .75s; }
.hero-phrase span:nth-child(2) { background-image: linear-gradient(90deg, #ffa073, #ff8d7e); animation-delay: 1.35s; }
.hero-phrase span:nth-child(3) { background-image: linear-gradient(90deg, #ff8d7e, #ff7a8a); animation-delay: 1.95s; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.4em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
/* Hero, right column: Apple Community posts, styled like the forum, dropped onto a pile one at a time (script.js). */
main { overflow-x: clip; }
.hero-posts { min-width: 0; }
.hero-posts-title { margin: 0 0 4px; color: #d6d6db; font-size: 15px; font-weight: 600; text-align: center; }
.hero-posts-sub { margin: 0 0 6px; color: var(--muted); font-size: 13px; text-align: center; }
.post-pile { position: relative; min-height: 460px; }
.post { position: absolute; top: 24px; left: 0; right: 0; max-width: 540px; margin: 0 auto; padding: 1.6em 1.75em 1.5em; display: block; border-radius: 14px; background: #fff; color: #1d1d1f; font: 400 15px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.022em; text-decoration: none; box-shadow: 0 22px 48px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3); opacity: 0; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; }
.post:first-child { opacity: 1; }
.post-author { display: flex; align-items: center; gap: .75em; }
.post-avatar { flex: none; width: 2.65em; height: 2.65em; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(#a6a6ab, #858589); color: #fff; font: 600 1.15em/1 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
.post-author b { color: #333; font-weight: 600; }
.post-muted { color: #6e6e73; }
.post-author small, .post-sig, .post-time { display: block; color: #6e6e73; font-size: .706em; letter-spacing: -.01em; line-height: 1.33; }
.post-title { display: block; margin: .5em 0 .35em; font: 600 1.88em/1.125 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .004em; }
.post-body { display: block; margin-bottom: 1em; }
.post-sig { margin-bottom: .3em; font-style: italic; }
.post mark { padding: 0 .1em; background: linear-gradient(rgba(255, 214, 10, .55), rgba(255, 214, 10, .55)) no-repeat 0 0 / 0 100%; color: inherit; }
.post.is-top mark { background-size: 100% 100%; transition: background-size .9s ease .7s; }
.post-actions { display: flex; align-items: center; gap: .7em; margin-top: 1.4em; }
.post-metoo, .post-reply { padding: .47em .94em; border: 1px solid #0066cc; border-radius: 980px; color: #0066cc; line-height: 1.18; white-space: nowrap; }
.post-metoo svg { width: 1.1em; height: 1.1em; margin-right: .15em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post-reply { border-color: transparent; background: #0071e3; color: #fff; opacity: .42; }
.post-source { margin-left: auto; color: #0066cc; font-size: .87em; white-space: nowrap; }
.post:hover .post-source, .post:focus-visible .post-source { text-decoration: underline; }
.post:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.pile-nav { display: flex; justify-content: center; gap: 12px; }
.pile-btn { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: .5px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.08); color: #f5f5f7; cursor: pointer; -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); box-shadow: inset 0 .5px 0 rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.25); transition: background .15s ease, transform .15s ease; }
.pile-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pile-btn:hover { background: rgba(255,255,255,.16); }
.pile-btn:active { background: rgba(255,255,255,.24); transform: scale(.92); transition-duration: .06s; }
.pile-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lede { max-width: 730px; color: var(--muted); font-size: 21px; line-height: 1.55; }
kbd { padding: .1em .42em; border: 1px solid #44464d; border-bottom-width: 2px; border-radius: 6px; background: #24262c; color: #efeff1; font: inherit; font-size: .78em; }
.actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.download-action { display: grid; gap: 7px; }
.download-action small { color: #777981; font-size: 11px; text-align: center; }
.dl-count b { color: #c9cad0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-count:not([hidden]) { animation: dlIn .6s ease both; }
@keyframes dlIn { from { opacity: 0; } to { opacity: 1; } }
.button { min-height: 50px; padding: 0 21px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; text-decoration: none; font-weight: 650; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--text); color: #111216; }
.button.secondary { gap: 10px; background: rgba(255,255,255,.055); color: #e6e6e8; }
.mobile-notice { display: none; }

.demo-section { --demo-fit: max(560px, (100svh - 101px) * .934); padding: 112px 0; border-top: 1px solid var(--line); }
.install { padding: 112px 0; border-top: 1px solid var(--line); }
.install h2 { margin-bottom: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(40px, 5.2vw, 67px); letter-spacing: -.03em; line-height: 1.05; }
.imac { --imac-w: min(92%, 1020px, var(--demo-fit)); position: relative; z-index: 4; width: var(--imac-w); margin: calc(var(--imac-w) * -.0973) auto 20px; filter: drop-shadow(0 38px 48px rgba(0,0,0,.42)); }
.imac::before { position: absolute; z-index: 0; top: -26%; bottom: -4%; left: 50%; width: min(134%, 100vw - 20px); transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 204, 96, .12) 62%, rgba(255, 204, 96, .05) 82%, transparent); content: ""; pointer-events: none; }
.imac-photo { position: relative; z-index: 1; width: 100%; display: block; pointer-events: none; }
.demo-frame { position: absolute; z-index: 2; top: 13.8%; left: 4.1%; width: 91.8%; height: 51.8%; overflow: hidden; background: #000; }
.slide { position: absolute; inset: -2%; opacity: 0; background-size: cover; background-position: center; transition: opacity .7s ease; }
.slide.active { opacity: 1; }
.slide-one { background-image: linear-gradient(rgba(0,0,0,.03), rgba(0,0,0,.2)), url("assets/demo-dinner.jpg"); }
.slide-two { background-image: linear-gradient(rgba(0,0,0,.02), rgba(0,0,0,.19)), url("assets/demo-beach.jpg"); }
.slide-three { background-image: linear-gradient(rgba(0,0,0,.03), rgba(0,0,0,.2)), url("assets/demo-hike.jpg"); }
.demo-time { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); font-size: clamp(30px, 4.2vw, 58px); font-weight: 600; letter-spacing: -.05em; text-shadow: 0 3px 22px rgba(0,0,0,.72); font-variant-numeric: tabular-nums; }
.demo-meta, .demo-count { position: absolute; bottom: 4%; padding: 10px 14px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(16px); font-size: clamp(11px, 1.15vw, 14px); }
.demo-meta { left: 3%; display: flex; gap: 8px 15px; flex-wrap: wrap; max-width: 70%; }
.demo-meta span + span::before { content: "·"; margin-right: 15px; color: #a8a8ad; }
.demo-count { right: 3%; }
.demo-frame.ken-burns .slide.active { animation: kenBurns 5s linear both; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.075) translate(1%, -1%); } }
/* Scales with the iMac (JS sets --panel-s, min .8) and moves up only if it would cover the arrow keys. */
.demo-settings-overlay { position: absolute; z-index: 4; top: min(78%, 110% - 327px * var(--panel-s, 1)); right: -2%; width: 428px; transform: scale(var(--panel-s, 1)); transform-origin: 100% 0; }
.demo-settings-window { overflow: hidden; border: 1px solid #55565b; border-radius: 12px; background: #292a2d; box-shadow: 0 28px 70px rgba(0,0,0,.58), 0 1px rgba(255,255,255,.1) inset; filter: none; }
.demo-settings-window .window-bar { height: 34px; }
.demo-settings-window .window-bar b { font-size: 11px; }
.demo-settings-body { padding: 16px; display: grid; gap: 13px; background: #292a2d; color: #ededf0; font-size: 12px; }
.setting-row { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; font-weight: 600; }
.segmented-control { padding: 2px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #595a5f; border-radius: 7px; background: #393a3e; }
.segmented-control button { min-height: 27px; border: 0; border-radius: 5px; background: transparent; color: #d9d9dc; font: inherit; cursor: pointer; }
.segmented-control button.active { background: #77787c; color: white; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.setting-check { display: flex; align-items: center; gap: 8px; font-weight: 580; }
.setting-check input, .detail-options input { width: 16px; height: 16px; margin: 0; accent-color: #3285ed; }
.detail-options { margin: 0; padding: 12px; border: 1px solid #48494e; border-radius: 8px; display: grid; gap: 9px; background: rgba(255,255,255,.015); }
.detail-options legend { padding: 0 6px; color: #b7b7bc; font-size: 11px; }
.detail-options label { display: flex; align-items: center; gap: 8px; color: #dedee1; font-size: 11px; }
.demo-simplified-note { margin: 0; color: #777981; font-size: 10px; text-align: right; }
.demo-toolbar { position: relative; z-index: 3; width: min(54%, var(--demo-fit) * .625); margin: max(-88px, var(--demo-fit) * -.0863) auto 0; }
.space-label { margin-left: 7px; color: inherit; font-size: 12px; }
.keyboard-controls p { margin: 18px 0 0; color: #777981; font-size: 12px; text-align: center; }
.keyboard { position: relative; isolation: isolate; width: 100%; }
.keyboard img { width: 100%; display: block; filter: saturate(.72) brightness(.84); opacity: .9; }
.keyboard-key { position: absolute; z-index: 2; display: grid; place-items: center; border: 2px solid rgba(130,176,255,.92); border-radius: 7px; background: rgba(49,111,227,.3); color: white; font: 650 14px/1 -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; box-shadow: 0 0 0 3px rgba(81,137,255,.18), 0 7px 16px rgba(0,0,0,.28); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.keyboard-key:hover, .keyboard-key:focus-visible { background: rgba(65,132,255,.58); box-shadow: 0 0 0 4px rgba(90,148,255,.28), 0 9px 20px rgba(0,0,0,.32); outline: none; }
.keyboard-key.active { background: rgba(255,255,255,.76); color: #0c1018; border-color: white; }
.keyboard-key:active, .keyboard-key.is-pressed { background: #fff; color: #0c1018; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22), 0 0 22px rgba(255,255,255,.35); transform: translateY(2px); transition-duration: .06s; }
.key-space { left: 30.1%; top: 83.4%; width: 33.1%; height: 13.4%; display: flex; gap: 2px; }
.key-left { left: 79.5%; top: 83.4%; width: 6.05%; height: 13.4%; }
.key-right { left: 93.1%; top: 83.4%; width: 5.9%; height: 13.4%; }
.real-settings { width: min(100%, 681px); margin: 160px auto 0; }
.real-settings figcaption { margin-bottom: 20px; color: #777981; font-size: 12px; text-align: center; }
.real-settings-window { position: relative; border-radius: 13px; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,.55); }
.real-settings video { width: 100%; height: auto; display: block; }
.real-settings img { width: 100%; height: auto; display: block; }
.settings-reveal { position: relative; }
.mac-menubar { position: relative; z-index: 2; height: 29px; margin-bottom: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-right: 6px; color: #fff; font: 500 13px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; }
.mac-menubar img { display: block; }
.mb-app { position: relative; display: grid; place-items: center; width: 40px; height: 22px; margin-right: -10px; border-radius: 999px; transition: background .08s; }
.mb-app.is-active { background: rgba(255,255,255,.22); }
.mb-clock { margin-left: 2px; white-space: pre; font-variant-numeric: tabular-nums; }
.mb-menu { position: absolute; top: 28px; left: -2px; width: 176px; padding: 5px; display: grid; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(40,40,44,.86); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 12px 36px rgba(0,0,0,.55); font-weight: 400; letter-spacing: -.01em; opacity: 0; visibility: hidden; transition: opacity .12s, visibility .12s; }
.mb-app.is-open .mb-menu { opacity: 1; visibility: visible; }
.mb-app.is-closing .mb-menu { transition-duration: .25s; }
.mb-menu span { height: 24px; padding: 0 9px; display: flex; align-items: center; border-radius: 7px; color: rgba(255,255,255,.92); white-space: nowrap; }
.mb-menu span.is-hover { background: #2a62c9; color: #fff; }
.mb-menu .is-disabled { color: rgba(255,255,255,.32); }
.mb-menu i { height: 1px; margin: 5px 9px; background: rgba(255,255,255,.14); }
.mb-cursor { display: none; }
.settings-reveal.is-ready .mb-cursor { position: absolute; z-index: 3; top: 0; left: 0; display: block; width: 11px; height: 18px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); pointer-events: none; opacity: 0; transition: opacity .3s; }
.settings-reveal.is-playing .mb-cursor { opacity: 1; }
.settings-reveal.is-open .mb-cursor { opacity: 0; }
.settings-reveal.is-ready .real-settings-window { opacity: 0; transform: scale(.94); transform-origin: 50% 0; transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.settings-reveal.is-open .real-settings-window { opacity: 1; transform: none; }
.install { display: grid; grid-template-columns: .78fr 1.22fr; gap: 74px; align-items: start; }
.install-copy { position: sticky; top: 40px; }
.install-toggle { display: none; }
.install-copy > p:not(.eyebrow) { margin-top: 25px; color: var(--muted); line-height: 1.6; }
.text-link { color: #b2c5ff; text-underline-offset: 4px; }
.install-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.install-steps li { min-height: 230px; padding: 26px; display: grid; grid-template-columns: 40px 1fr; gap: 16px 18px; border-top: 1px solid var(--line); }
.install-steps li:first-child { border-top: 0; }
.install-steps li:last-child { min-height: 0; padding-bottom: 0; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #272930; font-weight: 700; }
.step-copy strong { display: block; margin: 5px 0 8px; font-size: 19px; }
.step-copy p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.finder-window, .settings-window, .security-panel, .warning-dialog { grid-column: 2; margin-top: 8px; border: 1px solid #515158; border-radius: 14px; overflow: hidden; background: #242529; box-shadow: 0 20px 50px rgba(0,0,0,.38), 0 1px rgba(255,255,255,.08) inset; }
.window-bar, .settings-toolbar { position: relative; height: 39px; display: grid; place-items: center; border-bottom: 1px solid #45464b; background: linear-gradient(#323338, #292a2e); }
.window-bar b { color: #d7d7da; font-size: 11px; font-weight: 560; }
.traffic-lights { position: absolute; left: 13px; display: flex; gap: 7px; }
.traffic-lights span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: 0 .5px 1px rgba(0,0,0,.45); }
.traffic-lights span:nth-child(2) { background: #febc2e; }
.traffic-lights span:nth-child(3) { background: #28c840; }
.finder-content { min-height: 176px; padding: 25px 60px; display: flex; align-items: center; justify-content: space-between; background: #202125; }
.finder-item { min-width: 120px; display: grid; justify-items: center; gap: 10px; }
.finder-item img { width: 82px; height: 82px; object-fit: contain; }
.finder-item:first-child img { border-radius: 19px; }
.finder-item .applications-folder { width: 94px; height: 84px; border-radius: 0; }
.finder-item small { color: #ececef; font-size: 11px; text-shadow: 0 1px 3px rgba(0,0,0,.55); white-space: nowrap; }
.drag-arrow { color: #8a8b91; font-size: 32px; font-weight: 400; }
.settings-window { min-height: 275px; display: grid; grid-template: 39px 1fr / 37% 63%; background: #202125; }
.settings-toolbar { grid-column: 1 / -1; }
.settings-sidebar { padding: 12px 11px 15px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #46474c; background: rgba(46,47,51,.92); color: #d1d1d5; font-size: 10px; }
.settings-title { display: flex; align-items: center; gap: 7px; margin: 0 3px 5px; color: #f3f3f5; }
.settings-title img { width: 23px; height: 23px; border-radius: 5px; }
.settings-title b { font-size: 12px; }
.settings-search { margin-bottom: 5px; padding: 5px 9px; border: 1px solid #505157; border-radius: 7px; background: #222327; color: #82838a; }
.settings-sidebar > span { padding: 6px 8px; border-radius: 7px; }
.settings-sidebar .selected { background: #0a74de; color: white; }
.settings-main { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; color: #d1d1d5; font-size: 10px; }
.settings-main > strong { margin-bottom: 3px; color: #f3f3f5; font-size: 17px; }
.settings-main > b { margin-top: 2px; color: #f1f1f3; font-size: 12px; }
.settings-group { display: grid; grid-template-columns: 1fr auto; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.055); }
.settings-group span, .settings-group i, .settings-group small { min-height: 29px; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.settings-group span:nth-last-of-type(1), .settings-group i:last-child { border-bottom: 0; }
.settings-group i { color: #8f9097; font-size: 15px; font-style: normal; }
.settings-group small { grid-column: 1 / -1; color: #999aa1; font-size: 9px; }
.security-summary span { border-bottom: 0; }
.security-summary span { padding-right: 0; white-space: nowrap; }
.security-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.security-summary small { grid-column: auto; border-bottom: 0; color: #d6d6da; font-size: 10px; }
.security-summary small, .allowed-row small { display: flex; align-items: center; gap: 6px; }
.popup-icon { flex: 0 0 auto; width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: rgba(255,255,255,.13); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.security-panel { min-height: 155px; padding: 22px; background: #292a2e; }
.security-panel > strong { display: block; margin-bottom: 13px; font-size: 15px; }
.security-row { padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.security-panel p { max-width: 420px; margin: 0; color: #c2c2c7; font-size: 11px; line-height: 1.45; }
.mac-button { flex: 0 0 auto; padding: 7px 14px; border-radius: 7px; background: #ececef; color: #141519; font-size: 11px; font-weight: 650; box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.allowed-row { padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; color: #ceced2; font-size: 10px; }
.allowed-row small { color: #d6d6da; font-size: 10px; }
.warning-dialog { min-height: 160px; padding: 22px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; background: rgba(43,44,49,.96); backdrop-filter: blur(24px); }
.warning-dialog > img { width: 54px; height: 54px; border-radius: 13px; }
.warning-dialog strong { display: block; margin: 3px 0 8px; font-size: 14px; }
.warning-dialog p { margin: 0; color: #bebfc4; font-size: 11px; line-height: 1.48; }
.dialog-actions { grid-column: 2; place-self: end; width: fit-content; display: inline-flex; align-items: center; gap: 10px; }
.dialog-actions span { width: 96px; height: 30px; display: inline-grid; place-items: center; border: 1px solid #b9bac0; border-radius: 8px; background: linear-gradient(#f5f5f7, #d8d8dc); color: #17181b; font-size: 11px; font-weight: 640; box-shadow: 0 1px 2px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.85); }
.dialog-actions .open-button { border-color: #0b6ed7; background: linear-gradient(#4a9dff, #0879ed); color: white; text-shadow: 0 -1px rgba(0,0,0,.2); }
.photos-access-flow { grid-column: 2; min-width: 0; margin-top: 8px; }
.photos-access-window { overflow: hidden; border: 1px solid #515158; border-radius: 14px; background: #202125; box-shadow: 0 20px 50px rgba(0,0,0,.38), 0 1px rgba(255,255,255,.08) inset; }
.photos-access-content { padding: 24px; }
.photos-source-label { display: block; margin-bottom: 12px; color: #d7d7da; font-size: 12px; font-weight: 650; }
.photos-access-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.04); }
.photos-access-required, .photos-access-granted { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 550; }
.photos-access-required { color: #ffb348; }
.photos-access-flow svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.grant-access-button { margin-left: auto; padding: 7px 14px; border-radius: 7px; background: #3478f6; color: white; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.15); }
.photos-approval-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 16px; color: var(--muted); font-size: 12px; }
.photos-approval-hint svg { color: #8a8b91; }
.photos-access-granted { justify-content: center; width: fit-content; margin: 0 auto; padding: 11px 16px; border: 1px solid rgba(81,208,128,.22); border-radius: 10px; background: rgba(81,208,128,.07); color: #74d89a; }

.final-cta { padding: 48px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-cta img { border-radius: 18px; }
.final-cta h2 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.final-cta p { margin: 8px 0 0; color: var(--muted); }
footer { padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #85868e; font-size: 13px; }
footer div { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
.asset-credit { margin-top: -35px; padding-bottom: 34px; color: #606169; font-size: 10px; line-height: 1.45; }
.asset-credit a { color: #767882; text-underline-offset: 2px; }

[hidden] { display: none !important; }

@media (max-width: 1160px) {
  .demo-toolbar { width: min(50%, var(--demo-fit) * .625); margin-left: max(0px, (100% - var(--demo-fit)) / 2 - 4%); }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: clamp(48px, 8vw, 70px); }
  .hero { min-height: 0; padding: 90px 0; }
  .imac { --imac-w: 86%; }
  .demo-settings-overlay { top: 78%; right: -2%; width: 46%; transform: none; }
  .demo-toolbar { width: 52%; margin-top: -62px; }
  .real-settings { margin-top: 130px; }
  .install { grid-template-columns: 1fr; gap: 42px; }
  .install-copy { position: static; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .download-action { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .post { font-size: 12.5px; }
  .post-pile { min-height: 380px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 92px; }
  .brand span { display: none; }
  .brand img { width: 64px; height: 64px; border-radius: 0; }
  .nav nav .nav-download { min-height: 57px; padding: 0 24px 0 26px; gap: 11px; font-size: 21px; }
  .nav nav .nav-download svg { width: 25px; height: 25px; }
  .nav nav { gap: 8px; }
  .hero h1 { font-size: clamp(45px, 14vw, 62px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .07em; }
  .lede { font-size: 18px; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { text-align: center; }
  .mobile-notice { margin: 4px 0 0; display: block; color: var(--muted); font-size: 14px; text-align: center; }
  .demo-section, .install { padding: 80px 0; }
  .hero { padding: 72px 0 80px; }
  .imac { --imac-w: 100%; }
  .imac::before { top: -18%; bottom: 0; }
  .slide { background-position: center; }
  .demo-meta { left: 4%; max-width: 72%; gap: 3px; border-radius: 14px; flex-direction: column; }
  .demo-meta span + span::before { display: none; }
  .demo-count { right: 4%; }
  .demo-settings-overlay, .demo-toolbar { display: none; }
  .real-settings { display: none; }
  .install-steps li { grid-template-columns: 34px 1fr; padding: 20px 0; }
  .install { gap: 0; }
  .install-toggle { display: flex; width: 100%; margin-top: 26px; font: inherit; font-weight: 650; cursor: pointer; }
  .install.is-collapsed .install-steps { display: none; }
  .install.is-collapsed { padding-bottom: 48px; }
  .install-toggle:focus:not(:focus-visible) { outline: none; }
  .install:not(.is-collapsed) .install-steps { margin-top: 32px; }
  .finder-window, .settings-window, .security-panel, .warning-dialog, .photos-access-flow { grid-column: 1 / -1; }
  .photos-access-content { padding: 18px; }
  .finder-content { padding: 25px 20px; }
  .finder-item { min-width: 0; }
  .final-cta { padding: 48px 0; grid-template-columns: 1fr; gap: 22px; }
  .final-cta img { width: 128px; height: 128px; border-radius: 29px; }
  .final-cta .download-action { justify-self: stretch; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
  footer div { gap: 13px 20px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phrase span { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
