:root {
  --bg: #f4f4f2;
  --bg-2: #ebebe8;
  --fg: #0b0b0b;
  --muted: #6f6f6c;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #1d54e2;
  --accent-hover: #1745c0;
  --dark: #050505;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.brand small { font-weight: 400; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background 180ms, transform 180ms; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { text-align: center; padding: 28px 0 32px; }
.hero .icon { width: 112px; height: 112px; filter: drop-shadow(0 12px 24px rgba(29, 84, 226, 0.25)); }
/* One line on a laptop or desktop, so the demo, its steps and the download button all fit on the first screen. */
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.4rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; white-space: nowrap; }
.hero-download { margin-top: 20px; }
.hero p.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 40rem; margin: 0 auto 32px; }
.meta { margin-top: 14px; font-size: 13px; color: var(--muted); }
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: var(--fg); }

/* Hero demo: a laptop that loops through using Cleaning Mode (hero-demo.ts moves it between moments) */
/* As wide as the screen's height allows, leaving room above for the headline and below for the steps and button. */
.laptop { width: min(100%, 760px, max(340px, calc((100svh - 370px) * 1.6 + 28px))); margin: 24px auto 0; }
.screen { background: #1a1a1a; border-radius: 18px 18px 0 0; padding: 14px 14px 0; }
.base { height: 18px; background: linear-gradient(#d9d9d6, #b9b9b5); border-radius: 0 0 14px 14px; margin: 0 -40px; position: relative; }
.base::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 7px; margin-left: -60px; background: #a6a6a2; border-radius: 0 0 8px 8px; }
.demo-display { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px 6px 0 0; container-type: inline-size; background: #3d5be0; text-align: left; line-height: 1.3; user-select: none; }

/* The desktop */
.demo-desk { position: absolute; inset: 0; background: radial-gradient(55% 75% at 12% 18%, rgba(255, 255, 255, 0.32), transparent 60%), radial-gradient(50% 70% at 92% 92%, rgba(255, 140, 205, 0.45), transparent 62%), linear-gradient(140deg, #6d9bff 0%, #3d5be0 46%, #7a4fe8 100%); }
.demo-bar { position: absolute; inset: 0 0 auto; height: 3.4cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 1.8cqw; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); font-size: 1.5cqw; color: #111; }
.demo-bar > span { display: flex; align-items: center; gap: 1.7cqw; }
.demo-bar svg { width: 1.9cqw; height: 1.9cqw; display: block; }
.demo-icon { display: grid; place-items: center; height: 2.6cqw; padding: 0 0.7cqw; margin: 0 -0.7cqw; border-radius: 0.6cqw; transition: background 150ms; }
.demo-icon svg { width: 2.3cqw; height: 2.3cqw; }
.demo[data-scene="menu"] .demo-icon { background: rgba(0, 0, 0, 0.15); }
.demo-win { position: absolute; left: 8cqw; top: 8.5cqw; width: 48cqw; height: 36cqw; background: #fff; border-radius: 1.2cqw; box-shadow: 0 2cqw 5cqw rgba(10, 20, 70, 0.35); overflow: hidden; }
.demo-win .bar { height: 3.4cqw; display: flex; align-items: center; gap: 0.8cqw; padding: 0 1.4cqw; background: #f3f3f1; border-bottom: 1px solid var(--line); }
.demo-win .bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #ff5f57; }
.demo-win .bar i:nth-child(2) { background: #febc2e; }
.demo-win .bar i:nth-child(3) { background: #28c840; }
.demo-win .lines { padding: 3cqw 3.4cqw; display: grid; gap: 1.6cqw; }
.demo-win .lines i { height: 1.3cqw; border-radius: 1cqw; background: #e8e8e5; }
.demo-win .lines i:first-child { width: 55%; height: 2.4cqw; background: #d4d4d0; margin-bottom: 0.8cqw; }
.demo-win .lines i:nth-child(3) { width: 92%; }
.demo-win .lines i:last-child { width: 68%; }
.demo-photo { position: absolute; right: 8cqw; top: 15cqw; width: 27cqw; height: 21cqw; border-radius: 1.2cqw; border: 0.7cqw solid #fff; box-shadow: 0 2cqw 5cqw rgba(10, 20, 70, 0.35); background: radial-gradient(circle at 70% 35%, #ffe08a 0 9%, transparent 10%), linear-gradient(to top, #2f6b4f 0 28%, transparent 28%), linear-gradient(#ff9a6b, #ffcf8a 55%, #ffe6b0); }
.demo-dock { position: absolute; left: 50%; bottom: 1.4cqw; transform: translateX(-50%); display: flex; gap: 1cqw; padding: 0.9cqw; background: rgba(255, 255, 255, 0.35); border-radius: 1.8cqw; backdrop-filter: blur(8px); }
.demo-dock i { width: 4cqw; height: 4cqw; border-radius: 1cqw; background: linear-gradient(#6fb1ff, #2a6af0); }
.demo-dock i:nth-child(2) { background: linear-gradient(#ffd66b, #ff9f1c); }
.demo-dock i:nth-child(3) { background: linear-gradient(#7be08f, #27a845); }
.demo-dock i:nth-child(4) { background: linear-gradient(#ff8a8a, #e5383b); }
.demo-dock i:nth-child(5) { background: linear-gradient(#c3a6ff, #7b4fe0); }
.demo-dock i:nth-child(6) { background: linear-gradient(#f2f2f2, #c9c9c9); }

/* The menu bar menu, and the note when you're back */
.demo-menu { position: absolute; top: 3.9cqw; right: 6.5cqw; width: 28cqw; padding: 0.6cqw; background: rgba(246, 246, 246, 0.94); backdrop-filter: blur(12px); border-radius: 1.1cqw; box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08); font-size: 1.45cqw; color: #111; opacity: 0; transform: translateY(-0.6cqw); transition: opacity 160ms, transform 160ms; }
.demo[data-scene="menu"] .demo-menu { opacity: 1; transform: none; }
.demo-menu div { padding: 0.55cqw 1cqw; border-radius: 0.6cqw; }
.demo-menu .start { font-weight: 600; }
.demo-menu .start.hover { background: var(--accent); color: #fff; }
.demo-menu small { display: block; padding: 0 1cqw 0.5cqw; font-size: 1.2cqw; color: #777; }
.demo-menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, 0.1); margin: 0.4cqw 0.6cqw; }
.demo-toast { position: absolute; top: 4.8cqw; right: 1.8cqw; display: flex; align-items: center; gap: 0.9cqw; padding: 1cqw 1.6cqw 1cqw 1.1cqw; background: rgba(255, 255, 255, 0.96); border-radius: 1.4cqw; box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, 0.25); font-size: 1.5cqw; font-weight: 600; color: #111; opacity: 0; transform: translateX(3cqw); transition: opacity 300ms, transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.demo-toast svg { width: 2.3cqw; height: 2.3cqw; color: #28c840; }
.demo[data-scene="back"] .demo-toast { opacity: 1; transform: none; transition-delay: 450ms; }

/* Cleaning Mode itself */
.demo-lock { position: absolute; inset: 0; background: #050505; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity 450ms; }
.demo:is([data-scene="lock"], [data-scene="wipe"], [data-scene="type"]) .demo-lock { opacity: 1; }
.demo-lock .sparkle { width: 3.6cqw; color: rgba(255, 255, 255, 0.5); margin-bottom: 1.8cqw; }
.demo-lock strong { color: rgba(255, 255, 255, 0.88); font-size: 3.4cqw; letter-spacing: -0.01em; }
.demo-lock span { color: rgba(255, 255, 255, 0.45); font-size: 1.7cqw; margin-top: 0.5cqw; }
.demo-keys { display: flex; gap: 1.1cqw; margin-top: 3.4cqw; }
.demo-keys i { font-style: normal; display: grid; place-items: center; width: 5.6cqw; aspect-ratio: 1; border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 1.2cqw; color: rgba(255, 255, 255, 0.55); font-size: 2.3cqw; font-weight: 600; }
.demo-keys i.on { background: rgba(255, 255, 255, 0.92); border-color: transparent; color: #000; animation: key-pop 220ms ease-out; }
.demo-lock em { font-style: normal; color: rgba(255, 255, 255, 0.35); font-size: 1.5cqw; margin-top: 1.8cqw; }
@keyframes key-pop { 0% { transform: scale(0.8); } 60% { transform: scale(1.1); } }

/* Fingerprints, and the cloth that wipes them off (each one fades as the cloth passes it) */
.demo-smudge { position: absolute; width: 9cqw; height: 11cqw; border-radius: 50%; background: repeating-radial-gradient(ellipse at center, rgba(255, 255, 255, 0.13) 0 0.25cqw, transparent 0.25cqw 0.6cqw); -webkit-mask: radial-gradient(ellipse at center, #000 35%, transparent 70%); mask: radial-gradient(ellipse at center, #000 35%, transparent 70%); transform: rotate(var(--r)); }
.demo-smudge:nth-child(1) { left: 14%; top: 12%; --r: -20deg; --d: 250ms; }
.demo-smudge:nth-child(2) { left: 58%; top: 10%; --r: 15deg; --d: 430ms; }
.demo-smudge:nth-child(3) { left: 30%; top: 40%; --r: 30deg; --d: 1220ms; }
.demo-smudge:nth-child(4) { left: 74%; top: 46%; --r: -10deg; --d: 1590ms; }
.demo-smudge:nth-child(5) { left: 20%; top: 70%; --r: 10deg; --d: 2120ms; }
.demo-smudge:nth-child(6) { left: 64%; top: 72%; --r: -25deg; --d: 2280ms; }
.demo[data-scene="wipe"] .demo-smudge { animation: smudge-out 350ms ease var(--d) forwards; }
.demo:is([data-scene="type"], [data-scene="back"]) .demo-smudge { opacity: 0; }
@keyframes smudge-out { to { opacity: 0; } }
.demo-cloth { position: absolute; left: -30%; top: 6%; width: 22cqw; height: 15cqw; border-radius: 2cqw; background-color: #7ab6ff; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 0.3cqw, transparent 0.3cqw 0.8cqw), linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(0, 0, 0, 0.14)); box-shadow: 0 1.6cqw 3cqw rgba(0, 0, 0, 0.5); opacity: 0; }
.demo[data-scene="wipe"] .demo-cloth { animation: wipe 2.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards; }
@keyframes wipe {
  0% { left: -30%; top: 6%; opacity: 1; transform: rotate(-8deg); }
  22% { left: 68%; top: 10%; transform: rotate(6deg); }
  44% { left: 4%; top: 36%; transform: rotate(-6deg); }
  66% { left: 70%; top: 44%; transform: rotate(8deg); }
  84% { left: 10%; top: 68%; transform: rotate(-4deg); }
  100% { left: 110%; top: 72%; opacity: 1; transform: rotate(6deg); }
}

/* The pointer */
.demo-cursor { position: absolute; left: 58%; top: 62%; width: 2.4cqw; margin: -0.25cqw 0 0 -0.5cqw; filter: drop-shadow(0 0.3cqw 0.5cqw rgba(0, 0, 0, 0.35)); transition: left 850ms cubic-bezier(0.5, 0, 0.2, 1), top 850ms cubic-bezier(0.5, 0, 0.2, 1), opacity 200ms; }
.demo:is([data-scene="lock"], [data-scene="wipe"], [data-scene="type"]) .demo-cursor { opacity: 0; }
.demo-cursor.click { animation: click 260ms ease; }
@keyframes click { 50% { transform: scale(0.8); } }

/* The four steps under the laptop; the current one lights up */
.demo-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px auto 0; }
.demo-steps li { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px 6px 7px; line-height: 1.25; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: background 250ms, color 250ms, border-color 250ms; }
.demo-steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--fg); font-size: 12px; transition: background 250ms, color 250ms; }
.demo-steps li.active { background: var(--accent); border-color: transparent; color: #fff; }
.demo-steps li.active b { background: rgba(255, 255, 255, 0.22); color: #fff; }

@media (max-width: 640px) {
  .hero h1 { white-space: normal; font-size: 2.25rem; text-wrap: balance; }
}
@media (max-width: 560px) {
  .demo-steps { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-steps li { font-size: 13px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-cursor { transition: opacity 200ms; }
  .demo-cursor.click, .demo-keys i.on { animation: none; }
  .demo[data-scene="wipe"] .demo-cloth { animation: none; }
  .demo[data-scene="wipe"] .demo-smudge { animation: smudge-out 900ms ease forwards; }
}

/* Sections */
section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 40px; max-width: 18ch; }
.steps, .features { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .num { width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Dark CTA band */
.cta { background: var(--dark); color: #f4f4f2; border-radius: var(--radius); text-align: center; padding: 64px 24px; }
.cta h2 { margin: 0 auto 16px; }
.cta p { color: rgba(244, 244, 242, 0.62); margin-bottom: 28px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Download page */
.download { max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 0 24px; }
.download h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.05; margin: 24px 0 14px; }
.download .lead { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.install { text-align: left; margin-top: 48px; display: grid; gap: 12px; }
.install .card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; }
.install .num { flex: none; margin: 0; }
.notice { margin-top: 24px; font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .steps, .features { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .hero { padding-top: 20px; }
  .base { margin: 0 -16px; }
  section { padding: 56px 0; }
}

/* Sign in / sign up */
.auth { display: grid; place-items: center; padding: 40px 0 80px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; text-align: center; }
.auth-card h1 { font-size: 26px; letter-spacing: -0.02em; margin: 18px 0 6px; }
.auth-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.segmented button { border: 0; background: transparent; border-radius: 999px; height: 36px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.segmented button[aria-selected="true"] { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.btn-google { width: 100%; justify-content: center; background: #fff; border: 1px solid rgba(0, 0, 0, 0.15); color: var(--fg); cursor: pointer; font: inherit; font-weight: 600; }
.btn-google:hover { background: var(--bg); }
.btn-google svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: block; text-align: left; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; height: 44px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hint { text-align: left; color: var(--muted); font-size: 12.5px; margin: -4px 0 14px; }
.error { text-align: left; color: #c62828; font-size: 14px; margin-bottom: 12px; }
.btn-block { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn-block:disabled { opacity: 0.6; cursor: default; }
.fineprint { color: var(--muted); font-size: 12.5px; margin-top: 18px; }
[hidden] { display: none !important; }

/* Privacy */
.prose { max-width: 680px; padding: 32px 0 48px; }
.prose h1 { font-size: 40px; letter-spacing: -0.03em; margin-bottom: 16px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p { color: #333; margin-bottom: 12px; }

/* Nav: account link next to Download */
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 180ms; }
.nav-link:hover { background: var(--bg-2); }
.nav-link[data-auth-link]:not([data-ready]) { visibility: hidden; }

/* Account page */
.account { max-width: 680px; margin: 0 auto; padding: 24px 0 56px; }
.account-loading { color: var(--muted); text-align: center; padding: 64px 0; }
.account-head { margin-bottom: 24px; }
.account-head h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.08; }
.account-head p { color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.account-head strong { color: var(--fg); font-weight: 600; }
.account .panel { margin-top: 14px; }
.account .panel h2 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; margin: 0 0 4px; max-width: none; }
.panel-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.account .btn { border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; }
.account .btn-sm { font-size: 14px; }
.account .btn-ghost { border: 1px solid rgba(0, 0, 0, 0.12); color: var(--fg); }
.account .btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-danger { background: #c62828; color: #fff; }
.btn-danger:hover:not(:disabled) { background: #a61f1f; }
.btn-danger-ghost { background: #fff; color: #c62828; border: 1px solid rgba(198, 40, 40, 0.35) !important; }
.btn-danger-ghost:hover { background: #fdf1f1; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.field-static { height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.account .field input { max-width: 100%; }
.status { font-size: 14px; color: var(--muted); }
.status.ok { color: #1b7f3b; }
.status.bad { color: #c62828; }
.callout { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff8e8; border: 1px solid #f1dcae; color: #6b4b00; border-radius: 16px; padding: 14px 16px; font-size: 14px; margin-bottom: 20px; }
.callout svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.callout.good { background: #edf8f1; border-color: #bfe3cb; color: #17663a; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn:disabled { opacity: 0.6; cursor: default; }
.aside { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.macs { list-style: none; display: grid; gap: 10px; }
.mac { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.mac-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); }
.mac-icon svg { width: 22px; height: 22px; }
.mac-body { flex: 1; min-width: 0; }
.mac-body strong { display: block; font-size: 15px; font-weight: 600; }
.mac-body span { display: block; color: var(--muted); font-size: 13.5px; }
.macs-empty { border: 1px dashed rgba(0, 0, 0, 0.15); border-radius: 16px; padding: 20px; color: var(--muted); font-size: 15px; text-align: center; }
.macs-empty a { color: var(--accent); font-weight: 600; }
.panel.danger { border-color: rgba(198, 40, 40, 0.22); }
.panel.danger h2 { color: #b42020; }
.confirm-delete { margin-top: 18px; padding: 18px; border-radius: 16px; background: #fdf3f3; border: 1px solid rgba(198, 40, 40, 0.18); }
.confirm-delete p { font-size: 14.5px; margin-bottom: 12px; overflow-wrap: anywhere; }
.done-card { text-align: center; padding: 48px 28px; }
.done-card h1 { font-size: 28px; letter-spacing: -0.02em; margin: 18px 0 8px; }
.done-card p { color: var(--muted); margin-bottom: 24px; }
@media (max-width: 560px) {
  .mac { flex-wrap: wrap; }
  .mac .btn { width: 100%; justify-content: center; }
  .account .actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Success check (Mac app hand-off, password reset) */
.success-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: #1f9d55; color: #fff; box-shadow: 0 10px 24px rgba(31, 157, 85, 0.28); animation: pop 360ms cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.success-check svg { width: 32px; height: 32px; }
.auth-sub strong { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .success-check { animation: none; } }

/* Download: after-download guide */
.guide { text-align: left; margin-top: 56px; display: grid; gap: 14px; }
.guide-head { text-align: center; margin-bottom: 10px; }
.guide-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 auto 6px; max-width: none; }
.guide-head p { color: var(--muted); }
.guide-step { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; padding: 24px; }
.guide-step .num { margin-bottom: 14px; }
.guide-step .tip { margin-top: 10px; font-size: 14px; color: var(--muted); }
.guide-step.key { border-color: rgba(29, 84, 226, 0.4); box-shadow: 0 0 0 4px rgba(29, 84, 226, 0.07); }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.guide-step .step-top .num { margin: 0; }
.must { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: rgba(29, 84, 226, 0.09); border-radius: 999px; padding: 4px 10px; }
.visual { position: relative; height: 168px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.win { width: 214px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; background: #f2f2f0; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); font-weight: 600; }
.win-bar i { width: 8px; height: 8px; border-radius: 999px; background: #d6d6d2; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 6px; }
.win-body { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px 14px; }
.app { display: grid; justify-items: center; gap: 4px; font-size: 10px; color: var(--fg); font-weight: 500; }
.app img, .app .ico { width: 44px; height: 44px; }
.app.sel img { border-radius: 10px; background: rgba(29, 84, 226, 0.12); padding: 2px; }
.app.sel em { font-style: normal; background: var(--accent); color: #fff; border-radius: 4px; padding: 0 5px; }
.app em { font-style: normal; }
.drag-arrow { width: 54px; color: var(--accent); }
.finder { display: grid; grid-template-columns: 74px 1fr; }
.finder ul { list-style: none; background: #f6f6f4; border-right: 1px solid var(--line); padding: 8px 6px; font-size: 9.5px; color: var(--muted); display: grid; gap: 3px; align-content: start; }
.finder li { padding: 2px 5px; border-radius: 4px; }
.finder li.on { background: rgba(0, 0, 0, 0.08); color: var(--fg); font-weight: 600; }
.finder .win-body { gap: 10px; position: relative; }
.ghost-app { width: 34px; height: 34px; border-radius: 9px; background: #e7e7e3; }
.pointer { position: absolute; right: 22px; bottom: 6px; width: 16px; color: var(--fg); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2)); }
.mini-auth { width: 180px; background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06); padding: 14px 14px 12px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.mini-auth img { width: 28px; height: 28px; }
.mini-auth b { font-size: 11px; }
.mini-auth span { width: 100%; height: 20px; border-radius: 999px; font-size: 9px; font-weight: 600; display: grid; place-items: center; }
.mini-auth .g { border: 1px solid rgba(0, 0, 0, 0.15); }
.mini-auth .p { background: var(--accent); color: #fff; }
.settings { width: 214px; }
.settings .row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 10.5px; font-weight: 500; }
.settings .row + .row { border-top: 1px solid var(--line); }
.settings .row img, .settings .row .ghost-app { width: 22px; height: 22px; border-radius: 6px; }
.settings .row.dim { color: var(--muted); }
.settings .row b { flex: 1; font-weight: 500; }
.toggle { width: 26px; height: 15px; border-radius: 999px; background: #d9d9d5; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.toggle.on { background: var(--accent); }
.toggle.on::after { left: 13px; }
.settings-title { font-size: 10px; font-weight: 600; color: var(--muted); padding: 8px 10px 2px; }
.menubar-scene { align-content: start; padding-top: 0; }
.menubar { width: 100%; height: 26px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 12px; background: rgba(255, 255, 255, 0.85); border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 600; color: #333; }
.menubar svg { width: 15px; height: 15px; }
.menubar .kb { display: grid; place-items: center; width: 26px; height: 20px; border-radius: 5px; background: rgba(29, 84, 226, 0.14); color: var(--accent); box-shadow: 0 0 0 2px rgba(29, 84, 226, 0.45); }
.menu { position: absolute; top: 30px; right: 74px; width: 150px; background: #fff; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06); padding: 4px; font-size: 10.5px; display: grid; gap: 1px; text-align: left; }
.menu span { padding: 4px 8px; border-radius: 4px; color: #333; }
.menu span.on { background: var(--accent); color: #fff; font-weight: 600; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 2px 4px; }
.blackout { background: var(--dark); }
.blackout .mini-keys { display: flex; gap: 6px; }
.blackout .mini-keys i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 7px; color: rgba(255, 255, 255, 0.55); font-size: 12px; font-weight: 600; }
.blackout .mini-keys i.on { background: rgba(255, 255, 255, 0.9); border-color: transparent; color: #000; }
.blackout small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.4); font-size: 10px; }
@media (max-width: 680px) {
  .guide-step { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
}
