:root { --bg: #0b0b0b; --text: #ededed; --muted: #a0a0a0; --dim: #6b6b6b; --line: rgba(255,255,255,.08); --panel: #121212; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 510; margin: 0; }
h2 { font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
h3 { font-size: 15px; line-height: 24px; letter-spacing: -.16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }
.tiny { font-size: 11px; margin-top: 14px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.container.narrow { max-width: 900px; }
section { position: relative; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; transition: background .2s, backdrop-filter .2s; }
.nav.scrolled { background: rgba(11,11,11,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; font-size: 16px; letter-spacing: -.3px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--muted); }
.nav nav a:hover, .nav nav a.on { color: #fff; }
.nav-sep { width: 1px; height: 18px; background: var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: #f2f2f2; color: #0b0b0b !important; }
.btn.light:hover { background: #fff; }
.btn.dark { background: #161616; border: 1px solid var(--line); color: #eee; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; margin: 14px 0 22px; }

/* hero */
.hero { padding: 150px 0 0; text-align: center; overflow: hidden; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 6px 6px; mask-image: radial-gradient(ellipse at 50% 60%, #000 0%, transparent 65%); pointer-events: none; }
.hero h1 { font-size: 56px; line-height: 56px; letter-spacing: -3.36px; position: relative; }
.rot { display: inline-block; transition: opacity .35s, filter .35s, transform .35s; }
.rot.out { opacity: 0; filter: blur(8px); transform: translateY(6px); }
.lead { font-size: 18px; line-height: 27px; font-weight: 450; color: var(--muted); max-width: 640px; margin: 22px auto 0; position: relative; }
.lead.left { margin: 0; text-align: left; font-size: 20px; line-height: 30px; color: #c9c9c9; }
.cta-row { display: flex; gap: 10px; justify-content: center; margin-top: 30px; position: relative; }
.hero-shot { position: relative; margin: 64px auto 0; width: min(1360px, 95vw); }
.fade-bottom { position: absolute; left: -5%; right: -5%; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* device: a full-size app rendered at 1440x900 and scaled to fit */
.device { position: relative; width: 100%; aspect-ratio: 1440 / 900; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #010101; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.device iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }
.hero .device { border-radius: 16px 16px 0 0; }

/* trusted */
.trusted { display: flex; align-items: center; gap: 24px; max-width: 1240px; margin: 40px auto 0; padding: 0 40px; font-size: 13px; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.handle { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 4px; border: 1px solid var(--line); border-radius: 20px; color: #ccc; }
.handle i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stakes */
.stakes { padding-top: 180px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 50px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare h4 { margin: 0 0 4px; font-weight: 500; font-size: 13px; }
.compare p { margin: 0 0 14px; }
.inbox, .one-space { height: 380px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; display: flex; }
.inbox aside { width: 160px; padding: 14px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; }
.inbox aside b { font-weight: 500; padding: 0 8px 12px; }
.inbox aside a { padding: 6px 8px; border-radius: 6px; color: #aaa; }
.inbox aside a.on { background: #222; color: #fff; }
.mail { flex: 1; padding: 12px; overflow: hidden; }
.search { background: #1c1c1c; border-radius: 16px; padding: 7px 12px; font-size: 12px; color: #777; width: 60%; margin-bottom: 10px; }
.mrow { display: flex; gap: 10px; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; color: #bbb; }
.mrow b { width: 90px; flex-shrink: 0; font-weight: 500; color: #ddd; overflow: hidden; text-overflow: ellipsis; }
.mrow span { overflow: hidden; text-overflow: ellipsis; flex: 1; }
.mrow em { font-style: normal; color: #666; }
.mrow.new { animation: pop .4s; background: rgba(250,76,31,.06); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.one-space { flex-direction: column; padding: 14px; gap: 12px; }
.phases-mini { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pm { display: flex; gap: 8px; align-items: center; padding: 10px; font-size: 13px; border-right: 1px solid var(--line); }
.pm small { display: block; color: #777; font-size: 10.5px; }
.pm span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #555; display: grid; place-items: center; font-size: 10px; flex-shrink: 0; }
.pm.done span { background: #333; border-color: #333; }
.pm.on { background: #1e1e1e; box-shadow: inset 0 -2px #fff; }
.steps-mini { border: 1px solid var(--line); border-radius: 10px; flex: 1; }
.steps-mini div { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.steps-mini i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed #666; }
.steps-mini i.ok { border: 0; background: #4ad295; }
.steps-mini em { margin-left: auto; font-style: normal; font-size: 11px; background: #262626; color: #aaa; padding: 2px 7px; border-radius: 5px; }
.steps-mini em.g { background: rgba(62,207,142,.12); color: #4ad295; }

/* scrolly features */
.sec-h { margin: 200px 0 50px; }
.sec-h.center { text-align: center; }
.scrolly { display: grid; grid-template-columns: 1fr 320px; gap: 56px; }
.sticky { position: sticky; top: 110px; align-self: start; }
.steps article { min-height: 70vh; padding-top: 10px; border-top: 1px solid var(--line); opacity: .35; transition: opacity .3s; }
.steps article.on { opacity: 1; }
.steps article:last-child { min-height: 40vh; }
.kicker { display: block; font-size: 13px; color: #ddd; margin: 18px 0 8px; }
.steps h3 { font-size: 22px; line-height: 28px; letter-spacing: -.4px; color: #888; }
.steps article.on h3 { color: #fff; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ai */
#ai { padding-top: 200px; }
.tabs { display: flex; gap: 4px; justify-content: flex-end; margin: -20px 0 26px; }
.tabs button { font-size: 12.5px; padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.tabs button.on { background: #1d1d1d; color: #fff; }
.ai-stage { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.chat { background: #151515; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 460px; display: flex; flex-direction: column; }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mcp { width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #000; font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.chat-b { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.bub { font-size: 13px; line-height: 1.5; animation: pop .35s; }
.bub.u { align-self: flex-end; background: #262626; padding: 9px 12px; border-radius: 12px; max-width: 85%; }
.bub.a { color: #ddd; }
.tool { font-family: ui-monospace, monospace; font-size: 11px; color: #777; animation: pop .35s; }
.tool::before { content: "⚙ "; }
.typing::after { content: "▍"; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* connections */
#connections { padding-top: 200px; }
.connect-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.slack { height: 330px; display: flex; background: #1a1d21; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.slack aside { width: 150px; background: #121417; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.slack aside small { color: #888; margin: 10px 8px 4px; }
.slack aside a { padding: 4px 8px; border-radius: 5px; color: #aaa; }
.slack aside a.on { background: #2b2f36; color: #fff; }
.slack > div { flex: 1; display: flex; flex-direction: column; }
.ch-h { padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.slack-msg { margin-top: auto; display: flex; gap: 10px; padding: 14px; }
.slack-msg .bot { width: 34px; height: 34px; border-radius: 7px; background: #fff; color: #000; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.slack-msg em { font-style: normal; font-size: 10px; background: #333; padding: 1px 4px; border-radius: 3px; color: #aaa; }
.slack-msg small { color: #888; }
.slack-msg p { margin: 4px 0 0; color: #ccc; line-height: 1.45; }
.slack-in { margin: 0 14px 14px; border: 1px solid #3a3d42; border-radius: 8px; padding: 9px 12px; color: #777; }
.integrations { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 50px; border-top: 1px solid var(--line); padding-top: 24px; }
.integrations b { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14px; }
.integrations p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.ico { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; color: #fff; }

/* reviews */
.reviews { margin-top: 200px; height: 768px; background: #050505; overflow: hidden; display: grid; place-items: center; }
.reviews-center { position: relative; z-index: 2; text-align: center; }
.reviews-center h2 { margin-bottom: 22px; }
.cloud { position: absolute; inset: 0; }
.rv { position: absolute; width: 230px; background: #f7f7f7; color: #111; border-radius: 10px; padding: 10px 12px; font-size: 11.5px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: float 9s ease-in-out infinite; }
.rv.dk { background: #1b1b1b; color: #ddd; border: 1px solid var(--line); }
.rv header { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-weight: 600; }
.rv header i { width: 22px; height: 22px; border-radius: 50%; font-style: normal; color: #fff; font-size: 10px; display: grid; place-items: center; }
@keyframes float { 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }

/* pricing */
#pricing { padding-top: 200px; }
.price-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.seg { display: inline-flex; background: #151515; border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
.seg button { font-size: 12px; padding: 5px 10px; border-radius: 7px; color: var(--muted); }
.seg button.on { background: #2a2a2a; color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #0f0f0f; position: relative; }
.plan.best { border-color: rgba(255,255,255,.18); padding-top: 52px; }
.flag { position: absolute; top: 0; left: 0; right: 0; text-align: center; font-size: 12px; padding: 8px; border-bottom: 1px solid var(--line); background: #141414; border-radius: 12px 12px 0 0; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price s { color: #666; font-size: 22px; }
.price b { font-size: 30px; font-weight: 500; letter-spacing: -.6px; }
.price span { color: #777; font-size: 12px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: #e9e9e9; color: #000; font-size: 9px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.plan-foot { display: flex; gap: 22px; border: 1px solid var(--line); border-top: 0; margin: 0 1px; padding: 12px 18px; font-size: 12px; color: var(--muted); border-radius: 0 0 12px 12px; }
.plan-foot .end { margin-left: auto; }
.plan-foot a { color: #fff; }

/* faq */
.faq details { background: #101010; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-size: 13.5px; display: flex; justify-content: space-between; }
.faq summary::after { content: "⌄"; color: #888; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* cta & footer */
#cta { padding-top: 200px; }
.cta-box { position: relative; background: #050505; border: 1px solid var(--line); border-radius: 4px; padding: 110px 20px; text-align: center; overflow: hidden; }
.cta-box h2 { position: relative; margin-bottom: 26px; font-size: 44px; line-height: 48px; }
.cta-box .btn { position: relative; }
.foot { display: flex; justify-content: space-between; padding-top: 60px; padding-bottom: 40px; font-size: 12.5px; color: var(--dim); }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: #fff; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); background: #f2f2f2; color: #000; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 500; opacity: 0; transition: .2s; z-index: 99; pointer-events: none; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .nav { padding: 0 16px; }
  .nav nav a:not(.btn), .nav-sep { display: none; }
  .container { padding: 0 16px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 38px; line-height: 40px; letter-spacing: -1.6px; padding: 0 16px; }
  .lead { padding: 0 16px; font-size: 16px; }
  .cta-row { flex-direction: column; align-items: center; }
  h2 { font-size: 30px; line-height: 34px; }
  .split-head, .compare, .scrolly, .ai-stage, .connect-stage, .plans { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: 1fr 1fr; }
  .sticky { top: 70px; z-index: 2; }
  .steps article { min-height: 0; padding-bottom: 30px; opacity: 1; }
  .tabs { justify-content: flex-start; flex-wrap: wrap; margin-top: 0; }
  .trusted { padding: 0 16px; }
  .trusted > span { display: none; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .plan-foot { flex-direction: column; gap: 6px; }
  .plan-foot .end { margin: 0; }
  .rv { display: none; }
  .rv:nth-child(-n+4) { display: block; transform: scale(.8); }
  .foot { flex-direction: column; gap: 14px; }
}
