/* Sidekick marketing site. One accent: electric blue. */
:root {
  --bg: #0a0a0b;
  --card: #161618;
  --card-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --blue: #2f6fed;
  --blue-2: #4c8dff;
  --green: #3dd68c;
  --amber: #f5b942;
  --red: #f07178;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(47, 111, 237, 0.35); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 18px; width: auto; }
.links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.links a.here { color: var(--text); }
.menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu span { display: block; width: 16px; height: 1.5px; background: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(76, 141, 255, 0.35), 0 8px 24px rgba(47, 111, 237, 0.25);
}
.btn:hover { background: #3b78f3; }
.btn-lg { padding: 12px 18px; font-size: 15px; }
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  box-shadow: none;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.link:hover { color: var(--text); }
.link svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 28px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
}
.lede {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo-note { margin: 14px 0 0; font-size: 13px; color: var(--faint); }
.demo-note a { color: var(--blue-2); }
.demo-note a:hover { text-decoration: underline; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 0 8px;
  color: var(--faint);
  font-size: 13px;
}
.trust b { color: var(--muted); font-weight: 500; }
.trust .sep { width: 3px; height: 3px; border-radius: 50%; background: #3f3f46; }

/* Product frame */
.app {
  background: #101012;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.14), var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 196px;
  min-height: 460px;
  text-align: left;
  font-size: 12px;
  color: var(--text);
}
.app.solo { grid-template-columns: 1fr; min-height: 0; }
.app.two { grid-template-columns: 1fr 220px; }
.app-col { min-width: 0; display: flex; flex-direction: column; background: #101012; overflow: hidden; }
.app-col + .app-col { border-left: 1px solid var(--line); }
.app-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.app-hd .who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-hd .who span { color: var(--faint); font-weight: 500; font-size: 11px; }
.brand-mini { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 11px; font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.15); }
.searchbox, .composer input, .field {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--faint);
  padding: 7px 10px;
}
.searchbox { margin: 8px; }
.fans { overflow: auto; }
.fan {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.fan.on, .fan:hover { background: #1a1a1e; }
.av {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 650; color: #fff;
}
.fan > span:nth-child(2) { min-width: 0; }
.fan b { display: block; }
.fan .sub, .clip {
  display: block;
  color: var(--faint);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fan-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.when { color: var(--faint); font-size: 10px; }
.unread {
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 650;
  display: grid; place-items: center;
}
.msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.bubble { max-width: 82%; padding: 8px 10px; line-height: 1.35; }
.bubble.me { margin-left: auto; background: var(--blue); border-radius: 12px 12px 4px 12px; }
.bubble.them { background: #222228; border-radius: 12px 12px 12px 4px; }
.bubble .t { display: block; margin-top: 4px; color: rgba(255,255,255,0.62); font-size: 10px; }
.bubble.them .t { color: var(--faint); }
.composer { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--line); }
.composer input { flex: 1; }
.send {
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: var(--blue); color: #fff; cursor: pointer;
}
.side { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 99px; padding: 3px 8px;
  font-size: 10px; font-weight: 650; letter-spacing: 0.01em;
}
.pill.blue { background: rgba(47, 111, 237, 0.16); color: #9ec0ff; }
.pill.amber { background: rgba(245, 185, 66, 0.14); color: var(--amber); }
.pill.green { background: rgba(61, 214, 140, 0.12); color: var(--green); }
.block h4 { margin: 0 0 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px; }
.kv span { color: var(--faint); }
.kv b { font-weight: 600; font-variant-numeric: tabular-nums; }
.note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.act { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 11px; color: var(--muted); }
.act span { color: var(--faint); }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 36px 0 88px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.feature:hover { border-color: rgba(47, 111, 237, 0.45); transform: translateY(-2px); }
.feature h3 { margin: 10px 0 6px; font-size: 16px; letter-spacing: -0.02em; }
.feature p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(47, 111, 237, 0.14); color: var(--blue-2);
}
.ico svg { width: 16px; height: 16px; }

.mini {
  background: #101012;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.mini-hd, .mini-row, .lb-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px;
}
.mini-hd { color: var(--faint); font-size: 11px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; }
.chips b { color: var(--text); font-weight: 600; }
.mini-row { border-top: 1px solid rgba(255,255,255,0.04); font-size: 12px; }
.mini-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-row em { display: block; color: var(--faint); font-style: normal; font-size: 11px; }
.mini-row strong { color: var(--blue-2); font-weight: 650; font-variant-numeric: tabular-nums; }
.track { height: 6px; border-radius: 99px; background: #2a2a2e; overflow: hidden; margin: 0 10px 8px; }
.track i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.lb-row { font-size: 12px; padding: 6px 10px; }
.lb-row b { font-weight: 600; }
.lb-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.live-card { padding: 12px; }
.live-card h4 { margin: 0 0 4px; font-size: 12px; }
.live-card .goal { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.live-card .sub { color: var(--faint); font-size: 11px; margin: 8px 0 6px; }
.thanks { margin-top: 8px; color: var(--muted); font-size: 12px; }

/* Sections */
.section { padding: 28px 0 88px; }
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.1;
}
.section .copy { color: var(--muted); margin: 0 0 16px; max-width: 46ch; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 1fr; }
.split.reverse .copy-col { order: 2; }
.kicker { color: var(--blue-2); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.ticks { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.ticks li { padding: 4px 0 4px 16px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: stretch; }
.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.price.rec {
  border-color: rgba(47, 111, 237, 0.55);
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.25), 0 16px 50px rgba(0, 0, 0, 0.35);
}
.flag {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 650; color: var(--blue-2);
  background: rgba(47, 111, 237, 0.12);
  border-radius: 99px; padding: 3px 8px;
}
.price h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 600; }
.amount { font-size: 3rem; letter-spacing: -0.04em; font-weight: 600; line-height: 1; }
.amount span { font-size: 1rem; color: var(--faint); letter-spacing: 0; font-weight: 500; }
.price .fine { color: var(--muted); font-size: 14px; margin: 12px 0 18px; }
.price ul { margin: 0 0 20px; padding: 0; list-style: none; }
.price li { padding: 6px 0; border-top: 1px solid rgba(255,255,255,0.05); color: var(--muted); font-size: 14px; }
.meter { font-size: 1.7rem; letter-spacing: -0.03em; font-weight: 600; margin: 8px 0; }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; letter-spacing: -0.01em; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 68ch; }

/* Wiki */
.wiki { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 36px 0 96px; }
.wiki-side { position: sticky; top: 84px; align-self: start; }
.wiki-side input, .search-lg {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.wiki-side input:focus, .search-lg:focus, .field:focus { outline: 2px solid rgba(47, 111, 237, 0.7); border-color: transparent; }
.wiki-side a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.wiki-side a:hover, .wiki-side a[aria-current="page"] { color: var(--text); }
.hits { display: none; margin: 0 0 12px; padding: 0; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.hits.show { display: block; }
.hits a { display: block; padding: 8px 12px; font-size: 14px; color: var(--text); }
.hits a:hover { background: #1a1a1e; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wcard {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.16s ease;
}
.wcard:hover { border-color: rgba(47, 111, 237, 0.45); }
.wcard h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.02em; }
.wcard p { margin: 0; color: var(--muted); font-size: 14px; }
.prose h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.prose .updated, .prose .deck { color: var(--faint); margin: 0 0 22px; }
.prose h2 { margin: 28px 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.prose a { color: var(--blue-2); }
.prose a:hover { text-decoration: underline; }
.prose ol, .prose ul { padding-left: 1.2rem; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); font-weight: 600; }
.caption { margin: 8px 0 0; color: var(--faint); font-size: 13px; }

/* Demo */
.demo-page { padding: 20px 0 40px; }
.demo-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.demo-bar p { margin: 0; color: var(--faint); font-size: 13px; }
.views { display: flex; gap: 6px; margin-left: auto; }
.views button, .ghost {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}
.views button.on { background: var(--card-2); color: var(--text); border-color: var(--line-strong); }
body.shot .top, body.shot .site-foot, body.shot .float-cta, body.shot .demo-hide { display: none !important; }
body.shot .demo-page { padding-top: 12px; }
.stage .app { min-height: 640px; }
.wheel-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 18px; align-items: center; }
.wheel {
  width: 200px; height: 200px; border-radius: 50%;
  background: conic-gradient(#2f6fed 0 60deg, #1c1c1f 60deg 120deg, #2458c4 120deg 180deg, #1c1c1f 180deg 240deg, #3d7cf5 240deg 300deg, #161618 300deg 360deg);
  box-shadow: inset 0 0 0 10px #101012, 0 0 0 1px var(--line-strong);
  position: relative;
}
.wheel::after {
  content: "";
  position: absolute; inset: 72px;
  background: #101012;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.queue-day { padding: 8px; }
.q-block {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 10px; align-items: center;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}
.q-block b { font-size: 13px; }
.q-block span { color: var(--faint); font-size: 12px; }
.overlay-stage {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(47, 111, 237, 0.16), transparent 55%),
    #0c0c0e;
}
.ov {
  position: absolute;
  background: rgba(16, 16, 18, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}
.ov.goal { left: 16px; right: 16px; bottom: 16px; }
.ov.tipper { top: 16px; right: 16px; min-width: 180px; }
.ov.chat { top: 16px; left: 16px; width: min(260px, 46%); }
.ov .line { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* Footer + float */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--faint); font-size: 13px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot img { height: 14px; width: auto; opacity: 0.8; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }
.float-cta {
  position: fixed; z-index: 25; right: 20px; bottom: 20px;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.float-cta.show { opacity: 1; pointer-events: auto; transform: none; }

.empty { padding: 24px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  .feature, .float-cta { transition: none; }
  .feature:hover { transform: none; }
}

@media (max-width: 980px) {
  .hero, .split, .split.reverse, .price-grid, .grid-3, .cards, .wheel-wrap { grid-template-columns: 1fr; }
  .split.reverse .copy-col { order: 0; }
  .app, .app.two { grid-template-columns: 1fr; }
  .app-col + .app-col { border-left: 0; border-top: 1px solid var(--line); }
  .col-summary { display: none; }
  .app.show-summary .col-summary { display: flex; }
  .hero { padding-top: 40px; }
  .wiki { grid-template-columns: 1fr; gap: 16px; }
  .wiki-side { position: static; }
  .wiki-side nav { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
  .wiki-side nav a { white-space: nowrap; }
  .stage .app { min-height: 0; }
  .views { margin-left: 0; width: 100%; overflow-x: auto; }
}

@media (max-width: 720px) {
  .menu { display: flex; }
  .links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(10, 10, 11, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .links a { padding: 12px 4px; }
  .links .btn { margin-top: 6px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .link { justify-content: center; padding: 8px; }
  .float-cta { left: 16px; right: 16px; bottom: 12px; }
  .float-cta .btn { width: 100%; }
  .logo img { height: 16px; }
  .col-inbox { max-height: 220px; }
}
