/* GitBell landing: a macOS desktop (same shell as Multi Cursor) where the widget, a Claude Code session and the handoff play out */
@font-face{font-family:"Pretendard";src:url("assets/PretendardVariable-sub.woff2") format("woff2-variations");font-weight:100 900;font-display:swap}
:root{--menu-h:28px;--blue:#0a84ff;--green:#30d158;--red:#ff453a;--orange:#ff9f0a;--ink:#25272b;--muted:#6b7178}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%}
body{font-family:"Pretendard",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);background:#070b14;overflow:hidden;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
img{display:block}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:4px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:fixed;left:-999px;top:34px;z-index:99;background:#fff;color:#000;padding:8px 12px;border-radius:6px}
.skip:focus{left:12px}

.wallpaper{position:fixed;inset:0;background:#15202d url("assets/earth-desktop.webp") center/cover no-repeat;z-index:-1}

/* ---------- menu bar ---------- */
.menubar{position:fixed;top:0;left:0;right:0;height:var(--menu-h);display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#080c16ad;color:#fff;font-size:12.5px;border-bottom:1px solid #ffffff12;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);z-index:50}
.menu-left,.menu-right{display:flex;align-items:center;height:100%;gap:2px}
.menu-right{gap:12px}
.menubar button{height:22px;padding:0 9px;border-radius:4px}
.menubar button:hover,.menubar button[aria-expanded=true]{background:#ffffff26}
.menu-logo img{filter:grayscale(1) brightness(1.6)}
.product-name{font-weight:700}
.status-bell{display:flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.status-bell img{filter:grayscale(1) brightness(1.8)}
.status-icon{width:15px;height:15px}
#clock{font-size:12px;font-variant-numeric:tabular-nums}

.dropdown{position:fixed;top:calc(var(--menu-h) - 2px);min-width:220px;padding:5px;border-radius:9px;background:#f1f3f6f2;color:#1d1f22;font-size:13px;box-shadow:0 10px 30px #0006,0 0 0 1px #0002;backdrop-filter:blur(30px);z-index:60}
.dropdown button,.dropdown a{display:block;width:100%;text-align:left;padding:5px 10px;border-radius:5px;text-decoration:none;color:inherit}
.dropdown button:hover,.dropdown a:hover,.dropdown button:focus-visible{background:var(--blue);color:#fff;outline:none}
.dropdown hr{border:0;border-top:1px solid #0000001a;margin:4px 6px}

/* ---------- desktop ---------- */
.desktop{position:fixed;top:var(--menu-h);left:0;right:0;bottom:0}
.desktop-files{position:absolute;right:16px;top:14px;display:flex;flex-direction:column;gap:22px;width:101px;z-index:1}
.desktop-file{display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px 5px 7px;color:#fff;font-size:11px;line-height:1.4;text-shadow:0 1px 4px #000,0 1px 2px #000;border:1px solid transparent;border-radius:6px}
.desktop-file img{width:54px;height:54px}
.desktop-file:hover,.desktop-file:focus-visible{background:#ffffff1f;border-color:#ffffff33}

.hero-line{position:absolute;left:44px;top:30px;max-width:min(680px,calc(100vw - 600px));color:#fff;text-shadow:0 2px 18px #000a,0 1px 3px #0009;z-index:1;pointer-events:none}
.hero-title{margin:0;font-size:clamp(28px,2.7vw,40px);line-height:1.12;font-weight:780;letter-spacing:-.03em}
.hero-sub{margin:14px 0 0;font-size:15px;line-height:1.55;color:#e8edf3;max-width:46ch}

/* ---------- windows ---------- */
.window{position:absolute;border-radius:11px;overflow:hidden;box-shadow:0 28px 70px #0007,0 6px 18px #0005,0 0 0 1px #ffffff2e}
.titlebar{height:30px;display:flex;align-items:center;position:relative;cursor:grab;user-select:none}
.titlebar:active{cursor:grabbing}
.lights{display:flex;gap:7px;padding-left:12px;position:relative;z-index:1}
.lights i,.lights button{width:12px;height:12px;border-radius:50%;display:block}
.red{background:#ff5f57}.yellow{background:#febc2e}.green{background:#28c840}
.lights button.red:hover{box-shadow:inset 0 0 0 1px #0004}
.wtitle{position:absolute;left:0;right:0;text-align:center;font-size:12px;font-weight:600}

/* terminal */
.term{left:44px;top:252px;width:min(580px,calc(100vw - 600px));height:min(330px,calc(100dvh - 400px));min-height:230px;background:#1c1f24f2;color:#d8dce2;z-index:5;backdrop-filter:blur(20px)}
.term .titlebar{background:#2a2e35;color:#9aa2ad}
.term-body{margin:0;padding:14px 16px;height:calc(100% - 30px);overflow:auto;font:12.5px/1.65 ui-monospace,"SF Mono",Menlo,monospace;white-space:pre-wrap}
.t-dim{color:#7f8792}.t-user{color:#e6ecf2}.t-out{color:#cfd5dc}.t-out em{font-style:normal;color:#7ddc9a}
.t-prompt{color:#f2e3c2}
.t-new{color:#cfd5dc}.t-new em{font-style:normal;color:#7ddc9a}.t-ask{color:#ffd479}
.caret{display:inline-block;width:7px;height:15px;background:#d8dce2;vertical-align:-2px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

/* widget */
.widget{right:136px;top:14px;width:384px;max-height:calc(100dvh - 150px);background:#2b2d31e6;color:#eceef1;backdrop-filter:blur(26px) saturate(1.2);z-index:6;display:flex;flex-direction:column;font-size:13px}
.widget.hide{display:none}
.w-head{display:flex;align-items:center;gap:9px;padding:12px 14px 8px;cursor:grab}
.w-titles{flex:1;min-width:0}
.w-titles b{display:block;font-size:15px}
.w-titles small{display:block;color:#9aa0a8;font-size:11px}
.w-icons{display:flex;gap:10px;color:#a9afb7}
.w-icons svg{width:15px;height:15px}
.w-tabs{display:flex;gap:3px;margin:0 10px 8px;padding:3px;border-radius:9px;background:#ffffff0f}
.w-tabs button{flex:1;padding:5px 0;border-radius:7px;color:#b8bdc4;font-size:12px}
.w-tabs button.on{background:#1b1c1f;color:#fff;font-weight:650;box-shadow:0 1px 2px #0006}
.w-tabs i{font-style:normal;font-size:10.5px;background:var(--blue);color:#fff;border-radius:99px;padding:0 6px;margin-left:3px}
.w-list{flex:1;overflow:auto;padding:0 8px 8px}
.w-sec{margin:6px 8px 4px;color:#8e949c;font-size:11.5px;font-weight:650}
.card{display:flex;gap:10px;padding:11px 8px 12px;border-radius:10px;position:relative}
.card+.card{border-top:1px solid #ffffff12;border-radius:0}
.card.target.lit{background:#0a84ff1f;border-radius:10px;box-shadow:inset 0 0 0 1px #0a84ff59}
.av{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:750;color:#fff;font-style:normal}
.a1{background:linear-gradient(135deg,#6b8fd6,#3a5ba4)}.a2{background:linear-gradient(135deg,#69b089,#2f7451)}.a3{background:linear-gradient(135deg,#d66b6b,#a43a3a)}.a4{background:linear-gradient(135deg,#c79a55,#8c6526)}
.me{background:linear-gradient(135deg,#8e8e93,#58585d)}.plus{background:#0a84ff33;color:#6fb4ff;font-size:16px}
.agent{background:#d9774b2e;color:#ff9e6e;font-size:15px}.agent.cx{background:#30d1582e;color:#6fe08c}
.c-body{flex:1;min-width:0}
.c-meta{margin:0;display:flex;align-items:center;gap:6px;color:#a2a8b0;font-size:11.5px;white-space:nowrap;overflow:hidden}
.c-meta time{margin-left:auto;color:#7d838b;font-size:10.5px;font-variant-numeric:tabular-nums}
.repo{color:#7fb6ff;background:#0a84ff24;border-radius:5px;padding:1px 6px;font-weight:650}
.c-title{margin:4px 0 0;font-weight:680;font-size:13.5px;line-height:1.3;color:#f4f5f7}
.c-text{margin:4px 0 0;color:#b5bbc3;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.c-row{display:flex;align-items:center;gap:5px;margin-top:8px;flex-wrap:wrap}
.chip{font-size:11px;font-weight:600;padding:2px 7px;border-radius:5px;background:#ffffff14;color:#b8bec6}
.chip.green{background:#30d15826;color:#6fe08c}.chip.red{background:#ff453a26;color:#ff8a82}.chip.blue{background:#0a84ff2b;color:#7fb6ff}
.c-actions{margin-left:auto;display:flex;gap:6px}
.pill{font-size:11.5px;font-weight:650;padding:4px 11px;border-radius:99px;background:#0a84ff26;color:#7fb6ff}
.pill:hover{background:#0a84ff3d}
.pill.brass{background:var(--blue);color:#fff;box-shadow:0 0 0 0 #0a84ff80}
.pill.brass.pulse{animation:pulse 1.6s ease-out 2}
@keyframes pulse{0%{box-shadow:0 0 0 0 #0a84ffaa}100%{box-shadow:0 0 0 10px #0a84ff00}}
.thread{position:relative;margin-left:26px;padding-left:10px}
.thread:before{content:"";position:absolute;left:-11px;top:-6px;bottom:22px;width:2px;border-radius:1px;background:#ffffff26}
.card.child{border-top:0}
.people{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 4px}
.people span{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:9px;border-radius:9px;background:#ffffff0d}
.people .av{grid-row:span 2}
.people b{font-size:12.5px}.people small{color:#9aa0a8;font-size:11px}
.w-foot{margin:0;padding:7px 14px 9px;border-top:1px solid #ffffff12;color:#7d838b;font-size:10.5px}

/* scenario menu (looks like an NSMenu) */
.menu-pop{position:fixed;min-width:290px;padding:5px;border-radius:9px;background:#3a3c41f2;color:#eceef1;font-size:13px;box-shadow:0 14px 36px #0008,0 0 0 1px #ffffff1f;backdrop-filter:blur(30px);z-index:40}
.mp-head{margin:2px 8px 5px;color:#9aa0a8;font-size:11.5px;font-weight:600}
.menu-pop button{display:block;width:100%;text-align:left;padding:5px 10px;border-radius:5px}
.menu-pop button:hover,.menu-pop button:focus-visible{background:var(--blue);color:#fff;outline:none}
.menu-pop .mp-first:before{content:"⚡︎ ";color:#ffd479}
.menu-pop .mp-first:hover:before{color:#fff}
.menu-pop .mp-sub{color:#c5cad1}
.menu-pop hr{border:0;border-top:1px solid #ffffff1f;margin:4px 6px}

/* banner */
.notification{position:absolute;right:16px;top:8px;width:356px;display:flex;gap:12px;padding:14px 16px 11px;border-radius:17px;border:1px solid #fff9;background:linear-gradient(110deg,#eef1f2e8,#e1e8efeb);color:#252a2e;box-shadow:0 12px 30px #0003;backdrop-filter:blur(28px);z-index:35;animation:slidein .45s cubic-bezier(.2,.8,.2,1)}
@keyframes slidein{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.n-app{width:37px;height:37px;flex:none;border-radius:9px;background:linear-gradient(#f6f7f9,#c1c7ce);display:grid;place-items:center;box-shadow:inset 0 1px 0 #fff,0 2px 4px #0002}
.n-meta{display:flex;justify-content:space-between;margin:0 0 4px;color:#8d959c;font-size:10px}
.notification strong{font-size:13px}
.notification p{margin:2px 0 0;font-size:12.5px;line-height:1.4}
.n-actions{display:flex;gap:18px;border-top:1px solid #75869620;padding-top:8px;margin-top:9px}
.n-actions button{font-size:12.5px;font-weight:650;color:#1d5fb8}
.n-actions button+button{color:#59616a;font-weight:500}

/* doc windows */
.doc{left:50%;top:18px;transform:translateX(-50%);width:min(760px,calc(100vw - 40px));height:calc(100dvh - 150px);background:#f6f7f9;z-index:30;display:flex;flex-direction:column}
.doc .titlebar{background:linear-gradient(#ececee,#e2e3e6);color:#4a4f55;border-bottom:1px solid #0000001a;flex:none}
.doc-body{flex:1;overflow:auto;padding:30px 40px 40px;font-size:15px;line-height:1.6;color:#2b2f34}
.doc-icon{width:88px;height:88px;margin-bottom:10px}
.doc h2{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.03em;color:#17191c;max-width:22ch}
.doc h3{margin:34px 0 10px;font-size:18px;letter-spacing:-.02em;color:#17191c}
.lede{font-size:16.5px;color:#454a50;max-width:60ch;margin:14px 0 0}
.steps{padding-left:20px;margin:0;max-width:62ch}
.steps li{margin:0 0 10px;padding-left:4px}
.ledger{width:100%;border-collapse:collapse;font-size:14px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #0000001a}
.ledger th{text-align:left;padding:10px 14px;font-size:12.5px;color:var(--muted);background:#f0f1f3}
.ledger td{padding:10px 14px;border-top:1px solid #0000000f;vertical-align:top}
.ledger td:first-child{font-weight:650;width:40%}
.deliver{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;margin:0}
.deliver dt{font-weight:700}.deliver dd{margin:3px 0 0;color:#50565d;font-size:14px}
.feat,.checks{padding-left:18px;margin:0;max-width:64ch}
.feat li,.checks li{margin-bottom:8px}
.clis{font-weight:650;color:#30353b;margin:0}
.note{font-size:13px;color:var(--muted);margin:10px 0 0;max-width:68ch}
.doc-cta{margin-top:30px}
.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 18px;border-radius:8px;font-size:14px;font-weight:650;background:#fff;color:#1d1f22;box-shadow:0 0 0 1px #00000024,0 1px 1px #0000000f}
.btn.primary{background:var(--blue);color:#fff;box-shadow:none}
.btn:hover{filter:brightness(1.05)}
.pr-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.currency{display:inline-flex;padding:3px;border-radius:99px;background:#0000000f}
.cur{padding:6px 14px;border-radius:99px;font-size:13px;font-weight:650;color:#5b6168}
.cur[aria-pressed=true]{background:#fff;color:#17191c;box-shadow:0 1px 2px #0003}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.plan{background:#fff;border-radius:12px;padding:22px;box-shadow:0 0 0 1px #0000001a;display:flex;flex-direction:column;gap:10px}
.plan h3{margin:0;font-size:15px}
.plan>p:not(.price){margin:0;color:#50565d;font-size:14px;flex:1}
.plan .btn{align-self:flex-start}
.note .link{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.price{margin:0;display:flex;align-items:baseline;gap:8px}
.price span{font-size:32px;font-weight:800;letter-spacing:-.03em}
.price small{color:var(--muted);font-size:13px}
.flash{animation:flash 1.2s ease 2}
@keyframes flash{50%{box-shadow:0 0 0 4px #0a84ff66}}
details{border-top:1px solid #00000014;max-width:64ch}
details:last-of-type{border-bottom:1px solid #00000014}
summary{cursor:pointer;padding:12px 0;font-weight:650;list-style:none}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";float:right;color:var(--muted)}
details[open] summary:after{content:"–"}
details p{margin:0 0 14px;color:#50565d;font-size:14px}

/* ---------- dock, tour, footer, toast ---------- */
.dock{position:fixed;left:50%;bottom:8px;transform:translateX(-50%);display:flex;align-items:flex-end;gap:7px;padding:8px 10px 5px;border-radius:16px;border:1px solid #e8f4ff80;background:linear-gradient(150deg,#e3edf481,#7d9cb767);box-shadow:inset 0 1px 1px #fff8,inset 0 -1px 1px #d9edff99,0 8px 20px #0005,0 0 0 1px #34516f66;backdrop-filter:blur(24px) saturate(1.3);z-index:45;max-width:calc(100vw - 16px)}
.dock-item{position:relative;display:flex;flex-direction:column;align-items:center;color:inherit;text-decoration:none}
.d-icon{width:43px;height:43px;border-radius:10px;display:grid;place-items:center;overflow:hidden;box-shadow:0 2px 3px #0005;transform-origin:center bottom;transition:transform .18s cubic-bezier(.2,.7,.3,1)}
.d-icon img{width:100%;height:100%;object-fit:cover}
.d-icon.plain{background:linear-gradient(#fafbfc,#d7dce2)}.d-icon.plain img{width:30px;height:30px;object-fit:contain}
.d-icon.app{background:#14171c}
.d-icon.terminal{background:linear-gradient(#3a3f47,#15181d);color:#e8edf2;font:700 15px ui-monospace,Menlo,monospace}
.dock-item:hover .d-icon,.dock-item:focus-visible .d-icon{transform:translateY(-6px) scale(1.18)}
.dock-item i{width:4px;height:4px;border-radius:50%;margin-top:3px;background:transparent}
.dock-item.running i{background:#1d2a37b3}
.tip{position:absolute;bottom:64px;white-space:nowrap;padding:5px 9px;border-radius:6px;background:#eef1f5ed;color:#222;font-size:11px;box-shadow:0 3px 10px #0004;opacity:0;pointer-events:none;transition:opacity .12s}
.dock-item:hover .tip,.dock-item:focus-visible .tip{opacity:1}
.dock-divider{width:1px;height:39px;margin:0 3px 4px;background:#30486260;border-right:1px solid #e7f4ff5e}

.tour{position:fixed;left:22px;bottom:94px;width:290px;padding:0 16px 12px;border-radius:11px;border:1px solid #ffffffb3;background:#e9edf2ed;color:#2b3440;box-shadow:0 10px 35px #0005;backdrop-filter:blur(24px);z-index:44}
.tour.hide{display:none}
.tour-head{display:flex;justify-content:space-between;align-items:center;padding:10px 0 0;font-size:11px;color:#6b7580;font-weight:600}
.tour-head button{font-size:16px;line-height:1;color:#6b7580;padding:0 2px}
.tour-content{padding:8px 0 12px}
.tour-content h2{margin:0;font-size:16px;letter-spacing:-.02em;color:#17202a}
.tour-content p{margin:6px 0 0;font-size:13px;line-height:1.5;color:#46505b}
.tour-foot{display:flex;justify-content:space-between;align-items:center}
.tour-dots{display:flex;gap:6px}
.tour-dots button{width:7px;height:7px;border-radius:50%;background:#2b344033}
.tour-dots button[aria-current=step]{background:#2b3440;width:18px;border-radius:4px}
.tour-arrows{display:flex;gap:6px}
.tour-arrows button{width:28px;height:24px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px #0000001f;font-size:16px;line-height:1}

.biz-footer{position:fixed;right:12px;bottom:4px;max-width:calc(50vw - 330px);color:#ffffffb3;font-size:9.5px;line-height:1.45;text-align:right;text-shadow:0 1px 2px #000;z-index:2}
.biz-footer p{margin:0}
.biz-footer a{color:inherit}
.toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,10px);padding:10px 17px;border-radius:9px;background:#edf1f5ed;color:#2f3943;border:1px solid #fff9;font-size:12.5px;box-shadow:0 5px 18px #0003;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:70}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- smaller screens: the desktop becomes a page ---------- */
@media (max-width:1180px){
  .term{width:min(500px,calc(100vw - 560px))}
  .widget{right:16px}
  .desktop-files{display:none}
}
@media (max-width:900px),(max-height:620px){
  body{overflow:auto}
  .desktop{position:static;padding:calc(var(--menu-h) + 20px) 16px 24px;display:flex;flex-direction:column;gap:18px}
  .menu-left button:not(.menu-logo):not(.product-name){display:none}
  .hero-line,.term,.widget,.doc,.notification{position:relative;left:auto;right:auto;top:auto;transform:none;width:100%;max-width:none}
  .hero-line{pointer-events:auto}
  .term{height:300px;min-height:0}
  .widget{height:auto;max-height:none}
  .w-list{overflow:visible}
  .doc{height:auto}
  .doc[hidden]{display:flex!important}
  .doc .lights button{display:none}
  .doc-body{overflow:visible;padding:22px 20px 28px}
  .plans,.deliver{grid-template-columns:1fr}
  .tour,.dock{display:none}
  .biz-footer{position:static;max-width:none;text-align:left;padding:0 16px 24px}
  .menu-pop{left:16px!important;right:16px;min-width:0}
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
}
