/* Linger — marketing site. Plain CSS, no build step. */

:root {
  --bg: #f7f7f8;
  --bg-2: #ffffff;
  --fg: #111114;
  --muted: #5e616b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #3b6cf6;
  --accent-fg: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.85);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --desk-a: #5a7df9;
  --desk-b: #c86ad6;
  --desk-c: #f6a06b;
  --radius: 22px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f14;
    --bg-2: #15171e;
    --fg: #f2f3f7;
    --muted: #9a9eab;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #5b8cff;
    --glass: rgba(40, 42, 52, 0.62);
    --glass-line: rgba(255, 255, 255, 0.22);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { letter-spacing: -0.02em; margin: 0; }

/* Header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg); }
.brand img { border-radius: 6px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--fg); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 48px 20px 28px; max-width: 760px; margin: 0 auto; }
.appicon { margin: 0 auto 18px; width: 128px; height: 128px; filter: drop-shadow(0 12px 28px rgba(60, 40, 140, 0.25)); }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.05; }
.tagline { font-size: 26px; font-weight: 600; margin: 14px 0 10px; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; margin: 0 auto 26px; max-width: 600px; }
.download {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 600; font-size: 17px;
  padding: 14px 24px; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(59, 108, 246, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.download:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(59, 108, 246, 0.42); }
.download:active { transform: translateY(0); }
.meta { color: var(--muted); font-size: 14px; margin: 16px 0 6px; }
.tip { color: var(--muted); font-size: 13px; margin: 0; }
code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel, rgba(127,127,127,.12)); padding: 2px 7px; border-radius: 6px; }
.install { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: var(--panel, rgba(127,127,127,.08)); border: 1px solid rgba(127,127,127,.2); }
.install span { font-size: 13px; font-weight: 600; color: var(--muted); }
.install code { background: none; padding: 0; font-size: 14px; user-select: all; }

/* ----- Demo: a mock desktop with the real panel look ----- */
.demo-wrap { padding: 24px 20px 40px; }
.demo {
  position: relative;
  max-width: 940px; margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, var(--desk-a), var(--desk-b) 55%, var(--desk-c));
  box-shadow: var(--shadow);
  font-size: clamp(7px, 1.1vw, 11px);
  user-select: none;
}
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 2.4em;
  background: rgba(255,255,255,.35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; gap: 1.4em; padding: 0 1.4em;
  font-size: 1.1em; color: rgba(0,0,0,.8);
}
.menubar .apple { width: 1.1em; height: 1.1em; border-radius: 50%; background: rgba(0,0,0,.75); }
.menubar .right { margin-left: auto; display: inline-flex; align-items: center; gap: .8em; }
.mb-icon.linger { width: 1.2em; height: 1em; border: .18em solid rgba(0,0,0,.75); border-radius: .25em; display: inline-block; position: relative; }
.mb-icon.linger::after { content: ""; position: absolute; inset: 20% 25% 20% 25%; background: rgba(0,0,0,.75); border-radius: .1em; }

.win {
  position: absolute; border-radius: 1em; overflow: hidden;
  background: #f4f4f6; box-shadow: 0 1.6em 4em rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.08);
  color: #1a1a1f;
}
.win-bar { height: 2.6em; background: #e8e8ec; display: flex; align-items: center; gap: .6em; padding: 0 1em; font-size: 1.05em; color: #555; }
.win-bar i { width: 1em; height: 1em; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: .6em; font-weight: 600; }

.win.doc { left: 37%; top: 8%; width: 57%; height: 48%; }
.doc-body { padding: 2em; }
.chart { display: flex; align-items: flex-end; gap: 1.2em; height: 14em; padding: 0 .5em 1em; border-bottom: 1px solid #d8d8de; }
.chart i { flex: 1; background: linear-gradient(180deg, #6b8cff, #3b6cf6); border-radius: .5em .5em 0 0; }
.lines { margin-top: 1.6em; display: grid; gap: .9em; }
.lines span { display: block; height: .9em; border-radius: .45em; background: #d9d9df; }

.win.slack { left: 4%; top: 40%; width: 44%; height: 54%; background: #fff; }
.slack-body { padding: 1.4em; display: grid; gap: 1.2em; }
.msg { display: flex; gap: .8em; align-items: flex-start; }
.msg b { width: 2.4em; height: 2.4em; border-radius: .5em; background: #ffb3a0; flex: none; }
.msg:nth-child(2) b { background: #a0d8ff; }
.msg > span { display: block; height: .9em; border-radius: .45em; background: #e4e4ea; margin-top: .8em; }
.msg.attach { opacity: 0; transform: translateY(.6em); transition: opacity .35s ease, transform .35s ease; }
.msg.attach.show { opacity: 1; transform: none; }
.msg .att { display: inline-flex; align-items: center; gap: .6em; background: #eef2ff; border: 1px solid #c9d4ff; border-radius: .6em; padding: .5em .8em; height: auto; margin-top: .2em; font-size: .95em; color: #334; }
.msg .att em { width: 1.4em; height: 1.1em; border-radius: .25em; background: linear-gradient(135deg, #6b8cff, #c86ad6); }
.composer { position: absolute; left: 1.4em; right: 1.4em; bottom: 1.2em; height: 3.2em; border: 1px solid #d5d5dc; border-radius: .8em; display: flex; align-items: center; padding: 0 1em; color: #999; font-size: 1em; transition: box-shadow .2s ease, border-color .2s ease; }
.composer.target { border-color: var(--accent); box-shadow: 0 0 0 .3em rgba(59,108,246,.25); }

.selection { position: absolute; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.18); box-shadow: 0 0 0 1px rgba(0,0,0,.25); opacity: 0; pointer-events: none; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.cursor {
  position: absolute; width: 1.6em; height: 2.2em; left: 40%; top: 40%; z-index: 20; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M1 1l14 11.5-6 .6 3.7 7-2.6 1.2-3.6-7-4.6 4.2z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
  transition: left .9s cubic-bezier(.4,0,.2,1), top .9s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 .2em .4em rgba(0,0,0,.35));
}

/* The panel (card), modeled on the app */
.card {
  position: absolute; right: 2%; bottom: 3%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  border-radius: 2em; box-shadow: 0 1.8em 5em rgba(0,0,0,.3), inset 0 0 0 1px var(--glass-line);
  padding: 1.1em;
  display: grid; gap: .9em;
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  z-index: 10;
}
.card.hidden { transform: translateX(130%); opacity: 0; }
.tiles { display: flex; gap: .9em; align-items: flex-start; }
.tile { display: grid; gap: .4em; transition: opacity .4s ease, transform .4s ease; }
.tile .cap { font-size: .95em; color: var(--muted); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb {
  position: relative; border-radius: 1.1em; overflow: hidden;
  box-shadow: 0 .4em 1em rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.3);
  transition: width .5s cubic-bezier(.2,.9,.3,1.05), height .5s cubic-bezier(.2,.9,.3,1.05);
}
.tile.big .thumb { width: 27em; height: 17em; }
.card.two .tile.big .thumb { width: 16.6em; height: 11.6em; }
.tile:not(.big) .thumb { width: 8.7em; height: 11.6em; }
.thumb.tall { width: 8.7em; height: 11.6em; }
.card .row { display: flex; align-items: center; gap: .8em; transition: opacity .3s ease, max-height .4s ease; max-height: 4em; overflow: hidden; }
.card.two .row { opacity: 0; max-height: 0; }
.card.two .tile.big .x { display: none; }
#tile2 { opacity: 0; transform: scale(.7); width: 0; overflow: hidden; }
.card.two #tile2 { opacity: 1; transform: none; width: auto; overflow: visible; }
#tile2.gone { opacity: 0; transform: scale(.8); }
.name { display: grid; gap: .1em; min-width: 0; }
.name b { font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18em; }
.name span { font-size: .95em; color: var(--muted); }
.acts { margin-left: auto; display: flex; gap: .5em; }
.ic { width: 1.5em; height: 1.5em; display: inline-block; background: currentColor; opacity: .8; -webkit-mask: var(--m) no-repeat center / contain; mask: var(--m) no-repeat center / contain; }
.ic.copy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M15 9V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E"); }
.ic.folder { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.ic.share { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v13'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7'/%3E%3C/svg%3E"); }
.ic.trash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M6 7l1 13h10l1-13'/%3E%3Cpath d='M9 7V4h6v3'/%3E%3C/svg%3E"); }
.ic.xmark { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.x {
  position: absolute; left: -.5em; top: -.5em; width: 2em; height: 2em; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff; font: 700 1.3em/1.5em system-ui; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); opacity: 0; transition: opacity .2s ease, transform .2s ease; transform: scale(.6);
  z-index: 2; line-height: 1.5;
}
.x.show { opacity: 1; transform: none; }

/* Mock "screenshot" contents */
.t1, .t2, .t3, .t4 { background: #f4f4f6; }
.t1::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(#e8e8ec 0 15%, transparent 15%),
  linear-gradient(90deg, transparent 8%, #6b8cff 8% 18%, transparent 18% 26%, #3b6cf6 26% 36%, transparent 36% 44%, #6b8cff 44% 54%, transparent 54% 62%, #3b6cf6 62% 72%, transparent 72% 80%, #6b8cff 80% 90%, transparent 90%);
  background-size: 100% 100%, 100% 60%; background-position: 0 0, 0 100%; background-repeat: no-repeat; }
.t1::after { content: ""; position: absolute; left: 8%; right: 8%; top: 25%; height: 38%; background: linear-gradient(#d9d9df 0 14%, transparent 14% 36%, #d9d9df 36% 50%, transparent 50% 72%, #d9d9df 72% 86%, transparent 86%); opacity: .9; }
.t2 { background: #f4f4f6; }
.t2::before { content: ""; position: absolute; left: 12%; right: 12%; top: 14%; height: 72%; background: repeating-linear-gradient(#d9d9df 0 .9em, transparent .9em 2em); opacity: .95; }
.t2::after { content: ""; position: absolute; left: 12%; top: 14%; width: 40%; height: 72%; background: repeating-linear-gradient(#3b6cf6 0 .9em, transparent .9em 2em); opacity: .35; }
.t3 { background: linear-gradient(135deg, #8de0c6, #3ba9c8); }
.t4 { background: linear-gradient(135deg, #2b2f3a, #4a4f63); }
.t4::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: rgba(255,255,255,.85); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 60% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 60% no-repeat; }

.ghost { position: absolute; z-index: 15; opacity: 0; pointer-events: none; transition: left 1.1s cubic-bezier(.45,0,.15,1), top 1.1s cubic-bezier(.45,0,.15,1), opacity .25s ease, transform .3s ease; will-change: left, top; }
.ghost .thumb { width: 8.7em; height: 11.6em; }
.ghost.show { opacity: .9; transform: scale(.92) rotate(-3deg); }

.demo-caption {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: 1.25em; font-weight: 600;
  padding: .55em 1.1em; border-radius: 2em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap; transition: opacity .3s ease; z-index: 30;
}
.demo-caption.fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .cursor, .card, .thumb, .tile, .ghost, .msg.attach, .demo-caption, .marquee, .selbar { transition: none !important; }
  .flash.go { animation: none; }
}

/* Features */
.features { max-width: var(--max); margin: 0 auto; padding: 20px 20px 10px; display: grid; gap: 64px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature > * { min-width: 0; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: 32px; font-weight: 750; line-height: 1.15; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: 17px; }
.visual { display: flex; justify-content: center; align-items: center; min-height: 240px; font-size: clamp(8px, 1vw, 11px); }
.visual .shot { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Static cards reuse the panel styles without position */
.card.static { position: static; transform: none; opacity: 1; box-shadow: 0 18px 50px rgba(0,0,0,.22), inset 0 0 0 1px var(--glass-line); background: var(--glass); }
.visual { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--desk-a), var(--desk-b) 60%, var(--desk-c)); border-radius: 18px; padding: 28px; }
.card.static.mini .tile.big .thumb { width: 17em; height: 10.5em; }
.card.static.mini .name b { max-width: 10em; }
.card.static.strip { position: relative; }
.card.static.strip .tile .thumb { width: 11em; height: 7.5em; }
.card.static.strip .tile .thumb.tall { width: 5.6em; height: 7.5em; }
.card.static.strip .tile .cap { max-width: 11em; }
.tile.sel .thumb { box-shadow: 0 0 0 .3em var(--accent), 0 .4em 1em rgba(0,0,0,.25); }
.tile.sel .thumb::before { z-index: 1; }
.marquee { position: absolute; left: 0.6em; top: 0.6em; width: 20em; height: 9.8em; border: 1px solid var(--accent); background: rgba(59,108,246,.16); border-radius: .3em; z-index: 3; pointer-events: none; }
.selbar { position: absolute; left: 50%; top: -1.3em; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .3em; background: rgba(0,0,0,.72); color: #fff; padding: .3em .5em .3em .9em; border-radius: 2em; font-size: 1.1em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); z-index: 4; }
.selbar b { margin-right: .4em; font-weight: 600; }
.selbar .ic { color: #fff; width: 1.6em; height: 1.6em; margin: 0 .2em; }

.drag-demo { display: grid; grid-template-columns: auto auto; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.drag-demo .arrow { width: 90px; color: rgba(255,255,255,.9); filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.targets { display: grid; gap: 8px; }
.targets span { background: rgba(255,255,255,.9); color: #222; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
@media (prefers-color-scheme: dark) { .targets span { background: rgba(30,32,40,.9); color: #eee; } }

/* CTA + FAQ + footer */
.cta { text-align: center; padding: 80px 20px 40px; }
.cta img { margin: 0 auto 14px; }
.cta h2 { font-size: 34px; margin-bottom: 22px; }
.faq { max-width: 720px; margin: 0 auto; padding: 30px 20px 60px; }
.faq h2 { font-size: 30px; margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; }
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 20px 20px 50px; border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto; }

/* Mobile */
@media (max-width: 760px) {
  .hero h1 { font-size: 42px; }
  .tagline { font-size: 21px; }
  .sub { font-size: 16px; }
  .top nav { gap: 16px; font-size: 14px; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.flip .text { order: 0; }
  .feature h2 { font-size: 26px; }
  .visual { padding: 18px; min-height: 180px; font-size: 7px; }
  .drag-demo { grid-template-columns: 1fr; justify-items: center; }
  .drag-demo .arrow { transform: rotate(90deg); width: 50px; }
  .targets { grid-auto-flow: column; }
  .targets span { padding: 6px 10px; font-size: 12px; }
  .demo { border-radius: 12px; }
  .demo-caption { font-size: 1.4em; }
  .win.doc { left: 32%; width: 64%; }
  .win.slack { left: 2%; width: 48%; }
  .cta h2 { font-size: 28px; }
}

/* Settings mock */
.settings-mock { width: 100%; max-width: 400px; background: var(--bg-2); color: var(--fg); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); font-size: 13px; display: grid; gap: 9px; }
.sm-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.sm-row { display: flex; align-items: center; gap: 10px; }
.sm-row.sub { color: var(--muted); padding-left: 28px; opacity: .55; }
.sm-row .pop { margin-left: auto; font-weight: 500; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 12px; white-space: nowrap; }
.sm-row .slider { flex: 1; height: 4px; border-radius: 2px; background: var(--line); position: relative; margin-left: 10px; }
.sm-row .slider::after { content: ""; position: absolute; left: 20%; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.sw { width: 30px; height: 18px; border-radius: 9px; background: #c9c9cf; position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: left .2s; }
.sw.on { background: #34c759; } .sw.on::after { left: 14px; }

/* --- hero v2: windows, camera cursor, selection, stacked drag, timer + pin --- */
.win.notes { left: 4%; top: 8%; width: 28%; height: 27%; background: #fffdf5; }
.notes-body { padding: 1.3em 1.4em; display: grid; gap: .8em; }
.notes-body b { display: block; height: 1.2em; border-radius: .4em; background: #2a2a30; opacity: .85; }
.notes-body span { display: block; height: .8em; border-radius: .4em; background: #d9d4c2; }
.win.target::after { content: ""; position: absolute; inset: 0; background: rgba(59,108,246,.28); box-shadow: inset 0 0 0 .3em rgba(59,108,246,.9); border-radius: 1em; }
.msg .atts { display: grid; gap: .5em; }
.msg .att em.a2 { background: linear-gradient(135deg, #d9d4c2, #8a8a94); }
.cursor { will-change: left, top; }
.cursor.cam { width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2z' fill='%23fff' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='14' r='3.5' fill='%23fff' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); }
.tile { position: relative; will-change: transform; }
.x { left: -.7em; top: -.7em; z-index: 5; }
.tile.sel::after { content: "✓"; position: absolute; right: .5em; top: .5em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent); color: #fff; font: 700 1.1em/1.65em system-ui; text-align: center; box-shadow: 0 0 0 .15em #fff; z-index: 5; }
.card:not(.static) .marquee, .card:not(.static) .selbar { opacity: 0; transition: opacity .2s ease, width .7s cubic-bezier(.4,0,.2,1), height .7s cubic-bezier(.4,0,.2,1); }
.card:not(.static) .marquee.show, .card:not(.static) .selbar.show { opacity: 1; }
.card:not(.static) .marquee { left: auto; right: .6em; bottom: .6em; top: auto; width: 0; height: 0; }
.card:not(.static) .marquee.show { width: 27em; height: 13.5em; }
.ghost .thumb { position: absolute; left: 0; top: 0; }
.ghost .thumb.t1 { width: 12em; height: 8em; left: -2.4em; top: 1.6em; transform: rotate(-6deg); z-index: -1; box-shadow: 0 .6em 1.6em rgba(0,0,0,.35); }
.ghost.show { opacity: .95; transform: scale(.92) rotate(3deg); }
.card { will-change: transform; }
.card.gone-tiles .tile { opacity: 0; transform: scale(.8); }
.card.static.timer { position: relative; padding-bottom: 1.6em; }
.timerbar { position: absolute; left: 1.4em; right: 1.4em; bottom: .7em; height: .35em; border-radius: 1em; background: rgba(127,127,127,.18); overflow: hidden; }
.timerbar i { display: block; height: 100%; width: 62%; border-radius: 1em; background: var(--accent); animation: drain 9s linear infinite; }
@keyframes drain { from { width: 100%; } to { width: 0; } }
.pin { position: absolute; right: .6em; top: .6em; width: 2.1em; height: 2.1em; border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 0 .15em #fff, 0 .3em .8em rgba(0,0,0,.25); z-index: 5; }
.pin::after { content: ""; position: absolute; inset: 22%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3v2l-1 1v5l3 3v2h-5v6h-2v-6H6v-2l3-3V6L8 5V3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3v2l-1 1v5l3 3v2h-5v6h-2v-6H6v-2l3-3V6L8 5V3z'/%3E%3C/svg%3E") center/contain no-repeat; }
.ic.pinned { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3v2l-1 1v5l3 3v2h-5v6h-2v-6H6v-2l3-3V6L8 5V3z'/%3E%3C/svg%3E"); opacity: 1; color: #ff9f0a; }
.pts { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.pts b { color: var(--text); font-weight: 600; }
