/* Shelfy — marketing site. No frameworks: plain CSS, light and dark. */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --card: #f6f6f9;
  --card-border: rgba(0, 0, 0, 0.07);
  --text: #1d1d1f;
  --text-2: #5f5f66;
  --text-3: #8a8a92;
  --line: rgba(0, 0, 0, 0.09);
  --accent: #3d6cf6;
  --accent-2: #5b8cff;
  --eyebrow: #5a55e0;
  --orange: #e8780c;
  --green: #22a35a;
  --btn-ghost: #ececf1;
  --btn-ghost-hover: #e2e2e9;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 20px 50px -24px rgba(23, 30, 80, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --bg-soft: #111116;
    --card: #131318;
    --card-border: rgba(255, 255, 255, 0.07);
    --text: #f5f5f7;
    --text-2: #a1a1aa;
    --text-3: #6e6e78;
    --line: rgba(255, 255, 255, 0.08);
    --eyebrow: #8d8bff;
    --orange: #ff9f0a;
    --green: #32d074;
    --btn-ghost: #1b1b21;
    --btn-ghost-hover: #24242c;
    --nav-bg: rgba(11, 11, 15, 0.72);
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
kbd {
  display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .45em; margin: 0 .12em;
  border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--bg-soft);
  font: 600 0.78em/1 var(--font); color: var(--text); vertical-align: 0.1em;
}
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em; color: inherit;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 24px -8px rgba(61, 108, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(61, 108, 246, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary b { font-weight: 700; }
.btn-ghost { background: var(--btn-ghost); }
.btn-ghost:hover { background: var(--btn-ghost-hover); }
.btn-large { padding: 0 26px; height: 54px; font-size: 17px; }
.btn-small { padding: 0 16px; height: 38px; font-size: 14px; }
.btn-block { display: flex; width: 100%; height: 54px; font-size: 17px; }
.btn .apple { width: 15px; height: 18px; margin-top: -3px; }
.btn-small .apple { width: 13px; height: 15px; }
.btn .sep { opacity: .7; }
.btn-chip { height: 40px; padding: 0 16px; font-size: 14px; background: var(--btn-ghost); }
.btn-chip:hover { background: var(--btn-ghost-hover); }
.btn-chip svg { width: 18px; height: 18px; }
.btn-chip kbd { font-size: 11px; margin: 0; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }

/* ---------- Hero ---------- */
.hero { max-width: 980px; margin: 0 auto; padding: 96px 24px 40px; text-align: center; }
.hero h1 { font-size: clamp(44px, 8.4vw, 96px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 .line { display: block; }
.hero h1 .dim { color: var(--text-3); }
.hero-icon {
  display: inline-block; width: 0.98em; height: 0.98em; vertical-align: -0.17em; margin: 0 0.02em;
  filter: drop-shadow(0 14px 26px rgba(61, 108, 246, 0.45));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-6px) rotate(-2deg); } }
.lede { max-width: 640px; margin: 30px auto 0; font-size: 20px; color: var(--text-2); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.launch { margin: 26px 0 6px; font-size: 14px; color: var(--text-2); }
.launch strong { color: var(--orange); font-weight: 600; }
.fine { font-size: 13px; color: var(--text-3); margin: 0; }

/* ---------- Sections ---------- */
.feature { max-width: var(--max); margin: 0 auto; padding: 120px 24px 0; }
.eyebrow, .copy .eyebrow, .center-copy .eyebrow { font-size: 14px; font-weight: 600; color: var(--eyebrow); margin-bottom: 14px; letter-spacing: 0; }
.feature h2 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 22px; }
.copy p, .center-copy p { color: var(--text-2); font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .copy { order: 2; }
.center-copy { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.center-copy p { max-width: 620px; margin-left: auto; margin-right: auto; }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.grid-actions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.grid-actions .card { grid-column: span 2; }
.grid-actions .card:nth-child(4) { grid-column: 2 / span 2; }
.visual { height: 96px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--card-border); overflow: hidden; }
.ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 18px; color: var(--eyebrow); background: color-mix(in srgb, var(--eyebrow) 13%, transparent); }
.ic svg { width: 22px; height: 22px; }

/* Stats */
.stats { max-width: var(--max); margin: 80px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats div { text-align: center; padding: 26px 12px; border: 1px solid var(--card-border); border-right: 0; background: var(--card); }
.stats div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stats div:last-child { border-right: 1px solid var(--card-border); border-radius: 0 var(--radius) var(--radius) 0; }
.stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.stats span { font-size: 14px; color: var(--text-2); }

/* Tabs: desktop vs shelf */
.tabs-card { padding: 18px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--card-border); margin-bottom: 16px; }
.tabs button { border: 0; background: none; color: var(--text-2); font: 600 13px var(--font); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.tab-panel { position: relative; height: 290px; border-radius: 14px; overflow: hidden; container-type: inline-size; color: #fff;
  background:
    radial-gradient(60% 70% at 18% 20%, #ff9e7a 0%, transparent 60%),
    radial-gradient(55% 60% at 85% 15%, #8a7bff 0%, transparent 62%),
    radial-gradient(70% 80% at 60% 95%, #2b3fb8 0%, transparent 65%),
    radial-gradient(50% 60% at 10% 90%, #c45bd1 0%, transparent 60%),
    linear-gradient(160deg, #5a4fd8, #2a2f8f);
}
.mbar { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 22px; display: flex; align-items: center; gap: 14px; padding: 0 12px; font-size: 11.5px; background: rgba(30, 20, 70, 0.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mbar .mb-apple { width: 11px; height: 13px; margin-top: -1px; }
.mbar b { font-weight: 700; }
.mbar .mb-spacer { flex: 1; }
/* The cluttered Desktop: icons on a loose grid, so names never overlap. */
.dk-files { position: absolute; inset: 30px 10px 6px; }
.dk { position: absolute; left: var(--x); top: var(--y); width: 15.5%; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.dk-ic { width: clamp(30px, 7cqw, 44px); height: clamp(30px, 7cqw, 44px); display: grid; place-items: center; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.dk-ic svg { width: 100%; height: 100%; }
.dk-ic.tile { border: 2px solid #fff; border-radius: 3px; overflow: hidden; height: auto; aspect-ratio: 1; width: clamp(26px, 6cqw, 38px); }
.dk-ic.tile.wide { aspect-ratio: 8 / 5; width: clamp(32px, 7.5cqw, 46px); }
.dk em { font-style: normal; max-width: 100%; font-size: clamp(8.5px, 1.75cqw, 11px); font-weight: 600; line-height: 1.2; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.tidy { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 10px 8px; }
.tab-panel .tab-caption { position: absolute; left: 16px; right: 16px; top: 38%; margin: 0; transform: translateY(-50%); font-size: 14px; font-weight: 600; line-height: 1.45; color: rgba(255, 255, 255, 0.92); text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
.mini-dockrow { display: flex; align-items: flex-end; justify-content: center; gap: 6px; max-width: 100%; }
.mini-dock { display: flex; align-items: center; gap: 6px; height: 84px; padding: 0 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.32); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 30px -10px rgba(10, 10, 60, 0.45); }
.mini-dock .app { width: 48px; height: 48px; }
.tidy .mini-item { width: 72px; }
.tidy .mini-strip { height: 84px; align-items: center; padding: 0 10px; }
@container (max-width: 600px) {
  .mini-dock .app:nth-child(n+4) { display: none; }
  .tidy .mini-item:nth-child(n+4) { display: none; }
}
@container (max-width: 400px) {
  .mini-dock .app { width: 38px; height: 38px; }
  .mini-dock .app:nth-child(n+3) { display: none; }
  .tidy .mini-item { width: 56px; }
  .tidy .mini-item:nth-child(n+3) { display: none; }
  .tidy .mi, .tidy .mi svg { width: 40px; height: 40px; }
  .tab-panel .tab-caption { font-size: 12.5px; }
}

/* Small strips used in illustrations */
.mini-strip {
  display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px 8px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
}
.mini-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 66px; font-size: 10.5px; font-weight: 600; color: #fff; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-item em { font-style: normal; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi { width: 48px; height: 48px; display: grid; place-items: center; }
.mi svg { width: 48px; height: 48px; }
.mi.tile { border-radius: 11px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.mi.tile svg { width: 100%; height: 100%; }
.mini-item.pinned::after {
  content: ""; position: absolute; right: 4px; top: -2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M10.3 1.3l4.4 4.4-1.4.3-2.6 2.6.2 3.2-1.1 1.1-2.7-2.7-3.5 3.5-.9.2.2-.9 3.5-3.5-2.7-2.7 1.1-1.1 3.2.2 2.6-2.6z'/%3E%3C/svg%3E") center/9px no-repeat;
  border: 1.5px solid #fff;
}
.mini-sep { width: 1px; align-self: stretch; margin: 6px 2px 18px; background: rgba(255, 255, 255, 0.4); }
.recents-card { display: grid; place-content: center; gap: 22px; min-height: 290px; background: linear-gradient(135deg, #1f5fb0, #3a52c9 50%, #6a4fd0); }
.recents-card .mini-strip { height: 84px; align-items: center; }
.recents-card .mini-dock { flex: none; }
.recents-card .keys { display: flex; align-items: center; justify-content: center; gap: 4px; color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.recents-card kbd { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.recents-card .keys span { margin-left: 8px; }

/* Card visuals */
.visual.wall { background: radial-gradient(60% 90% at 15% 10%, #ff9e7a 0%, transparent 60%), radial-gradient(55% 80% at 90% 10%, #8a7bff 0%, transparent 62%), linear-gradient(160deg, #5a4fd8, #2a2f8f); border-color: transparent; }
.mini-strip.sm { gap: 4px; padding: 8px 10px 6px; border-radius: 16px; }
.mini-strip.sm .mini-item { width: 60px; font-size: 10px; }
.mini-strip.sm .mi, .mini-strip.sm .mi svg { width: 40px; height: 40px; }
.mini-strip.sm .mi.tile { width: 36px; height: 36px; margin: 2px; border-radius: 9px; }
.mini-strip.sm .mi.tile svg { width: 100%; height: 100%; }
.v-rename .ren { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.v-rename svg { width: 46px; height: 46px; }
.v-rename .field { padding: 1px 6px; border-radius: 4px; background: var(--card); box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--accent) 55%, transparent); font-size: 13px; font-weight: 600; }
.v-rename mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 2px; }
.v-rename em { font-style: normal; font-size: 11px; color: var(--text-3); }
.undo-chip { display: inline-flex; align-items: center; gap: 6px; align-self: center; margin: 0 4px 12px; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 6px 16px -6px rgba(20, 40, 160, 0.8); }
.undo-chip svg { width: 13px; height: 13px; }
.visual { height: 124px; background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 0) 0 0 / 14px 14px, var(--bg); }
.vx { display: flex; align-items: center; justify-content: center; gap: 14px; }
.vx-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--card-border); }
.vx-thumb svg { width: 100%; height: 100%; }
.vx .arrow { color: var(--text-3); display: grid; place-items: center; }
.vx .arrow svg { width: 20px; height: 20px; }
/* Compress */
.bars { display: grid; gap: 8px; width: 150px; }
.bar { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; font-size: 11.5px; }
.bar em { font-style: normal; color: var(--text-3); font-weight: 600; }
.bar i { height: 8px; border-radius: 4px; background: var(--card-border); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--text-3); }
.bar.after i::after { right: 75%; background: var(--green); }
.bar b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar.before b { color: var(--text-3); }
.bar.after b { color: var(--green); }
/* Convert */
.doc { position: relative; width: 52px; height: 64px; border-radius: 4px 14px 4px 4px; background: #fff; box-shadow: 0 3px 10px -3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08); display: grid; place-items: start center; padding-top: 8px; }
.doc::before { content: ""; position: absolute; right: 0; top: 0; width: 14px; height: 14px; border-radius: 0 0 0 4px; background: linear-gradient(225deg, transparent 50%, #e1e3ea 50%); }
.doc-pic { width: 36px; height: 28px; border-radius: 3px; overflow: hidden; }
.doc-pic svg { width: 100%; height: 100%; }
.doc b { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); padding: 2px 6px; border-radius: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.03em; color: #fff; }
.doc .heic { background: #8e8e93; }
.doc .jpeg { background: var(--accent); }
/* Remove hidden info */
.meta { display: grid; gap: 5px; }
.meta span { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.meta svg { width: 14px; height: 14px; flex: none; color: var(--orange); }
.meta s { text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--orange) 80%, transparent); }
/* Copy text */
.v-text .vx { flex-direction: column; gap: 8px; }
.note { display: grid; gap: 4px; justify-items: start; padding: 10px 12px; width: 170px; border-radius: 8px; background: #fff7c7; color: #3a3320; font: 600 13px/1.25 "Marker Felt", "Bradley Hand", var(--font); transform: rotate(-2deg); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3); }
.note .sel { background: #b4d3ff; border-radius: 2px; padding: 0 3px; margin-left: -3px; }
.note .line { width: 60%; height: 7px; border-radius: 3px; background: rgba(58, 51, 32, 0.15); }
.copied { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; }
.copied svg { width: 11px; height: 11px; }
/* Zip */
.stack { position: relative; width: 92px; height: 56px; }
.stack svg { position: absolute; width: 42px; height: 42px; top: 7px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)); }
.stack svg:nth-child(1) { left: 0; transform: rotate(-8deg); }
.stack svg:nth-child(2) { left: 25px; top: 3px; }
.stack svg:nth-child(3) { left: 50px; transform: rotate(8deg); }
.zip-out { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.zip-out svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)); }
.zip-out em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-2); }

/* Panel illustration */
.panel-card { padding: 18px; }
.pc-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--bg); border: 1px solid var(--card-border); font-size: 15px; }
.pc-search svg { width: 15px; height: 15px; color: var(--text-3); }
.caret { width: 2px; height: 18px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.panel-card .pc-label { margin: 16px 2px 8px; font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.pc-cards { display: grid; gap: 8px; }
.pc-item { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--bg); border: 1px solid var(--card-border); }
.pc-item .mi { width: 40px; height: 40px; grid-row: span 2; }
.pc-item .mi svg { width: 40px; height: 40px; }
.pc-item em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--text-3); }
.pc-item.sel { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }

/* Dock modes: three small Mac screens. */
.dock-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 26px; align-content: center; }
.dock-modes .dm:first-child { grid-column: 1 / -1; width: 78%; justify-self: center; }
.dm { margin: 0; display: grid; gap: 10px; justify-items: center; }
.dm figcaption { font-size: 13px; font-weight: 600; color: var(--text-2); text-align: center; }
.dm-screen {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden;
  border: 3px solid #1d1d22; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  background: radial-gradient(60% 70% at 18% 20%, #ff9e7a 0%, transparent 60%), radial-gradient(55% 60% at 85% 15%, #8a7bff 0%, transparent 62%), radial-gradient(70% 80% at 60% 95%, #2b3fb8 0%, transparent 65%), linear-gradient(160deg, #5a4fd8, #2a2f8f);
}
.dm-screen { container-type: inline-size; }
/* Sized in cqw, so a screen looks the same at any width. */
.dm-bar { position: absolute; left: 0; right: 0; top: 0; height: 4cqw; background: rgba(30, 20, 70, 0.35); }
.dm-row { position: absolute; left: 2.5cqw; right: 2.5cqw; bottom: 2.5cqw; height: 10cqw; display: flex; gap: 1.8cqw; }
.dm-strip, .dm-dock { display: flex; align-items: center; gap: 1.2cqw; padding: 0 1.8cqw; border-radius: 2.6cqw; background: rgba(255, 255, 255, 0.24); border: 0.5px solid rgba(255, 255, 255, 0.4); }
.dm-strip { flex: 1; min-width: 0; }
.dm-strip:first-child { justify-content: flex-end; }
.dm-dock { flex: none; gap: 1.6cqw; }
.dm-dock i { width: 5.6cqw; height: 5.6cqw; border-radius: 1.5cqw; background: #3d8bff; }
.dm-dock i:nth-child(2) { background: #34c759; }
.dm-dock i:nth-child(3) { background: #fff; }
.dm-dock i:nth-child(4) { background: #ffd60a; }
.dm-dock i:nth-child(5) { background: #ff375f; }
.dm-strip i { flex: none; width: 3.8cqw; height: 5cqw; border-radius: 0.6cqw 1.6cqw 0.6cqw 0.6cqw; background: rgba(255, 255, 255, 0.92); }
/* Dock on the side: the strips sit above and below it. */
.dm-side .dm-row { right: auto; top: 6cqw; bottom: 2cqw; width: 10cqw; height: auto; flex-direction: column; }
.dm-side .dm-strip, .dm-side .dm-dock { flex-direction: column; padding: 1.8cqw 0; }
.dm-side .dm-strip { min-height: 0; overflow: hidden; }
.dm-side .dm-dock { padding: 1.4cqw 0; }
.dm-side .dm-dock i { width: 4.6cqw; height: 4.6cqw; }
.dm-side .dm-dock i:nth-child(5), .dm-side .dm-strip i:nth-child(n+2) { display: none; }
.dm-hidden .dm-row { animation: dm-peek 4.5s ease-in-out infinite; }
@keyframes dm-peek { 0%, 20% { transform: translateY(15cqw); } 40%, 75% { transform: none; } 95%, 100% { transform: translateY(15cqw); } }
.dm-hidden .dm-screen::after { content: ""; position: absolute; left: 50%; bottom: 2cqw; width: 4.5cqw; height: 6.5cqw; margin-left: -2cqw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath d='M1 1v11l3-3 2 4.5 1.6-.7-2-4.4H9.5z' fill='black' stroke='white' stroke-width='1'/%3E%3C/svg%3E") center/contain no-repeat; animation: dm-pointer 4.5s ease-in-out infinite; }
@keyframes dm-pointer { 0% { transform: translateY(-16cqw); } 20%, 75% { transform: none; } 95%, 100% { transform: translateY(-16cqw); } }

/* Compare */
.table-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { font-size: 14px; color: var(--text-2); font-weight: 600; }
.compare .us { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--text); width: 150px; }
.compare thead .us { color: var(--accent); }
.compare td { color: var(--text-2); width: 190px; }
.compare td svg { width: 18px; height: 18px; margin: 0 auto; color: var(--green); }
.compare-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 15px; color: var(--text-2); }
.compare-note a { color: var(--accent); text-decoration: none; font-weight: 500; }
.compare-note a:hover { text-decoration: underline; }

/* Pricing */
.price-card { max-width: 440px; margin: 0 auto; padding: 32px; border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow); text-align: center; }
.pc-head { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.pc-head img { border-radius: 13px; }
.pc-head b { display: block; font-size: 18px; }
.pc-head span { font-size: 14px; color: var(--text-2); }
.price { margin: 18px 0 2px; display: flex; align-items: baseline; justify-content: center; gap: 12px; }
.price b { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; }
.price s { font-size: 20px; color: var(--text-3); }
.price-left { font-size: 14px; color: var(--orange); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 18px; }
.tier { position: relative; padding: 14px 6px 12px; border-radius: 14px; border: 1px solid var(--card-border); background: var(--bg); }
.tier b { display: block; font-size: 18px; }
.tier span { font-size: 12.5px; color: var(--text-2); }
.tier.now { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.tier em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 9px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 11px var(--font); }
.trial-link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 500; }
.trial-link:hover { text-decoration: underline; }
.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; text-align: left; font-size: 14px; }
.checklist li { display: flex; gap: 8px; align-items: center; }
.checklist svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.price-card .fine { margin-top: 10px; }

/* FAQ */
.faq { max-width: 780px; }
.faq h2 { margin-bottom: 28px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-weight: 600; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--text-3); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--text-2); margin: -6px 0 22px; padding-right: 36px; }

/* Final + footer */
.final { max-width: 760px; margin: 0 auto; padding: 140px 24px 120px; text-align: center; }
.final img { margin: 0 auto 26px; filter: drop-shadow(0 16px 30px rgba(61, 108, 246, 0.45)); }
.final h2 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 14px; }
.final p { color: var(--text-2); margin-bottom: 28px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.footer-inner p { margin: 0; }
.footer nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveal, only when scripts run. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ======================================================================
   The demo: a Mac desktop, drawn at 1200 × 680 and scaled to fit.
   ====================================================================== */
.demo-section { max-width: 1200px; margin: 30px auto 0; padding: 0 24px; }
.demo-frame { --scale: 1; position: relative; max-width: 100%; margin: 0 auto; height: calc(680px * var(--scale)); border-radius: calc(20px * var(--scale) + 2px); box-shadow: 0 40px 90px -40px rgba(30, 40, 120, 0.6), 0 0 0 1px var(--card-border); overflow: hidden; }
.demo-scale { width: var(--scene-w, 1200px); height: 680px; transform: scale(var(--scale)); transform-origin: 0 0; }
.scene { position: relative; width: var(--scene-w, 1200px); height: 680px; overflow: hidden; font-family: var(--font); color: #fff; user-select: none; -webkit-user-select: none; isolation: isolate; }
.wallpaper {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 18% 20%, #ff9e7a 0%, transparent 60%),
    radial-gradient(55% 60% at 85% 15%, #8a7bff 0%, transparent 62%),
    radial-gradient(70% 80% at 60% 95%, #2b3fb8 0%, transparent 65%),
    radial-gradient(50% 60% at 10% 90%, #c45bd1 0%, transparent 60%),
    linear-gradient(160deg, #5a4fd8, #2a2f8f);
}
.menubar { position: absolute; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 20px; padding: 0 16px; font-size: 13.5px; background: rgba(30, 20, 70, 0.28); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
.menubar b { font-weight: 700; }
.mb-apple { width: 14px; height: 17px; margin-top: -2px; }
.mb-spacer { flex: 1; }
.mb-shelfy svg { width: 20px; height: 14px; }
.mb-wifi { width: 18px; height: 13px; }
.mb-time { font-weight: 500; }

.desktop-files { position: absolute; right: 26px; top: 50px; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dfile { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 96px; padding: 6px 4px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: grab; touch-action: none; font: inherit; }
.dfile:hover, .dfile:focus-visible { background: rgba(255, 255, 255, 0.14); }
.dfile.used { opacity: 0.45; }
.ficon { width: 56px; height: 56px; display: grid; place-items: center; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
.ficon svg { width: 56px; height: 56px; }
.ficon.photo { width: 56px; height: 44px; margin: 6px 0; border: 3px solid #fff; border-radius: 4px; overflow: hidden; }
.ficon.photo svg { width: 100%; height: 100%; }
.fname { font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }

.mail { position: absolute; left: 70px; top: 70px; width: 470px; height: 330px; border-radius: 13px; background: #fbfbfd; color: #1d1d1f; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55), 0 0 0 0.5px rgba(0, 0, 0, 0.25); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.mail.target { box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55), 0 0 0 3px #5b8cff; }
.mail-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #eeeef2; border-bottom: 1px solid #dcdce2; font-size: 13px; font-weight: 600; color: #444; }
.mail-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mail-bar i:nth-child(2) { background: #febc2e; }
.mail-bar i:nth-child(3) { background: #28c840; margin-right: 110px; }
.mail-row { padding: 9px 18px; border-bottom: 1px solid #ececf0; font-size: 13.5px; }
.mail-row span { color: #8a8a92; margin-right: 4px; }
.mail-body { padding: 16px 18px; font-size: 14px; }
.mail-body p { margin: 0 0 12px; }
.mail-attachments { display: flex; flex-wrap: wrap; gap: 8px; }
.attachment { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px; background: #f0f1f6; border: 1px solid #e2e3ea; font-size: 12.5px; font-weight: 600; animation: pop .3s ease; }
.attachment .ai { width: 28px; height: 28px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.attachment .ai svg { width: 28px; height: 28px; }
.mail-hint { color: #9a9aa3; font-size: 13px; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* The Dock and the strips */
/* The Dock stays centered; each strip hugs its side, as in the app. */
.dockrow { position: absolute; left: 8px; right: 8px; bottom: 5px; height: 85px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.dockrow .strip { min-width: 0; }
.dock, .strip {
  height: 85px; border-radius: 18px; background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32); backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: 0 10px 30px -10px rgba(10, 10, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.dock { display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.app { display: block; flex: none; width: 58px; height: 58px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28)); transition: transform .18s cubic-bezier(.2, .8, .2, 1); }
.app.trash { filter: none; }
.dock .app:hover { transform: translateY(-6px) scale(1.08); }
.dock-sep { width: 1px; height: 54px; background: rgba(255, 255, 255, 0.4); margin: 0 2px; }

.strip { position: relative; display: flex; align-items: stretch; transition: width .3s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s; }
.strip.target { background: rgba(255, 255, 255, 0.34); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 10px 30px -10px rgba(10, 10, 60, 0.45); }
/* Each strip fills the space beside the Dock; items sit next to the Dock, and scroll past that. */
.strip-items { display: flex; flex: 1; min-width: 0; align-items: flex-start; gap: 2px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
.strip.shelf .strip-items > :first-child { margin-left: auto; }
.strip-items::-webkit-scrollbar { display: none; }
.strip-hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92); pointer-events: none; }
.strip-hint svg { width: 26px; height: 26px; }
.strip.target .strip-hint span::after { content: ""; }
.strip-sep { width: 1px; margin: 12px 3px; background: rgba(255, 255, 255, 0.4); }

.item { position: relative; width: 66px; height: 73px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; border-radius: 10px; padding: 3px 0 0; background: none; color: #fff; cursor: grab; touch-action: none; font: inherit; }
.item.enter { animation: pop .28s ease; }
.item:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.item .pic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 7px; }
.item.sel .pic { background: rgba(255, 255, 255, 0.25); }
.item .pic svg { width: 52px; height: 52px; }
.item .pic.tile { border-radius: 11px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.item .pic.tile svg { width: 100%; height: 100%; }
.item .label { max-width: 62px; padding: 0 4px; font-size: 10px; font-weight: 600; line-height: 13px; height: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.item.sel .label { background: #3d6cf6; text-shadow: none; }
.item .x, .item .pinb { position: absolute; top: 0; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.85); font-size: 9px; font-weight: 800; }
.item .x { left: 2px; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity .12s; cursor: pointer; }
.item:hover .x { opacity: 1; }
.item .pinb { right: 4px; background: #3d6cf6; pointer-events: none; }
.item .pinb svg { width: 9px; height: 9px; color: #fff; }
.undo { align-self: center; height: 30px; margin: 0 6px; padding: 0 12px; border: 0; border-radius: 999px; background: #3d6cf6; color: #fff; font: 600 12px var(--font); cursor: pointer; animation: pop .25s ease; }

.ghost { position: fixed; z-index: 1000; pointer-events: none; width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: 0.92; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4)); transition: transform .1s; }
.ghost svg { width: 100%; height: 100%; }
.ghost.tile { border-radius: 12px; overflow: hidden; }
.ghost.back { transition: left .3s ease, top .3s ease, opacity .3s ease; opacity: 0; }
.ghost .count { position: absolute; right: -8px; top: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ff3b30; color: #fff; font: 700 12px/22px var(--font); text-align: center; }

.notice { position: absolute; left: 50%; bottom: 100px; transform: translate(-50%, 8px); padding: 9px 14px; border-radius: 12px; background: rgba(250, 250, 252, 0.94); color: #1d1d1f; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.notice.show { opacity: 1; transform: translate(-50%, 0); }
.notice::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: #22a35a; color: #fff; font-size: 10px; }

.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 30; }
.flash.go { animation: flash .45s ease-out; }
@keyframes flash { 10% { opacity: 0.75; } }

/* The context menu */
.menu { position: absolute; z-index: 40; min-width: 210px; padding: 5px; border-radius: 10px; background: rgba(246, 246, 250, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #1d1d1f; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(0, 0, 0, 0.22); font-size: 13.5px; }
.menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 10px; border: 0; border-radius: 5px; background: none; color: inherit; font: inherit; text-align: left; cursor: default; }
.menu button:hover, .menu button:focus-visible { background: #3d6cf6; color: #fff; outline: none; }
.menu hr { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: 5px 8px; }
.menu .sub { color: #8a8a92; font-size: 12px; }
.menu button:hover .sub { color: rgba(255, 255, 255, 0.8); }

/* The expanded panel */
.xpanel { position: absolute; left: 50%; bottom: 96px; width: 640px; max-height: 450px; transform: translateX(-50%); display: flex; flex-direction: column; border-radius: 18px; background: rgba(32, 30, 54, 0.62); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(40px) saturate(170%); -webkit-backdrop-filter: blur(40px) saturate(170%); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); z-index: 20; animation: rise .22s cubic-bezier(.2, .8, .2, 1); }
.xpanel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 14px) scale(0.98); } }
.xpanel-search { display: flex; align-items: center; gap: 8px; margin: 14px 14px 4px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }
.xpanel-search svg { width: 15px; height: 15px; opacity: .7; }
.xpanel-search input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: 500 15px var(--font); outline: none; }
.xpanel-search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.xpanel-search input::-webkit-search-cancel-button { display: none; }
.xpanel-body { overflow: auto; padding: 4px 14px 14px; }
.xsec { margin-top: 10px; }
.xsec h4 { margin: 6px 4px 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.6); }
.xcards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.xcard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; cursor: grab; touch-action: none; }
.xcard:hover { background: rgba(255, 255, 255, 0.14); }
.xcard.sel { background: rgba(61, 108, 246, 0.55); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.xcard .pic { width: 58px; height: 58px; display: grid; place-items: center; }
.xcard .pic svg { width: 58px; height: 58px; }
.xcard .pic.tile { border-radius: 11px; overflow: hidden; }
.xcard .pic.tile svg { width: 100%; height: 100%; }
.xcard b { font-size: 11.5px; font-weight: 600; line-height: 1.25; max-width: 84px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center; word-break: break-word; }
.xcard em { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, 0.55); }
.xempty { padding: 30px 0 20px; text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 14px; }

.quicklook { position: absolute; inset: 0; z-index: 35; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); }
.quicklook[hidden] { display: none; }
.ql-card { width: 420px; padding: 14px; border-radius: 16px; background: rgba(245, 245, 250, 0.96); color: #1d1d1f; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); animation: rise2 .2s ease; }
@keyframes rise2 { from { opacity: 0; transform: scale(0.94); } }
.ql-art { height: 260px; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: #fff; }
.ql-art svg { width: 160px; height: 160px; }
.ql-art.tile svg { width: 100%; height: 100%; }
.ql-name { margin-top: 10px; text-align: center; font-weight: 600; font-size: 14px; }

/* The phone-sized Mac. */
.narrow .app.opt { display: none; }
.narrow .mail { left: 26px; width: 430px; }
.narrow .desktop-files { right: 12px; }
.narrow .xpanel { width: 660px; }
.narrow .menubar span:nth-of-type(n+4):not(.mb-spacer):not(.mb-shelfy):not(.mb-time) { display: none; }

.demo-copy { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 26px; }
.demo-copy h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.demo-copy p { margin: 0; color: var(--text-2); font-size: 15.5px; max-width: 560px; }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .copy { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .grid-actions { grid-template-columns: 1fr 1fr; }
  .grid-actions .card, .grid-actions .card:nth-child(4) { grid-column: auto; }
  .grid-actions .card:last-child { grid-column: 1 / -1; }
  .demo-copy { flex-direction: column; align-items: flex-start; }
  .demo-actions { justify-content: flex-start; }
  .nav-note { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner { gap: 12px; padding: 0 16px; }
  .hero { padding: 64px 16px 28px; }
  .lede { font-size: 18px; }
  .cta-row .btn { width: 100%; }
  .feature { padding: 88px 16px 0; }
  .demo-section { padding: 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 0 16px; margin-top: 56px; }
  .stats div { border-right: 1px solid var(--card-border); border-radius: 0 !important; }
  .stats div:nth-child(1) { border-radius: var(--radius) 0 0 0 !important; border-right: 0; }
  .stats div:nth-child(2) { border-radius: 0 var(--radius) 0 0 !important; }
  .stats div:nth-child(3) { border-radius: 0 0 0 var(--radius) !important; border-right: 0; border-top: 0; }
  .stats div:nth-child(4) { border-radius: 0 0 var(--radius) 0 !important; border-top: 0; }
  .stats b { font-size: 28px; }
  .grid-actions { grid-template-columns: 1fr; }
  .grid-actions .card, .grid-actions .card:nth-child(4) { grid-column: auto; }
  .dock-modes { gap: 18px 12px; padding: 18px; }
  .compare th, .compare td { padding: 13px 12px; font-size: 14px; }
  .compare td, .compare .us { width: auto; }
  .checklist { grid-template-columns: 1fr; }
  .price-card { padding: 26px 20px; }
  .footer nav { margin-left: 0; }
  .final { padding: 110px 16px 90px; }
  .tab-panel { height: 260px; }
  .recents-card .mini-dock { display: none; }
  .mini-item { width: 54px; }
  .mi, .mi svg { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Article pages (comparisons) ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 0; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
.byline { margin: 14px 0 0; font-size: 14px; color: var(--text-3); }
.article h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin: 52px 0 14px; }
.article p, .article li { color: var(--text-2); }
.article strong { color: var(--text); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 10px; }
.article .table-wrap { margin: 0; }
.article .compare td { width: 200px; }
.note { font-size: 13.5px; margin-top: 12px; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.article-final { padding: 90px 0 70px; }
.sources-title { font-size: 15px; margin-top: 10px; }
.sources { font-size: 14px; }
.sources a { color: var(--accent); }
@media (max-width: 720px) {
  .article { padding: 36px 16px 0; }
  .pick { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 60px 24px; }
.lost img { margin: 0 auto 24px; }
.lost h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.lost p { color: var(--text-2); margin-bottom: 26px; }
